*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --blue: #3F63C8;
  --blue-dim: #2A4A9A;
  --blue-glow: rgba(63,99,200,0.25);
  --blue-faint: rgba(63,99,200,0.06);
  --black: #080808;
  --surface: #111111;
  --text: #E8E8E8;
  --text-dim: #666666;
  --border: #2A2A2A;
}
html { scroll-behavior: smooth; }
body { background: var(--black); color: var(--text); font-family: 'IBM Plex Sans', sans-serif; overflow-x: hidden; }
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.4;
}
.circuit-bg { position: fixed; inset: 0; background-image: linear-gradient(rgba(63,99,200,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(63,99,200,0.05) 1px, transparent 1px); background-size: 60px 60px; pointer-events: none; z-index: 0; }
.bg-fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-orb { position: absolute; border-radius: 50%; filter: blur(50px); }
.bg-orb-1 { width: 650px; height: 650px; background: radial-gradient(circle, rgba(63,99,200,0.35) 0%, rgba(63,99,200,0.1) 40%, transparent 70%); top: -150px; left: -150px; animation: orbDrift1 22s ease-in-out infinite alternate; }
.bg-orb-2 { width: 480px; height: 480px; background: radial-gradient(circle, rgba(63,99,200,0.28) 0%, rgba(63,99,200,0.08) 40%, transparent 70%); bottom: -80px; right: -80px; animation: orbDrift2 28s ease-in-out infinite alternate; }
.bg-orb-3 { width: 320px; height: 320px; background: radial-gradient(circle, rgba(100,140,255,0.22) 0%, transparent 65%); top: 45%; left: 50%; animation: orbDrift3 35s ease-in-out infinite alternate; }
@keyframes orbDrift1 { from { transform: translate(0,0); } to { transform: translate(220px,160px); } }
@keyframes orbDrift2 { from { transform: translate(0,0); } to { transform: translate(-160px,-200px); } }
@keyframes orbDrift3 { from { transform: translate(-50%,-50%); } to { transform: translate(-50%,-50%) translate(-100px,80px); } }
.bg-scan { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(63,99,200,0.025) 3px, rgba(63,99,200,0.025) 4px); }
#mouseCanvas { position: fixed; inset: 0; pointer-events: none; z-index: 2; }

nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; border-bottom: 1px solid var(--border); background: rgba(8,8,8,0.92); backdrop-filter: blur(12px); }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 20px 40px; }
.logo { font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 4px; color: var(--blue); text-decoration: none; }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: #fff; background: var(--blue); padding: 5px 16px; border-radius: 100px; }
.nav-cta { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #fff; background: var(--blue); padding: 10px 24px; text-decoration: none; transition: background 0.2s; display: inline-block; }
.nav-cta:hover { background: var(--blue-dim); }

footer { position: relative; z-index: 1; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 32px 40px; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--text-dim); letter-spacing: 1px; }
footer a.footer-copy { text-decoration: none; transition: color 0.2s; }
footer a.footer-copy:hover { color: var(--blue); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.animate { animation: fadeUp 0.8s ease forwards; }
.delay-1, .d1 { animation-delay: 0.1s; opacity: 0; }
.delay-2, .d2 { animation-delay: 0.25s; opacity: 0; }
.delay-3, .d3 { animation-delay: 0.4s; opacity: 0; }
.delay-4, .d4 { animation-delay: 0.55s; opacity: 0; }

.nav-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; flex-shrink: 0; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }

@media (max-width: 768px) {
  .nav-inner { padding: 14px 24px; }
  .nav-links { display: none; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: rgba(8,8,8,0.97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 8px 24px 20px; z-index: 99; }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-links a { display: block; padding: 14px 0; font-size: 12px; letter-spacing: 2px; }
  .nav-links a.active { background: none; color: var(--blue); padding: 14px 0; border-radius: 0; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  nav.open .nav-links { display: flex; }
  nav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  nav.open .nav-burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  nav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; padding: 24px 20px; }
  .cta-section { padding: 72px 24px; }
  .btn-primary, .btn-secondary, .btn-outline { display: block; text-align: center; }
}
