/* ═══════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════ */
:root {
  --accent:        #00C896;
  --accent-dark:   #009e77;
  --accent-glow:   rgba(0,200,150,0.15);
  --accent-faint:  rgba(0,200,150,0.07);
  --accent-border: rgba(0,200,150,0.22);
  --border-accent: rgba(0,200,150,0.22);
  --shadow-accent: 0 20px 60px rgba(0,200,150,0.18), 0 4px 16px rgba(0,200,150,0.10);

  --font-display: 'Open Sans', sans-serif;
  --font-body:    'Open Sans', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 100px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.09);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.13);
  --shadow-xl: 0 40px 100px rgba(0,0,0,0.16);

  --section-pad: 110px;
  --max-w: 1160px;
  --t: all 0.28s cubic-bezier(0.4,0,0.2,1);
  --duration-normal: 0.28s;
  --ease-out: cubic-bezier(0.4,0,0.2,1);
}

[data-theme="light"] {
  --bg:           #F5F6F8;
  --bg-card:      #FFFFFF;
  --bg-card-2:    #EEF0F3;
  --bg-elevated:  #F0F2F5;
  --bg-hover:     #EEF0F3;
  --border:       #E0E3E8;
  --border-strong:#C8CDD6;
  --text-h:       #0D1117;
  --text-body:    #2D3748;
  --text-muted:   #637087;
  --text-dim:     #9BA8B8;
  --t1:           #0D1117;
  --t2:           #637087;
  --t3:           #9BA8B8;
}

/* ═══════════════════════════════════
   BASE
═══════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1,h2,h3,h4 {
  font-family: var(--font-display);
  color: var(--text-h);
  line-height: 1.08;
  letter-spacing: -0.028em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  background: var(--accent-faint);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.t-hero    { font-size: clamp(46px,6vw,82px); font-weight: 800; line-height: 1.02; }
.t-section { font-size: clamp(32px,3.8vw,52px); font-weight: 700; }
.t-xl      { font-size: clamp(26px,2.8vw,40px); font-weight: 700; }
.t-lg      { font-size: 20px; font-weight: 600; font-family: var(--font-display); }
.t-body-lg { font-size: 18px; line-height: 1.75; color: var(--text-muted); font-weight: 300; }
.t-body    { font-size: 15px; line-height: 1.75; color: var(--text-muted); }
.t-sm      { font-size: 13px; color: var(--text-dim); }

.highlight { color: var(--accent); }
section    { padding: var(--section-pad) 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  padding: 13px 26px;
  cursor: pointer;
  transition: var(--t);
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #050F0C;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,200,150,0.28);
}
.btn-outline {
  background: transparent;
  color: var(--text-h);
  border-color: var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-faint);
}
.btn-lg { font-size: 16px; padding: 16px 34px; }

/* ═══════════════════════════════════
   NAVBAR
═══════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  justify-content: center;
  padding: 14px 24px;
  pointer-events: none;
  transition: var(--t);
}
.nav-wrap {
  pointer-events: all;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #0D1117;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 7px 10px 7px 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  max-width: 880px;
  width: 100%;
  position: relative;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 6px;
}
.nav-logo-mark {
  width: 28px; height: 28px;
  background: rgba(0,200,150,0.12);
  border: 1px solid rgba(0,200,150,0.3);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-mark svg { width: 15px; height: 15px; }
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: #E8EDF4;
  letter-spacing: -0.01em;
  line-height: 1;
}
.nav-logo-text em { color: var(--accent); font-style: normal; }
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0; padding: 0;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav-link-btn, .nav-link-a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: rgba(232,237,244,0.65);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 7px 14px;
  border-radius: 100px;
  transition: all 0.18s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.nav-link-btn:hover, .nav-link-a:hover,
.has-dropdown:hover .nav-link-btn { color: #E8EDF4; background: rgba(255,255,255,0.07); }
.nav-link-btn svg { transition: transform 0.2s ease; }
.has-dropdown:hover .nav-link-btn svg { transform: rotate(180deg); }
.has-dropdown { position: relative; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  padding-top: 10px;
}
.has-dropdown:hover .nav-dropdown { opacity: 1; pointer-events: all; }
.nav-dropdown-inner {
  background: #0D1117;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 16px;
  min-width: 300px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.nav-dropdown-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(232,237,244,0.35);
  margin-bottom: 10px;
}
.nav-dropdown-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s ease;
  margin-bottom: 4px;
}
.nav-dropdown-card:last-child { margin-bottom: 0; }
.nav-dropdown-card:hover { background: rgba(255,255,255,0.06); }
.nav-dropdown-card-icon {
  font-size: 16px;
  width: 34px; height: 34px;
  background: rgba(0,200,150,0.1);
  border: 1px solid rgba(0,200,150,0.2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-dropdown-card-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: #E8EDF4;
  margin-bottom: 2px;
}
.nav-dropdown-card-desc { font-size: 12px; color: rgba(232,237,244,0.5); line-height: 1.4; }
.nav-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; margin-left: 6px; }
.nav-cta-ghost {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: rgba(232,237,244,0.75);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 7px 16px;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.nav-cta-ghost:hover { color: #E8EDF4; border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.06); }
.nav-cta-primary {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #050F0C;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 100px;
  padding: 7px 18px;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.nav-cta-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,200,150,0.35); }
/* Mobile nav: hide desktop links, show hamburger */
@media (max-width: 768px) {
  .nav-links { display: none !important; }
  .nav-wrap { padding: 6px 8px 6px 12px !important; justify-content: space-between !important; }
  .nav-hamburger { display: flex !important; }
  .nav-logo { display: none !important; }
  .nav-logo-mobile { display: flex !important; }
  .nav-right .nav-cta-ghost { display: none; }
}

/* Hamburger button (hidden on desktop) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  transition: background var(--duration-normal) var(--ease-out);
}
.nav-hamburger:hover { background: rgba(255,255,255,0.07); }
.nav-hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform var(--duration-normal) var(--ease-out), opacity var(--duration-normal) var(--ease-out);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile fullscreen overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 199;
  background: var(--bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-menu-overlay.open { display: flex !important; opacity: 1 !important; pointer-events: all !important; }
.mobile-menu-link {
  font-family: var(--font-heading), var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--text-h);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  transition: color var(--duration-normal) var(--ease-out), background var(--duration-normal) var(--ease-out);
  letter-spacing: -0.02em;
}
.mobile-menu-link:hover { color: var(--accent); background: var(--accent-faint); }
.mobile-menu-close {
  pointer-events: auto !important;
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 20px;
  cursor: pointer;
  color: var(--text-h);
  display: flex; align-items: center; justify-content: center;
}
.mobile-menu-close:hover { background: var(--bg-hover); }
.mobile-menu-divider {
  width: 40px; height: 1px;
  background: var(--border);
  margin: 8px 0;
}

/* Nav mobile left logo */
.nav-logo-mobile {
  display: none;
  align-items: center;
  gap: 4px;
  color: var(--text-h);
  margin-left: 4px;
  pointer-events: all;
  flex-shrink: 0;
}

/* .section utility */
.section { padding: var(--section-pad) 0; }

/* ═══════════════════════════════════
   HERO
═══════════════════════════════════ */
.hero {
  padding: 180px 0 110px;
  position: relative;
  overflow: hidden;
  text-align: center;
  background: #0C0F16;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-title {
  margin-bottom: 24px;
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  max-width: 600px;
  margin: 0 auto 36px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

/* ═══════════════════════════════════
   PRODUCT CARDS (Homepage 50/50)
═══════════════════════════════════ */
.products-section {
  padding: 80px 0 120px;
  background: #0C0F16;
}
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 768px) { .products-grid { grid-template-columns: 1fr; } }

.prod-card {
  background: #111520;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  overflow: hidden;
  position: relative;
  transition: border-color var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.prod-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-accent);
  transform: translateY(-4px);
}
.prod-card:hover .prod-visual { transform: scale(1.03); }
.prod-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono), monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-faint);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  width: fit-content;
}
.prod-name {
  font-family: var(--font-heading), var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: #E8EDF4;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 6px;
}
.prod-desc {
  font-size: 15px;
  color: rgba(232,237,244,0.55);
  line-height: 1.65;
  font-weight: 300;
}
.prod-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
  text-decoration: none;
  transition: gap var(--duration-normal) var(--ease-out);
}
.prod-cta:hover { gap: 10px; }
.prod-visual {
  border-radius: var(--radius-md);
  background: #0A0D14;
  border: 1px solid rgba(255,255,255,0.06);
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-out);
}

/* Always waveform animation */
.wave-lines { display: flex; gap: 5px; align-items: center; height: 60px; }
.wave-line {
  width: 2.5px;
  border-radius: 2px;
  background: var(--accent);
  animation: wavePulse 1.4s ease-in-out infinite;
}
.wave-line:nth-child(1) { animation-delay: 0s; }
.wave-line:nth-child(2) { animation-delay: 0.18s; }
.wave-line:nth-child(3) { animation-delay: 0.36s; }
@keyframes wavePulse {
  0%,100% { height: 8px; opacity: 0.3; }
  50% { height: 52px; opacity: 1; }
}

/* Review Growth+ star animation */
.star-visual { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.stars-row { display: flex; gap: 6px; }
.star-icon {
  font-size: 22px;
  opacity: 0;
  transform: translateY(8px);
  animation: starAppear 0.4s ease forwards;
}
.star-icon:nth-child(1) { animation-delay: 0.1s; }
.star-icon:nth-child(2) { animation-delay: 0.3s; }
.star-icon:nth-child(3) { animation-delay: 0.5s; }
.star-icon:nth-child(4) { animation-delay: 0.7s; }
.star-icon:nth-child(5) { animation-delay: 0.9s; }
@keyframes starAppear {
  to { opacity: 1; transform: translateY(0); }
}
.trend-line-wrap { width: 120px; height: 32px; overflow: visible; }
.trend-line-wrap svg { overflow: visible; }
.trend-path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawLine 1.2s ease forwards 1.2s;
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }

/* ═══════════════════════════════════
   FOOTER (index.html)
═══════════════════════════════════ */
.site-footer {
  background: #090C12;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  text-decoration: none;
}
.footer-logo-mark {
  width: 28px; height: 28px;
  background: rgba(0,200,150,0.12);
  border: 1px solid rgba(0,200,150,0.3);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
}
.footer-logo-mark svg { width: 15px; height: 15px; }
.footer-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: #E8EDF4;
  letter-spacing: -0.01em;
}
.footer-logo-text em { color: var(--accent); font-style: normal; }
.footer-tagline {
  font-size: 13px;
  color: rgba(232,237,244,0.4);
  line-height: 1.65;
  max-width: 240px;
}
.footer-col-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(232,237,244,0.3);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 13px;
  color: rgba(232,237,244,0.55);
  text-decoration: none;
  transition: color 0.18s ease;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 12px; color: rgba(232,237,244,0.25); }
.footer-legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal-links a { font-size: 12px; color: rgba(232,237,244,0.3); text-decoration: none; transition: color 0.18s ease; }
.footer-legal-links a:hover { color: var(--accent); }