:root {
  --bg: #000000;
  --card-bg: #111111;
  --border: #262626;
  --muted: #9b9b9b;
  --green: #00ff6a;
  --green-dark: #00d454;
  --white: #ffffff;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
}

/* Reset */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  color-scheme: dark; /* helps system UI pick dark styling */
}
html,
body {
  margin: 0;
  padding: 0;
}

/* Animated background */

body {
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: radial-gradient(circle at top, #101010 0, #000000 45%, #000000 100%);
  color: var(--white);
  display: flex;
  align-items: flex-start;   /* was center – move card up */
  justify-content: center;
  padding: 12px 12px 24px;   /* smaller top padding so it's closer to the top */
  position: relative;
  overflow: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
  filter: blur(22px);
  opacity: 0.9;
}

body::before {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(0, 255, 106, 0.32), transparent 60%);
  top: -160px;
  left: -140px;
  animation: orbDriftLeft 18s ease-in-out infinite alternate;
}

body::after {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(0, 255, 106, 0.22), transparent 65%);
  bottom: -140px;
  right: -120px;
  animation: orbDriftRight 22s ease-in-out infinite alternate;
}

@keyframes orbDriftLeft {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(40px, 30px) scale(1.05);
  }
  100% {
    transform: translate(10px, -10px) scale(0.98);
  }
}

@keyframes orbDriftRight {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-30px, -40px) scale(1.08);
  }
  100% {
    transform: translate(-5px, 10px) scale(0.96);
  }
}

/* App shell */

.app {
  width: 100%;
  max-width: 430px;
  background: radial-gradient(circle at top left, #181818 0, var(--card-bg) 40%, #060606 100%);
  border-radius: 28px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

/* Status bar */

.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.status-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--green) 0, var(--green-dark) 70%, #04451f 100%);
  box-shadow: 0 0 12px rgba(0, 255, 106, 0.8);
}

.status-dot--small {
  width: 7px;
  height: 7px;
  box-shadow: 0 0 8px rgba(0, 255, 106, 0.7);
}

.status-label {
  font-weight: 600;
}

.status-page {
  font-weight: 500;
}

.pager-current {
  font-weight: 700;
}

/* Slides */

.slides {
  position: relative;
}

.slide {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.slide--active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Typography */

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.hero-title {
  font-size: 32px;
  line-height: 1.05;
  font-weight: 800;
  margin: 0 0 14px;
}

.hero-title--inline {
  font-size: 28px;
}

.highlight {
  background: linear-gradient(90deg, var(--green), #66ff9d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.body-copy {
  font-size: 14px;
  line-height: 1.5;
  color: #d4d4d4;
  margin: 14px 0 16px;
}

.subtle-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 18px;
}

/* Bonus card */

.bonus-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at left, rgba(0, 255, 116, 0.2), transparent 60%);
  border: 1px solid rgba(0, 255, 106, 0.3);
}

.bonus-icon {
  width: 34px;
  height: 34px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 255, 106, 0.14);
  font-size: 18px;
}

.bonus-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bonus-title {
  font-size: 14px;
  font-weight: 700;
}

.bonus-sub {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

/* Rating */

.rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 12px;
}

.stars {
  font-size: 14px;
}

.rating-text {
  color: var(--muted);
}

/* Stats */

.stats-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.stat-card {
  flex: 1;
  border-radius: var(--radius-md);
  padding: 10px 10px 11px;
  border: 1px solid var(--border);
  background: radial-gradient(circle at top, #171717 0, #050505 100%);
}

.stat-icon {
  font-size: 14px;
  margin-bottom: 4px;
}

.stat-number {
  font-size: 16px;
  font-weight: 700;
}

.stat-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Age buttons */

.age-buttons {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pill-button {
  width: 100%;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  cursor: pointer;
  outline: none;
  background: transparent;
  color: var(--white);
  text-align: left;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

.pill-button--primary {
  background: linear-gradient(90deg, var(--green-dark), var(--green));
  border-color: rgba(0, 0, 0, 0.6);
  box-shadow: 0 12px 28px rgba(0, 255, 106, 0.35);
}

.pill-button--secondary {
  background: #141414;
  border-color: var(--border);
}

.pill-button:hover {
  transform: translateY(-1px);
}

.pill-sub {
  font-size: 11px;
  font-weight: 400;
  color: #e5e5e5;
}

/* Press animation state from JS */

.pill-button--pressed {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7);
}

/* Slide 2 / CTA */

.step-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.cta-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 14px 0 18px;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  color: #000000;
  background: linear-gradient(90deg, var(--green-light, #5cff98), var(--green));
  box-shadow: 0 16px 32px rgba(0, 255, 106, 0.4);
  position: relative;
  overflow: hidden;
}

.cta-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.25), transparent 55%);
  opacity: 0.8;
  pointer-events: none;
}

.cta-main span {
  position: relative;
  z-index: 1;
}

.cta--pressed {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.75);
}

/* Journey list */

.journey {
  margin-top: 10px;
  padding: 12px 12px 10px;
  border-radius: var(--radius-lg);
  background: #050505;
  border: 1px solid var(--border);
}

.journey-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.journey-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.journey-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* BIG green check on step 1 of journey */
.step-number-main {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--green); /* <= make the check mark green */
}

/* Other step numbers */

.step-number {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--muted);
}

.step-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.step-title {
  font-size: 13px;
  font-weight: 600;
}

.step-sub {
  font-size: 11px;
  color: var(--muted);
}

/* Small fade-up stagger when slide 2 becomes active */

.slide--active[data-slide="2"] .journey-steps li:nth-child(1) {
  animation: fadeUpSoft 0.45s ease-out 0.05s both;
}
.slide--active[data-slide="2"] .journey-steps li:nth-child(2) {
  animation: fadeUpSoft 0.45s ease-out 0.25s both;
}
.slide--active[data-slide="2"] .journey-steps li:nth-child(3) {
  animation: fadeUpSoft 0.45s ease-out 0.45s both;
}

@keyframes fadeUpSoft {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Small screens */

@media (max-width: 360px) {
  .hero-title {
    font-size: 30px;
  }

  .app {
    padding-inline: 16px;
  }
}
