/* ── PAGE TRANSITION OVERLAY ── */
#page-overlay {
  position: fixed;
  inset: 0;
  background: #131111;
  z-index: 9999;
  opacity: 1;
  pointer-events: none;
  transition: opacity .42s cubic-bezier(0.22,1,0.36,1);
}

#page-overlay.fade-out {
  opacity: 0;
}

#page-overlay.fade-in {
  opacity: 1;
  pointer-events: all;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── VARIABLES ── */
:root {
  --black:  #131111;
  --white:  #ffffff;
  --green:  #87eb8a;
  --g1: rgba(255,255,255,0.82);
  --g2: rgba(255,255,255,0.55);
  --g3: rgba(255,255,255,0.35);
  --g4: rgba(255,255,255,0.15);
  --g5: rgba(255,255,255,0.08);
  --font-body: 'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
}

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

.fade-up { opacity: 0; animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.38s; }
.delay-4 { animation-delay: 0.54s; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1),
              transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  border-bottom: 0.5px solid var(--g5);
}

.nav--simple {
  justify-content: flex-start;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo__mark svg { display: block; width: 20px; height: 20px; }

.logo__wordmark {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.nav__cta {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  background: transparent;
  border: 0.5px solid rgba(255,255,255,0.45);
  border-radius: 999px;
  padding: 9px 20px;
  cursor: pointer;
  transition: background 0.22s,
              border-color 0.22s,
              transform 0.22s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.22s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}

.nav__cta:hover {
  background: rgb(255, 255, 255);
  border-color: rgb(255, 255, 255);
  transform: translateY(-2px) scale(1.09);
  box-shadow: 0 6px 20px rgba(244, 202, 202, 0.42);
  color: var(--black);
}

/* ── BUTTONS ── */
.btn-solid {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  background: var(--white);
  border: none;
  border-radius: 24px;
  padding: 16px 32px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.22s cubic-bezier(0.22,1,0.36,1),
              opacity 0.18s;
}

/* shimmer sweep */
.btn-solid::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255,255,255,0.55) 50%,
    transparent 80%
  );
  transform: skewX(-15deg);
  transition: left 0s;
}

.btn-solid:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 32px rgba(109, 222, 60, 0.97);
  opacity: 1;
  background: var(--green);

}

.btn-solid:hover::after {
  left: 160%;
  transition: left 0.52s cubic-bezier(0.22,1,0.36,1);
}

.btn-solid:active {
  transform: translateY(-1px) scale(1.01);
}

/* ── META ROW ── */
.meta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.meta-row span {
  font-size: 13px;
  font-weight: 500;
  color: var(--g3);
}

.meta-dot {
  width: 3px;
  height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── SECTION EYEBROW ── */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 20px;
}

/* ── FOOTER ── */
.footer {
  border-top: 0.5px solid var(--g5);
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 960px;
  margin: 0 auto;
}

.footer__email {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  transition: color 0.18s;
}

.footer__email:hover { color: rgba(255,255,255,0.6); }

.footer__copy {
  font-size: 12px;
  color: rgba(255,255,255,0.18);
}

/* ════════════════════════════════
   LANDING PAGE
════════════════════════════════ */

/* Hero */
.hero {
  padding: 70px 24px 104px;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

.hero__h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 55px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.hero__sub {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  color: var(--g2);
  line-height: 1.65;
  max-width: 580px;
  margin: 0 auto 44px;
}

/* Stats */
.stats {
  border-top: 0.5px solid var(--g5);
  border-bottom: 0.5px solid var(--g5);
  padding: 48px 40px;
  max-width: 960px;
  margin: 0 auto;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 0 32px;
  border-right: 0.5px solid var(--g4);
}

.stat:first-child { padding-left: 0; }
.stat:last-child  { border-right: none; }

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.stat__label {
  font-size: 13px;
  color: var(--g3);
  line-height: 1.55;
}

/* Value Prop */
.value-prop {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 40px;
}

.vp__item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-top: 0.5px solid var(--g5);
}

.vp__item:last-child { border-bottom: 0.5px solid var(--g5); }

.vp__num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: rgba(255,255,255,0.18);
  letter-spacing: -0.03em;
  line-height: 1;
  padding-top: 2px;
}

.vp__title {
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}

.vp__desc {
  font-size: 14px;
  color: var(--g3);
  line-height: 1.7;
}

/* Credibility */
.credibility {
  border-top: 0.5px solid var(--g5);
  padding: 80px 40px;
  max-width: 960px;
  margin: 0 auto;
}

.cred__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.cred__h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cred__body {
  font-size: 14px;
  color: var(--g3);
  line-height: 1.8;
}

.cred__right {
  border-left: 0.5px solid var(--g4);
  padding-left: 48px;
}

.cred__quote {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 700;
  color: var(--g1);
  line-height: 1.55;
  margin-bottom: 20px;
}

.cred__attr {
  font-size: 12px;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.04em;
}

/* Final CTA */
.final-cta {
  border-top: 0.5px solid var(--g5);
  padding: 96px 24px;
  text-align: center;
  max-width: 730px;
  margin: 0 auto;
}

.final-cta__h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.final-cta__sub {
  font-size: 15px;
  color: var(--g3);
  line-height: 1.7;
  max-width: 400px;
  margin: 0 auto 40px;
}

/* ════════════════════════════════
   QUIZ PAGE
════════════════════════════════ */

.quiz-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Progress */
.progress-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom: 40px;
}

.prog-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
  transition: background 0.3s;
}

.prog-dot.done   { background: var(--white); }
.prog-dot.active { background: rgba(255,255,255,0.5); }

.prog-label {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  margin-left: 10px;
  white-space: nowrap;
}

/* Quiz area */
.quiz-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7px 2px 64px;
}

/* Steps */
.step {
  display: none;
  width: 100%;
  max-width: 520px;
  animation: stepIn 0.35s cubic-bezier(0.22,1,0.36,1) forwards;
}

.step.active { display: block; }

@keyframes stepIn {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes stepOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-32px); }
}

.step.leaving {
  display: block;
  animation: stepOut 0.25s cubic-bezier(0.22,1,0.36,1) forwards;
}

/* Question */
.question {
  font-family: var(--font-display);
  font-size: clamp(19px, 3vw, 22px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  text-align: center;
}

/* Yes/No */
.yn-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}

.yn-item {
  border: 0.5px solid var(--g4);
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, transform 0.15s;
  user-select: none;
}

.yn-item:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-1px);
}

.yn-item.selected {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.07);
}

.yn__text { font-size: 15px; font-weight: 600; color: var(--white); }
.yn__hint { font-size: 12px; color: var(--g3); text-align: right; max-width: 200px; }

/* Multiple choice */
.mc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}

.mc-item {
  border: 0.5px solid var(--g4);
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, transform 0.15s;
  user-select: none;
}

.mc-item:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-1px);
}

.mc-item.selected {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.07);
}

.mc-badge {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 0.5px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  transition: border-color 0.18s, color 0.18s;
}

.mc-item.selected .mc-badge {
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}

.mc__text { font-size: 15px; font-weight: 500; color: var(--white); line-height: 1.4; }

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.field label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field .optional {
  font-size: 10px;
  color: rgba(255,255,255,0.2);
  margin-left: 6px;
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
}

.field input,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 0.5px solid rgba(255,255,255,0.2);
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--white);
  outline: none;
  width: 100%;
  transition: border-color 0.18s;
}

.field input:focus,
.field textarea:focus { border-bottom-color: rgba(255,255,255,0.6); }

.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,0.18); }

.field textarea { resize: none; min-height: 90px; line-height: 1.6; }

/* Nav buttons */
.nav-btns {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-back {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  transition: color 0.18s;
}

.btn-back:hover { color: rgba(255,255,255,0.7); }
.btn-back:disabled { opacity: 0; pointer-events: none; }

.btn-next {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  background: var(--white);
  border: none;
  border-radius: 8px;
  padding: 13px 28px;
  cursor: pointer;
  transition: opacity 0.18s, transform 0.18s;
}

.btn-next:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-next:disabled { opacity: 0.3; cursor: not-allowed; transform: none; }

/* ════════════════════════════════
   RESULTS PAGE
════════════════════════════════ */

/* Loading */
#loading-screen {
  position: fixed;
  inset: 0;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loading-screen.hidden { opacity: 0; visibility: hidden; }

.loading-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 44px;
}

.loading-wordmark {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.loading-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
}

.loading-dots { display: flex; align-items: center; gap: 9px; }

.loading-dot {
  width: 9px;
  height: 9px;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
  animation: dotPulse 1.2s ease-in-out infinite;
}

.loading-dot:nth-child(2) { animation-delay: 0.2s; }
.loading-dot:nth-child(3) { animation-delay: 0.4s; }

/* Results content */
#results-page {
  opacity: 0;
  transition: opacity 0.7s ease;
  max-width: 640px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

#results-page.visible { opacity: 1; }

.human-line {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.75;
  margin-bottom: 52px;
  padding-bottom: 32px;
  border-bottom: 0.5px solid var(--g5);
}

.human-line strong {
  color: rgba(255,255,255,0.75);
  font-weight: 600;
}

/* Score ring */
.score-section { text-align: center; margin-bottom: 52px; }

.ring-wrap {
  position: relative;
  width: 148px;
  height: 148px;
  margin: 0 auto 24px;
}

.ring-wrap svg { transform: rotate(-90deg); }

.ring-bg { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 6; }

.ring-fill {
  fill: none;
  stroke: var(--white);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 339.3;
  stroke-dashoffset: 339.3;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.22,1,0.36,1), stroke 0.3s ease;
}

.ring-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ring-number {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}

.ring-denom { font-size: 12px; color: var(--g3); margin-top: 3px; }

.score-tag {
  display: inline-block;
  border: 0.5px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 11px;
  font-weight: 600;
  color: var(--g2);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.score-headline {
  font-family: var(--font-display);
  font-size: clamp(19px, 3vw, 23px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.3;
  max-width: 480px;
  margin: 0 auto;
}

/* Insights */
.insights-section { margin-bottom: 56px; }

.insights-eyebrow {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 4px;
  text-align: center;
}

.insight-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px 0;
  border-top: 0.5px solid var(--g5);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.insight-item:last-child { border-bottom: 0.5px solid var(--g5); }
.insight-item.visible { opacity: 1; transform: translateY(0); }

.insight-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.2);
  padding-top: 2px;
}

.insight-text { font-size: 15px; color: var(--g2); line-height: 1.75; }
.insight-text strong { color: var(--white); font-weight: 600; }

/* CTA block */
.cta-block { text-align: center; padding-top: 8px; }

.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 12px;
}

.cta-sub {
  font-size: 14px;
  color: var(--g3);
  line-height: 1.7;
  max-width: 400px;
  margin: 0 auto 32px;
}

.video-wrap {
  margin-top: 32px;
  border-radius: 12px;
  overflow: hidden;
  border: 0.5px solid var(--g4);
  background: rgba(255,255,255,0.03);
  aspect-ratio: 16/9;
  width: 100%;
}

.video-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

.confirm-msg {
  display: none;
  margin-top: 20px;
  padding: 16px 20px;
  border: 0.5px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  font-size: 14px;
  color: var(--g2);
  line-height: 1.65;
  text-align: center;
}

.confirm-msg.visible { display: block; }

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 768px) {
  .nav { padding: 16px 20px; }
  .nav__cta { font-size: 12px; padding: 8px 14px; }

  .hero { padding: 72px 20px 80px; }
  .hero__h1 { font-size: 28px; }
  .hero__sub { font-size: 16px; }

  .stats { padding: 40px 20px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 20px 16px; border-right: none; border-bottom: 0.5px solid var(--g4); }
  .stat:nth-child(odd)  { border-right: 0.5px solid var(--g4); }
  .stat:nth-child(3),
  .stat:nth-child(4)    { border-bottom: none; }

  .value-prop { padding: 56px 20px; }

  .credibility { padding: 56px 20px; }
  .cred__grid { grid-template-columns: 1fr; gap: 40px; }
  .cred__right { border-left: none; padding-left: 0; border-top: 0.5px solid var(--g4); padding-top: 36px; }

  .final-cta { padding: 72px 20px; }

  .footer { flex-direction: column; gap: 12px; text-align: center; padding: 24px 20px; }

  .quiz-area { padding: 36px 20px 52px; }

  .ring-wrap { width: 130px; height: 130px; }
  .ring-number { font-size: 38px; }

  #results-page { padding: 48px 20px 80px; }
}

@media (max-width: 480px) {
  .hero__h1 { font-size: 26px; }
  .btn-solid { font-size: 14px; padding: 14px 24px; width: 100%; max-width: 320px; display: block; margin: 0 auto; }
  .stat__num { font-size: 28px; }
}
