/* Tech Art Soluções — Landing v2 (preview) — FPS HUD Edition */

:root {
  --bg: #0a1614;
  --bg2: #0f211e;
  --surface: rgba(30, 43, 40, 0.72);
  --surface-solid: #1a2a27;
  --border: rgba(125, 211, 252, 0.14);
  --border2: rgba(255, 255, 255, 0.06);

  --t1: #eef4f1;
  --t2: #a8b8b2;
  --t3: #6d8078;

  --ac: #7dd3fc;
  --ac2: #38bdf8;
  --acd: #1c4f68;
  --ai: #a78bfa;
  --ai2: #8b5cf6;

  --ok: #4fae8c;
  --okbg: rgba(79, 174, 140, 0.14);
  --warn: #e8a87c;
  --warnbg: rgba(232, 168, 124, 0.14);
  --lock: #94a3b8;

  --rl: 20px;
  --rm: 14px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.55);
  --glow: 0 0 40px rgba(125, 211, 252, 0.15);

  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --header-h: 72px;
  --wrap: 1180px;

  --hud-green: #4fae8c;
  --hud-red: #ef4444;
  --hud-amber: #e8a87c;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--t1);
  line-height: 1.6;
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

/* ── Background layers ── */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bg-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 80% -5%, rgba(125, 211, 252, 0.12), transparent 60%),
    radial-gradient(700px 450px at -5% 25%, rgba(167, 139, 250, 0.08), transparent 55%),
    radial-gradient(600px 400px at 50% 100%, rgba(79, 174, 140, 0.06), transparent 60%),
    var(--bg);
}

.bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(125, 211, 252, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black, transparent);
}

.bg-grid-neon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.9;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black, transparent);
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orb-float 18s ease-in-out infinite;
}

.bg-orb--1 {
  width: 420px;
  height: 420px;
  top: -120px;
  right: 10%;
  background: rgba(56, 189, 248, 0.18);
}

.bg-orb--2 {
  width: 320px;
  height: 320px;
  bottom: 10%;
  left: -80px;
  background: rgba(167, 139, 250, 0.12);
  animation-delay: -6s;
}

.bg-orb--3 {
  width: 260px;
  height: 260px;
  top: 45%;
  right: -60px;
  background: rgba(79, 174, 140, 0.1);
  animation-delay: -12s;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.05); }
  66% { transform: translate(-15px, 20px) scale(0.95); }
}

/* ── Scroll progress ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 100;
  background: linear-gradient(90deg, var(--ac), var(--ai));
  box-shadow: 0 0 12px rgba(125, 211, 252, 0.6);
}

/* ── Cursor glow (desktop only) ── */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(125, 211, 252, 0.06), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

body.has-pointer .cursor-glow { opacity: 1; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid var(--border2);
  background: rgba(10, 22, 20, 0.72);
  backdrop-filter: blur(16px) saturate(1.2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  flex-shrink: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #0b2320;
  background: linear-gradient(135deg, var(--ac), var(--acd));
  box-shadow: 0 8px 24px -6px rgba(125, 211, 252, 0.45);
  transition: box-shadow 0.3s, transform 0.3s;
}

.brand:hover .brand-mark {
  box-shadow: 0 8px 24px -6px rgba(125, 211, 252, 0.65), 0 0 20px rgba(125, 211, 252, 0.3);
  transform: scale(1.05);
}

.brand-mark svg { width: 18px; height: 18px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--t2);
}

.nav-menu a:not(.btn):hover { color: var(--t1); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--t1);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn--primary {
  color: #071816;
  background: linear-gradient(135deg, var(--ac), var(--ac2));
  box-shadow: 0 12px 32px -10px rgba(56, 189, 248, 0.45);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -8px rgba(56, 189, 248, 0.55);
}

.btn--ghost {
  color: var(--t1);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border2);
}

.btn--ghost:hover {
  border-color: rgba(125, 211, 252, 0.3);
  background: rgba(125, 211, 252, 0.06);
}

.btn--sm {
  padding: 9px 18px;
  font-size: 13.5px;
}

/* ── Hero ── */
.hero {
  padding: 56px 0 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ac);
  background: rgba(125, 211, 252, 0.08);
  border: 1px solid rgba(125, 211, 252, 0.22);
  margin-bottom: 24px;
  animation: status-pulse 4s ease-in-out infinite;
}

@keyframes status-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(125, 211, 252, 0);
    border-color: rgba(125, 211, 252, 0.22);
  }
  50% {
    box-shadow: 0 0 16px rgba(125, 211, 252, 0.15);
    border-color: rgba(125, 211, 252, 0.35);
  }
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px var(--ok);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.85); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.8vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--ac) 0%, var(--ai) 50%, var(--ac2) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 6s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.hero-lead {
  font-size: 17px;
  color: var(--t2);
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 40px;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--ac);
  line-height: 1.1;
}

.stat span {
  font-size: 13px;
  color: var(--t3);
}

/* ── Hero visual mockup ── */
.hero-visual {
  perspective: 1200px;
}

.visual-shell {
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(15, 33, 30, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow), var(--glow);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.4s ease;
  animation: visual-float 6s ease-in-out infinite;
}

.hero-visual:hover .visual-shell {
  transform: rotateY(-4deg) rotateX(2deg) translateY(-4px);
}

@keyframes visual-float {
  0%, 100% { transform: rotateY(-8deg) rotateX(4deg) translateY(0); }
  50% { transform: rotateY(-8deg) rotateX(4deg) translateY(-10px); }
}

.visual-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border2);
}

.visual-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.visual-chrome span:first-child { background: #ff5f57; }
.visual-chrome span:nth-child(2) { background: #febc2e; }
.visual-chrome span:nth-child(3) { background: #28c840; }

.visual-url {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--t3);
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.25);
}

.visual-body {
  position: relative;
  padding: 24px;
  min-height: 320px;
}

.visual-card {
  border-radius: 14px;
  border: 1px solid var(--border2);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
}

.visual-card--1 {
  width: 72%;
  margin-bottom: 14px;
  animation: card-drift 5s ease-in-out infinite;
}

.visual-card--2 {
  width: 58%;
  margin-left: auto;
  animation: card-drift 5s ease-in-out infinite reverse;
  animation-delay: -2s;
}

.visual-card--3 {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--t2);
}

.visual-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 12px;
}

.mono { font-family: var(--font-mono); color: var(--t2); }

.chip {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.chip--ok { background: var(--okbg); color: var(--ok); }
.chip--ai { background: rgba(167, 139, 250, 0.15); color: var(--ai); }

.visual-bars {
  display: grid;
  gap: 8px;
}

.visual-bars span {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ac), transparent);
  width: var(--w);
  opacity: 0.7;
}

.visual-code code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ac);
}

.visual-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--ai);
  border-right-color: var(--ac);
  animation: spin 3s linear infinite;
  margin-bottom: 8px;
}

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

.visual-float {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(10, 22, 20, 0.9);
  color: var(--ac);
  animation: float-badge 4s ease-in-out infinite;
}

.visual-float--1 { top: 20%; left: 8%; animation-delay: 0s; }
.visual-float--2 { top: 55%; left: 4%; animation-delay: -1.3s; color: var(--ai); }
.visual-float--3 { bottom: 38%; right: 28%; animation-delay: -2.6s; }

@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes card-drift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

/* ── Sections ── */
.section {
  padding: 88px 0;
}

.section--alt {
  background: rgba(255, 255, 255, 0.015);
  border-block: 1px solid var(--border2);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}

.kicker {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ac);
  margin-bottom: 12px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--t2);
  font-size: 16px;
}

/* ── Bento grid ── */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 20px;
}

.app-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: var(--rl);
  border: 1px solid var(--border2);
  background: var(--surface);
  backdrop-filter: blur(10px);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.app-card:hover {
  transform: translateY(-5px);
  border-color: rgba(125, 211, 252, 0.28);
  box-shadow: 0 24px 50px -24px rgba(125, 211, 252, 0.22);
}

.app-card--featured {
  grid-row: span 2;
  background: linear-gradient(160deg, rgba(125, 211, 252, 0.08), rgba(167, 139, 250, 0.05)), var(--surface);
}

.app-card--wide {
  grid-column: span 2;
}

.app-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.app-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  transition: box-shadow 0.3s, transform 0.3s;
}

.app-card:hover .app-icon {
  transform: scale(1.08);
}

.app-card:hover .app-icon--green {
  box-shadow: 0 0 16px rgba(79, 174, 140, 0.4);
}

.app-card:hover .app-icon--cyan {
  box-shadow: 0 0 16px rgba(125, 211, 252, 0.4);
}

.app-card:hover .app-icon--amber {
  box-shadow: 0 0 16px rgba(232, 168, 124, 0.4);
}

.app-card:hover .app-icon--violet {
  box-shadow: 0 0 16px rgba(167, 139, 250, 0.4);
}

.app-icon svg { width: 24px; height: 24px; }
.app-icon--green { background: var(--okbg); color: var(--ok); }
.app-icon--cyan { background: rgba(125, 211, 252, 0.12); color: var(--ac); }
.app-icon--amber { background: var(--warnbg); color: var(--warn); }
.app-icon--violet { background: rgba(167, 139, 250, 0.14); color: var(--ai); }

.app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--t3);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border2);
}

.app-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.app-card p {
  flex: 1;
  font-size: 14px;
  color: var(--t2);
  margin-bottom: 20px;
}

.app-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.badge--on { background: var(--okbg); color: var(--ok); }
.badge--lock { background: rgba(148, 163, 184, 0.15); color: var(--lock); }

.app-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ac);
  position: relative;
  padding: 4px 0;
  transition: text-shadow 0.25s;
}

.app-link:hover {
  text-shadow: 0 0 10px rgba(125, 211, 252, 0.6);
}

.app-link svg { width: 15px; height: 15px; transition: transform 0.25s, filter 0.25s; }
.app-card:hover .app-link svg { transform: translateX(4px); filter: drop-shadow(0 0 4px rgba(125, 211, 252, 0.5)); }

/* ── Pipeline (IA section) ── */
.pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 48px;
}

.pipeline-step {
  padding: 22px;
  border-radius: var(--rm);
  border: 1px solid var(--border2);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s, background 0.25s;
}

.pipeline-step:hover {
  border-color: rgba(167, 139, 250, 0.25);
  background: rgba(167, 139, 250, 0.04);
}

.pipeline-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ai);
  margin-bottom: 10px;
}

.pipeline-step h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.pipeline-step p {
  font-size: 13px;
  color: var(--t2);
}

.pipeline-arrow {
  width: 24px;
  height: 2px;
  margin-top: 36px;
  background: linear-gradient(90deg, var(--ai), var(--ac));
  opacity: 0.5;
  position: relative;
}

.pipeline-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  border: 5px solid transparent;
  border-left-color: var(--ac);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillar {
  padding: 28px;
  border-radius: var(--rl);
  border: 1px solid var(--border2);
  background: var(--surface);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--ai);
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.2);
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
}

.pillar:hover .pillar-icon {
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.3);
  border-color: rgba(167, 139, 250, 0.4);
  transform: translateY(-2px);
}

.pillar-icon svg { width: 22px; height: 22px; }

.pillar h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.pillar p {
  font-size: 14px;
  color: var(--t2);
}

/* ── Platform ── */
.arch-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
  padding: 24px;
  border-radius: var(--rl);
  border: 1px dashed var(--border);
  background: rgba(0, 0, 0, 0.15);
}

.arch-node {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--border2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--t2);
}

.arch-node--accent {
  color: var(--ac);
  border-color: rgba(125, 211, 252, 0.3);
  background: rgba(125, 211, 252, 0.08);
  box-shadow: 0 0 20px rgba(125, 211, 252, 0.15);
  animation: arch-accent-pulse 3s ease-in-out infinite;
}

@keyframes arch-accent-pulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(125, 211, 252, 0.15);
  }
  50% {
    box-shadow: 0 0 30px rgba(125, 211, 252, 0.3), 0 0 60px rgba(125, 211, 252, 0.1);
  }
}

.arch-line {
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--border2), var(--ac), var(--border2));
  animation: line-pulse 2s ease-in-out infinite;
}

@keyframes line-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.feature {
  padding: 8px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--ac);
  background: var(--bg2);
  border: 1px solid var(--border2);
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
}

.feature:hover .feature-icon {
  box-shadow: 0 0 20px rgba(125, 211, 252, 0.25);
  border-color: rgba(125, 211, 252, 0.3);
  transform: translateY(-2px);
}

.feature-icon svg { width: 24px; height: 24px; }

.feature h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature p {
  font-size: 14px;
  color: var(--t2);
}

.stack {
  text-align: center;
  padding: 28px;
  border-radius: var(--rl);
  border: 1px solid var(--border2);
  background: rgba(255, 255, 255, 0.02);
}

.stack-label {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--t3);
  margin-bottom: 16px;
}

.stack-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.stack-items span {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border2);
  color: var(--t2);
  background: rgba(0, 0, 0, 0.2);
  transition: border-color 0.2s, color 0.2s;
}

.stack-items span:hover {
  border-color: rgba(125, 211, 252, 0.4);
  color: var(--ac);
  box-shadow: 0 0 12px rgba(125, 211, 252, 0.2);
  text-shadow: 0 0 8px rgba(125, 211, 252, 0.4);
}

/* ── CTA ── */
.section--cta { padding-bottom: 100px; }

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 40px 44px;
  border-radius: 24px;
  border: 1px solid rgba(125, 211, 252, 0.2);
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.1), rgba(167, 139, 250, 0.08));
  box-shadow: var(--glow);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ac), var(--ai), var(--ac), transparent);
  animation: cta-shimmer 3s linear infinite;
  background-size: 200% 100%;
}

@keyframes cta-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.cta-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 10px;
}

.cta-copy p {
  color: var(--t2);
  max-width: 480px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-actions .btn--primary {
  animation: cta-pulse-glow 3s ease-in-out infinite;
}

@keyframes cta-pulse-glow {
  0%, 100% {
    box-shadow: 0 12px 32px -10px rgba(56, 189, 248, 0.45);
  }
  50% {
    box-shadow: 0 12px 32px -10px rgba(56, 189, 248, 0.65), 0 0 40px rgba(125, 211, 252, 0.25);
  }
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border2);
  padding: 48px 0 28px;
  background: rgba(0, 0, 0, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 13px;
  color: var(--t3);
  max-width: 320px;
}

.brand--footer { font-size: 16px; }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--t3);
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--ac); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--border2);
  font-size: 12px;
  color: var(--t3);
}

.footer-note {
  font-family: var(--font-mono);
  color: var(--ai);
  opacity: 0.8;
}

/* ── Back to top ── */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(10, 22, 20, 0.9);
  backdrop-filter: blur(8px);
  color: var(--ac);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s, opacity 0.2s, box-shadow 0.3s, border-color 0.3s;
  z-index: 40;
}

.back-top:not([hidden]):hover {
  transform: translateY(-4px);
  border-color: rgba(125, 211, 252, 0.4);
  box-shadow: var(--shadow), 0 0 20px rgba(125, 211, 252, 0.3), 0 0 40px rgba(125, 211, 252, 0.15);
}

.back-top svg { width: 20px; height: 20px; transition: filter 0.25s; }
.back-top:not([hidden]):hover svg { filter: drop-shadow(0 0 6px rgba(125, 211, 252, 0.7)); }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }

  .visual-shell {
    transform: none;
    animation: none;
    max-width: 520px;
    margin-inline: auto;
  }

  .hero-visual:hover .visual-shell { transform: translateY(-4px); }

  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-card--featured {
    grid-row: span 1;
    grid-column: span 2;
  }

  .app-card--wide { grid-column: span 2; }

  .pipeline {
    grid-template-columns: 1fr;
  }

  .pipeline-arrow {
    width: 2px;
    height: 24px;
    margin: 0 auto;
    transform: rotate(90deg);
  }

  .pillars,
  .features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 20px 24px;
    background: rgba(10, 22, 20, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border2);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu a:not(.btn) {
    padding: 14px 0;
    border-bottom: 1px solid var(--border2);
    font-size: 16px;
  }

  .nav-cta { margin-top: 16px; width: 100%; }

  .hero { padding: 32px 0 56px; }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
  }

  .stat { text-align: center; }
  .stat strong { font-size: 22px; }

  .section { padding: 64px 0; }

  .bento { grid-template-columns: 1fr; }
  .app-card--featured,
  .app-card--wide { grid-column: span 1; }

  .cta-box {
    padding: 28px 24px;
    flex-direction: column;
    text-align: center;
  }

  .cta-actions { width: 100%; flex-direction: column; }
  .cta-actions .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; }

  .arch-diagram { flex-direction: column; }
  .arch-line {
    width: 2px;
    height: 24px;
    background: linear-gradient(180deg, var(--border2), var(--ac), var(--border2));
  }

  body.has-pointer .cursor-glow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }

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

  .visual-shell { transform: none; }
}

/* ══════════════════════════════════════════════════════════
   FPS HUD — BOOT SCREEN
   ══════════════════════════════════════════════════════════ */

.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #050d0b;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.boot-screen.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.boot-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(125, 211, 252, 0.015) 2px,
    rgba(125, 211, 252, 0.015) 4px
  );
  pointer-events: none;
  animation: boot-scanline-scroll 8s linear infinite;
}

@keyframes boot-scanline-scroll {
  from { background-position: 0 0; }
  to { background-position: 0 100px; }
}

.boot-terminal {
  width: min(640px, calc(100% - 40px));
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 12px;
  background: rgba(10, 22, 20, 0.95);
  padding: 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ac);
  box-shadow: 0 0 60px rgba(125, 211, 252, 0.08),
              inset 0 0 30px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.boot-terminal::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  border: 1px solid rgba(125, 211, 252, 0.06);
  pointer-events: none;
}

.boot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(125, 211, 252, 0.12);
}

.boot-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.15em;
  color: var(--ac);
  text-shadow: 0 0 20px rgba(125, 211, 252, 0.5);
}

.boot-version {
  font-size: 10px;
  color: var(--t3);
  letter-spacing: 0.08em;
}

.boot-output {
  min-height: 200px;
  max-height: 300px;
  overflow-y: auto;
  line-height: 1.8;
  scrollbar-width: none;
}

.boot-output::-webkit-scrollbar { display: none; }

.boot-output .boot-line {
  opacity: 0;
  animation: boot-line-in 0.15s ease forwards;
  white-space: nowrap;
}

.boot-output .boot-line::before {
  content: "> ";
  color: var(--ok);
}

.boot-output .boot-line--ok { color: var(--ok); }
.boot-output .boot-line--ok::before { content: "✓ "; color: var(--ok); }
.boot-output .boot-line--warn { color: var(--warn); }
.boot-output .boot-line--warn::before { content: "⚠ "; color: var(--warn); }
.boot-output .boot-line--accent { color: var(--ai); }
.boot-output .boot-line--accent::before { content: "◆ "; color: var(--ai); }
.boot-output .boot-line--dim { color: var(--t3); }
.boot-output .boot-line--dim::before { content: "  "; }

@keyframes boot-line-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.boot-cursor {
  display: inline-block;
  color: var(--ac);
  animation: boot-blink 0.6s steps(2) infinite;
  font-weight: bold;
}

@keyframes boot-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.boot-progress {
  width: min(640px, calc(100% - 40px));
  height: 3px;
  background: rgba(125, 211, 252, 0.1);
  border-radius: 999px;
  margin-top: 16px;
  overflow: hidden;
}

.boot-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--ac), var(--ai));
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(125, 211, 252, 0.5);
  transition: width 0.15s ease;
}

/* ══════════════════════════════════════════════════════════
   FPS HUD — CROSSHAIR
   ══════════════════════════════════════════════════════════ */

.crosshair {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 60;
  pointer-events: none;
  opacity: 0.18;
  transition: opacity 0.4s;
}

body:not(.boot-active) .crosshair {
  opacity: 0.12;
}

.crosshair-line {
  position: absolute;
  background: var(--ac);
}

.crosshair-line--top {
  width: 2px;
  height: 14px;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}

.crosshair-line--bottom {
  width: 2px;
  height: 14px;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
}

.crosshair-line--left {
  width: 14px;
  height: 2px;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
}

.crosshair-line--right {
  width: 14px;
  height: 2px;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
}

.crosshair-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ac);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(125, 211, 252, 0.6);
}

/* ══════════════════════════════════════════════════════════
   FPS HUD — OVERLAY EFFECTS
   ══════════════════════════════════════════════════════════ */

.hud-scanlines {
  position: fixed;
  inset: 0;
  z-index: 45;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  opacity: 0.5;
}

.hud-vignette {
  position: fixed;
  inset: 0;
  z-index: 44;
  pointer-events: none;
  background: radial-gradient(
    ellipse 70% 60% at 50% 50%,
    transparent 50%,
    rgba(5, 13, 11, 0.6) 100%
  );
}

.hud-corner {
  position: fixed;
  width: 48px;
  height: 48px;
  z-index: 46;
  pointer-events: none;
  opacity: 0.2;
}

.hud-corner::before,
.hud-corner::after {
  content: "";
  position: absolute;
  background: var(--ac);
}

.hud-corner--tl { top: 16px; left: 16px; }
.hud-corner--tl::before { top: 0; left: 0; width: 20px; height: 1px; }
.hud-corner--tl::after { top: 0; left: 0; width: 1px; height: 20px; }

.hud-corner--tr { top: 16px; right: 16px; }
.hud-corner--tr::before { top: 0; right: 0; width: 20px; height: 1px; }
.hud-corner--tr::after { top: 0; right: 0; width: 1px; height: 20px; }

.hud-corner--bl { bottom: 16px; left: 16px; }
.hud-corner--bl::before { bottom: 0; left: 0; width: 20px; height: 1px; }
.hud-corner--bl::after { bottom: 0; left: 0; width: 1px; height: 20px; }

.hud-corner--br { bottom: 16px; right: 16px; }
.hud-corner--br::before { bottom: 0; right: 0; width: 20px; height: 1px; }
.hud-corner--br::after { bottom: 0; right: 0; width: 1px; height: 20px; }

/* ══════════════════════════════════════════════════════════
   FPS HUD — GLITCH TEXT
   ══════════════════════════════════════════════════════════ */

.glitch-text {
  position: relative;
}

.glitch-text.glitching::before,
.glitch-text.glitching::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.glitch-text.glitching::before {
  color: var(--ac);
  z-index: -1;
  animation: glitch-1 0.3s linear;
}

.glitch-text.glitching::after {
  color: var(--ai);
  z-index: -2;
  animation: glitch-2 0.3s linear;
}

@keyframes glitch-1 {
  0% { clip-path: inset(40% 0 61% 0); transform: translate(-3px, -2px); }
  20% { clip-path: inset(92% 0 1% 0); transform: translate(2px, 1px); }
  40% { clip-path: inset(43% 0 1% 0); transform: translate(-1px, 3px); }
  60% { clip-path: inset(25% 0 58% 0); transform: translate(3px, -1px); }
  80% { clip-path: inset(54% 0 7% 0); transform: translate(-2px, 2px); }
  100% { clip-path: inset(58% 0 43% 0); transform: translate(0); }
}

@keyframes glitch-2 {
  0% { clip-path: inset(65% 0 13% 0); transform: translate(3px, 2px); }
  20% { clip-path: inset(17% 0 63% 0); transform: translate(-2px, -1px); }
  40% { clip-path: inset(79% 0 2% 0); transform: translate(1px, -3px); }
  60% { clip-path: inset(40% 0 30% 0); transform: translate(-3px, 1px); }
  80% { clip-path: inset(13% 0 65% 0); transform: translate(2px, -2px); }
  100% { clip-path: inset(35% 0 50% 0); transform: translate(0); }
}

/* ══════════════════════════════════════════════════════════
   FPS HUD — STATUS PILL
   ══════════════════════════════════════════════════════════ */

.status-pill--hud {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ok);
  background: rgba(79, 174, 140, 0.08);
  border-color: rgba(79, 174, 140, 0.25);
}

/* ══════════════════════════════════════════════════════════
   FPS HUD — LOADOUT CARDS
   ══════════════════════════════════════════════════════════ */

.loadout-card {
  position: relative;
  overflow: hidden;
}

.loadout-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ac), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.loadout-card:hover::before {
  opacity: 0.6;
}

.loadout-hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(125, 211, 252, 0.08);
}

.loadout-slot {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--t3);
  text-transform: uppercase;
}

.loadout-status {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}

.loadout-status--active {
  color: var(--ok);
  background: var(--okbg);
  border: 1px solid rgba(79, 174, 140, 0.25);
}

.loadout-status--locked {
  color: var(--lock);
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.loadout-stats {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(125, 211, 252, 0.06);
}

.loadout-stat {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 10px;
}

.loadout-stat-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--t3);
  text-transform: uppercase;
}

.loadout-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}

.loadout-bar-fill {
  height: 100%;
  width: var(--fill);
  background: linear-gradient(90deg, var(--ac), var(--ac2));
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(125, 211, 252, 0.4);
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.loadout-bar-fill--ai {
  background: linear-gradient(90deg, var(--ai), var(--ai2));
  box-shadow: 0 0 8px rgba(167, 139, 250, 0.4);
}

.loadout-bar-fill--ok {
  background: linear-gradient(90deg, var(--ok), #6dd4ad);
  box-shadow: 0 0 8px rgba(79, 174, 140, 0.4);
}

.loadout-bar-fill--amber {
  background: linear-gradient(90deg, var(--warn), #f0c49a);
  box-shadow: 0 0 8px rgba(232, 168, 124, 0.4);
}

.loadout-bar-fill--lock {
  background: linear-gradient(90deg, var(--lock), #b0bec5);
  box-shadow: 0 0 8px rgba(148, 163, 184, 0.4);
}

.loadout-stat-val {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--ac);
  text-align: right;
  min-width: 30px;
}

/* HUD corners on loadout cards */
.app-card.loadout-card {
  border-style: solid;
  clip-path: polygon(
    0 12px, 12px 0, calc(100% - 12px) 0, 100% 12px,
    100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px)
  );
  border-radius: 0;
}

/* ══════════════════════════════════════════════════════════
   FPS HUD — HEADER UPGRADE
   ══════════════════════════════════════════════════════════ */

.site-header {
  border-bottom-color: rgba(125, 211, 252, 0.1);
}

.brand-mark {
  border: 1px solid rgba(125, 211, 252, 0.3);
}

/* ══════════════════════════════════════════════════════════
   FPS HUD — BUTTONS
   ══════════════════════════════════════════════════════════ */

.btn--primary {
  position: relative;
  overflow: hidden;
}

.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.15) 45%,
    rgba(255, 255, 255, 0.15) 55%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.btn--primary:hover::after {
  transform: translateX(100%);
}

/* ══════════════════════════════════════════════════════════
   NAV BUTTONS — ENHANCED GLOW & MAGNETIC EFFECT
   ══════════════════════════════════════════════════════════ */

.nav-menu a:not(.btn) {
  position: relative;
  padding: 6px 0;
  transition: color 0.25s, text-shadow 0.25s;
}

.nav-menu a:not(.btn)::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ac), transparent);
  transition: width 0.35s ease, left 0.35s ease;
  box-shadow: 0 0 8px rgba(125, 211, 252, 0.5);
}

.nav-menu a:not(.btn):hover::before {
  width: 100%;
  left: 0;
}

.nav-menu a:not(.btn):hover {
  color: #fff;
  text-shadow: 0 0 12px rgba(125, 211, 252, 0.6), 0 0 24px rgba(125, 211, 252, 0.3);
}

.nav-cta {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.nav-cta::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ac), var(--ai), var(--ac2), var(--ac));
  background-size: 300% 300%;
  animation: nav-cta-border 4s ease infinite;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.35s;
}

.nav-cta:hover::before {
  opacity: 1;
}

.nav-cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 8px 24px -4px rgba(56, 189, 248, 0.5),
    0 0 20px rgba(125, 211, 252, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.nav-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.2) 44%,
    rgba(255, 255, 255, 0.2) 56%,
    transparent 62%
  );
  transform: translateX(-150%);
  transition: transform 0.6s ease;
}

.nav-cta:hover::after {
  transform: translateX(150%);
}

@keyframes nav-cta-border {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Hero buttons enhanced glow */
.hero-actions .btn--primary {
  box-shadow:
    0 12px 32px -10px rgba(56, 189, 248, 0.45),
    0 0 0 1px rgba(125, 211, 252, 0.15);
}

.hero-actions .btn--primary:hover {
  box-shadow:
    0 16px 40px -8px rgba(56, 189, 248, 0.6),
    0 0 30px rgba(125, 211, 252, 0.35),
    0 0 0 1px rgba(125, 211, 252, 0.3);
}

.hero-actions .btn--ghost {
  position: relative;
  overflow: hidden;
}

.hero-actions .btn--ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(125, 211, 252, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.hero-actions .btn--ghost:hover::before {
  opacity: 1;
}

.hero-actions .btn--ghost:hover {
  border-color: rgba(125, 211, 252, 0.4);
  box-shadow: 0 0 20px rgba(125, 211, 252, 0.15);
}

/* ══════════════════════════════════════════════════════════
   FPS HUD — STACK ITEMS
   ══════════════════════════════════════════════════════════ */

.stack-items span {
  position: relative;
}

.stack-items span::before {
  content: "//";
  color: var(--t3);
  margin-right: 4px;
  font-size: 10px;
}

/* ══════════════════════════════════════════════════════════
   FPS HUD — PIPELINE STEPS
   ══════════════════════════════════════════════════════════ */

.pipeline-step {
  position: relative;
}

.pipeline-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--ai);
  transition: height 0.4s ease;
  border-radius: 0 0 2px 0;
}

.pipeline-step:hover::before {
  height: 100%;
}

/* ══════════════════════════════════════════════════════════
   FPS HUD — ARCH DIAGRAM
   ══════════════════════════════════════════════════════════ */

.arch-node {
  font-family: var(--font-mono);
  position: relative;
}

.arch-node::before {
  content: "";
  position: absolute;
  inset: -2px;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: border-color 0.3s;
}

.arch-node:hover::before {
  border-color: rgba(125, 211, 252, 0.15);
}

/* ══════════════════════════════════════════════════════════
   FPS HUD — FOOTER
   ══════════════════════════════════════════════════════════ */

.site-footer {
  border-top: 1px solid rgba(125, 211, 252, 0.08);
}

.footer-note::before {
  content: "[ ";
  color: var(--t3);
}

.footer-note::after {
  content: " ]";
  color: var(--t3);
}

/* ══════════════════════════════════════════════════════════
   FPS HUD — RESPONSIVE
   ══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .crosshair { display: none; }
  .hud-corner { display: none; }

  .boot-terminal {
    font-size: 11px;
    padding: 20px;
  }

  .loadout-stats {
    gap: 8px;
  }

  .loadout-stat {
    grid-template-columns: 50px 1fr auto;
    gap: 8px;
  }
}

/* ══════════════════════════════════════════════════════════
   ECO GAME — RESÍDUOS OCULTOS
   ══════════════════════════════════════════════════════════ */

.eco-waste {
  position: absolute;
  width: 40px;
  height: 40px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.3s ease, filter 0.3s ease;
  z-index: 2;
  pointer-events: auto;
  filter: saturate(0.5) brightness(0.85);
}

.eco-waste:hover {
  opacity: 1 !important;
  filter: saturate(1.2) brightness(1.3) drop-shadow(0 0 10px rgba(255,255,255,0.5));
  transform: scale(1.3) rotate(-3deg);
}

.eco-waste.disposed {
  opacity: 0 !important;
  pointer-events: none;
  transform: scale(0) rotate(180deg);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.55, 0, 0.1, 1);
}

.eco-waste svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

/* ══════════════════════════════════════════════════════════
   ECO GAME — MODAL DE LIXEIRAS
   ══════════════════════════════════════════════════════════ */

.eco-overlay {
  position: fixed;
  inset: 0;
  z-index: 9990;
  background: rgba(5, 13, 11, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.eco-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

body.eco-scroll-locked {
  overflow: hidden;
}

.eco-modal {
  background: rgba(15, 33, 30, 0.95);
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 20px;
  padding: 36px 40px;
  text-align: center;
  max-width: 440px;
  width: min(440px, calc(100% - 32px));
  box-shadow:
    0 32px 80px -20px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(125, 211, 252, 0.08);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.eco-overlay.is-open .eco-modal {
  transform: scale(1) translateY(0);
}

.eco-modal-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--t1);
  margin-bottom: 8px;
}

.eco-modal-subtitle {
  font-size: 13px;
  color: var(--t3);
  margin-bottom: 24px;
}

.eco-bins {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 20px;
}

.eco-bin {
  width: 72px;
  height: 88px;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.eco-bin::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 14px;
  border-radius: 10px 10px 0 0;
  opacity: 0.35;
}

.eco-bin:hover {
  transform: translateY(-4px) scale(1.08);
  border-color: rgba(255,255,255,0.35);
}

.eco-bin-label {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}

.eco-bin svg {
  width: 32px;
  height: 32px;
}

/* Cores das lixeiras */
.eco-bin--azul { background: rgba(33, 100, 186, 0.25); border-color: rgba(33, 100, 186, 0.4); }
.eco-bin--azul::before { background: #2164ba; }
.eco-bin--azul:hover { box-shadow: 0 4px 20px rgba(33, 100, 186, 0.4); border-color: #2164ba; }

.eco-bin--vermelho { background: rgba(193, 39, 45, 0.25); border-color: rgba(193, 39, 45, 0.4); }
.eco-bin--vermelho::before { background: #c1272d; }
.eco-bin--vermelho:hover { box-shadow: 0 4px 20px rgba(193, 39, 45, 0.4); border-color: #c1272d; }

.eco-bin--verde { background: rgba(58, 140, 90, 0.25); border-color: rgba(58, 140, 90, 0.4); }
.eco-bin--verde::before { background: #3a8c5a; }
.eco-bin--verde:hover { box-shadow: 0 4px 20px rgba(58, 140, 90, 0.4); border-color: #3a8c5a; }

.eco-bin--amarelo { background: rgba(237, 189, 29, 0.25); border-color: rgba(237, 189, 29, 0.4); }
.eco-bin--amarelo::before { background: #edbd1d; }
.eco-bin--amarelo:hover { box-shadow: 0 4px 20px rgba(237, 189, 29, 0.4); border-color: #edbd1d; }
.eco-bin--amarelo .eco-bin-label { color: rgba(237, 189, 29, 0.9); }

.eco-bin--marrom { background: rgba(120, 72, 42, 0.25); border-color: rgba(120, 72, 42, 0.4); }
.eco-bin--marrom::before { background: #78482a; }
.eco-bin--marrom:hover { box-shadow: 0 4px 20px rgba(120, 72, 42, 0.4); border-color: #78482a; }

.eco-bin--cinza { background: rgba(130, 130, 130, 0.25); border-color: rgba(130, 130, 130, 0.4); }
.eco-bin--cinza::before { background: #828282; }
.eco-bin--cinza:hover { box-shadow: 0 4px 20px rgba(130, 130, 130, 0.4); border-color: #828282; }

.eco-bin--preto { background: rgba(40, 40, 40, 0.35); border-color: rgba(80, 80, 80, 0.5); }
.eco-bin--preto::before { background: #282828; }
.eco-bin--preto:hover { box-shadow: 0 4px 20px rgba(40, 40, 40, 0.5); border-color: #505050; }

.eco-bin--laranja { background: rgba(232, 119, 34, 0.25); border-color: rgba(232, 119, 34, 0.4); }
.eco-bin--laranja::before { background: #e87722; }
.eco-bin--laranja:hover { box-shadow: 0 4px 20px rgba(232, 119, 34, 0.4); border-color: #e87722; }

.eco-bin--branco { background: rgba(220, 220, 220, 0.2); border-color: rgba(220, 220, 220, 0.35); }
.eco-bin--branco::before { background: #dcdcdc; }
.eco-bin--branco:hover { box-shadow: 0 4px 20px rgba(220, 220, 220, 0.3); border-color: #dcdcdc; }
.eco-bin--branco .eco-bin-label { color: rgba(220, 220, 220, 0.8); }

.eco-bin--roxo { background: rgba(128, 55, 155, 0.25); border-color: rgba(128, 55, 155, 0.4); }
.eco-bin--roxo::before { background: #80379b; }
.eco-bin--roxo:hover { box-shadow: 0 4px 20px rgba(128, 55, 155, 0.4); border-color: #80379b; }

/* ══════════════════════════════════════════════════════════
   ECO GAME — TOAST DE ERRO
   ══════════════════════════════════════════════════════════ */

.eco-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  z-index: 9995;
  background: rgba(193, 39, 45, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 100, 100, 0.3);
  border-radius: 16px;
  padding: 20px 36px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: 0 16px 48px -12px rgba(193, 39, 45, 0.6);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.3s ease;
}

.eco-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.eco-toast::before {
  content: "✕";
  display: inline-block;
  margin-right: 10px;
  font-size: 20px;
}

/* ══════════════════════════════════════════════════════════
   ECO GAME — TOAST DE SUCESSO
   ══════════════════════════════════════════════════════════ */

.eco-toast--success {
  background: rgba(58, 140, 90, 0.92);
  border-color: rgba(79, 174, 140, 0.4);
  box-shadow: 0 16px 48px -12px rgba(58, 140, 90, 0.6);
}

.eco-toast--success::before {
  content: "✓";
}

/* ══════════════════════════════════════════════════════════
   ECO GAME — CONTADOR
   ══════════════════════════════════════════════════════════ */

.eco-counter {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(79, 174, 140, 0.25);
  background: rgba(10, 22, 20, 0.85);
  backdrop-filter: blur(12px);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ok);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.eco-counter.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.eco-counter-icon {
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

.eco-counter-progress {
  width: 80px;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
}

.eco-counter-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--ok), #6dd4ad);
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(79, 174, 140, 0.5);
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ══════════════════════════════════════════════════════════
   ECO GAME — VICTORY OVERLAY
   ══════════════════════════════════════════════════════════ */

.eco-victory {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(5, 13, 11, 0.92);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.eco-victory.is-visible {
  opacity: 1;
  visibility: visible;
}

.eco-victory-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.eco-victory-box {
  text-align: center;
  max-width: 520px;
  padding: 48px 40px;
  background: rgba(15, 33, 30, 0.95);
  border: 1px solid rgba(79, 174, 140, 0.3);
  border-radius: 24px;
  box-shadow: 0 0 80px rgba(79, 174, 140, 0.15);
  position: relative;
  z-index: 1;
  animation: victory-enter 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

@keyframes victory-enter {
  from { transform: scale(0.85) translateY(30px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

/* ═══ SELO VER E AGIR ═══ */
.eco-seal {
  width: 160px;
  height: 160px;
  margin: 0 auto 24px;
  position: relative;
  animation: seal-pulse 2.5s ease-in-out infinite;
}

@keyframes seal-pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(79, 174, 140, 0.4)); }
  50% { transform: scale(1.04); filter: drop-shadow(0 0 35px rgba(79, 174, 140, 0.6)); }
}

.eco-seal svg {
  width: 100%;
  height: 100%;
}

.eco-seal-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(79, 174, 140, 0.25);
  animation: seal-ring-spin 12s linear infinite;
}

.eco-seal-ring::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px var(--ok);
}

@keyframes seal-ring-spin {
  to { transform: rotate(360deg); }
}

.eco-victory-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--ok);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.eco-victory-text {
  font-size: 15px;
  color: var(--t2);
  line-height: 1.7;
  margin-bottom: 28px;
}

.eco-victory .btn--primary {
  animation: none;
}

/* ══════════════════════════════════════════════════════════
   ECO GAME — RESPONSIVE
   ══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .eco-waste {
    width: 32px;
    height: 32px;
  }

  .eco-seal {
    width: 120px;
    height: 120px;
  }

  .eco-victory-title {
    font-size: 22px;
  }

  .eco-bins {
    gap: 10px;
  }

  .eco-bin {
    width: 60px;
    height: 76px;
  }

  .eco-bin svg {
    width: 26px;
    height: 26px;
  }

  .eco-counter {
    bottom: 16px;
    left: 16px;
    padding: 8px 12px;
    font-size: 11px;
  }
}
