/* 
  REDLINK BROADBAND - Premium Custom Stylesheet
  Compatible with standard semantic HTML grids and Tailwind CDN
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --primary: #DC2626;      /* Redlink Red */
  --primary-dark: #991B1B;
  --secondary: #1E293B;    /* Charcoal */
  --accent-blue: #2563EB;
  --accent-green: #16A34A;
  --accent-purple: #7C3AED;
  --font-display: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

body {
  font-family: var(--font-display);
  background-color: #F8FAFC;
  color: #0F172A;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Animations */
@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 20px 10px rgba(220, 38, 38, 0.15);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulseRing {
  0% { transform: scale(0.95); opacity: 1; }
  50% { opacity: 0.5; }
  100% { transform: scale(1.3); opacity: 0; }
}

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

/* Utility Classes */
.animate-float {
  animation: float 4s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulseGlow 3s infinite;
}

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

.wifi-ring {
  position: absolute;
  border: 2px solid rgba(220, 38, 38, 0.4);
  border-radius: 50%;
  animation: pulseRing 2s cubic-bezier(0.215, 0.610, 0.355, 1) infinite;
}

/* Carousel Styles */
.carousel-slide {
  opacity: 0;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

/* Pricing Card Glows & Hovers */
.price-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.price-card-red:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 30px -10px rgba(220, 38, 38, 0.2);
}

.price-card-blue:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 20px 30px -10px rgba(37, 99, 235, 0.2);
}

.price-card-green:hover {
  border-color: var(--accent-green);
  box-shadow: 0 20px 30px -10px rgba(22, 163, 74, 0.2);
}

.price-card-purple:hover {
  border-color: var(--accent-purple);
  box-shadow: 0 20px 30px -10px rgba(124, 58, 237, 0.2);
}

/* Ribbons */
.ribbon-banner {
  position: absolute;
  top: 0;
  right: 0;
  transform: rotate(0);
}

/* Custom Navigation Dots */
.dot {
  cursor: pointer;
  transition: all 0.3s ease;
}
.dot.active {
  background-color: var(--primary) !important;
  width: 24px !important;
  border-radius: 4px;
}

/* Map Pins */
.map-pin-pulse {
  position: relative;
}
.map-pin-pulse::after {
  content: '';
  position: absolute;
  width: 32px;
  height: 32px;
  background: rgba(220, 38, 38, 0.3);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulseRing 1.8s infinite;
}

/* Modal animation support */
.modal-backdrop {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

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