/* vantura.cc — console web. Theme assorti a la GUI : noir profond + 1 accent bleu, accent rouge pour anonymise. */
:root {
  --bg:        #050507;
  --bg-grad-1: #0e0e12;
  --bg-grad-2: #08080b;
  --card:      #13131a;
  --card-hi:   #1a1a22;
  --border:    rgba(255, 255, 255, 0.06);
  --border-hi: rgba(255, 255, 255, 0.12);
  --text:      #ebebf0;
  --muted:     #6e6e78;
  --faint:     #3c3c44;
  --accent:    #4c8df5;
  --accent-hi: #6fa3ff;
  --accent-lo: #2f6dd0;
  --red:       #ee4042;
  --red-hi:    #ff5e60;
  --shadow:    0 12px 32px rgba(0, 0, 0, 0.45);
  --r-card:    14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  background: radial-gradient(1200px 600px at 80% 30%, rgba(76, 141, 245, 0.06), transparent 60%),
              linear-gradient(180deg, var(--bg-grad-1), var(--bg-grad-2));
  color: var(--text);
  font-family: "Segoe UI", "Segoe UI Variable", system-ui, -apple-system, sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { display: flex; flex-direction: column; min-height: 100vh; }

/* ── Topbar ─────────────────────────────────────────────────────── */
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 32px 8px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--muted);
  box-shadow: 0 0 0 0 rgba(76, 141, 245, 0);
  transition: background .35s ease, box-shadow .35s ease;
}
.brand.live .dot {
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(76, 141, 245, 0.18);
}
.brand.anon .dot {
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(238, 64, 66, 0.18);
}
.wordmark { color: var(--muted); letter-spacing: 0.08em; font-size: 12px; text-transform: lowercase; }
.bridge-status {
  font-size: 11px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase;
}
.bridge.ok    .bridge-status { color: #80cf95; }
.bridge.fail  .bridge-status { color: #d97b7b; }

/* ── Layout ─────────────────────────────────────────────────────── */
.grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-areas:
    "hero   action"
    "info1  info2"
    "stats  stats";
  gap: 16px;
  padding: 18px 32px 28px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 22px 24px;
  position: relative;
  box-shadow: var(--shadow);
  animation: slideIn .55s cubic-bezier(.2,.7,.2,1) backwards;
}
.card::before {
  content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
}
@keyframes slideIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero    { grid-area: hero;    display: flex; align-items: center; gap: 24px; animation-delay: .02s; }
.action  { grid-area: action;  display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 14px; animation-delay: .08s; }
.info:nth-of-type(3) { grid-area: info1; animation-delay: .14s; }
.info:nth-of-type(4) { grid-area: info2; animation-delay: .18s; }
.stats   { grid-area: stats; animation-delay: .22s; }

.kicker {
  color: var(--muted); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 10px;
}

/* ── Hero / espion ─────────────────────────────────────────────── */
.spy { width: 150px; flex-shrink: 0; }
.spy-svg { width: 100%; height: auto; display: block; }
.spy-svg .halo {
  fill: #2a2e3a;
  opacity: 0;
  transition: fill .6s ease, opacity .6s ease;
}
body.anon .spy-svg .halo { fill: var(--red); opacity: .18; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: .12; } 50% { opacity: .26; } }

.spy-svg .coat       { fill: #969cb0; }
.spy-svg .coat-dark  { fill: #686e80; }
.spy-svg .head       { fill: #181a22; }
.spy-svg .hat        { fill: #b2b8ca; }
.spy-svg .hat-band   { fill: #262832; }
.spy-svg .hat-top    { fill: #b2b8ca; }
.spy-svg .lens       { fill: #1c1e26; stroke: #0e0f14; stroke-width: 1.5; transition: fill .6s ease; }
.spy-svg .bridge-line,
.spy-svg .temple     { stroke: #262832; stroke-width: 2; }

body.anon .spy-svg .lens { fill: var(--red); }
body.anon .spy-svg .eye-glow { animation: eyeGlow 1.6s ease-in-out infinite; }
@keyframes eyeGlow {
  0%, 100% { r: 9;  opacity: .55; }
  50%      { r: 14; opacity: .9;  }
}
.spy-svg .eye-glow { fill: var(--red); }

.state-block { display: flex; flex-direction: column; gap: 6px; }
.state {
  font-size: 28px; font-weight: 700; letter-spacing: -0.01em;
  transition: color .5s ease;
}
body.anon .state { color: var(--red); }
.muted { color: var(--muted); font-size: 12px; font-weight: 500; }

/* ── Bouton ────────────────────────────────────────────────────── */
.btn {
  border: none; cursor: pointer; font: inherit;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 15px; font-weight: 600;
  color: #fff;
  background: var(--accent);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(76, 141, 245, 0.28),
              inset 0 1px 0 rgba(255, 255, 255, 0.18),
              inset 0 -1px 0 rgba(0, 0, 0, 0.18);
  transition: transform .12s ease, background .25s ease, box-shadow .25s ease, opacity .2s ease;
}
.btn:hover:not(:disabled)  { background: var(--accent-hi); }
.btn:active:not(:disabled) { transform: translateY(1px); box-shadow: 0 4px 12px rgba(76, 141, 245, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.btn:disabled              { opacity: .42; cursor: not-allowed; box-shadow: none; }
.btn.ghost {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--border-hi);
  color: var(--text);
}
.btn.ghost:hover:not(:disabled) { box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); background: rgba(255,255,255,.03); }
.btn .power {
  width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round;
}
.hint { font-size: 11px; color: var(--muted); text-align: center; min-height: 14px; }

/* ── Info rows ─────────────────────────────────────────────────── */
.row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--border); }
.row:last-child { border-bottom: none; }
.lbl { color: var(--muted); font-size: 12px; }
.val { color: var(--text); font-size: 13px; }
.val.mono { font-family: "JetBrains Mono", "Consolas", ui-monospace, monospace; font-size: 11px; color: #c6c6d0; }

/* ── Stats ─────────────────────────────────────────────────────── */
.stats-row { display: flex; align-items: stretch; }
.stat { flex: 1; padding: 6px 14px; }
.stat-lbl { color: var(--muted); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; }
.stat-val { font-size: 22px; font-weight: 600; margin-top: 6px; transition: color .3s ease; }
body.anon .stat-val { color: #fff; }
.sep { width: 1px; background: var(--border); }

/* ── Error toast ──────────────────────────────────────────────── */
.error-toast {
  grid-column: 1 / -1;
  background: rgba(80, 24, 30, 0.6);
  border: 1px solid rgba(238, 64, 66, 0.4);
  color: #ffb1b2;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 12px;
  text-align: center;
}
.hidden { display: none; }

/* ── Footer ────────────────────────────────────────────────────── */
.foot {
  padding: 14px 32px 22px;
  display: flex; justify-content: space-between;
  color: var(--muted); font-size: 11px; letter-spacing: 0.08em; text-transform: lowercase;
}

@media (max-width: 720px) {
  .grid { grid-template-columns: 1fr; grid-template-areas: "hero" "action" "info1" "info2" "stats"; padding: 12px; }
  .hero { flex-direction: column; text-align: center; }
  .topbar { padding: 16px 16px 4px; }
  .foot   { padding: 12px 16px 16px; }
}

/* ════════════════════════════════════════════════════════════════════════
   LANDING PAGE — uses body.landing as root scope to avoid clashing with
   the dashboard layout above.
   ════════════════════════════════════════════════════════════════════════ */

body.landing { display: block; }

/* dashboard brand link goes back to landing */
.brand-link    { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.crumb         { color: var(--faint); font-size: 11px; letter-spacing: 0.08em; text-transform: lowercase; margin-left: 4px; }
.muted-link    { color: var(--muted); text-decoration: none; transition: color .2s ease; }
.muted-link:hover { color: var(--text); }
.brand .dot.live { background: var(--accent); box-shadow: 0 0 0 6px rgba(76, 141, 245, .14); }

/* ── Top nav ─────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 36px;
  backdrop-filter: blur(14px);
  background: rgba(8, 8, 11, 0.62);
  border-bottom: 1px solid var(--border);
}
.nav .brand .wordmark { color: var(--text); font-size: 14px; letter-spacing: 0.02em; }
.nav-links            { display: flex; gap: 28px; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 13px;
  letter-spacing: 0.02em; transition: color .2s ease;
}
.nav-links a:hover    { color: var(--text); }

a.btn                 { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.btn-sm               { padding: 9px 14px; font-size: 12px; border-radius: 9px; }
.arrow                { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero-wrap {
  display: grid; grid-template-columns: 1.15fr 1fr;
  align-items: center; gap: 60px;
  max-width: 1180px; margin: 0 auto;
  padding: 90px 36px 80px;
  position: relative;
}
.hero-wrap::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 500px at 70% 40%, rgba(76, 141, 245, 0.08), transparent 60%),
              radial-gradient(700px 400px at 30% 30%, rgba(238, 64, 66, 0.04), transparent 60%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.eyebrow {
  color: var(--accent); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700;
  margin-bottom: 16px;
}
.h1 {
  font-size: clamp(40px, 5vw, 60px); font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.05;
  margin: 0 0 20px;
  background: linear-gradient(180deg, #fff 0%, #c8c8d2 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 14px; }
.lead {
  color: #b8b8c2; font-size: 16px; font-weight: 500; line-height: 1.6;
  max-width: 520px; margin: 0 0 32px;
}
.lead strong { color: var(--text); font-weight: 700; }
.muted-lg    { color: var(--muted); font-size: 14px; font-weight: 500; max-width: 600px; margin: 8px auto 0; line-height: 1.55; }
.cta-row     { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 38px; }
.trust-row   { display: flex; gap: 36px; flex-wrap: wrap; }
.trust       { display: flex; flex-direction: column; gap: 4px; }
.trust-num   { font-size: 24px; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.trust-lbl   { font-size: 11px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

/* hero spy */
.hero-visual { display: flex; justify-content: center; position: relative; z-index: 1; }
.hero-spy {
  width: 360px; height: 360px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.halo-bg {
  position: absolute; inset: 0;
  background: radial-gradient(closest-side, rgba(238, 64, 66, 0.22), transparent 70%);
  filter: blur(8px);
  animation: heroPulse 3.4s ease-in-out infinite;
}
@keyframes heroPulse { 0%,100% { opacity: .6; } 50% { opacity: 1; } }
.hero-spy-svg { width: 320px; height: 320px; position: relative; z-index: 1; }
.hero-spy-svg .halo     { fill: var(--red); opacity: .18; }
.hero-spy-svg .lens-on  { fill: var(--red); }
.hero-spy-svg .eye-glow { fill: var(--red); animation: eyeGlow 1.6s ease-in-out infinite; }

/* ── Sections ──────────────────────────────────────────────────────── */
.section {
  max-width: 1180px; margin: 0 auto;
  padding: 80px 36px;
}
.section-head { text-align: center; margin-bottom: 50px; }
.section-head .eyebrow { display: inline-block; }

/* ── Features grid ────────────────────────────────────────────────── */
.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 28px 26px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.feature:hover { transform: translateY(-3px); border-color: var(--border-hi); background: var(--card-hi); }
.feat-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(76, 141, 245, 0.12);
  border-radius: 10px;
  margin-bottom: 18px;
}
.feat-icon svg {
  width: 20px; height: 20px;
  fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.feature h3 { font-size: 15px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.005em; }
.feature p  { color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1.55; margin: 0; }

/* ── PoC frame ────────────────────────────────────────────────────── */
.poc-frame {
  max-width: 980px; margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  transition: transform .3s ease;
}
.poc-frame:hover { transform: translateY(-4px); }
.poc-chrome {
  background: #0a0a0e;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.poc-dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.poc-r   { background: #ff5f57; }
.poc-y   { background: #febc2e; }
.poc-g   { background: #28c840; }
.poc-title {
  flex: 1; text-align: center; color: var(--muted);
  font-size: 11px; letter-spacing: 0.04em;
}
.poc-body { padding: 0; }
.poc-body.anon .anon-dot { background: var(--red); box-shadow: 0 0 0 6px rgba(238, 64, 66, .16); }
.poc-body.anon .halo-anon { fill: var(--red); opacity: .2; }
.poc-body.anon .lens-on   { fill: var(--red); }
.poc-body.anon .eye-glow  { fill: var(--red); animation: eyeGlow 1.6s ease-in-out infinite; }
.poc-body.anon .anon-text { color: var(--red); }

/* the dashboard grid inside the PoC keeps its own styles, but we tighten padding */
.poc-body .topbar { padding: 16px 22px 6px; }
.poc-body .grid   { padding: 12px 22px 22px; gap: 12px; }
.poc-body .card   { animation: none; }
.poc-cta { text-align: center; margin-top: 28px; }

/* ── Pricing ───────────────────────────────────────────────────────── */
.pricing {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
  max-width: 780px; margin: 0 auto;
}
.plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  transition: transform .25s ease, border-color .25s ease;
}
.plan:hover { transform: translateY(-3px); border-color: var(--border-hi); }
.plan-featured {
  border-color: rgba(76, 141, 245, 0.45);
  background: linear-gradient(180deg, rgba(76, 141, 245, 0.06), var(--card));
  box-shadow: 0 12px 40px rgba(76, 141, 245, 0.10);
}
.badge {
  position: absolute; top: -10px; right: 16px;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.02em;
  padding: 5px 10px; border-radius: 6px;
  box-shadow: 0 4px 14px rgba(76, 141, 245, 0.35);
}
.plan-name {
  color: var(--muted); font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 14px;
}
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.plan-price .cur    { font-size: 22px; color: var(--text); font-weight: 600; }
.plan-price .amount { font-size: 54px; font-weight: 700; color: var(--text); letter-spacing: -0.025em; line-height: 1; }
.plan-price .per    { color: var(--muted); font-size: 13px; margin-left: 6px; }
.plan-tag { color: var(--muted); font-size: 12px; margin-bottom: 22px; }
.plan-features { list-style: none; padding: 0; margin: 0 0 24px; }
.plan-features li {
  font-size: 13px; color: #c6c6d0; padding: 8px 0 8px 22px;
  position: relative; border-bottom: 1px dashed var(--border);
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before {
  content: ""; position: absolute; left: 0; top: 13px;
  width: 12px; height: 6px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}
.plan-cta { width: 100%; justify-content: center; }

/* ── Landing footer ───────────────────────────────────────────────── */
.foot-landing {
  border-top: 1px solid var(--border);
  padding: 32px 36px;
  margin-top: 40px;
  font-size: 12px; text-transform: none; letter-spacing: 0;
  flex-direction: row;
}
.foot-landing .wordmark { color: var(--text); font-weight: 700; margin-right: 8px; }
.foot-left  { display: flex; align-items: center; gap: 6px; }
.foot-links { display: flex; gap: 22px; }
.foot-links a { color: var(--muted); text-decoration: none; transition: color .2s ease; }
.foot-links a:hover { color: var(--text); }

/* ── Responsive landing ───────────────────────────────────────────── */
@media (max-width: 880px) {
  .hero-wrap   { grid-template-columns: 1fr; gap: 30px; padding: 50px 22px; text-align: center; }
  .hero-visual { order: -1; }
  .hero-spy    { width: 240px; height: 240px; }
  .hero-spy-svg{ width: 220px; height: 220px; }
  .cta-row     { justify-content: center; }
  .trust-row   { justify-content: center; gap: 24px; }
  .nav-links   { display: none; }
  .nav         { padding: 14px 18px; }
  .section     { padding: 50px 22px; }
  .features    { grid-template-columns: 1fr; }
  .pricing     { grid-template-columns: 1fr; }
  .poc-frame   { transform: none !important; }
}

