/* ===== KUTESMART AI PLATFORM — CYBERPUNK SYSTEM UI ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #050810;
  --bg2: #0a0f1a;
  --surface: #0d1321;
  --card: #0f1628;
  --card-hover: #131d33;
  --border: rgba(255,255,255,0.04);
  --border-glow: rgba(0,255,170,0.12);
  --text: #e0e7ef;
  --dim: #5a6a80;
  --muted: #3a4a5e;
  --green: #00ffaa;
  --green2: #00e699;
  --green-bg: rgba(0,255,170,0.06);
  --cyan: #00ccff;
  --cyan-bg: rgba(0,204,255,0.06);
  --purple: #8b5cf6;
  --purple-bg: rgba(139,92,246,0.06);
  --orange: #ff8a3c;
  --orange-bg: rgba(255,138,60,0.06);
  --red: #ff4d6a;
  --blue: #3b82f6;
  --r: 14px;
  --rs: 8px;
  --t: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --head: 'Orbitron', sans-serif;
  --body: 'Rajdhani', 'Noto Sans SC', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; transition: var(--t); }

/* ===== Background Layers ===== */
.bg-layer {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
}
.layer2 { z-index: 1; }

.scanlines {
  position: fixed; inset: 0; z-index: 2; 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
  );
}

.vignette {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.6) 100%);
}

/* HUD Corners */
.hud-corner {
  position: fixed; z-index: 3; pointer-events: none;
  width: 40px; height: 40px;
}
.hud-corner::before, .hud-corner::after {
  content: ''; position: absolute; background: rgba(0,255,170,0.15);
}
.hud-corner.tl { top: 12px; left: 12px; }
.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: 12px; right: 12px; }
.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: 12px; left: 12px; }
.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: 12px; right: 12px; }
.hud-corner.br::before { bottom: 0; right: 0; width: 20px; height: 1px; }
.hud-corner.br::after { bottom: 0; right: 0; width: 1px; height: 20px; }

/* ===== Navbar ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 12px 0; transition: var(--t); background: transparent;
}
.navbar.scrolled {
  background: rgba(5,8,16,0.92); backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; }
.logo-hex {
  width: 42px; height: 42px; position: relative;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-bg); border: 1px solid rgba(0,255,170,0.25);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.logo-hex.small { width: 34px; height: 34px; }
.logo-hex span { font-family: var(--mono); font-weight: 700; font-size: 18px; color: var(--green); }
.hex-ring {
  position: absolute; inset: -6px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  border: 1px solid rgba(0,255,170,0.1);
  animation: hexPulse 3s ease-in-out infinite;
}
@keyframes hexPulse { 0%,100% { opacity: 0; transform: scale(1); } 50% { opacity: 1; transform: scale(1.15); } }

.logo-text-group { display: flex; flex-direction: column; }
.logo-main { font-family: var(--head); font-size: 15px; font-weight: 700; letter-spacing: 3px; color: var(--text); }
.logo-sub { font-family: var(--mono); font-size: 9px; letter-spacing: 2px; color: var(--dim); }

/* Nav Links */
.nav-links { display: flex; list-style: none; gap: 6px; }
.nav-links a {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 12px; font-weight: 400;
  color: var(--dim); padding: 6px 12px; border-radius: 4px;
  transition: var(--t); letter-spacing: 0.5px;
}
.nav-num { font-size: 10px; color: var(--muted); }
.nav-links a:hover, .nav-links a.active { color: var(--green); background: var(--green-bg); }

/* Nav Actions */
.nav-actions { display: flex; align-items: center; gap: 14px; }
.system-status {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10px; color: var(--dim);
}
.status-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); position: relative;
  box-shadow: 0 0 8px var(--green);
}
.status-pulse::after {
  content: ''; position: absolute; inset: -4px;
  border-radius: 50%; border: 1px solid var(--green);
  animation: statusPing 2s ease-out infinite;
}
.status-pulse.small { width: 6px; height: 6px; }
.status-pulse.small::after { inset: -3px; }
@keyframes statusPing { 0% { opacity: 0.6; transform: scale(1); } 100% { opacity: 0; transform: scale(2); } }
.status-text { color: var(--green); font-weight: 500; }
.status-time { color: var(--muted); }

.btn-cyber {
  padding: 8px 22px; border-radius: 4px;
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  background: var(--green); color: var(--bg);
  border: none; cursor: pointer; position: relative;
  transition: var(--t); overflow: hidden; display: inline-block;
}
.btn-cyber:hover { box-shadow: 0 0 20px rgba(0,255,170,0.3); transform: translateY(-1px); }
.btn-cyber .btn-cyber-glitch {
  position: absolute; inset: 0; background: var(--green);
  opacity: 0;
}
.btn-cyber:hover .btn-cyber-glitch {
  animation: glitchFlash 0.3s steps(2) 1;
}
@keyframes glitchFlash { 0% { opacity: 0.3; transform: translateX(-3px); } 50% { opacity: 0; transform: translateX(3px); } 100% { opacity: 0; } }
.full { width: 100%; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { width: 22px; height: 1.5px; background: var(--dim); border-radius: 2px; transition: var(--t); }

/* ===== Hero ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; position: relative; padding: 120px 24px 60px;
  overflow: hidden; z-index: 3;
}
.hero-hex-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,255,170,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,170,0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 70%);
}

/* Radar */
.radar-container {
  position: absolute; right: 6%; top: 50%; transform: translateY(-50%);
  opacity: 0.2;
}
.radar { width: 220px; height: 220px; position: relative; border-radius: 50%; }
.radar-ring {
  position: absolute; border-radius: 50%; border: 1px solid rgba(0,255,170,0.15);
}
.radar-ring.r1 { inset: 0; }
.radar-ring.r2 { inset: 25%; }
.radar-ring.r3 { inset: 45%; }
.radar-sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(0,255,170,0.15) 30deg, transparent 60deg);
  animation: radarSweep 4s linear infinite;
}
@keyframes radarSweep { to { transform: rotate(360deg); } }
.radar-dot {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 6px var(--green);
  animation: dotBlink 2s ease-in-out infinite;
}
.radar-dot.d1 { top: 30%; left: 60%; animation-delay: 0s; }
.radar-dot.d2 { top: 55%; left: 25%; animation-delay: 0.7s; }
.radar-dot.d3 { top: 70%; left: 70%; animation-delay: 1.4s; }
@keyframes dotBlink { 0%,100% { opacity: 1; } 50% { opacity: 0.2; } }

.hero-content {
  position: relative; z-index: 4; text-align: center;
  max-width: 900px; margin: 0 auto;
}

/* Boot Sequence */
.boot-sequence {
  text-align: left; max-width: 560px; margin: 0 auto 40px;
  background: rgba(0,255,170,0.02); border: 1px solid rgba(0,255,170,0.06);
  border-radius: var(--rs); padding: 16px 20px;
  font-family: var(--mono); font-size: 12px;
}
.boot-line {
  color: var(--dim); line-height: 2; opacity: 0;
  animation: bootIn 0.3s ease forwards;
}
.boot-line:nth-child(1) { animation-delay: 0.1s; }
.boot-line:nth-child(2) { animation-delay: 0.4s; }
.boot-line:nth-child(3) { animation-delay: 0.7s; }
.boot-line:nth-child(4) { animation-delay: 1.0s; }
.boot-line:nth-child(5) { animation-delay: 1.3s; }
.boot-line:nth-child(6) { animation-delay: 1.8s; }
.boot-line.success { color: var(--green); }
@keyframes bootIn { to { opacity: 1; } }

/* Hero Badge */
.hero-badge-cyber {
  display: inline-flex; align-items: center;
  padding: 6px 20px; border-radius: 3px;
  background: var(--green-bg); border: 1px solid rgba(0,255,170,0.12);
  font-family: var(--mono); font-size: 11px;
  color: var(--green); letter-spacing: 2px;
  margin-bottom: 32px; position: relative; overflow: hidden;
}
.badge-scan {
  position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,255,170,0.08), transparent);
  animation: scanMove 3s ease-in-out infinite;
}
@keyframes scanMove { 0% { left: -100%; } 100% { left: 200%; } }

/* Hero Title */
.hero-title { margin-bottom: 48px; }
.title-glitch {
  display: block; font-family: var(--head);
  font-size: clamp(12px, 2vw, 16px); font-weight: 400;
  letter-spacing: 16px; color: var(--dim);
  margin-bottom: 12px; position: relative;
}
.title-glitch::before, .title-glitch::after {
  content: attr(data-text); position: absolute;
  top: 0; left: 0; right: 0; overflow: hidden;
}
.title-glitch::before { color: var(--cyan); animation: glitch1 3s infinite; clip-path: inset(0 0 70% 0); }
.title-glitch::after { color: var(--red); animation: glitch2 3s infinite; clip-path: inset(70% 0 0 0); }
@keyframes glitch1 { 0%,92%,100% { transform: none; } 93% { transform: translateX(-4px); } 96% { transform: translateX(2px); } }
@keyframes glitch2 { 0%,92%,100% { transform: none; } 94% { transform: translateX(4px); } 97% { transform: translateX(-2px); } }

.title-main {
  display: block; font-family: var(--body);
  font-size: clamp(36px, 6vw, 64px); font-weight: 700;
  line-height: 1.15; position: relative;
}

.title-sub {
  display: block; font-family: var(--mono);
  font-size: clamp(11px, 1.5vw, 14px); letter-spacing: 4px;
  color: var(--dim); margin-top: 16px;
}

/* Hero AI Visual */
.hero-visual {
  margin: -10px auto 40px;
  max-width: 600px;
  width: 100%;
  position: relative;
}
.ai-brain-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(0,255,170,0.05));
}

/* Hex rotation */
.hex-rotate {
  animation: hexSpin 30s linear infinite;
  transform-origin: center;
}
@keyframes hexSpin { to { transform: translate(300px,200px) rotate(360deg); } }

/* Neurons */
.neuron {
  fill: var(--bg);
  stroke: var(--green);
  stroke-width: 1;
}
.neuron.core-neuron {
  fill: rgba(0,255,170,0.15);
  stroke: var(--green);
  stroke-width: 1.5;
  filter: url(#glow);
  animation: corePulse 2s ease-in-out infinite;
}
.neuron.n1, .neuron.n2, .neuron.n7 { stroke: var(--green); animation: neuronPulse 3s ease-in-out infinite; }
.neuron.n3, .neuron.n4, .neuron.n8 { stroke: var(--cyan); animation: neuronPulse 3s ease-in-out 0.5s infinite; }
.neuron.n5, .neuron.n6 { stroke: var(--purple); animation: neuronPulse 3s ease-in-out 1s infinite; }
.neuron.n9, .neuron.n10, .neuron.n11, .neuron.n12, .neuron.n13, .neuron.n14 {
  stroke: rgba(0,255,170,0.4);
  animation: neuronPulse 4s ease-in-out 0.3s infinite;
}

@keyframes corePulse {
  0%, 100% { fill: rgba(0,255,170,0.15); r: 6; }
  50% { fill: rgba(0,255,170,0.3); r: 7; }
}
@keyframes neuronPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Synapses */
.synapse {
  animation: synapseFire 4s ease-in-out infinite;
}
.synapse.s1, .synapse.s3, .synapse.s5 { animation-delay: 0s; }
.synapse.s2, .synapse.s4, .synapse.s6 { animation-delay: 0.5s; }
.synapse.s7, .synapse.s9, .synapse.s11 { animation-delay: 1s; }
.synapse.s8, .synapse.s10, .synapse.s12 { animation-delay: 1.5s; }

@keyframes synapseFire {
  0%, 100% { opacity: 0.3; }
  30% { opacity: 1; }
  60% { opacity: 0.3; }
}

/* Circuit lines */
.circuit-line {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: circuitDraw 3s ease-out forwards;
}
.circuit-line.cl1 { animation-delay: 0.2s; }
.circuit-line.cl2 { animation-delay: 0.5s; }
.circuit-line.cl3 { animation-delay: 0.3s; }
.circuit-line.cl4 { animation-delay: 0.7s; }
.circuit-line.cl5 { animation-delay: 0.4s; }
.circuit-line.cl6 { animation-delay: 0.6s; }
.circuit-line.cl7 { animation-delay: 0.1s; }
.circuit-line.cl8 { animation-delay: 0.8s; }

@keyframes circuitDraw {
  to { stroke-dashoffset: 0; }
}

/* Data particles */
.data-particle {
  filter: url(#glow);
  opacity: 0.8;
}
.data-particle.dp1 { animation: particleFade 3s ease-in-out infinite; }
.data-particle.dp2 { animation: particleFade 3.5s ease-in-out 0.5s infinite; }
.data-particle.dp3 { animation: particleFade 4s ease-in-out 1s infinite; }
.data-particle.dp4 { animation: particleFade 2.8s ease-in-out 0.3s infinite; }

@keyframes particleFade {
  0%, 100% { opacity: 0; }
  20%, 80% { opacity: 0.9; }
}

/* Orbit dots */
.data-orbit {
  animation: orbitSpin 20s linear infinite;
  transform-origin: 300px 200px;
}
@keyframes orbitSpin { to { transform: translate(300px,200px) rotate(360deg); } }

.orbit-dot { animation: orbitDotPulse 2s ease-in-out infinite; }
.orbit-dot.od2 { animation-delay: 0.7s; }
.orbit-dot.od3 { animation-delay: 1.4s; }
@keyframes orbitDotPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* Data labels */
.data-label {
  animation: labelFlicker 5s ease-in-out infinite;
}
.data-label.dl2 { animation-delay: 1s; }
.data-label.dl3 { animation-delay: 2s; }
.data-label.dl4 { animation-delay: 0.5s; }
.data-label.dl5 { animation-delay: 1.5s; }
.data-label.dl6 { animation-delay: 3s; }

@keyframes labelFlicker {
  0%, 90%, 100% { opacity: 1; }
  92% { opacity: 0.3; }
  94% { opacity: 0.8; }
  96% { opacity: 0.2; }
  98% { opacity: 1; }
}

/* Circuit nodes */
.cnode {
  animation: cnodePulse 3s ease-in-out infinite;
}
@keyframes cnodePulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-visual { max-width: 100%; margin: -5px auto 30px; }
  .data-labels { display: none; }
}

/* HUD Panels */
.hud-panels {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.hud-panel {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--rs); padding: 18px 16px;
  text-align: left; transition: var(--t);
  position: relative; overflow: hidden;
}
.hud-panel::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 100%; background: var(--green); opacity: 0.3;
}
.hud-panel:hover { border-color: var(--border-glow); background: var(--card-hover); }
.hud-frame { display: flex; align-items: baseline; gap: 4px; margin-bottom: 8px; }
.hud-label { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 1px; display: block; margin-bottom: 4px; width: 100%; }
.hud-value { font-family: var(--head); font-size: 28px; font-weight: 700; color: var(--text); }
.hud-unit { font-family: var(--mono); font-size: 14px; color: var(--green); }
.hud-bar { height: 3px; background: rgba(255,255,255,0.03); border-radius: 2px; margin-bottom: 6px; overflow: hidden; }
.hud-fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--green), var(--cyan)); transition: width 1.5s ease; }
.hud-desc { font-family: var(--mono); font-size: 11px; color: var(--muted); }

/* ===== Section Shared ===== */
section { padding: 100px 0; position: relative; z-index: 3; }
.section-hud {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin-bottom: 16px;
}
.hud-bracket { font-family: var(--mono); font-size: 20px; color: var(--muted); font-weight: 300; }
.section-tag-cyber {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px;
  color: var(--green); letter-spacing: 2px;
}
.tag-pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 6px var(--green);
  animation: dotBlink 1.5s ease-in-out infinite;
}
.tag-pulse.green { background: var(--green); box-shadow: 0 0 6px var(--green); }
.tag-pulse.blue { background: var(--blue); box-shadow: 0 0 6px var(--blue); }
.tag-pulse.purple { background: var(--purple); box-shadow: 0 0 6px var(--purple); }

.section-title {
  font-family: var(--body); font-size: clamp(28px, 4vw, 44px);
  font-weight: 700; text-align: center; margin-bottom: 56px;
}
.accent { color: var(--green); }

/* ===== About ===== */
.about-grid-cyber {
  display: grid; grid-template-columns: 1.3fr 0.7fr;
  gap: 24px; margin-bottom: 32px;
}

.data-panel, .timeline-cyber {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden;
}
.panel-header {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px; background: rgba(255,255,255,0.015);
  border-bottom: 1px solid var(--border);
  font-family: var(--mono); font-size: 11px; color: var(--dim);
}
.panel-icon { color: var(--green); font-size: 8px; }
.panel-title { flex: 1; }
.panel-status { color: var(--green); font-size: 10px; }

.panel-body { padding: 16px 18px; }
.data-row {
  display: flex; gap: 12px; padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.02);
  font-size: 13px;
}
.data-key { font-family: var(--mono); font-size: 12px; color: var(--muted); min-width: 56px; }
.data-val { color: var(--dim); }
.data-val.highlight { color: var(--green); }
.data-divider { height: 1px; background: var(--border); margin: 8px 0; }

/* Timeline Cyber */
.tl-cyber-list { padding: 16px 18px; }
.tl-c-item {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 0; position: relative;
}
.tl-c-year { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--muted); min-width: 40px; }
.tl-c-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--muted);
  flex-shrink: 0;
}
.tl-c-item.active .tl-c-dot { background: var(--green); box-shadow: 0 0 6px var(--green); }
.tl-c-item.active .tl-c-year { color: var(--green); }
.tl-c-text { font-size: 13px; color: var(--dim); }
.tl-c-item.active .tl-c-text { color: var(--text); }

/* Values Bar */
.values-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; padding: 16px 24px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--rs); font-size: 13px; color: var(--dim);
  flex-wrap: wrap;
}
.vbar-item { display: flex; align-items: center; gap: 6px; }
.vbar-icon { font-size: 16px; }
.vbar-sep { color: var(--muted); }

/* ===== AI Core ===== */
.core-display {
  width: 220px; height: 220px; margin: 0 auto 56px;
  position: relative; display: flex;
  align-items: center; justify-content: center;
}
.core-outer-ring, .core-middle-ring, .core-inner-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(0,255,170,0.1);
}
.core-outer-ring { inset: 0; animation: radarSweep 16s linear infinite; }
.core-middle-ring { inset: 20px; border-color: rgba(139,92,246,0.1); animation: radarSweep 10s linear infinite reverse; }
.core-inner-ring { inset: 40px; border-color: rgba(0,204,255,0.1); animation: radarSweep 6s linear infinite; }

.core-outer-ring::before, .core-middle-ring::before, .core-inner-ring::before {
  content: ''; position: absolute; top: -3px; left: 50%;
  width: 6px; height: 6px; border-radius: 50%;
}
.core-outer-ring::before { background: var(--green); box-shadow: 0 0 8px var(--green); }
.core-middle-ring::before { background: var(--purple); box-shadow: 0 0 8px var(--purple); }
.core-inner-ring::before { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

.orbit-point {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 6px var(--green);
}
.orbit-point.op1 { top: 10%; left: 50%; animation: dotBlink 2s infinite; }
.orbit-point.op2 { top: 60%; right: 5%; animation: dotBlink 2s infinite 0.5s; }
.orbit-point.op3 { bottom: 15%; left: 10%; animation: dotBlink 2s infinite 1s; }

.core-center {
  text-align: center; position: relative; z-index: 2;
}
.core-icon { width: 48px; height: 48px; color: var(--green); margin: 0 auto 8px; }
.core-icon svg { width: 100%; height: 100%; }
.core-label { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 3px; color: var(--green); opacity: 0.7; }
.core-name { display: block; font-size: 20px; font-weight: 700; margin-top: 4px; }
.core-stat { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 4px; }

/* Tech Nodes */
.tech-nodes-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.tech-node {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 24px; transition: var(--t);
}
.tech-node:hover { border-color: var(--border-glow); transform: translateY(-3px); background: var(--card-hover); }

.node-header {
  display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
}
.node-status-light {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 6px var(--green);
}
.node-id { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 2px; }

.tech-node h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.tech-node p { font-size: 13px; color: var(--dim); margin-bottom: 16px; line-height: 1.5; }

.node-metrics { }
.nm-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.nm-key { font-family: var(--mono); font-size: 10px; color: var(--muted); min-width: 72px; }
.nm-bar { flex: 1; height: 3px; background: rgba(255,255,255,0.03); border-radius: 2px; overflow: hidden; }
.nm-fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--green), var(--cyan)); transition: width 1.5s ease; }
.nm-fill.cyan { background: linear-gradient(90deg, var(--cyan), var(--blue)); }
.nm-fill.purple { background: linear-gradient(90deg, var(--purple), var(--cyan)); }
.nm-fill.orange { background: linear-gradient(90deg, var(--orange), #ffd93d); }
.nm-val { font-family: var(--mono); font-size: 11px; color: var(--green); min-width: 44px; text-align: right; }

/* ===== Services ===== */
.svc-matrix { display: flex; flex-direction: column; gap: 20px; }
.svc-block {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 32px; transition: var(--t);
}
.svc-block:hover { border-color: var(--border-glow); }

.svc-block-header { display: flex; gap: 20px; margin-bottom: 24px; align-items: flex-start; }
.svc-id { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.svc-num { font-family: var(--head); font-size: 28px; font-weight: 800; color: var(--green); opacity: 0.3; }
.svc-id.purple .svc-num { color: var(--purple); }
.svc-id.orange .svc-num { color: var(--orange); }
.svc-line { width: 1px; height: 24px; background: var(--border); }
.svc-block-header h3 { font-size: 20px; font-weight: 700; }
.svc-sub { font-size: 13px; color: var(--dim); margin-top: 4px; }

.svc-data-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-bottom: 20px;
}
.svc-data {
  padding: 12px; background: rgba(255,255,255,0.015);
  border: 1px solid var(--border); border-radius: var(--rs);
}
.sdk { display: block; font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 1px; margin-bottom: 4px; }
.sdv { font-size: 14px; font-weight: 600; color: var(--dim); }
.neon-green { color: var(--green); text-shadow: 0 0 10px rgba(0,255,170,0.3); }
.neon-purple { color: var(--purple); text-shadow: 0 0 10px rgba(139,92,246,0.3); }
.neon-orange { color: var(--orange); text-shadow: 0 0 10px rgba(255,138,60,0.3); }

.svc-tags-row, .svc-products-row {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px;
}
.svc-tags-row span {
  padding: 3px 10px; border-radius: 3px;
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  font-family: var(--mono); font-size: 11px; color: var(--dim);
}
.svc-products-row span {
  padding: 4px 12px; border-radius: 3px;
  background: var(--green-bg); font-size: 12px; color: var(--green); font-weight: 600;
}
.svc-products-row.purple span { background: var(--purple-bg); color: var(--purple); }

/* ===== Network ===== */
.net-dash {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-bottom: 32px;
}
.net-stat {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 20px;
  display: flex; align-items: center; gap: 16px;
}
.wave-canvas { flex-shrink: 0; opacity: 0.6; }
.nsi-val { display: block; font-family: var(--head); font-size: 24px; font-weight: 700; color: var(--green); }
.nsi-val.purple { color: var(--purple); }
.nsi-val.orange { color: var(--orange); }
.nsi-label { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

.office-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.office-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 20px; position: relative;
  transition: var(--t); overflow: hidden;
}
.office-card:hover { border-color: var(--border-glow); transform: translateY(-3px); }
.office-card.hq { border-color: rgba(0,255,170,0.15); }

.oc-ping {
  position: absolute; top: 14px; right: 14px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); animation: dotBlink 2s ease-in-out infinite;
}
.oc-ping.d1 { animation-delay: 0.3s; }
.oc-ping.d2 { animation-delay: 0.6s; }
.oc-ping.d3 { animation-delay: 0.9s; }
.oc-ping.d4 { animation-delay: 1.2s; }

.oc-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.oc-flag { font-size: 20px; }
.oc-status { font-family: var(--mono); font-size: 9px; color: var(--green); letter-spacing: 1px; }
.office-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.office-card p { font-size: 11px; color: var(--muted); }

.oc-latency { margin-top: 10px; }
.lat-bar { display: block; height: 2px; background: rgba(255,255,255,0.03); border-radius: 2px; margin-bottom: 4px; overflow: hidden; }
.lat-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--cyan)); border-radius: 2px; }
.oc-latency > span { font-family: var(--mono); font-size: 9px; color: var(--muted); }

/* ===== News / Feed ===== */
.feed-list { display: flex; flex-direction: column; gap: 12px; }
.feed-item {
  display: flex; align-items: center; gap: 16px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 24px; transition: var(--t);
}
.feed-item:hover { border-color: var(--border-glow); transform: translateX(4px); }
.feed-item.featured { border-color: rgba(0,255,170,0.1); background: linear-gradient(135deg, var(--card), rgba(0,255,170,0.02)); }

.feed-marker {
  width: 4px; height: 40px; border-radius: 2px; flex-shrink: 0;
  background: var(--green);
}
.feed-marker.purple { background: var(--purple); }
.feed-marker.orange { background: var(--orange); }

.feed-time { font-family: var(--mono); font-size: 11px; color: var(--muted); min-width: 80px; flex-shrink: 0; }
.feed-content { flex: 1; }
.feed-content h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.feed-content p { font-size: 13px; color: var(--dim); }
.feed-arrow { font-family: var(--mono); font-size: 16px; color: var(--green); flex-shrink: 0; cursor: pointer; }
.feed-arrow:hover { transform: translateX(4px); }

/* ===== Contact ===== */
.contact-cyber-grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: 24px; align-items: start;
}
.contact-terminal {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden;
}
.ct-header {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px; background: rgba(255,255,255,0.015);
  border-bottom: 1px solid var(--border);
  font-family: var(--mono); font-size: 11px; color: var(--muted);
}
.ct-dots { display: flex; gap: 5px; }
.ct-dots span { width: 8px; height: 8px; border-radius: 50%; }
.ct-dots span:nth-child(1) { background: #ff5f57; }
.ct-dots span:nth-child(2) { background: #febc2e; }
.ct-dots span:nth-child(3) { background: #28c840; }
.ct-form { padding: 24px; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ct-field { margin-bottom: 14px; }
.ct-field label { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); margin-bottom: 5px; }
.req { color: var(--red); }
.ct-field input, .ct-field select, .ct-field textarea {
  width: 100%; padding: 10px 14px;
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  border-radius: var(--rs); color: var(--text); font-size: 14px;
  font-family: var(--body); transition: var(--t);
}
.ct-field input:focus, .ct-field select:focus, .ct-field textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(0,255,170,0.08);
  background: rgba(0,255,170,0.02);
}
.ct-field textarea { resize: vertical; }
.ct-field select { cursor: pointer; }
.ct-field option { background: var(--card); }

/* Contact Data */
.contact-data { display: flex; flex-direction: column; gap: 10px; }
.cd-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--rs); padding: 14px 16px; transition: var(--t);
}
.cd-card:hover { border-color: var(--border-glow); transform: translateX(4px); }
.cd-icon { font-size: 18px; }
.cd-label { display: block; font-family: var(--mono); font-size: 9px; color: var(--muted); letter-spacing: 1px; }
.cd-val { display: block; font-size: 14px; font-weight: 600; }
.cd-sub { display: block; font-size: 11px; color: var(--muted); }

.inv-cyber {
  background: linear-gradient(135deg, rgba(0,255,170,0.03), rgba(139,92,246,0.03));
  border: 1px solid rgba(0,255,170,0.1); border-radius: var(--rs);
  padding: 18px; position: relative; overflow: hidden;
}
.inv-scan {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0,255,170,0.03), transparent);
  animation: invScan 4s linear infinite;
}
@keyframes invScan { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }
.inv-tag { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: var(--green); margin-bottom: 12px; position: relative; }
.inv-grid { display: flex; gap: 24px; position: relative; }
.inv-k { display: block; font-family: var(--mono); font-size: 10px; color: var(--muted); }
.inv-v { font-family: var(--head); font-size: 16px; font-weight: 700; }

.social-cyber { display: flex; gap: 8px; }
.social-cyber a {
  width: 34px; height: 34px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  background: var(--card); border: 1px solid var(--border);
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  color: var(--dim); transition: var(--t);
}
.social-cyber a:hover { border-color: var(--green); color: var(--green); background: var(--green-bg); }

/* ===== Footer ===== */
.footer-cyber {
  position: relative; z-index: 3;
  background: var(--card); padding: 48px 0 0;
}
.footer-line {
  height: 1px; background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0.15;
}
.fc-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px; padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.fc-brand .logo { margin-bottom: 12px; }
.fc-brand p { font-size: 12px; color: var(--muted); }
.fc-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--dim); margin-bottom: 14px; }
.fc-col a { display: block; font-size: 13px; color: var(--muted); padding: 4px 0; }
.fc-col a:hover { color: var(--green); transform: translateX(4px); }
.fc-bottom { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; }
.fc-bottom p { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.fc-sys { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10px; color: var(--green); opacity: 0.5; }

/* ===== Animations ===== */
[data-aos] { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos="fade-right"] { transform: translateX(-20px); }
[data-aos="zoom-in"] { transform: scale(0.95); }
[data-aos].aos-animate { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hud-panels { grid-template-columns: repeat(2, 1fr); }
  .about-grid-cyber { grid-template-columns: 1fr; }
  .tech-nodes-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-data-grid { grid-template-columns: repeat(2, 1fr); }
  .office-grid { grid-template-columns: repeat(3, 1fr); }
  .net-dash { grid-template-columns: repeat(3, 1fr); }
  .fc-grid { grid-template-columns: repeat(2, 1fr); }
  .radar-container { display: none; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none; position: fixed; inset: 0;
    background: rgba(5,8,16,0.98);
    flex-direction: column; align-items: center;
    justify-content: center; gap: 12px; z-index: 999;
  }
  .nav-links.active { display: flex; }
  .nav-links a { font-size: 16px; }
  .hamburger { display: flex; }
  .system-status { display: none; }
  .nav-actions .btn-cyber { display: none; }

  .hero { padding: 100px 16px 50px; }
  .title-main { font-size: 28px; }
  .title-glitch { letter-spacing: 8px; }
  .title-sub { letter-spacing: 2px; }
  .hud-panels { grid-template-columns: 1fr 1fr; }

  section { padding: 64px 0; }

  .tech-nodes-grid, .svc-data-grid { grid-template-columns: 1fr; }
  .office-grid { grid-template-columns: 1fr 1fr; }
  .net-dash { grid-template-columns: 1fr; }
  .contact-cyber-grid { grid-template-columns: 1fr; }
  .ct-row { grid-template-columns: 1fr; }
  .fc-grid { grid-template-columns: 1fr; gap: 24px; }
  .fc-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .feed-item { flex-wrap: wrap; }
  .feed-time { min-width: auto; }
  .values-bar { flex-direction: column; gap: 8px; }
  .vbar-sep { display: none; }
  .inv-grid { flex-direction: column; gap: 8px; }
  .core-display { width: 160px; height: 160px; }
}
@media (max-width: 480px) {
  .hud-panels { grid-template-columns: 1fr; }
  .office-grid { grid-template-columns: 1fr; }
}
