@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg-dark: #080b13;
  --bg-card: rgba(15, 23, 42, 0.7);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --border-glass: rgba(255, 255, 255, 0.08);
  --primary-blue: #3b82f6;
  --primary-blue-glow: rgba(59, 130, 246, 0.4);
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.4);
  --accent-gold: #f59e0b;
  --accent-cyan: #06b6d4;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(59, 130, 246, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-blue);
}

/* Background Animated Ambient Lights */
.ambient-glow-1 {
  position: absolute;
  top: -100px;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, rgba(0,0,0,0) 70%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.ambient-glow-2 {
  position: absolute;
  top: 400px;
  right: 5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, rgba(0,0,0,0) 70%);
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
}

.ambient-glow-3 {
  position: absolute;
  top: 1500px;
  left: 20%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, rgba(0,0,0,0) 70%);
  filter: blur(110px);
  z-index: 0;
  pointer-events: none;
}

/* Grid Pattern Overlay */
.bg-grid-pattern {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

/* Glassmorphism Components */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-panel-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-panel-hover:hover {
  background: var(--bg-card-hover);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
}

/* Glowing Neon Borders & Buttons */
.btn-neon-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
  transition: all 0.3s ease;
}
.btn-neon-primary:hover {
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.8), 0 0 10px rgba(59, 130, 246, 0.5);
  transform: scale(1.03);
}

.btn-neon-whatsapp {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
  transition: all 0.3s ease;
}
.btn-neon-whatsapp:hover {
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.8), 0 0 10px rgba(16, 185, 129, 0.5);
  transform: scale(1.03);
}

/* Best Value VIP Card Glow */
.pricing-card-vip {
  position: relative;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 2px solid #3b82f6;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.35);
}
.pricing-card-vip::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(45deg, #3b82f6, #10b981, #06b6d4, #3b82f6);
  border-radius: 1.5rem;
  z-index: -1;
  opacity: 0.8;
  filter: blur(8px);
  animation: borderGlow 6s linear infinite;
}

@keyframes borderGlow {
  0% { opacity: 0.6; filter: blur(6px); }
  50% { opacity: 1; filter: blur(12px); }
  100% { opacity: 0.6; filter: blur(6px); }
}

/* Floating Badges & Animations */
.float-animation {
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Pulse Ring */
.pulse-ring {
  position: relative;
}
.pulse-ring::after {
  content: '';
  position: absolute;
  top: -4px; right: -4px; bottom: -4px; left: -4px;
  border-radius: inherit;
  border: 2px solid #10b981;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.25); opacity: 0; }
}

/* Text Gradient Utilities */
.text-gradient-blue {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-green {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Image frame glow */
.hero-img-glow {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(59, 130, 246, 0.3);
}

/* Marquee / Infinite Ticker */
.marquee-wrapper {
  overflow: hidden;
  user-select: none;
  display: flex;
}
.marquee-content {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  min-width: 100%;
  gap: 2rem;
  animation: scrollMarquee 30s linear infinite;
}

@keyframes scrollMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* Custom Accordion Chevron Animation */
.accordion-header svg {
  transition: transform 0.3s ease;
}
.accordion-item.active .accordion-header svg {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, opacity 0.3s ease;
  opacity: 0;
}
.accordion-item.active .accordion-body {
  max-height: 400px;
  opacity: 1;
}

/* Tab active state */
.tab-btn.active {
  background: var(--primary-blue);
  color: white;
  border-color: var(--primary-blue);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}


/* Mobile Responsive Repairs & Viewport Overflow Prevention */
html, body {
  max-width: 100% !important;
  overflow-x: hidden !important;
  width: 100% !important;
  position: relative !important;
}

@media (max-width: 768px) {
  /* Prevent ambient light glows from expanding document viewport width */
  .ambient-glow-1,
  .ambient-glow-2,
  .ambient-glow-3 {
    max-width: 100vw !important;
    width: 260px !important;
    height: 260px !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }

  /* Prevent grid or text containers from exceeding mobile screen */
  .max-w-7xl, .max-w-5xl, .max-w-4xl, .max-w-3xl, .max-w-2xl, .max-w-xl {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Responsive Mobile Header Navigation */
  header {
    width: 100% !important;
    max-width: 100vw !important;
    position: sticky !important;
    top: 0 !important;
  }

  /* Full Width Mobile Dropdown Menu */
  #mobile-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: rgba(8, 11, 19, 0.98) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8) !important;
    z-index: 999 !important;
    padding: 1.5rem !important;
  }

  /* Mobile Heading Typography */
  h1 {
    font-size: 2.15rem !important;
    line-height: 1.25 !important;
  }

  /* Ensure buttons wrap gracefully */
  .btn-neon-primary, .btn-neon-whatsapp {
    max-width: 100% !important;
  }

  /* Floating WhatsApp icon mobile position */
  .fixed.bottom-6.left-6 {
    bottom: 1.25rem !important;
    left: 1.25rem !important;
    z-index: 9999 !important;
  }
}
