/* ==========================================================================
   MULTICERVICIOPRO25 LLC - Futuristic & Cosmic Design System
   "Out of this World" Clean, Organized & Hyper-Modern Aesthetics
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700;800&display=swap');

:root {
  --bg-space: #030712;
  --bg-deep: #060b18;
  --bg-surface: rgba(11, 18, 38, 0.65);
  --bg-surface-hover: rgba(18, 29, 60, 0.75);
  
  --neon-cyan: #06b6d4;
  --neon-blue: #3b82f6;
  --neon-indigo: #6366f1;
  --neon-purple: #a855f7;
  --neon-emerald: #10b981;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(56, 189, 248, 0.35);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-space);
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Space Grotesk', sans-serif;
}

/* Custom Cosmic Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: #030712;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #38bdf8;
}

/* Cosmic Canvas Background Container */
#starfield-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* Subtle Isometric Grid Pattern */
.cosmic-grid {
  background-size: 50px 50px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
}

/* Floating Dynamic Island Navbar */
.floating-navbar {
  background: rgba(8, 14, 30, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 25px -5px rgba(56, 189, 248, 0.15);
}

/* Spotlight Interactive Cards (Light follows mouse) */
.spotlight-card {
  position: relative;
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, -200px);
  left: var(--mouse-x, -200px);
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.spotlight-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 20px 40px -10px rgba(6, 182, 212, 0.15), 0 0 1px 1px rgba(56, 189, 248, 0.2);
}

/* Shimmer Button */
@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.btn-cosmic {
  background: linear-gradient(135deg, #2563eb, #06b6d4, #4f46e5);
  background-size: 200% 200%;
  animation: shimmer 5s ease infinite;
  color: #ffffff;
  border-radius: 9999px;
  font-weight: 700;
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.35);
  transition: all 0.3s ease;
}

.btn-cosmic:hover {
  box-shadow: 0 0 35px rgba(6, 182, 212, 0.6);
  transform: scale(1.02);
}

.btn-cosmic-ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  color: #f1f5f9;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-cosmic-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(56, 189, 248, 0.4);
  color: #ffffff;
  transform: scale(1.02);
}

/* Gradient Texts */
.gradient-text-cosmic {
  background: linear-gradient(135deg, #ffffff 10%, #bae6fd 45%, #38bdf8 70%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-neon {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Floating Animations */
@keyframes floatSubtle {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.5deg);
  }
}

@keyframes floatSubtleRev {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(8px) rotate(-0.5deg);
  }
}

.animate-float-subtle {
  animation: floatSubtle 6s ease-in-out infinite;
}

.animate-float-subtle-rev {
  animation: floatSubtleRev 7s ease-in-out infinite;
}

/* Radar Pulse Dot */
.radar-pulse {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
}

.radar-pulse::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #10b981;
  border-radius: 9999px;
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.75;
}

.radar-pulse::after {
  content: '';
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 9999px;
}

/* Terminal Mockup */
.terminal-window {
  background: #020617;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 30px rgba(56, 189, 248, 0.15);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Interactive Configurator Option Cards */
.planner-pill {
  cursor: pointer;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.planner-pill:hover {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-2px);
}

.planner-pill.selected {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(6, 182, 212, 0.15) 100%);
  border-color: #06b6d4;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.25);
}

/* Custom Accordion */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}

.accordion-content.open {
  max-height: 800px;
  opacity: 1;
}

/* Glow Orb Highlights */
.glow-blur-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.35;
  z-index: 0;
}
