/* DeskyIO — site public. Noir & bleu, formes en pilule, titres Space Grotesk (comme l'app). */
@font-face { font-family: 'Inter DK'; src: url('fonts/inter-var.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Grotesk DK'; src: url('fonts/space-grotesk-var.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }

:root {
  --bg: #050608; --bg2: #08090d; --surface: #0d1016; --surface2: #121722; --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.14);
  --text: #f4f6fb; --muted: #9aa3b5; --dim: #6b7487;
  --blue: #2f7bff; --blue2: #45c2ff; --blue-deep: #10245a; --glow: rgba(47,123,255,.45);
  --ok: #3ddc97; --warn: #ffb547; --bad: #ff5d6c;
  --paper: #e6ebf5; --paper-ink: #0b1020;
  --r: 18px; --pill: 999px;
  --display: 'Grotesk DK', 'Inter DK', 'Segoe UI', sans-serif; --sans: 'Inter DK', 'Segoe UI', system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.mono { font-family: 'Cascadia Mono', Consolas, monospace; letter-spacing: .02em; }
.blue { color: var(--blue2); background: linear-gradient(90deg, var(--blue), var(--blue2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
::selection { background: var(--blue); color: #fff; }

/* ── Boutons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: var(--pill); border: 1px solid var(--line2); background: rgba(255,255,255,.03); color: var(--text); font: 600 14px var(--sans); cursor: pointer; transition: .18s; white-space: nowrap; }
.btn:hover { border-color: rgba(69,194,255,.5); background: rgba(47,123,255,.08); }
.btn.primary { background: linear-gradient(135deg, var(--blue), #4f8dff); border-color: transparent; color: #fff; box-shadow: 0 8px 28px -8px var(--glow), inset 0 1px 0 rgba(255,255,255,.25); }
.btn.primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn.sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn.lg { height: 52px; padding: 0 28px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; }

/* ── En-tête ── */
header { position: sticky; top: 0; z-index: 50; padding: 18px 0; background: linear-gradient(180deg, rgba(5,6,8,.92), rgba(5,6,8,.6) 70%, transparent); backdrop-filter: blur(10px); }
header .wrap { display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 19px var(--display); letter-spacing: .02em; }
.brand img { width: 32px; height: 32px; object-fit: contain; filter: drop-shadow(0 0 10px var(--glow)); }
.brand b { color: var(--blue2); font-weight: 700; }
.navpill { margin: 0 auto; display: flex; gap: 4px; padding: 6px; border: 1px solid var(--line); border-radius: var(--pill); background: rgba(13,16,22,.7); }
.navpill a { padding: 8px 16px; border-radius: var(--pill); color: var(--muted); font-size: 14px; font-weight: 500; transition: .15s; }
.navpill a:hover { color: var(--text); }
.navpill a.on { background: linear-gradient(135deg, var(--blue), #4f8dff); color: #fff; box-shadow: 0 4px 18px -4px var(--glow); }
.head-right { display: flex; gap: 8px; padding: 6px; border: 1px solid var(--line); border-radius: var(--pill); background: rgba(13,16,22,.7); }
.menu-btn { display: none; }

/* ── Hero ── */
.hero { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 56px 24px 40px; min-height: 600px; }
.hero h1 { margin: 0 0 14px; font: 700 clamp(40px, 5.4vw, 72px)/.98 var(--display); letter-spacing: -.02em; text-transform: uppercase; }
.hero .lead { margin: 0 0 30px; font-size: 17px; color: #d6dbe6; max-width: 560px; }
.hero-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; margin-bottom: 30px; }
.hf { display: flex; gap: 14px; }
.hf .ic { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: var(--blue2); background: rgba(47,123,255,.1); border: 1px solid rgba(69,194,255,.18); }
.hf .ic svg { width: 21px; height: 21px; }
.hf b { display: block; font-size: 15px; margin-bottom: 2px; }
.hf p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.release { margin-top: 26px; position: relative; overflow: hidden; display: flex; align-items: center; gap: 18px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(120deg, #0c1220, #0b0d12 60%); }
.release::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(69,194,255,.035) 22px 23px); }
.release .badge { position: relative; flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, #fff, #cfe0ff); color: var(--blue); box-shadow: 0 0 0 4px rgba(47,123,255,.25); }
.release .badge svg { width: 30px; height: 30px; }
.release small { position: relative; display: block; color: var(--blue2); font: 700 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.release strong { position: relative; display: block; font: 700 22px var(--display); }
.release span { position: relative; color: var(--muted); font-size: 13px; }
.release .btn { position: relative; margin-left: auto; }

/* Visuel : l'app DeskyIO, dessinée en CSS */
.visual { position: relative; height: 520px; display: grid; place-items: center; }
.visual .aura { position: absolute; inset: 6% 0; background: radial-gradient(closest-side, rgba(47,123,255,.42), rgba(47,123,255,.12) 55%, transparent 75%); filter: blur(10px); }
.visual .orbit { position: absolute; width: 112%; height: 56%; border: 1px solid rgba(69,194,255,.22); border-radius: 50%; transform: rotate(-12deg); }
.visual .orbit.o2 { width: 92%; height: 76%; transform: rotate(18deg); border-color: rgba(47,123,255,.16); }
.visual .spark { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #bfe6ff; box-shadow: 0 0 10px 2px var(--blue2); }
.appwin { position: relative; width: min(100%, 520px); border-radius: 22px; border: 1px solid rgba(255,255,255,.1); background: linear-gradient(180deg, #11151d, #0a0c11); box-shadow: 0 40px 100px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(69,194,255,.08), 0 0 80px -20px var(--glow); overflow: hidden; transform: perspective(1400px) rotateY(-9deg) rotateX(3deg); }
.appwin .bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.appwin .bar .logo { width: 22px; height: 22px; object-fit: contain; }
.appwin .tabs { display: flex; gap: 4px; padding: 4px; border-radius: var(--pill); background: rgba(255,255,255,.04); }
.appwin .tabs i { font-style: normal; font-size: 11px; padding: 4px 10px; border-radius: var(--pill); color: var(--dim); }
.appwin .tabs i.on { background: var(--blue); color: #fff; }
.appwin .dots { margin-left: auto; display: flex; gap: 6px; } .appwin .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.12); }
.appwin .body { padding: 18px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.appwin .shot { grid-column: 1 / -1; height: 150px; border-radius: 14px; position: relative; overflow: hidden; background: linear-gradient(180deg, #4a7cc9 0%, #9cc0e8 38%, #d8b27a 39%, #8d6a3a 60%, #33402a 61%, #1d2616 100%); }
.appwin .shot::after { content: ''; position: absolute; inset: 0; width: 50%; background: inherit; filter: saturate(.35) brightness(.85); border-right: 2px solid #fff; }
.appwin .shot .lbl { position: absolute; bottom: 8px; z-index: 2; font: 700 10px var(--sans); letter-spacing: .12em; padding: 3px 8px; border-radius: var(--pill); background: rgba(0,0,0,.55); }
.appwin .shot .l1 { left: 8px; } .appwin .shot .l2 { right: 8px; color: var(--blue2); }
.appwin .ctl { padding: 12px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.appwin .ctl small { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; margin-bottom: 8px; }
.appwin .ctl small b { color: var(--text); }
.appwin .slider { height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); position: relative; margin-bottom: 14px; }
.appwin .slider::before { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: 6px; background: linear-gradient(90deg, var(--blue), var(--blue2)); }
.appwin .slider::after { content: ''; position: absolute; top: 50%; left: var(--v); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(47,123,255,.35); }
.appwin .slider:last-child { margin-bottom: 4px; }
.appwin .xh { display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.appwin .xh svg { width: 70px; height: 70px; filter: drop-shadow(0 0 6px rgba(69,194,255,.6)); }
.fpsbox { position: absolute; z-index: 3; top: 10%; right: -2%; padding: 10px 14px; border-radius: 12px; background: rgba(6,10,18,.82); border: 1px solid rgba(69,194,255,.3); backdrop-filter: blur(6px); font: 600 12px var(--sans); box-shadow: 0 14px 40px -12px #000; }
.fpsbox b { display: block; font: 700 26px var(--display); color: var(--blue2); line-height: 1; }
.fpsbox span { display: block; color: var(--muted); } .fpsbox span i { font-style: normal; color: var(--text); }
.chip-float { position: absolute; z-index: 3; bottom: 12%; left: 0; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: var(--pill); background: rgba(6,10,18,.85); border: 1px solid var(--line2); font-size: 12.5px; font-weight: 600; box-shadow: 0 14px 40px -12px #000; }
.chip-float i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }

/* ── Chiffres ── */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, rgba(47,123,255,.1), rgba(47,123,255,.02)); overflow: hidden; }
.stats > div { padding: 22px 16px; text-align: center; }
.stats > div + div { border-left: 1px solid var(--line); }
.stats b { display: block; font: 700 40px/1.1 var(--display); letter-spacing: -.02em; }
.stats b em { font-style: normal; color: var(--blue2); }
.stats span { font: 700 11.5px var(--sans); letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }

/* ── Sections ── */
section { padding: 110px 0 0; scroll-margin-top: 70px; }
.h2 { margin: 0 0 10px; text-align: center; font: 700 clamp(32px, 4vw, 50px)/1.05 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.sub { margin: 0 auto 44px; text-align: center; color: var(--muted); max-width: 640px; }

/* Fonctions phares */
.featured { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fcard { position: relative; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); overflow: hidden; transition: .25s; }
.fcard:hover { border-color: rgba(69,194,255,.35); transform: translateY(-3px); box-shadow: 0 20px 50px -24px var(--glow); }
.fcard .art { height: 200px; position: relative; overflow: hidden; display: grid; place-items: center; background: radial-gradient(circle at 50% 120%, rgba(47,123,255,.3), transparent 60%), #08090d; }
.fcard .txt { padding: 18px 20px 22px; }
.fcard .txt b { display: block; font: 700 18px var(--display); margin-bottom: 4px; }
.fcard .txt p { margin: 0; color: var(--muted); font-size: 14px; }
.tag { display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: var(--pill); font: 700 10.5px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--blue2); background: rgba(47,123,255,.12); border: 1px solid rgba(69,194,255,.2); }
.art-colors { position: absolute; inset: 0; background: linear-gradient(115deg, #ff3d6e, #ffb23d 25%, #3dff9e 50%, #3d9eff 75%, #b23dff); }
.art-colors::after { content: ''; position: absolute; inset: 0 50% 0 0; background: inherit; filter: saturate(.25) brightness(.7); border-right: 2px solid #fff; }
.art-colors span { position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: #000; font: 700 12px var(--display); box-shadow: 0 0 0 6px rgba(255,255,255,.2); }
.art-fps { font: 700 64px/1 var(--display); color: var(--blue2); text-shadow: 0 0 30px var(--glow); }
.art-fps small { display: block; text-align: center; font: 600 12px var(--sans); color: var(--muted); letter-spacing: .12em; margin-top: 8px; }
.art-graph { position: absolute; left: 10%; right: 10%; bottom: 22px; height: 38px; }
.art-xh svg { width: 120px; height: 120px; filter: drop-shadow(0 0 14px rgba(69,194,255,.7)); }
.allfeat { margin-top: 14px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mini { padding: 18px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg2)); }
.mini .ic { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--blue2); background: rgba(47,123,255,.1); margin-bottom: 10px; }
.mini .ic svg { width: 18px; height: 18px; }
.mini b { display: block; font-size: 14.5px; margin-bottom: 3px; }
.mini p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

/* Tarifs */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); }
.price-card.hl { border-color: rgba(69,194,255,.45); background: linear-gradient(180deg, rgba(47,123,255,.16), var(--surface) 55%); box-shadow: 0 30px 70px -30px var(--glow); }
.price-card.hl::before { content: 'Le plus choisi'; position: absolute; top: -12px; left: 26px; padding: 3px 12px; border-radius: var(--pill); background: var(--blue); font: 700 11px var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.price-card h3 { margin: 0; font: 700 22px var(--display); }
.price-card .amount { font: 700 42px/1.1 var(--display); letter-spacing: -.02em; }
.price-card .amount small { font: 500 14px var(--sans); color: var(--muted); letter-spacing: 0; }
.price-card .trial { color: var(--blue2); font-weight: 600; font-size: 13px; }
.price-card ul { list-style: none; margin: 6px 0 10px; padding: 0; display: grid; gap: 8px; flex: 1; }
.price-card li { position: relative; padding-left: 26px; font-size: 14px; color: #d6dbe6; }
.price-card li::before { content: ''; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: rgba(47,123,255,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2345c2ff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/10px no-repeat; }
.price-card .btn { width: 100%; }
.addon-note .price-card { margin-top: 14px; }
.legal-note { margin-top: 16px; text-align: center; color: var(--dim); font-size: 12.5px; }
.legal-note a { color: var(--muted); text-decoration: underline; }

/* Anti-cheat */
.safety { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.safety > div { padding: 26px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); }
.safety b { display: block; font: 700 18px var(--display); margin-bottom: 10px; }
.safety ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.safety li { position: relative; padding-left: 26px; color: #d6dbe6; font-size: 14px; }
.safety li::before { content: '✕'; position: absolute; left: 0; top: 0; color: var(--ok); font-weight: 700; }
.safety .warn { border-color: rgba(255,181,71,.25); background: linear-gradient(180deg, rgba(255,181,71,.07), var(--surface) 60%); }
.safety .warn li::before { content: '!'; color: var(--warn); left: 5px; }

/* FAQ : étiquettes suspendues */
.faq-rail { position: relative; padding: 0 56px; }
.faq-rail .rod { position: absolute; left: 0; right: 0; top: 0; height: 8px; border-radius: 8px; background: linear-gradient(180deg, #3a4150, #1b1f28); box-shadow: 0 2px 6px rgba(0,0,0,.6); }
.faq-rail .rod::before, .faq-rail .rod::after { content: ''; position: absolute; top: -5px; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #6b7487, #2a2f3a); }
.faq-rail .rod::before { left: -4px; } .faq-rail .rod::after { right: -4px; }
.faq-track { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 4px 30px; }
.faq-track::-webkit-scrollbar { display: none; }
.ftag { flex: 0 0 236px; scroll-snap-align: start; position: relative; padding-top: 44px; cursor: pointer; perspective: 1000px; }
.ftag:nth-child(even) { padding-top: 70px; }
.ftag::before { content: ''; position: absolute; top: 0; left: 50%; width: 5px; height: calc(100% - 100%); }
.ftag .string { position: absolute; top: 0; left: 50%; width: 5px; margin-left: -2.5px; height: 62px; border-radius: 3px; background: repeating-linear-gradient(180deg, #4a5262 0 3px, #2b313c 3px 6px); }
.ftag:nth-child(even) .string { height: 88px; }
.ftag .card3d { position: relative; height: 280px; transition: transform .6s cubic-bezier(.3,1.4,.5,1); transform-style: preserve-3d; transform-origin: 50% 0; animation: sway 5s ease-in-out infinite; }
.ftag:nth-child(2n) .card3d { animation-delay: -1.3s; } .ftag:nth-child(3n) .card3d { animation-delay: -2.6s; }
.ftag:hover .card3d { animation-play-state: paused; }
.ftag.open .card3d { transform: rotateY(180deg); animation: none; }
@keyframes sway { 0%, 100% { transform: rotate(-1.4deg); } 50% { transform: rotate(1.4deg); } }
.face { position: absolute; inset: 0; padding: 40px 20px 18px; backface-visibility: hidden; clip-path: polygon(14% 0, 86% 0, 100% 10%, 100% 100%, 0 100%, 0 10%); display: flex; flex-direction: column; }
.face::before { content: ''; position: absolute; top: 14px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; border: 3px solid currentColor; opacity: .55; }
.face.front { background: var(--paper); color: var(--paper-ink); }
.ftag:nth-child(even) .face.front { background: #12161f; color: var(--text); border: 1px solid var(--line2); }
.face.back { transform: rotateY(180deg); background: linear-gradient(180deg, #13306f, #0b1734); color: #e9f0ff; }
.face .num { display: flex; align-items: center; gap: 10px; font: 700 13px var(--display); color: var(--blue); }
.ftag:nth-child(even) .face .num, .face.back .num { color: var(--blue2); }
.face .num::after { content: ''; flex: 1; height: 2px; background: currentColor; opacity: .6; }
.face h3 { margin: 12px 0 0; font: 700 21px/1.12 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.face p { margin: 10px 0 0; font-size: 13.5px; line-height: 1.55; color: #cfdaf5; overflow: auto; }
.face .foot { margin-top: auto; padding-top: 12px; border-top: 2px dashed currentColor; display: flex; align-items: flex-end; justify-content: space-between; opacity: .9; }
.face .bars { height: 26px; width: 74px; background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 4px, currentColor 4px 5px, transparent 5px 8px); opacity: .75; }
.face .foot small { display: block; font: 700 9px var(--sans); letter-spacing: .16em; margin-top: 4px; opacity: .7; }
.face .plus { font: 400 26px/1 var(--sans); color: var(--blue); }
.faq-nav { position: absolute; top: 150px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(69,194,255,.4); background: rgba(8,12,20,.9); color: var(--blue2); display: grid; place-items: center; cursor: pointer; }
.faq-nav:hover { background: var(--blue); color: #fff; }
.faq-nav.prev { left: 0; } .faq-nav.next { right: 0; }
.faq-hint { text-align: center; color: var(--dim); font-size: 13px; margin-top: 4px; }

/* Discord */
.discord { margin-top: 110px; position: relative; overflow: hidden; display: flex; align-items: center; gap: 30px; flex-wrap: wrap; padding: 44px 50px; border-radius: 26px; border: 1px solid rgba(69,194,255,.3); background: repeating-linear-gradient(125deg, transparent 0 18px, rgba(69,194,255,.04) 18px 19px), linear-gradient(110deg, #0f2453, #0a1430 55%, #070b16); box-shadow: 0 30px 90px -40px var(--glow); }
.discord .big { position: absolute; right: 150px; top: 50%; width: 320px; height: 320px; transform: translateY(-50%); color: rgba(69,194,255,.07); }
.discord h2 { position: relative; margin: 0 0 8px; font: 700 clamp(30px, 4vw, 48px)/1 var(--display); text-transform: uppercase; }
.discord p { position: relative; margin: 0; color: #c9d5ee; max-width: 520px; }
.discord .grow { flex: 1; }
.discord .btn { position: relative; }
.discord-id { font-family: 'Cascadia Mono', Consolas, monospace; }

/* Pied de page */
footer { margin-top: 100px; border-top: 1px solid var(--line); padding: 34px 0 40px; color: var(--muted); font-size: 13.5px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 34px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
footer a:hover { color: var(--text); }

/* Rail de défilement (à droite) */
.scroll-rail { position: fixed; z-index: 40; right: 22px; top: 50%; height: 56vh; transform: translateY(-50%); width: 3px; border-radius: 3px; background: rgba(255,255,255,.07); }
.scroll-rail .fill { position: absolute; left: 0; right: 0; top: 0; height: 0; border-radius: 3px; background: linear-gradient(180deg, var(--blue2), var(--blue)); box-shadow: 0 0 12px var(--glow); }
.scroll-rail .tick { position: absolute; left: -7px; width: 17px; height: 2px; background: rgba(255,255,255,.18); cursor: pointer; }
.scroll-rail .tick.on { background: var(--blue2); }
.scroll-rail .thumb { position: absolute; left: 50%; width: 32px; height: 32px; margin: -16px 0 0 -16px; object-fit: contain; filter: drop-shadow(0 0 10px var(--glow)); pointer-events: none; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }

/* ── Pages simples (compte, merci, légal) ── */
.page { max-width: 820px; margin: 40px auto 0; padding: 0 24px; }
.box { max-width: 520px; margin: 50px auto 0; padding: 34px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(47,123,255,.08), var(--surface) 40%); box-shadow: 0 30px 80px -40px var(--glow); }
.box h1, .page h1 { margin: 0 0 8px; font: 700 34px/1.1 var(--display); text-transform: uppercase; }
.input { display: block; width: 100%; height: 48px; margin: 10px 0; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line2); background: #07090d; color: var(--text); font: 15px var(--sans); outline: none; transition: .15s; }
.input:focus { border-color: var(--blue2); box-shadow: 0 0 0 4px rgba(47,123,255,.2); }
.err { color: var(--bad); min-height: 20px; margin: 8px 0; font-size: 13.5px; }
.key { margin: 16px 0 6px; padding: 18px; border-radius: 16px; text-align: center; font: 700 20px 'Cascadia Mono', Consolas, monospace; letter-spacing: .06em; background: #07090d; border: 1px dashed rgba(69,194,255,.5); color: var(--blue2); user-select: all; }
.kcard { margin-top: 14px; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: #090b10; display: grid; gap: 6px; }
.kcard .row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.pill { padding: 2px 10px; border-radius: var(--pill); font-size: 12px; font-weight: 600; }
.pill.ok { color: var(--ok); background: rgba(61,220,151,.12); } .pill.exp { color: var(--warn); background: rgba(255,181,71,.12); } .pill.bad { color: var(--bad); background: rgba(255,93,108,.12); }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 4px; font-size: 13px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--blue); width: 16px; height: 16px; flex: none; }
.check a { color: var(--blue2); text-decoration: underline; }
.modal-bg { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(2,4,8,.75); backdrop-filter: blur(6px); }
.modal-bg .box { margin: 0; width: 100%; }
.legal h2 { margin: 34px 0 10px; font: 700 20px var(--display); color: var(--blue2); }
.legal p, .legal li { color: #d0d6e2; }
.legal .updated { color: var(--dim); font-size: 13px; }
.legal .card { padding: 18px 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }

/* ── Écrans plus petits ── */
@media (max-width: 1100px) {
  .navpill a { padding: 8px 11px; }
  .allfeat { grid-template-columns: repeat(2, 1fr); }
  .scroll-rail { display: none; }
}
@media (max-width: 920px) {
  .navpill { display: none; position: absolute; top: 70px; left: 16px; right: 16px; flex-direction: column; border-radius: 20px; background: #0b0e14; padding: 10px; }
  header.open .navpill { display: flex; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .head-right .btn:not(.primary) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 24px; gap: 10px; }
  .visual { height: 400px; order: 2; }
  .featured, .safety { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 16px 16px 30px; }
  .hero-feats { grid-template-columns: 1fr; gap: 18px; }
  .visual { height: 330px; }
  .appwin { transform: none; } .appwin .body { grid-template-columns: 1fr; } .appwin .xh { display: none; }
  .fpsbox { right: 0; top: 0; } .chip-float { bottom: 0; }
  .stats { grid-template-columns: 1fr; } .stats > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .allfeat { grid-template-columns: 1fr; }
  .release { flex-wrap: wrap; } .release .btn { margin-left: 0; width: 100%; }
  .faq-rail { padding: 0; } .faq-nav { display: none; }
  .discord { padding: 30px 22px; } .discord .big { display: none; }
  .box { padding: 24px 20px; margin-top: 24px; }
  section { padding-top: 80px; }
  .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ftag .card3d { animation: none; } .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* Les colonnes de grille ne s'élargissent jamais au-delà de l'écran */
.hero > *, .featured > *, .allfeat > *, .safety > *, .stats > *, .pricing > *, .hero-feats > *, .hf > div, .release > div { min-width: 0; }
@media (max-width: 920px) { .hero, .featured, .safety { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .stats, .allfeat, .hero-feats { grid-template-columns: minmax(0, 1fr); }
  .hero-cta .btn { flex: 1 1 100%; }
  .visual .orbit { width: 100%; }
  .price-card[style*="row"] .btn { width: 100% !important; }
}
@media (max-width: 920px) { .visual { height: auto; padding: 44px 0 40px; } }
.price-card ul { align-content: start; }
.scroll-rail .thumb { max-width: none; }
/* Sélecteur de langue */
.lang-btn { min-width: 44px; padding: 0 12px; font-weight: 700; letter-spacing: .04em; }
@media (max-width: 920px) { .head-right .lang-btn { display: inline-flex; } }
html[lang=en] .price-card.hl::before { content: 'Most popular'; }
