/* ════════════════════════════════════════════════════════
   TheBug757 — Cinematic Futuristic Design System
   Author: Krishna757-Cyber
   Version: 1.0.0
════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ──────────────────────────────────── */
:root {
  --c-bg:          #020609;
  --c-bg2:         #040d15;
  --c-surface:     #071220;
  --c-border:      rgba(0, 210, 255, 0.15);
  --c-cyan:        #00d2ff;
  --c-cyan-dim:    rgba(0, 210, 255, 0.3);
  --c-purple:      #a855f7;
  --c-purple-dim:  rgba(168, 85, 247, 0.3);
  --c-green:       #00ff88;
  --c-yellow:      #ffe066;
  --c-red:         #ff4466;
  --c-text:        #c8d8e8;
  --c-text-dim:    #607080;

  --ff-display:    'Orbitron', monospace;
  --ff-body:       'Rajdhani', sans-serif;
  --ff-mono:       'Share Tech Mono', monospace;

  --glow-cyan:     0 0 20px rgba(0,210,255,0.6), 0 0 60px rgba(0,210,255,0.2);
  --glow-purple:   0 0 20px rgba(168,85,247,0.6), 0 0 60px rgba(168,85,247,0.2);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.65, 0, 0.35, 1);
}

/* ─── RESET & BASE ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--ff-body);
  background: var(--c-bg);
  color: var(--c-text);
  overflow-x: hidden;
  cursor: none;
}

::selection {
  background: var(--c-cyan-dim);
  color: var(--c-cyan);
}

/* ─── CUSTOM CURSOR ──────────────────────────────────── */
.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--c-cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s;
  box-shadow: var(--glow-cyan);
}

.cursor-ring {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1px solid var(--c-cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.12s var(--ease-out-expo);
  opacity: 0.6;
}

body:hover .cursor-ring { opacity: 1; }

/* ─── SCROLLBAR ──────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb { background: var(--c-cyan-dim); border-radius: 2px; }

/* ─── BOOT LOADER ────────────────────────────────────── */
#boot-loader {
  position: fixed;
  inset: 0;
  background: var(--c-bg);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

#boot-loader.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.05);
}

.boot-inner {
  text-align: center;
  position: relative;
}

.boot-logo {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

.boot-glyph {
  color: var(--c-cyan);
  animation: spinHex 3s linear infinite;
  display: inline-block;
  filter: drop-shadow(0 0 12px var(--c-cyan));
}

@keyframes spinHex {
  to { transform: rotate(360deg); }
}

.boot-bar-wrap {
  width: 300px;
  height: 2px;
  background: var(--c-border);
  margin: 0 auto 1rem;
  border-radius: 2px;
  overflow: hidden;
}

.boot-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--c-cyan), var(--c-purple));
  transition: width 0.1s linear;
  box-shadow: var(--glow-cyan);
}

.boot-status {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: var(--c-cyan);
  letter-spacing: 0.15em;
  opacity: 0.8;
}

.boot-grid {
  position: absolute;
  inset: -200px;
  background-image:
    linear-gradient(var(--c-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-border) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridFade 2s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: -1;
}

@keyframes gridFade {
  from { opacity: 0.3; }
  to   { opacity: 0.05; }
}

/* ─── NAV ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 4rem;
  border-bottom: 1px solid transparent;
  transition: all 0.4s ease;
  backdrop-filter: blur(0px);
}

.nav.scrolled {
  background: rgba(2, 6, 9, 0.85);
  border-bottom-color: var(--c-border);
  backdrop-filter: blur(20px);
}

.nav-logo {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-hex {
  color: var(--c-cyan);
  font-size: 1.5rem;
  filter: drop-shadow(0 0 8px var(--c-cyan));
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  font-family: var(--ff-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--c-text-dim);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--c-cyan);
  transition: width 0.3s var(--ease-out-expo);
  box-shadow: var(--glow-cyan);
}

.nav-link:hover { color: var(--c-cyan); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
  font-family: var(--ff-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--c-bg);
  background: var(--c-cyan);
  border: none;
  padding: 0.6rem 1.4rem;
  cursor: pointer;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: all 0.3s;
}

.nav-cta:hover {
  background: #fff;
  box-shadow: var(--glow-cyan);
}

/* ─── HERO ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(0,0,0,0.08) 2px,
    rgba(0,0,0,0.08) 4px
  );
  pointer-events: none;
  z-index: 2;
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(2,6,9,0.8) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 8rem 4rem 4rem;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--c-cyan);
  border: 1px solid var(--c-cyan-dim);
  padding: 0.4rem 1rem;
  margin-bottom: 2rem;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  background: rgba(0,210,255,0.05);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--c-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 8px var(--c-green);
}

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

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.1em;
}

.hero-title .line-1 {
  color: var(--c-text-dim);
  font-size: 0.5em;
  letter-spacing: 0.3em;
}

.hero-title .line-2 {
  color: #fff;
}

.hero-title .line-3 {
  color: #fff;
}

.accent { color: var(--c-cyan); text-shadow: var(--glow-cyan); }

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--c-text-dim);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-sub strong { color: var(--c-cyan); font-weight: 600; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-num {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--c-cyan);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--c-text-dim);
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--c-border);
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

/* ─── BUTTONS ────────────────────────────────────────── */
.btn-primary {
  font-family: var(--ff-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--c-bg);
  background: var(--c-cyan);
  border: none;
  padding: 1rem 2rem;
  cursor: pointer;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-primary:hover {
  background: #fff;
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

.btn-icon { font-size: 1rem; }

.btn-ghost {
  font-family: var(--ff-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--c-text-dim);
  background: transparent;
  border: 1px solid var(--c-border);
  padding: 1rem 2rem;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-ghost:hover {
  color: var(--c-cyan);
  border-color: var(--c-cyan);
  box-shadow: var(--glow-cyan);
}

/* ─── HUD CORNERS ────────────────────────────────────── */
.hud-corner {
  position: absolute;
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  color: var(--c-cyan);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.hud-tl { top: 7rem; left: 4rem; }
.hud-br { bottom: 3rem; right: 4rem; text-align: right; }

.hud-line { opacity: 0.7; }
.hud-val { font-weight: bold; }
.hud-val.green  { color: var(--c-green); }
.hud-val.cyan   { color: var(--c-cyan); }
.hud-val.yellow { color: var(--c-yellow); }
.hud-val.purple { color: var(--c-purple); }

/* ─── AI AVATAR PANEL ────────────────────────────────── */
.avatar-panel {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

#avatarCanvas {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid var(--c-cyan-dim);
  box-shadow: var(--glow-cyan), inset 0 0 60px rgba(0,210,255,0.05);
}

.avatar-holo-ring {
  position: absolute;
  width: 320px;
  height: 320px;
  border: 1px solid var(--c-cyan-dim);
  border-radius: 50%;
  top: -20px;
  animation: rotateSlow 8s linear infinite;
}

.ring-2 {
  width: 360px;
  height: 360px;
  top: -40px;
  border-style: dashed;
  animation-direction: reverse;
  animation-duration: 14s;
  opacity: 0.4;
}

@keyframes rotateSlow {
  to { transform: rotate(360deg); }
}

.avatar-speech {
  background: rgba(0,210,255,0.05);
  border: 1px solid var(--c-cyan-dim);
  padding: 0.6rem 1rem;
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  color: var(--c-cyan);
  max-width: 280px;
  text-align: center;
  line-height: 1.5;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}

.speech-cursor {
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.avatar-label {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.avatar-name {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--c-cyan);
  text-shadow: var(--glow-cyan);
}

.avatar-role {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--c-text-dim);
}

/* ─── SECTION BASE ───────────────────────────────────── */
.section {
  padding: 6rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.section-header {
  margin-bottom: 4rem;
}

.section-tag {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--c-cyan);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
}

/* ─── FEATURES GRID ──────────────────────────────────── */
.features { max-width: 1400px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  padding: 2rem;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.feature-card:hover {
  border-color: var(--c-cyan-dim);
  transform: translateY(-4px);
}

.feature-card:hover .card-glow {
  opacity: 1;
}

.card-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, var(--c-cyan-dim), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--c-text-dim);
}

.card-tag {
  font-family: var(--ff-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--c-cyan);
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--c-border);
}

/* ─── TWIN SECTION ───────────────────────────────────── */
.twin-section {
  position: relative;
  max-width: 100%;
  padding: 0;
  overflow: hidden;
}

.twin-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#twinCanvas {
  width: 100%;
  height: 100%;
}

.twin-content {
  position: relative;
  z-index: 10;
  max-width: 650px;
  padding: 8rem 4rem;
  margin-left: auto;
  background: linear-gradient(270deg, var(--c-bg) 60%, transparent);
}

.twin-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-text-dim);
  margin-bottom: 3rem;
}

.twin-layers {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.layer {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  gap: 1rem;
  align-items: center;
}

.layer-num {
  font-family: var(--ff-display);
  font-size: 0.65rem;
  font-weight: 900;
  color: var(--c-cyan);
  opacity: 0.5;
}

.layer-info strong {
  display: block;
  font-size: 0.85rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.layer-info span {
  font-size: 0.75rem;
  color: var(--c-text-dim);
}

.layer-bar {
  width: 120px;
  height: 3px;
  background: var(--c-border);
  border-radius: 2px;
  overflow: hidden;
}

.layer-fill {
  height: 100%;
  width: var(--w);
  background: linear-gradient(90deg, var(--c-cyan), var(--c-purple));
  border-radius: 2px;
  box-shadow: var(--glow-cyan);
}

/* ─── AGENTS ORBIT ───────────────────────────────────── */
.agents-section {
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.agents-orbit {
  position: relative;
  width: 500px;
  height: 500px;
  margin: 2rem auto;
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.orbit-core {
  font-family: var(--ff-display);
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--c-cyan);
  background: var(--c-surface);
  border: 2px solid var(--c-cyan-dim);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-cyan);
  letter-spacing: 0.1em;
}

.orbit-pulse {
  position: absolute;
  inset: -20px;
  border: 1px solid var(--c-cyan-dim);
  border-radius: 50%;
  animation: pulsate 2s ease-in-out infinite;
}

@keyframes pulsate {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0; }
}

.agent-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform:
    translate(-50%, -50%)
    rotate(var(--angle))
    translateY(calc(-1 * var(--radius)))
    rotate(calc(-1 * var(--angle)));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  animation: orbitFloat 4s ease-in-out infinite alternate;
}

@keyframes orbitFloat {
  from { margin-top: 0; }
  to   { margin-top: -8px; }
}

.agent-icon {
  width: 56px;
  height: 56px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s;
  cursor: default;
}

.agent-node:hover .agent-icon {
  border-color: var(--c-cyan);
  box-shadow: var(--glow-cyan);
  transform: scale(1.15);
}

.agent-node span {
  font-family: var(--ff-display);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  color: var(--c-text-dim);
}

/* ─── TERMINAL ───────────────────────────────────────── */
.terminal-section { max-width: 900px; }

.terminal-window {
  background: rgba(4, 13, 21, 0.95);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--glow-cyan), 0 40px 80px rgba(0,0,0,0.8);
}

.term-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
}

.term-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.term-dot.red    { background: var(--c-red); }
.term-dot.yellow { background: var(--c-yellow); }
.term-dot.green  { background: var(--c-green); }

.term-title {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  color: var(--c-text-dim);
  margin-left: 0.5rem;
}

.term-body {
  padding: 1.5rem;
  min-height: 300px;
  font-family: var(--ff-mono);
  font-size: 0.8rem;
  line-height: 2;
  color: var(--c-text);
  overflow-y: auto;
  max-height: 400px;
}

.term-body .t-cyan   { color: var(--c-cyan); }
.term-body .t-green  { color: var(--c-green); }
.term-body .t-yellow { color: var(--c-yellow); }
.term-body .t-purple { color: var(--c-purple); }
.term-body .t-red    { color: var(--c-red); }
.term-body .t-dim    { color: var(--c-text-dim); }

.term-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-top: 1px solid var(--c-border);
  font-family: var(--ff-mono);
  font-size: 0.8rem;
}

.term-prompt { color: var(--c-cyan); }

.term-cursor {
  color: var(--c-green);
  animation: blink 1s step-end infinite;
}

/* ─── CTA SECTION ────────────────────────────────────── */
.cta-section {
  max-width: 800px;
  text-align: center;
  padding: 8rem 4rem;
  position: relative;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,210,255,0.04), transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.5rem;
}

.cta-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-text-dim);
  margin-bottom: 3rem;
}

.access-form {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.access-input {
  flex: 1;
  min-width: 260px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  padding: 1rem 1.4rem;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.access-input:focus {
  border-color: var(--c-cyan);
  box-shadow: var(--glow-cyan);
}

.cta-note {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--c-text-dim);
}

/* ─── FOOTER ─────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--c-border);
  padding: 3rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-top {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer-logo {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-tag {
  font-size: 0.8rem;
  color: var(--c-text-dim);
  font-style: italic;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  color: var(--c-text-dim);
  border-top: 1px solid var(--c-border);
  padding-top: 1.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ─── ANIMATIONS / REVEAL ────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav { padding: 1rem 2rem; }
  .nav-links { display: none; }
  .hero-content { padding: 8rem 2rem 4rem; }
  .avatar-panel { display: none; }
  .hud-tl, .hud-br { display: none; }
  .twin-content { padding: 4rem 2rem; margin: 0; background: linear-gradient(0deg, var(--c-bg) 60%, transparent); }
  .section { padding: 4rem 2rem; }
}

@media (max-width: 640px) {
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .stat-divider { display: none; }
  .agents-orbit { transform: scale(0.7); }
  .access-form { flex-direction: column; }
  .access-input { min-width: unset; }
}