/* ==========================================================
   VDSA AI — HIGH-END CINEMATIC DESIGN SYSTEM
   Dark, High Contrast, Graphite & Electric Metallic Accents
   ========================================================== */

:root {
  --bg-dark: #07090e;
  --surface-950: #0a0d14;
  --surface-900: #101522;
  --surface-850: #141b2b;
  --surface-800: #1a2336;
  --surface-700: #243048;
  
  --accent-cyan: #00f0ff;
  --accent-blue: #38bdf8;
  --accent-indigo: #6366f1;
  --accent-purple: #a855f7;
  --accent-teal: #14b8a6;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Syne', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  background-color: var(--bg-dark);
  color: #f8fafc;
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-dark);
  overflow-x: hidden;
}

/* Typography Classes */
.font-display {
  font-family: var(--font-display);
}

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

/* Surface Utility Colors */
.bg-dark { background-color: var(--bg-dark); }
.bg-surface-950 { background-color: var(--surface-950); }
.bg-surface-900 { background-color: var(--surface-900); }
.bg-surface-850 { background-color: var(--surface-850); }
.bg-surface-800 { background-color: var(--surface-800); }
.bg-surface-700 { background-color: var(--surface-700); }

/* Ambient Cursor Aura */
.cursor-glow {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.07) 0%, rgba(99, 102, 241, 0.03) 45%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.12s cubic-bezier(0.2, 0, 0.2, 1);
  will-change: transform;
}

@media (max-width: 768px) {
  .cursor-glow {
    display: none;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #00f0ff;
}

/* Radial Gradients & Lighting Masks */
.bg-gradient-radial {
  background-image: radial-gradient(circle at center, var(--tw-gradient-stops, rgba(0, 240, 255, 0.15), transparent 70%));
}

/* Interactive Card Depth & Elevation */
.service-media-card, .tier-card, .portfolio-item, .cert-card, .video-panel {
  transform: translateY(0px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.service-media-card:hover, .tier-card:hover, .portfolio-item:hover, .cert-card:hover, .video-panel:hover {
  transform: translateY(-4px);
}

/* Audio Waveform Animations */
@keyframes audioPulse {
  0%, 100% {
    transform: scaleY(0.25);
  }
  50% {
    transform: scaleY(1);
  }
}

.audio-bar-animating {
  animation: audioPulse 0.8s ease-in-out infinite alternate;
}

.audio-bar-animating:nth-child(2n) {
  animation-duration: 0.6s;
  animation-delay: 0.1s;
}
.audio-bar-animating:nth-child(3n) {
  animation-duration: 0.9s;
  animation-delay: 0.2s;
}
.audio-bar-animating:nth-child(4n) {
  animation-duration: 0.5s;
  animation-delay: 0.15s;
}
.audio-bar-animating:nth-child(5n) {
  animation-duration: 0.75s;
  animation-delay: 0.25s;
}

/* Fade In Utility */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* UGC Luxury Phone Mockup */
.phone-mockup {
  width: 100%;
  max-width: 320px;
  height: 600px;
  border-radius: 40px;
  background: #000;
  border: 4px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 
              0 0 40px rgba(168, 85, 247, 0.18),
              0 0 80px rgba(0, 240, 255, 0.12),
              inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@media (max-width: 640px) {
  .phone-mockup {
    max-width: 280px;
    height: 520px;
    border-radius: 32px;
  }
}

.phone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 22px;
  background: #000;
  border-radius: 20px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-lens {
  width: 8px;
  height: 8px;
  background: #111;
  border-radius: 50%;
  border: 1px solid #333;
}

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

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

/* Form Styles & Focus Rings */
input:focus, select:focus, textarea:focus {
  box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.25);
}

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

