/* ============================================
   ZENIUM landing — dark · emerald · glass
   Brand-aligned with zenium.tech
   ============================================ */

:root {
  /* Surfaces */
  --bg: #09090b;
  --bg-soft: #0c0c0f;
  --surface: #18181b;
  --surface-2: #27272a;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* Text */
  --text: #fafafa;
  --text-soft: #d4d4d8;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;

  /* Brand */
  --emerald-300: #6ee7b7;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #00bb7f;
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;

  /* Accents (problem cards from zenium.tech) */
  --red-400: #ff6568;
  --red-500: #fb2c36;
  --orange-400: #ff8b1a;
  --orange-500: #fe6e00;
  --amber-400: #fcbb00;
  --amber-500: #f99c00;

  /* Type */
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --ease: cubic-bezier(.2, .7, .15, 1);
}

/* ============================================
   Reset
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "ss02";
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--emerald-500);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: rgba(16, 185, 129, 0.4);
  color: #fff;
}

/* ============================================
   Layout primitives
   ============================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

.skip-link {
  position: absolute;
  left: 16px; top: 16px;
  padding: 10px 16px;
  background: var(--emerald-500);
  color: #fff;
  border-radius: 8px;
  transform: translateY(-200%);
  transition: transform .2s var(--ease);
  z-index: 100;
  font-weight: 500;
  font-size: 14px;
}
.skip-link:focus { transform: translateY(0); }

/* ============================================
   Atmospheric background — dot grid
   ============================================ */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 20% 0%, rgba(16, 185, 129, 0.1), transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(6, 182, 212, 0.07), transparent 50%);
  background-size: 28px 28px, 100% 100%, 100% 100%;
  background-position: 0 0, 0 0, 0 0;
  mask-image: radial-gradient(ellipse at center top, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center top, #000 30%, transparent 80%);
}

main, header, footer { position: relative; z-index: 1; }

/* ============================================
   Glass card pattern (signature of zenium.tech)
   ============================================ */
.glass {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  transition: border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: all .2s var(--ease);
  white-space: nowrap;
  line-height: 1;
  cursor: pointer;
}
.btn-large { padding: 14px 22px; font-size: 15px; gap: 10px; }
.btn-block { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--emerald-500);
  color: #fff;
  font-weight: 500;
}
.btn-primary:hover {
  background: var(--emerald-400);
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.35);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.btn-ink {
  background: #fff;
  color: var(--bg);
  font-weight: 500;
}
.btn-ink:hover {
  background: var(--emerald-300);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  border-color: var(--border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-color: var(--border-strong);
}

/* ============================================
   Header
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  background: rgba(9, 9, 11, 0.72);
  border-bottom: 1px solid var(--border);
  transition: border-color .3s var(--ease);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.brand-mark { display: inline-flex; }
.brand-text {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
  font-size: 14px;
}
.site-nav a {
  padding: 7px 12px;
  border-radius: 8px;
  color: var(--text-muted);
  font-weight: 400;
  transition: all .2s var(--ease);
}
.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  padding: clamp(64px, 9vw, 120px) 0 clamp(80px, 11vw, 140px);
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: 1200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.4), transparent);
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0;
  color: var(--emerald-400);
  margin-bottom: 28px;
}
.eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--emerald-400);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
  animation: pulseRing 2.4s var(--ease) infinite;
}

@keyframes pulseRing {
  0%, 100% { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18); }
  50%      { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.display {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--text);
}
.display em {
  font-style: normal;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.display .highlight {
  position: relative;
  white-space: nowrap;
  background: linear-gradient(135deg, #34d399 0%, #10b981 40%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.lede {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--text-muted);
  margin-top: 24px;
  max-width: 540px;
  letter-spacing: -0.005em;
}
.lede strong {
  font-weight: 600;
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}
.hero-meta li { max-width: 180px; line-height: 1.4; }
.hero-meta strong {
  display: block;
  color: var(--text);
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 4px;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, var(--emerald-400), var(--cyan-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================
   Hero visual: chat frame
   ============================================ */
.hero-visual {
  position: relative;
  perspective: 1400px;
}

.chat-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px 14px 16px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 24px 60px -20px rgba(0, 0, 0, 0.5),
    0 60px 120px -40px rgba(16, 185, 129, 0.18);
  max-width: 460px;
  margin-left: auto;
  position: relative;
}
.chat-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.4), transparent 50%, rgba(6, 182, 212, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.chat-frame-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}
.chat-frame-dots { display: inline-flex; gap: 5px; }
.chat-frame-dots i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}
.chat-frame-dots i:nth-child(1) { background: #ff5f57; }
.chat-frame-dots i:nth-child(2) { background: #febc2e; }
.chat-frame-dots i:nth-child(3) { background: #28c840; }

.chat-frame-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
}
.chat-frame-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--emerald-400);
}
.chat-frame-status .pulse {
  width: 6px; height: 6px;
  background: var(--emerald-500);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25);
  animation: pulseRing 1.6s var(--ease) infinite;
}

.chat-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px 4px 12px;
  min-height: 320px;
  max-height: 420px;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}

.bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 14px;
  position: relative;
  opacity: 0;
  transform: translateY(8px);
  animation: bubbleIn .35s var(--ease) forwards;
  font-size: 14px;
}
.bubble small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  margin-top: 4px;
  opacity: 0.55;
}
.bubble.them {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  color: var(--text-soft);
}
.bubble.us {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
  color: #fff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 16px -4px rgba(16, 185, 129, 0.4);
}
.bubble.us small { color: rgba(255, 255, 255, 0.75); }

@keyframes bubbleIn {
  to { opacity: 1; transform: translateY(0); }
}

.typing {
  display: inline-flex;
  gap: 4px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.typing i {
  width: 6px; height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  opacity: 0.6;
  animation: dotJump 1.1s var(--ease) infinite;
}
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }

@keyframes dotJump {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
}
.chat-input-placeholder { color: var(--text-dim); }
.chat-input-icon { color: var(--emerald-400); }

.badge-stamp {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(16, 185, 129, 0.1) inset;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.badge-stamp .stamp-dot {
  width: 6px; height: 6px;
  background: var(--emerald-400);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald-400);
  animation: pulseRing 1.6s var(--ease) infinite;
}
.badge-stamp em {
  font-style: normal;
  font-weight: 700;
  color: var(--emerald-400);
}
.stamp-divider {
  width: 1px; height: 12px;
  background: var(--border);
}
.stamp-small {
  color: var(--text-muted);
  font-weight: 400;
}
.stamp-line { display: inline-flex; align-items: center; }

/* ============================================
   Section heads
   ============================================ */
.section-head {
  margin-bottom: clamp(40px, 6vw, 64px);
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.section-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--emerald-400);
  margin-bottom: 14px;
  text-transform: uppercase;
  font-weight: 600;
}
.section-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--text);
  background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-kicker {
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 560px;
  line-height: 1.6;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Problem section
   ============================================ */
.problem {
  padding: clamp(80px, 10vw, 120px) 0;
  position: relative;
}
.problem::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 101, 104, 0.3), transparent);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.problem-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 2.8vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.problem-card:nth-child(1):hover { border-color: rgba(255, 101, 104, 0.3); transform: translateY(-3px); }
.problem-card:nth-child(2):hover { border-color: rgba(255, 139, 26, 0.3); transform: translateY(-3px); }
.problem-card:nth-child(3):hover { border-color: rgba(252, 187, 0, 0.3); transform: translateY(-3px); }

.problem-stat .num {
  font-weight: 800;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.04em;
  display: block;
}
.problem-card:nth-child(1) .num { color: var(--red-400); }
.problem-card:nth-child(2) .num { color: var(--orange-400); }
.problem-card:nth-child(3) .num { color: var(--amber-400); }

.problem-stat .num i {
  font-style: normal;
  font-size: 0.45em;
  vertical-align: 0.5em;
  margin-left: 4px;
  font-weight: 600;
  opacity: 0.7;
}

.problem-card h3 {
  font-weight: 600;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.02em;
  color: var(--text);
}
.problem-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
}
.problem-tag {
  margin-top: auto;
  padding-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
}

.problem-quote {
  margin: clamp(48px, 6vw, 72px) auto 0;
  max-width: 800px;
  text-align: center;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--text-soft);
  font-weight: 400;
}
.problem-quote em {
  font-style: normal;
  background: linear-gradient(135deg, var(--emerald-400), var(--cyan-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

/* ============================================
   Solution section
   ============================================ */
.solution {
  padding: clamp(80px, 10vw, 120px) 0;
  position: relative;
}
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.solution-card {
  padding: clamp(28px, 3vw, 36px);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  transition: all .35s var(--ease);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.solution-card:hover {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.04);
  transform: translateY(-4px);
}

.solution-card::before {
  content: "";
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.solution-card:hover::before { opacity: 1; }

.solution-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin: 0 auto 12px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--emerald-400);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  border-radius: 12px;
  position: relative;
}
.solution-card h3 {
  font-weight: 700;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #34d399 0%, #10b981 40%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  margin: 4px 0;
}
.solution-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
  position: relative;
  max-width: 280px;
  margin: 0 auto;
}

/* ============================================
   Demo section
   ============================================ */
.demo {
  padding: clamp(80px, 10vw, 120px) 0;
  position: relative;
}
.demo::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
}
.demo-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.demo-copy { text-align: left; }
.demo-copy .section-num { margin-bottom: 14px; }
.demo-copy .section-title { font-size: clamp(28px, 3.5vw, 44px); text-align: left; background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.demo-copy .section-kicker { margin: 16px 0 28px; text-align: left; max-width: none; }

.demo-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 32px;
}
.demo-list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.demo-list span {
  color: var(--emerald-400);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 14px;
}

.chat-frame-large {
  max-width: 540px;
  margin: 0;
}
.chat-frame-large .chat-feed {
  min-height: 480px;
  max-height: 540px;
}

/* ============================================
   How section
   ============================================ */
.how {
  padding: clamp(80px, 10vw, 120px) 0;
  position: relative;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
  position: relative;
  margin-top: 16px;
}
.how-steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 14%; right: 14%;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(16, 185, 129, 0.3),
    rgba(16, 185, 129, 0.5),
    rgba(16, 185, 129, 0.3));
  z-index: 0;
}
.how-steps li {
  position: relative;
  text-align: center;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.how-num {
  width: 56px; height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--emerald-500);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  border-radius: 16px;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.35), 0 0 0 4px var(--bg);
  position: relative;
}
.how-steps h3 {
  font-weight: 600;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.02em;
  color: var(--text);
}
.how-steps p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 280px;
}

/* ============================================
   Features section
   ============================================ */
.features {
  padding: clamp(80px, 10vw, 120px) 0;
  position: relative;
}
.features::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 20px);
}
.feature {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 2.8vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all .3s var(--ease);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.feature:hover {
  border-color: rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.03);
  transform: translateY(-3px);
}
.feature-wide { grid-column: span 2; }

.feature-accent {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(6, 182, 212, 0.06));
  border-color: rgba(16, 185, 129, 0.25);
}
.feature-accent::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2), transparent 60%);
  pointer-events: none;
}
.feature-accent:hover { border-color: rgba(16, 185, 129, 0.4); }

.feature-tag {
  align-self: flex-start;
  display: inline-block;
  padding: 4px 10px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald-400);
  border: 1px solid rgba(16, 185, 129, 0.2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 6px;
  font-weight: 500;
}
.feature h3 {
  font-weight: 600;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}
.feature p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
  position: relative;
}

/* ============================================
   Pricing section
   ============================================ */
.pricing {
  padding: clamp(80px, 10vw, 120px) 0;
  position: relative;
}
.pricing::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.pricing-copy { text-align: left; }
.pricing-copy .section-num { margin-bottom: 14px; }
.pricing-copy .section-title {
  text-align: left;
  font-size: clamp(28px, 3.5vw, 44px);
}
.pricing-copy .section-kicker { text-align: left; margin-left: 0; max-width: none; }

.pricing-promises {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-soft);
}
.pricing-promises li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pricing-promises svg {
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.12);
  border-radius: 50%;
  padding: 5px;
  width: 22px; height: 22px;
  flex-shrink: 0;
}

.pricing-form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: clamp(28px, 3.5vw, 36px);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.pricing-form::before {
  content: "";
  position: absolute;
  top: -150px; right: -150px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15), transparent 60%);
  pointer-events: none;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.form-row label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
}
.form-row input,
.form-row select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-size: 15px;
  font-family: var(--font-sans);
  transition: all .2s var(--ease);
}
.form-row input::placeholder { color: var(--text-dim); }
.form-row input:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--emerald-500);
  background: rgba(16, 185, 129, 0.06);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}
.form-row select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2' stroke-linecap='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-fineprint {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
  margin-top: -4px;
  position: relative;
  z-index: 1;
}
.form-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--emerald-300);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.form-success strong { color: #fff; }

/* ============================================
   FAQ
   ============================================ */
.faq {
  padding: clamp(80px, 10vw, 120px) 0;
  position: relative;
}
.faq::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
}
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
  max-width: 880px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  padding: 20px 4px;
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-weight: 500;
  font-size: clamp(16px, 1.4vw, 18px);
  letter-spacing: -0.015em;
  color: var(--text);
  transition: color .2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 24px; height: 24px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center/10px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center/1.5px 10px no-repeat;
  color: var(--emerald-400);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  border-color: var(--emerald-400);
}
.faq-item summary:hover { color: var(--emerald-400); }
.faq-item p {
  padding: 0 4px 22px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 760px;
}

/* ============================================
   Final CTA
   ============================================ */
.cta-final {
  padding: clamp(80px, 10vw, 120px) 0;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(16, 185, 129, 0.15), transparent 60%);
  pointer-events: none;
}
.cta-final::after {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.5), transparent);
}
.cta-final-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-final-title {
  font-weight: 700;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  max-width: 14ch;
  margin: 0 auto;
}
.cta-final-sub {
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--text-muted);
  margin: 24px auto 32px;
  max-width: 480px;
  line-height: 1.6;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.6;
  max-width: 380px;
}
.footer-nav h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
  font-weight: 500;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}
.footer-nav a { transition: color .2s var(--ease); }
.footer-nav a:hover { color: var(--emerald-400); }
.footer-meta {
  grid-column: 1 / -1;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}

/* ============================================
   Reveal animations
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 64px; max-width: 460px; margin-left: auto; margin-right: auto; }
  .demo-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .site-nav { display: none; }
  .header-inner { gap: 16px; }
  .problem-grid { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; gap: 36px; }
  .how-steps::before { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-wide { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-meta { flex-direction: column; gap: 6px; }
  .hero-meta { gap: 18px; }
  .hero-meta li { max-width: 100%; flex: 1 0 100%; }
  .badge-stamp { font-size: 11px; padding: 8px 14px; }
}

@media (max-width: 480px) {
  .hero { padding-top: 40px; }
  .display { font-size: clamp(36px, 11vw, 48px); }
  .section-title { font-size: clamp(28px, 8vw, 36px); }
}
