:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --bg-alt: #ffffff;
  --ink: #0d0f1a;
  --muted: #5a5f73;
  --accent-1: #4f6dff;
  --accent-2: #6f4cff;
  --accent-3: #1fb6ff;
  --glass: rgba(255, 255, 255, 0.65);
  --border: rgba(15, 18, 33, 0.08);
  --shadow: 0 18px 40px rgba(30, 40, 65, 0.12);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: min(1120px, 90vw);
  margin: 0 auto;
}

.bg-sheen {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(79, 109, 255, 0.18), transparent 40%),
    radial-gradient(circle at 90% 20%, rgba(111, 76, 255, 0.18), transparent 45%),
    radial-gradient(circle at 30% 80%, rgba(31, 182, 255, 0.15), transparent 40%);
  z-index: -2;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 248, 251, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 18, 33, 0.05);
}

.topbar__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Sora", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(79, 109, 255, 0.25);
  background: #ffffff;
  object-fit: cover;
}

.brand__text {
  font-size: 1.1rem;
}

.topbar__nav {
  display: flex;
  gap: 22px;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-link {
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--ink);
}

.cta {
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
}

.cta--ghost {
  border-color: rgba(79, 109, 255, 0.4);
  color: var(--accent-1);
  background: rgba(79, 109, 255, 0.08);
}

.hero {
  padding: 90px 0 80px;
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
  align-items: center;
}

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 16px;
}

h1,
h2,
h3,
h4 {
  font-family: "Sora", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 3vw + 1.5rem, 3.8rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(2rem, 2.4vw + 1rem, 3rem);
  margin-bottom: 16px;
  line-height: 1.2;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 28px;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.store-badge {
  display: inline-flex;
  padding: 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 18, 33, 0.08);
  box-shadow: var(--shadow);
  position: relative;
  align-items: center;
  justify-content: center;
}

.store-badge img {
  width: 190px;
}

.store-badge--play img {
  width: 200px;
}

.coming-soon {
  position: absolute;
  top: -10px;
  right: -10px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 8px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(79, 109, 255, 0.35);
}

.trust {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  width: min(320px, 80vw);
  background: #11131a;
  border-radius: 40px;
  padding: 14px;
  box-shadow: 0 28px 60px rgba(15, 20, 40, 0.35);
  position: relative;
}

.phone__notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 24px;
  background: #0a0b10;
  border-radius: 20px;
  z-index: 2;
}

.phone__screen {
  background: #000000;
  border-radius: 32px;
  padding: 0;
  color: #f5f7ff;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.screen__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

.pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6cf, #7b5bff);
}

.screen__summary h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.screen__summary p {
  font-size: 0.85rem;
  color: rgba(245, 247, 255, 0.7);
}

.screen__summary img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: none;
  box-shadow: none;
  display: block;
}

.screen__cards {
  display: grid;
  gap: 12px;
}

.card {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.card strong {
  font-size: 0.95rem;
}

.card--quiz {
  border: 1px solid rgba(79, 109, 255, 0.6);
}

.card--flash {
  border: 1px solid rgba(31, 182, 255, 0.6);
}

.card--summary {
  border: 1px solid rgba(111, 76, 255, 0.6);
}

.screen__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.progress {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.75rem;
  color: rgba(245, 247, 255, 0.7);
}

.bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}

.bar span {
  display: block;
  width: 70%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4f6dff, #7b5bff);
}

.primary,
.ghost {
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
}

.primary {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: white;
}

.ghost {
  background: rgba(79, 109, 255, 0.12);
  color: var(--accent-1);
}

.glow {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 76, 255, 0.35), transparent 70%);
  filter: blur(10px);
  z-index: -1;
  bottom: -40px;
  right: 10px;
}

.section-head {
  margin-bottom: 40px;
}

.how,
.features,
.demo,
.screens,
.pricing {
  padding: 80px 0;
}

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

.step {
  background: var(--glass);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.step__index {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--accent-1);
  margin-bottom: 12px;
}

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

.feature-card {
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  min-height: 200px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(79, 109, 255, 0.15);
  margin-bottom: 14px;
  font-size: 1.2rem;
}

.demo__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
}

.demo__note {
  margin-top: 20px;
  padding: 16px 20px;
  border-left: 3px solid var(--accent-1);
  background: rgba(79, 109, 255, 0.08);
  border-radius: var(--radius-sm);
}

.demo__frame {
  display: flex;
  justify-content: center;
}

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

.screen-shot {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 18px;
  display: grid;
  gap: 14px;
  text-align: center;
}

.screen-shot img {
  border-radius: 18px;
  border: 1px solid rgba(15, 18, 33, 0.08);
  box-shadow: 0 10px 24px rgba(20, 30, 55, 0.15);
}

.screen-shot figcaption {
  color: var(--muted);
  font-size: 0.9rem;
}

.video-shell {
  width: min(360px, 90vw);
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  background: linear-gradient(130deg, rgba(79, 109, 255, 0.2), rgba(111, 76, 255, 0.3));
  border: 1px solid rgba(79, 109, 255, 0.3);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.demo-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.price-card {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.price-card ul li::before {
  content: "•";
  color: var(--accent-1);
  margin-right: 8px;
}

.price-card--highlight {
  background: linear-gradient(180deg, rgba(79, 109, 255, 0.08), rgba(111, 76, 255, 0.12));
  border: 1px solid rgba(79, 109, 255, 0.4);
  position: relative;
}

.badge {
  position: absolute;
  top: -14px;
  right: 20px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: white;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
}

.price {
  font-size: 2.2rem;
  font-weight: 700;
}

.price span {
  font-size: 1rem;
  color: var(--muted);
}

.pricing__note {
  margin-top: 24px;
  color: var(--muted);
  text-align: center;
}

.cta-panel {
  padding: 80px 0;
}

.cta-panel__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  align-items: center;
  background: linear-gradient(140deg, rgba(79, 109, 255, 0.15), rgba(111, 76, 255, 0.12));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(79, 109, 255, 0.2);
  padding: 32px;
  box-shadow: var(--shadow);
}

.badge-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-start;
}

.footer {
  padding: 50px 0 30px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  align-items: center;
}

.footer__text {
  margin-top: 12px;
  color: var(--muted);
}

.footer__links {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer__bottom {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .topbar__nav {
    display: none;
  }

  .hero {
    padding-top: 70px;
  }
}

@media (max-width: 720px) {
  .topbar__content {
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .phone {
    width: min(320px, 90vw);
  }
}
