:root {
  --emerald: #10B981;
  --emerald-2: #059669;
  --amber: #F59E0B;
  --amber-2: #CC7A00;
  --blue: #3B82F6;
  --indigo: #1E3A8A;
  --purple: #8B5CF6;
  --red: #DC2626;
  --cyan: #06B6D4;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow-glow: 0 0 60px -10px rgba(16, 185, 129, 0.4);
}

/* Light theme (default) */
:root,
:root[data-theme="light"] {
  --bg: #FFFFFF;
  --bg-2: #F8FAFC;
  --bg-3: #F1F5F9;
  --surface: #FFFFFF;
  --border: #E2E8F0;
  --text: #0F172A;
  --muted: #64748B;
  --soft: #475569;

  --overlay-soft: rgba(15, 23, 42, 0.035);
  --overlay-medium: rgba(15, 23, 42, 0.08);
  --overlay-strong: rgba(15, 23, 42, 0.16);
  --overlay-hover: rgba(15, 23, 42, 0.06);

  --nav-bg: rgba(255, 255, 255, 0.82);
  --footer-bg: #F8FAFC;

  --eyebrow-color: #047857;
  --stat-card-bg: linear-gradient(160deg, #FFFFFF 0%, #F1F5F9 100%);
  --feature-bg: linear-gradient(160deg, #FFFFFF 0%, #F8FAFC 100%);
  --section-dark-bg: linear-gradient(180deg, #F1F5F9 0%, #E2E8F0 100%);
  --cta-box-bg: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 50%, #F0F9FF 100%);
  --stat-num-grad: linear-gradient(135deg, #0F172A 0%, #475569 100%);
  --shadow: 0 20px 60px -20px rgba(15, 23, 42, 0.18);
}

/* Dark theme */
:root[data-theme="dark"] {
  --bg: #0A0F1C;
  --bg-2: #0F172A;
  --bg-3: #111827;
  --surface: #1E293B;
  --border: #1f2937;
  --text: #F8FAFC;
  --muted: #94A3B8;
  --soft: #CBD5E1;

  --overlay-soft: rgba(255, 255, 255, 0.03);
  --overlay-medium: rgba(255, 255, 255, 0.08);
  --overlay-strong: rgba(255, 255, 255, 0.14);
  --overlay-hover: rgba(255, 255, 255, 0.1);

  --nav-bg: rgba(10, 15, 28, 0.75);
  --footer-bg: var(--bg-2);

  --eyebrow-color: #6EE7B7;
  --stat-card-bg: linear-gradient(160deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.8) 100%);
  --feature-bg: linear-gradient(160deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.5) 100%);
  --section-dark-bg: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-3) 100%);
  --cta-box-bg: linear-gradient(135deg, #0B3D2E 0%, #064E3B 50%, #0F172A 100%);
  --stat-num-grad: linear-gradient(135deg, #fff 0%, var(--soft) 100%);
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .25s ease, color .25s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--overlay-medium);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 15px;
}
.brand img { height: 36px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a { color: var(--soft); transition: color .2s; }
.nav-links a:hover { color: var(--text); }

/* ---------- THEME TOGGLE ---------- */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--overlay-soft);
  border: 1px solid var(--overlay-medium);
  color: var(--text);
  transition: background .2s, border-color .2s, transform .15s, color .2s;
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: var(--overlay-hover);
  border-color: var(--overlay-strong);
  transform: translateY(-1px);
}
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .15s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 18px 32px; font-size: 17px; }
.btn-primary {
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-2) 100%);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(16, 185, 129, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -8px rgba(16, 185, 129, 0.7); }
.btn-ghost {
  background: var(--overlay-medium);
  color: var(--text);
  border: 1px solid var(--overlay-strong);
}
.btn-ghost:hover { background: var(--overlay-hover); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -300px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--eyebrow-color);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 12px var(--emerald);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.grad {
  background: linear-gradient(135deg, var(--emerald) 0%, #34D399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-amber {
  background: linear-gradient(135deg, var(--amber) 0%, #FCD34D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lead {
  font-size: 18px;
  color: var(--soft);
  margin-bottom: 32px;
  max-width: 560px;
}
.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--soft);
  font-size: 15px;
}
.hero-bullets svg {
  width: 18px; height: 18px;
  color: var(--emerald);
  flex-shrink: 0;
}

/* ---------- HERO CARD ---------- */
.hero-card {
  position: relative;
}
.card-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
}
.card-stack {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  z-index: 1;
}
.stat-card {
  background: var(--stat-card-bg);
  border: 1px solid var(--overlay-medium);
  padding: 24px;
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: transform .25s, border-color .25s;
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.4);
}
.stat-card.highlight {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18) 0%, rgba(5, 150, 105, 0.08) 100%);
  border-color: rgba(16, 185, 129, 0.4);
}
.stat-tag {
  display: inline-block;
  background: var(--amber);
  color: #1F1300;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.stat-num {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--stat-num-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

/* ---------- SECTIONS ---------- */
.section { padding: 90px 0; position: relative; }
.section-dark { background: var(--section-dark-bg); }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--emerald);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.kicker.amber { color: var(--amber); }
.section-head h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-head p {
  color: var(--soft);
  font-size: 17px;
}

/* ---------- FEATURES ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.feature {
  background: var(--feature-bg);
  border: 1px solid var(--overlay-medium);
  padding: 28px;
  border-radius: var(--radius);
  transition: transform .25s, border-color .25s, background .25s;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: var(--overlay-strong);
}
.feature-ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-ico svg { width: 24px; height: 24px; }
.ico-emerald { background: rgba(16, 185, 129, 0.12); color: var(--emerald); }
.ico-blue    { background: rgba(59, 130, 246, 0.12); color: var(--blue); }
.ico-amber   { background: rgba(245, 158, 11, 0.12); color: var(--amber); }
.ico-purple  { background: rgba(139, 92, 246, 0.12); color: var(--purple); }
.ico-red     { background: rgba(220, 38, 38, 0.12); color: #F87171; }
.ico-cyan    { background: rgba(6, 182, 212, 0.12); color: var(--cyan); }

.feature h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature p {
  color: var(--soft);
  font-size: 15px;
}

/* ---------- TOOLS ---------- */
.tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tool {
  background: var(--overlay-soft);
  border: 1px solid var(--overlay-medium);
  padding: 22px 24px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color .25s, background .25s;
}
.tool:hover {
  border-color: var(--amber);
  background: rgba(245, 158, 11, 0.05);
}
.tool strong {
  font-size: 17px;
  font-weight: 700;
}
.tool span {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- VIDEO ---------- */
.video-wrap {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: 0 30px 80px -20px rgba(16, 185, 129, 0.3), 0 20px 60px -20px rgba(15, 23, 42, 0.25);
  border: 1px solid var(--overlay-strong);
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- CTA SECTION ---------- */
.section-cta { padding: 60px 0; }
.cta-box {
  background: var(--cta-box-bg);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, transparent 60%);
  pointer-events: none;
}
.cta-box::after {
  content: '';
  position: absolute;
  bottom: -50%; right: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.cta-copy { position: relative; z-index: 1; }
.cta-copy h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 12px auto 14px;
  max-width: 720px;
}
.cta-copy p {
  color: var(--soft);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto 28px;
}
.reassure {
  font-size: 13px !important;
  color: var(--muted) !important;
  margin-top: 18px !important;
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.faq-grid h2 { font-size: clamp(28px, 3vw, 36px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 14px; }
.faq-grid > div:first-child p { color: var(--soft); font-size: 16px; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--overlay-soft);
  border: 1px solid var(--overlay-medium);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: border-color .2s;
}
.faq details[open] {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.04);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  color: var(--emerald);
  font-size: 22px;
  font-weight: 400;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin-top: 12px;
  color: var(--soft);
  font-size: 15px;
}

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--overlay-medium);
  padding: 40px 0;
  background: var(--footer-bg);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 600px;
}
.footer-brand img { height: 40px; }
.footer-brand p { font-size: 13px; color: var(--muted); }
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  text-align: right;
}
.footer-meta a { color: var(--emerald); font-weight: 500; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .nav-links a:not(.btn) { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero { padding: 56px 0 70px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .tools { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
  .cta-box { padding: 48px 28px; }
  .section { padding: 70px 0; }
}
@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .tools { grid-template-columns: 1fr; }
  .card-stack { grid-template-columns: 1fr; }
  .stat-card.highlight { grid-column: auto; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { justify-content: center; }
  .brand span { display: none; }
}
