/* ===== CSS VARIABLES ===== */
:root {
  --color-primary: #31a7dd;
  --color-primary-dark: #2891c7;
  --color-primary-light: #4db8e8;
  --color-dark: #0a0a0a;
  --color-dark-light: #1a1a1a;
  --color-dark-lighter: #2a2a2a;
}

/* ===== RESET & BASE STYLES ===== */
* {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--color-dark);
  color: white;
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  left: 0;
  top: -40px;
  background: var(--color-primary);
  color: #fff;
  padding: 8px 16px;
  z-index: 1000;
  border-radius: 0 0 4px 4px;
  transition: top 0.3s;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
}

/* ===== UTILITY CLASSES ===== */
.glass-effect {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-effect-dark {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(49, 167, 221, 0.2);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-grid {
  background-image: 
    linear-gradient(rgba(49, 167, 221, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 167, 221, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* ===== HOVER EFFECTS ===== */
.hover-lift {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(49, 167, 221, 0.2);
}

.neon-border {
  position: relative;
  overflow: hidden;
}

.neon-border::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(49, 167, 221, 0.4), transparent);
  transition: left 0.5s;
}

.neon-border:hover::before {
  left: 100%;
}

/* ===== BACKGROUND EFFECTS ===== */
.particle-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(49, 167, 221, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(49, 167, 221, 0.1) 0%, transparent 50%);
}

.morphing-blob {
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morph 8s ease-in-out infinite;
}

/* ===== ANIMATIONS ===== */
@keyframes morph {
  0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
  50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
  75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
  100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-30px) rotate(120deg); }
  66% { transform: translateY(30px) rotate(240deg); }
}

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

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

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% { transform: translateY(0); }
  40%, 43% { transform: translateY(-30px); }
  70% { transform: translateY(-15px); }
  90% { transform: translateY(-4px); }
}

/* ===== ANIMATION CLASSES ===== */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

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

.animate-spin {
  animation: spin 1s linear infinite;
}

.animate-bounce {
  animation: bounce 1s infinite;
}

.animate-spin-slow {
  animation: spin 20s linear infinite;
}

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

/* ===== CUSTOM TAILWIND COLORS (now using variables) ===== */
.text-primary { color: var(--color-primary); }
.bg-primary { background-color: var(--color-primary); }
.border-primary { border-color: var(--color-primary); }
.bg-primary-dark { background-color: var(--color-primary-dark); }
.bg-dark { background-color: var(--color-dark); }
.bg-dark-light { background-color: var(--color-dark-light); }
.bg-dark-lighter { background-color: var(--color-dark-lighter); }

/* ===== FORM STYLES ===== */
.form-input {
  background: #1a1a1a;
  border: 1px solid rgba(49, 167, 221, 0.2);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: white;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: #31a7dd;
  box-shadow: 0 0 0 2px rgba(49, 167, 221, 0.2);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* ===== MESSAGE STYLES ===== */
.success-message {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.error-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .text-5xl {
    font-size: 2.5rem;
  }
  
  .text-6xl {
    font-size: 3rem;
  }
  
  .text-7xl {
    font-size: 3.5rem;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== FOCUS STYLES ===== */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #31a7dd;
  outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
  .glass-effect,
  .glass-effect-dark,
  .particle-bg,
  .morphing-blob {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
} 