:root {
  --bg-dark: #0a0a0f;
  --primary: #3b82f6;
  --accent: #8b5cf6;
  --secondary: #06b6d4;
  /* Changed from pink to cyan */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

/* Animated Mesh Gradient Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.15), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.15), transparent 25%),
    radial-gradient(circle at 50% 15%, rgba(6, 182, 212, 0.1), transparent 30%);
  /* Cyan instead of Pink */
  filter: blur(60px);
  z-index: -1;
  animation: bg-pulse 10s ease-in-out infinite alternate;
}

@keyframes bg-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.1);
    opacity: 1;
  }
}

/* Premium Glassmorphism */
.glass-effect {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.card-hover {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

/* Typography & Gradients */
h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: -0.03em;
}

.gradient-text {
  background: linear-gradient(135deg, #60a5fa, #8b5cf6, #22d3ee);
  /* Blue, Purple, Cyan */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.3));
}

/* Navigation - Floating Glass Pill */
.nav-blur {
  background: rgba(10, 10, 15, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  width: 100%;
  top: 0;
  left: 0;
  z-index: 50;
}

@media (min-width: 640px) {
  .nav-blur {
    background: rgba(15, 15, 25, 0.6);
    /* Slightly more opaque for better contrast */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin: 1rem auto;
    width: 95%;
    max-width: 1400px;
    border-radius: 100px;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  }
}

/* Very Small Screen Optimizations (iPhone SE, Foldable Cover screens) */
@media (max-width: 380px) {
  .nav-blur .px-6 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .text-2xl.font-bold.gradient-text {
    font-size: 1.25rem !important;
    /* Smaller logo text */
  }

  /* Compacter menu for small screens */
  #mobile-menu {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    border-radius: 1.5rem !important;
    margin-top: 0 !important;
    top: 60px !important;
    /* Adjust based on navbar height */
  }

  /* Hero Section fixes for 320px */
  .text-4xl {
    font-size: 1.75rem !important;
    /* Reduce from 2.25rem */
    line-height: 1.2 !important;
  }

  .p-8 {
    padding: 1.5rem !important;
    /* Reduce padding from 2rem */
  }
}

/* Animations */
.section-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.animate-pulse-glow {
  animation: pulse-glow 3s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes pulse-glow {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
  }

  50% {
    opacity: .5;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.1);
  }
}

/* Utility Defaults */
.text-gray-400 {
  color: var(--text-muted);
}

.text-white {
  color: var(--text-main);
}

.border-white\/10 {
  border-color: var(--glass-border);
}