/* ── Landing page styles ── */

body.landing {
  display: block;
  min-height: 100vh;
  background: var(--bg);
}

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 60px;
  background: rgba(247,248,246,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
}
.nav-icon {
  border-radius: 9px;
  display: block;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-cta {
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  padding: 8px 18px;
  border-radius: 999px;
  text-decoration: none;
  transition: opacity .15s;
  min-width: 130px;
  text-align: center;
  display: inline-block;
}
.nav-cta:hover { opacity: .88; text-decoration: none; }

/* ── NAV ANCHORS (desktop) ── */
.nav-anchors {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-anchors a {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color .15s;
}
.nav-anchors a:hover { color: var(--brand-dark); }

/* ── LANGUAGE FLAGS STRIP ── */
.lang-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding: 14px 24px;
  background: rgba(95,187,86,.06);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.lang-strip-dot { color: var(--border); font-size: 16px; }

/* ── LANGUAGE SWITCHER ── */
.language-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0,0,0,.05);
  border-radius: 999px;
  padding: 3px 5px;
}
.language-switch button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  padding: 3px 4px;
  border-radius: 999px;
  opacity: .45;
  transition: opacity .15s, transform .1s;
}
.language-switch button:hover { opacity: .8; transform: scale(1.12); }
.language-switch button.active { opacity: 1; transform: scale(1.18); }
.lang-mobile-toggle { display: none; align-items: center; gap: 4px; font-size: 18px; background: none; border: none; cursor: pointer; padding: 3px 6px; border-radius: 999px; opacity: .8; }
.lang-mobile-toggle:hover { opacity: 1; }
.lang-mobile-menu { display: none; }

/* ── HERO ── */
.hero {
  padding: 72px 24px 80px;
  background: radial-gradient(ellipse at 60% 0%, #d4f0d0 0%, transparent 60%),
              radial-gradient(ellipse at 10% 80%, #e8f5e6 0%, transparent 50%);
}
.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}
.hero-text { flex: 1; min-width: 0; }
.hero-badge {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  padding: 5px 14px;
  color: var(--brand-dark);
  margin-bottom: 20px;
}
.hero-text h1 {
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--text);
}
.hero-text p {
  font-size: 18px;
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 32px;
  line-height: 1.6;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 28px;
  border-radius: 16px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(95,187,86,.32);
  transition: transform .15s, box-shadow .15s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(95,187,86,.38);
  text-decoration: none;
}
.btn-large { font-size: 18px; padding: 18px 36px; border-radius: 20px; }
.btn-secondary {
  display: inline-block;
  background: #fff;
  color: var(--brand-dark);
  border: 1.5px solid var(--brand);
  font-size: 15px;
  font-weight: 650;
  padding: 13px 24px;
  border-radius: 14px;
  text-decoration: none;
  transition: background .15s;
}
.btn-secondary:hover { background: #f0faf0; text-decoration: none; }
.hero-free {
  margin-top: 14px;
  font-size: 13px;
  color: #8a9688;
}

/* phone mockup */
.hero-visual { flex-shrink: 0; }
.phone-mockup {
  width: 220px;
  height: 420px;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 16px;
  box-shadow: 0 40px 80px rgba(0,0,0,.22), 0 0 0 2px #333;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 16px;
}

/* ── SHARED SECTION ── */
.section { padding: 80px 24px; }
.section-tinted { background: rgba(95,187,86,.05); }
.container {
  max-width: 1000px;
  margin: 0 auto;
}
.section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 48px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ── CARDS GRID ── */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
}
.feature-icon { font-size: 36px; margin-bottom: 14px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature-card p { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ── HOW IT WORKS ── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 680px;
  margin: 48px auto 0;
}
.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  margin-top: 2px;
}
.step-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.step-body p { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ── TRAINING MODES ── */
.modes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.mode-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 16px 20px;
  text-align: center;
}
.mode-card.mode-free { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.mode-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 14px;
  background: var(--brand);
  color: #fff;
}
.mode-badge-premium { background: #f5a623; }
.mode-emoji { font-size: 36px; margin-bottom: 10px; }
.mode-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.mode-card p { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ── LANGUAGES ── */
.flags-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin: 48px 0 20px;
}
.flag-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.flag { font-size: 48px; }
.langs-note { text-align: center; font-size: 14px; color: #aaa; margin-top: 8px; }

/* ── PRICING ── */
.pricing-container { max-width: 680px; }

.billing-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f0f1ef;
  border-radius: 999px;
  padding: 4px;
  width: fit-content;
  margin: 0 auto 32px;
}
.billing-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--muted);
  transition: background .15s, color .15s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.billing-btn.active {
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
}
.save-badge {
  background: #e8f5e6;
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: .02em;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}
.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.pricing-card-featured {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), 0 16px 40px rgba(95,187,86,.14);
}
.pricing-label { font-size: 13px; font-weight: 800; letter-spacing: .06em; color: var(--brand); text-transform: uppercase; margin-bottom: 10px; }
.pricing-price { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 24px; }
.pricing-price #price-amount { font-size: 40px; font-weight: 800; color: var(--text); }
.pricing-price #per-month { font-size: 18px; font-weight: 500; color: var(--muted); }
.pricing-list { flex: 1; }
.pricing-list { list-style: none; padding: 0; margin-bottom: 28px; }
.pricing-list li { font-size: 15px; padding: 6px 0; border-bottom: 1px solid #f0f1ef; color: #333; }
.pricing-list li:last-child { border-bottom: none; }

/* ── ROADMAP ── */
.roadmap { max-width: 680px; margin: 48px auto 0; }
.roadmap-version { margin-bottom: 36px; }
.roadmap-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.roadmap-done { background: #e8f5e6; color: var(--brand-dark); }
.roadmap-next { background: #fff4e0; color: #b86e00; }
.roadmap-future { background: #f0f1ef; color: #666; }
.roadmap-list { list-style: none; padding: 0; }
.roadmap-list li { font-size: 15px; color: #333; padding: 6px 0 6px 4px; border-bottom: 1px solid #f0f1ef; line-height: 1.5; }
.roadmap-list li:last-child { border-bottom: none; }

/* ── STORY ── */
.for-whom-cta {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 2rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.story-container {
  max-width: 600px;
  text-align: center;
}
.story-icon { font-size: 52px; margin-bottom: 20px; }
.story-container h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 20px; }
.story-container p { font-size: 17px; color: #444; line-height: 1.75; margin-bottom: 16px; }
.story-sig { font-size: 15px; color: var(--muted); font-style: italic; margin-top: 8px; }

/* ── DOWNLOAD CTA ── */
.cta-section { background: radial-gradient(ellipse at 50% 0%, #d4f0d0 0%, transparent 70%); text-align: center; }
.cta-container { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-icon { border-radius: 20px; box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.cta-section h2 { font-size: clamp(26px, 3.5vw, 40px); font-weight: 800; letter-spacing: -0.03em; }
.cta-section p { font-size: 17px; color: var(--muted); margin-bottom: 8px; }

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  background: #fff;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; }
.footer-links a { font-size: 14px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--brand-dark); }
.footer-instagram { display: inline-flex; align-items: center; gap: 5px; }
.footer-copy { font-size: 13px; color: #aaa; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero-inner { flex-direction: column; gap: 40px; text-align: center; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-visual { order: -1; }
  .phone-mockup { width: 160px; height: 300px; }
  .phone-app-icon { width: 72px; height: 72px; }
  .cards-grid-3 { grid-template-columns: 1fr; }
  .modes-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .flags-row { gap: 16px; }
  .flag { font-size: 36px; }
  .nav-anchors { display: none; }
}
@media (max-width: 480px) {
  .section { padding: 56px 20px; }
  .modes-grid { grid-template-columns: 1fr; }
  .nav { padding: 0 16px; }
  .language-switch { position: relative; }
  .language-switch > button:not(.lang-mobile-toggle) { display: none; }
  .lang-mobile-toggle { display: flex; }
  .lang-mobile-menu {
    position: absolute; right: 0; top: calc(100% + 8px);
    background: #fff; border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,.15);
    padding: 8px; gap: 4px; z-index: 200; flex-direction: column;
  }
  .language-switch.open .lang-mobile-menu { display: flex; }
}
