/* ── Variables ─────────────────────────────────────────── */
:root {
  --navy: #1B2D4B;
  --navy-light: #2A4066;
  --teal: #2E9E8F;
  --teal-dark: #238578;
  --teal-light: #E8F6F4;
  --coral: #E8563B;
  --coral-light: #FEF0ED;
  --amber: #F5A03B;
  --amber-light: #FFF6E8;
  --cyan: #5EC8D4;

  --bg: #F5F4F0;
  --bg-warm: #EFEEE9;
  --white: #FFFFFF;
  --ink: #1A1D2B;
  --ink-soft: #5A6178;
  --ink-muted: #8B91A5;
  --line: #E4E7EE;
  --line-soft: #F0F2F6;

  --shadow-sm: 0 1px 3px rgba(27, 45, 75, 0.06);
  --shadow-md: 0 8px 30px rgba(27, 45, 75, 0.08);
  --shadow-lg: 0 20px 50px rgba(27, 45, 75, 0.10);
  --shadow-glow: 0 0 60px rgba(46, 158, 143, 0.12);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 999px;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', sans-serif;

  --max-width: 1200px;
  --header-height: 72px;
}

/* ── Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p { margin: 0; }
blockquote { margin: 0; padding: 0; }

/* ── Utilities ────────────────────────────────────────── */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
}

.section-head {
  margin-bottom: 48px;
  max-width: 640px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--navy);
  margin-top: 8px;
}

.section-sub {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--teal-light);
  border: 1px solid rgba(46, 158, 143, 0.2);
}

/* ── Header ───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: rgba(245, 244, 240, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  image-rendering: -webkit-optimize-contrast;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 200ms ease;
  position: relative;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--navy);
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transition: width 200ms ease;
}

.site-nav a:hover::after {
  width: 100%;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 700;
  cursor: pointer;
  transition: all 200ms ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  padding: 10px 22px;
  font-size: 0.92rem;
  box-shadow: 0 4px 14px rgba(46, 158, 143, 0.25);
}

.btn-primary:hover {
  background: var(--teal-dark);
  box-shadow: 0 6px 20px rgba(46, 158, 143, 0.35);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 250ms ease;
}

/* ── Hero Logo ────────────────────────────────────────── */
.hero-logo {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  box-shadow: 0 8px 30px rgba(46, 158, 143, 0.18);
  margin-bottom: 20px;
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 80px;
  min-height: calc(100vh - var(--header-height));
}

.hero-content {
  max-width: 560px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  color: var(--navy);
  margin-top: 16px;
  margin-bottom: 20px;
}

.hero-lead {
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 52ch;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(27, 45, 75, 0.2);
  transition: all 200ms ease;
  min-width: 190px;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(27, 45, 75, 0.28);
  background: var(--navy-light);
}

.store-badge svg {
  flex-shrink: 0;
  opacity: 0.9;
}

.store-top {
  display: block;
  font-size: 0.72rem;
  opacity: 0.75;
  letter-spacing: 0.02em;
}

.store-main {
  display: block;
  font-size: 1.08rem;
  font-weight: 700;
}

/* ── Beta Signup ──────────────────────────────────────── */
.beta-signup {
  max-width: 520px;
  margin-top: 24px;
}

.beta-badge {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.beta-form-row {
  display: flex;
  gap: 8px;
}

.beta-input {
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  transition: border-color 200ms;
  outline: none;
}

.beta-input:focus {
  border-color: var(--teal);
}

.beta-input::placeholder {
  color: var(--ink-muted);
}

.beta-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.beta-form-row .btn {
  white-space: nowrap;
  padding: 14px 28px;
  flex-shrink: 0;
}

.beta-form-row .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.platform-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.platform-label {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-right: 4px;
}

.platform-pill {
  padding: 6px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-full);
  background: var(--white);
  font-size: 0.85rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 200ms;
  color: var(--ink-soft);
}

.platform-pill:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.platform-pill.active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.beta-feedback {
  margin-top: 12px;
  font-size: 0.9rem;
  min-height: 1.4em;
}

.beta-feedback.success {
  color: var(--teal-dark);
  font-weight: 500;
}

.beta-feedback.error {
  color: var(--coral);
}

.beta-signup-cta {
  margin: 24px auto 0;
}

.beta-signup-cta .beta-form-row {
  justify-content: center;
}

.beta-signup-cta .platform-pills {
  justify-content: center;
}

.beta-signup-cta .beta-feedback {
  text-align: center;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  max-width: clamp(160px, 30vw, 340px);
}

.phone-mockup img {
  width: 100%;
  border: 10px solid var(--navy);
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(27, 45, 75, 0.15);
  display: block;
}

/* ── Stats ────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 300ms ease;
}

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

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 4px;
}

.stat-card:nth-child(2) .stat-number { color: var(--navy); }
.stat-card:nth-child(3) .stat-number { color: var(--coral); }
.stat-card:nth-child(4) .stat-number { color: var(--amber); }

.stat-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ── Features ─────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: all 300ms ease;
}

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

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

.feature-card:nth-child(2) .feature-icon,
.feature-card:nth-child(5) .feature-icon { background: var(--amber-light); }
.feature-card:nth-child(3) .feature-icon,
.feature-card:nth-child(6) .feature-icon { background: var(--coral-light); }

.feature-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ── How It Works ─────────────────────────────────────── */
#how-it-works {
  background: var(--bg-warm);
  max-width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}

#how-it-works .section-head,
#how-it-works .steps-grid {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

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

.step-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: all 300ms ease;
}

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

.step-number {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(46, 158, 143, 0.3);
}

.step-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.step-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ── Showcase ─────────────────────────────────────────── */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.showcase-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 300ms ease;
}

.showcase-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.showcase-phone {
  display: flex;
  justify-content: center;
  padding: 32px 32px 0;
  background: linear-gradient(180deg, var(--teal-light) 0%, var(--bg) 100%);
}

.showcase-phone img {
  max-width: 100%;
  border: 10px solid var(--navy);
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(27, 45, 75, 0.15);
}

.showcase-text {
  padding: 24px;
}

.showcase-text h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.showcase-text p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ── Language Gallery ─────────────────────────────────── */
#languages {
  background: linear-gradient(170deg, var(--teal-light) 0%, var(--bg) 100%);
  max-width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}

#languages .section-head {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

#languages .gallery-grid {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

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

.gallery-item {
  text-align: center;
  transition: all 300ms ease;
}

.gallery-item:hover {
  transform: translateY(-6px);
}

.gallery-phone {
  background: var(--navy);
  border-radius: 28px;
  padding: 10px;
  box-shadow: 0 20px 40px rgba(27, 45, 75, 0.15);
  overflow: hidden;
  margin-bottom: 16px;
}

.gallery-phone img {
  width: 100%;
  border-radius: 18px;
  display: block;
}

.gallery-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
}

/* ── Supported Languages Grid ────────────────────────── */
.lang-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.lang-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
  transition: all 300ms ease;
}

.lang-chip:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--teal);
}

.lang-flag {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.lang-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── FAQ ──────────────────────────────────────────────── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 200ms ease;
}

.faq-item:hover {
  border-color: var(--teal);
}

.faq-item[open] {
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink-muted);
  flex-shrink: 0;
  transition: transform 200ms ease;
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item p {
  padding: 0 24px 20px;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ── Final CTA ────────────────────────────────────────── */
.final-cta {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(46, 158, 143, 0.15);
  filter: blur(60px);
  pointer-events: none;
}

.final-cta::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(245, 160, 59, 0.1);
  filter: blur(50px);
  pointer-events: none;
}

.final-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  position: relative;
  z-index: 1;
}

.final-cta p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.final-cta .store-row {
  justify-content: center;
  position: relative;
  z-index: 1;
}

.final-cta .store-badge {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.final-cta .store-badge:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ── Footer ───────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 32px;
}

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

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
  image-rendering: -webkit-optimize-contrast;
  object-fit: contain;
}

.footer-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  display: block;
  margin-bottom: 8px;
}

.footer-brand p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 200ms;
}

.footer-col a:hover {
  color: var(--teal-dark);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: var(--ink-muted);
  font-size: 0.85rem;
}

/* ── Legal Pages (Imprint, Privacy) ──────────────────── */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.legal-page h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 8px;
}

.legal-page .legal-updated {
  color: var(--ink-muted);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-page h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-top: 28px;
  margin-bottom: 8px;
}

.legal-page p {
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-page ul {
  color: var(--ink-soft);
  line-height: 1.75;
  margin: 8px 0 16px 20px;
  padding: 0;
}

.legal-page li {
  margin-bottom: 6px;
}

.legal-page a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page a:hover {
  color: var(--teal);
}

.legal-page .legal-address {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 16px 0;
  line-height: 1.8;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: 32px;
  font-size: 0.92rem;
}

.legal-back:hover {
  color: var(--teal);
}

/* ── CTA Logo ────────────────────────────────────────── */
.cta-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

/* ── Exercise Scroll ─────────────────────────────────── */
#exercises {
  max-width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}

#exercises .section-head {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.exercise-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 24px 24px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.exercise-scroll::before,
.exercise-scroll::after {
  content: '';
  flex: 1;
}

.exercise-scroll::-webkit-scrollbar {
  display: none;
}

.exercise-scroll-item {
  flex: 0 0 300px;
  scroll-snap-align: start;
  text-align: center;
  transition: transform 300ms ease;
}

.exercise-scroll-item:hover {
  transform: translateY(-4px);
}

.exercise-scroll-item img {
  width: 100%;
  border: 10px solid var(--navy);
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(27, 45, 75, 0.15);
  display: block;
}

.exercise-scroll-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  margin-top: 12px;
  display: block;
}

/* ── Animations ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

/* ── Mobile Menu ──────────────────────────────────────── */
.mobile-menu-btn.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-lead {
    max-width: 60ch;
  }

  .store-row {
    justify-content: center;
  }

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

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .lang-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .exercise-scroll-item {
    flex: 0 0 260px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .site-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    box-shadow: var(--shadow-md);
    z-index: 99;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    font-size: 1rem;
    padding: 8px 0;
  }

  .site-nav a::after {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .header-actions .btn {
    display: none;
  }

  .section {
    padding: 56px 20px;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
  }

  .hero h1 br {
    display: none;
  }

  .stats-grid,
  .feature-grid,
  .showcase-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .lang-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-phone {
    padding: 8px;
    border-radius: 24px;
  }

  .gallery-phone img {
    border-radius: 16px;
  }

  .showcase-phone {
    padding: 24px 24px 0;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-logo {
    width: 64px;
    height: 64px;
    border-radius: 14px;
  }

  .cta-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .exercise-scroll {
    gap: 16px;
  }

  .exercise-scroll::before,
  .exercise-scroll::after {
    display: none;
  }

  .exercise-scroll-item {
    flex: 0 0 clamp(180px, 55vw, 260px);
  }

  .final-cta {
    padding: 40px 24px;
    border-radius: var(--radius-lg);
  }

  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .store-badge {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 0 16px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    gap: 12px;
  }

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

  .lang-chip {
    padding: 10px 12px;
  }

  .lang-name {
    font-size: 0.82rem;
  }

  .beta-form-row {
    flex-direction: column;
  }

  .beta-form-row .btn {
    width: 100%;
  }
}
