/* ── RESET & ROOT ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary:    #1a1a1a;
  --secondary:  #4f46e5;
  --secondary-dark: #3730a3;
  --neutral:    #6b7280;
  --alert:      #dc2626;
  --success:    #16a34a;
  --bg:         #ffffff;
  --bg-subtle:  #f9fafb;
  --border:     #e5e7eb;
  --text:       #1a1a1a;
  --text-muted: #6b7280;

  --space-2:  8px;
  --space-4:  16px;
  --space-6:  24px;
  --space-8:  32px;
  --space-12: 48px;
  --space-16: 64px;

  --radius:   6px;
  --ease:     ease-in-out;
}

html { scroll-behavior: smooth; }

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

/* ── NAV ──────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.nav-scrolled { border-color: var(--border); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  height: 60px;
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.logo-mark {
  width: 30px; height: 30px;
  border-radius: var(--radius);
  background: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 16px; height: 16px; color: #fff; }
.logo-mark img { width: 74%; height: 74%; object-fit: contain; display: block; }
.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
  flex: 1;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.nav-ctas {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-4) var(--space-6) var(--space-6);
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  text-decoration: none;
  color: var(--text);
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-mobile a:hover { background: var(--bg-subtle); }
.nav-mobile .btn-primary { margin-top: var(--space-2); text-align: center; }

/* ── BUTTONS ──────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius);
  transition: background 0.15s var(--ease);
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary:hover { background: var(--secondary-dark); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius);
  transition: border-color 0.15s, color 0.15s;
}
.btn-outline:hover { border-color: var(--text); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: color 0.15s;
}
.btn-ghost:hover { color: var(--text); }
.btn-sm  { font-size: 0.8rem; padding: 7px 14px; }
.btn-lg  { font-size: 0.9rem; padding: 12px 24px; height: 44px; }
.btn-block { width: 100%; display: flex; height: 44px; }

/* ── HERO ─────────────────────────────────────────────────────── */
.hero {
  background: var(--primary);
  padding: 80px var(--space-6) 96px;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: var(--space-4);
}
.hero-h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}
.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-8);
  line-height: 1.7;
  max-width: 480px;
}
.hero-cta-row {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
  align-items: center;
}
.btn-outline.hero-outline {
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.2);
}
.btn-outline.hero-outline:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.hero-trust {
  color: rgba(255,255,255,0.3);
  font-size: 0.78rem;
}

/* ── HERO DEMO ───────────────────────────────────────────────── */
.hero-demo {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.demo-label {
  color: rgba(255,255,255,0.4);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.demo-live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
}
.demo-frame {
  width: 100%;
  max-width: 480px;
  background: #111;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.demo-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #0a0a0a;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green  { background: #28c840; }
.demo-url {
  flex: 1;
  text-align: center;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.05);
  padding: 3px 12px;
  border-radius: 3px;
  margin: 0 8px;
}
.demo-site-bg {
  height: 64px;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.demo-site-text { color: rgba(255,255,255,0.15); font-size: 0.75rem; }
.demo-widget-wrap {
  height: 440px;
  position: relative;
  background: rgba(255,255,255,0.02);
}
.demo-iframe { width: 100%; height: 100%; border: none; display: block; }
.demo-caption {
  color: rgba(255,255,255,0.25);
  font-size: 0.72rem;
  font-style: italic;
}

/* ── DIVIDER ─────────────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
}

/* ── SECTIONS ────────────────────────────────────────────────── */
.section { padding: 80px var(--space-6); }
.section-dark { background: var(--primary); }
.section-subtle { background: var(--bg-subtle); }
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
  margin-bottom: var(--space-4);
}
.section-h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: var(--space-4);
  max-width: 640px;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.7;
}

/* ── HOW IT WORKS ────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.step-number {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--secondary);
  margin-bottom: var(--space-4);
  display: block;
}
.step-icon {
  width: 36px; height: 36px;
  margin-bottom: var(--space-4);
  color: var(--secondary);
}
.step-icon svg { width: 100%; height: 100%; }
.step h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }
.step p  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }
.step code {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 0.82em;
  color: var(--secondary);
  font-family: 'Courier New', monospace;
}

/* ── FEATURES GRID ───────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.feature-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.feature-icon {
  width: 32px; height: 32px;
  margin-bottom: var(--space-4);
  color: var(--secondary);
}
.feature-icon svg { width: 100%; height: 100%; stroke-width: 1.75; }
.feature-card h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature-card p  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }

/* ── STATS STRIP ─────────────────────────────────────────────── */
.stats-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-8) var(--space-6);
  background: var(--bg-subtle);
}
.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 40px;
  gap: 4px;
}
.stat strong {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.stat span { font-size: 0.78rem; color: var(--text-muted); max-width: 120px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ── TESTIMONIALS ────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.testimonial {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.testimonial-text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}
.testimonial-author { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }

/* ── DEMO SECTION ────────────────────────────────────────────── */
.full-demo-wrap { display: flex; justify-content: center; }
.full-demo-iframe {
  width: 440px;
  height: 560px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: block;
}

/* ── PRICING ─────────────────────────────────────────────────── */
.pricing-wrap {
  max-width: 500px;
}
.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.pricing-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}
.price-currency { font-size: 1.25rem; font-weight: 600; }
.price-amount   { font-size: 2.5rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.price-period   { font-size: 0.85rem; color: var(--text-muted); }
.pricing-setup {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
}
.pricing-setup strong { color: var(--text); }
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-8);
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
}
.pricing-features li svg {
  width: 14px; height: 14px;
  color: var(--secondary);
  flex-shrink: 0;
  stroke-width: 2.5;
}
.pricing-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: var(--space-4);
  text-align: center;
}
.pricing-enterprise {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.pricing-enterprise a { color: var(--secondary); text-decoration: none; font-weight: 500; }
.pricing-enterprise a:hover { text-decoration: underline; }

/* ── CTA BAND ─────────────────────────────────────────────────── */
.cta-band {
  background: var(--primary);
  padding: 80px var(--space-6);
  text-align: center;
}
.cta-inner { max-width: 520px; margin: 0 auto; }
.cta-band h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}
.cta-band p {
  color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
  margin-bottom: var(--space-8);
  line-height: 1.7;
}
.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius);
  transition: opacity 0.15s;
}
.btn-white:hover { opacity: 0.9; }

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  background: var(--primary);
  padding: 48px var(--space-6) 0;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 64px;
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-wrap: wrap;
}
.footer-brand { flex: 1; min-width: 200px; }
.footer-brand .nav-logo { color: rgba(255,255,255,0.8); margin-bottom: var(--space-4); display: flex; }
.footer-brand .logo-mark { background: rgba(255,255,255,0.08); }
.footer-brand p { font-size: 0.82rem; color: rgba(255,255,255,0.35); line-height: 1.7; max-width: 260px; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 8px; min-width: 100px; }
.footer-col h5 {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 4px;
}
.footer-col a {
  text-decoration: none;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  transition: color 0.15s;
}
.footer-col a:hover { color: rgba(255,255,255,0.9); }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 0;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.2); }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links, .nav-ctas { display: none; }
  .nav-hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero { padding: 56px 20px 72px; }
  .section { padding: 56px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .stat { padding: 12px 20px; }
  .stat-divider { display: none; }
  .full-demo-iframe { width: 100%; }
  .demo-widget-wrap { height: 380px; }
}
