@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

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

:root {
  --purple:       #6C3CE1;
  --purple-dark:  #4A1FB8;
  --purple-light: #EDE7FB;
  --ink:          #0F0B1F;
  --paper:        #F7F3EC;
  --orange:       #FF8C42;
  --teal:         #00D4AA;
  --gold:         #F9A825;
  --white:        #FFFFFF;
  --grey-100:     #F5F5F8;
  --grey-200:     #E8E8F0;
  --grey-400:     #ABABBC;
  --grey-600:     #6B6B7E;
  --grey-800:     #2E2E3A;

  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, -apple-system, sans-serif;

  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 4px rgba(15,11,31,.08);
  --shadow-md: 0 4px 20px rgba(15,11,31,.10);
  --shadow-lg: 0 24px 64px rgba(108,60,225,.18);

  --max-w: 1160px;
  --px: clamp(1.25rem, 5vw, 3rem);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

img { max-width: 100%; display: block; }
a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Utilities ─────────────────────────────────────────── */
.container { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--px); }
.text-center { text-align: center; }
.sr-only { position: absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }

/* ── Typography ─────────────────────────────────────────── */
h1,h2,h3,h4 { font-family: var(--font-serif); line-height: 1.2; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
.section-label {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: .75rem;
}
.section-intro {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--grey-600);
  max-width: 52ch;
  margin-inline: auto;
  margin-top: .75rem;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  padding: .75rem 1.75rem;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}
.btn-primary:hover { background: var(--purple-dark); border-color: var(--purple-dark); text-decoration: none; }
.btn-outline {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
}
.btn-outline:hover { background: var(--purple-light); text-decoration: none; }
.btn-white {
  background: var(--white);
  color: var(--purple);
  border-color: var(--white);
}
.btn-white:hover { background: var(--purple-light); border-color: var(--purple-light); text-decoration: none; }
.btn-lg { padding: .9rem 2.25rem; font-size: 1.0625rem; }

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grey-200);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo img { height: 36px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--grey-600);
  transition: color .15s;
}
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-cta { margin-left: 1rem; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .25rem;
  color: var(--ink);
}
.nav-toggle svg { display: block; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    position: fixed;
    inset: 0;
    top: 65px;
    background: var(--white);
    padding: 2rem var(--px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    z-index: 99;
  }
  .nav-menu.open { display: flex; }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--grey-200); }
  .nav-links a { display: block; padding: 1rem 0; font-size: 1.125rem; color: var(--ink); }
  .nav-cta { margin: 1.5rem 0 0; }
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, #F0EAFB 0%, var(--white) 55%);
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2rem, 6vw, 5rem);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--purple-light);
  color: var(--purple);
  font-size: .8125rem;
  font-weight: 600;
  padding: .35rem .875rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 em { font-style: italic; color: var(--purple); }
.hero-sub {
  font-size: clamp(1.0625rem, 2vw, 1.2rem);
  color: var(--grey-600);
  max-width: 46ch;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .375rem;
  font-size: .875rem;
  color: var(--grey-600);
  font-weight: 500;
}
.trust-item svg { color: var(--teal); flex-shrink: 0; }

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 2rem 1rem;
}
.hero-phones {
  position: relative;
  width: 280px;
  height: 520px;
}
.hero-phone {
  position: absolute;
  width: 240px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #1a1030;
  background: #0F0B1F;
}
.hero-phone-img { width: 100%; height: auto; display: block; }
.hero-phone-back {
  top: 40px;
  right: 0;
  width: 210px;
  transform: rotate(4deg);
  box-shadow: 8px 16px 40px rgba(15,11,31,.35);
  z-index: 1;
}
.hero-phone-front {
  top: 0;
  left: 0;
  z-index: 2;
  box-shadow: var(--shadow-lg);
}

.hero-float {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: .75rem 1rem;
  font-size: .8125rem;
  font-weight: 600;
  white-space: nowrap;
  z-index: 3;
}
.hero-float-reward { top: 15%; right: -20px; color: var(--orange); }
.hero-float-streak { bottom: 22%; left: -20px; color: var(--purple); }
.hero-float-reward::before { content: '🎬 '; }
.hero-float-streak::before { content: '🔥 '; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

/* ── Problem ─────────────────────────────────────────────── */
.problem {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: var(--paper);
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.problem-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.problem-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.problem-card h3 { font-size: 1.0625rem; margin-bottom: .5rem; }
.problem-card p { font-size: .9375rem; color: var(--grey-600); }

/* ── How it works ────────────────────────────────────────── */
.how { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}
.step {
  text-align: center;
  padding: 2rem 1.5rem;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--grey-600); font-size: .9375rem; }
.step-emoji { font-size: 2rem; margin-bottom: .75rem; }

/* ── Features ────────────────────────────────────────────── */
.features {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: var(--paper);
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
}
@media (max-width: 768px) { .features-grid { grid-template-columns: 1fr; } }

.feature-panel {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.feature-panel-label {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 1rem;
}
.feature-panel h3 { font-size: 1.375rem; margin-bottom: 1.25rem; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9375rem;
  color: var(--grey-800);
}
.feature-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: var(--teal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ── Screenshots showcase ───────────────────────────────── */
.screenshots-section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: var(--ink);
  overflow: hidden;
}
.screenshots-section .section-label { color: var(--teal); }
.screenshots-section h2 { color: var(--white); margin-top: .25rem; }

.screenshots-strip {
  display: flex;
  gap: 1.5rem;
  margin-top: 3rem;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
}
.screenshot-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  flex: 0 0 auto;
}
.screenshot-item--featured .screenshot-phone {
  transform: scale(1.08);
  z-index: 2;
}
.screenshot-phone {
  width: 160px;
  border-radius: 28px;
  overflow: hidden;
  border: 5px solid #1a1030;
  background: #0F0B1F;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  position: relative;
}
.screenshot-phone img { width: 100%; height: auto; display: block; }
.screenshot-caption {
  font-size: .8125rem;
  font-weight: 500;
  color: rgba(255,255,255,.5);
  text-align: center;
  max-width: 140px;
}

@media (max-width: 900px) {
  .screenshots-strip { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 1.5rem; }
  .screenshots-strip::-webkit-scrollbar { height: 4px; }
  .screenshots-strip::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 2px; }
}
@media (max-width: 640px) {
  .screenshot-phone { width: 130px; border-radius: 22px; }
  .screenshot-item--featured .screenshot-phone { transform: scale(1.05); }
}

/* ── Subjects ────────────────────────────────────────────── */
.subjects { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.subjects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.subject-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.subject-card.active { background: var(--purple); color: var(--white); }
.subject-card.coming { background: var(--grey-100); color: var(--grey-600); }
.subject-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.subject-card.active .subject-badge { background: rgba(255,255,255,.2); color: var(--white); }
.subject-card.coming .subject-badge { background: var(--grey-200); color: var(--grey-600); }
.subject-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.subject-card h3 { font-size: 1.375rem; margin-bottom: .75rem; }
.subject-card.active h3 { color: var(--white); }
.subject-card.active p { color: rgba(255,255,255,.8); }
.subject-card.coming p { color: var(--grey-600); }
.subject-topics { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.topic-chip {
  font-size: .75rem;
  font-weight: 500;
  padding: .25rem .625rem;
  border-radius: 100px;
}
.subject-card.active .topic-chip { background: rgba(255,255,255,.15); color: var(--white); }
.subject-card.coming .topic-chip { background: var(--grey-200); color: var(--grey-600); }

/* ── Pricing ─────────────────────────────────────────────── */
.pricing {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: var(--paper);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: start;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
}
.pricing-card.featured {
  border-color: var(--purple);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.pricing-popular {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-name { font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--grey-400); margin-bottom: .75rem; }
.pricing-price { font-family: var(--font-serif); font-size: 2.75rem; color: var(--ink); line-height: 1; }
.pricing-price span { font-family: var(--font-sans); font-size: 1rem; color: var(--grey-400); font-weight: 400; }
.pricing-desc { font-size: .875rem; color: var(--grey-600); margin: .75rem 0 1.5rem; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: .625rem; margin-bottom: 2rem; }
.pricing-features li { font-size: .9375rem; color: var(--grey-800); display: flex; align-items: flex-start; gap: .5rem; }
.pricing-features li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}
.pricing-card .btn { width: 100%; justify-content: center; }
.pricing-note { text-align: center; margin-top: 2rem; font-size: .875rem; color: var(--grey-600); }

/* ── Trust strip ─────────────────────────────────────────── */
.trust-strip {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
}
.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}
.trust-strip-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--purple);
}
.trust-strip-item span { font-size: .875rem; color: var(--grey-600); }

/* ── About snippet ───────────────────────────────────────── */
.about-snippet {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: var(--ink);
  color: var(--white);
}
.about-snippet-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 768px) { .about-snippet-inner { grid-template-columns: 1fr; gap: 2rem; } }

.about-snippet .section-label { color: var(--teal); }
.about-snippet h2 { color: var(--white); margin-bottom: 1.25rem; }
.about-snippet p { color: rgba(255,255,255,.75); margin-bottom: 1rem; line-height: 1.7; }
.about-snippet a.btn { margin-top: .5rem; }

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.about-value {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}
.about-value h4 { font-size: 1rem; color: var(--white); margin-bottom: .25rem; }
.about-value p { font-size: .875rem; color: rgba(255,255,255,.6); margin: 0; line-height: 1.5; }

/* ── CTA band ────────────────────────────────────────────── */
.cta-band {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  text-align: center;
  color: var(--white);
}
.cta-band h2 { color: var(--white); margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,.8); margin-bottom: 2rem; font-size: 1.125rem; }
.cta-band-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--grey-800);
  color: rgba(255,255,255,.6);
  padding: clamp(2.5rem, 5vw, 4rem) 0 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }

.footer-brand .nav-logo { color: var(--white); margin-bottom: 1rem; }
.footer-brand .nav-logo img { filter: brightness(0) invert(1); }
.footer-brand p { font-size: .875rem; line-height: 1.6; max-width: 28ch; }
.footer-col h4 { font-size: .875rem; font-weight: 700; color: var(--white); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .06em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col a { font-size: .875rem; color: rgba(255,255,255,.55); transition: color .15s; }
.footer-col a:hover { color: var(--white); text-decoration: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8125rem;
}
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--white); text-decoration: none; }

/* ── Inner page hero ─────────────────────────────────────── */
.page-hero {
  background: linear-gradient(160deg, #F0EAFB 0%, var(--white) 60%);
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 4rem);
  border-bottom: 1px solid var(--grey-200);
}
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { font-size: 1.125rem; color: var(--grey-600); max-width: 54ch; }

/* ── Content sections ────────────────────────────────────── */
.content-section { padding: clamp(3rem, 6vw, 5rem) 0; }
.content-section + .content-section { border-top: 1px solid var(--grey-200); }
.content-section.alt { background: var(--paper); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.value-card h3 { font-size: 1.125rem; margin-bottom: .5rem; }
.value-card p { font-size: .9375rem; color: var(--grey-600); }

.prose { max-width: 70ch; }
.prose p { margin-bottom: 1.125rem; color: var(--grey-600); }
.prose h3 { margin: 2rem 0 .75rem; color: var(--ink); }
.prose ul { margin: .75rem 0 1.25rem 1.25rem; color: var(--grey-600); }
.prose ul li { margin-bottom: .375rem; }

/* ── Privacy page ────────────────────────────────────────── */
.privacy-content { padding: clamp(3rem, 6vw, 5rem) 0; }
.privacy-content h2 { font-size: 1.5rem; margin: 2.5rem 0 .75rem; color: var(--ink); }
.privacy-content h3 { font-size: 1.125rem; margin: 1.75rem 0 .5rem; }
.privacy-content p { margin-bottom: 1rem; color: var(--grey-600); }
.privacy-content ul { margin: .75rem 0 1.25rem 1.5rem; color: var(--grey-600); }
.privacy-content ul li { margin-bottom: .375rem; }

/* ── Responsive misc ─────────────────────────────────────── */
@media (max-width: 640px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-band-actions { flex-direction: column; align-items: center; }
  .cta-band-actions .btn { width: 100%; max-width: 320px; justify-content: center; }
}

/* ── Pricing 4-tier grid ─────────────────────────────────── */
.pricing-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1100px) { .pricing-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .pricing-grid-4 { grid-template-columns: 1fr; } }

.pricing-card-lifetime {
  background: linear-gradient(160deg, #1a1030 0%, #0F0B1F 100%);
  color: var(--white);
  border-color: var(--gold);
}
.pricing-card-lifetime .pricing-name { color: var(--gold); }
.pricing-card-lifetime .pricing-price { color: var(--white); }
.pricing-card-lifetime .pricing-price span { color: rgba(255,255,255,.55); }
.pricing-card-lifetime .pricing-desc { color: rgba(255,255,255,.7); }
.pricing-card-lifetime .pricing-features li { color: rgba(255,255,255,.85); }
.pricing-card-lifetime .pricing-features li::before { color: var(--gold); }
.pricing-popular-alt { background: var(--gold); color: var(--ink); }
.pricing-card-lifetime .btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.pricing-card-lifetime .btn-primary:hover { background: #e69612; border-color: #e69612; }

/* ── Scroll reveal animations ────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Subtle hero phone float */
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-8px) rotate(0); }
}
@keyframes phoneFloatBack {
  0%, 100% { transform: rotate(4deg) translateY(0); }
  50%      { transform: rotate(4deg) translateY(-10px); }
}
.hero-phone-front { animation: phoneFloat 6s ease-in-out infinite; }
.hero-phone-back  { animation: phoneFloatBack 7s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .hero-phone-front, .hero-phone-back { animation: none; }
}

/* Pricing card hover lift */
.pricing-card { transition: transform .25s ease, box-shadow .25s ease; }
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* Subject + value + problem cards lift */
.problem-card, .value-card, .feature-panel, .subject-card {
  transition: transform .25s ease, box-shadow .25s ease;
}
.problem-card:hover, .value-card:hover, .subject-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
