:root {
  color-scheme: dark;
  font-family: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #07111F;
  color: #e0e2ea;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: none;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 17, 31, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-brand {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

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

.nav-link {
  color: rgba(224, 226, 234, 0.78);
  transition: color 0.2s ease, border-color 0.2s ease;
  padding-bottom: 0.15rem;
}

.nav-link:hover,
.nav-link.active {
  color: #4DA2FF;
}

.nav-link.active {
  border-bottom: 2px solid #4DA2FF;
}

.nav-toggle {
  display: none;
  padding: 0.85rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  color: #e0e2ea;
}

.mobile-menu {
  position: absolute;
  top: 100%;
  right: 1rem;
  left: 1rem;
  background: rgba(7, 17, 31, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 1rem;
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu a {
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  color: rgba(224, 226, 234, 0.9);
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #4DA2FF;
}

.glass-card,
.glass-panel {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.glass-card:hover {
  border-color: rgba(77, 162, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.grid-lines {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-gradient {
  background: radial-gradient(circle at 15% 15%, rgba(77, 162, 255, 0.18), transparent 24%),
    radial-gradient(circle at 85% 14%, rgba(124, 238, 255, 0.12), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(255, 185, 97, 0.08), transparent 25%),
    #07111F;
}

.ai-pulse {
  animation: pulse 3.2s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.35;
    transform: scale(1);
  }
  50% {
    opacity: 0.78;
    transform: scale(1.05);
  }
}

.primary-glow-hover:hover {
  box-shadow: 0 0 20px rgba(77, 162, 255, 0.28);
}

@media (max-width: 767px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .desktop-actions {
    display:none;
  }
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}
