:root {
  --bg: #0d0b1a;
  --card-bg: #1c1830;
  --card-bg-alt: #171426;
  --text: #ede9fe;
  --text-muted: #a5a0c0;
  --accent: #8b7cf6;
  --accent-warn: #fb923c;
  --danger: #fb7185;
  --success: #4ade80;
  --border: #35304f;
  --container: 1080px;
  --cut: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3 {
  letter-spacing: -0.015em;
}

h2 {
  font-size: 1.6rem;
}

/* Navigation */
.topnav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.topnav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topnav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topnav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.topnav-links a:hover {
  color: var(--text);
}

.btn-nav-cta {
  background: var(--accent);
  color: #0d0b1a !important;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 700 !important;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 1.25rem;
  background:
    radial-gradient(ellipse 700px 420px at 12% -5%, rgba(251, 146, 60, 0.16), transparent),
    radial-gradient(ellipse 900px 550px at 88% 5%, rgba(139, 124, 246, 0.28), transparent),
    var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 20px 30px, rgba(226, 232, 240, 0.35), transparent),
    radial-gradient(1.5px 1.5px at 140px 90px, rgba(226, 232, 240, 0.25), transparent),
    radial-gradient(1px 1px at 90px 160px, rgba(226, 232, 240, 0.3), transparent),
    radial-gradient(1.5px 1.5px at 220px 40px, rgba(226, 232, 240, 0.2), transparent),
    radial-gradient(1px 1px at 260px 180px, rgba(226, 232, 240, 0.3), transparent),
    radial-gradient(1.5px 1.5px at 320px 110px, rgba(226, 232, 240, 0.25), transparent);
  background-repeat: repeat;
  background-size: 340px 220px;
  opacity: 0.6;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    max-width: 420px;
    margin: 0 auto;
  }
}

.hero-visual .teaser-card {
  margin-bottom: 0;
  transform: rotate(1.5deg);
}

.hero-visual {
  position: relative;
}

.hero-watermark {
  position: absolute;
  top: -40px;
  right: -60px;
  width: 460px;
  height: 460px;
  color: var(--accent);
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 900px) {
  .hero-watermark {
    width: 300px;
    height: 300px;
    top: -20px;
    right: -40px;
  }
}

.brand-badge {
  position: absolute;
  top: -22px;
  right: -22px;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), #6d5cf0);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px -6px rgba(139, 124, 246, 0.65);
  z-index: 2;
  transform: rotate(-6deg);
}

.brand-badge img {
  filter: brightness(0) invert(1);
  width: 34px;
  height: 34px;
}

.footer-logo {
  opacity: 0.85;
  margin-bottom: 0.75rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 1rem;
}

.eyebrow-light {
  text-align: left;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.hero .subtitle {
  font-size: 1.15rem;
  max-width: 480px;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .hero .subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .benefit-row {
    justify-content: center;
  }
}

.benefit-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.5rem 1.25rem;
  margin: 2rem 0 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.benefit-row li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.benefit-icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.brand-icon {
  border-radius: 8px;
}

.brand-name {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin: 0;
}

.subtitle {
  color: var(--text-muted);
}

main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 3rem 1.25rem 2rem;
}

main > .card,
main > section {
  margin-bottom: 2.5rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  clip-path: polygon(
    0 0,
    calc(100% - var(--cut)) 0,
    100% var(--cut),
    100% 100%,
    var(--cut) 100%,
    0 calc(100% - var(--cut))
  );
  position: relative;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: var(--cut);
  height: var(--cut);
  background: linear-gradient(135deg, transparent 50%, var(--accent-warn) 50.5%);
  opacity: 0.55;
  pointer-events: none;
}

.teaser-card {
  border-color: rgba(139, 124, 246, 0.4);
  box-shadow: 0 0 0 1px rgba(139, 124, 246, 0.15), 0 12px 32px -14px rgba(139, 124, 246, 0.35);
}

.teaser-label {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.teaser-hook {
  font-weight: 600;
  color: var(--accent);
}

.why-section {
  background: var(--card-bg-alt);
  border: 1px solid var(--border);
  padding: 2.5rem;
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 32px 100%, 0 calc(100% - 32px));
}

.why-section h2 {
  margin-top: 0;
  margin-bottom: 1.75rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 1.5rem;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(139, 124, 246, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-icon {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

.stats-intro {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: -0.25rem;
}

.stats-section {
  padding: 2.5rem;
}

.stats-hero-grid {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 2rem;
  margin-top: 2rem;
  align-items: stretch;
}

@media (max-width: 700px) {
  .stats-hero-grid {
    grid-template-columns: 1fr;
  }
}

.radial-stat-panel,
.bar-stat-panel {
  background: #100c22;
  border: 1px solid var(--border);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

.bar-stat-panel {
  align-items: stretch;
  text-align: left;
  justify-content: center;
}

.radial-svg {
  width: 180px;
  height: 180px;
  position: relative;
}

.radial-track {
  fill: none;
  stroke: var(--border);
  stroke-width: 14;
}

.radial-fill {
  fill: none;
  stroke: var(--accent);
  stroke-width: 14;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(139, 124, 246, 0.6));
}

.radial-stat-panel {
  position: relative;
}

.radial-center {
  position: absolute;
  top: 1.75rem;
  left: 0;
  right: 0;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radial-number {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text);
}

.radial-caption {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0.5rem 0 0;
}

.bar-panel-label {
  font-weight: 700;
  margin: 0 0 1.25rem;
}

.bar-chart-row {
  display: grid;
  grid-template-columns: 3.5rem 1fr 5.5rem;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.bar-chart-year {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.bar-chart-track {
  height: 20px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
}

.bar-fill-before {
  background: var(--accent);
  opacity: 0.4;
}

.bar-fill-after {
  background: var(--accent);
  box-shadow: 0 0 10px rgba(139, 124, 246, 0.6);
}

.bar-chart-value {
  font-weight: 700;
  font-size: 0.9rem;
  text-align: right;
}

.bar-panel-footnote {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 0.5rem 0 1rem;
}

.stat-source {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-decoration: underline;
}

.slides-label {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  margin: 2.5rem 0 0.75rem;
}

.stat-slides {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.stat-slides::-webkit-scrollbar {
  display: none;
}

.stat-slide {
  flex: 0 0 min(240px, 80vw);
  scroll-snap-align: start;
  background: #100c22;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  margin: 0;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text);
  margin: 0;
  flex-grow: 1;
}

.slides-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
}

.slide-dot.active {
  background: var(--accent);
  box-shadow: 0 0 6px rgba(139, 124, 246, 0.7);
}

.stats-caveat {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.checklist {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checklist li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--text);
}

.checklist-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.checklist-icon.warn {
  color: var(--danger);
}

.checklist-icon.good {
  color: var(--success);
}

.checklist-subheading {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.redflags-section {
  padding: 1rem 0;
}

.redflags-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  margin-top: 1.75rem;
  align-items: start;
}

.redflags-good {
  border-left: 1px solid var(--border);
  padding-left: 3rem;
}

@media (max-width: 800px) {
  .redflags-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .redflags-good {
    border-left: none;
    border-top: 1px solid var(--border);
    padding-left: 0;
    padding-top: 2rem;
  }
}

#share-btn {
  margin: 0.75rem 0 0;
}

/* Scroll-Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hidden {
  display: none !important;
}

.btn-primary {
  background: var(--accent);
  color: #0d0b1a;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px -4px rgba(139, 124, 246, 0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn-primary:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px -4px rgba(139, 124, 246, 0.6);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.intro-card {
  text-align: center;
  padding: 2.5rem;
}

.intro-card h2 {
  margin-top: 0;
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
}

.progress-bar {
  height: 6px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

#progress-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.3s ease;
}

#progress-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0;
}

.message-box {
  margin: 1rem 0;
}

.notif {
  background: linear-gradient(180deg, rgba(28, 24, 48, 0.97), rgba(20, 17, 36, 0.97));
  border: 1px solid rgba(237, 233, 254, 0.1);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 12px 28px -10px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
}

.notif-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.notif-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #6d5cf0);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notif-icon svg {
  width: 15px;
  height: 15px;
  color: white;
}

.notif-app {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}

.notif-time {
  margin-left: auto;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.message-sender {
  font-weight: 700;
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
}

.message-subject {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
  opacity: 0.92;
}

.message-body {
  color: var(--text-muted);
  white-space: pre-line;
  font-size: 0.92rem;
}

.answer-buttons {
  display: flex;
  gap: 1rem;
}

.btn-answer {
  flex: 1;
  padding: 0.9rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text);
  cursor: pointer;
}

.btn-answer:hover:not(:disabled) {
  border-color: var(--accent);
}

.btn-answer:disabled {
  opacity: 0.6;
  cursor: default;
}

.feedback {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.feedback-correct {
  border-color: var(--success);
  background: rgba(74, 222, 128, 0.08);
}

.feedback-wrong {
  border-color: var(--danger);
  background: rgba(248, 113, 113, 0.08);
}

#next-btn {
  margin-top: 1rem;
}

.signup-box {
  border-top: 1px solid var(--border);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}

.signup-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.signup-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #0d0b1a;
  color: var(--text);
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  width: 100%;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.consent-label input[type="checkbox"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.consent-label a {
  color: var(--accent);
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.feedback-form textarea {
  padding: 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #0d0b1a;
  color: var(--text);
  font-family: inherit;
  resize: vertical;
}

#restart-btn {
  margin-top: 1.5rem;
}

.why-source {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.why-source a {
  color: var(--accent);
}

.site-footer {
  max-width: 640px;
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: center;
}

.footer-claim {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
}

.footer-links {
  margin-top: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
}

.legal-text h2 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-text h2:first-child {
  margin-top: 0;
}

.legal-text a {
  color: var(--accent);
}

.legal-text ul {
  padding-left: 1.25rem;
}

.legal-todo {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid var(--danger);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text);
  font-size: 0.85rem;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 2rem;
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 2.1rem;
  }

  .topnav-links a:not(.btn-nav-cta) {
    display: none;
  }

  .why-section,
  .intro-card {
    padding: 1.5rem;
  }
}
