/* VardeBots website. Theme: the "varde", the watch cairn where a fire was lit to warn of an attack. */
:root {
  --bg: #0a0a0c;
  --bg-2: #111115;
  --bg-3: #17171d;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f2f0ed;
  --muted: #9b9aa3;
  --fire: #ff6a1a;
  --fire-2: #ffb347;
  --ember: #ff3d00;
  --ok: #3ddc84;
  --danger: #ff4d4f;
  --radius: 18px;
  --grad: linear-gradient(135deg, #ffb347 0%, #ff6a1a 45%, #ff3d00 100%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* Film grain */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: var(--fire-2); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; font-size: .9em; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; color: var(--fire-2); }
h1, h2, h3 { font-family: "Space Grotesk", "Inter", sans-serif; letter-spacing: -.02em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 22px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ─── Header ─────────────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 12, .65);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font: 700 20px "Space Grotesk", sans-serif; color: var(--text); }
.logo:hover { text-decoration: none; }
.logo svg { width: 30px; height: 30px; filter: drop-shadow(0 0 10px rgba(255, 106, 26, .55)); }
.logo b { color: var(--fire); font-weight: 700; }
nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
nav a { color: var(--muted); font-size: 15px; padding: 8px 12px; border-radius: 10px; transition: color .2s, background .2s; }
nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); text-decoration: none; }
nav .btn { margin-left: 6px; padding: 9px 16px; }

/* ─── Buttons ───────────────────────────────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 12px; font-weight: 600; font-size: 15.5px;
  color: var(--text); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03);
  transition: transform .2s, border-color .2s, background .2s, box-shadow .3s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); }
.btn.fire { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 8px 30px -6px rgba(255, 90, 20, .6), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn.fire:hover { box-shadow: 0 12px 44px -6px rgba(255, 90, 20, .85), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn svg { width: 18px; height: 18px; }

/* ─── Hero ──────────────────────────────────────── */
.hero { position: relative; padding: 90px 0 110px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; left: 50%; bottom: -380px; width: 1300px; height: 700px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 90, 20, .35), rgba(255, 60, 0, .12) 50%, transparent 75%);
  filter: blur(20px); pointer-events: none; animation: breathe 6s ease-in-out infinite;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  opacity: .5;
}
#embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px;
  border: 1px solid rgba(255, 106, 26, .35); background: rgba(255, 106, 26, .08); color: #ffd2b0; font-size: 13.5px; margin-bottom: 22px;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(61, 220, 132, .7); animation: ping 2s infinite; margin-left: 6px; }
.hero h1 { font-size: clamp(40px, 6.2vw, 74px); line-height: 1.02; margin: 0 0 22px; font-weight: 700; }
.hero p.sub { color: var(--muted); font-size: 19px; max-width: 540px; margin: 0 0 34px; }
.hero p.sub strong { color: var(--text); font-weight: 600; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { display: flex; gap: 22px; margin-top: 34px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 16px; height: 16px; color: var(--fire); }

/* Live defense console (hero visual) */
.console {
  position: relative; border-radius: 20px; background: linear-gradient(180deg, #16161b, #0f0f13);
  border: 1px solid var(--line-2); box-shadow: 0 40px 120px -30px rgba(255, 80, 20, .45), 0 0 0 1px rgba(0, 0, 0, .4);
  overflow: hidden; transform: perspective(1400px) rotateY(-7deg) rotateX(3deg); transition: transform .6s;
}
.console:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.console-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.console-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2c2c33; }
.console-bar span { margin-left: 10px; font: 13px "JetBrains Mono", monospace; color: var(--muted); }
.console-bar .live { margin-left: auto; font-size: 11px; color: var(--danger); letter-spacing: .1em; display: flex; align-items: center; gap: 6px; }
.console-bar .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--danger); animation: blink 1s infinite; }
.feed { padding: 16px; height: 380px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; }
.msg {
  display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 12px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-left: 3px solid var(--c, var(--muted));
  animation: msgIn .45s cubic-bezier(.2, .9, .3, 1.2) both;
}
.msg .av { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 17px; background: color-mix(in srgb, var(--c, #888) 18%, transparent); }
.msg .t { font-size: 14px; font-weight: 600; }
.msg .t small { color: var(--muted); font-weight: 400; margin-left: 6px; font-size: 12px; }
.msg .d { font-size: 13.5px; color: #c4c3cb; }
.msg .btns { display: flex; gap: 6px; margin-top: 8px; }
.msg .btns span { font-size: 12px; padding: 3px 10px; border-radius: 6px; background: rgba(255, 255, 255, .07); color: #ddd; }
.msg .btns span.r { background: rgba(255, 77, 79, .18); color: #ff9a9b; }
.msg.bad { --c: var(--danger); }
.msg.act { --c: var(--fire); }
.msg.ok { --c: var(--ok); }

/* ─── Marquee stats ─────────────────────────────── */
.stats { border-block: 1px solid var(--line); background: linear-gradient(90deg, transparent, rgba(255, 106, 26, .05), transparent); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 10px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 700 42px/1 "Space Grotesk", sans-serif; }
.stat span { color: var(--muted); font-size: 14px; }

/* ─── Sections ──────────────────────────────────── */
section { padding: 110px 0; position: relative; }
.kicker { display: inline-block; font: 600 13px "JetBrains Mono", monospace; color: var(--fire); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
section h2 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.08; margin: 0 0 16px; max-width: 760px; }
section .lead { color: var(--muted); font-size: 18px; max-width: 620px; margin: 0 0 54px; }
.center { text-align: center; }
.center h2, .center .lead { margin-left: auto; margin-right: auto; }

/* Attack timeline */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 46px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--danger), var(--fire), var(--ok)); opacity: .5; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.step .n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 700 17px "Space Grotesk"; margin-bottom: 18px; color: #fff; position: relative; z-index: 1; }
.step:nth-child(1) .n { background: var(--danger); box-shadow: 0 0 30px rgba(255, 77, 79, .5); }
.step:nth-child(2) .n { background: var(--fire); box-shadow: 0 0 30px rgba(255, 106, 26, .5); }
.step:nth-child(3) .n { background: var(--ok); box-shadow: 0 0 30px rgba(61, 220, 132, .45); color: #062; }
.step h3 { margin: 0 0 8px; font-size: 21px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }
.step .time { position: absolute; top: 30px; right: 26px; font: 12px "JetBrains Mono", monospace; color: var(--muted); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(210px, auto); gap: 16px; }
.tile {
  --mx: 50%; --my: 50%;
  position: relative; grid-column: span 2; padding: 28px; border-radius: var(--radius);
  background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: border-color .3s, transform .3s;
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 106, 26, .16), transparent 45%);
}
.tile:hover { border-color: rgba(255, 106, 26, .35); transform: translateY(-3px); }
.tile:hover::before { opacity: 1; }
.tile.wide { grid-column: span 4; }
.tile.tall { grid-row: span 2; }
.tile .ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; background: rgba(255, 106, 26, .1); border: 1px solid rgba(255, 106, 26, .25); color: var(--fire-2); }
.tile .ico svg { width: 23px; height: 23px; }
.tile h3 { margin: 0 0 8px; font-size: 21px; }
.tile p { margin: 0; color: var(--muted); font-size: 15.5px; }
.tile .badge { position: absolute; top: 22px; right: 22px; font: 600 11px "JetBrains Mono"; letter-spacing: .1em; padding: 4px 10px; border-radius: 999px; background: var(--grad); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span { font: 12.5px "JetBrains Mono", monospace; padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: #cfcdd6; }
.restore { margin-top: 22px; display: grid; gap: 8px; }
.restore div { display: flex; align-items: center; gap: 10px; font: 13.5px "JetBrains Mono", monospace; padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.restore div::after { content: "restauré"; margin-left: auto; font-size: 11px; color: var(--ok); }
.restore div.gone { opacity: .45; text-decoration: line-through; }
.restore div.gone::after { content: "supprimé"; color: var(--danger); }
.score { display: flex; align-items: center; gap: 22px; margin-top: 20px; }
.ring { --p: 92; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--fire) calc(var(--p) * 1%), rgba(255, 255, 255, .07) 0); position: relative; flex: none; }
.ring::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--bg-2); }
.ring b { position: relative; font: 700 26px "Space Grotesk"; }

/* Versus */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.vs-card { border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); background: var(--bg-2); }
.vs-card.them { opacity: .8; }
.vs-card.us { border-color: rgba(255, 106, 26, .4); background: linear-gradient(180deg, rgba(255, 106, 26, .08), var(--bg-2) 60%); box-shadow: 0 30px 80px -40px rgba(255, 90, 20, .6); }
.vs-card h3 { margin: 0 0 18px; font-size: 19px; display: flex; align-items: center; gap: 10px; }
.vs-card h3 small { font: 500 12px "Inter"; color: var(--muted); }
.cmd { font: 14px/1.9 "JetBrains Mono", monospace; color: #a9a8b2; background: #0c0c0f; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.cmd .q { color: var(--danger); }
.panel { border-radius: 12px; border: 1px solid var(--line); background: #0c0c0f; padding: 16px; }
.panel .row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.panel .b { font-size: 13px; padding: 7px 14px; border-radius: 8px; background: rgba(255, 255, 255, .07); }
.panel .b.on { background: var(--ok); color: #052; font-weight: 600; }
.panel .b.max { background: var(--danger); color: #fff; }
.panel .sel { margin-top: 10px; font-size: 13px; padding: 9px 12px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--muted); display: flex; justify-content: space-between; }
.panel .title { font-weight: 600; font-size: 15px; }
.panel .title small { display: block; color: var(--muted); font-weight: 400; font-style: italic; font-size: 13px; }
ul.check { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
ul.check li { display: flex; gap: 10px; color: #cfcdd6; font-size: 15px; }
ul.check li::before { content: "✓"; color: var(--ok); font-weight: 700; }
.them ul.check li::before { content: "✕"; color: var(--danger); }

/* Price */
.price-card {
  position: relative; max-width: 480px; margin: 0 auto; padding: 44px 40px; border-radius: 26px; text-align: left;
  background: linear-gradient(180deg, #19171a, #111114); border: 1px solid transparent;
  background-clip: padding-box; isolation: isolate;
}
.price-card::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: 27px; padding: 1px;
  background: conic-gradient(from var(--a, 0deg), #ff3d00, #ffb347, transparent 30%, transparent 70%, #ff6a1a);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 6s linear infinite;
}
.price-card::after { content: ""; position: absolute; inset: 30px; z-index: -2; background: var(--grad); filter: blur(70px); opacity: .35; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.price-card .tag { font: 600 12px "JetBrains Mono"; letter-spacing: .12em; color: var(--fire-2); text-transform: uppercase; }
.amount { font: 700 72px/1 "Space Grotesk"; margin: 14px 0 6px; }
.amount small { font-size: 20px; color: var(--muted); font-weight: 500; }
.price-card .note { color: var(--muted); font-size: 14.5px; margin-bottom: 8px; }
.price-card .btn { width: 100%; justify-content: center; margin-top: 26px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: s; }
.steps li { counter-increment: s; padding: 24px 20px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); font-size: 15px; color: #d6d4dc; }
.steps li::before { content: "0" counter(s); display: block; font: 700 30px "Space Grotesk"; margin-bottom: 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: rgba(255, 106, 26, .35); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--fire); font-size: 24px; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* Final CTA */
.cta { text-align: center; padding: 120px 0 130px; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 500px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(255, 90, 20, .28), transparent); pointer-events: none; }
.cta .cairn { width: 90px; height: 90px; margin: 0 auto 24px; display: block; filter: drop-shadow(0 0 30px rgba(255, 106, 26, .7)); position: relative; }
.cta h2 { margin: 0 auto 16px; position: relative; }
.cta p { color: var(--muted); font-size: 18px; margin: 0 0 34px; position: relative; }
.cta .actions { justify-content: center; position: relative; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }
footer .links { display: flex; gap: 20px; flex-wrap: wrap; }

/* Legal pages */
.legal { max-width: 780px; padding: 70px 22px 90px; }
.legal h1 { font-size: clamp(32px, 5vw, 46px); margin: 0 0 6px; }
.legal h2 { font-size: 22px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
.legal p, .legal li { color: #c9c7d0; }
.legal li { margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 14px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

@keyframes breathe { 50% { opacity: .75; transform: translateX(-50%) scale(1.06); } }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
@keyframes blink { 50% { opacity: .2; } }
@keyframes msgIn { from { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes spin { to { --a: 360deg; } }
@keyframes flicker { 0%, 100% { transform: scaleY(1) translateY(0); } 25% { transform: scaleY(1.08) translateY(-1px) skewX(2deg); } 50% { transform: scaleY(.94) translateY(1px); } 75% { transform: scaleY(1.04) skewX(-2deg); } }
.flame { transform-origin: 50% 100%; transform-box: fill-box; animation: flicker 1.6s ease-in-out infinite; }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .console { transform: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile, .tile.wide { grid-column: span 2; }
  .tile.tall { grid-row: auto; }
  .timeline, .versus { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  nav a:not(.btn) { display: none; }
  .hero { padding: 56px 0 80px; }
  section { padding: 76px 0; }
  .steps { grid-template-columns: 1fr; }
  .feed { height: 340px; }
  .amount { font-size: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
