/* Mumbai Silicon - Futuristic Design System & Core Styles */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;700&family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;600;800;900&display=swap');

:root {
  /* Color Palette */
  --bg-primary: #050811;
  --bg-secondary: #0b1120;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(26, 38, 66, 0.75);
  --bg-glass: rgba(11, 17, 32, 0.7);
  
  /* Cyberpunk Accents */
  --accent-cyan: #00f0ff;
  --accent-cyan-glow: rgba(0, 240, 255, 0.35);
  --accent-emerald: #00ff88;
  --accent-emerald-glow: rgba(0, 255, 136, 0.35);
  --accent-gold: #ffb703;
  --accent-gold-glow: rgba(255, 183, 3, 0.35);
  --accent-purple: #9d4edd;
  --accent-rose: #ff2a6d;
  
  /* PCB Copper & Board Palette */
  --pcb-green: #0a3a2a;
  --pcb-black: #12161a;
  --pcb-trace-gold: #e5b842;
  --pcb-mask: #0d1e18;
  
  /* Neutral Shades */
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-cyan: rgba(0, 240, 255, 0.25);
  --border-glow: 0 0 15px rgba(0, 240, 255, 0.2);
  
  /* Typography */
  --font-heading: 'Outfit', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'Fira Code', monospace;
  
  /* Transitions & Shadows */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  background: radial-gradient(circle at 50% 0%, #0d1a30 0%, var(--bg-primary) 70%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

/* Background Ambient Grid & Particles */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 240, 255, 0.25);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-cyan) 60%, #00a8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-gold) 60%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-emerald {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-emerald) 60%, #00b894 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Container & Grid Layout */
.container {
  width: 90%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-padding {
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem auto;
}

.section-title h2 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.15rem;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.825rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--accent-cyan);
  margin-bottom: 1.25rem;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.15);
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(0, 240, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0); }
}

/* Glassmorphism Card Base */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-cyan);
  box-shadow: var(--border-glow);
  transform: translateY(-4px);
}

/* Futuristic Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  border: none;
  outline: none;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #0099ff 100%);
  color: #040914;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.7);
  color: #000;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-cyan);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #ff8c00 100%);
  color: #050811;
  box-shadow: 0 0 20px var(--accent-gold-glow);
}

.btn-gold:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 30px rgba(255, 183, 3, 0.7);
}

.btn-emerald {
  background: linear-gradient(135deg, var(--accent-emerald) 0%, #00b894 100%);
  color: #040914;
  box-shadow: 0 0 20px var(--accent-emerald-glow);
}

.btn-emerald:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.7);
}

/* Header & Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(5, 8, 17, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #0b1528, #162a4d);
  border: 1.5px solid var(--accent-cyan);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-weight: 900;
  font-size: 1.3rem;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
  position: relative;
}

.logo-icon::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent-emerald);
  border-radius: 50%;
  top: 4px;
  right: 4px;
  box-shadow: 0 0 6px var(--accent-emerald);
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.brand-name span {
  color: var(--accent-cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.4rem 0;
}

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

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

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

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

.sound-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sound-toggle-btn:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
