/* ============================================================
   InternIQ — styles.css
   Clean minimal: cream/white bg, deep navy, soft blue accent
   Fonts: Space Grotesk (headings) + Inter (body)
   ============================================================ */

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

/* --- Variables --- */
:root {
  --bg:           #F8F7F4;
  --bg-alt:       #FFFFFF;
  --navy:         #0F1E3C;
  --navy-mid:     #1A3260;
  --accent:       #2F6FED;
  --accent-light: #EBF1FD;
  --cream:        #F8F7F4;
  --cream-dark:   #EEECE7;
  --text:         #0F1E3C;
  --text-mid:     #4A5568;
  --text-muted:   #8896A8;
  --border:       #DDE3EC;
  --border-dark:  #C8D2E0;
  --red:          #D93025;
  --white:        #FFFFFF;

  --font-heading: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   18px;
  --radius-xl:   28px;
  --radius-pill: 999px;

  --shadow-sm:  0 1px 3px rgba(15,30,60,0.06), 0 1px 2px rgba(15,30,60,0.04);
  --shadow-md:  0 4px 16px rgba(15,30,60,0.08), 0 2px 6px rgba(15,30,60,0.05);
  --shadow-lg:  0 12px 40px rgba(15,30,60,0.10), 0 4px 12px rgba(15,30,60,0.06);

  --transition: 0.2s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
input  { font-family: var(--font-body); }

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--navy);
}

.accent { color: var(--accent); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover {
  background: #1a5fd4;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(47,111,237,0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--text-mid);
  border: 1px solid var(--border-dark);
}
.btn-ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-arrow { transition: transform var(--transition); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* --- Section utility --- */
.section-alt { background: var(--bg-alt); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  display: block;
  width: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.section-headline {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 18px;
  max-width: 680px;
  color: var(--navy);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 540px;
  line-height: 1.72;
  margin-bottom: 56px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(248,247,244,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  box-shadow: var(--shadow-sm);
}

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

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 7px;
}
.logo-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.nav-cta { padding: 10px 22px; font-size: 0.85rem; }
.nav-share-hint { font-size: 0.82rem; color: var(--text-muted); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* Subtle grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
  pointer-events: none;
}

/* Radial fade over the grid */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 50%, var(--bg) 30%, transparent 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid rgba(47,111,237,0.2);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  margin-bottom: 32px;
  animation: fadeInDown 0.5s ease both;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 1.0;
  margin-bottom: 24px;
  color: var(--navy);
  animation: fadeInUp 0.6s 0.1s ease both;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-mid);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 44px;
  animation: fadeInUp 0.6s 0.2s ease both;
}

/* --- Form --- */
.hero-form { animation: fadeInUp 0.6s 0.3s ease both; }

.email-form { width: 100%; max-width: 500px; }

.input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-pill);
  padding: 5px 5px 5px 20px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.input-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47,111,237,0.12), var(--shadow-sm);
}

.email-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 0.92rem;
  min-width: 0;
}
.email-input::placeholder { color: var(--text-muted); }

.form-cta {
  flex-shrink: 0;
  padding: 10px 20px;
  font-size: 0.88rem;
}

.form-error {
  font-size: 0.8rem;
  color: var(--red);
  min-height: 20px;
  margin-top: 10px;
  padding-left: 4px;
}

/* Social proof */
.social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.proof-avatars { display: flex; }
.avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  margin-left: -7px;
  font-family: var(--font-heading);
  box-shadow: var(--shadow-sm);
}
.avatar:first-child { margin-left: 0; }
.av1 { background: #4F7BF7; color: white; }
.av2 { background: #7C5CBF; color: white; }
.av3 { background: #E85D75; color: white; }
.av4 { background: #F0883E; color: white; }

.proof-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.proof-text strong { color: var(--text); }
.proof-divider { opacity: 0.35; }
.lock-icon { width: 12px; height: 12px; opacity: 0.5; }

/* Scroll hint */
.hero-scroll-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 72px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: fadeInUp 0.7s 0.5s ease both;
}
.scroll-line {
  width: 40px; height: 1px;
  background: var(--border-dark);
  animation: expandLine 1s 1.2s ease both;
}
@keyframes expandLine { from { width: 0; } to { width: 40px; } }

/* ============================================================
   PROBLEM
   ============================================================ */
.problem {
  padding: 120px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

/* Subtle dot pattern on navy */
.problem::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.problem .section-label { color: rgba(255,255,255,0.5); }
.problem .section-label::before { background: rgba(255,255,255,0.3); }
.problem .section-headline { color: var(--white); }
.problem .section-sub { color: rgba(255,255,255,0.55); }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px 28px 28px;
  position: relative;
  overflow: hidden;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.stat-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-3px);
}

.stat-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
}

.stat-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.04em;
}
.stat-num span { font-size: 0.5em; color: var(--accent); margin-left: 2px; }

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
  margin-bottom: 14px;
}

.stat-source {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.02em;
}

.problem-callout {
  background: rgba(47,111,237,0.12);
  border: 1px solid rgba(47,111,237,0.25);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  max-width: 620px;
}
.problem-callout strong { color: var(--white); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: 120px 0;
  background: var(--bg);
}

.steps-flow {
  display: flex;
  flex-direction: column;
  max-width: 680px;
  margin-bottom: 72px;
}

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0 28px;
  align-items: start;
  position: relative;
}

.step-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-light);
  border: 1.5px solid rgba(47,111,237,0.2);
  border-radius: 50%;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  z-index: 1;
}

/* Vertical connecting line */
.step:not(:last-child) .step-number::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5px;
  height: calc(100% + 48px);
  background: repeating-linear-gradient(
    to bottom,
    var(--border-dark) 0, var(--border-dark) 5px,
    transparent 5px, transparent 12px
  );
  margin-top: 6px;
}

.step-content { padding: 0 0 52px; }

.step-icon {
  width: 32px; height: 32px;
  color: var(--accent);
  margin-bottom: 12px;
}
.step-icon svg { width: 100%; height: 100%; }

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.72;
  max-width: 440px;
}

/* Preview card */
.hiw-preview { max-width: 560px; margin: 0 auto; }

.preview-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--cream-dark);
}
.preview-dots { display: flex; gap: 5px; }
.preview-dots span {
  width: 9px; height: 9px; border-radius: 50%;
}
.preview-dots span:nth-child(1) { background: #ff5f57; }
.preview-dots span:nth-child(2) { background: #ffbd2e; }
.preview-dots span:nth-child(3) { background: #28c840; }
.preview-title-bar { font-size: 0.75rem; color: var(--text-muted); margin-left: 4px; font-family: var(--font-heading); }

.preview-body { padding: 22px; }

.preview-score-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.score-label {
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 5px;
  font-family: var(--font-heading);
}
.score-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 7px;
}
.score-value.accent-val { color: var(--accent); }
.score-value.red-val   { color: var(--red); font-size: 1.15rem; }
.score-value span { font-size: 0.5em; color: var(--text-muted); font-weight: 500; }

.score-bar {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.score-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}
.red-fill { background: var(--red); }

.preview-suggestions { display: flex; flex-direction: column; gap: 8px; }
.preview-suggestion {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-mid);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
}
.sug-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  flex-shrink: 0;
  font-family: var(--font-heading);
}
.preview-suggestion.critical .sug-tag { background: #FEE2E2; color: var(--red); }
.preview-suggestion.warning  .sug-tag { background: #FEF3C7; color: #92400E; }
.preview-suggestion.good     .sug-tag { background: #D1FAE5; color: #065F46; }

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: 120px 0;
  background: var(--cream-dark);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-dark);
}

.feature-icon {
  width: 44px; height: 44px;
  background: var(--accent-light);
  border: 1px solid rgba(47,111,237,0.15);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
  transition: background var(--transition);
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-card:hover .feature-icon { background: rgba(47,111,237,0.12); }

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy);
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.72;
  margin-bottom: 18px;
}

.feature-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
}

/* ============================================================
   WAITLIST CTA
   ============================================================ */
.waitlist-cta {
  padding: 120px 0;
  background: var(--bg-alt);
}

.cta-box {
  background: var(--navy);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}

/* Top accent stripe */
.cta-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #7BA7F7);
}

/* Subtle dot pattern inside CTA */
.cta-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.cta-inner {
  padding: 72px 80px;
  position: relative;
  z-index: 1;
}

.cta-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
  font-family: var(--font-heading);
}

.cta-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  color: var(--white);
  max-width: 540px;
}
.cta-headline .accent { color: #7BA7F7; }

.cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  max-width: 460px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.cta-form { max-width: 460px; margin-bottom: 36px; }

/* CTA form — inverted colours */
.cta-form .input-wrap {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  box-shadow: none;
}
.cta-form .input-wrap:focus-within {
  border-color: rgba(255,255,255,0.4);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.08);
}
.cta-form .email-input { color: var(--white); }
.cta-form .email-input::placeholder { color: rgba(255,255,255,0.35); }
.cta-form .form-error { color: #FCA5A5; }

.cta-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-stat { display: flex; flex-direction: column; gap: 3px; }
.cstat-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--white);
  letter-spacing: -0.03em;
}
.cstat-label { font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.cta-stat-divider { width: 1px; height: 32px; background: rgba(255,255,255,0.1); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.footer-brand { max-width: 300px; }
.footer-logo { margin-bottom: 12px; }
.footer-logo .logo { color: var(--white); }
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.4); line-height: 1.6; }

.footer-links { display: flex; gap: 56px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}
.footer-col a { font-size: 0.85rem; color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { font-size: 0.78rem; color: rgba(255,255,255,0.3); transition: color var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   THANK YOU PAGE
   ============================================================ */
.ty-page { background: var(--bg); }

.ty-hero {
  min-height: 55vh;
  display: flex;
  align-items: center;
  padding: 140px 0 72px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.ty-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.ty-inner { max-width: 680px; position: relative; z-index: 1; }

.ty-confirm-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: #7BC47F;
  background: rgba(123,196,127,0.1);
  border: 1px solid rgba(123,196,127,0.25);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  margin-bottom: 24px;
  animation: fadeInDown 0.5s ease both;
}
.ty-confirm-badge svg { width: 15px; height: 15px; }

.ty-headline {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  margin-bottom: 32px;
  color: var(--white);
  animation: fadeInUp 0.6s 0.1s ease both;
}

.ty-position-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  animation: fadeInUp 0.6s 0.2s ease both;
}
.position-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-heading);
}
.position-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 5rem);
  letter-spacing: -0.05em;
  color: var(--white);
  line-height: 1;
}
.pos-hash { color: var(--accent); margin-right: 2px; }
.position-context { font-size: 0.78rem; color: rgba(255,255,255,0.4); margin-top: 2px; }

/* Referral section */
.ty-referral { padding: 72px 0 100px; background: var(--bg); }

.referral-block { margin-bottom: 52px; }
.ref-headline { font-size: clamp(1.4rem, 2.8vw, 1.9rem); margin-bottom: 8px; color: var(--navy); }
.ref-sub { font-size: 0.9rem; color: var(--text-mid); margin-bottom: 18px; line-height: 1.65; }

.ref-link-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1.5px solid rgba(47,111,237,0.3);
  border-radius: var(--radius-md);
  padding: 13px 14px 13px 18px;
  max-width: 540px;
  box-shadow: var(--shadow-sm);
}
.ref-link-text {
  flex: 1;
  font-family: 'Courier New', monospace;
  font-size: 0.84rem;
  color: var(--accent);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.ref-copy-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-heading);
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}
.ref-copy-btn:hover { background: var(--navy-mid); transform: translateY(-1px); }
.ref-copy-btn svg { width: 14px; height: 14px; }

/* Share text */
.share-text-block { margin-bottom: 44px; }
.share-text-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-family: var(--font-heading);
}
.share-text-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  max-width: 540px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.share-text-box p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.65; }
.copy-caption-btn { font-size: 0.8rem; padding: 8px 16px; gap: 6px; }

/* Share buttons */
.share-buttons { margin-bottom: 64px; }
.share-btn-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-family: var(--font-heading);
}
.share-btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  border: 1.5px solid var(--border-dark);
  color: var(--text);
  background: var(--white);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.share-btn svg { width: 15px; height: 15px; }
.share-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.share-whatsapp:hover { background: #25D366; border-color: #25D366; color: white; }
.share-twitter:hover  { background: #000; border-color: #000; color: white; }
.share-linkedin:hover { background: #0A66C2; border-color: #0A66C2; color: white; }
.share-tiktok:hover   { background: #ff0050; border-color: #ff0050; color: white; }

/* Reward ladder */
.reward-ladder {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px 48px 36px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
}
.ladder-headline { font-size: clamp(1.3rem, 2.5vw, 1.7rem); margin-bottom: 6px; color: var(--navy); }
.ladder-sub { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 32px; }

.ladder-steps { display: flex; flex-direction: column; }
.ladder-step {
  display: grid;
  grid-template-columns: 72px 24px 1fr auto;
  gap: 0 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
  border-radius: var(--radius-md);
}
.ladder-step:last-child { border-bottom: none; }
.ladder-step.unlocked { background: var(--accent-light); padding-left: 12px; padding-right: 12px; border-color: transparent; }

.ladder-step-left { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.ladder-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.04em;
}
.ladder-num-label { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); font-family: var(--font-heading); }

.ladder-arrow { font-size: 1rem; color: var(--text-muted); text-align: center; }

.ladder-reward-title { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.ladder-reward-desc  { font-size: 0.8rem; color: var(--text-muted); }

.ladder-status {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: right;
  min-width: 64px;
  font-family: var(--font-heading);
}
.ladder-status.done { color: #059669; }
.ladder-status.next { color: #D97706; }

.referral-count-box {
  background: var(--accent-light);
  border: 1.5px solid rgba(47,111,237,0.2);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.ref-count-label { font-size: 0.82rem; color: var(--text-mid); flex: 1; min-width: 100px; }
.ref-count-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--accent);
  letter-spacing: -0.05em;
  line-height: 1;
}
.ref-count-next { font-size: 0.82rem; color: var(--text-mid); flex: 2; min-width: 140px; }

/* Live counter */
.live-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 0.82rem;
  color: var(--text-mid);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  max-width: fit-content;
  box-shadow: var(--shadow-sm);
}
.live-dot {
  width: 7px; height: 7px;
  background: #22C55E;
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: none; }

.stat-grid .stat-card:nth-child(1) { transition-delay: 0s; }
.stat-grid .stat-card:nth-child(2) { transition-delay: 0.08s; }
.stat-grid .stat-card:nth-child(3) { transition-delay: 0.16s; }

.features-grid .feature-card:nth-child(1) { transition-delay: 0s; }
.features-grid .feature-card:nth-child(2) { transition-delay: 0.08s; }
.features-grid .feature-card:nth-child(3) { transition-delay: 0.14s; }
.features-grid .feature-card:nth-child(4) { transition-delay: 0.2s; }

.steps-flow .step:nth-child(1) { transition-delay: 0s; }
.steps-flow .step:nth-child(2) { transition-delay: 0.1s; }
.steps-flow .step:nth-child(3) { transition-delay: 0.2s; }

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding: 0 36px; }
  .cta-inner { padding: 56px 48px; }
}

@media (max-width: 860px) {
  .stat-grid      { grid-template-columns: 1fr; gap: 12px; }
  .features-grid  { grid-template-columns: 1fr; }
  .footer-links   { gap: 32px; }
  .cta-inner      { padding: 48px 36px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }

  .hero        { padding: 110px 0 72px; }
  .problem     { padding: 80px 0; }
  .how-it-works{ padding: 80px 0; }
  .features    { padding: 80px 0; }
  .waitlist-cta{ padding: 80px 0; }

  .hero-headline { font-size: 2.6rem; }

  .input-wrap {
    flex-direction: column;
    padding: 14px 16px;
    border-radius: var(--radius-lg);
    gap: 10px;
  }
  .email-input { width: 100%; }
  .form-cta    { width: 100%; justify-content: center; }

  .step { grid-template-columns: 48px 1fr; gap: 0 16px; }
  .step:not(:last-child) .step-number::after { display: none; }

  .cta-inner  { padding: 36px 22px; }
  .cta-stats  { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cta-stat-divider { display: none; }

  .footer-top   { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 24px; }

  /* TY page */
  .ty-hero    { padding: 110px 0 56px; }
  .ty-headline{ font-size: 2.2rem; }

  .ladder-step   { grid-template-columns: 52px 18px 1fr; gap: 0 10px; }
  .ladder-status { display: none; }
  .reward-ladder { padding: 28px 20px 22px; }

  .share-btn-row { flex-direction: column; }
  .share-btn     { justify-content: center; }

  .ref-link-box { flex-direction: column; align-items: stretch; }
  .ref-copy-btn { justify-content: center; }
}