/* ZeroAmende, design system */
:root {
  --ink: #05070D;
  --ink-2: #0B1120;
  --surface: #0E1626;
  --surface-2: #131D30;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #EAF0FA;
  --muted: #94A3B8;
  --acid: #C8FF4D;
  --mint: #5BE8A8;
  --blue: #6AA8FF;
  --alert: #FF6B5A;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --maxw: 1120px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--ink);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 420px at 12% -8%, rgba(200, 255, 77, 0.14), transparent 62%),
    radial-gradient(620px 420px at 92% 4%, rgba(106, 168, 255, 0.13), transparent 60%);
  z-index: 0;
}
main, header, footer { position: relative; z-index: 1; }

img, svg { max-width: 100%; height: auto; }
a { color: var(--acid); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .6em; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: .45em; }
strong { color: #fff; }
code { background: var(--surface-2); padding: .15em .45em; border-radius: 6px; font-size: .9em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 72px 0; }
.section-sm { padding: 46px 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: 1.16rem; color: #C7D2E4; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--acid); color: #05070D; padding: 10px 16px; border-radius: 10px; z-index: 99; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(5, 7, 13, 0.78);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--text); font-size: 1.06rem; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--muted); font-size: .95rem; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); text-decoration: none; }
.nav-cta { margin-left: 6px; }
.burger { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); color: var(--text); border-radius: 10px; padding: 8px 12px; font-size: 1rem; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: .98rem;
  border: 1px solid var(--line-strong); color: var(--text); background: transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(120deg, var(--acid), var(--mint));
  color: #05070D; border-color: transparent;
  box-shadow: 0 12px 30px rgba(200, 255, 77, 0.20);
}
.btn-primary:hover { box-shadow: 0 16px 40px rgba(200, 255, 77, 0.30); }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.05); }
.btn-block { width: 100%; }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-strong); background: rgba(200, 255, 77, 0.07);
  color: var(--acid); border-radius: 999px; padding: 6px 14px;
  font-size: .82rem; font-weight: 600; letter-spacing: .02em; margin-bottom: 20px;
}
.pill { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .8rem; color: var(--muted); }

/* Hero */
.hero { padding: 74px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.hero h1 span { background: linear-gradient(120deg, var(--acid), var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 18px; }
.trustline { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: .88rem; }
.trustline span { display: inline-flex; align-items: center; gap: 7px; }

/* Cards */
.card {
  background: linear-gradient(180deg, var(--surface), var(--ink-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(200, 255, 77, 0.10); border: 1px solid rgba(200, 255, 77, 0.22);
  font-size: 1.15rem; margin-bottom: 14px;
}
.stat { font-size: 2.1rem; font-weight: 800; color: var(--acid); line-height: 1.1; }

/* Verdict card, le moment screenshot */
.verdict {
  background: radial-gradient(120% 120% at 50% 0%, #16233A 0%, #0A0F1C 60%);
  border: 1px solid rgba(200, 255, 77, 0.30);
  border-radius: 24px; padding: 28px; text-align: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}
.gauge { position: relative; width: 190px; height: 190px; margin: 6px auto 14px; }
.gauge svg { transform: rotate(-90deg); }
.gauge-val {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
  font-size: 2.7rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1;
}
.gauge-val small {
  display: block; font-size: .6rem; font-weight: 700; color: var(--muted);
  letter-spacing: .09em; text-transform: uppercase; line-height: 1.3;
  max-width: 108px; margin: 2px auto 0; text-align: center;
}
.verdict h3 { margin-bottom: .2em; }
.motifs { text-align: left; margin-top: 18px; display: grid; gap: 10px; }
.motif { display: flex; gap: 11px; align-items: flex-start; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; font-size: .93rem; }
.motif b { color: var(--acid); }
.locked { filter: blur(6px); user-select: none; pointer-events: none; }

/* Steps */
.steps { counter-reset: s; display: grid; gap: 18px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  counter-increment: s; flex: 0 0 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; color: #05070D;
  background: linear-gradient(120deg, var(--acid), var(--mint));
}
.step-num::before { content: counter(s); }

/* Pricing */
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card.featured { border-color: rgba(200, 255, 77, 0.45); box-shadow: 0 30px 70px rgba(200, 255, 77, 0.10); }
.price-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(120deg, var(--acid), var(--mint)); color: #05070D; font-weight: 800; font-size: .74rem; padding: 5px 14px; border-radius: 999px; letter-spacing: .04em; }
.price { font-size: 2.7rem; font-weight: 800; letter-spacing: -0.03em; }
.price small { font-size: .95rem; font-weight: 600; color: var(--muted); }
.strike { text-decoration: line-through; color: var(--muted); font-size: 1.1rem; }
.check-list { list-style: none; padding: 0; margin: 18px 0; }
.check-list li { padding-left: 28px; position: relative; font-size: .95rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--acid); font-weight: 800; }
.cross-list li::before { content: "✕"; color: var(--muted); }

/* FAQ */
details.faq { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; background: var(--surface); margin-bottom: 12px; }
details.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--acid); font-size: 1.35rem; line-height: 1; }
details.faq[open] summary::after { content: "-"; }
details.faq p { margin: 12px 0 0; color: #C7D2E4; font-size: .96rem; }

/* Prose, articles */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { color: #D3DCEA; }
.prose blockquote { border-left: 3px solid var(--acid); margin: 1.6em 0; padding: 4px 0 4px 18px; color: #C7D2E4; font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .93rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--surface-2); }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 22px; margin-bottom: 34px; }
.toc ol { margin: 0; }
.meta-line { color: var(--muted); font-size: .88rem; margin-bottom: 26px; }
.callout { border: 1px solid rgba(200, 255, 77, 0.30); background: rgba(200, 255, 77, 0.06); border-radius: var(--radius-sm); padding: 16px 18px; margin: 1.8em 0; font-size: .95rem; }
.callout-alert { border-color: rgba(255, 107, 90, 0.35); background: rgba(255, 107, 90, 0.07); }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--text); }

/* App */
.app-shell { min-height: calc(100vh - 68px); display: grid; place-items: start center; padding: 34px 0 60px; }
.dropzone {
  border: 2px dashed var(--line-strong); border-radius: var(--radius); padding: 40px 24px;
  text-align: center; cursor: pointer; transition: border-color .2s, background .2s; background: rgba(255, 255, 255, 0.02);
}
.dropzone:hover, .dropzone.drag { border-color: var(--acid); background: rgba(200, 255, 77, 0.06); }
.dropzone input { display: none; }
.preview-img { border-radius: var(--radius-sm); border: 1px solid var(--line); margin: 16px auto 0; max-height: 260px; }
.progress { height: 6px; background: var(--surface-2); border-radius: 999px; overflow: hidden; margin: 18px 0; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--acid), var(--mint)); transition: width .4s ease; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: .86rem; color: var(--muted); font-weight: 600; }
.field input, .field select, .field textarea {
  background: var(--ink-2); border: 1px solid var(--line-strong); color: var(--text);
  border-radius: var(--radius-sm); padding: 12px 14px; font-family: var(--font); font-size: .97rem; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid rgba(200, 255, 77, 0.5); outline-offset: 1px; }
.hidden { display: none !important; }
.letter {
  background: #F7F8FA; color: #12161F; border-radius: var(--radius-sm); padding: 26px;
  font-family: Georgia, "Times New Roman", serif; font-size: .92rem; line-height: 1.7; white-space: pre-wrap;
  max-height: 460px; overflow: auto;
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--ink-2); padding: 56px 0 26px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr; gap: 32px; }
.footer-grid h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 14px; font-weight: 700; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: #B8C4D6; font-size: .92rem; }
.footer-grid a:hover { color: var(--acid); }
.footer-about p { font-size: .9rem; color: var(--muted); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .84rem; }
.legal-note { font-size: .8rem; color: #6F7C93; margin-top: 14px; line-height: 1.55; }

@media (max-width: 900px) {
  .hero-grid, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--ink-2); border-bottom: 1px solid var(--line); padding: 10px 22px 18px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 0; width: 100%; }
  .burger { display: block; }
  .section { padding: 52px 0; }
  body { font-size: 16px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
@media print {
  .site-header, .site-footer, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}
