/* ==========================================================================
   Arcos Host - Custom Stylesheet
   Complementing Tailwind CSS with refined animations, glows, and components
   ========================================================================== */

:root {
  --primary-navy: #0B132B;
  --primary-dark: #070D1F;
  --card-bg: #111B36;
  --card-border: rgba(255, 255, 255, 0.08);
  --cyan-accent: #00D2FF;
  --blue-accent: #3A7BD5;
  --gradient-brand: linear-gradient(135deg, #00D2FF 0%, #3A7BD5 100%);
  --gradient-warm: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
  --gradient-badge: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Background Gradients & Ambient Glows */
.bg-mesh-dark {
  background-color: #070d1f;
  background-image: 
    radial-gradient(at 0% 0%, rgba(14, 165, 233, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(15, 23, 42, 0.5) 0px, transparent 50%);
}

.bg-mesh-light {
  background-color: #f8fafc;
  background-image:
    radial-gradient(at 0% 0%, rgba(14, 165, 233, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 10%, rgba(99, 102, 241, 0.06) 0px, transparent 50%);
}

.glow-blue {
  box-shadow: 0 0 50px -10px rgba(14, 165, 233, 0.3);
}

.glow-card:hover {
  box-shadow: 0 10px 40px -10px rgba(14, 165, 233, 0.2);
  border-color: rgba(56, 189, 248, 0.4);
}

/* Text Gradients */
.text-gradient-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-brand {
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 50%, #f43f5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-warm {
  background: linear-gradient(135deg, #f43f5e 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Custom Glassmorphism */
.glass-nav {
  background: rgba(11, 19, 43, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
  background: rgba(17, 27, 54, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card-light {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Subtle float animation */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-float {
  animation: floatSlow 4s ease-in-out infinite;
}

/* Pulse badge */
@keyframes pulseSubtle {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.03);
  }
}

.animate-pulse-subtle {
  animation: pulseSubtle 3s ease-in-out infinite;
}

/* Accordion details arrow transition */
details summary::-webkit-details-marker {
  display: none;
}

details[open] summary .accordion-chevron {
  transform: rotate(180deg);
}

/* Toggle Switch Switcher */
.pricing-toggle-checkbox:checked + .pricing-toggle-label .toggle-dot {
  transform: translateX(1.5rem);
}

/* Autoscaling Architecture Animations */
@keyframes flowLine {
  0% {
    stroke-dashoffset: 24;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

.animate-flow-line {
  stroke-dasharray: 6 6;
  animation: flowLine 1.5s linear infinite;
}

@keyframes blinkLed {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 8px currentColor;
  }
  50% {
    opacity: 0.3;
    box-shadow: none;
  }
}

.animate-blink-led {
  animation: blinkLed 1.8s ease-in-out infinite;
}

.animate-blink-fast {
  animation: blinkLed 0.9s ease-in-out infinite;
}

/* ==========================================================================
   Mobile Menu Slide-down / Slide-up Animations
   ========================================================================== */
#mobile-menu {
  opacity: 0;
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease-out;
  pointer-events: none;
  visibility: hidden;
}

#mobile-menu.menu-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

