*, *::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: 2.75rem; justify-content: center; align-items: flex-start;
  padding: 2rem 1.5rem 4rem; flex-wrap: wrap;
}
.store-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.store-badge {
  display: inline-block; line-height: 0;
  transition: opacity 0.15s, transform 0.15s;
}
.store-badge:hover { opacity: 0.85; transform: translateY(-1px); }
/* Badges détourés (sans padding transparent) → même hauteur = alignés. */
.store-badge img { display: block; width: auto; height: 44px; }
.store-soon { font-size: 0.72rem; color: var(--text-muted); opacity: 0.75; }

/* ── 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;
  color: var(--text);
}
.legal-page h1 {
  font-size: 2rem; margin-bottom: 1.5rem;
  color: var(--text); letter-spacing: -0.3px;
}
.legal-page h2 {
  font-size: 1.15rem; margin-top: 2rem; margin-bottom: 0.6rem;
  color: var(--text); font-weight: 600;
}
.legal-page p {
  color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem;
}
.legal-page p a {
  color: var(--accent); text-decoration: none;
  border-bottom: 1px solid rgba(74,158,255,0.35);
  transition: border-color 0.15s, color 0.15s;
}
.legal-page p a:hover {
  color: var(--text); border-bottom-color: var(--text);
}
.legal-page hr {
  border: 0; border-top: 1px solid rgba(255,255,255,0.08);
  margin: 2.5rem 0 1.5rem;
}
.legal-page .legal-meta {
  font-size: 0.85rem; color: var(--text-muted); opacity: 0.75;
  margin-bottom: 2rem;
}
.legal-page .legal-note {
  font-size: 0.8rem; color: var(--text-muted); opacity: 0.75;
  text-align: center;
}
.back-link {
  display: inline-block; color: var(--text);
  text-decoration: none; margin-top: 1rem;
  transition: color 0.15s;
}
.back-link:hover { color: var(--accent); }

/* ── Deletion form ── */
.deletion-form {
  display: flex; flex-direction: column; gap: 1.25rem;
  margin: 2rem 0 1.5rem;
}
.form-field { display: flex; flex-direction: column; gap: 0.45rem; }
.form-field label {
  font-size: 0.9rem; font-weight: 500; color: var(--text);
}
.form-field input,
.form-field textarea {
  font: inherit; color: var(--text);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px; padding: 10px 12px;
  transition: border-color 0.15s, background 0.15s;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(74,158,255,0.06);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,0.35); }
.form-field textarea { resize: vertical; min-height: 90px; font-family: inherit; }
.form-help {
  font-size: 0.8rem; color: var(--text-muted); opacity: 0.85;
  line-height: 1.45;
}
.form-error {
  font-size: 0.8rem; color: var(--red); min-height: 1em;
}
.form-submit {
  align-self: flex-start;
  background: var(--accent); color: #fff;
  border: 0; border-radius: 8px;
  padding: 11px 22px; font: inherit; font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.05s;
}
.form-submit:hover { background: #3a8ce8; }
.form-submit:active { transform: translateY(1px); }
.form-success {
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.35);
  border-radius: 10px; padding: 1rem 1.25rem;
  margin: 2rem 0 1rem;
}
.form-success strong { color: var(--green); display: block; margin-bottom: 0.35rem; }
.form-success p { margin: 0; color: var(--text); }
.form-notice {
  background: rgba(74,158,255,0.06);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  margin: 1rem 0 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ── 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; }
}
