/* ── Reset & design tokens ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:       #0d9488;
  --teal-dark:  #0f766e;
  --teal-light: #ccfbf1;
  --teal-dim:   #e6faf8;
  --ink:        #0f172a;
  --ink-muted:  #475569;
  --ink-faint:  #94a3b8;
  --surface:    #ffffff;
  --surface-2:  #f8fafc;
  --border:     #e2e8f0;
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  18px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.12);
  --font:       -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
  --max-w:      1100px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --teal:       #14b8a6;
    --teal-dark:  #0d9488;
    --teal-light: rgba(13,148,136,.15);
    --teal-dim:   rgba(13,148,136,.08);
    --ink:        #e2e8f0;
    --ink-muted:  #94a3b8;
    --ink-faint:  #4a5568;
    --surface:    #0b1120;
    --surface-2:  #0f172a;
    --border:     #1e293b;
    --shadow-sm:  0 1px 3px rgba(0,0,0,.2), 0 1px 2px rgba(0,0,0,.15);
    --shadow-md:  0 4px 16px rgba(0,0,0,.3);
    --shadow-lg:  0 16px 48px rgba(0,0,0,.4);
  }
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }

/* ── Layout helpers ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ── Typography helpers ──────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

#problem, #solution, #features, #who, #pricing, #cta { text-align: center; }

.section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
  color: var(--ink);
}

.section-sub {
  margin-top: 14px;
  font-size: 18px;
  color: var(--ink-muted);
  max-width: 540px;
  line-height: 1.6;
  margin-left: auto;
  margin-right: auto;
}

/* ── Scroll reveal ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.visible       { opacity: 1; transform: none; }
.reveal-delay-1       { transition-delay: .10s; }
.reveal-delay-2       { transition-delay: .20s; }
.reveal-delay-3       { transition-delay: .30s; }
.reveal-delay-4       { transition-delay: .40s; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background .15s, box-shadow .15s, transform .1s;
  white-space: nowrap;
  font-family: var(--font);
}
.btn:active { transform: scale(.98); }

.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); box-shadow: 0 4px 14px rgba(13,148,136,.3); }

/* ── Email capture ───────────────────────────────────────────── */
.capture-form {
  display: flex;
  gap: 8px;
  max-width: 460px;
  flex-wrap: wrap;
  margin-left: auto;
  margin-right: auto;
}

.capture-form input[type="email"] {
  flex: 1 1 200px;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.capture-form input[type="email"]:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,148,136,.12);
}
.capture-form input[type="email"]::placeholder { color: var(--ink-faint); }
.capture-form input[type="email"].invalid { border-color: #dc2626; }

.field-error { font-size: 12px; color: #dc2626; margin-top: 6px; display: none; }
.field-error.visible { display: block; }

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  background: var(--teal-light);
  border: 1px solid rgba(13,148,136,.2);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-dark);
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.form-success.visible { display: flex; }
.form-success svg { flex-shrink: 0; }

.trust-line {
  margin-top: 12px;
  font-size: 12px;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}
.trust-line .dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--ink-faint);
}

/* ── Navigation ──────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
}

.logo-mark {
  width: 28px; height: 28px;
  background: var(--teal);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  color: var(--ink-muted);
  font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover { color: var(--ink); }

.nav-cta { padding: 9px 18px !important; font-size: 13px !important; color: #fff !important; }

@media (max-width: 680px) { .nav-links { display: none; } }

/* ── Hero ────────────────────────────────────────────────────── */
#hero {
  padding: 96px 0 80px;
  background: linear-gradient(160deg, #ffffff 0%, var(--teal-dim) 100%);
  overflow: hidden;
  position: relative;
}
#hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(13,148,136,.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 46% 54%;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal-light);
  color: var(--teal-dark);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-headline {
  font-size: clamp(34px, 5.5vw, 58px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--ink);
  max-width: 580px;
}
.hero-headline em { font-style: normal; color: var(--teal); }

.hero-sub {
  margin-top: 20px;
  font-size: clamp(16px, 2vw, 18px);
  color: var(--ink-muted);
  max-width: 480px;
  line-height: 1.6;
}

.hero-form-wrap { margin-top: 36px; }

.hero-img {
  width: 115%;
  height: auto;
  max-width: none;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-illustration { max-width: 600px; margin: 40px auto 0; }
  .hero-img { width: 100%; }
}

/* ── Problem ─────────────────────────────────────────────────── */
#problem { background: var(--surface); }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 52px;
}

.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  overflow: hidden;
  text-align: left;
}
.problem-card {
  border-left: 3px solid var(--teal);
}

.problem-quote {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 16px;
}

.problem-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.author-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.author-role {
  font-size: 12px;
  color: var(--ink-faint);
  margin-top: 1px;
}

/* ── Solution / features ─────────────────────────────────────── */
#solution { background: var(--surface-2); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 52px;
}

.feature-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  text-align: left;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--teal);
}

.feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--teal-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg {
  width: 20px; height: 20px;
  stroke: var(--teal);
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -.01em;
}
.feature-desc {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ── Feature tabs ───────────────────────────────────────────── */
#features { background: var(--surface); }

.ftabs {
  margin-top: 48px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.ftabs-nav {
  display: flex;
  gap: 4px;
  background: var(--border);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 32px;
}

.ftab-btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: calc(var(--radius-md) - 2px);
  background: transparent;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
  transition: background .15s, color .15s, box-shadow .15s;
}
.ftab-btn:hover { color: var(--ink); }
.ftab-btn.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.ftab-panel { display: none; }
.ftab-panel.active { display: block; }

.flist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
}

.flist-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--ink);
}
.flist-item:last-child { border-bottom: none; }

.fbadge {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fbadge.available {
  background: var(--teal);
}
.fbadge.available::after {
  content: '';
  width: 10px;
  height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpolyline points='2 7 5.5 11 12 4' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

.fbadge.soon {
  background: transparent;
  border: 1.5px dashed var(--ink-faint);
  position: relative;
}
.fbadge.soon::after {
  content: 'Soon';
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.flist-item:has(.fbadge.soon) {
  color: var(--ink-muted);
  padding-left: 0;
}

/* Extra left padding to make room for the "Soon" label */
.flist-item:has(.fbadge.soon) > .fbadge { margin-right: 32px; }

/* ── Who it's for ────────────────────────────────────────────── */
#who { background: var(--surface-2); }

.who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 52px;
}

.who-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: left;
}
.who-emoji  { font-size: 26px; margin-bottom: 12px; }
.who-title  { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.who-desc   { font-size: 14px; color: var(--ink-muted); line-height: 1.55; }

/* ── Pricing ─────────────────────────────────────────────────── */
#pricing { background: var(--surface); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 52px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--surface);
  text-align: left;
}
.pricing-card.featured {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,148,136,.1), var(--shadow-md);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-name  { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-muted); margin-bottom: 8px; }
.plan-price { font-size: 38px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.plan-price span { font-size: 14px; font-weight: 500; color: var(--ink-muted); }
.plan-desc  { margin-top: 8px; font-size: 14px; color: var(--ink-muted); }
.plan-divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }

.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-muted);
}
.plan-features li svg { flex-shrink: 0; margin-top: 2px; width: 14px; height: 14px; stroke: var(--teal); fill: none; stroke-linecap: round; stroke-linejoin: round; }

.pricing-note { margin-top: 20px; font-size: 13px; color: var(--ink-faint); font-style: italic; }

/* ── Final CTA ───────────────────────────────────────────────── */
#cta {
  background: linear-gradient(135deg, #0b1120 0%, #0f3430 100%);
  color: #fff;
}
#cta .section-title { color: #fff; }
#cta .section-sub   { color: rgba(255,255,255,.6); }

#cta .capture-form input[type="email"] {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.15);
  color: #fff;
}
#cta .capture-form input[type="email"]:focus {
  border-color: rgba(255,255,255,.5);
  box-shadow: 0 0 0 3px rgba(255,255,255,.08);
}
#cta .capture-form input[type="email"]::placeholder { color: rgba(255,255,255,.35); }

#cta .trust-line      { color: rgba(255,255,255,.35); }
#cta .trust-line .dot { background: rgba(255,255,255,.25); }

#cta .form-success {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
}

.priority-wrap { margin-top: 18px; max-width: 460px; margin-left: auto; margin-right: auto; }
.priority-wrap label { display: block; font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 7px; font-weight: 500; }
.priority-wrap select {
  width: 100%;
  padding: 12px 40px 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.8);
  font-size: 14px;
  font-family: var(--font);
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: border-color .15s;
}
.priority-wrap select:focus { border-color: rgba(255,255,255,.45); }
.priority-wrap select option { background: #1a2a3a; color: #fff; }

/* ── Footer ──────────────────────────────────────────────────── */
footer {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand    { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 16px; }
.footer-tagline  { font-size: 12px; color: var(--ink-faint); margin-top: 4px; }
.footer-contact  { font-size: 13px; color: var(--ink-faint); }
.footer-contact a { color: var(--teal); }
.footer-contact a:hover { text-decoration: underline; }

/* ── Toast ───────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #1e293b;
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transition: transform .3s cubic-bezier(.22,1,.36,1);
  white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ── Dark mode overrides for hardcoded colors ────────────────── */
@media (prefers-color-scheme: dark) {
  nav {
    background: rgba(11,17,32,.85);
  }

  #hero {
    background: linear-gradient(160deg, #0b1120 0%, #0a1e1c 100%);
  }
  #hero::before {
    background: radial-gradient(circle, rgba(13,148,136,.08) 0%, transparent 70%);
  }

  .hero-badge {
    background: rgba(13,148,136,.15);
    color: #5eead4;
  }

  .capture-form input[type="email"] {
    background: rgba(255,255,255,.05);
    border-color: var(--border);
    color: var(--ink);
  }
  .capture-form input[type="email"]::placeholder { color: var(--ink-faint); }

  .form-success {
    background: rgba(13,148,136,.12);
    border-color: rgba(13,148,136,.25);
    color: #5eead4;
  }

  .problem-card::before {
    background: linear-gradient(90deg, #0d9488, #06b6d4);
  }

  .feature-icon {
    background: rgba(13,148,136,.12);
  }

  .toast {
    background: #1e293b;
  }

  .pricing-card.featured {
    box-shadow: 0 0 0 3px rgba(13,148,136,.2), var(--shadow-md);
  }

  .priority-wrap select option { background: #0f172a; }
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  #hero { padding: 72px 0 56px; }

  .hero-headline { font-size: clamp(28px, 7vw, 36px); }
  .hero-sub { font-size: 15px; }

  .section-title { font-size: clamp(22px, 5vw, 30px); }
  .section-sub { font-size: 15px; }

  .capture-form { flex-direction: column; }
  .capture-form input[type="email"],
  .capture-form .btn { width: 100%; }

  .features-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }

  .ftabs-nav { flex-wrap: wrap; }
  .ftab-btn { flex: 1 1 45%; font-size: 12px; padding: 9px 10px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}
