/* ============================================
   UNIMIND — Landing Page
   Design tokens + component styles
   ============================================ */

:root {
  /* Color */
  --bg-base: #0C0B09;
  --bg-surface: #131210;
  --bg-elevated: #1A1915;
  --bg-accent-subtle: #1E1A0E;
  --border-default: #272420;
  --border-subtle: #1E1C18;
  --text-primary: #EDE8DF;
  --text-secondary: #9A9285;
  --text-muted: #5A554E;
  --accent: #EDE8DF;
  --accent-dim: #9A9285;
  --accent-glow: rgba(237,232,223,0.55);
  --green: #6EBF8A;
  --green-subtle: #0F2218;
  --red: #E26B6B;
  --red-dim: #B04949;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 120px;
  --space-3xl: 160px;

  /* Type */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'Space Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: rgba(237,232,223,0.25); color: var(--text-primary); }

a { color: inherit; text-decoration: none; }

/* ============================================
   Layout
   ============================================ */
.wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.wrap--narrow { max-width: 680px; }
.wrap--wide { max-width: 1100px; }

section { position: relative; }

.divider {
  height: 1px;
  background: var(--border-subtle);
  max-width: 860px;
  margin: 0 auto;
}

/* ============================================
   Type primitives
   ============================================ */
.label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 3px;
  color: var(--text-muted);
  margin-bottom: 24px;
  text-transform: lowercase;
}

.h-display {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--text-primary);
  text-wrap: balance;
}

.italic { font-style: italic; }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  padding: 14px 32px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 200ms, color 200ms, border-color 200ms;
  text-transform: lowercase;
}
.btn--primary {
  background: var(--text-primary);
  color: var(--bg-base);
}
.btn--primary:hover { background: #D6D0C7; }

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-default);
}
.btn--ghost:hover {
  border-color: var(--text-muted);
  color: var(--text-primary);
}

.btn--small {
  font-size: 11px;
  padding: 10px 20px;
}

/* ============================================
   Nav
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--bg-base);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 200ms, backdrop-filter 200ms;
}
.nav.scrolled {
  background: rgba(12, 11, 9, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.nav__mark {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--text-primary);
}
.nav__cta {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: var(--text-primary);
  background: transparent;
  border: none;
  padding: 0;
  text-transform: lowercase;
  transition: opacity 200ms;
}
.nav__cta:hover { opacity: 0.7; }

@media (max-width: 640px) {
  .nav__inner { padding: 12px 16px; }
  .nav__cta {
    font-size: 11px;
    letter-spacing: 1.2px;
  }
}

/* ============================================
   Hero — Section 1
   ============================================ */
.hero {
  padding: 200px 0 120px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
}
.hero__headline {
  font-size: clamp(56px, 9.5vw, 124px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -2px;
  margin-bottom: 36px;
  white-space: nowrap;
}
.hero__headline > br + * { display: inline; }

/* Animated corridor backdrop ============== */
.corridor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  perspective: 900px;
  perspective-origin: 50% 55%;
  background:
    radial-gradient(ellipse at center 60%, #1f1c16 0%, #0c0b09 60%, #050402 100%);
}
.corridor__floor {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 200%;
  height: 60%;
  transform: translateX(-50%) rotateX(70deg);
  transform-origin: 50% 100%;
  background:
    linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.85) 100%),
    repeating-linear-gradient(
      to right,
      rgba(237,232,223,0.05) 0,
      rgba(237,232,223,0.05) 1px,
      transparent 1px,
      transparent 80px
    );
}
.corridor__pillars {
  position: absolute;
  top: 0; bottom: 0;
  width: 50%;
  transform-style: preserve-3d;
}
.corridor__pillars--left { left: 0; }
.corridor__pillars--right { right: 0; }

.corridor__pillars span {
  position: absolute;
  bottom: 25%;
  width: 16%;
  height: 78%;
  background: linear-gradient(
    to right,
    #0a0907 0%,
    #2a261f 35%,
    #3a352c 50%,
    #2a261f 65%,
    #0a0907 100%
  );
  box-shadow:
    inset 1px 0 0 rgba(237,232,223,0.12),
    inset -1px 0 0 rgba(0,0,0,0.8),
    0 0 60px rgba(0,0,0,0.5);
  animation: corridor-drift 36s linear infinite;
  animation-delay: calc(var(--i) * -4.5s);
}
.corridor__pillars--left span {
  right: calc(var(--i) * 2%);
  transform: rotateY(-32deg) translateZ(0);
  transform-origin: right center;
}
.corridor__pillars--right span {
  left: calc(var(--i) * 2%);
  transform: rotateY(32deg) translateZ(0);
  transform-origin: left center;
}

@keyframes corridor-drift {
  0% {
    opacity: 0;
    transform: translateZ(-1400px) rotateY(var(--ry, -32deg));
  }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% {
    opacity: 0;
    transform: translateZ(600px) rotateY(var(--ry, -32deg));
  }
}
.corridor__pillars--left span { --ry: -32deg; }
.corridor__pillars--right span { --ry: 32deg; }

.corridor__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center 40%, transparent 0%, rgba(12,11,9,0.15) 60%, rgba(12,11,9,0.7) 100%),
    linear-gradient(to bottom, rgba(12,11,9,0.3) 0%, transparent 25%, transparent 75%, var(--bg-base) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .corridor__pillars span { animation: none; opacity: 0.4; }
}

.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}
.hero__headline {
  font-size: clamp(56px, 9.5vw, 124px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -2px;
  margin-bottom: 36px;
  white-space: nowrap;
}
.hero__sub {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 40px;
}
.hero__cta-secondary {
  display: block;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-muted);
}
.hero__shot {
  margin-top: 96px;
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1200px;
  z-index: 2;
}
.hero__shot-inner {
  width: 100%;
  max-width: 920px;
  transform: rotate(-1.5deg);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px var(--border-default);
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
}

@media (max-width: 768px) {
  .hero { padding: 0; }
  .hero__content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 96px;
    padding-bottom: 40px;
  }
  .hero__headline {
    font-size: clamp(30px, 11vw, 56px);
    letter-spacing: -1px;
    line-height: 1.05;
    white-space: normal;
    margin-bottom: 28px;
  }
  .hero__sub { font-size: 16px; }
  .hero__shot { margin-top: 0; padding: 24px 12px 64px; }
  .hero__shot-inner {
    /* Inner is a viewport-fitting frame; the .dash inside is scaled
       to fit by JS (transform: scale) so it renders as one rigid image. */
    width: 100%;
    max-width: 100%;
    transform: none;
    -webkit-mask-image: none;
    mask-image: none;
    overflow: hidden;
    box-shadow: 0 16px 32px rgba(0,0,0,0.5), 0 0 0 1px var(--border-default);
  }
  .corridor__pillars span { width: 22%; }
}

/* ============================================
   Section 2 — The Number
   ============================================ */
.numblock {
  background: var(--bg-surface);
  padding: var(--space-xl) 0 32px;
}
.numblock__big {
  font-family: var(--font-mono);
  font-size: 80px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -1px;
  line-height: 1;
  margin: 16px 0 24px;
}
.numblock__below {
  font-family: var(--font-display);
  font-size: 24px;
  font-style: italic;
  color: var(--text-secondary);
  font-weight: 400;
}

@media (max-width: 768px) {
  .numblock__big { font-size: 52px; }
  .numblock__below { font-size: 18px; }
}

/* ============================================
   Explainer — one-line product sentence (paired with numblock above)
   ============================================ */
.explainer {
  background: var(--bg-surface);
  padding: 16px 0 88px;
  position: relative;
}
.explainer__body {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}
.explainer__body strong {
  color: var(--text-primary);
  font-weight: 400;
}

@media (max-width: 768px) {
  .explainer { padding: 8px 0 72px; }
  .explainer__body { font-size: 17px; line-height: 1.55; }
}

/* ============================================
   Section 3 — The Proof
   ============================================ */
.proof {
  padding: 40px 0 var(--space-xl);
}
.proof__headline {
  font-size: 40px;
  line-height: 1.1;
  margin-bottom: 48px;
}
.proof__list {
  list-style: none;
  text-align: left;
}
.proof__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 24px;
  padding: 20px 16px;
  border-bottom: 1px solid var(--border-subtle);
  border-left: 2px solid transparent;
  transition: background 250ms ease, border-left-color 250ms ease, padding-left 250ms ease;
}
.proof__row:hover {
  background: var(--bg-elevated);
  border-left-color: var(--accent);
  padding-left: 22px;
}
.proof__name {
  font-size: 16px;
  color: var(--text-primary);
}
.proof__loc {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-left: 8px;
}
.proof__amount {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--green);
  text-align: right;
  white-space: nowrap;
}
.proof__below {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 32px;
}

@media (max-width: 640px) {
  .proof__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .proof__amount { text-align: left; font-size: 16px; }
}

/* ============================================
   Section 4 — The Pain
   ============================================ */
.pain {
  background: var(--bg-elevated);
  padding: 100px 0;
}
.pain__headline {
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 40px;
}
.pain__body {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

.line-reveal {
  overflow: hidden;
  display: inline-block;
}
.line-reveal__inner {
  display: inline-block;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 800ms cubic-bezier(0.16, 1, 0.3, 1);
}
.in-view .line-reveal__inner {
  clip-path: inset(0 0 0% 0);
}

@media (max-width: 768px) {
  .pain__headline { font-size: 32px; }
  .pain__body { font-size: 16px; }
}

/* ============================================
   Section 5 — How it works
   ============================================ */
.howto {
  padding: 100px 0;
}
.howto__headline {
  font-size: 48px;
  line-height: 1.1;
  margin-bottom: 80px;
}
.steps {
  text-align: left;
}
.step {
  padding: 56px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.step:last-child { border-bottom: none; }
.step__head {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 24px;
  align-items: baseline;
  margin-bottom: 20px;
}
.step__num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-default);
  background: var(--bg-base);
}
.step__title {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
}
.step__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  border: 1px solid var(--border-default);
  padding: 6px 14px;
}
.step__body {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 560px;
  margin-left: 80px;
}
.step__shot {
  margin: 40px auto 0;
  width: 100%;
  max-width: 720px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.5);
  border: 1px solid var(--border-default);
}

@media (max-width: 640px) {
  .howto__headline { font-size: 32px; margin-bottom: 56px; }
  .step__head {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }
  .step__num { grid-column: 1 / -1; margin-bottom: 4px; }
  .step__title { font-size: 20px; }
  .step__body { margin-left: 0; font-size: 15px; }
}

@media (max-width: 768px) {
  /* Inner .dash is scaled via JS so the shot renders as one rigid image */
  .step__shot {
    width: 100%;
    max-width: 100%;
    margin: 32px 0 0;
    overflow: hidden;
  }
}

/* ============================================
   Section 6 — What you get
   ============================================ */
.whatyouget {
  background: var(--bg-surface);
  padding: 100px 0;
}
.whatyouget__headline {
  font-size: 48px;
  line-height: 1.15;
  margin-bottom: 64px;
}
.itemlist {
  text-align: left;
  list-style: none;
}
.item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: baseline;
  padding: 28px 0;
  border-top: 1px solid var(--border-subtle);
  transition: background 200ms;
}
.itemlist .item:last-child { border-bottom: 1px solid var(--border-subtle); }
.item__label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0;
  transition: color 250ms;
}
.item:hover .item__label { color: var(--accent); }
.item__body {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
}
.fullshot {
  margin-top: 80px;
  width: 100%;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--border-default);
  box-shadow: 0 32px 64px rgba(0,0,0,0.5);
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(0.97);
}
.in-view .fullshot { transform: scale(1); }

@media (max-width: 768px) {
  .whatyouget__headline { font-size: 32px; }
  .item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  /* Inner .dash is scaled via JS so the shot renders as one rigid image */
  .fullshot {
    width: 100%;
    max-width: 100%;
    margin: 48px 0 0;
    overflow: hidden;
    transform: none;
  }
}

/* ============================================
   Section 7 — Not for everyone
   ============================================ */
.notforeveryone {
  background: var(--bg-elevated);
  padding: 100px 0;
}
.notforeveryone__headline {
  font-family: var(--font-display);
  font-size: 52px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 40px;
}
.notforeveryone__body {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .notforeveryone__headline { font-size: 32px; }
  .notforeveryone__body { font-size: 16px; }
}

/* ============================================
   Section 8 — CTA
   ============================================ */
.cta {
  padding: 120px 0;
}
.cta__headline {
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}
.cta__sub {
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 56px;
}
.cta__options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.cta__or {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.form {
  display: none;
  margin-top: 48px;
  text-align: left;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  max-height: 0;
  transition: max-height 400ms ease;
}
.form.open { display: block; }
.form__field {
  margin-bottom: 32px;
}
.form__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form__input,
.form__select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-default);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  padding: 8px 0;
  border-radius: 0;
  outline: none;
  transition: border-color 200ms;
}
.form__input:focus,
.form__select:focus {
  border-bottom-color: var(--text-secondary);
}
.form__select {
  appearance: none;
  -webkit-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 fill='none' stroke='%235A554E' stroke-width='1' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  cursor: pointer;
}
.form__select option { background: var(--bg-elevated); color: var(--text-primary); }
.form__submit {
  width: 100%;
  margin-top: 16px;
}
.form__success {
  display: none;
  margin-top: 32px;
}
.form__success.show { display: block; }
.form__success-msg {
  font-family: var(--font-display);
  font-size: 28px;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.form__success-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .cta__headline { font-size: 32px; }
}

/* ============================================
   Footer
   ============================================ */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 32px 0;
}
.footer__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.footer__mark {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-primary);
}
.footer__mid {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-align: center;
}
.footer__right {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-align: right;
  position: relative;
}
.footer__right a { position: relative; }
.footer__right a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--text-muted);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms;
}
.footer__right a:hover::after { transform: scaleX(1); }

@media (max-width: 640px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }
  .footer__right { text-align: center; }
}

/* ============================================
   Animations
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 680ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 680ms cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}
.fade-up[data-delay="100"] { transition-delay: 100ms; }
.fade-up[data-delay="200"] { transition-delay: 200ms; }
.fade-up[data-delay="300"] { transition-delay: 300ms; }
.fade-up[data-delay="400"] { transition-delay: 400ms; }
.fade-up[data-delay="450"] { transition-delay: 450ms; }
.fade-up[data-delay="500"] { transition-delay: 500ms; }

.stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 680ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 680ms cubic-bezier(0.16, 1, 0.3, 1),
    background 250ms ease,
    border-left-color 250ms ease,
    padding-left 250ms ease;
}
.stagger.in-view > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0ms; }
.stagger.in-view > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 80ms; }
.stagger.in-view > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 160ms; }
.stagger.in-view > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 240ms; }
.stagger.in-view > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 320ms; }


/* ============================================
   TICKER STRIP — between hero and number
   ============================================ */
.ticker {
  position: relative;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}
.ticker::before,
.ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-surface) 0%, transparent 100%);
}
.ticker::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-surface) 0%, transparent 100%);
}
.ticker__rail {
  padding: 22px 0;
  position: relative;
}
.ticker__track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: ticker-scroll 60s linear infinite;
}
.ticker:hover .ticker__track {
  animation-play-state: paused;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker__item {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.ticker__item em {
  font-style: normal;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  font-weight: 500;
}
.ticker__item s {
  color: var(--red);
  text-decoration: line-through;
  text-decoration-color: rgba(226,107,107,0.5);
  font-size: 13px;
}
.ticker__item b {
  color: var(--green);
  font-weight: 500;
  font-size: 14px;
}
.ticker__item i {
  color: var(--text-muted);
  font-style: normal;
  font-size: 11px;
}

/* ============================================
   STEP CONNECTOR LINE
   ============================================ */
.steps {
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--border-default) 4%,
    var(--border-default) 96%,
    transparent 100%
  );
  z-index: 0;
}
.steps::after {
  content: '';
  position: absolute;
  left: 17px;
  top: 12px;
  width: 1px;
  height: var(--steps-progress, 0%);
  background: linear-gradient(
    to bottom,
    var(--accent) 0%,
    var(--accent-dim) 100%
  );
  z-index: 1;
  transition: height 80ms linear;
  box-shadow: 0 0 14px rgba(237,232,223,0.45);
}
@media (max-width: 768px) {
  /* Keep the connector line visible on mobile; step__num sits at the left
     edge of each step on mobile (grid-column: 1 / -1, 44px wide), so the
     line at left: 17px still passes through each circle. */
  .steps::before, .steps::after { left: 17px; }
}
.step {
  position: relative;
  z-index: 2;
}
.step__num {
  background: var(--bg-base);
  position: relative;
  z-index: 2;
}

/* ============================================
   COUNT-UP styling for proof rows
   ============================================ */
.proof__num {
  font-variant-numeric: tabular-nums;
  display: inline-block;
  min-width: 7ch;
}

/* ============================================
   ENHANCED HOVER + REVEAL animations
   ============================================ */
.proof__row {
  transition:
    background-color 220ms ease,
    transform 220ms ease,
    border-color 220ms ease;
}
.proof__row:hover {
  transform: translateX(4px);
}
.numblock__big {
  position: relative;
}
.numblock__big::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--accent);
  animation: number-underline 1.4s 0.6s cubic-bezier(0.2,0.7,0.2,1) forwards;
  opacity: 0;
}
@keyframes number-underline {
  0%   { width: 0;   opacity: 0; }
  20%  { opacity: 1; }
  100% { width: 60%; opacity: 1; }
}

/* feature card hover lift in "what you get" */
.feature {
  transition: transform 260ms ease, border-color 260ms ease, background-color 260ms ease;
}
.feature:hover {
  transform: translateY(-3px);
  border-color: var(--accent-dim);
  background-color: var(--bg-elevated);
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  .numblock__big::after { animation: none; opacity: 0; }
  .proof__row:hover, .feature:hover { transform: none; }
}


/* ============================================
   PALETTE REFRESH — depth, dimension, cream lights
   ============================================ */

/* Section-level atmospheric backgrounds (subtle radial glows
   instead of dead-flat colour blocks) */
.numblock {
  background:
    radial-gradient(ellipse 70% 90% at 50% 100%,
      rgba(237,232,223,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 50% 0%,
      rgba(0,0,0,0.5) 0%, transparent 70%),
    var(--bg-surface);
  position: relative;
  overflow: hidden;
}
.numblock::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(237,232,223,0.012) 0,
      rgba(237,232,223,0.012) 1px,
      transparent 1px,
      transparent 80px
    );
  pointer-events: none;
}

.proof {
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%,
      rgba(110,191,138,0.025) 0%, transparent 70%),
    var(--bg-base);
  position: relative;
}

.pain {
  background:
    radial-gradient(ellipse 60% 80% at 30% 50%,
      rgba(237,232,223,0.04) 0%, transparent 60%),
    var(--bg-base);
  position: relative;
  overflow: hidden;
}

.howto {
  background:
    radial-gradient(ellipse 100% 50% at 50% 0%,
      rgba(237,232,223,0.03) 0%, transparent 60%),
    var(--bg-surface);
  position: relative;
}

.whatyouget {
  background:
    radial-gradient(ellipse 60% 80% at 70% 30%,
      rgba(110,191,138,0.03) 0%, transparent 60%),
    var(--bg-base);
}

.cta {
  background:
    radial-gradient(ellipse 70% 100% at 50% 100%,
      rgba(237,232,223,0.06) 0%, transparent 70%),
    var(--bg-surface);
  position: relative;
  overflow: hidden;
}

/* Big number — cream gradient with soft halo */
.numblock__big {
  background: linear-gradient(180deg,
    #FFFFFF 0%,
    #EDE8DF 40%,
    #C5BEB1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  text-shadow: none;
  filter: drop-shadow(0 0 30px rgba(237,232,223,0.15));
  position: relative;
  z-index: 1;
}
.numblock__big::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse at center,
    rgba(237,232,223,0.18) 0%,
    transparent 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(20px);
}

/* Dashboard — add inner highlight and softer ambient glow */
.dash {
  position: relative;
  box-shadow:
    inset 0 1px 0 rgba(237,232,223,0.04),
    inset 0 0 0 1px var(--border-default),
    0 30px 60px -20px rgba(0,0,0,0.6),
    0 8px 24px -8px rgba(0,0,0,0.4);
}
.dash::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 50% at 50% 0%,
    rgba(237,232,223,0.025) 0%, transparent 60%);
  pointer-events: none;
  border-radius: inherit;
}

/* Feature cards — depth via inner highlight */
.feature {
  position: relative;
  background:
    linear-gradient(180deg,
      rgba(237,232,223,0.015) 0%,
      transparent 100%),
    var(--bg-surface);
  box-shadow:
    inset 0 1px 0 rgba(237,232,223,0.04),
    0 8px 24px -12px rgba(0,0,0,0.5);
}
.feature:hover {
  background:
    linear-gradient(180deg,
      rgba(237,232,223,0.04) 0%,
      transparent 100%),
    var(--bg-elevated);
  box-shadow:
    inset 0 1px 0 rgba(237,232,223,0.08),
    0 12px 30px -10px rgba(0,0,0,0.6);
}

/* Proof rows — left-border becomes a soft cream gradient on hover */
.proof__row {
  position: relative;
  background: linear-gradient(180deg,
    rgba(237,232,223,0.012) 0%,
    transparent 100%);
}
.proof__row::before {
  content: '';
  position: absolute;
  left: 0; top: 10%; bottom: 10%;
  width: 2px;
  background: linear-gradient(180deg,
    transparent 0%,
    var(--accent) 50%,
    transparent 100%);
  opacity: 0;
  transition: opacity 220ms ease;
}
.proof__row:hover::before { opacity: 1; }

/* Section dividers — hairline gradient that fades at edges */
section + section:not(.ticker):not(:first-of-type) {
  position: relative;
}

/* Subtle starfield-like specks in pain section */
.pain::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(237,232,223,0.4) 50%, transparent 100%),
    radial-gradient(1px 1px at 80% 60%, rgba(237,232,223,0.3) 50%, transparent 100%),
    radial-gradient(1px 1px at 45% 80%, rgba(237,232,223,0.35) 50%, transparent 100%),
    radial-gradient(1px 1px at 65% 20%, rgba(237,232,223,0.25) 50%, transparent 100%),
    radial-gradient(1px 1px at 12% 65%, rgba(237,232,223,0.3) 50%, transparent 100%),
    radial-gradient(1px 1px at 90% 35%, rgba(237,232,223,0.4) 50%, transparent 100%);
  background-size: 100% 100%;
  opacity: 0.5;
  pointer-events: none;
  animation: starfield-drift 30s linear infinite;
}
@keyframes starfield-drift {
  from { transform: translateY(0); }
  to   { transform: translateY(-30px); }
}

/* Buttons — subtle gradient instead of flat fill */
.btn--primary {
  background: linear-gradient(180deg,
    #FFFFFF 0%,
    #EDE8DF 100%);
  color: #0C0B09;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    0 8px 24px -8px rgba(237,232,223,0.3);
  border: 1px solid rgba(237,232,223,0.4);
}
.btn--primary:hover {
  background: linear-gradient(180deg,
    #FFFFFF 0%,
    #FFFFFF 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    0 12px 30px -8px rgba(237,232,223,0.4);
}

/* Ticker — depth via gradient track + glowing edges */
.ticker {
  background:
    linear-gradient(180deg,
      rgba(237,232,223,0.02) 0%,
      transparent 50%,
      rgba(0,0,0,0.2) 100%),
    var(--bg-surface);
}
.ticker__item b {
  text-shadow: 0 0 20px rgba(110,191,138,0.4);
}

/* Footer — slight gradient lift */
.footer {
  background: linear-gradient(180deg,
    var(--bg-base) 0%,
    #050402 100%);
}

@media (prefers-reduced-motion: reduce) {
  .pain::before { animation: none; }
}


/* Pain — red accent for negative phrase */
.pain__bad {
  color: var(--red);
  position: relative;
  text-shadow: 0 0 28px rgba(226,107,107,0.25);
}
.pain__bad::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0.06em;
  height: 1px;
  background: linear-gradient(to right,
    transparent 0%,
    rgba(226,107,107,0.5) 20%,
    rgba(226,107,107,0.5) 80%,
    transparent 100%);
}


/* Active step number — line has passed it */
.step__num.is-active {
  background: var(--text-primary);
  color: #0C0B09;
  border-color: var(--text-primary);
  transform: scale(1.18);
  transition: background-color 280ms ease, color 280ms ease, box-shadow 280ms ease, transform 280ms ease, border-color 280ms ease;
  box-shadow: 0 0 28px rgba(237,232,223,0.4);
}
.step__num {
  transition: background-color 280ms ease, color 280ms ease, box-shadow 280ms ease, transform 280ms ease, border-color 280ms ease;
}
