@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   1. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ========================================================================== */
:root {
  /* Core Colors */
  --nexo-black: #020812;
  --nexo-dark: #050d1a;
  --nexo-darker: #0a1628;
  --neon-cyan: #00f5ff;
  --neon-magenta: #ff006e;
  --neon-green: #00ff88;
  --neon-gold: #ffd700;
  --neon-purple: #bf00ff;
  --neon-orange: #ff6b00;
  --neon-pink: #ff006e;
  --blood-red: #ff1744;
  
  /* Text Colors */
  --text-primary: #e8f4fd;
  --text-secondary: #8baac9;
  --text-muted: #4a6680;
  
  /* Glow Effects */
  --glow-cyan: 0 0 20px rgba(0, 245, 255, 0.6), 0 0 40px rgba(0, 245, 255, 0.3);
  --glow-magenta: 0 0 20px rgba(255, 0, 110, 0.6), 0 0 40px rgba(255, 0, 110, 0.3);
  --glow-green: 0 0 20px rgba(0, 255, 136, 0.6), 0 0 40px rgba(0, 255, 136, 0.3);
  --glow-gold: 0 0 20px rgba(255, 215, 0, 0.6), 0 0 40px rgba(255, 215, 0, 0.3);
  --glow-purple: 0 0 20px rgba(191, 0, 255, 0.6), 0 0 40px rgba(191, 0, 255, 0.3);
  
  /* UI Elements */
  --border-card: 1px solid rgba(0, 245, 255, 0.15);
  --border-radius: 16px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  
  /* Layout */
  --container-max: 1280px;
  --nav-height: 80px;
  --z-base: 1;
  --z-nav: 100;
  --z-modal: 200;
  --z-loader: 9999;
  
  /* Glassmorphism */
  --glass-bg: rgba(2, 8, 18, 0.65);
  --glass-border: 1px solid rgba(0, 245, 255, 0.1);
  --glass-blur: blur(12px);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Light Theme Overrides (Data attribute) */
:root[data-theme='light'] {
  --nexo-black: #f0f4f8;
  --nexo-dark: #e1e8f0;
  --nexo-darker: #cdd6e0;
  --text-primary: #020812;
  --text-secondary: #2c3e50;
  --text-muted: #64748b;
  --border-card: 1px solid rgba(0, 245, 255, 0.4);
  --glass-bg: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   2. GLOBAL STYLES & RESET
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--nexo-black);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hex Grid Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(rgba(0, 245, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 50% 50%, transparent 20%, var(--nexo-black) 100%);
  z-index: -1;
  pointer-events: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--neon-magenta);
  text-shadow: 0 0 8px var(--neon-magenta);
}

ul {
  list-style: none;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--nexo-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 245, 255, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-cyan);
}

/* Selection */
::selection {
  background: var(--neon-cyan);
  color: var(--nexo-black);
  text-shadow: none;
}

/* ==========================================================================
   3. UTILITY CLASSES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.font-mono { font-family: 'JetBrains Mono', monospace; }
.font-space { font-family: 'Space Grotesk', sans-serif; }

.text-center { text-align: center; }
.text-cyan { color: var(--neon-cyan); }
.text-magenta { color: var(--neon-magenta); }
.text-green { color: var(--neon-green); }
.text-gold { color: var(--neon-gold); }

.neon-text-cyan { text-shadow: var(--glow-cyan); }
.neon-text-magenta { text-shadow: var(--glow-magenta); }
.neon-text-green { text-shadow: var(--glow-green); }

.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--border-radius);
}

.holographic {
  background: linear-gradient(125deg, transparent 20%, rgba(255,255,255,0.05) 40%, rgba(0,245,255,0.1) 50%, rgba(255,255,255,0.05) 60%, transparent 80%);
  background-size: 200% 200%;
  animation: shimmer 6s infinite linear;
}

/* Section Headers */
section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 4rem;
  text-align: center;
  position: relative;
}

.section-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  color: var(--neon-cyan);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
  display: inline-block;
  padding: 0.25rem 1rem;
  border: 1px solid rgba(0, 245, 255, 0.3);
  border-radius: 20px;
  background: rgba(0, 245, 255, 0.05);
}

.section-title {
  font-size: 3rem;
  color: #fff;
  position: relative;
  display: inline-block;
}

.section-line {
  width: 60px;
  height: 4px;
  background: var(--neon-cyan);
  margin: 1.5rem auto 0;
  border-radius: 2px;
  box-shadow: var(--glow-cyan);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%) skewX(-15deg);
  transition: var(--transition);
  z-index: -1;
}

.btn:hover::before {
  transform: translateX(0) skewX(-15deg);
}

.btn-primary {
  background: var(--neon-cyan);
  color: var(--nexo-black);
  border: none;
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.4);
}
.btn-primary:hover {
  background: #fff;
  color: var(--nexo-black);
  box-shadow: 0 0 25px rgba(0, 245, 255, 0.8);
  text-shadow: none;
}

.btn-secondary {
  background: transparent;
  color: var(--neon-cyan);
  border: 1px solid var(--neon-cyan);
}
.btn-secondary:hover {
  background: rgba(0, 245, 255, 0.1);
  box-shadow: inset 0 0 10px rgba(0, 245, 255, 0.3), 0 0 15px rgba(0, 245, 255, 0.2);
  color: #fff;
}

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ==========================================================================
   4. LOADING SCREEN (#loader)
   ========================================================================== */
#loader {
  position: fixed;
  inset: 0;
  background: var(--nexo-black);
  z-index: var(--z-loader);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  text-align: center;
  position: relative;
}

.loader-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.loader-logo::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent, var(--neon-cyan), transparent);
  animation: scanline 2s linear infinite;
  opacity: 0.5;
}

.loader-ring {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--neon-cyan);
  border-bottom-color: var(--neon-magenta);
  margin: 0 auto 2rem;
  animation: spin-slow 1.5s linear infinite;
  position: relative;
}

.loader-ring::before {
  content: '';
  position: absolute;
  top: 10px; left: 10px; right: 10px; bottom: 10px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-left-color: var(--neon-green);
  border-right-color: var(--neon-gold);
  animation: spin-slow 2s linear infinite reverse;
}

.loader-text {
  font-family: 'JetBrains Mono', monospace;
  color: var(--neon-cyan);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.loader-counter::after {
  content: '%';
}

/* ==========================================================================
   5. NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: var(--z-nav);
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(2, 8, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 245, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 245, 255, 0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 2rem;
  max-width: var(--container-max);
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.brand-glyph {
  width: 24px;
  height: 24px;
  border: 2px solid var(--neon-cyan);
  border-radius: 4px;
  display: inline-block;
  position: relative;
  animation: hex-rotate 10s linear infinite;
}
.brand-glyph::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 8px; height: 8px;
  background: var(--neon-magenta);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: var(--glow-magenta);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  color: var(--text-primary);
  text-decoration: none;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition);
  text-transform: uppercase;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-cyan);
  transition: var(--transition);
  box-shadow: var(--glow-cyan);
}

.nav-link:hover, .nav-link.active {
  color: var(--neon-cyan);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.theme-toggle:hover {
  background: rgba(0, 245, 255, 0.1);
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 101;
}
.mobile-menu-btn span {
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--neon-cyan);
  transition: var(--transition);
}
.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-menu-btn span:nth-child(3) { bottom: 0; }

.mobile-menu-btn.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

@media (max-width: 992px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(2, 8, 18, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid rgba(0, 245, 255, 0.2);
    transition: var(--transition);
    padding: 2rem;
  }
  .nav-links.active {
    right: 0;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  }
  .mobile-menu-btn { display: block; }
}

/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-scanline {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 10px;
  background: linear-gradient(to bottom, transparent, rgba(0, 245, 255, 0.5), transparent);
  opacity: 0.5;
  animation: scanline 4s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.hero-hud-top, .hero-hud-bottom {
  position: absolute;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  pointer-events: none;
}
.hero-hud-top { top: 100px; left: 2rem; }
.hero-hud-bottom { bottom: 2rem; right: 2rem; text-align: right; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 245, 255, 0.05);
  border: 1px solid rgba(0, 245, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--neon-cyan);
  margin-bottom: 1.5rem;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--neon-cyan);
  border-radius: 50%;
  animation: pulse-glow 2s infinite;
}

.hero-title {
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.glitch {
  position: relative;
  color: white;
  display: inline-block;
}
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--nexo-black);
}
.glitch::before {
  left: 2px;
  text-shadow: -2px 0 var(--neon-magenta);
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim 5s infinite linear alternate-reverse;
}
.glitch::after {
  left: -2px;
  text-shadow: -2px 0 var(--neon-cyan);
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim2 5s infinite linear alternate-reverse;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}
.hero-stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--neon-cyan);
  text-shadow: var(--glow-cyan);
}
.hero-stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Hero Right 3D Rings */
.hero-right {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring-container {
  position: relative;
  width: 400px;
  height: 400px;
  perspective: 1000px;
}

.ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(0, 245, 255, 0.3);
}

.ring-1 {
  width: 100%; height: 100%;
  border-left: 2px solid var(--neon-cyan);
  border-right: 2px solid var(--neon-magenta);
  animation: spin-3d 8s linear infinite;
}
.ring-2 {
  width: 80%; height: 80%;
  border-top: 2px solid var(--neon-green);
  border-bottom: 2px solid var(--neon-gold);
  animation: spin-3d 6s linear infinite reverse;
}
.ring-3 {
  width: 60%; height: 60%;
  border: 1px dashed rgba(255,255,255,0.2);
  animation: spin-slow 10s linear infinite;
}

.ring-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(0,245,255,0.2) 0%, transparent 70%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 50px rgba(0, 245, 255, 0.4);
  animation: pulse-glow 3s infinite alternate;
}
.ring-center i {
  font-size: 2.5rem;
  color: var(--neon-cyan);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.6;
  transition: var(--transition);
}
.scroll-indicator:hover { opacity: 1; }
.scroll-indicator span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.scroll-line {
  width: 2px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 50%;
  background: var(--neon-cyan);
  animation: scroll-down 2s ease-in-out infinite;
}

/* ==========================================================================
   7. ABOUT SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about-avatar-wrapper {
  position: relative;
}

.about-avatar-card {
  aspect-ratio: 1;
  border-radius: var(--border-radius);
  background: linear-gradient(145deg, rgba(5,13,26,0.8), rgba(2,8,18,0.9));
  border: 1px solid rgba(0, 245, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 40px rgba(0, 245, 255, 0.1);
}
.about-avatar-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0,245,255,0.2), transparent 70%);
  pointer-events: none;
}

.floating-badges {
  position: absolute;
  inset: -20px;
  pointer-events: none;
}
.float-badge {
  position: absolute;
  padding: 0.75rem 1.25rem;
  border-radius: 30px;
  background: rgba(2, 8, 18, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.float-badge i { color: var(--neon-cyan); }
.badge-1 { top: 10%; left: -5%; animation: float 6s ease-in-out infinite; }
.badge-2 { bottom: 20%; right: -10%; animation: float 5s ease-in-out infinite 1s; }
.badge-3 { top: 60%; left: -10%; animation: float 7s ease-in-out infinite 2s; }

.about-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #fff;
}
.about-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2rem;
}
.tag-pill {
  padding: 0.5rem 1rem;
  background: rgba(0, 245, 255, 0.05);
  border: 1px solid rgba(0, 245, 255, 0.3);
  border-radius: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--neon-cyan);
  transition: var(--transition);
}
.tag-pill:hover {
  background: rgba(0, 245, 255, 0.2);
  box-shadow: var(--glow-cyan);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.stat-box {
  padding: 1.5rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  text-align: center;
  transition: var(--transition);
}
.stat-box:hover {
  border-color: rgba(0, 245, 255, 0.3);
  transform: translateY(-5px);
  background: rgba(0, 245, 255, 0.02);
}
.stat-box h4 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
}
.stat-box span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ==========================================================================
   8. SKILLS SECTION
   ========================================================================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.skill-card {
  padding: 2rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.skill-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255,255,255,0.2);
}

.skill-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.skill-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.wrap-cyan { background: rgba(0,245,255,0.1); color: var(--neon-cyan); box-shadow: 0 0 15px rgba(0,245,255,0.2); }
.wrap-purple { background: rgba(191,0,255,0.1); color: var(--neon-purple); box-shadow: 0 0 15px rgba(191,0,255,0.2); }
.wrap-green { background: rgba(0,255,136,0.1); color: var(--neon-green); box-shadow: 0 0 15px rgba(0,255,136,0.2); }
.wrap-gold { background: rgba(255,215,0,0.1); color: var(--neon-gold); box-shadow: 0 0 15px rgba(255,215,0,0.2); }
.wrap-pink { background: rgba(255,0,110,0.1); color: var(--neon-pink); box-shadow: 0 0 15px rgba(255,0,110,0.2); }

.skill-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.5rem;
}
.skill-tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  background: rgba(255,255,255,0.05);
}
.skill-tag-cyan { border-left: 2px solid var(--neon-cyan); }
.skill-tag-purple { border-left: 2px solid var(--neon-purple); }
.skill-tag-green { border-left: 2px solid var(--neon-green); }
.skill-tag-gold { border-left: 2px solid var(--neon-gold); }
.skill-tag-pink { border-left: 2px solid var(--neon-pink); }

.proficiency {
  margin-top: auto;
}
.prof-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.prof-bar-track {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 3px;
  overflow: hidden;
}
.prof-bar-fill {
  height: 100%;
  border-radius: 3px;
  position: relative;
}
.prof-bar-fill::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  animation: slide-right 2s infinite;
}

.fill-cyan { background: var(--neon-cyan); box-shadow: 0 0 10px var(--neon-cyan); }
.fill-purple { background: var(--neon-purple); box-shadow: 0 0 10px var(--neon-purple); }
.fill-green { background: var(--neon-green); box-shadow: 0 0 10px var(--neon-green); }
.fill-gold { background: var(--neon-gold); box-shadow: 0 0 10px var(--neon-gold); }
.fill-pink { background: var(--neon-pink); box-shadow: 0 0 10px var(--neon-pink); }

/* ==========================================================================
   9. TECH MARQUEE
   ========================================================================== */
.tech-marquee {
  width: 100%;
  overflow: hidden;
  padding: 3rem 0;
  background: rgba(2, 8, 18, 0.5);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative;
}
.tech-marquee::before, .tech-marquee::after {
  content: '';
  position: absolute;
  top: 0; width: 150px; height: 100%;
  z-index: 2;
  pointer-events: none;
}
.tech-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--nexo-black), transparent);
}
.tech-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--nexo-black), transparent);
}

.marquee-track {
  display: flex;
  width: calc(250px * 14); /* Number of items * width */
  animation: marqueeX 30s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  color: rgba(255,255,255,0.3);
  transition: var(--transition);
}
.marquee-item:hover {
  color: var(--neon-cyan);
  text-shadow: var(--glow-cyan);
  transform: scale(1.1);
}
.marquee-item i {
  font-size: 2rem;
}

/* ==========================================================================
   10. TIMELINE SECTION
   ========================================================================== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 2px; height: 100%;
  background: rgba(0, 245, 255, 0.2);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: 50%;
  position: relative;
  margin-bottom: 3rem;
  width: 100%;
}
.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 50%;
}

.timeline-dot {
  position: absolute;
  top: 20px; left: 50%;
  transform: translate(-50%, 0);
  width: 20px; height: 20px;
  background: var(--nexo-black);
  border: 4px solid var(--neon-cyan);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 15px var(--neon-cyan);
  animation: pulse-glow 2s infinite;
}

.timeline-content {
  width: 90%;
  padding: 2rem;
  position: relative;
}
.timeline-item:nth-child(odd) .timeline-content { margin-right: 2rem; }
.timeline-item:nth-child(even) .timeline-content { margin-left: 2rem; }

.timeline-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.2rem;
  color: var(--neon-magenta);
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: var(--glow-magenta);
}
.timeline-content h3 {
  color: #fff;
  font-size: 1.5rem;
}
.timeline-content p {
  color: var(--text-secondary);
  margin-top: 1rem;
}

/* ==========================================================================
   11. PROJECTS SECTION
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  transition: var(--transition);
}
.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.5), 0 0 20px rgba(0,245,255,0.1);
  border-color: rgba(0,245,255,0.4);
}

.project-video {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: var(--nexo-darker);
}

.project-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.project-icon {
  font-size: 2rem;
  color: var(--neon-cyan);
}
.project-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}
.badge-cyan { background: rgba(0,245,255,0.1); color: var(--neon-cyan); border: 1px solid rgba(0,245,255,0.3); }
.badge-purple { background: rgba(191,0,255,0.1); color: var(--neon-purple); border: 1px solid rgba(191,0,255,0.3); }
.badge-pink { background: rgba(255,0,110,0.1); color: var(--neon-pink); border: 1px solid rgba(255,0,110,0.3); }

.project-info h3 {
  font-size: 1.5rem;
  color: #fff;
}
.project-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.project-install {
  background: rgba(0,0,0,0.5);
  padding: 1rem;
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--neon-green);
  border: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 1.5rem;
  position: relative;
}
.project-install::before {
  content: '>';
  margin-right: 10px;
  color: var(--text-muted);
}

.project-links {
  display: flex;
  gap: 1rem;
}
.project-link-btn {
  flex: 1;
  text-align: center;
  padding: 0.6rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.project-link-btn:hover {
  background: rgba(0,245,255,0.1);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
}

/* ==========================================================================
   12. SECURITY & SERVICES SECTIONS
   ========================================================================== */
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.security-card {
  padding: 2.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: var(--transition);
}
.security-card:hover {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,0,110,0.3);
}
.security-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,0,110,0.1);
  color: var(--neon-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(255,0,110,0.2);
}
.security-content h3 { color: #fff; margin-bottom: 1rem; }
.security-content p { color: var(--text-secondary); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.service-card {
  padding: 3rem 2rem;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: var(--transition);
}
.service-card:hover::before {
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  box-shadow: 0 0 15px var(--neon-cyan);
}

.service-card.featured {
  border-color: rgba(191,0,255,0.4);
  transform: scale(1.05);
  z-index: 2;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4), inset 0 0 20px rgba(191,0,255,0.05);
}
.service-card.featured::before {
  background: linear-gradient(90deg, transparent, var(--neon-purple), transparent);
}

.card-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--nexo-black);
  border: 1px solid var(--neon-purple);
  color: var(--neon-purple);
  padding: 4px 15px;
  border-radius: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  box-shadow: 0 0 10px rgba(191,0,255,0.3);
}

.service-card h3 {
  font-size: 1.8rem;
  color: #fff;
  text-align: center;
  margin-bottom: 0.5rem;
}
.service-card .price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  color: var(--neon-cyan);
  margin-bottom: 2rem;
}
.service-card.featured .price { color: var(--neon-purple); text-shadow: var(--glow-purple); }
.price span { font-size: 1rem; color: var(--text-muted); }

.features-list {
  margin-bottom: 2.5rem;
  flex-grow: 1;
}
.features-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.features-list li i { color: var(--neon-green); font-size: 0.9rem; }

.cta-btn {
  width: 100%;
  padding: 1rem;
  text-align: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  transition: var(--transition);
  cursor: pointer;
}
.cta-btn:hover { background: var(--neon-cyan); color: var(--nexo-black); }
.cta-btn-featured {
  background: var(--neon-purple);
  color: #fff;
  border: none;
}
.cta-btn-featured:hover {
  background: #fff;
  color: var(--neon-purple);
  box-shadow: 0 0 20px rgba(191,0,255,0.5);
}

/* ==========================================================================
   13. AI CHAT SECTION
   ========================================================================== */
.ai-chat-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid rgba(0, 245, 255, 0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(0,245,255,0.1);
  background: var(--nexo-darker);
}

.ai-chat-header {
  padding: 1.5rem;
  background: rgba(2, 8, 18, 0.9);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-profile {
  display: flex;
  align-items: center;
  gap: 15px;
}
.ai-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(0,245,255,0.1);
  border: 2px solid var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
}
.ai-info h4 { margin: 0; color: #fff; font-size: 1.1rem; }
.ai-info p { margin: 0; font-size: 0.8rem; color: var(--neon-green); font-family: 'JetBrains Mono', monospace; }
.status-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--neon-green);
  border-radius: 50%;
  margin-right: 5px;
  box-shadow: 0 0 8px var(--neon-green);
  animation: pulse-glow 2s infinite;
}

.model-tabs {
  display: flex;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  padding: 5px;
  border-radius: 8px;
}
.model-tab {
  padding: 5px 12px;
  font-size: 0.8rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 4px;
  transition: var(--transition);
}
.model-tab.active { background: rgba(0,245,255,0.2); color: var(--neon-cyan); }

.chat-messages {
  height: 400px;
  overflow-y: auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
}

.chat-msg { display: flex; gap: 15px; max-width: 85%; }
.chat-msg.user { margin-left: auto; flex-direction: row-reverse; }

.msg-bubble {
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
  position: relative;
}
.chat-msg.ai .msg-bubble {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-top-left-radius: 0;
  color: var(--text-primary);
}
.chat-msg.user .msg-bubble {
  background: rgba(0,245,255,0.1);
  border: 1px solid rgba(0,245,255,0.3);
  border-top-right-radius: 0;
  color: #fff;
}

.chat-input-area {
  padding: 1.5rem;
  background: rgba(2, 8, 18, 0.9);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.quick-chips {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  overflow-x: auto;
  padding-bottom: 5px;
}
.chip {
  padding: 6px 15px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
}
.chip:hover { background: rgba(0,245,255,0.1); color: var(--neon-cyan); border-color: var(--neon-cyan); }

.input-box {
  display: flex;
  gap: 10px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 5px;
}
.input-box input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 15px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  outline: none;
}
.input-box input::placeholder { color: var(--text-muted); }
.send-btn {
  background: var(--neon-cyan);
  color: var(--nexo-black);
  border: none;
  width: 45px; height: 45px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.send-btn:hover { background: #fff; box-shadow: 0 0 15px rgba(0,245,255,0.8); }

.typing-indicator {
  display: flex;
  gap: 5px;
  padding: 5px 10px;
}
.typing-indicator span {
  width: 6px; height: 6px;
  background: var(--neon-cyan);
  border-radius: 50%;
  animation: float 1s infinite alternate;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

/* ==========================================================================
   14. CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  transition: var(--transition);
  text-decoration: none;
}
.contact-link:hover {
  background: rgba(255,255,255,0.05);
  transform: translateX(10px);
}
.contact-link-icon {
  width: 50px; height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.icon-email { background: rgba(0,245,255,0.1); color: var(--neon-cyan); }
.icon-whatsapp { background: rgba(0,255,136,0.1); color: var(--neon-green); }
.icon-telegram { background: rgba(0,136,255,0.1); color: #0088ff; }
.icon-github { background: rgba(255,255,255,0.1); color: #fff; }

.contact-link-text h4 { margin: 0; color: #fff; font-size: 1.1rem; }
.contact-link-text p { margin: 0; color: var(--text-secondary); font-size: 0.9rem; }

.contact-form-wrap {
  padding: 3rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-group { position: relative; }
.form-control {
  width: 100%;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1rem 1.5rem;
  color: #fff;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  outline: none;
}
textarea.form-control {
  min-height: 150px;
  resize: vertical;
}
.form-control:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0,245,255,0.2);
  background: rgba(0,245,255,0.02);
}
.form-control::placeholder { color: var(--text-muted); }

.submit-btn {
  width: 100%;
  padding: 1.2rem;
  background: linear-gradient(45deg, var(--neon-cyan), var(--neon-magenta));
  border: none;
  border-radius: 8px;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.submit-btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(45deg, var(--neon-magenta), var(--neon-cyan));
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}
.submit-btn:hover::before { opacity: 1; }
.submit-btn:hover { box-shadow: 0 10px 30px rgba(255,0,110,0.4); }

/* ==========================================================================
   15. FOOTER
   ========================================================================== */
footer {
  background: var(--nexo-darker);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.footer-brand p {
  color: var(--text-secondary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}
.social-link {
  width: 45px; height: 45px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 1.2rem;
  transition: var(--transition);
}
.social-link:hover {
  background: var(--neon-cyan);
  color: var(--nexo-black);
  transform: translateY(-5px);
  box-shadow: var(--glow-cyan);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.nexo-tech-link {
  color: var(--neon-magenta);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  text-decoration: none;
}
.nexo-tech-link:hover { text-shadow: var(--glow-magenta); }

.visitor-counter {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--neon-green);
  background: rgba(0,255,136,0.05);
  padding: 5px 15px;
  border-radius: 20px;
  border: 1px solid rgba(0,255,136,0.2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.visitor-counter i { animation: blink 1s infinite; }

/* ==========================================================================
   16. FLOATING AI WIDGET
   ========================================================================== */
#ai-float-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--nexo-dark);
  border: 2px solid var(--neon-cyan);
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: var(--z-modal);
  box-shadow: 0 0 20px rgba(0,245,255,0.4);
  transition: var(--transition);
  animation: float 4s ease-in-out infinite;
}
#ai-float-btn:hover {
  transform: scale(1.1);
  background: var(--neon-cyan);
  color: var(--nexo-black);
  box-shadow: 0 0 30px rgba(0,245,255,0.6);
}

#ai-float-panel {
  position: fixed;
  bottom: 90px;
  right: 2rem;
  width: 350px;
  height: 500px;
  background: rgba(5,13,26,0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,245,255,0.3);
  border-radius: 16px;
  z-index: var(--z-modal);
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6), 0 0 20px rgba(0,245,255,0.15);
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
#ai-float-panel.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.float-panel-header {
  padding: 1rem;
  background: rgba(0,0,0,0.4);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.float-panel-header h4 { margin: 0; color: #fff; font-size: 1rem; }
.close-panel { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 1.2rem; }
.close-panel:hover { color: var(--blood-red); }

.float-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.float-panel-input {
  padding: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  gap: 10px;
}
.float-panel-input input {
  flex: 1;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 12px;
  border-radius: 6px;
  color: #fff;
  outline: none;
}
.float-panel-input button {
  background: var(--neon-cyan);
  color: #000;
  border: none;
  padding: 0 15px;
  border-radius: 6px;
  cursor: pointer;
}

/* ==========================================================================
   17. ANIMATIONS (KEYFRAMES)
   ========================================================================== */
@keyframes glitch-anim {
  0% { clip: rect(10px, 9999px, 83px, 0); transform: translate(0); }
  20% { clip: rect(61px, 9999px, 35px, 0); transform: translate(-5px, 5px); }
  40% { clip: rect(98px, 9999px, 46px, 0); transform: translate(5px, -5px); }
  60% { clip: rect(24px, 9999px, 15px, 0); transform: translate(-5px, 5px); }
  80% { clip: rect(78px, 9999px, 92px, 0); transform: translate(5px, -5px); }
  100% { clip: rect(12px, 9999px, 55px, 0); transform: translate(0); }
}

@keyframes glitch-anim2 {
  0% { clip: rect(32px, 9999px, 92px, 0); transform: translate(0); }
  20% { clip: rect(15px, 9999px, 45px, 0); transform: translate(5px, -5px); }
  40% { clip: rect(87px, 9999px, 12px, 0); transform: translate(-5px, 5px); }
  60% { clip: rect(45px, 9999px, 88px, 0); transform: translate(5px, -5px); }
  80% { clip: rect(9px, 9999px, 34px, 0); transform: translate(-5px, 5px); }
  100% { clip: rect(76px, 9999px, 19px, 0); transform: translate(0); }
}

@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

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

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 20px currentColor; }
}

@keyframes spin-3d {
  from { transform: translate(-50%, -50%) rotateX(0) rotateY(0) rotateZ(0); }
  to { transform: translate(-50%, -50%) rotateX(360deg) rotateY(180deg) rotateZ(360deg); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

@keyframes hex-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes marqueeX {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes slide-right {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes scroll-down {
  0% { top: -50%; opacity: 0; }
  50% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

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

/* ==========================================================================
   18. RESPONSIVE BREAKPOINTS & ANDROID AUTO-RESIZE ENGINE
   ========================================================================== */
html, body {
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
  -webkit-tap-highlight-color: transparent;
}

.hero {
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
}

@media (max-width: 1200px) {
  .hero-title { font-size: clamp(2.8rem, 5vw, 4.2rem); }
  .about-grid { gap: 2rem; }
  .contact-grid { gap: 2rem; }
}

@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .hero-hud-top, .hero-hud-bottom { display: none; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-right { height: 320px; }
  .ring-container { width: 280px; height: 280px; }
  
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-avatar-card { max-width: 320px; margin: 0 auto; }
  .about-tags { justify-content: center; }
  
  .services-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  
  .timeline::before { left: 16px; }
  .timeline-item { justify-content: flex-start; padding-right: 0 !important; padding-left: 2rem !important; }
  .timeline-dot { left: 16px; transform: translate(-50%, 0); }
  .timeline-content { width: 100%; margin: 0 !important; }
}

@media (max-width: 768px) {
  .hero-title { font-size: clamp(2.2rem, 8vw, 3.2rem); }
  .section-title { font-size: clamp(1.8rem, 6vw, 2.4rem); }
  
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
  .services-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  
  .footer-grid { flex-direction: column; text-align: center; }
  .social-links { justify-content: center; }
  .footer-bottom { flex-direction: column; }
  
  .chat-msg { max-width: 95%; }
  .msg-bubble { font-size: 0.85rem; padding: 0.8rem 1rem; }
  
  .contact-form-wrap { padding: 1.8rem 1.2rem; }
  
  /* Android input zoom prevention (16px base font on inputs) */
  input[type="text"], input[type="email"], input[type="password"], textarea, select {
    font-size: 16px !important;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(1.9rem, 7.5vw, 2.6rem); }
  .hero-stat-num { font-size: 1.8rem; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  
  .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr; }
  
  .marquee-item { width: 160px; font-size: 1rem; }
  .project-info { padding: 1.2rem; }
  
  #ai-float-panel { right: 0.8rem; width: calc(100vw - 1.6rem); bottom: 5.5rem; max-height: 70vh; }
  #ai-float-btn { bottom: 1.2rem; right: 1.2rem; width: 50px; height: 50px; }
  
  .container { padding-left: 1rem; padding-right: 1rem; }
}

/* Chat Message Actions */
.msg-action-btn {
  background: rgba(0, 245, 255, 0.08);
  border: 1px solid rgba(0, 245, 255, 0.2);
  color: var(--neon-cyan);
  border-radius: 6px;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.msg-action-btn:hover {
  background: rgba(0, 245, 255, 0.25);
  box-shadow: 0 0 10px rgba(0, 245, 255, 0.4);
  transform: translateY(-1px);
}

