@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=DM+Sans:wght@400;500;700&display=swap');

:root {
  --bg: #05060F; --surface: #0F1328; --surface2: #181D38; --line: #252B4D;
  --text: #F2F4F8; --muted: #9AA3B5; --soft: #C7CEDC;
  --accent: #8B5CFF; --on-accent: #FFFFFF; --cyan: #2EE6FF; --pink: #FF3DCB; --ok: #3DDC97; --err: #FF6B6B;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: radial-gradient(900px 600px at 0% 0%, #8B5CFF22, transparent 70%) no-repeat, var(--bg); color: var(--text); font-family: 'DM Sans', system-ui, sans-serif; }
a { color: var(--soft); }
.wrap { max-width: 560px; margin: 0 auto; padding: 32px 20px 64px; }
.wide { max-width: 980px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 26px; letter-spacing: 3px; text-decoration: none; color: var(--text); }
.logo img { display: block; filter: drop-shadow(0 0 10px #8B5CFF88); }
h1 { font-family: 'Space Grotesk', sans-serif; font-size: 34px; letter-spacing: -1px; line-height: 1.1; margin: 28px 0 10px; }
h2 { font-family: 'Space Grotesk', sans-serif; font-size: 22px; margin: 0 0 8px; }
p { color: var(--soft); line-height: 1.55; }
.card { background: var(--surface); border-radius: 18px; padding: 22px; margin-top: 18px; }
label { display: block; font-size: 14px; color: var(--muted); margin: 14px 0 6px; }
input, select {
  width: 100%; height: 50px; border-radius: 12px; border: 2px solid var(--line); background: var(--bg);
  color: var(--text); padding: 0 14px; font: inherit; font-size: 16px; outline: none;
}
input:focus, select:focus { border-color: var(--accent); }
.row { display: flex; gap: 12px; }
.row > * { flex: 1; min-width: 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 26px;
  border-radius: 26px; border: none; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer;
  background: linear-gradient(120deg, var(--cyan), var(--accent) 55%, var(--pink)); color: var(--on-accent); text-decoration: none; width: 100%; margin-top: 20px; box-shadow: 0 8px 28px #8B5CFF55;
}
.btn.ghost { background: var(--surface2); color: var(--text); font-weight: 500; box-shadow: none; border: 1px solid var(--line); }
.btn[disabled] { opacity: .5; cursor: default; }
.tabs { display: flex; gap: 8px; margin-top: 8px; }
.tab { flex: 1; height: 44px; border-radius: 22px; border: none; background: var(--surface2); color: var(--soft); font: inherit; font-weight: 500; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--text); color: var(--bg); }
.hidden { display: none !important; }
.adv { margin-top: 16px; color: var(--soft); }
.adv summary { cursor: pointer; font-size: 15px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; color: var(--soft); font-size: 15px; line-height: 1.5; cursor: pointer; }
.check input { width: 22px; height: 22px; flex-shrink: 0; margin: 2px 0 0; accent-color: var(--accent); }
.msg { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: 15px; }
.msg.ok { background: #13392C; color: #B6F2D7; }
.msg.err { background: #3D1A1D; color: #FFC9C9; }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0; color: var(--soft); }
.steps b { flex-shrink: 0; width: 28px; height: 28px; border-radius: 14px; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.plans { display: flex; gap: 12px; margin-top: 8px; }
.plan { flex: 1; text-align: left; border-radius: 16px; border: 2px solid var(--line); background: var(--bg); color: var(--text); padding: 16px; cursor: pointer; font: inherit; }
.plan[aria-pressed="true"] { border-color: var(--accent); background: var(--surface2); }
.plan .price { font-family: 'Space Grotesk', sans-serif; font-size: 30px; font-weight: 700; display: block; margin: 4px 0; }
.plan small { color: var(--muted); }
.note { font-size: 13px; color: var(--muted); margin-top: 28px; line-height: 1.5; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 20px; }
.feature { background: var(--surface); border-radius: 16px; padding: 18px; }
.feature h3 { margin: 0 0 6px; font-size: 17px; }
.feature p { margin: 0; font-size: 15px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta .btn { width: auto; }
@media (max-width: 480px) { .row, .plans { flex-direction: column; } h1 { font-size: 28px; } }

/* ---------- Page Télécharger ---------- */
.dl-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dl-top nav { display: flex; gap: 16px; font-size: 14px; }
.dl-top nav a { color: var(--muted); text-decoration: none; }
.dl-top nav a:hover { color: var(--text); }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; margin-top: 18px; }
.hero h1 { font-size: 46px; margin-top: 18px; }
.grad { background: linear-gradient(120deg, var(--cyan), var(--accent) 55%, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #8B5CFF1F; border: 1px solid #8B5CFF55; color: #D8CCFF; font-size: 13px; font-weight: 700; }
.shot-tv { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 30px 80px #000A, 0 0 60px #8B5CFF33; display: block; }
.picker { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 26px; }
.pcbtns { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 4px; }
.pcbtns .btn { flex: 1 1 240px; }
.dev { text-align: left; border-radius: 18px; border: 2px solid var(--line); background: var(--surface); color: var(--text); padding: 16px; cursor: pointer; font: inherit; display: flex; flex-direction: column; gap: 6px; }
.dev .ico { font-size: 26px; }
.dev strong { font-size: 16px; }
.dev small { color: var(--muted); font-size: 13px; }
.dev[aria-pressed="true"] { border-color: var(--accent); background: var(--surface2); box-shadow: 0 0 0 4px #8B5CFF22; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px; margin-top: 14px; }
.panel h2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tag { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #3DDC9722; color: var(--ok); font-family: 'DM Sans', sans-serif; }
.tag.soon { background: #FFC54722; color: #FFC547; }
.code { display: flex; align-items: center; gap: 10px; margin: 12px 0 4px; padding: 14px 16px; border-radius: 14px; background: var(--bg); border: 2px dashed #8B5CFF77; font-family: 'Space Grotesk', monospace; font-size: 20px; font-weight: 700; word-break: break-all; }
.code button { margin-left: auto; flex-shrink: 0; height: 36px; padding: 0 14px; border-radius: 18px; border: none; background: var(--surface2); color: var(--text); font: inherit; font-size: 14px; cursor: pointer; }
.section-title { font-family: 'Space Grotesk', sans-serif; font-size: 30px; letter-spacing: -0.5px; margin: 64px 0 6px; }
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 22px; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.feat .ico { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 12px; background: linear-gradient(135deg, #2EE6FF33, #8B5CFF33 55%, #FF3DCB33); border: 1px solid #FFFFFF1A; }
.feat h3 { margin: 0 0 6px; font-size: 17px; }
.feat p { margin: 0; font-size: 15px; }
.phones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 24px; }
.phones figure { margin: 0; }
.phones img { width: 100%; height: auto; display: block; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 20px 50px #0009; }
.phones figcaption { text-align: center; color: var(--muted); font-size: 13px; margin-top: 8px; }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.how div { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.how b { display: inline-flex; width: 34px; height: 34px; border-radius: 17px; align-items: center; justify-content: center; background: linear-gradient(120deg, var(--cyan), var(--accent)); color: #fff; margin-bottom: 10px; }
.how h3 { margin: 0 0 6px; font-size: 17px; }
.how p { margin: 0; font-size: 15px; }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; position: relative; }
.price-card.best { border: 2px solid var(--accent); box-shadow: 0 0 40px #8B5CFF33; }
.price-card .amount { font-family: 'Space Grotesk', sans-serif; font-size: 38px; font-weight: 700; display: block; margin: 6px 0; }
.price-card .ribbon { position: absolute; top: -12px; right: 16px; background: linear-gradient(120deg, var(--accent), var(--pink)); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.price-card p { margin: 0; font-size: 14px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin-top: 10px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 10px 0 0; }
.warn { margin-top: 48px; padding: 16px 18px; border-radius: 16px; background: #2A2210; border: 1px solid #5A4515; color: #F5DFA8; font-size: 14px; line-height: 1.55; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 22px; }
  .hero h1 { font-size: 34px; }
  .phones { grid-template-columns: repeat(2, 1fr); }
  .how, .prices { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .picker { grid-template-columns: 1fr; }
  .dev { flex-direction: row; align-items: center; gap: 12px; }
  .dev small { display: none; }
  .dl-top nav { display: none; }
  .code { font-size: 16px; }
}

.note select { width: auto; height: auto; }
.code.big { justify-content: center; font-size: 44px; letter-spacing: 8px; border-style: solid; border-color: var(--accent); box-shadow: 0 0 30px #8B5CFF44; }
.hint { margin: 10px 0 0; font-size: 14px; color: var(--muted); }

.help { margin-top: 14px; }
.help summary { font-weight: 700; color: var(--text); }
.helplist { margin: 10px 0 6px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--soft); }
.help .code span { font-family: ui-monospace, Menlo, monospace; font-size: 14px; word-break: break-all; }
