/* ============================================================
   ONEDFQUANTUM — Design inspiré du template Quantum
   ============================================================ */

:root {
  --bg:        #05050e;
  --bg-alt:    #07071a;
  --bg-card:   #0b0b20;
  --bg-card2:  #0e0e28;
  --white:     #ffffff;
  --gray:      #c8c8dc;
  --gray-dim:  #8888a8;
  --purple:    #9333ea;
  --purple-lt: #c084fc;
  --purple-dk: #6d28d9;
  --orange:    #f97316;
  --orange-lt: #fb923c;
  --border:    rgba(255,255,255,0.07);
  --glow:      rgba(147,51,234,0.35);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--purple-dk); border-radius: 3px; }

/* ── NAVBAR ───────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; gap: 40px;
  padding: 0 50px; height: 70px;
  background: rgba(5,5,14,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.15rem; font-weight: 800; letter-spacing: 0;
  white-space: nowrap; flex-shrink: 0;
}
.nav-logo-icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: linear-gradient(135deg, var(--purple-dk), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.nav-logo span { color: var(--purple-lt); }
.logo-text { color: var(--white); }
.logo-text em { font-style: normal; color: var(--purple-lt); }
.nav-links {
  display: flex; align-items: center; gap: 32px;
  flex: 1;
}
.nav-links a {
  font-size: 0.875rem; font-weight: 500; white-space: nowrap;
  color: var(--gray); transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-icons {
  display: flex; align-items: center; gap: 18px; margin-left: auto;
}
.nav-icon-btn {
  width: 36px; height: 36px; border-radius: 8px;
  border: 1px solid var(--border); background: transparent;
  color: var(--gray); font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.nav-icon-btn:hover { border-color: var(--purple); color: var(--white); }
.nav-toggle { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; }

/* ── BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 6px; border: none; cursor: pointer;
  font-size: 0.875rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; transition: all .25s;
}
.btn-purple {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 0 24px rgba(147,51,234,.4);
}
.btn-purple:hover { background: var(--purple-dk); box-shadow: 0 0 40px rgba(147,51,234,.6); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-ghost:hover { border-color: var(--purple-lt); color: var(--purple-lt); }

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding: 70px 0 0;
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(147,51,234,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147,51,234,.04) 1px, transparent 1px);
  background-size: 72px 72px;
}
.hero-glow {
  position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(147,51,234,.22) 0%, rgba(109,40,217,.1) 40%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 0;
  width: 100%; max-width: 1280px; margin: 0 auto;
  padding: 0 50px;
}
.hero-text { padding-right: 40px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: ''; width: 24px; height: 2px; background: var(--orange); border-radius: 1px;
}
.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 900; line-height: 1.1; letter-spacing: -.025em;
  color: var(--white); margin-bottom: 22px;
}
.hero h1 span { color: var(--purple-lt); }
.hero-desc {
  font-size: 1rem; color: var(--gray); line-height: 1.8;
  max-width: 440px; margin-bottom: 36px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  position: relative; display: flex;
  align-items: center; justify-content: center;
  height: 520px;
}
/* Quantum sphere visual */
.q-sphere {
  position: relative; width: 420px; height: 420px;
}
.q-sphere-core {
  position: absolute; inset: 60px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 35% 35%,
    rgba(196,132,252,.7) 0%,
    rgba(147,51,234,.55) 35%,
    rgba(88,28,135,.4) 65%,
    rgba(20,10,50,.2) 100%);
  box-shadow:
    0 0 60px rgba(147,51,234,.6),
    0 0 120px rgba(147,51,234,.3),
    inset 0 0 40px rgba(196,132,252,.2);
  animation: sphere-pulse 4s ease-in-out infinite;
}
.q-sphere-ring {
  position: absolute; inset: 40px;
  border-radius: 50%;
  border: 1px solid rgba(196,132,252,.25);
  animation: ring-spin 18s linear infinite;
}
.q-sphere-ring::before {
  content: ''; position: absolute; top: -5px; left: 50%;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--purple-lt);
  box-shadow: 0 0 12px var(--purple-lt);
  transform: translateX(-50%);
}
.q-sphere-ring2 {
  position: absolute; inset: 10px;
  border-radius: 50%;
  border: 1px dashed rgba(147,51,234,.2);
  animation: ring-spin 28s linear infinite reverse;
}
.q-sphere-symbol {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 100px; font-weight: 900;
  color: rgba(196,132,252,.18); letter-spacing: -.05em;
  user-select: none;
}
.q-dot {
  position: absolute; width: 8px; height: 8px; border-radius: 50%;
  background: var(--purple-lt);
  box-shadow: 0 0 10px var(--purple-lt);
}
.q-dot:nth-child(1) { top: 18%; left: 12%; animation: dot-float 3.2s ease-in-out infinite; }
.q-dot:nth-child(2) { bottom: 22%; right: 10%; animation: dot-float 4s ease-in-out infinite .8s; }
.q-dot:nth-child(3) { top: 60%; left: 5%; width: 5px; height: 5px; animation: dot-float 3.6s ease-in-out infinite .4s; }
@keyframes sphere-pulse {
  0%,100% { box-shadow: 0 0 60px rgba(147,51,234,.6),0 0 120px rgba(147,51,234,.3); }
  50%      { box-shadow: 0 0 80px rgba(147,51,234,.8),0 0 160px rgba(147,51,234,.45); }
}
@keyframes ring-spin { to { transform: rotate(360deg); } }
@keyframes dot-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* ── BRANDS ───────────────────────────────────────────── */
.brands {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 50px;
  background: var(--bg-alt);
}
.brands-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 0;
}
.brands-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gray-dim);
  white-space: nowrap; margin-right: 48px; padding-right: 48px;
  border-right: 1px solid var(--border);
}
.brands-list {
  display: flex; align-items: center; gap: 52px; flex-wrap: wrap;
}
.brands-list span {
  font-size: 0.9rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gray-dim);
  opacity: .45; transition: opacity .2s;
}
.brands-list span:hover { opacity: 1; }

/* ── SECTIONS ─────────────────────────────────────────── */
.section { padding: 90px 50px; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-alt { background: var(--bg-alt); }

.eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 14px;
  display: block;
}
.eyebrow.purple { color: var(--purple-lt); }
h2.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900; line-height: 1.15; letter-spacing: -.02em;
  color: var(--white); margin-bottom: 16px;
}
h2.section-title span { color: var(--purple-lt); }
.section-desc {
  color: var(--gray); font-size: .97rem; line-height: 1.8;
  max-width: 520px; margin-bottom: 0;
}
.centered { text-align: center; }
.centered .section-desc { margin: 0 auto; }

/* ── SERVICE CARDS (template style) ──────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.srv-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 32px 26px;
  transition: border-color .25s, transform .25s;
  cursor: default;
}
.srv-card:hover { border-color: rgba(147,51,234,.45); transform: translateY(-4px); }
.srv-icon {
  width: 54px; height: 54px; border-radius: 12px; margin-bottom: 22px;
  background: rgba(249,115,22,.1);
  border: 1px solid rgba(249,115,22,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.srv-icon.purple-icon {
  background: rgba(147,51,234,.1);
  border-color: rgba(147,51,234,.25);
}
.srv-card h3 {
  font-size: 1rem; font-weight: 700; color: var(--white);
  margin-bottom: 10px;
}
.srv-card p { font-size: .875rem; color: var(--gray); line-height: 1.7; }

/* ── SPLIT FEATURE ────────────────────────────────────── */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.split.flip { direction: rtl; }
.split.flip > * { direction: ltr; }
.split-text .eyebrow { margin-bottom: 12px; }
.split-text h2 { margin-bottom: 14px; }
.split-text .section-desc { margin-bottom: 28px; }
.check-list { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.check-item { display: flex; gap: 12px; align-items: flex-start; }
.check-dot {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: rgba(147,51,234,.15); border: 1px solid rgba(147,51,234,.4);
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.check-dot::after {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--purple-lt);
}
.check-item strong { display: block; font-size: .92rem; margin-bottom: 2px; color: var(--white); }
.check-item span { font-size: .85rem; color: var(--gray); line-height: 1.6; }
.visual-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 18px; overflow: hidden; height: 400px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.visual-box-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(147,51,234,.18) 0%, transparent 70%);
}
.visual-big-symbol {
  font-size: 120px; color: rgba(196,132,252,.12); position: relative; z-index: 1;
  animation: float-sym 5s ease-in-out infinite;
}
.visual-caption {
  position: absolute; bottom: 20px; left: 0; right: 0; text-align: center;
  font-size: .78rem; font-family: 'Courier New', monospace;
  color: var(--gray-dim); z-index: 1;
}
@keyframes float-sym {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* ── INFO BOX ─────────────────────────────────────────── */
.info-box {
  padding: 22px 24px; border-radius: 10px;
  border-left: 3px solid var(--purple);
  background: rgba(147,51,234,.07);
  margin: 22px 0;
}
.info-box.warn { border-left-color: #f59e0b; background: rgba(245,158,11,.06); }
.info-box.ok   { border-left-color: #22c55e; background: rgba(34,197,94,.06); }
.info-box h4 { font-size: .9rem; font-weight: 700; margin-bottom: 6px; color: var(--white); }
.info-box p  { font-size: .875rem; color: var(--gray); line-height: 1.75; }

/* ── CARDS GRID ───────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px; margin-top: 48px;
}
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 30px 26px; transition: all .25s;
}
.card:hover { border-color: rgba(147,51,234,.4); transform: translateY(-4px); }
.card-icon {
  font-size: 1.6rem; margin-bottom: 18px;
  width: 50px; height: 50px; border-radius: 10px;
  background: rgba(249,115,22,.1); border: 1px solid rgba(249,115,22,.2);
  display: flex; align-items: center; justify-content: center;
}
.card h3 { font-size: .97rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.card p  { font-size: .875rem; color: var(--gray); line-height: 1.7; }

/* ── TIMELINE ─────────────────────────────────────────── */
.timeline { margin-top: 56px; position: relative; padding-left: 24px; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--purple-dk) 20%, var(--purple-dk) 80%, transparent);
}
.tl-item { display: flex; gap: 28px; margin-bottom: 44px; position: relative; }
.tl-marker {
  position: absolute; left: -12px; top: 4px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--bg-card); border: 2px solid var(--purple);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; flex-shrink: 0; z-index: 1;
}
.tl-body { padding-left: 24px; }
.tl-year {
  display: inline-block; margin-bottom: 6px; padding: 2px 10px;
  border-radius: 100px; font-size: .72rem; font-weight: 700;
  background: rgba(147,51,234,.12); border: 1px solid rgba(147,51,234,.25);
  color: var(--purple-lt);
}
.tl-body h3 { font-size: .97rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.tl-body p  { font-size: .87rem; color: var(--gray); line-height: 1.7; }

/* ── TABLE ────────────────────────────────────────────── */
.cmp-table {
  width: 100%; border-collapse: collapse;
  background: var(--bg-card); border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border); margin-top: 36px;
}
.cmp-table th {
  padding: 15px 18px; text-align: left;
  background: rgba(147,51,234,.08);
  font-size: .8rem; font-weight: 700; letter-spacing: .05em;
  color: var(--purple-lt); border-bottom: 1px solid var(--border);
}
.cmp-table td {
  padding: 13px 18px; font-size: .87rem; color: var(--gray);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.cmp-table tr:last-child td { border-bottom: none; }
.cmp-table tr:hover td { background: rgba(147,51,234,.04); }
.ok  { color: #4ade80; }
.no  { color: #f87171; }
.meh { color: #fbbf24; }

/* ── ENCRYPT DEMO ─────────────────────────────────────── */
.enc-demo {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px; margin-top: 32px;
  font-family: 'Courier New', monospace;
}
.enc-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.enc-lbl {
  min-width: 110px; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: var(--gray-dim);
  font-family: 'Segoe UI', sans-serif;
}
.enc-val {
  flex: 1; padding: 9px 14px; border-radius: 6px;
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.07);
  font-size: .83rem; color: #a5f3fc; word-break: break-all;
}
.enc-val.green { color: #86efac; }
.enc-val.red   { color: #fca5a5; }
.enc-arrow { margin: 6px 0 6px 124px; color: var(--purple-lt); font-size: 1.1rem; }

/* ── BB84 VIZ ─────────────────────────────────────────── */
.bb84 {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px; margin-top: 28px; overflow-x: auto;
}
.bb84-row { display: flex; gap: 6px; margin-bottom: 10px; align-items: center; min-width: 560px; }
.bb84-lbl {
  min-width: 120px; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em; color: var(--gray-dim);
}
.b-bit {
  width: 38px; height: 38px; border-radius: 7px; flex-shrink: 0;
  background: var(--bg-card2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-family: 'Courier New', monospace; font-weight: 700;
  color: var(--gray);
}
.b-bit.ok  { background: rgba(74,222,128,.08); border-color: rgba(74,222,128,.25); color: #4ade80; }
.b-bit.no  { background: rgba(248,113,113,.05); border-color: rgba(248,113,113,.12); color: var(--gray-dim); }
.b-bit.key { background: rgba(147,51,234,.15); border-color: rgba(147,51,234,.4); color: var(--purple-lt); }

/* ── QUIZ ─────────────────────────────────────────────── */
.quiz-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 32px; max-width: 620px;
}
.quiz-prog { font-size: .78rem; color: var(--gray-dim); margin-bottom: 14px; }
.quiz-q    { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 22px; }
.quiz-opts { display: flex; flex-direction: column; gap: 10px; }
.quiz-opt {
  padding: 13px 18px; border-radius: 9px; text-align: left; cursor: pointer;
  background: rgba(147,51,234,.06); border: 1px solid var(--border);
  font-size: .875rem; color: var(--gray); transition: all .18s;
}
.quiz-opt:hover { border-color: var(--purple); color: var(--white); }
.quiz-opt:disabled { cursor: default; }
.quiz-opt.correct { border-color: #22c55e; background: rgba(34,197,94,.08); color: #4ade80; }
.quiz-opt.wrong   { border-color: #ef4444; background: rgba(239,68,68,.06); color: #f87171; }
.quiz-fb {
  margin-top: 18px; padding: 14px 18px; border-radius: 9px;
  font-size: .875rem; display: none;
}
.quiz-fb.show { display: block; }
.quiz-fb.correct { background: rgba(34,197,94,.08); color: #4ade80; border: 1px solid rgba(34,197,94,.2); }
.quiz-fb.wrong   { background: rgba(239,68,68,.07); color: #f87171; border: 1px solid rgba(239,68,68,.15); }
.quiz-next { margin-top: 18px; display: none; }
.quiz-next.show { display: inline-flex; }

/* ── STEP LIST ────────────────────────────────────────── */
.step-list { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.step-item {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px 22px;
}
.step-num {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: var(--purple); display: flex; align-items: center;
  justify-content: center; font-size: .82rem; font-weight: 800; color: #fff;
}
.step-item h4 { font-size: .92rem; font-weight: 700; color: var(--white); margin-bottom: 5px; }
.step-item p  { font-size: .87rem; color: var(--gray); line-height: 1.65; }

/* ── TAG ──────────────────────────────────────────────── */
.tag {
  display: inline-block; padding: 3px 10px; border-radius: 100px;
  font-size: .72rem; font-weight: 600; margin: 8px 4px 0 0;
  background: rgba(147,51,234,.1); border: 1px solid rgba(147,51,234,.25);
  color: var(--purple-lt);
}

/* ── PAGE HERO ────────────────────────────────────────── */
.page-hero {
  padding: 140px 50px 70px; position: relative; overflow: hidden;
  background: var(--bg-alt); border-bottom: 1px solid var(--border);
}
.page-hero-glow {
  position: absolute; bottom: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(147,51,234,.18) 0%, transparent 70%);
  pointer-events: none;
}
.breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: .8rem; color: var(--gray-dim); margin-bottom: 22px;
}
.breadcrumb a { color: var(--purple-lt); }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900; line-height: 1.12; letter-spacing: -.025em;
  color: var(--white); margin: 8px 0 16px;
}
.page-hero h1 span { color: var(--purple-lt); }
.page-hero p { font-size: .97rem; color: var(--gray); line-height: 1.8; max-width: 640px; }

/* ── CTA ──────────────────────────────────────────────── */
.cta-sec {
  padding: 100px 50px; text-align: center; position: relative; overflow: hidden;
}
.cta-sec-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(147,51,234,.14) 0%, transparent 70%);
}
.cta-sec-inner { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }
.cta-sec h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 900; line-height: 1.15; color: var(--white); margin-bottom: 16px;
}
.cta-sec h2 span { color: var(--purple-lt); }
.cta-sec p { color: var(--gray); font-size: .97rem; margin-bottom: 32px; line-height: 1.75; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── ROADMAP ──────────────────────────────────────────── */
.roadmap {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-top: 48px; position: relative;
}
.roadmap::before {
  content: ''; position: absolute;
  top: 36px; left: calc(12.5%); right: calc(12.5%); height: 2px;
  background: linear-gradient(90deg, var(--purple-dk), var(--purple), var(--purple-lt));
}
.rm-item { text-align: center; padding: 0 20px; }
.rm-dot {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--bg-card); border: 2px solid var(--border);
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; position: relative; z-index: 1;
}
.rm-dot.done { border-color: var(--purple); background: rgba(147,51,234,.12); }
.rm-dot.now  { border-color: var(--orange); background: rgba(249,115,22,.1);
               box-shadow: 0 0 24px rgba(249,115,22,.3); }
.rm-year { font-size: .72rem; color: var(--purple-lt); font-weight: 700; margin-bottom: 6px; }
.rm-item h4 { font-size: .9rem; font-weight: 700; color: var(--white); margin-bottom: 5px; }
.rm-item p  { font-size: .8rem; color: var(--gray-dim); line-height: 1.55; }

/* ── FOOTER ───────────────────────────────────────────── */
footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 56px 50px 28px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; max-width: 1280px; margin: 0 auto 40px;
}
.footer-brand p { color: var(--gray-dim); font-size: .875rem; margin-top: 14px; max-width: 270px; line-height: 1.75; }
.footer-col h4 {
  font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gray-dim); margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: .875rem; color: var(--gray-dim); transition: color .2s; }
.footer-col ul a:hover { color: var(--purple-lt); }
.footer-bottom {
  max-width: 1280px; margin: 0 auto;
  padding-top: 22px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between;
  font-size: .8rem; color: var(--gray-dim);
}

/* ── PRINCIPLE CARDS ──────────────────────────────────── */
.principle-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px; margin-top: 52px;
}
.pcard {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 30px; position: relative; overflow: hidden;
  transition: all .25s;
}
.pcard:hover { border-color: rgba(147,51,234,.4); transform: translateY(-4px); }
.pcard::after {
  content: attr(data-bg); position: absolute; right: 16px; top: 8px;
  font-size: 5rem; font-weight: 900; color: rgba(255,255,255,.03);
  pointer-events: none; line-height: 1; font-family: 'Courier New', monospace;
}
.pcard-num { font-size: .7rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.pcard h3 { font-size: 1.1rem; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.pcard p  { font-size: .875rem; color: var(--gray); line-height: 1.75; }
.formula {
  display: inline-block; margin-top: 14px; padding: 7px 14px; border-radius: 6px;
  background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.07);
  font-family: 'Courier New', monospace; font-size: .85rem; color: var(--purple-lt);
}

/* ── SCIENTIST CARDS ──────────────────────────────────── */
.scientist-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px; margin-top: 44px;
}
.sci-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 26px; text-align: center; transition: all .25s;
}
.sci-card:hover { transform: translateY(-4px); border-color: rgba(147,51,234,.4); }
.sci-avatar {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--purple-dk), var(--purple));
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.sci-card h4 { font-size: .95rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.sci-year { color: var(--purple-lt); font-size: .78rem; margin-bottom: 8px; font-weight: 600; }
.sci-card p  { font-size: .82rem; color: var(--gray); line-height: 1.6; }

/* ── EXPERIMENT CARD ──────────────────────────────────── */
.exp-card {
  display: flex; gap: 22px; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 26px; margin-bottom: 16px; transition: all .25s;
}
.exp-card:hover { border-color: rgba(147,51,234,.35); }
.exp-icon { font-size: 2rem; flex-shrink: 0; }
.exp-card h3 { font-size: .97rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.exp-card p  { font-size: .875rem; color: var(--gray); line-height: 1.7; }

/* ── ALGO ROW ─────────────────────────────────────────── */
.algo-row {
  display: flex; gap: 18px; align-items: center;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px 20px; margin-bottom: 14px; transition: all .2s;
}
.algo-row:hover { border-color: rgba(147,51,234,.35); }
.algo-icon { font-size: 1.6rem; flex-shrink: 0; }
.algo-name { font-size: .95rem; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.algo-desc { font-size: .85rem; color: var(--gray); }
.algo-badge {
  margin-left: auto; flex-shrink: 0; padding: 5px 12px; border-radius: 100px;
  font-size: .75rem; font-weight: 700;
  background: rgba(147,51,234,.12); border: 1px solid rgba(147,51,234,.25);
  color: var(--purple-lt); white-space: nowrap;
}

/* ── GLOSSARY ─────────────────────────────────────────── */
.gloss-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 16px; margin-top: 40px;
}
.gloss-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px;
}
.gloss-term {
  font-size: .88rem; font-weight: 700; color: var(--purple-lt);
  font-family: 'Courier New', monospace; margin-bottom: 7px;
}
.gloss-def { font-size: .845rem; color: var(--gray); line-height: 1.65; }

/* ── THREAT GRID ──────────────────────────────────────── */
.threat-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; margin-top: 36px;
}
.threat-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 26px;
}
.threat-card.bad  { border-color: rgba(248,113,113,.25); }
.threat-card.good { border-color: rgba(74,222,128,.25); }
.threat-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: 12px;
}
.threat-status.bad  { color: #f87171; }
.threat-status.good { color: #4ade80; }
.threat-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.threat-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.threat-card p  { font-size: .875rem; color: var(--gray); line-height: 1.7; }

/* ── ALGO CARD ────────────────────────────────────────── */
.algo-cards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; margin-top: 40px;
}
.algo-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 26px; transition: all .25s;
}
.algo-card:hover { transform: translateY(-4px); border-color: rgba(147,51,234,.4); }
.algo-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.algo-card-name { font-size: 1.05rem; font-weight: 800; color: var(--white); }
.nist-badge {
  padding: 3px 9px; border-radius: 100px; font-size: .68rem; font-weight: 700;
  background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.2); color: #4ade80;
}
.res-badge {
  padding: 3px 9px; border-radius: 100px; font-size: .68rem; font-weight: 700;
  background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.2); color: #fbbf24;
}
.algo-card-type { color: var(--purple-lt); font-size: .8rem; font-weight: 600; margin-bottom: 10px; }
.algo-card p { font-size: .875rem; color: var(--gray); line-height: 1.7; }

/* ── PLAYERS ──────────────────────────────────────────── */
.players-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px; margin-top: 40px;
}
.player-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 24px; text-align: center; transition: all .25s;
}
.player-card:hover { transform: translateY(-4px); border-color: rgba(147,51,234,.4); }
.player-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(147,51,234,.1); border: 1px solid rgba(147,51,234,.2);
  margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.player-card h4 { font-size: .95rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.player-qubits  { color: var(--purple-lt); font-size: .82rem; font-weight: 600; margin-bottom: 6px; }
.player-card p  { font-size: .8rem; color: var(--gray-dim); line-height: 1.55; }

/* ── APP CARDS ────────────────────────────────────────── */
.apps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px; margin-top: 44px;
}
.app-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden; transition: all .25s;
}
.app-card:hover { transform: translateY(-4px); border-color: rgba(147,51,234,.4); }
.app-card-head {
  padding: 22px 22px 0;
  display: flex; align-items: center; gap: 14px;
}
.app-domain {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--purple-dk), var(--purple));
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.app-domain-text h3 { font-size: 1rem; font-weight: 700; color: var(--white); }
.app-domain-text span { font-size: .78rem; color: var(--purple-lt); }
.app-card > p { padding: 14px 22px; font-size: .875rem; color: var(--gray); line-height: 1.7; }
.app-card-foot {
  padding: 12px 22px 18px; border-top: 1px solid var(--border);
  font-size: .78rem; color: var(--gray-dim);
}
.app-card-foot strong { color: var(--purple-lt); }

/* ── QUBIT CARDS ──────────────────────────────────────── */
.qbit-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; margin-top: 44px;
}
.qbit-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 26px; transition: all .25s; position: relative; overflow: hidden;
}
.qbit-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--purple-dk), var(--purple-lt));
  transform: scaleX(0); transition: transform .3s; transform-origin: left;
}
.qbit-card:hover { transform: translateY(-4px); }
.qbit-card:hover::before { transform: scaleX(1); }
.qbit-who { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--purple); margin-bottom: 12px; }
.qbit-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.qbit-card p  { font-size: .875rem; color: var(--gray); line-height: 1.7; }
.qbit-temp {
  display: inline-block; margin-top: 12px; padding: 3px 10px; border-radius: 100px;
  font-size: .72rem; font-weight: 600; font-family: 'Courier New', monospace;
  background: rgba(147,51,234,.08); border: 1px solid rgba(147,51,234,.2); color: var(--purple-lt);
}

/* ── VS GRID ──────────────────────────────────────────── */
.vs-grid {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 20px; align-items: start; margin-top: 44px;
}
.vs-col {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px;
}
.vs-col.q-col { border-color: rgba(147,51,234,.35); }
.vs-col h3 { font-size: 1.05rem; font-weight: 800; color: var(--white); margin-bottom: 18px; }
.vs-col h3 span { color: var(--purple-lt); }
.vs-item { display: flex; gap: 10px; margin-bottom: 13px; }
.vs-item p { font-size: .87rem; color: var(--gray); line-height: 1.6; }
.vs-div {
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 900; color: var(--purple-lt); padding-top: 72px;
}
.vs-icon { font-size: 1.1rem; flex-shrink: 0; }

/* ── STAT NUMBERS ─────────────────────────────────────── */
.stats-row { display: flex; gap: 48px; padding-top: 40px; margin-top: 40px; border-top: 1px solid var(--border); }
.stat-val { font-size: 2.2rem; font-weight: 900; color: var(--purple-lt); }
.stat-lbl { font-size: .78rem; color: var(--gray-dim); margin-top: 3px; }

/* ── FADE IN ──────────────────────────────────────────── */
.fi { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.fi.v { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .roadmap { grid-template-columns: repeat(2, 1fr); }
  .roadmap::before { display: none; }
  .vs-grid { grid-template-columns: 1fr; }
  .vs-div { display: none; }
  .threat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-links, .nav-icons .nav-icon-btn:not(:last-child) { display: none; }
  .nav-toggle { display: flex; }
  .section, .cta-sec { padding: 60px 20px; }
  .page-hero { padding: 120px 20px 50px; }
  .brands { padding: 22px 20px; }
  .brands-label { display: none; }
  footer { padding: 44px 20px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .stats-row { gap: 28px; flex-wrap: wrap; }
  .services-grid { grid-template-columns: 1fr; }
  .roadmap { grid-template-columns: 1fr 1fr; }
}
