/* landing.css — styles specific to the marketing landing page ( / ) */

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0;
  background: rgba(250, 249, 246, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.scrolled {
  border-bottom-color: var(--surface-border);
  background: rgba(250, 249, 246, 0.92);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.nav-links a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav .btn {
  padding: 10px 20px;
  min-height: 40px;
  font-size: 14px;
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  color: var(--ink);
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 60px;
  overflow: hidden;
  text-align: center;
}
.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 620px;
  background: radial-gradient(60% 60% at 30% 20%, rgba(255, 145, 81, 0.16), transparent 70%),
              radial-gradient(50% 50% at 75% 10%, rgba(139, 124, 246, 0.16), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  margin: 0 auto 24px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 auto 24px;
  max-width: 16ch;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 auto 40px;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Hero self-demo: the headline area shows a live sentence rendering in
   bionic form, letter-bolding animating in on load — the product
   demonstrating itself rather than an illustration of it. */
.hero-demo {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 32px;
  text-align: left;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.hero-demo-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.hero-demo-dots {
  display: flex;
  gap: 6px;
}
.hero-demo-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--surface-strong);
}
.hero-demo-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}
.hero-demo-text {
  font-family: var(--font-display);
  font-size: clamp(17px, 2.4vw, 21px);
  line-height: 1.6;
  color: var(--ink-faint);
}
.hero-demo-text b {
  color: var(--ink);
  font-weight: 700;
}
.hero-demo-text b.lit {
  background: var(--gradient-signature);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Section shell ---------- */
.section {
  padding: 96px 0;
  position: relative;
}
.section-head {
  max-width: 640px;
  margin: 0 0 56px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet-soft);
  margin: 0 0 14px;
}
.section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.section-lede {
  color: var(--ink-soft);
  font-size: 16.5px;
  margin: 0;
}

/* ---------- What is Bionic Reading ---------- */
.bionic-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.bionic-points {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.bionic-point {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius-md);
}
.bionic-point .icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-signature-soft);
  color: var(--amber-soft);
}
.bionic-point h3 {
  font-size: 16px;
  margin: 0 0 5px;
  font-weight: 600;
}
.bionic-point p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.bionic-disclaimer {
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: 4px;
  padding-left: 22px;
}

.word-cloud {
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.9;
  color: var(--ink-faint);
}
.word-cloud b {
  color: var(--ink);
  font-weight: 700;
}

/* ---------- Before / After slider ---------- */
.compare-wrap {
  max-width: 860px;
  margin: 0 auto;
}
.compare-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-faint);
  margin-bottom: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.compare-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16 / 10;
  user-select: none;
  touch-action: pan-y;
}
.compare-layer {
  position: absolute;
  inset: 0;
  padding: 40px 44px;
  background: var(--bg-elevated);
  font-family: var(--font-display);
  font-size: clamp(15px, 1.9vw, 19px);
  line-height: 1.75;
}
.compare-layer.after {
  clip-path: inset(0 0 0 50%);
}
.compare-layer .reg {
  color: var(--ink-faint);
}
.compare-layer.after b {
  color: var(--ink);
  font-weight: 700;
}
.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0;
  transform: translateX(-50%);
  cursor: ew-resize;
}
.compare-handle::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 2px;
  background: rgba(26, 22, 32, 0.55);
}
.compare-grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-signature);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16121c;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.5);
}

/* ---------- How it works ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step-card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--surface-border-strong);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--violet-soft);
  margin-bottom: 18px;
}
.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient-signature-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-soft);
  margin-bottom: 18px;
}
.step-card h3 {
  font-size: 16px;
  margin: 0 0 8px;
  font-weight: 600;
}
.step-card p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Benefits ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.benefit-card {
  padding: 26px;
  border-radius: var(--radius-md);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.benefit-card .icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet-soft);
}
.benefit-card h3 {
  font-size: 15px;
  margin: 0 0 4px;
  font-weight: 600;
}
.benefit-card p {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center;
  padding: 80px 40px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 145, 81, 0.14), rgba(139, 124, 246, 0.14));
}
.final-cta h2 {
  margin: 0 0 12px;
}
.final-cta p {
  color: var(--ink-soft);
  margin: 0 0 32px;
  font-size: 16px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--surface-border);
  padding: 48px 0 40px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--ink-soft);
}
.footer-links a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s var(--ease);
}
.footer-links a:hover {
  color: var(--ink);
}
.footer-bottom {
  font-size: 13px;
  color: var(--ink-faint);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .bionic-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .section {
    padding: 64px 0;
  }
  .hero {
    padding: 56px 0 40px;
  }
  .hero-demo {
    padding: 22px 20px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .final-cta {
    padding: 56px 24px;
  }
  .footer-top {
    flex-direction: column;
    gap: 20px;
  }
}

/* Mobile menu sheet */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 20px;
  font-family: var(--font-display);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu a {
  text-decoration: none;
  color: var(--ink);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  color: var(--ink);
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 0;
}
.mobile-menu-close svg {
  width: 22px;
  height: 22px;
}
