/* style.css – black & orange theme, complex UI, responsive */
:root {
  --bg-dark: #0b0b0b;
  --bg-darker: #030303;
  --surface-dark: #151515;
  --surface-card: #1e1e1e;
  --accent-primary: #f57c00;   /* deep orange */
  --accent-secondary: #ff9800;  /* bright orange */
  --accent-glow: #ffb74d;
  --text-light: #f5f5f5;
  --text-muted: #b0b0b0;
  --border-dim: #333333;
  --border-glow: #ff980033;
  --gradient-1: linear-gradient(145deg, #0f0f0f, #1a1a1a);
  --gradient-2: linear-gradient(145deg, #f57c00, #ffb74d);
  --shadow-sm: 0 4px 20px rgba(0,0,0,0.7);
  --shadow-glow: 0 0 15px #ff98004d;
  --font-main: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-main);
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* container */
.container {
  width: min(90%, 1300px);
  margin: 0 auto;
}

/* header */
.site-header {
  background: var(--bg-darker);
  border-bottom: 2px solid var(--accent-primary);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 15px rgba(245, 124, 0, 0.2);
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.logo {
  font-size: 1.9rem;
  font-weight: 800;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.5px;
  text-shadow: 0 0 8px var(--accent-glow);
}

.primary-nav ul {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  flex-wrap: wrap;
}

.primary-nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s, text-shadow 0.2s;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
}

.primary-nav a:hover {
  color: var(--accent-secondary);
  border-bottom-color: var(--accent-secondary);
  text-shadow: 0 0 5px var(--accent-glow);
}

.external-link a {
  color: var(--accent-primary);
  font-weight: 600;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--accent-primary);
  color: var(--accent-primary);
  font-size: 2rem;
  padding: 0.2rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
}

/* hero */
.hero-section {
  background: radial-gradient(circle at 30% 50%, #2a1a0a, #030303 80%);
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-dim);
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  max-width: 900px;
}

.hero-logo {
  max-width: 160px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 20px #ff9800);
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 800;
  background: linear-gradient(135deg, #fff8e7, #ffb74d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: var(--accent-secondary);
  margin-bottom: 1rem;
  font-weight: 400;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 750px;
  margin: 1.5rem auto 2rem;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.25s;
  margin: 0.5rem;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gradient-2);
  color: #0b0b0b;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
  box-shadow: 0 0 25px var(--accent-glow);
}

.btn-outline {
  border: 2px solid var(--accent-primary);
  color: var(--accent-primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--accent-primary);
  color: #000;
  box-shadow: var(--shadow-glow);
}

.btn-small {
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
}

/* sections general */
section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 120px;
  height: 4px;
  background: var(--gradient-2);
  margin: 1rem auto 0;
  border-radius: 4px;
}

/* features */
.features-section {
  background: var(--bg-darker);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.feature-card {
  background: var(--surface-card);
  padding: 2rem 1.8rem;
  border-radius: 24px;
  border-left: 4px solid var(--accent-primary);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-left-color: var(--accent-secondary);
  box-shadow: var(--shadow-glow);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: var(--accent-secondary);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

/* products */
.products-section {
  background: var(--bg-dark);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--surface-card);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-dim);
  transition: all 0.3s;
}

.product-card:hover {
  border-color: var(--accent-primary);
  transform: scale(1.02);
  box-shadow: 0 0 30px #f57c0033;
}

.product-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #2a2a2a;
  display: block;
}

.product-info {
  padding: 1.8rem 1.5rem;
}

.product-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--accent-glow);
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin: 1rem 0 1.5rem;
}

/* testimonials */
.testimonials-section {
  background: var(--surface-dark);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-darker);
  padding: 2rem;
  border-radius: 32px;
  border: 1px solid #333;
  box-shadow: inset 0 0 0 1px #ff98001a;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: #ddd;
}

.testimonial-author {
  color: var(--accent-secondary);
  font-weight: 600;
}

/* how it works */
.how-section {
  background: linear-gradient(145deg, #0f0f0f, #1c1c1c);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  counter-reset: step;
}

.how-step {
  background: rgba(20,20,20,0.8);
  padding: 2rem 1.5rem;
  border-radius: 32px;
  border: 1px solid #f57c0040;
  backdrop-filter: blur(4px);
  position: relative;
  text-align: center;
}

.step-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: var(--gradient-2);
  color: #000;
  font-weight: 800;
  border-radius: 50%;
  line-height: 40px;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* about section */
.about-section {
  background: var(--bg-darker);
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.about-text h3 {
  color: var(--accent-secondary);
  margin: 1.8rem 0 1rem;
  font-size: 1.6rem;
}

.about-text h3:first-of-type {
  margin-top: 0;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-content: start;
}

.stat-card {
  background: var(--surface-card);
  padding: 1.8rem 1rem;
  border-radius: 24px;
  text-align: center;
  border: 1px solid var(--border-dim);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-primary);
  line-height: 1.2;
}

.stat-label {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-expanded {
  margin-top: 2rem;
  border-top: 1px solid #333;
  padding-top: 3rem;
}

.about-expanded h3 {
  color: var(--accent-secondary);
  margin: 1.5rem 0 0.8rem;
}

/* footer */
.site-footer {
  background: #020202;
  padding: 4rem 0 3rem;
  border-top: 2px solid var(--accent-primary);
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent-secondary);
}

.footer-logo {
  max-width: 180px;
  margin: 1.5rem auto;
  opacity: 0.9;
}

.copyright {
  color: #666;
  margin: 1rem 0;
}

.small-note {
  font-size: 0.85rem;
  color: #444;
  max-width: 600px;
  margin: 1rem auto;
}

/* mobile */
@media (max-width: 800px) {
  .mobile-nav-toggle {
      display: block;
  }
  .primary-nav {
      display: none;
      width: 100%;
      background: var(--bg-darker);
      position: absolute;
      top: 70px;
      left: 0;
      padding: 1rem 0;
      border-bottom: 2px solid var(--accent-primary);
      z-index: 99;
  }
  .primary-nav.active {
      display: block;
  }
  .primary-nav ul {
      flex-direction: column;
      align-items: center;
      gap: 1.2rem;
  }
  .header-flex {
      flex-wrap: wrap;
  }
  .about-grid {
      grid-template-columns: 1fr;
  }
  .hero-title {
      font-size: 2rem;
  }
  .btn {
      display: block;
      margin: 0.8rem auto;
      max-width: 260px;
  }
}

@media (max-width: 480px) {
  .features-grid, .products-grid, .testimonials-grid {
      grid-template-columns: 1fr;
  }
}