/* ========================================
   Qwest Landing Page - Styles
   Brand color: #7B2FBE (brand purple)
   Palette: purple shades only + white/dark
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --purple:        #7B2FBE;
  --purple-dark:   #5B1E9A;
  --purple-deeper: #3D1068;
  --purple-light:  #A355D8;
  --purple-pale:   #F0E8FB;
  --purple-subtle: #F8F3FE;
  --bg:            #FAFAFF;
  --bg-dark:       #1C0A35;
  --text:          #1C0A35;
  --text-muted:    #6B5A80;
  --white:         #FFFFFF;
  --border:        #E0D0F5;
  --radius:        12px;
  --radius-lg:     20px;
  --shadow-sm:  0 1px 4px rgba(123, 47, 190, 0.07);
  --shadow-md:  0 4px 20px rgba(123, 47, 190, 0.12);
  --shadow-lg:  0 12px 40px rgba(123, 47, 190, 0.16);
  --gradient:   linear-gradient(135deg, #7B2FBE, #A355D8);
  --gradient-deep: linear-gradient(135deg, #5B1E9A, #7B2FBE);
  --gradient-hero: linear-gradient(160deg, #F8F3FE 0%, #EDE0FA 50%, #F8F3FE 100%);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--purple);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--purple-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(123, 47, 190, 0.38);
}

.btn-outline {
  border: 2px solid var(--purple);
  color: var(--purple);
  background: transparent;
}
.btn-outline:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--text-muted);
  background: transparent;
}
.btn-ghost:hover { color: var(--purple); }

.btn-white {
  background: var(--white);
  color: var(--purple);
  font-weight: 700;
}
.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255,255,255,0.25);
}

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 250, 255, 0.90);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Nav: small icon + wordmark side by side */
.logo-icon-img {
  height: 38px;
  width: auto;
}
.logo-text-img {
  height: 30px;
  width: auto;
}

/* Footer: full stacked logo */
.logo-img-footer {
  height: 100px;
  width: auto;
  border-radius: var(--radius);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}
.nav-links a {
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--purple); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* --- Hero --- */
.hero {
  padding: 140px 0 90px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

/* Soft purple glow blobs */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero::before {
  width: 500px; height: 500px;
  background: rgba(163, 85, 216, 0.18);
  top: -160px; left: -120px;
}
.hero::after {
  width: 400px; height: 400px;
  background: rgba(91, 30, 154, 0.12);
  bottom: -100px; right: -80px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(123, 47, 190, 0.10);
  color: var(--purple);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(123, 47, 190, 0.15);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--purple);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* --- App Mockup --- */
.hero-visual {
  display: flex;
  justify-content: center;
}

.app-mockup {
  width: 380px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.mockup-header {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  background: var(--bg-dark);
  gap: 12px;
}

.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #28c840; }

.mockup-title {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  font-weight: 600;
}

.mockup-body {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 280px;
}

.chat-bubble {
  display: flex;
  gap: 10px;
  animation: fadeInUp 0.5s ease both;
}
.chat-bubble:nth-child(2) { animation-delay: 0.2s; }
.chat-bubble:nth-child(3) { animation-delay: 0.4s; }

.chat-ai  { align-self: flex-start; }
.chat-user { align-self: flex-end; flex-direction: row-reverse; }

.chat-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.chat-text {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 260px;
}

.chat-ai .chat-text {
  background: var(--purple-pale);
  color: var(--text);
}
.chat-user .chat-text {
  background: var(--purple);
  color: var(--white);
}

.mockup-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--purple-subtle);
  border-radius: 50px;
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.send-btn {
  width: 32px; height: 32px;
  background: var(--purple);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

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

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(123, 47, 190, 0.08);
  color: var(--purple);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid rgba(123, 47, 190, 0.15);
}

.section-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* --- Features --- */
.features { padding: 100px 0; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--purple-light);
}

.feature-icon {
  width: 52px; height: 52px;
  background: var(--purple-pale);
  color: var(--purple);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- How It Works --- */
.how-it-works {
  padding: 100px 0;
  background: var(--white);
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  text-align: center;
  flex: 1;
  padding: 0 24px;
}

.step-number {
  width: 56px; height: 56px;
  background: var(--gradient);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(123, 47, 190, 0.30);
}

.step-connector {
  width: 80px; height: 2px;
  background: var(--border);
  margin-top: 28px;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.step-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Topics --- */
.topics { padding: 100px 0; }

.topics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.topic-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.25s ease;
  cursor: default;
}
.topic-card:hover {
  border-color: var(--purple-light);
  background: var(--purple-subtle);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.topic-emoji { font-size: 1.5rem; }
.topic-name  { font-weight: 600; font-size: 0.95rem; }

.topic-card-more {
  background: var(--purple-pale);
  border-color: var(--purple-light);
}
.topic-card-more .topic-name { color: var(--purple); }

/* --- Testimonials --- */
.testimonials {
  padding: 100px 0;
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--purple-subtle);
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.testimonial-stars {
  color: var(--purple);
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span   { font-size: 0.8rem; color: var(--text-muted); }

/* --- CTA --- */
.cta { padding: 100px 0; }

.cta-inner {
  background: var(--gradient-deep);
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-inner::before,
.cta-inner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.cta-inner::before {
  width: 350px; height: 350px;
  background: rgba(163, 85, 216, 0.35);
  top: -100px; right: -80px;
}
.cta-inner::after {
  width: 250px; height: 250px;
  background: rgba(61, 16, 104, 0.4);
  bottom: -80px; left: -60px;
}

.cta-inner h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  position: relative;
}

.cta-inner p {
  color: rgba(255,255,255,0.82);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-inner .btn-white { position: relative; }

/* --- Footer --- */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--purple-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* ========================================
   Phone Mockup & Gamification
   ======================================== */

/* Remove old mockup styles that no longer exist */
.app-mockup, .mockup-header, .mockup-dots, .mockup-title,
.mockup-body, .chat-bubble, .chat-ai, .chat-user,
.chat-avatar, .chat-text, .mockup-input, .send-btn { display: none; }

/* --- Phone frame --- */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-frame {
  width: 290px;
  background: #0d0d0d;
  border-radius: 44px;
  padding: 14px 10px 10px;
  box-shadow:
    0 0 0 2px #2a2a2a,
    0 30px 80px rgba(123, 47, 190, 0.35),
    0 0 0 10px #1a1a1a;
  position: relative;
  z-index: 2;
}

.phone-notch {
  width: 100px;
  height: 28px;
  background: #0d0d0d;
  border-radius: 0 0 20px 20px;
  margin: 0 auto 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-camera {
  width: 10px; height: 10px;
  background: #222;
  border-radius: 50%;
  border: 2px solid #333;
}

.phone-screen {
  background: #ffffff;
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Phone status bar */
.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px 4px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text);
  background: #fff;
}
.phone-status-icons {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
}

/* App top bar: streak / lesson progress / hearts */
.app-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px;
}

.app-streak {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}
.streak-fire { font-size: 1rem; }
.streak-count {
  font-weight: 800;
  font-size: 0.85rem;
  color: #f77f00;
}

.lesson-progress {
  flex: 1;
  height: 8px;
  background: #ede0fa;
  border-radius: 10px;
  overflow: hidden;
}
.lesson-progress-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 10px;
  transition: width 1s ease;
}

.app-hearts {
  display: flex;
  gap: 1px;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* XP bar row */
.xp-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 16px 10px;
}
.app-mini-logo {
  width: 22px; height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}
.xp-bar-wrap {
  flex: 1;
  height: 6px;
  background: #ede0fa;
  border-radius: 10px;
  overflow: hidden;
}
.xp-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #7B2FBE, #A355D8);
  border-radius: 10px;
}
.xp-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--purple);
  flex-shrink: 0;
}

/* Question area */
.question-area {
  padding: 10px 16px 12px;
}
.lesson-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.lesson-tag-dot {
  width: 7px; height: 7px;
  background: var(--purple);
  border-radius: 50%;
  display: inline-block;
}
.question-text {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}

/* Answer options */
.answer-options {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 0 16px;
}
.answer-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 2px solid #e8ddf5;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  background: #faf8ff;
  position: relative;
}
.answer-option span { flex: 1; }

.answer-letter {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #ede0fa;
  color: var(--purple);
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Correct answer state */
.answer-correct {
  border-color: var(--purple);
  background: #f0e8fb;
}
.correct-letter {
  background: var(--purple);
  color: #fff;
}
.answer-check {
  width: 20px; height: 20px;
  background: var(--purple);
  color: #fff;
  border-radius: 50%;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
}

/* Success banner */
.success-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 16px 0;
  padding: 10px 14px;
  background: linear-gradient(135deg, #f0e8fb, #e4d4f7);
  border-radius: 12px;
  border: 2px solid var(--purple-light);
}
.success-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.success-icon { font-size: 1.4rem; }
.success-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--purple-dark);
}
.success-sub {
  font-size: 0.7rem;
  color: var(--purple);
}
.xp-pill {
  background: var(--purple);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 50px;
  letter-spacing: 0.03em;
}

/* Continue button */
.app-continue-btn {
  margin: 10px 16px 0;
  width: calc(100% - 32px);
  padding: 12px;
  background: var(--purple);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 0 var(--purple-dark);
  transition: all 0.15s ease;
}
.app-continue-btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--purple-dark);
}

/* Bottom nav */
.app-bottom-nav {
  display: flex;
  justify-content: space-around;
  padding: 10px 8px 14px;
  border-top: 1px solid #f0e8fb;
  margin-top: 8px;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #bbb;
  font-size: 0.6rem;
  font-weight: 600;
}
.nav-item-active {
  color: var(--purple);
}

/* --- Floating badges --- */
.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 8px 30px rgba(123, 47, 190, 0.18);
  border: 1px solid var(--border);
  z-index: 3;
  animation: floatY 3s ease-in-out infinite;
}
.float-streak {
  top: 60px;
  right: -60px;
  animation-delay: 0s;
}
.float-xp {
  bottom: 80px;
  left: -60px;
  animation-delay: 1.5s;
}
.float-badge-icon { font-size: 1.5rem; }
.float-badge-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text);
}
.float-badge-sub {
  font-size: 0.7rem;
  color: var(--purple);
  font-weight: 600;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.8rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions { display: none; }
  .mobile-menu-btn { display: flex; }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero h1 { font-size: 2.4rem; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; flex-wrap: wrap; }
  .hero-stats { justify-content: center; }

  .phone-frame { width: 260px; }
  .float-streak { right: -20px; top: 40px; }
  .float-xp { left: -20px; bottom: 60px; }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .steps { flex-direction: column; align-items: center; }
  .step-connector { width: 2px; height: 40px; margin: 0; }

  .topics-grid { grid-template-columns: repeat(2, 1fr); }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .section-header h2 { font-size: 1.8rem; }

  .cta-inner { padding: 48px 24px; }
  .cta-inner h2 { font-size: 1.8rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { width: 40px; height: 1px; }
  .topics-grid { grid-template-columns: 1fr; }
  .phone-frame { width: 260px; }
  .float-streak, .float-xp { display: none; }
}
