:root {
  --bg: #0a0a0f;
  --bg-surface: #12121a;
  --bg-card: #1a1a26;
  --fg: #e8e8ed;
  --fg-muted: #8888a0;
  --accent: #00e5a0;
  --accent-dim: rgba(0, 229, 160, 0.12);
  --accent-glow: rgba(0, 229, 160, 0.25);
  --border: rgba(255, 255, 255, 0.06);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===== SITE NAV (shared across all pages) ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--fg);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--fg);
}

.nav-cta {
  font-size: 0.85rem !important;
  font-weight: 600;
  color: var(--bg) !important;
  background: var(--accent);
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  transition: opacity 0.2s !important;
}

.nav-cta:hover {
  opacity: 0.85;
}

.nav-mobile-cta {
  display: none;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  padding: 0.4rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.nav-mobile-cta:hover {
  opacity: 0.85;
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-mobile-cta { display: inline-block; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem 4rem;
  overflow: hidden;
}

.hero-inner {
  max-width: 800px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border: 1px solid var(--accent);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* Hero CTA buttons */
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-btn-primary {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  background: var(--accent);
  color: var(--bg);
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}
.hero-btn-primary:hover { opacity: 0.87; transform: translateY(-1px); }
.hero-btn-secondary {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  border: 1px solid var(--border);
  color: var(--fg-muted);
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.hero-btn-secondary:hover { border-color: var(--accent); color: var(--fg); }

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
}

/* ===== PRODUCT ===== */
.product {
  padding: 6rem 2rem;
  background: var(--bg-surface);
}

.product-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.product-label,
.specs-label,
.why-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.product h2,
.specs h2,
.why h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.product-desc {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 600px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: border-color 0.3s, transform 0.3s;
}

.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.card-icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.product-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.product-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ===== SPECS ===== */
.specs {
  padding: 6rem 2rem;
}

.specs-inner {
  max-width: 700px;
  margin: 0 auto;
}

.specs-table {
  margin-top: 2rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-key {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--fg);
  min-width: 140px;
}

.spec-val {
  font-size: 0.95rem;
  color: var(--fg-muted);
  text-align: right;
}

/* ===== WHY ===== */
.why {
  padding: 6rem 2rem;
  background: var(--bg-surface);
}

.why-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.why-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.why-card p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ===== TIERS (landing page product showcase) ===== */
.tiers {
  padding: 6rem 2rem;
  background: var(--bg-surface);
}
.tiers-inner { max-width: 1100px; margin: 0 auto; }
.tiers-label {
  font-family: var(--font-display);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.tiers-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700; letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}
.tiers-sub {
  font-size: 1rem; color: var(--fg-muted);
  line-height: 1.7; max-width: 560px;
  margin-bottom: 3rem;
}
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  text-decoration: none;
  color: var(--fg);
  display: flex; flex-direction: column;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.tier-card:hover {
  border-color: rgba(0,229,160,0.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,229,160,0.07);
}
.tier-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 12px 40px rgba(0,229,160,0.1);
}
.tier-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.tier-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
  width: fit-content;
}
.tier-badge.accent  { background: var(--accent-dim); color: var(--accent); }
.tier-badge.blue    { background: rgba(99,179,237,0.12); color: #63b3ed; }
.tier-badge.purple  { background: rgba(159,122,234,0.12); color: #9f7aea; }
.tier-name {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 600; margin-bottom: 0.4rem;
}
.tier-price {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 700;
  letter-spacing: -0.04em; margin-bottom: 0.75rem;
  color: var(--fg);
}
.tier-price span { font-size: 1.1rem; vertical-align: top; margin-top: 0.4rem; display: inline-block; }
.tier-desc {
  font-size: 0.88rem; color: var(--fg-muted);
  line-height: 1.65; flex: 1; margin-bottom: 1.5rem;
}
.tier-cta {
  font-family: var(--font-display);
  font-size: 0.88rem; font-weight: 600;
  color: var(--accent);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 6rem 2rem;
}
.testimonials-inner { max-width: 1100px; margin: 0 auto; }
.testimonials-label {
  font-family: var(--font-display);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.testimonials-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700; letter-spacing: -0.025em;
  margin-bottom: 3rem;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  transition: border-color 0.25s;
}
.testimonial-card:hover { border-color: rgba(0,229,160,0.2); }
.testimonial-icon { font-size: 1.6rem; margin-bottom: 0.75rem; }
.testimonial-role {
  font-family: var(--font-display);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.75rem;
}
.testimonial-text {
  font-size: 0.95rem; color: var(--fg);
  line-height: 1.75; font-style: italic;
  margin-bottom: 1rem;
}
.testimonial-author { font-size: 0.82rem; color: var(--fg-muted); }

/* ===== CLOSING ===== */
.closing {
  padding: 8rem 2rem;
  text-align: center;
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.closing-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.8;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-note {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .tiers-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .spec-row {
    flex-direction: column;
    gap: 0.25rem;
  }
  .spec-val {
    text-align: left;
  }
  .footer-inner {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
  .hero-stats {
    gap: 1.25rem;
  }
  .stat-divider {
    display: none;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 80vh;
    padding: 4rem 1.5rem 3rem;
  }
}