:root {
  --ink: #0b1220;
  --surface: #141c2f;
  --card: #1a2438;
  --line: #2a3854;
  --text: #f4f7fb;
  --muted: #b7c3d6;
  --fog: #7e8ba3;
  --green: #3ddc97;
  --green-dim: #143528;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  min-height: 100vh;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: min(880px, calc(100% - 32px)); margin: 0 auto; }

header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(11, 18, 32, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.bar {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 68px;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex: 0 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
  white-space: nowrap;
}

.mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.hero-icon {
  width: 112px;
  height: 112px;
  border-radius: 26px;
  display: block;
  margin-bottom: 16px;
}

html[data-lang="ar"] .mark-en,
html[data-lang="ar"] .brand-latin { display: none; }
html:not([data-lang="ar"]) .mark-ar { display: none; }

nav { display: flex; gap: 16px; margin-inline-start: auto; }
nav a { color: var(--muted); font-size: 14px; font-weight: 600; }
nav a[aria-current="page"] { color: var(--green); }

.langs { display: flex; gap: 6px; }
.langs button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 4px 8px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.langs button[aria-pressed="true"] {
  background: var(--green-dim);
  color: var(--green);
  border-color: transparent;
}

main { padding: 36px 0 64px; }

.hero h1, article h1 {
  margin: 0 0 8px;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.lead { color: var(--muted); font-size: 18px; max-width: 40rem; }

.backdrop {
  position: fixed;
  inset: -48px;
  width: calc(100% + 96px);
  height: calc(100% + 96px);
  object-fit: cover;
  filter: blur(28px) saturate(1.25) brightness(0.45);
  z-index: -2;
}

.veil {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.2), rgba(11, 18, 32, 0.72));
  pointer-events: none;
}

.stage { width: min(1080px, calc(100% - 32px)); }

.poster {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.stores {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.stores a:hover { text-decoration: none; opacity: 0.92; }
.badge-play,
.badge-apple { height: 32px; width: auto; display: block; }

.packages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
}

.card span { display: block; color: var(--fog); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.card strong { display: block; margin-top: 4px; font-size: 18px; }
.card code { color: var(--green); }

.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.links a, .mail {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--text);
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 14px;
  max-width: 560px;
  margin-top: 22px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 500;
}

.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--green);
  border-color: transparent;
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.send {
  justify-self: start;
  border: 0;
  background: var(--green);
  color: #062117;
  font: inherit;
  font-weight: 800;
  border-radius: 999px;
  padding: 12px 22px;
  cursor: pointer;
}

.send:disabled { opacity: 0.6; cursor: wait; }

.form-status { margin: 0; font-weight: 700; }
.form-status[data-state="ok"] { color: var(--green); }
.form-status[data-state="ok"] .err,
.form-status[data-state="ok"] .wait,
.form-status[data-state="err"] .ok,
.form-status[data-state="err"] .wait,
.form-status[data-state="wait"] .ok,
.form-status[data-state="wait"] .err { display: none !important; }
.form-status[data-state="err"] { color: #ffb4b4; }
.form-status[data-state="wait"] { color: var(--muted); font-weight: 600; }

article h2 { margin: 28px 0 8px; font-size: 20px; }
article p, article li { color: var(--muted); }
article ul { padding-inline-start: 18px; }

footer {
  border-top: 1px solid var(--line);
  color: var(--fog);
  font-size: 13px;
  padding: 18px 0 28px;
}

html[data-lang="en"] .fr, html[data-lang="en"] .es, html[data-lang="en"] .ar,
html[data-lang="fr"] .en, html[data-lang="fr"] .es, html[data-lang="fr"] .ar,
html[data-lang="es"] .en, html[data-lang="es"] .fr, html[data-lang="es"] .ar,
html[data-lang="ar"] .en, html[data-lang="ar"] .fr, html[data-lang="ar"] .es { display: none; }

@media (max-width: 720px) {
  .bar { flex-wrap: wrap; padding: 10px 0; }
  .brand-row { flex-wrap: wrap; }
  nav { order: 3; width: 100%; margin: 0; }
  .packages { grid-template-columns: 1fr; }
  .poster { border-radius: 18px; }
  .hero h1, article h1 { font-size: 32px; }
}
