@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Orbitron:wght@400..900&family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');



:root {
  --black: #020408;
  --deep: #060d18;
  --panel: #0a1628;
  --border: #0f2848;
  --border-bright: #1a3a6a;
  --blue: #0d6efd;
  --cyan: #00d4ff;
  --neon: #00ffe7;
  --orange: #ff6b00;
  --hytale: #a855f7;
  --fivem: #e8c84b;
  --green: #4ade80;
  --white: #e8f4ff;
  --muted: #4a7aa8;
  --glow-cyan: 0 0 20px rgba(0,212,255,0.4), 0 0 60px rgba(0,212,255,0.1);
  --glow-orange: 0 0 20px rgba(255,107,0,0.4), 0 0 60px rgba(255,107,0,0.1);
  --glow-neon: 0 0 20px rgba(0,255,231,0.5), 0 0 80px rgba(0,255,231,0.15);
  --glow-purple: 0 0 20px rgba(168,85,247,0.4), 0 0 60px rgba(168,85,247,0.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Titillium Web', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ─── NOISE + SCANLINE ─── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: 0.35;
}
body::after {
  content: '';
  position: fixed; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.07) 2px, rgba(0,0,0,0.07) 4px);
  pointer-events: none; z-index: 9998;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--border-bright); }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 64px;
  background: rgba(2,4,8,0.9);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.logo {
  font-family: 'Orbitron', monospace;
  font-weight: 900; font-size: 1.15rem;
  letter-spacing: 0.15em; color: var(--white); text-decoration: none;
}
.logo span { color: var(--cyan); }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--cyan); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--cyan);
}

/* dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 12px); right: 0;
  background: rgba(6,13,24,0.98);
  border: 1px solid var(--border-bright);
  backdrop-filter: blur(20px);
  min-width: 180px; padding: 8px 0;
  opacity: 0; pointer-events: none;
  transform: translateY(-8px);
  transition: all 0.2s;
  clip-path: polygon(8px 0%, 100% 0%, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0% 100%, 0% 8px);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu:hover {
  opacity: 1; pointer-events: all; transform: translateY(0);
}
.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px;
  font-size: 0.8rem; letter-spacing: 0.08em;
  color: var(--muted); text-decoration: none;
  transition: all 0.15s; font-weight: 600;
  text-transform: uppercase;
}
.nav-dropdown-menu a:hover { color: var(--white); background: rgba(0,212,255,0.06); }
.nav-dropdown-menu .sep { height: 1px; background: var(--border); margin: 4px 0; }
.nav-dropdown-menu .icon { font-size: 0.9rem; width: 18px; text-align: center; }

.nav-actions { display: flex; gap: 10px; align-items: center; }
.btn-login {
  background: transparent; color: var(--cyan);
  font-family: 'Orbitron', monospace; font-weight: 600;
  font-size: 0.68rem; letter-spacing: 0.1em;
  padding: 8px 18px; border: 1px solid rgba(0,212,255,0.35); cursor: pointer;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: all 0.2s; text-decoration: none; display: inline-flex; align-items: center; gap: 7px;
}
.btn-login:hover { border-color: var(--cyan); background: rgba(0,212,255,0.07); }
.nav-cta {
  background: var(--cyan); color: var(--black);
  font-family: 'Orbitron', monospace; font-weight: 700;
  font-size: 0.68rem; letter-spacing: 0.12em;
  padding: 9px 20px; border: none; cursor: pointer;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: all 0.2s; text-decoration: none; display: inline-block;
}
.nav-cta:hover { background: var(--neon); box-shadow: var(--glow-neon); }

/* ─── SECTION COMMONS ─── */
.section-wrap { padding: 96px 48px; max-width: 1240px; margin: 0 auto; }
.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 10px; display: block;
}
.section-label::before { content: '// '; }
h2 {
  font-family: 'Orbitron', monospace; font-weight: 700;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.1; margin-bottom: 14px;
}
.section-desc { color: rgba(232,244,255,0.5); font-size: 1rem; }

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--cyan); color: var(--black);
  font-family: 'Orbitron', monospace; font-weight: 700;
  font-size: 0.78rem; letter-spacing: 0.1em;
  padding: 14px 32px; border: none; cursor: pointer; display: inline-block; text-decoration: none;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition: all 0.25s;
}
.btn-primary:hover { background: var(--neon); box-shadow: var(--glow-neon); transform: translateY(-2px); }
.btn-secondary {
  background: transparent; color: var(--cyan);
  font-family: 'Orbitron', monospace; font-weight: 600;
  font-size: 0.78rem; letter-spacing: 0.1em;
  padding: 13px 32px; border: 1px solid rgba(0,212,255,0.4); cursor: pointer; display: inline-block; text-decoration: none;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition: all 0.25s;
}
.btn-secondary:hover { border-color: var(--cyan); background: rgba(0,212,255,0.07); transform: translateY(-2px); }

/* ─── PARTICLE CANVAS ─── */
#particle-canvas {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  opacity: 0.35;
}

/* ─── FOOTER ─── */
footer {
  background: var(--deep); border-top: 1px solid var(--border);
  padding: 64px 48px 32px; position: relative; z-index: 1;
}
.footer-inner { max-width: 1240px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo { display: inline-block; margin-bottom: 16px; }
.footer-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.8; max-width: 300px; }
.footer-col h4 {
  font-family: 'Orbitron', monospace; font-weight: 600;
  font-size: 0.68rem; letter-spacing: 0.18em; color: var(--white);
  margin-bottom: 18px; text-transform: uppercase;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.88rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--cyan); }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: var(--muted);
}
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--cyan); }
.footer-social { display: flex; gap: 12px; }
.social-btn {
  width: 34px; height: 34px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; color: var(--muted); text-decoration: none;
  transition: all 0.2s;
}
.social-btn:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(0,212,255,0.06); }

/* ─── STATUS BAR ─── */
.status-bar {
  background: rgba(6,13,24,0.8);
  border-bottom: 1px solid var(--border);
  padding: 10px 48px;
  display: flex; align-items: center; gap: 36px; flex-wrap: wrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem; letter-spacing: 0.08em;
  position: relative; z-index: 1;
}
.status-item { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.status-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 8px var(--green); animation: sPulse 2s ease-in-out infinite;
}
@keyframes sPulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
.status-label { color: var(--muted); }
.status-val { color: var(--white); }

/* ─── CORNER DECORATIONS ─── */
.corner-tl, .corner-tr, .corner-bl, .corner-br {
  position: absolute; width: 20px; height: 20px; pointer-events: none;
}
.corner-tl { top: 0; left: 0; border-top: 1px solid var(--cyan); border-left: 1px solid var(--cyan); }
.corner-tr { top: 0; right: 0; border-top: 1px solid var(--cyan); border-right: 1px solid var(--cyan); }
.corner-bl { bottom: 0; left: 0; border-bottom: 1px solid var(--cyan); border-left: 1px solid var(--cyan); }
.corner-br { bottom: 0; right: 0; border-bottom: 1px solid var(--cyan); border-right: 1px solid var(--cyan); }

/* ─── HEXAGON GRID BACKGROUND ─── */
.hex-bg {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0;
}
.hex-bg svg { width: 100%; height: 100%; opacity: 0.04; }

/* ─── FADE UP ANIMATION ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
@keyframes orbFloat {
  0%,100%{transform:translate(0,0)} 33%{transform:translate(20px,-30px)} 66%{transform:translate(-15px,20px)}
}
@keyframes gridPulse { 0%,100%{opacity:0.5} 50%{opacity:1} }
@keyframes lineSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100vw); }
}
@keyframes rotate { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }

/* ─── DATA STREAM LINE ─── */
.data-stream {
  position: absolute; top: 0; left: 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation: lineSlide 4s linear infinite;
  pointer-events: none; opacity: 0.5;
}

/* ─── RESPONSIVE ─── */
@media(max-width:1024px){
  nav { padding: 0 24px; }
  .nav-links { gap: 18px; }
  .section-wrap { padding: 72px 24px; }
  footer { padding: 48px 24px 24px; }
  .status-bar { padding: 10px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media(max-width:768px){
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
