/* ═══════════════════════════════════════════════
   Kids Math Game — Landing Page Styles
   ═══════════════════════════════════════════════ */

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

:root {
  --primary:   #6C63FF;
  --secondary: #FF6B9D;
  --accent:    #FFD93D;
  --mode1:     #FF6B9D;
  --mode2:     #4ECDC4;
  --mode3:     #FFAA00;
  --success:   #6BCB77;
  --dark:      #2D2D44;
  --muted:     #5A5A7A;
  --light:     #9898B0;
  --bg:        #FFF9F0;
  --card:      #FFFFFF;
  --border:    #EEEBFF;
  --gradient:  linear-gradient(135deg, #6C63FF 0%, #FF6B9D 100%);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-md: 0 8px 28px rgba(108,99,255,0.18);
  --shadow-lg: 0 16px 48px rgba(108,99,255,0.22);
  --transition: 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', 'Segoe UI', Arial, sans-serif;
  background-color: var(--bg);
  color: var(--dark);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── Typography ── */
h1, h2, h3, h4 { font-weight: 900; line-height: 1.2; }
h1 { font-size: clamp(2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { color: var(--muted); font-size: 1rem; }

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

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

/* ── Utility ── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center  { text-align: center; }
.text-primary { color: var(--primary); }
.text-white   { color: #fff; }

.badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-primary {
  background: rgba(108,99,255,0.1);
  color: var(--primary);
  border: 1.5px solid rgba(108,99,255,0.22);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  border: none;
  outline: none;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  user-select: none;
}

.btn:hover  { transform: translateY(-3px) scale(1.03); }
.btn:active { transform: translateY(0) scale(0.97); }

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover { box-shadow: var(--shadow-lg); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(108,99,255,0.07);
  box-shadow: none;
}

.btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.14);
}

.btn-lg { padding: 18px 40px; font-size: 1.1rem; border-radius: 22px; }

/* ═══════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,249,240,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.navbar.scrolled { box-shadow: var(--shadow-sm); }

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--dark);
}

.nav-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(108,99,255,0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover { background: var(--border); color: var(--primary); }

.nav-cta { margin-left: 8px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 4px;
  transition: all 0.3s;
  display: block;
}

/* ═══════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: var(--bg);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(108,99,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,107,157,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge { margin-bottom: 20px; }

.hero-title {
  margin-bottom: 20px;
  color: var(--dark);
}

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

.hero-desc {
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 32px;
}

.stat-item {}
.stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: var(--light);
  font-weight: 700;
  margin-top: 2px;
}

/* ── Hero phone mockup ── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: var(--dark);
  border-radius: 44px;
  position: relative;
  box-shadow: 0 32px 80px rgba(45,45,68,0.35), 0 0 0 2px rgba(255,255,255,0.1);
  overflow: hidden;
  animation: float 3s ease-in-out infinite;
}

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

.phone-screen {
  position: absolute;
  inset: 4px;
  border-radius: 40px;
  overflow: hidden;
  background: linear-gradient(160deg, #6C63FF, #FF6B9D);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.phone-notch {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 6px;
  background: rgba(0,0,0,0.5);
  border-radius: 4px;
}

.phone-app-icon {
  font-size: 56px;
  margin-bottom: 12px;
  animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.08); }
}

.phone-app-name {
  font-size: 18px;
  font-weight: 900;
  color: white;
  margin-bottom: 6px;
}

.phone-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  text-align: center;
  font-weight: 600;
}

.phone-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 20px;
  width: 100%;
}

.phone-card {
  background: rgba(255,255,255,0.18);
  border-radius: 14px;
  padding: 12px 8px;
  text-align: center;
  color: white;
  font-size: 11px;
  font-weight: 700;
}

.phone-card .card-emoji { font-size: 22px; display: block; margin-bottom: 4px; }

/* Floating emoji decorations */
.hero-decoration {
  position: absolute;
  pointer-events: none;
}

.float-emoji {
  position: absolute;
  font-size: 32px;
  animation: float-random 4s ease-in-out infinite;
  opacity: 0.7;
}

.float-emoji:nth-child(1) { top: 5%;  left: -15%; animation-delay: 0s; }
.float-emoji:nth-child(2) { top: 70%; left: -20%; animation-delay: 1s; font-size: 24px; }
.float-emoji:nth-child(3) { top: 20%; right: -15%; animation-delay: 0.5s; font-size: 28px; }
.float-emoji:nth-child(4) { bottom: 15%; right: -10%; animation-delay: 1.5s; }

@keyframes float-random {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%       { transform: translateY(-10px) rotate(5deg); }
  66%       { transform: translateY(6px) rotate(-3deg); }
}

/* ═══════════════════════════════════════════════
   FEATURES SECTION
   ═══════════════════════════════════════════════ */
.features {
  padding: 100px 0;
  background: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .badge { margin-bottom: 14px; }

.section-header h2 { margin-bottom: 12px; }

.section-header p {
  max-width: 520px;
  margin: 0 auto;
  font-size: 1.05rem;
}

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

.feature-card {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 2px solid transparent;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  cursor: default;
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}

.feature-card h3 { margin-bottom: 8px; }

.feature-card p { font-size: 0.92rem; }

/* ═══════════════════════════════════════════════
   GAME MODES SECTION
   ═══════════════════════════════════════════════ */
.modes {
  padding: 100px 0;
  background: var(--bg);
}

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

.mode-card {
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  color: white;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow 0.3s;
}

.mode-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.mode-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 130px; height: 130px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.mode-card::after {
  content: '';
  position: absolute;
  bottom: -30px; left: -30px;
  width: 90px; height: 90px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
}

.mode-card.pink   { background: linear-gradient(135deg, #FF6B9D, #FF8E53); }
.mode-card.teal   { background: linear-gradient(135deg, #4ECDC4, #45B7D1); }
.mode-card.orange { background: linear-gradient(135deg, #FFAA00, #FFD93D); }

.mode-emoji {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
  position: relative;
  z-index: 1;
}

.mode-card h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.mode-card p {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  position: relative;
  z-index: 1;
}

.mode-tag {
  display: inline-block;
  background: rgba(255,255,255,0.22);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  margin-top: 14px;
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════
   GRADES SECTION
   ═══════════════════════════════════════════════ */
.grades {
  padding: 100px 0;
  background: #fff;
}

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

.grade-card {
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  border: 2px solid var(--border);
  background: var(--bg);
  transition: all 0.25s;
  cursor: default;
}

.grade-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.grade-card.lkg    { border-color: #FF6B9D; }
.grade-card.ukg    { border-color: #FF9F43; }
.grade-card.class1 { border-color: #4ECDC4; }
.grade-card.class2 { border-color: #6C63FF; }

.grade-card.lkg:hover    { box-shadow: 0 8px 28px rgba(255,107,157,0.2); }
.grade-card.ukg:hover    { box-shadow: 0 8px 28px rgba(255,159,67,0.2);  }
.grade-card.class1:hover { box-shadow: 0 8px 28px rgba(78,205,196,0.2);  }
.grade-card.class2:hover { box-shadow: 0 8px 28px rgba(108,99,255,0.2);  }

.grade-emoji { font-size: 42px; margin-bottom: 14px; }

.grade-name {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.grade-card.lkg    .grade-name { color: #FF6B9D; }
.grade-card.ukg    .grade-name { color: #FF9F43; }
.grade-card.class1 .grade-name { color: #4ECDC4; }
.grade-card.class2 .grade-name { color: #6C63FF; }

.grade-card p { font-size: 0.86rem; line-height: 1.6; }

.grade-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 12px;
}

.topic-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(108,99,255,0.1);
  color: var(--primary);
}

/* ═══════════════════════════════════════════════
   DOWNLOAD SECTION
   ═══════════════════════════════════════════════ */
.download {
  padding: 100px 0;
  background: var(--gradient);
  position: relative;
  overflow: hidden;
}

.download::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.download::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.download-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.download h2 { color: white; margin-bottom: 14px; }

.download .sub {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.download-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.play-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: white;
  border-radius: 16px;
  padding: 14px 28px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transition: transform var(--transition), box-shadow 0.3s;
  cursor: pointer;
}

.play-store-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.2);
}

.play-store-btn .ps-icon { font-size: 32px; }

.play-store-btn .ps-text-sm {
  font-size: 10px;
  color: #666;
  font-weight: 600;
  text-align: left;
}

.play-store-btn .ps-text-lg {
  font-size: 17px;
  font-weight: 900;
  color: var(--dark);
  text-align: left;
  line-height: 1.2;
}

.download-note {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 600;
}

.download-floating {
  position: absolute;
  font-size: 40px;
  opacity: 0.15;
  pointer-events: none;
}

.download-floating:nth-child(1) { top: 15%;  left: 5%;  animation: float 4s ease-in-out infinite; }
.download-floating:nth-child(2) { top: 60%;  left: 10%; animation: float 4s ease-in-out infinite 1s; font-size: 30px; }
.download-floating:nth-child(3) { top: 20%;  right: 6%; animation: float 4s ease-in-out infinite 0.5s; }
.download-floating:nth-child(4) { bottom: 20%; right: 8%; animation: float 4s ease-in-out infinite 1.5s; font-size: 28px; }

/* ═══════════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════════ */
.contact {
  padding: 100px 0;
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info p  { margin-bottom: 28px; font-size: 1.05rem; }

.contact-items { display: flex; flex-direction: column; gap: 16px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.contact-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.contact-item .ci-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.contact-item .ci-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-item .ci-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
}

.contact-item .ci-value a {
  color: var(--primary);
  text-decoration: none;
}

.contact-item .ci-value a:hover { text-decoration: underline; }

/* ── Contact form ── */
.contact-form-wrap {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border);
}

.form-title {
  font-size: 1.4rem;
  margin-bottom: 24px;
  color: var(--dark);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.12);
  background: white;
}

.form-group textarea { height: 110px; }

.form-btn { width: 100%; justify-content: center; }

/* Toast */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--dark);
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  z-index: 9999;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.4s;
  white-space: nowrap;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 28px;
}

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

.footer-brand .nav-logo { margin-bottom: 14px; color: white; }

.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 280px; }

.footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: white; }

.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 24px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a { color: #6C63FF; }

/* ═══════════════════════════════════════════════
   SCROLL TO TOP
   ═══════════════════════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--gradient);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 500;
}

.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover   { transform: translateY(-3px); }

/* ═══════════════════════════════════════════════
   FADE-IN ANIMATIONS (JS driven)
   ═══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .features-grid  { grid-template-columns: repeat(2, 1fr); }
  .grades-grid    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: white;
    flex-direction: column;
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    gap: 2px;
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; width: 100%; border-radius: 10px; }
  .nav-cta { display: none; }

  .hero-grid      { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-desc      { margin: 0 auto 32px; }
  .hero-btns      { justify-content: center; }
  .hero-stats     { justify-content: center; }
  .hero-visual    { order: -1; }
  .phone-mockup   { width: 220px; height: 440px; }

  .modes-grid     { grid-template-columns: 1fr; }
  .contact-grid   { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid    { grid-template-columns: 1fr; }
  .footer-bottom  { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .features-grid  { grid-template-columns: 1fr; }
  .grades-grid    { grid-template-columns: 1fr 1fr; }
  .hero-btns      { flex-direction: column; align-items: center; }
  .download-btns  { flex-direction: column; align-items: center; }
  .contact-form-wrap { padding: 28px 20px; }
}
