/* ==========================================================================
   BandMate — landing page
   Design tokens mirror the Flutter app (navy/blue/cyan/green, bold type,
   rounded controls, soft mesh-gradient atmosphere).
   ========================================================================== */

:root {
  /* brand */
  --navy: #071a3d;
  --blue: #1463ff;
  --blue-bright: #28b8f7;
  --cyan: #14d9f5;
  --green: #24c57a;
  --yellow: #f5b82e;
  --purple: #8b5cf6;
  --amber: #f59e0b;

  /* light theme surfaces */
  --bg: #f7faff;
  --bg-2: #eef5ff;
  --surface: #ffffff;
  --surface-2: #f2f7ff;
  --text: #071a3d;
  --muted: #55638a;
  --line: #e6eefc;
  --border: rgba(7, 26, 61, 0.08);

  --grad-brand: linear-gradient(135deg, var(--blue), var(--cyan));
  --grad-hero: linear-gradient(100deg, var(--navy) 0%, var(--blue) 45%, var(--blue-bright) 100%);
  --shadow-sm: 0 4px 14px rgba(7, 26, 61, 0.06);
  --shadow: 0 18px 40px rgba(7, 26, 61, 0.09);
  --shadow-blue: 0 20px 50px rgba(20, 99, 255, 0.28);

  --r-sm: 14px;
  --r: 18px;
  --r-lg: 24px;
  --r-xl: 30px;
  --maxw: 1180px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto,
    "Helvetica Neue", "Inter", system-ui, sans-serif;
}

:root[data-theme="dark"] {
  --bg: #07101f;
  --bg-2: #0a172b;
  --surface: #101d31;
  --surface-2: #0c1a2e;
  --text: #f4f7ff;
  --muted: #9fb0cf;
  --line: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.09);
  --shadow: 0 22px 50px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.35);
  --grad-hero: linear-gradient(100deg, #9fc2ff 0%, var(--blue-bright) 55%, var(--cyan) 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { margin: 0; letter-spacing: -0.02em; font-weight: 900; line-height: 1.05; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
picture { display: contents; }

.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

/* ---------- ambient mesh gradient ---------- */
.mesh { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5;
  will-change: transform;
}
.blob--cyan { width: 46vw; height: 46vw; left: -12vw; top: -10vw;
  background: radial-gradient(circle, rgba(20, 217, 245, 0.55), transparent 70%);
  animation: drift1 22s var(--ease) infinite alternate; }
.blob--blue { width: 52vw; height: 52vw; right: -18vw; top: 14vh;
  background: radial-gradient(circle, rgba(20, 99, 255, 0.4), transparent 70%);
  animation: drift2 26s var(--ease) infinite alternate; }
.blob--green { width: 40vw; height: 40vw; left: 10vw; bottom: -18vw;
  background: radial-gradient(circle, rgba(36, 197, 122, 0.28), transparent 70%);
  animation: drift3 30s var(--ease) infinite alternate; }
:root[data-theme="dark"] .blob { opacity: 0.38; }
@keyframes drift1 { to { transform: translate(8vw, 10vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-6vw, 8vh) scale(1.1); } }
@keyframes drift3 { to { transform: translate(6vw, -6vh) scale(1.2); } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; }
.brand-mark { display: grid; place-items: center; border-radius: 11px; overflow: hidden;
  box-shadow: 0 6px 16px rgba(20, 99, 255, 0.3); }
.brand-mark svg { display: block; }
.brand-name { font-size: 1.2rem; letter-spacing: -0.02em; }
.nav { display: flex; gap: 26px; margin-left: 18px; }
.nav a { color: var(--muted); font-weight: 700; font-size: 0.94rem; transition: color 0.2s; }
.nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.lang { display: inline-flex; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 999px; padding: 3px; }
.lang-btn {
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
  font-weight: 800; font-size: 0.8rem; padding: 6px 11px; border-radius: 999px;
  font-family: inherit; transition: color 0.2s, background 0.2s;
}
.lang-btn.is-active { background: var(--surface); color: var(--blue); box-shadow: var(--shadow-sm); }

.theme-toggle {
  width: 38px; height: 38px; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2);
  color: var(--text);
}
.theme-toggle .i-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: block; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 800; font-family: inherit; cursor: pointer; border: 0;
  border-radius: var(--r); padding: 14px 24px; font-size: 1rem; transition: transform 0.15s var(--ease), box-shadow 0.25s, filter 0.2s;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { filter: brightness(1.05); box-shadow: 0 24px 60px rgba(20, 99, 255, 0.4); }

.menu-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--border);
  background: var(--surface-2); border-radius: 12px; cursor: pointer; flex-direction: column;
  gap: 4px; align-items: center; justify-content: center; }
.menu-toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; gap: 6px; padding: 8px 20px 18px;
  background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line); }
.mobile-nav a { padding: 12px 8px; font-weight: 800; border-radius: 12px; }
.mobile-nav a.btn { justify-content: center; margin-top: 6px; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px; align-items: center;
  padding: clamp(30px, 6vw, 70px) 0 clamp(40px, 6vw, 80px);
  min-height: min(88vh, 820px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px;
  font-weight: 800; font-size: 0.82rem; color: var(--muted); box-shadow: var(--shadow-sm);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 4px rgba(36, 197, 122, 0.18); }
.display {
  font-size: clamp(2.6rem, 6.4vw, 4.4rem); letter-spacing: -0.045em; margin: 18px 0 16px;
}
.display .grad {
  background: var(--grad-hero); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--muted); font-weight: 600;
  max-width: 30ch; }

.store-badges { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.store-badges.center { justify-content: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px; background: var(--navy); color: #fff;
  padding: 11px 18px; border-radius: 15px; transition: transform 0.15s var(--ease), box-shadow 0.25s;
  box-shadow: 0 10px 26px rgba(7, 26, 61, 0.22);
}
:root[data-theme="dark"] .store-badge { background: #fff; color: var(--navy); }
.store-badge.dark { background: var(--navy); color: #fff; }
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(7, 26, 61, 0.3); }
.store-badge span { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge small { font-size: 0.66rem; opacity: 0.8; font-weight: 600; }
.store-badge b { font-size: 1.05rem; font-weight: 800; }
.hero-note, .soon-note { margin-top: 16px; color: var(--muted); font-weight: 600; font-size: 0.9rem;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.soon-note { justify-content: center; }
.soon-pill { background: rgba(20, 99, 255, 0.12); color: var(--blue); font-weight: 800;
  padding: 4px 10px; border-radius: 999px; font-size: 0.76rem; }

/* hero stage */
.hero-stage { position: relative; display: grid; place-items: center; min-height: 440px; }
.stage-glow {
  position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 217, 245, 0.35), rgba(20, 99, 255, 0.14) 45%, transparent 70%);
  filter: blur(6px);
}
.hero-mascot { position: relative; z-index: 2; }
.hero-mascot img { width: min(78%, 420px); height: auto; margin-inline: auto;
  filter: drop-shadow(0 30px 40px rgba(7, 26, 61, 0.28)); }
.float { animation: floaty 6s ease-in-out infinite; }
.float-slow { animation: floaty 8s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-14px); } }

.phone {
  position: absolute; right: -2%; bottom: 2%; z-index: 3; width: 152px;
  border-radius: 30px; padding: 7px; background: linear-gradient(160deg, #1b2942, #0a1220);
  box-shadow: 0 30px 60px rgba(7, 26, 61, 0.4); border: 1px solid rgba(255, 255, 255, 0.08);
}
.phone-screen { border-radius: 24px; overflow: hidden; background: #eaf3ff; aspect-ratio: 270/586; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.chip {
  position: absolute; left: -2%; top: 16%; z-index: 4; display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 10px 14px; box-shadow: var(--shadow);
}
.chip-icon { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  background: rgba(36, 197, 122, 0.16); color: var(--green); font-weight: 900; }
.chip small { display: block; font-size: 0.68rem; color: var(--muted); font-weight: 700; }
.chip b { font-size: 0.9rem; }

/* ---------- stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 8px auto 20px;
  padding: 22px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); box-shadow: var(--shadow-sm);
}
.stat { text-align: center; }
.stat b { display: block; font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 900;
  background: var(--grad-hero); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; }
.stat span { color: var(--muted); font-weight: 600; font-size: 0.86rem; }

/* ---------- sections ---------- */
.section { padding: clamp(50px, 8vw, 96px) 0; }
.section-head { max-width: 640px; margin-bottom: 42px; }
.section-head.centered { margin-inline: auto; text-align: center; }
.kicker { display: inline-block; color: var(--blue); font-weight: 900; letter-spacing: 0.14em;
  text-transform: uppercase; font-size: 0.78rem; margin-bottom: 12px; }
.kicker.on-dark { color: var(--cyan); }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
.section-head p { margin-top: 14px; font-size: 1.1rem; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 28px 26px; box-shadow: var(--shadow-sm); overflow: hidden; }
.step-num { position: absolute; right: 22px; top: 16px; font-size: 3.4rem; font-weight: 900;
  color: var(--text); opacity: 0.06; }
.step-ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center;
  color: #fff; margin-bottom: 18px; }
.ic-blue { background: linear-gradient(135deg, var(--blue), var(--blue-bright)); }
.ic-cyan { background: linear-gradient(135deg, var(--blue-bright), var(--cyan)); }
.ic-green { background: linear-gradient(135deg, var(--green), #42daa0); }
.step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-weight: 500; }

/* ---------- interactive demo ---------- */
.demo-card {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 46px); box-shadow: var(--shadow); overflow: hidden;
}
.demo-left h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 12px 0 12px; }
.demo-transcript { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; min-height: 96px; }
.bubble { max-width: 88%; padding: 12px 16px; border-radius: 16px; font-weight: 600; font-size: 0.95rem;
  animation: pop 0.35s var(--ease); }
.bubble.user { align-self: flex-end; background: var(--grad-brand); color: #fff; border-bottom-right-radius: 5px; }
.bubble.bot { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--border);
  border-bottom-left-radius: 5px; }
.bubble.correct { align-self: flex-start; background: rgba(36, 197, 122, 0.1);
  border: 1px solid rgba(36, 197, 122, 0.28); }
.bubble.correct b { color: var(--green); }
.bubble small { display: block; color: var(--muted); font-weight: 700; font-size: 0.72rem; margin-bottom: 2px; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(0.98); } }

.demo-right { position: relative; display: grid; place-items: center; min-height: 380px; align-content: end; }
.demo-mascot img { width: min(74%, 280px); height: auto; filter: drop-shadow(0 24px 30px rgba(7, 26, 61, 0.24)); }
.demo-glow { position: absolute; inset: auto 0 90px 0; margin: auto; width: 220px; height: 180px;
  border-radius: 50%; background: radial-gradient(circle, rgba(20, 217, 245, 0.12), transparent 70%);
  transition: opacity 0.4s, transform 0.4s; }
.demo-right.active .demo-glow { background: radial-gradient(circle, rgba(20, 217, 245, 0.34), rgba(20, 99, 255, 0.16) 50%, transparent 72%); transform: scale(1.1); }
.mic-btn {
  position: relative; z-index: 2; width: 92px; height: 92px; border-radius: 50%; border: 0; cursor: pointer;
  margin-top: -18px; color: #fff; background: var(--grad-brand); box-shadow: var(--shadow-blue);
  display: grid; place-items: center; transition: transform 0.2s var(--ease), box-shadow 0.3s;
}
.mic-btn:hover { transform: scale(1.05); }
.mic-btn.listening { animation: pulse 0.9s ease-in-out infinite; }
.mic-btn.complete { background: linear-gradient(135deg, var(--green), #42daa0); box-shadow: 0 20px 50px rgba(36, 197, 122, 0.35); }
@keyframes pulse { 50% { transform: scale(1.08); box-shadow: 0 24px 60px rgba(20, 99, 255, 0.45); } }
.mic-label { margin-top: 14px; font-weight: 900; font-size: 1.05rem; }

/* ---------- features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 26px 22px; box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), box-shadow 0.25s;
  border-top: 3px solid var(--fc); }
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center;
  color: var(--fc); background: color-mix(in srgb, var(--fc) 14%, transparent); margin-bottom: 16px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-weight: 500; font-size: 0.94rem; }
.feature--wide { grid-column: span 4; display: flex; gap: 20px; align-items: center; }
.feature--wide .feature-ic { flex-shrink: 0; margin-bottom: 0; }

/* ---------- IELTS ---------- */
.ielts-card {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
  background: linear-gradient(135deg, #0a2a66, #071a3d 55%, #0b1730);
  border-radius: var(--r-xl); padding: clamp(30px, 5vw, 60px); color: #fff; overflow: hidden;
  position: relative; box-shadow: 0 30px 70px rgba(7, 26, 61, 0.35);
}
.ielts-card::after { content: ""; position: absolute; right: -10%; top: -30%; width: 50%; height: 160%;
  background: radial-gradient(circle, rgba(20, 217, 245, 0.35), transparent 60%); }
.ielts-copy { position: relative; z-index: 1; }
.ielts-card h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin: 12px 0 16px; }
.ielts-copy p { color: rgba(255, 255, 255, 0.78); font-size: 1.1rem; font-weight: 500; max-width: 46ch; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; font-weight: 600; color: rgba(255, 255, 255, 0.92); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 22px; height: 22px;
  display: grid; place-items: center; border-radius: 7px; background: rgba(36, 197, 122, 0.9);
  color: #04231a; font-weight: 900; font-size: 0.8rem; }
.ielts-band { position: relative; z-index: 1; display: grid; gap: 20px; }
.band-ring { width: 150px; height: 150px; border-radius: 50%; margin-inline: auto; display: grid;
  place-items: center; background: conic-gradient(var(--cyan) 0 78%, rgba(255, 255, 255, 0.12) 78%);
  position: relative; }
.band-ring::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: #08182f; }
.band-num { position: relative; font-size: 2.4rem; font-weight: 900; color: #fff; }
.band-label { position: relative; font-size: 0.72rem; color: var(--cyan); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em; }
.band-bars { display: grid; gap: 12px; }
.band-bars .bar { display: grid; grid-template-columns: 88px 1fr; align-items: center; gap: 12px;
  font-weight: 700; font-size: 0.86rem; color: rgba(255, 255, 255, 0.85); }
.band-bars .bar i { height: 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); position: relative; }
.band-bars .bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v);
  border-radius: 999px; background: linear-gradient(90deg, var(--blue-bright), var(--cyan));
  transform-origin: left; transition: width 1.1s var(--ease); }
/* bars grow when the IELTS card scrolls into view */
.ielts-card:not(.in) .band-bars .bar i::after { width: 0; }

/* ---------- companion ---------- */
.companion { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; }
.companion-visual { position: relative; display: grid; place-items: center; }
.companion-visual img { width: min(74%, 360px); filter: drop-shadow(0 30px 40px rgba(7, 26, 61, 0.28)); }
.companion-glow { position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 99, 255, 0.25), transparent 68%); }
.companion-copy h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 12px 0 14px; }
.traits { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 14px; }
.trait { background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 9px 16px; font-weight: 800; font-size: 0.9rem; box-shadow: var(--shadow-sm); }

/* ---------- final CTA ---------- */
.cta-card { position: relative; text-align: center; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-xl); padding: clamp(40px, 7vw, 80px) 24px;
  box-shadow: var(--shadow); overflow: hidden; }
.cta-glow { position: absolute; inset: -40% 0 auto 0; margin: auto; width: 60%; height: 340px;
  background: radial-gradient(circle, rgba(20, 217, 245, 0.3), rgba(20, 99, 255, 0.14) 45%, transparent 70%);
  filter: blur(10px); }
.cta-card h2 { position: relative; font-size: clamp(2rem, 5vw, 3.4rem); }
.cta-card p { position: relative; color: var(--muted); font-size: 1.15rem; font-weight: 600;
  max-width: 44ch; margin: 16px auto 30px; }
.cta-card .store-badges { position: relative; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 30px; padding: 46px 0 30px;
  background: var(--surface); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 30px; align-items: start; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { max-width: 30ch; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--muted); font-weight: 600; }
.footer-links a:hover { color: var(--text); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); transition: 0.2s; }
.footer-social a:hover { color: var(--blue); transform: translateY(-2px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted);
  font-weight: 600; font-size: 0.88rem; flex-wrap: wrap; }
.footer-lang .lang-btn { font-size: 0.82rem; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float, .float-slow, .blob, .mic-btn.listening { animation: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature--wide { grid-column: span 2; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .header-actions .btn-primary { display: none; }
  .site-header.open .mobile-nav { display: flex; }
  .hero { grid-template-columns: 1fr; text-align: center; gap: 10px; padding-top: 24px; }
  .hero-copy { order: 2; }
  .hero-stage { order: 1; min-height: 360px; }
  .lead { margin-inline: auto; }
  .store-badges { justify-content: center; }
  .hero-note { justify-content: center; }
  .steps { grid-template-columns: 1fr; }
  .demo-card { grid-template-columns: 1fr; }
  .demo-right { order: -1; min-height: 320px; }
  .ielts-card { grid-template-columns: 1fr; gap: 30px; }
  .companion { grid-template-columns: 1fr; text-align: center; }
  .companion-copy .traits { justify-content: center; }
  .companion-visual { order: -1; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .header-actions .lang { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature--wide { grid-column: span 1; flex-direction: column; text-align: center; align-items: flex-start; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .phone { width: 116px; right: 0; }
  .chip { left: 0; padding: 8px 11px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
