/* ========================================================
   RING NETWORK - Modern High-Tech Theme
   Palette: Light Blue (Cyan/Sky), Vibrant Orange, Golden Yellow
   ======================================================== */

:root {
  --rn-cyan-light: #e0f2fe;
  --rn-cyan: #0284c7;
  --rn-cyan-glow: #00b4d8;
  --rn-cyan-accent: #38bdf8;
  
  --rn-orange: #ff6b00;
  --rn-orange-hover: #ea580c;
  --rn-orange-glow: rgba(255, 107, 0, 0.35);

  --rn-yellow: #f59e0b;
  --rn-yellow-accent: #fbbf24;
  --rn-yellow-glow: rgba(251, 191, 36, 0.3);

  --rn-dark: #0a1128;
  --rn-dark-card: #0f1c3f;
  --rn-dark-surface: #132247;
  
  --rn-text-main: #0f172a;
  --rn-text-muted: #64748b;
  --rn-border-light: rgba(2, 132, 199, 0.15);
}

/* Base smoothing */
html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

body {
  color: var(--rn-text-main);
  background-color: #f8fafc;
  overflow-x: hidden;
}

/* Custom Gradients */
.bg-gradient-brand {
  background: linear-gradient(135deg, #0284c7 0%, #00b4d8 50%, #0ea5e9 100%);
}

.bg-gradient-hero {
  background: radial-gradient(circle at 80% 20%, rgba(255, 107, 0, 0.15) 0%, transparent 40%),
              radial-gradient(circle at 20% 80%, rgba(251, 191, 36, 0.12) 0%, transparent 40%),
              radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.1) 0%, transparent 60%),
              linear-gradient(180deg, #0a1128 0%, #0f1c3f 60%, #0a1128 100%);
}

.bg-hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.25) 0%, rgba(255, 107, 0, 0.15) 50%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

/* Tech Grid Pattern */
.bg-grid-pattern {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(14, 165, 233, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14, 165, 233, 0.07) 1px, transparent 1px);
}

.bg-grid-pattern-dark {
  background-size: 48px 48px;
  background-image: 
    linear-gradient(to right, rgba(56, 189, 248, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(56, 189, 248, 0.06) 1px, transparent 1px);
}

/* Glassmorphism */
.glass-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(2, 132, 199, 0.12);
}

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(2, 132, 199, 0.15);
  box-shadow: 0 10px 30px -10px rgba(2, 132, 199, 0.08);
}

.glass-card-dark {
  background: rgba(15, 28, 63, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 189, 248, 0.2);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn-rn-primary {
  background: linear-gradient(135deg, #ff6b00 0%, #f97316 100%);
  color: #ffffff;
  font-weight: 600;
  border-radius: 9999px;
  padding: 0.75rem 1.75rem;
  box-shadow: 0 8px 20px -4px rgba(255, 107, 0, 0.45);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-rn-primary:hover {
  background: linear-gradient(135deg, #ea580c 0%, #ff6b00 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -4px rgba(255, 107, 0, 0.6);
}

.btn-rn-secondary {
  background: linear-gradient(135deg, #0284c7 0%, #00b4d8 100%);
  color: #ffffff;
  font-weight: 600;
  border-radius: 9999px;
  padding: 0.75rem 1.75rem;
  box-shadow: 0 8px 20px -4px rgba(2, 132, 199, 0.4);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-rn-secondary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -4px rgba(2, 132, 199, 0.55);
}

.btn-rn-outline {
  border: 2px solid #00b4d8;
  color: #00b4d8;
  font-weight: 600;
  border-radius: 9999px;
  padding: 0.7rem 1.75rem;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-rn-outline:hover {
  background: rgba(0, 180, 216, 0.12);
  color: #38bdf8;
  border-color: #38bdf8;
  transform: translateY(-2px);
}

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

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

@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.05); }
}

.animate-pulse-glow {
  animation: pulseGlow 5s ease-in-out infinite;
}

/* Card Hover effect */
.hover-card-effect {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.hover-card-effect:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -10px rgba(2, 132, 199, 0.2);
  border-color: rgba(2, 132, 199, 0.4);
}

/* Popular Package Card Glow */
.popular-glow {
  position: relative;
  border: 2px solid #ff6b00 !important;
  box-shadow: 0 15px 35px -5px rgba(255, 107, 0, 0.3) !important;
}

.popular-badge {
  background: linear-gradient(135deg, #ff6b00 0%, #fbbf24 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.4);
}

/* Speedometer / FUP Pill */
.fup-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.fup-pill-unlimited {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

/* Dynamic Dropdown Mega-Menu */
.dropdown-menu-custom {
  transform-origin: top center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Tab indicator */
.tab-btn.active {
  background: linear-gradient(135deg, #0284c7 0%, #00b4d8 100%);
  color: #ffffff !important;
  box-shadow: 0 6px 16px -2px rgba(2, 132, 199, 0.4);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0284c7;
}
