*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #12213A;
  --bg-dark: #0D1A2E;
  --accent: #4A9EFF;
  --green: #4ADE80;
  --red: #E05252;
  --text: #FFFFFF;
  --text-muted: #B0BEC5;
  --radius: 12px;
}

html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Header ── */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(18, 33, 58, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(74, 158, 255, 0.15);
  padding: 0 1.5rem; height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-text { font-size: 20px; font-weight: 600; color: var(--text); letter-spacing: -0.3px; }
.logo-text span { color: var(--accent); }

/* ── Language switcher ── */
.lang-switch { display: flex; gap: 4px; }
.lang-btn {
  font-size: 13px; font-weight: 500;
  padding: 5px 11px; border-radius: 6px;
  text-decoration: none; color: var(--text-muted);
  transition: background 0.15s, color 0.15s;
}
.lang-btn:hover, .lang-btn.active {
  background: rgba(74, 158, 255, 0.15);
  color: var(--accent);
}

/* ── Main ── */
main { flex: 1; }

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 5rem 1.5rem 2rem;
  max-width: 760px;
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700; line-height: 1.15;
  letter-spacing: -0.5px; margin-bottom: 1rem;
}
.hero p {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 520px; margin: 0 auto; line-height: 1.6;
}

/* ── Presentation ── */
.presentation {
  display: flex; gap: 3rem; align-items: flex-start;
  justify-content: center; flex-wrap: wrap;
  padding: 3rem 1.5rem; max-width: 1100px; margin: 0 auto;
}
.mockup-wrap { flex-shrink: 0; }
.app-info {
  flex: 1; min-width: 280px;
  display: flex; flex-direction: column; gap: 1.5rem;
  padding-top: 2rem;
}
.app-icon-row { display: flex; align-items: center; gap: 14px; }
.app-name { font-size: 1.4rem; font-weight: 600; }
.app-name span { color: var(--accent); }
.features { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.features li {
  font-size: 0.95rem; color: var(--text-muted);
  display: flex; align-items: flex-start; gap: 8px; line-height: 1.4;
}
.features li::before { content: "→"; color: var(--accent); flex-shrink: 0; margin-top: 1px; }

/* ── Download buttons ── */
.download {
  display: flex; gap: 1rem; justify-content: center;
  padding: 2rem 1.5rem 4rem; flex-wrap: wrap;
}
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius); padding: 12px 24px;
  text-decoration: none; color: var(--text);
  font-size: 0.9rem; font-weight: 500;
  transition: background 0.15s, border-color 0.15s;
}
.store-btn:hover {
  background: rgba(74,158,255,0.1);
  border-color: rgba(74,158,255,0.4);
}

/* ── Footer ── */
footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.25rem 1.5rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  align-items: center; justify-content: center;
  font-size: 0.8rem; color: var(--text-muted);
}
footer a { color: var(--text-muted); text-decoration: none; }
footer a:hover { color: var(--accent); }
.footer-sep { opacity: 0.35; }

/* ── Legal pages ── */
.legal-page {
  max-width: 760px; margin: 4rem auto; padding: 0 1.5rem;
}
.legal-page h1 { font-size: 2rem; margin-bottom: 1.5rem; }
.legal-page p { color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; }
.back-link {
  display: inline-block; color: var(--accent);
  text-decoration: none; margin-top: 2rem;
}
.back-link:hover { text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .presentation { flex-direction: column; align-items: center; }
  .mockup-wrap { transform: scale(0.78); transform-origin: top center; margin-bottom: -3rem; }
  .app-info { padding-top: 0; }
}
