:root {
  --bg: #061014;
  --bg-soft: #0b1c22;
  --panel: rgba(11, 27, 34, 0.78);
  --panel-strong: rgba(13, 35, 43, 0.94);
  --line: rgba(156, 248, 225, 0.16);
  --line-strong: rgba(98, 233, 198, 0.34);
  --text: #effffb;
  --muted: #9db6b9;
  --faint: #6d898e;
  --green: #42f2ad;
  --blue: #31c6ff;
  --yellow: #ffd166;
  --danger: #ff667d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --radius-sm: 8px;
  --container: 960px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(49, 198, 255, 0.16), transparent 30%),
    radial-gradient(circle at 80% 8%, rgba(66, 242, 173, 0.13), transparent 26%),
    linear-gradient(145deg, #061014 0%, #07161c 44%, #0a141a 100%);
}

button,
input {
  font: inherit;
}

button {
  border: 0;
}

a {
  color: inherit;
}

.app-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 18px 16px 28px;
}

.ambient {
  position: fixed;
  pointer-events: none;
  filter: blur(2px);
  opacity: 0.8;
}

.ambient-one {
  inset: auto -120px 12% auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(49, 198, 255, 0.16), transparent 68%);
}

.ambient-two {
  inset: 16% auto auto -120px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(66, 242, 173, 0.14), transparent 68%);
}

.quiz-header {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: grid;
  gap: 14px;
  max-width: var(--container);
  margin: 0 auto 22px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 19, 24, 0.82);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.brand,
.ghost-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  color: #04110f;
  background: linear-gradient(135deg, var(--green), var(--blue));
}

.progress-wrap {
  display: grid;
  gap: 7px;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.progress-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.progress-bar {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--blue));
  box-shadow: 0 0 22px rgba(66, 242, 173, 0.42);
  transition: width 420ms ease;
}

.quiz-root {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: var(--container);
  min-height: calc(100vh - 140px);
  margin: 0 auto;
}

.screen {
  display: grid;
  align-content: center;
  gap: 22px;
  width: 100%;
  animation: screenIn 360ms ease both;
}

.hero-card,
.question-card,
.diagnosis-card,
.offer-card,
.bridge-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(14, 36, 45, 0.92), rgba(7, 20, 26, 0.88));
  box-shadow: var(--shadow);
}

.hero-card {
  display: grid;
  gap: 24px;
  padding: clamp(24px, 6vw, 56px);
}

.screen-kicker,
.eyebrow {
  margin: 0;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
.headline {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 8vw, 4.9rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-card .headline {
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.08;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.65rem, 6vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.subheadline,
.lead-copy {
  max-width: 760px;
  margin-bottom: 0;
  color: #cae1df;
  font-size: clamp(1rem, 3.8vw, 1.28rem);
  line-height: 1.55;
}

.quiz-image {
  width: 100%;
  border-radius: 12px;
  margin: 20px 0;
  display: block;
}

.checklist,
.includes-list,
.bonus-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.checklist li,
.includes-list li,
.bonus-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  color: #ddf4ef;
  line-height: 1.45;
}

.check-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #04110f;
  background: var(--green);
  font-size: 0.9rem;
  font-weight: 900;
}

.primary-button,
.answer-button {
  width: 100%;
  min-height: 58px;
  cursor: pointer;
  border-radius: 12px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 22px;
  color: #03110e;
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 16px 36px rgba(49, 198, 255, 0.22);
  font-weight: 900;
  text-transform: uppercase;
}

.primary-button:hover,
.answer-button:hover {
  transform: translateY(-2px);
}

.primary-button:disabled,
.answer-button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.microcopy,
.muted {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.hero-card .microcopy {
  margin-top: 16px;
}

.question-card,
.diagnosis-card,
.bridge-card,
.offer-card {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 5vw, 42px);
}

.question-count {
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.answers-grid {
  display: grid;
  gap: 12px;
}

.answer-button {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  text-align: left;
  font-weight: 700;
}

.answer-button::after {
  content: "→";
  color: var(--green);
  font-weight: 900;
}

.answer-button.selected {
  border-color: var(--green);
  background: rgba(66, 242, 173, 0.12);
  box-shadow: 0 0 0 4px rgba(66, 242, 173, 0.08);
}

.loading-card {
  display: grid;
  place-items: center;
  gap: 20px;
  min-height: 420px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  text-align: center;
}

.loader-ring {
  width: 78px;
  height: 78px;
  border: 4px solid rgba(255, 255, 255, 0.09);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-text {
  min-height: 32px;
  margin: 0;
  color: #dff9f1;
  font-size: 1.1rem;
  font-weight: 800;
}

.offer-loading-copy {
  margin: 8px 0 0;
  color: var(--green);
  font-size: clamp(1rem, 4vw, 1.4rem);
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.funnel-visual {
  display: grid;
  gap: 10px;
  margin: 4px 0;
}

.funnel-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  overflow: hidden;
}

.funnel-step::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: linear-gradient(90deg, rgba(66, 242, 173, 0.2), rgba(49, 198, 255, 0.08));
}

.funnel-step span {
  position: relative;
  z-index: 1;
  font-weight: 800;
}

.funnel-step.drop {
  border-color: rgba(255, 102, 125, 0.46);
}

.funnel-step.drop::before {
  background: linear-gradient(90deg, rgba(255, 102, 125, 0.24), rgba(255, 209, 102, 0.08));
}

.diagnosis-impact {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text);
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-weight: 900;
  line-height: 1.18;
  text-align: center;
}

.diagnosis-consequences {
  display: grid;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.solution-callout {
  margin: -6px 0 0;
  color: var(--green);
  font-size: clamp(1.2rem, 4vw, 2rem);
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

.testimonials {
  display: grid;
  gap: 14px;
}

.testimonial-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  padding: 18px;
}

.testimonial-card p {
  margin-bottom: 14px;
  color: #d5ece8;
  line-height: 1.55;
}

.testimonial-card strong {
  display: block;
  margin-bottom: 3px;
}

.bridge-headline {
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.08;
}

.bridge-benefits {
  display: grid;
  gap: 14px;
}

.bridge-checklist {
  gap: 10px;
}

.bridge-checklist li {
  font-size: 1.05rem;
}

.social-proof-section {
  display: grid;
  gap: 12px;
}

.social-proof-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 24px 0;
}

.social-proof-item img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 8px;
}

.social-proof-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  opacity: 0.9;
}

.bridge-value-section {
  display: grid;
  gap: 24px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.belief-break {
  margin: 0;
  color: #ff9aaa;
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 700;
}

.mechanism-box {
  display: grid;
  gap: 16px;
}

.mechanism-name {
  margin: 0;
  color: var(--green);
  font-size: clamp(1.35rem, 5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.06;
  text-transform: uppercase;
}

.offer-grid {
  display: grid;
  gap: 16px;
}

.offer-hero,
.offer-section,
.offer-social-proof,
.translation-box,
.offer-price-card {
  display: grid;
  gap: 16px;
}

.offer-hero {
  justify-items: center;
  text-align: center;
}

.offer-preheadline {
  margin: 0;
  color: var(--green);
  font-size: clamp(0.95rem, 3vw, 1.2rem);
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.offer-highlight {
  max-width: 760px;
  margin: 0 auto;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(66, 242, 173, 0.08);
  color: #dff9f1;
  font-size: clamp(1rem, 3.4vw, 1.2rem);
  line-height: 1.5;
}

.offer-image,
.offer-social-image,
.offer-price-image {
  width: 100%;
  max-width: 420px;
  margin: 24px auto;
  display: block;
  border-radius: 12px;
}

.offer-price-image {
  max-width: 360px;
}

.offer-social-image {
  max-width: 380px;
}

.offer-social-proof {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.star-testimonial {
  margin: 0;
  color: var(--yellow);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
}

.price-box {
  padding: 18px 0 4px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: linear-gradient(135deg, rgba(66, 242, 173, 0.11), rgba(49, 198, 255, 0.07));
}

.offer-price-card {
  justify-items: center;
  padding: 24px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  text-align: center;
}

.price {
  margin: 5px 0 0;
  font-size: clamp(1.9rem, 8vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
}

.price small {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: line-through;
}

.translation-box {
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  text-align: center;
}

.translation-box p,
.translation-box strong {
  margin: 0;
  font-size: clamp(1.15rem, 4vw, 1.8rem);
  line-height: 1.2;
}

.translation-box strong {
  color: var(--green);
}

.offer-media-placeholder {
  display: grid;
  place-items: center;
  min-height: 120px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(66, 242, 173, 0.12), rgba(49, 198, 255, 0.07));
  color: var(--green);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.guarantee-copy {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  color: #dff9f1;
  line-height: 1.6;
  text-align: center;
}

.guarantee-copy p {
  margin: 0;
}

.guarantee-highlight {
  color: var(--green);
  font-weight: 900;
}

.bonus-box,
.guarantee-box {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.dashboard-body {
  background:
    radial-gradient(circle at 20% 0%, rgba(66, 242, 173, 0.12), transparent 32%),
    linear-gradient(145deg, #061014, #091920 62%, #061014);
}

.dashboard-shell {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0 42px;
}

.dashboard-topbar,
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.dashboard-topbar h1,
.panel-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1;
}

.ghost-link {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.92rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.metric-card,
.dashboard-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.2);
}

.metric-card {
  display: grid;
  gap: 8px;
  min-height: 122px;
  padding: 16px;
}

.metric-label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-value {
  font-size: clamp(1.8rem, 8vw, 2.7rem);
  font-weight: 900;
}

.metric-note {
  color: var(--faint);
  font-size: 0.84rem;
}

.dashboard-panel {
  padding: clamp(16px, 4vw, 24px);
  margin-top: 16px;
}

.funnel-grid,
.dropoff-list,
.event-summary {
  display: grid;
  gap: 10px;
}

.funnel-row {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.funnel-row-main,
.funnel-row-meta,
.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.funnel-row-main strong {
  font-size: 0.98rem;
}

.funnel-count {
  color: var(--green);
  font-size: 1.25rem;
  font-weight: 900;
}

.mini-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.mini-bar span {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.dropoff-item,
.summary-row,
.status-banner {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.dropoff-item strong,
.summary-row strong {
  color: var(--text);
}

.split-panel {
  display: grid;
  gap: 22px;
}

.status-banner {
  margin-bottom: 16px;
  color: #dff9f1;
}

.hidden {
  display: none;
}

@keyframes screenIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 720px) {
  .app-shell {
    padding: 24px;
  }

  .quiz-header {
    grid-template-columns: auto 1fr;
    align-items: center;
    padding: 14px 16px;
  }

  .primary-button {
    width: fit-content;
    min-width: 340px;
  }

  .quiz-image {
    max-width: 420px;
    margin: 24px auto;
  }

  .answers-grid,
  .testimonials,
  .offer-grid,
  .split-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-proof-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .metrics-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .quiz-image {
    max-width: 380px;
  }
}

@media (max-width: 768px) {
  .offer-image,
  .offer-social-image,
  .offer-price-image {
    max-width: 100%;
  }

  .social-proof-gallery {
    display: flex;
    overflow: hidden;
    position: relative;
  }

  .social-proof-item {
    min-width: 100%;
    transition: transform 0.5s ease;
  }
}

@media (max-width: 420px) {
  .brand {
    font-size: 0.9rem;
  }

  .dashboard-topbar {
    align-items: flex-start;
    flex-direction: column;
  }
}
