/* =====================================================
   XPROBOT — PRESENTATION STYLES
   Dark neon theme: black + purple + cyan accents
   ===================================================== */

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

:root {
  --accent:        #00d4ff;
  --accent2:       #8b5cf6;
  --accent3:       #00ffaa;
  --neon:          #6366f1;
  --gold:          #f59e0b;
  --danger:        #ef4444;
  --bg:            #020510;
  --card-bg:       rgba(255,255,255,0.04);
  --card-border:   rgba(255,255,255,0.08);
  --text:          #f1f5f9;
  --text-muted:    #94a3b8;
  --font:          'Inter', sans-serif;
  --font-display:  'Space Grotesk', sans-serif;
  --slide-transition: 0.65s cubic-bezier(0.77,0,0.175,1);
}

html, body {
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

/* ── DECK ────────────────────────────────────────────── */
#deck {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* ── SLIDE BASE ──────────────────────────────────────── */
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0;
  transform: translateX(100%);
  transition: transform var(--slide-transition), opacity 0.4s ease;
  will-change: transform, opacity;
}

.slide.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
}

.slide.exit-left {
  opacity: 0;
  transform: translateX(-60px);
  z-index: 1;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(99,102,241,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(0,212,255,0.06) 0%, transparent 50%),
              var(--bg);
  z-index: 0;
}

.glow-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(99,102,241,0.15) 0%, transparent 70%);
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}

.slide-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  padding: 2rem 3rem;
}

.center-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

/* ── GLOW ORBS ───────────────────────────────────────── */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  pointer-events: none;
  animation: orbFloat 6s ease-in-out infinite;
}
.orb-1 { width:400px; height:400px; background:var(--accent2); top:-100px; right:-100px; animation-delay:0s; }
.orb-2 { width:300px; height:300px; background:var(--accent);  bottom:-80px; left:-80px; animation-delay:-3s; }
.orb-3 { width:250px; height:250px; background:var(--accent3); bottom:50px; right:20%; animation-delay:-1.5s; }

@keyframes orbFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-20px); }
}

/* ── BADGES ──────────────────────────────────────────── */
.badge-row { display: flex; gap: 0.8rem; flex-wrap: wrap; justify-content: center; }
.badge {
  padding: 0.35rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  backdrop-filter: blur(8px);
}
.badge i { margin-right: 0.4rem; color: var(--accent); }

/* ── SLIDE LABEL ─────────────────────────────────────── */
.slide-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.8;
}

/* ── HEADINGS ────────────────────────────────────────── */
.slide-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 60px rgba(99,102,241,0.4);
}

.slide-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}

.slide-subtitle {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
}

.slide-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.accent         { color: var(--accent); }
.poly-accent    { color: #8247e5; }

/* ── ANIMATION INITIAL STATES ────────────────────────── */
[data-anim] {
  opacity: 0;
  transition: none;
}

[data-anim].animated {
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22,1,0.36,1);
}

[data-anim="fade-in"]    { opacity: 0; }
[data-anim="fade-in"].animated { opacity: 1; }

[data-anim="slide-up"]   { opacity: 0; transform: translateY(40px); }
[data-anim="slide-up"].animated  { opacity: 1; transform: translateY(0); }

[data-anim="slide-right"] { opacity: 0; transform: translateX(-50px); }
[data-anim="slide-right"].animated { opacity: 1; transform: translateX(0); }

[data-anim="slide-left"] { opacity: 0; transform: translateX(50px); }
[data-anim="slide-left"].animated { opacity: 1; transform: translateX(0); }

[data-anim="zoom-in"]    { opacity: 0; transform: scale(0.7); }
[data-anim="zoom-in"].animated   { opacity: 1; transform: scale(1); }

[data-anim="pop-in"]     { opacity: 0; transform: scale(0.5); }
[data-anim="pop-in"].animated    { opacity: 1; transform: scale(1); }

[data-anim="pulse-in"]   { opacity: 0; transform: scale(0.8); }
[data-anim="pulse-in"].animated  {
  opacity: 1; transform: scale(1);
  animation: pulse 2s ease-in-out infinite 0.6s;
}

[data-anim="shield-reveal"] { opacity: 0; transform: scale(0.3) rotate(-20deg); }
[data-anim="shield-reveal"].animated { opacity: 1; transform: scale(1) rotate(0); }

[data-anim="grow-bar"]   { opacity: 0; }
[data-anim="grow-bar"].animated { opacity: 1; }

[data-anim="grow-line"]  { opacity: 0; transform: scaleY(0); transform-origin: top center; }
[data-anim="grow-line"].animated { opacity: 1; transform: scaleY(1); }

@keyframes pulse {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.04); }
}

/* ══════════════════════════════════════════════════════ */
/*  SLIDE-SPECIFIC STYLES                                 */
/* ══════════════════════════════════════════════════════ */

/* SLIDE 2 – HOOK */
.big-quote { font-size: clamp(1.6rem, 3.8vw, 3rem); }
.hook-lines { display: flex; flex-direction: column; gap: 1rem; text-align: left; max-width: 700px; }
.hook-line {
  display: flex; align-items: center; gap: 1rem;
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  color: var(--text-muted);
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
}
.hook-line i { color: var(--accent); font-size: 1.1rem; flex-shrink: 0; }
.hook-line strong { color: #fff; }
.zoom-line {
  border-color: var(--accent2);
  background: rgba(99,102,241,0.12);
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: #fff;
}

/* SLIDE 3 – WHAT */
.what-lines { display: flex; flex-direction: column; gap: 0.85rem; }
.what-line {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-muted);
}
.what-line em { color: var(--text); font-style: normal; }
.accent-line { color: #fff; font-size: clamp(1.1rem, 2.2vw, 1.5rem); }
.zoom-in-text strong { color: var(--accent); }
.tag {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 6px;
  background: rgba(99,102,241,0.2);
  border: 1px solid rgba(99,102,241,0.4);
  color: var(--accent2);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0.2rem;
}

/* SLIDE 4 – BLOCKCHAIN GRID */
.blockchain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 700px;
}
.bc-card {
  padding: 1.4rem;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.bc-card i { font-size: 1.8rem; color: var(--accent); }
.bc-card span { font-weight: 700; font-size: 1rem; color: #fff; }
.bc-card small { font-size: 0.8rem; color: var(--text-muted); }
.glow-card {
  border-color: var(--accent);
  background: rgba(0,212,255,0.07);
  box-shadow: 0 0 30px rgba(0,212,255,0.15);
}
.glow-text { color: var(--accent) !important; font-size: 1.15rem !important; }

/* SLIDE 5 – ARCHITECTURE */
.arch-layers {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 650px;
  width: 100%;
}
.arch-block {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.5rem;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
}
.arch-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent2), var(--neon));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: #fff; flex-shrink: 0;
}
.arch-info h4 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.2rem; }
.arch-info p  { font-size: 0.82rem; color: var(--text-muted); }
.arch-connector {
  width: 2px; height: 24px;
  background: linear-gradient(to bottom, var(--accent2), var(--accent));
  margin: 0 auto;
}
.arch-footer { font-size: 0.9rem; color: var(--text-muted); }
.arch-footer i { color: var(--accent); margin-right: 0.3rem; }

/* SLIDE 6 – WEB3 */
.wallet-row { display: flex; gap: 2rem; justify-content: center; }
.wallet-card {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  padding: 1.5rem 2rem;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  font-weight: 700; font-size: 0.95rem;
}
.wallet-card img { width: 60px; height: 60px; }
.wallet-features { display: flex; flex-direction: column; gap: 0.7rem; max-width: 500px; }
.wf-item {
  display: flex; align-items: center; gap: 0.8rem;
  font-size: 1rem; color: var(--text-muted);
  padding: 0.6rem 1rem;
  border-radius: 10px;
  background: var(--card-bg);
}
.wf-item i { color: var(--accent); }
.wf-item strong { color: #fff; }
.pulse-item {
  border: 1px solid var(--accent);
  background: rgba(0,212,255,0.08);
  color: #fff;
  font-size: 1.1rem;
}

/* SLIDE 7 – ENGINE */
.engine-bullets { display: flex; flex-direction: column; gap: 0.8rem; max-width: 680px; width: 100%; }
.engine-bullet {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  font-size: 1rem; color: var(--text-muted);
  text-align: left;
}
.num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--accent2);
  flex-shrink: 0;
  min-width: 2rem;
}
.accent-num { color: var(--accent); font-size: 1.3rem; }
.engine-bullet strong { color: #fff; }

/* SLIDE 8 – PERFORMANCE */
.perf-bars { display: flex; flex-direction: column; gap: 1.2rem; width: 100%; max-width: 680px; }
.perf-bar-item { display: flex; flex-direction: column; gap: 0.4rem; }
.perf-bar-label {
  display: flex; align-items: baseline; gap: 0.5rem;
  font-size: 1rem; font-weight: 700; color: #fff;
}
.perf-bar-label small { font-size: 0.78rem; color: var(--text-muted); font-weight: 400; }
.perf-bar-track {
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.perf-bar-fill {
  height: 100%;
  border-radius: 999px;
  width: 0%;
  background: linear-gradient(90deg, var(--neon), var(--accent2));
  transition: width 1.2s cubic-bezier(0.22,1,0.36,1);
}
.perf-bar-fill.animated { width: var(--target-w); }
.perf-bar-val {
  font-size: 1.1rem; font-weight: 800; color: var(--accent);
  text-align: right;
}
.counter { display: inline-block; }
.disclaimer { font-size: 0.72rem; color: var(--text-muted); max-width: 500px; }

/* SLIDE 9 – RISK */
.shield-wrap, .lock-wrap {
  margin: 0.5rem 0;
}
.shield-icon, .lock-icon {
  font-size: 4rem;
  color: var(--accent);
  text-shadow: 0 0 30px rgba(0,212,255,0.5);
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.risk-points, .sec-points { display: flex; flex-direction: column; gap: 0.7rem; max-width: 640px; }
.risk-point, .sec-point {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 0.75rem 1.2rem;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  font-size: 0.92rem; color: var(--text-muted);
  text-align: left;
}
.risk-point i { color: var(--accent); flex-shrink: 0; margin-top: 0.1rem; }
.sec-point i  { color: var(--accent); font-size: 1.3rem; flex-shrink: 0; margin-top: 0.2rem; }
.sec-point strong { color: #fff; display: block; margin-bottom: 0.1rem; }
.sec-point p { margin: 0; color: var(--text-muted); font-size: 0.82rem; }

/* SLIDE 10 – RECOVERY */
.recovery-flow {
  display: flex; align-items: center; gap: 0.8rem;
  flex-wrap: wrap; justify-content: center;
}
.rec-step {
  padding: 1rem 1.4rem;
  border-radius: 14px;
  font-size: 0.88rem; font-weight: 600;
  text-align: center; line-height: 1.5;
  min-width: 160px;
}
.red-step   { background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.4); color: #fca5a5; }
.amber-step { background: rgba(245,158,11,0.15); border: 1px solid rgba(245,158,11,0.4); color: #fcd34d; }
.green-step { background: rgba(0,255,170,0.1);  border: 1px solid rgba(0,255,170,0.35); color: #6ee7b7; }
.rec-arrow  { font-size: 1.3rem; color: var(--text-muted); }
.rec-points { display: flex; flex-direction: column; gap: 0.65rem; max-width: 600px; }
.rec-point {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.65rem 1.1rem;
  border-radius: 10px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  font-size: 0.9rem; color: var(--text-muted);
}
.rec-point i { color: var(--accent3); flex-shrink: 0; }

/* SLIDE 11 – SERVERS */
.server-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 800px;
}
.server-card {
  padding: 1.4rem 1rem;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.server-card i { font-size: 2rem; color: var(--accent); }
.server-card h4 { font-size: 0.9rem; font-weight: 700; color: #fff; }
.server-card p  { font-size: 0.76rem; color: var(--text-muted); }
.server-pulse { animation: serverPulse 2s ease-in-out infinite; }
@keyframes serverPulse {
  0%,100% { text-shadow: 0 0 8px rgba(0,212,255,0.4); }
  50%      { text-shadow: 0 0 24px rgba(0,212,255,0.9), 0 0 40px rgba(0,212,255,0.4); }
}
.speed-lines { display: flex; gap: 0.5rem; justify-content: center; height: 4px; width: 100%; max-width: 500px; }
.speed-line {
  height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: speedAnim 1.5s linear infinite;
}
.sl1 { width: 30%; animation-delay: 0s; }
.sl2 { width: 50%; animation-delay: 0.3s; }
.sl3 { width: 20%; animation-delay: 0.6s; }
@keyframes speedAnim {
  0%   { opacity: 0; transform: translateX(-100%); }
  50%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(100%); }
}

/* SLIDE 12 – SCALING */
.scale-flow { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.scale-box {
  padding: 1.2rem 1.5rem;
  border-radius: 14px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  text-align: center;
  font-size: 0.85rem; color: var(--text-muted);
  min-width: 120px;
}
.scale-box i { font-size: 1.8rem; color: var(--accent2); margin-bottom: 0.3rem; display: block; }
.scale-box small { font-size: 0.75rem; }
.scale-arrow { color: var(--text-muted); font-size: 0.85rem; }
.scale-stats { display: flex; gap: 2rem; }
.ss-item { text-align: center; font-size: 0.85rem; color: var(--text-muted); }
.ss-val { display: block; font-size: 1.8rem; font-weight: 800; color: var(--accent); font-family: var(--font-display); }

/* SLIDE 13 – PLANS */
.plans-row { display: flex; gap: 1.2rem; align-items: stretch; flex-wrap: wrap; justify-content: center; }
.plan-card {
  flex: 1; min-width: 200px; max-width: 260px;
  padding: 1.5rem 1.2rem;
  border-radius: 18px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  display: flex; flex-direction: column; gap: 0.7rem;
  position: relative; overflow: hidden;
}
.featured-plan {
  border-color: var(--accent2);
  background: rgba(99,102,241,0.1);
  box-shadow: 0 0 40px rgba(99,102,241,0.25);
}
.plan-badge {
  position: absolute; top: 0; right: 0;
  background: var(--accent2);
  color: #fff; font-size: 0.7rem; font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-bottom-left-radius: 10px;
}
.plan-tier { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.plan-price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: #fff; }
.plan-price small { font-size: 0.9rem; font-weight: 400; color: var(--text-muted); }
.plan-bots { font-size: 1rem; font-weight: 700; color: var(--accent); }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.plan-features li { font-size: 0.82rem; color: var(--text-muted); padding-left: 1.2rem; position: relative; }
.plan-features li::before { content: '✓'; position: absolute; left: 0; color: var(--accent3); font-weight: 700; }
.plan-note { font-size: 0.78rem; color: var(--text-muted); }

/* SLIDE 14 – REFERRAL */
.ref-tree { display: flex; align-items: center; gap: 0; flex-wrap: wrap; justify-content: center; }
.you-node {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent2), var(--neon));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.8rem; color: #fff;
  box-shadow: 0 0 20px rgba(99,102,241,0.5);
  flex-shrink: 0;
}
.ref-level { display: flex; align-items: center; gap: 0; }
.ref-card {
  display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  min-width: 90px;
  position: relative;
}
.ref-card::before {
  content: '';
  position: absolute; left: -20px;
  width: 20px; height: 2px;
  background: var(--card-border);
}
.ref-card-gold { border-color: var(--gold); background: rgba(245,158,11,0.08); }
.ref-pct { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: var(--accent); }
.ref-card-gold .ref-pct { color: var(--gold); }
.ref-lbl  { font-size: 0.72rem; font-weight: 700; color: var(--text); }
.ref-desc { font-size: 0.68rem; color: var(--text-muted); }
.ref-note { font-size: 0.78rem; color: var(--text-muted); }

/* SLIDE 15 – GLOBAL */
.globe-wrap {
  position: relative;
  width: 120px; height: 120px;
  display: flex; align-items: center; justify-content: center;
}
.globe-icon { font-size: 4rem; color: var(--accent); position: relative; z-index: 1; }
.globe-ring {
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(0,212,255,0.3);
  animation: ringExpand 3s ease-out infinite;
}
.ring2 { animation-delay: 1.5s; }
@keyframes ringExpand {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2); opacity: 0; }
}
.global-cards { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.global-card {
  padding: 1.3rem 1.5rem;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  text-align: center; max-width: 250px;
  display: flex; flex-direction: column; gap: 0.4rem;
}
.global-card i { font-size: 1.5rem; color: var(--accent2); }
.global-card h4 { font-size: 0.95rem; font-weight: 700; color: #fff; }
.global-card p  { font-size: 0.8rem; color: var(--text-muted); }

/* SLIDE 16 – SECURITY (sec-points already defined above) */

/* SLIDE 17 – WHY */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 720px;
}
.why-card {
  padding: 1.3rem 1rem;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  text-align: center;
  display: flex; flex-direction: column; gap: 0.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(99,102,241,0.2);
}
.why-card i { font-size: 1.6rem; color: var(--accent2); }
.why-card h4 { font-size: 0.88rem; font-weight: 700; color: #fff; }
.why-card p  { font-size: 0.75rem; color: var(--text-muted); }

/* SLIDE 18 – VISION */
.vision-heading { font-size: clamp(1.6rem, 3.5vw, 2.8rem); }
.strike { text-decoration: line-through; color: var(--text-muted); }
.vision-lines { display: flex; flex-direction: column; gap: 0.8rem; }
.vision-line { font-size: clamp(0.95rem, 1.8vw, 1.2rem); color: var(--text-muted); }
.strike-word { text-decoration: line-through; color: rgba(255,255,255,0.3); }
.vision-line strong { color: #fff; }
.vision-footer { font-size: 0.82rem; color: var(--text-muted); letter-spacing: 0.05em; }

/* SLIDE 19 – CLOSING */
.closing-logo {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  text-shadow: 0 0 80px rgba(99,102,241,0.5);
}
.closing-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}
.closing-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.07em;
}
.closing-cta { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.btn-pres {
  padding: 0.85rem 2rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: all 0.25s;
}
.btn-pres-primary {
  background: linear-gradient(135deg, var(--accent2), var(--neon));
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(99,102,241,0.4);
}
.btn-pres-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(99,102,241,0.5); }
.btn-pres-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--card-border);
}
.btn-pres-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ══════════════════════════════════════════════════════ */
/*  NAVIGATION UI                                         */
/* ══════════════════════════════════════════════════════ */
#nav-ui {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(10,10,20,0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  z-index: 100;
  user-select: none;
}

#nav-ui button {
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
#nav-ui button:hover { background: rgba(99,102,241,0.25); color: var(--accent); }
#nav-ui button:disabled { opacity: 0.3; cursor: default; }

#slide-counter {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  min-width: 50px;
  text-align: center;
}
#cur-slide { color: var(--accent); }

/* Dots */
#dot-nav {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 100;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.3s;
}
.dot.active { background: var(--accent); transform: scale(1.4); }
.dot:hover  { background: rgba(255,255,255,0.5); }

/* Fullscreen & Home */
#btn-fullscreen, #btn-home {
  position: fixed;
  top: 1.2rem;
  background: rgba(10,10,20,0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: var(--text);
  font-size: 1rem;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  z-index: 100;
}
#btn-fullscreen { right: 1.2rem; border: none; }
#btn-home       { left: 1.2rem; }
#btn-fullscreen:hover, #btn-home:hover { background: rgba(99,102,241,0.3); color: var(--accent); }

/* Progress bar */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: rgba(255,255,255,0.06);
  z-index: 200;
}
#progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  transition: width 0.5s ease;
}

/* ══════════════════════════════════════════════════════ */
/*  KEYBOARD HINT                                         */
/* ══════════════════════════════════════════════════════ */
#key-hint {
  position: fixed;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  color: var(--text-muted);
  opacity: 0.6;
  z-index: 100;
  pointer-events: none;
  transition: opacity 1s;
}

/* ══════════════════════════════════════════════════════ */
/*  RESPONSIVE                                            */
/* ══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .slide-content { padding: 1rem 1.2rem; }
  .blockchain-grid { grid-template-columns: 1fr 1fr; }
  .server-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .plans-row { flex-direction: column; align-items: center; }
  .plan-card { max-width: 320px; width: 100%; }
  .ref-tree { gap: 0.5rem; }
  .ref-card { min-width: 70px; padding: 0.7rem 0.8rem; }
  .ref-card::before { display: none; }
  .scale-flow { gap: 0.5rem; }
  .scale-arrow { font-size: 0.7rem; }
  #dot-nav { right: 0.5rem; }
  .arch-layers { gap: 0; }
}

@media (max-width: 480px) {
  .blockchain-grid, .server-grid, .why-grid { grid-template-columns: 1fr; }
  .hook-lines { gap: 0.6rem; }
  .hook-line { font-size: 0.85rem; padding: 0.6rem 0.9rem; }
  #nav-ui { bottom: 1rem; padding: 0.4rem 0.8rem; }
  .wallet-row { gap: 1rem; }
  .wallet-card { padding: 1rem 1.2rem; }
  .recovery-flow { flex-direction: column; }
  .rec-arrow { transform: rotate(90deg); }
}
