/* ==========================================================================
   VKEHI VPN - 3D Cyber & Ultra-Vibrant Neon Theme
   Engineered for Sri Lanka Ultra-Fast V2Ray Tunnels
   ========================================================================== */

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

:root {
  /* Ultra-Vibrant Cyber Color Palette */
  --bg-deep: #030407;
  --bg-space: #070913;
  --bg-card: rgba(13, 16, 27, 0.7);
  --bg-card-hover: rgba(18, 23, 40, 0.85);
  --bg-glass-heavy: rgba(10, 14, 25, 0.85);
  
  --neon-blue: #3b82f6;
  --neon-blue-bright: #60a5fa;
  --neon-cyan: #00f5ff;
  --neon-cyan-glow: rgba(0, 245, 255, 0.4);
  --neon-purple: #8b5cf6;
  --neon-purple-glow: rgba(139, 92, 246, 0.4);
  --neon-magenta: #ec4899;
  --neon-green: #10b981;
  --neon-green-glow: rgba(16, 185, 129, 0.4);
  --neon-amber: #f59e0b;
  --neon-amber-glow: rgba(245, 158, 11, 0.4);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-neon-blue: rgba(59, 130, 246, 0.35);
  --border-neon-cyan: rgba(0, 245, 255, 0.4);

  --text-pure: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --text-dim: rgba(255, 255, 255, 0.42);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 36px;
  --radius-full: 9999px;

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Light Mode Variables Override
   ========================================================================== */
html.light-mode {
  --bg-deep: #eef2ff;
  --bg-space: #e0e7ff;
  --bg-card: rgba(255, 255, 255, 0.75);
  --bg-card-hover: rgba(255, 255, 255, 0.92);
  --bg-glass-heavy: rgba(240, 244, 255, 0.9);

  --border-subtle: rgba(100, 120, 200, 0.15);
  --border-neon-blue: rgba(59, 130, 246, 0.3);
  --border-neon-cyan: rgba(6, 182, 212, 0.3);

  --text-pure: #0f172a;
  --text-muted: rgba(15, 23, 42, 0.72);
  --text-dim: rgba(15, 23, 42, 0.45);
}

html.light-mode body,
html.light-mode html {
  background-color: var(--bg-deep);
  color: var(--text-pure);
}

/* Light mode background orbs — softer pastel tones */
html.light-mode .aurora-orb-1 {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(139, 92, 246, 0.1) 60%, transparent 80%);
  opacity: 0.6;
}
html.light-mode .aurora-orb-2 {
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, rgba(37, 99, 235, 0.08) 50%, transparent 80%);
  opacity: 0.5;
}
html.light-mode .aurora-orb-3 {
  background: radial-gradient(circle, rgba(167, 139, 250, 0.2) 0%, rgba(236, 72, 153, 0.08) 50%, transparent 80%);
  opacity: 0.5;
}

/* Cyber grid lighter in light mode */
html.light-mode .cyber-grid {
  background-image:
    linear-gradient(to right, rgba(99, 102, 241, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
}

/* Header in light mode */
html.light-mode .site-header {
  background: rgba(238, 242, 255, 0.88);
  border-bottom: 1px solid rgba(99, 102, 241, 0.15);
  box-shadow: 0 4px 30px rgba(99, 102, 241, 0.1);
}

html.light-mode .brand-logo {
  color: #0f172a;
}
html.light-mode .nav-links a {
  color: var(--text-muted);
}
html.light-mode .nav-links a:hover {
  color: #0f172a;
  text-shadow: 0 0 12px rgba(99, 102, 241, 0.4);
}
html.light-mode .brand-text span {
  color: #6366f1;
  text-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

/* Cards in light mode */
html.light-mode .card-3d {
  background: var(--bg-card);
  border-color: rgba(99, 102, 241, 0.15);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.1);
}
html.light-mode .card-3d:hover {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 25px 60px rgba(99, 102, 241, 0.15), 0 0 35px rgba(6, 182, 212, 0.12);
}
html.light-mode .card-3d::before {
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(99, 102, 241, 0.07), transparent 45%);
}

/* Bento cards light */
html.light-mode .bento-card {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(99, 102, 241, 0.15);
  color: #0f172a;
}
html.light-mode .bento-card h3,
html.light-mode .bento-card h4 {
  color: #0f172a;
}
html.light-mode .bento-card p {
  color: var(--text-muted);
}
html.light-mode .bento-icon-wrapper {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.2);
  color: #6366f1;
}
html.light-mode .bento-badge-pill {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.2);
  color: #4338ca;
}

/* Simulator box light */
html.light-mode .simulator-box {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 30px 80px rgba(99, 102, 241, 0.12), 0 0 50px rgba(99, 102, 241, 0.08);
}
html.light-mode .simulator-box::after {
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.6), transparent);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.7);
}
html.light-mode .sim-metrics-grid {
  background: rgba(238, 242, 255, 0.6);
  border-color: rgba(99, 102, 241, 0.12);
}
html.light-mode .sim-metric-label { color: var(--text-dim); }
html.light-mode .sim-metric-val { color: #1e1b4b; }
html.light-mode .cluster-load-label { color: var(--text-dim); }
html.light-mode .cluster-load-label strong { color: #6366f1; }
html.light-mode .cluster-progress-bar {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.1);
}
html.light-mode .cluster-progress-fill {
  background: linear-gradient(90deg, #6366f1, #06b6d4, #8b5cf6, #06b6d4);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.5);
}
html.light-mode .sim-telemetry-log {
  background: rgba(238, 242, 255, 0.7);
  border-color: rgba(99, 102, 241, 0.2);
  color: #4338ca;
}
html.light-mode .log-indicator {
  color: #6366f1;
  background: rgba(99, 102, 241, 0.12);
}
html.light-mode .simulator-footer {
  border-color: rgba(99, 102, 241, 0.12);
}
html.light-mode .equalizer-bar {
  background: linear-gradient(to top, #6366f1, #06b6d4);
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.5);
}
html.light-mode .status-indicator-live { color: #059669; text-shadow: 0 0 12px rgba(5, 150, 105, 0.4); }
html.light-mode .status-dot-green { background: #059669; box-shadow: 0 0 12px #059669; }
html.light-mode .feature-point-icon {
  background: rgba(238, 242, 255, 0.9);
  border-color: rgba(99, 102, 241, 0.25);
  color: #6366f1;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.1);
}
html.light-mode .feature-point-item h4 { color: #0f172a; }
html.light-mode .feature-point-item p { color: var(--text-muted); }
html.light-mode .control-heading { color: #0f172a; }
html.light-mode .section-eyebrow { color: #6366f1; }

/* Pricing cards light */
html.light-mode .pricing-card {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(99, 102, 241, 0.15);
}
html.light-mode .pricing-card h3,
html.light-mode .pricing-card .plan-name { color: #0f172a; }
html.light-mode .pricing-card .plan-desc,
html.light-mode .pricing-card li { color: var(--text-muted); }

/* Buttons light */
html.light-mode .btn-glass {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.25);
  color: #4338ca;
}
html.light-mode .btn-glass:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.45);
}
html.light-mode .btn-neon-blue {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

/* Section headings and text light */
html.light-mode h1, html.light-mode h2,
html.light-mode h3, html.light-mode h4 { color: #0f172a; }
html.light-mode p { color: var(--text-muted); }
html.light-mode .hero-subtitle { color: var(--text-muted); }

/* FAQ light */
html.light-mode .faq-item {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(99, 102, 241, 0.15);
}
html.light-mode .faq-question { color: #0f172a; }
html.light-mode .faq-answer { color: var(--text-muted); }

/* Footer light */
html.light-mode footer,
html.light-mode .site-footer {
  background: rgba(224, 231, 255, 0.8);
  border-color: rgba(99, 102, 241, 0.12);
  color: var(--text-muted);
}

/* Modals light */
html.light-mode .modal-overlay > div,
html.light-mode [role="dialog"],
html.light-mode .modal-box {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(99, 102, 241, 0.2);
  color: #0f172a;
}

/* ISP marquee section light */
html.light-mode .isp-marquee-section {
  background: rgba(224, 231, 255, 0.5);
}
html.light-mode .marquee-item {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(99, 102, 241, 0.15);
}

/* Hero stats light */
html.light-mode .stat-value { color: #0f172a; }
html.light-mode .stat-label { color: var(--text-muted); }

/* Gradient text in light mode */
html.light-mode .blue-cyan-gradient {
  background: linear-gradient(135deg, #6366f1 0%, #2563eb 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
html.light-mode .neon-shimmer-title {
  background: linear-gradient(135deg, #1e1b4b 0%, #3730a3 30%, #6366f1 60%, #06b6d4 85%, #8b5cf6 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Smooth global theme transition */
html, html * {
  transition: background-color 0.4s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease !important;
}

/* Theme toggle button */
.theme-toggle-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 245, 255, 0.3);
  background: rgba(0, 245, 255, 0.06);
  color: #00f5ff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.theme-toggle-btn:hover {
  background: rgba(0, 245, 255, 0.15);
  border-color: rgba(0, 245, 255, 0.6);
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
}
html.light-mode .theme-toggle-btn {
  border-color: rgba(99, 102, 241, 0.35);
  background: rgba(99, 102, 241, 0.08);
  color: #6366f1;
}
html.light-mode .theme-toggle-btn:hover {
  background: rgba(99, 102, 241, 0.18);
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.35);
}
.theme-icon-sun, .theme-icon-moon {
  position: absolute;
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* Dark mode: show moon, hide sun */
.theme-icon-sun { opacity: 0; transform: rotate(90deg) scale(0.5); }
.theme-icon-moon { opacity: 1; transform: rotate(0deg) scale(1); }
/* Light mode: show sun, hide moon */
html.light-mode .theme-icon-sun { opacity: 1; transform: rotate(0deg) scale(1); }
html.light-mode .theme-icon-moon { opacity: 0; transform: rotate(-90deg) scale(0.5); }

@keyframes rippleBurst {
  0%   { transform: scale(0); opacity: 1; }
  100% { transform: scale(3); opacity: 0; }
}

/* ==========================================================================
   Base & Resets
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep);
  color: var(--text-pure);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background-color: var(--bg-deep);
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
}

/* ==========================================================================
   3D Aurora & Space Lighting Background
   ========================================================================== */
.aurora-container {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  mix-blend-mode: screen;
  pointer-events: none;
}

.aurora-orb-1 {
  top: -150px;
  left: 20%;
  width: 700px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.45) 0%, rgba(139, 92, 246, 0.2) 60%, transparent 80%);
  animation: auroraFloat1 18s ease-in-out infinite alternate;
}

.aurora-orb-2 {
  top: 15%;
  right: -100px;
  width: 650px;
  height: 550px;
  background: radial-gradient(circle, rgba(0, 245, 255, 0.3) 0%, rgba(37, 99, 235, 0.15) 50%, transparent 80%);
  animation: auroraFloat2 22s ease-in-out infinite alternate;
}

.aurora-orb-3 {
  top: 55%;
  left: -150px;
  width: 800px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, rgba(236, 72, 153, 0.15) 50%, transparent 80%);
  animation: auroraFloat1 25s ease-in-out infinite alternate-reverse;
}

@keyframes auroraFloat1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, 60px) scale(1.12); }
  100% { transform: translate(-40px, 90px) scale(0.95); }
}

@keyframes auroraFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-90px, 70px) scale(1.08); }
  100% { transform: translate(50px, -50px) scale(0.92); }
}

.cyber-grid {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(59, 130, 246, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(59, 130, 246, 0.035) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 85%);
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   Typography & Vibrant Shimmers
   ========================================================================== */
.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }

.neon-shimmer-title {
  background: linear-gradient(135deg, #ffffff 0%, #dbeafe 30%, #60a5fa 60%, #00f5ff 85%, #a855f7 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 6s ease infinite;
  display: inline-block;
  text-shadow: 0 0 35px rgba(0, 245, 255, 0.3);
}

@keyframes textShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.blue-cyan-gradient {
  background: linear-gradient(135deg, #00f5ff 0%, #3b82f6 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 10;
}

@media (max-width: 640px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ==========================================================================
   Interactive 3D Tilt Card Base
   ========================================================================== */
.card-3d-wrapper {
  perspective: 1200px;
  transform-style: preserve-3d;
}

.card-3d {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  transition: transform 0.15s ease-out, border-color var(--transition-normal), box-shadow var(--transition-normal);
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
}

.card-3d::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 245, 255, 0.08), transparent 45%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.card-3d:hover::before {
  opacity: 1;
}

.card-3d:hover {
  border-color: rgba(0, 245, 255, 0.4);
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.7),
    0 0 35px rgba(59, 130, 246, 0.25),
    inset 0 0 20px rgba(0, 245, 255, 0.06);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(4, 6, 12, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.75rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
  transition: transform var(--transition-fast);
}

.brand-logo:hover {
  transform: scale(1.03);
}

.brand-icon-box {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #00f5ff, #3b82f6, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(0, 245, 255, 0.5);
  position: relative;
}

.brand-icon-box svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: #fff;
}

.brand-text span {
  color: var(--neon-cyan);
  font-weight: 800;
  text-shadow: 0 0 15px rgba(0, 245, 255, 0.5);
}

/* ==========================================================================
   Luxury Gold & Cyan Brand Logo Emblem
   ========================================================================== */
.brand-logo-img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(245, 158, 11, 0.8);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.5), 0 0 10px rgba(0, 245, 255, 0.4);
  transition: all var(--transition-normal);
  display: block;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.12) rotate(6deg);
  border-color: #fbbf24;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.8), 0 0 20px rgba(0, 245, 255, 0.6);
}

.hero-logo-wrapper {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.hero-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(245, 158, 11, 0.9);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.8),
    0 0 45px rgba(245, 158, 11, 0.6),
    0 0 25px rgba(0, 245, 255, 0.4);
  animation: heroLogoFloat 4.5s ease-in-out infinite alternate;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.hero-logo-img:hover {
  transform: scale(1.08) rotate(4deg);
}

.hero-logo-glow {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.45) 0%, rgba(0, 245, 255, 0.25) 50%, transparent 75%);
  filter: blur(20px);
  z-index: 1;
  animation: heroGlowPulse 3s infinite alternate ease-in-out;
}

@keyframes heroLogoFloat {
  0% { transform: translateY(0px) rotate(0deg) scale(1); }
  50% { transform: translateY(-10px) rotate(3deg) scale(1.03); }
  100% { transform: translateY(0px) rotate(0deg) scale(1); }
}

@keyframes heroGlowPulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.25); opacity: 1; }
}

.modal-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(245, 158, 11, 0.8);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}


.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-links a:hover {
  color: #fff;
  text-shadow: 0 0 12px rgba(0, 245, 255, 0.6);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #00f5ff, #3b82f6);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ==========================================================================
   Buttons with 3D Depth & Neon Glows
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: var(--radius-full);
  padding: 0.8rem 1.6rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 4px 25px rgba(255, 255, 255, 0.25);
  font-weight: 800;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #00f5ff, #3b82f6);
  color: #ffffff;
  box-shadow: 0 0 35px rgba(0, 245, 255, 0.6), 0 0 15px rgba(59, 130, 246, 0.4);
  transform: translateY(-3px) scale(1.02);
}

.btn-neon-blue {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  border: 1px solid rgba(0, 245, 255, 0.35);
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.5), inset 0 0 10px rgba(0, 245, 255, 0.2);
}

.btn-neon-blue:hover {
  background: linear-gradient(135deg, #00f5ff, #2563eb);
  box-shadow: 0 0 40px rgba(0, 245, 255, 0.7), inset 0 0 15px rgba(255, 255, 255, 0.4);
  transform: translateY(-3px) scale(1.02);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-pure);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 245, 255, 0.4);
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.25);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   Hero Section with 3D Interactive Canvas
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: 8.5rem;
  padding-bottom: 5.5rem;
  text-align: center;
  z-index: 10;
}

/* 3D Interactive Hero Canvas */
.hero-3d-canvas-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 900px;
  height: 600px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.75;
}

#hero3dCanvas {
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.55rem 1.35rem;
  background: rgba(13, 17, 30, 0.7);
  border: 1px solid rgba(0, 245, 255, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #00f5ff;
  margin-bottom: 2rem;
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.2), inset 0 0 15px rgba(0, 245, 255, 0.1);
  transition: all var(--transition-normal);
}

.hero-badge:hover {
  border-color: rgba(0, 245, 255, 0.6);
  box-shadow: 0 0 40px rgba(0, 245, 255, 0.4);
  transform: translateY(-2px);
}

.pulse-dot-cyan {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 12px var(--neon-cyan);
  animation: pulsePingCyan 2s infinite;
}

@keyframes pulsePingCyan {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(0, 245, 255, 0.8); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 10px rgba(0, 245, 255, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(0, 245, 255, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 1.75rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2.75rem;
  font-weight: 300;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

/* Floating 3D Pills in Hero */
.hero-floating-pills {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.floating-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: rgba(18, 22, 38, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  animation: float3D 4s ease-in-out infinite alternate;
}

.floating-pill:nth-child(2) {
  animation-delay: 1.3s;
}

.floating-pill:nth-child(3) {
  animation-delay: 2.6s;
}

@keyframes float3D {
  0% { transform: translateY(0px) rotateX(0deg); }
  50% { transform: translateY(-8px) rotateX(8deg); }
  100% { transform: translateY(0px) rotateX(0deg); }
}

/* Stats Counter Grid */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 840px;
  margin: 0 auto;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item .stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  transition: all var(--transition-fast);
}

.stat-item:hover .stat-value {
  color: var(--neon-cyan);
  text-shadow: 0 0 20px rgba(0, 245, 255, 0.6);
  transform: scale(1.05);
}

.stat-item .stat-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  margin-top: 0.35rem;
}

/* Scroll To Explore Indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 4rem;
  cursor: pointer;
  color: var(--text-dim);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.scroll-indicator:hover {
  color: var(--neon-cyan);
}

.scroll-indicator span {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-weight: 800;
}

.scroll-line {
  width: 2px;
  height: 52px;
  background: linear-gradient(to bottom, var(--neon-cyan), var(--neon-blue), transparent);
  animation: scrollDrop 2.2s infinite ease-in-out;
  border-radius: 2px;
  box-shadow: 0 0 10px var(--neon-cyan);
}

@keyframes scrollDrop {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  50.1% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ==========================================================================
   ISP Integrations Marquee Banner
   ========================================================================== */
.isp-marquee-section {
  padding: 3.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 7, 14, 0.7);
  backdrop-filter: blur(16px);
  overflow: hidden;
  position: relative;
}

.section-eyebrow {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-weight: 900;
  color: var(--neon-cyan);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 15px rgba(0, 245, 255, 0.5);
}

.section-heading-sm {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: #fff;
}

.marquee-container {
  display: flex;
  width: 100%;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.marquee-track {
  display: flex;
  gap: 1.75rem;
  animation: marqueeScroll 24s linear infinite;
  flex-shrink: 0;
  padding: 1.25rem 0;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.isp-pill {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 1.6rem;
  background: rgba(15, 19, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  font-weight: 700;
  transition: all var(--transition-fast);
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.isp-pill:hover {
  background: rgba(24, 30, 52, 0.95);
  border-color: var(--neon-cyan);
  color: #fff;
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.35);
  transform: translateY(-4px) scale(1.03);
}

.isp-badge-3d {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 3px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7), 0 0 10px rgba(0, 245, 255, 0.2);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.isp-pill:hover .isp-badge-3d {
  transform: scale(1.15) rotate(3deg);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.5);
}

.isp-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.6));
}

.isp-tab-logo {
  width: 1.6rem;
  height: 1.6rem;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.5);
  padding: 2px;
  flex-shrink: 0;
}

.isp-pkg-carrier-img {
  width: 2.6rem;
  height: 2.6rem;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.6);
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

/* ==========================================================================
   Bento Grid Feature Showcase (3D Hover Ready)
   ========================================================================== */
.bento-section {
  padding: 7rem 0;
  position: relative;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.75rem;
}

.bento-col-8 { grid-column: span 8; }
.bento-col-4 { grid-column: span 4; }

@media (max-width: 900px) {
  .bento-col-8, .bento-col-4 { grid-column: span 12; }
}

.bento-card {
  padding: 2.75rem;
  border-radius: var(--radius-2xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.bento-icon-wrapper {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 245, 255, 0.15), rgba(59, 130, 246, 0.2));
  border: 1px solid rgba(0, 245, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-cyan);
  margin-bottom: 2rem;
  box-shadow: 0 0 25px rgba(0, 245, 255, 0.25);
  transition: transform var(--transition-normal);
}

.bento-card:hover .bento-icon-wrapper {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 0 35px rgba(0, 245, 255, 0.5);
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.bento-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.bento-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.bento-badge-pill {
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-md);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Engineered for Absolute Control (System Simulator)
   ========================================================================== */
.control-section {
  padding: 7rem 0;
}

.control-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 960px) {
  .control-grid { grid-template-columns: 1fr; }
}

.control-heading {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.feature-point-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.feature-point-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.feature-point-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: rgba(18, 22, 38, 0.8);
  border: 1px solid rgba(0, 245, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-cyan);
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.15);
}

.feature-point-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.feature-point-item p {
  font-size: 0.875rem;
  color: var(--text-dim);
}

/* Simulator Box with Holographic Screen Glow & Scanline */
.simulator-box {
  background: rgba(9, 12, 22, 0.92);
  border: 1px solid rgba(0, 245, 255, 0.35);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 50px rgba(0, 245, 255, 0.2), inset 0 0 25px rgba(59, 130, 246, 0.12);
  position: relative;
  overflow: hidden;
}

.simulator-box::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.7), transparent);
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.9);
  top: 0;
  animation: simScanLine 5.5s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 5;
}

@keyframes simScanLine {
  0% { top: 4%; opacity: 0.15; }
  50% { opacity: 0.85; }
  100% { top: 96%; opacity: 0.15; }
}

.simulator-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.5rem;
}

.status-indicator-live {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--neon-green);
  text-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
}

.status-dot-green {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 12px var(--neon-green);
  animation: pulsePingCyan 2s infinite;
}

/* Simulator Live Metrics Bar */
.sim-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  margin-bottom: 1.75rem;
}

.sim-metric-item {
  text-align: center;
}

.sim-metric-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.sim-metric-val {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 800;
  color: #fff;
  transition: color 0.3s ease;
}

.cluster-load-item {
  margin-bottom: 1.5rem;
}

.cluster-load-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 800;
  color: var(--text-dim);
  margin-bottom: 0.6rem;
}

.cluster-load-label strong {
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

.cluster-progress-bar {
  height: 9px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.8);
}

.cluster-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #00f5ff, #8b5cf6, #00f5ff);
  background-size: 250% 100%;
  animation: clusterGradientShine 5s linear infinite;
  border-radius: var(--radius-full);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.7);
  position: relative;
}

@keyframes clusterGradientShine {
  0% { background-position: 0% 50%; }
  100% { background-position: 250% 50%; }
}

/* Simulator Footer & Live Equalizer */
.simulator-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 1rem;
}

.equalizer-bars {
  display: flex;
  align-items: flex-end;
  gap: 3.5px;
  height: 26px;
}

.equalizer-bar {
  width: 3.5px;
  background: linear-gradient(to top, #3b82f6, #00f5ff);
  border-radius: 3px;
  animation: equalize 1.2s infinite ease-in-out alternate;
  box-shadow: 0 0 8px rgba(0, 245, 255, 0.7);
}

@keyframes equalize {
  0% { height: 4px; opacity: 0.35; }
  100% { height: 26px; opacity: 1; }
}

/* Telemetry Log Console Ticker */
.sim-telemetry-log {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(0, 245, 255, 0.25);
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #93c5fd;
  overflow: hidden;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5);
}

.log-indicator {
  font-size: 0.625rem;
  font-weight: 800;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.2rem 0.5rem;
  background: rgba(0, 245, 255, 0.15);
  border-radius: 4px;
  animation: pulsePingCyan 2s infinite;
  flex-shrink: 0;
}

#simLogText {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.3s ease;
}

/* ==========================================================================
   Pricing Architecture Section (3D Holographic Cards)
   ========================================================================== */
.pricing-section {
  padding: 7rem 0;
  position: relative;
}

.section-header-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 0.85rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 300;
}

.pricing-controls-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.pill-toggle-group {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem;
  background: #090c16;
  border: 1px solid rgba(0, 245, 255, 0.2);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 245, 255, 0.1);
  gap: 0.4rem;
}

.toggle-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-lg);
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--text-dim);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.toggle-pill-btn:hover {
  color: #fff;
}

.toggle-pill-btn.active {
  background: linear-gradient(135deg, #00f5ff, #2563eb);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 245, 255, 0.5);
}

.toggle-pill-btn.active.amber-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.5);
}

.badge-micro {
  padding: 0.2rem 0.55rem;
  font-size: 0.625rem;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.25);
}
/* Animated Flag Icons in Location Toggle */
.flag-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.flag-icon {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35), 0 0 6px rgba(0, 245, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flag-wave {
  animation: flagWave 2.5s ease-in-out infinite;
  transform-origin: left center;
}

@keyframes flagWave {
  0%   { transform: rotate(0deg) scaleX(1); }
  15%  { transform: rotate(-2deg) scaleX(1.04); }
  30%  { transform: rotate(1.5deg) scaleX(0.97); }
  45%  { transform: rotate(-1deg) scaleX(1.02); }
  60%  { transform: rotate(0.5deg) scaleX(0.99); }
  100% { transform: rotate(0deg) scaleX(1); }
}

.toggle-pill-btn:hover .flag-icon {
  transform: scale(1.2);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 245, 255, 0.4);
  animation: none;
}

.toggle-pill-btn.active .flag-icon {
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35), 0 0 12px rgba(0, 245, 255, 0.45);
}

/* Light mode flag icon overrides */
html.light-mode .flag-icon {
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.15), 0 0 6px rgba(99, 102, 241, 0.12);
}
html.light-mode .toggle-pill-btn:hover .flag-icon {
  box-shadow: 0 3px 12px rgba(99, 102, 241, 0.25), 0 0 15px rgba(99, 102, 241, 0.3);
}
html.light-mode .toggle-pill-btn.active .flag-icon {
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 3px 12px rgba(255, 255, 255, 0.3), 0 0 10px rgba(99, 102, 241, 0.3);
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

.pricing-card {
  padding: 2.5rem;
  border-radius: var(--radius-2xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  background: rgba(12, 15, 26, 0.85);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.pricing-card:hover {
  border-color: rgba(0, 245, 255, 0.5);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 245, 255, 0.25);
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(29, 39, 78, 0.7) 0%, rgba(12, 15, 26, 0.9) 100%);
  border-color: rgba(0, 245, 255, 0.5);
  box-shadow: 0 15px 50px rgba(0, 245, 255, 0.2), inset 0 0 25px rgba(59, 130, 246, 0.2);
}

.pricing-card.featured:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 50px rgba(0, 245, 255, 0.45);
}

.popular-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: linear-gradient(135deg, #00f5ff, #3b82f6, #8b5cf6);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.6);
}

.plan-tier-label {
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--neon-cyan);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(0, 245, 255, 0.4);
}

.plan-name {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.35rem;
}

.plan-caption {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1.75rem;
}

.plan-price-box {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-price-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}

.plan-price-currency {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--neon-cyan);
  margin-right: 0.3rem;
}

.plan-price-period {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.plan-data-chip {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(0, 245, 255, 0.12);
  border: 1px solid rgba(0, 245, 255, 0.35);
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 800;
  color: #e0f2fe;
  margin-bottom: 1.75rem;
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.2);
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
  flex-grow: 1;
}

.plan-features-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
}

.plan-features-list li svg {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--neon-cyan);
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px var(--neon-cyan));
}

.pricing-card .btn {
  width: 100%;
  white-space: normal;
  text-align: center;
  padding: 0.75rem 1rem;
  line-height: 1.3;
  word-break: break-word;
  font-size: 0.85rem;
  box-sizing: border-box;
  text-overflow: ellipsis;
}


/* ==========================================================================
   Connectivity Suite (Device Setup & V2Ray Apps)
   ========================================================================== */
.connectivity-section {
  padding: 7rem 0;
  position: relative;
}

.devices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

@media (max-width: 1100px) {
  .devices-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .devices-grid { grid-template-columns: 1fr; }
}

.device-card {
  background: rgba(11, 14, 25, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-2xl);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  transition: all var(--transition-normal);
}

.device-card:hover {
  border-color: rgba(0, 245, 255, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 245, 255, 0.15);
}

.device-header {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.device-icon-box {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 245, 255, 0.25), rgba(59, 130, 246, 0.25));
  border: 1px solid rgba(0, 245, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.25);
}

.device-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.app-items-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.app-item-card {
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.app-item-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 245, 255, 0.3);
  transform: translateY(-2px);
}

.app-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.app-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: #000;
  border: 1px solid rgba(0, 245, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 245, 255, 0.2);
}

.app-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
}

.app-source {
  font-size: 0.725rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.app-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.btn-get {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-get:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.btn-guide {
  background: rgba(0, 245, 255, 0.12);
  border: 1px solid rgba(0, 245, 255, 0.35);
  color: var(--neon-cyan);
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-guide:hover {
  background: linear-gradient(135deg, #00f5ff, #3b82f6);
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
}

/* ==========================================================================
   Checkout Funnel & Modals
   ========================================================================== */
.checkout-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
}

.checkout-modal-backdrop[hidden] {
  display: none !important;
}

.checkout-card-container {
  width: 100%;
  max-width: 840px;
  background: #0b0e1a;
  border: 1px solid rgba(0, 245, 255, 0.25);
  border-radius: var(--radius-2xl);
  padding: 2.75rem;
  position: relative;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.95), 0 0 60px rgba(0, 245, 255, 0.2);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(0, 245, 255, 0.4);
  color: #fff;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  cursor: pointer;
  z-index: 1200;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.7);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  color: #fff;
  border-color: var(--neon-cyan);
  background: rgba(0, 245, 255, 0.25);
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.5);
}

/* Step Bar */
.checkout-steps-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  margin-bottom: 2.25rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-step-indicator {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-dim);
}

.checkout-step-indicator.active {
  color: #fff;
}

.checkout-step-indicator.completed {
  color: var(--neon-green);
}

.step-number {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 800;
}

.checkout-step-indicator.active .step-number {
  background: linear-gradient(135deg, #00f5ff, #3b82f6);
  color: #fff;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 18px rgba(0, 245, 255, 0.6);
}

.checkout-step-indicator.completed .step-number {
  background: var(--neon-green);
  color: #fff;
  border-color: var(--neon-green);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
}

/* ISP Filter Tabs */
.isp-filter-tabs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.isp-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.isp-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.isp-tab-btn.active {
  background: linear-gradient(135deg, #00f5ff, #2563eb);
  color: #fff;
  border-color: var(--neon-cyan);
  box-shadow: 0 4px 20px rgba(0, 245, 255, 0.4);
}

/* ISP Packages List Grid */
.isp-packages-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 0.5rem;
  margin-bottom: 2.25rem;
}

@media (max-width: 640px) {
  .isp-packages-list { grid-template-columns: 1fr; }
}

.isp-package-card {
  padding: 1.35rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.isp-package-card:hover {
  background: rgba(0, 245, 255, 0.08);
  border-color: rgba(0, 245, 255, 0.5);
  box-shadow: 0 0 25px rgba(0, 245, 255, 0.2);
  transform: translateY(-2px);
}

.isp-package-card.selected {
  background: rgba(0, 245, 255, 0.15);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.35);
}

.isp-package-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.isp-package-info p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Step 3 Form */
.checkout-summary-box {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(0, 245, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  margin-bottom: 2rem;
  box-shadow: inset 0 0 20px rgba(0, 245, 255, 0.05);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.summary-row.total-row {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.6rem;
}

.form-input {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 0.9375rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
}

/* Payment Methods Grid */
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

@media (max-width: 640px) {
  .payment-methods-grid { grid-template-columns: 1fr; }
}

.payment-method-card {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
}

.payment-method-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(0, 245, 255, 0.3);
}

.payment-method-card.active {
  background: rgba(0, 245, 255, 0.15);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 25px rgba(0, 245, 255, 0.35);
}

.payment-method-card h5 {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #fff;
  margin-top: 0.4rem;
}

/* Receipt Upload Box */
.receipt-upload-box {
  border: 2px dashed rgba(0, 245, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: 1.75rem;
  background: rgba(0, 0, 0, 0.3);
}

.receipt-upload-box:hover {
  border-color: var(--neon-cyan);
  background: rgba(0, 245, 255, 0.04);
}

.upload-preview-img {
  max-width: 180px;
  max-height: 140px;
  border-radius: 10px;
  margin: 1rem auto 0;
  display: block;
  border: 1px solid rgba(0, 245, 255, 0.4);
}

/* Terms Checkbox */
.terms-agreement-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2rem;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.terms-agreement-row.checked .custom-checkbox {
  background: linear-gradient(135deg, #00f5ff, #3b82f6);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.7);
}

.terms-agreement-row span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Copy Row */
.copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.85rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

/* ==========================================================================
   Dashboard Modal
   ========================================================================== */
.config-card {
  background: rgba(16, 20, 35, 0.9);
  border: 1px solid rgba(0, 245, 255, 0.35);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 1.75rem;
  position: relative;
  box-shadow: 0 0 35px rgba(0, 245, 255, 0.15);
}

.config-code-box {
  background: #000;
  border: 1px solid rgba(0, 245, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #93c5fd;
  word-break: break-all;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 1rem;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 7rem 0;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: rgba(13, 16, 27, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(0, 245, 255, 0.3);
}

.faq-question {
  padding: 1.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.faq-answer {
  padding: 0 1.65rem 1.65rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-toggle-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(180deg);
  background: var(--neon-cyan);
  color: #000;
  box-shadow: 0 0 15px var(--neon-cyan);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 6rem 0 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #020305;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
  .footer-top { grid-template-columns: 1fr; }
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.9rem;
  max-width: 340px;
  margin-top: 1.25rem;
}

.footer-col h5 {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: rgba(9, 12, 22, 0.95);
  backdrop-filter: blur(24px);
  border: 1px solid var(--neon-cyan);
  color: #fff;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-lg);
  font-size: 0.9375rem;
  font-weight: 600;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9), 0 0 25px rgba(0, 245, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  animation: slideToast 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideToast {
  from { transform: translateX(60px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   COMPREHENSIVE LIGHT MODE OVERRIDES — Pricing, Connectivity, FAQ, Footer
   ========================================================================== */

/* ---- Section headings & eyebrows ---- */
html.light-mode .section-title { color: #0f172a; }
html.light-mode .section-desc { color: var(--text-muted); }

/* ---- Pricing pill toggles ---- */
html.light-mode .pill-toggle-group {
  background: #f1f5ff;
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.1);
}
html.light-mode .toggle-pill-btn { color: var(--text-dim); }
html.light-mode .toggle-pill-btn:hover { color: #0f172a; }
html.light-mode .toggle-pill-btn.active {
  background: linear-gradient(135deg, #6366f1, #2563eb);
  color: #fff;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.45);
}
html.light-mode .toggle-pill-btn.active.amber-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}
html.light-mode .badge-micro { background: rgba(255,255,255,0.45); color: #0f172a; }

/* ---- Pricing cards ---- */
html.light-mode .pricing-card {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(99, 102, 241, 0.15);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.08);
}
html.light-mode .pricing-card:hover {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 25px 70px rgba(99, 102, 241, 0.15), 0 0 40px rgba(6, 182, 212, 0.1);
}
html.light-mode .pricing-card.featured {
  background: linear-gradient(180deg, rgba(224, 231, 255, 0.9) 0%, rgba(255,255,255,0.9) 100%);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 15px 50px rgba(99, 102, 241, 0.2), inset 0 0 25px rgba(99, 102, 241, 0.07);
}
html.light-mode .pricing-card.featured:hover {
  border-color: #6366f1;
  box-shadow: 0 30px 80px rgba(99, 102, 241, 0.25), 0 0 50px rgba(99, 102, 241, 0.2);
}
html.light-mode .plan-tier-label { color: #6366f1; text-shadow: 0 0 10px rgba(99, 102, 241, 0.3); }
html.light-mode .plan-name { color: #0f172a; }
html.light-mode .plan-caption { color: var(--text-dim); }
html.light-mode .plan-price-box { border-bottom-color: rgba(99, 102, 241, 0.12); }
html.light-mode .plan-price-amount { color: #0f172a; text-shadow: none; }
html.light-mode .plan-price-currency { color: #6366f1; }
html.light-mode .plan-price-period { color: var(--text-dim); }
html.light-mode .plan-data-chip {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
  color: #3730a3;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.1);
}
html.light-mode .plan-features-list li { color: rgba(15, 23, 42, 0.85); }
html.light-mode .plan-features-list li svg {
  color: #6366f1;
  filter: drop-shadow(0 0 4px rgba(99, 102, 241, 0.4));
}
html.light-mode .popular-badge {
  background: linear-gradient(135deg, #6366f1, #2563eb, #8b5cf6);
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.5);
}

/* ---- Connectivity / Device cards ---- */
html.light-mode .device-card {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(99, 102, 241, 0.15);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.07);
}
html.light-mode .device-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.12), 0 0 30px rgba(6, 182, 212, 0.08);
}
html.light-mode .device-title { color: #0f172a; }
html.light-mode .device-icon-box {
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(6,182,212,0.15));
  border-color: rgba(99, 102, 241, 0.3);
  color: #4338ca;
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.15);
}
html.light-mode .app-item-card {
  background: rgba(238, 242, 255, 0.5);
  border-color: rgba(99, 102, 241, 0.12);
}
html.light-mode .app-item-card:hover {
  background: rgba(224, 231, 255, 0.7);
  border-color: rgba(99, 102, 241, 0.35);
}
html.light-mode .app-icon {
  background: #fff;
  border-color: rgba(99, 102, 241, 0.3);
  color: #6366f1;
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.15);
}
html.light-mode .app-name { color: #0f172a; }
html.light-mode .app-source { color: var(--text-dim); }
html.light-mode .btn-get {
  background: rgba(15, 23, 42, 0.07);
  border-color: rgba(15, 23, 42, 0.15);
  color: #0f172a;
}
html.light-mode .btn-get:hover {
  background: #0f172a;
  color: #fff;
  box-shadow: 0 0 15px rgba(15, 23, 42, 0.25);
}
html.light-mode .btn-guide {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
  color: #6366f1;
}
html.light-mode .btn-guide:hover {
  background: linear-gradient(135deg, #6366f1, #2563eb);
  color: #fff;
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.4);
}

/* ---- Checkout Modal ---- */
html.light-mode .checkout-modal-backdrop { background: rgba(15, 23, 42, 0.6); }
html.light-mode .checkout-card-container {
  background: #f8faff;
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 30px 100px rgba(99, 102, 241, 0.15);
  color: #0f172a;
}
html.light-mode .modal-close-btn {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.15);
  color: var(--text-muted);
}
html.light-mode .modal-close-btn:hover {
  color: #0f172a;
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.12);
}
html.light-mode .checkout-steps-bar { border-bottom-color: rgba(99, 102, 241, 0.12); }
html.light-mode .checkout-step-indicator { color: var(--text-dim); }
html.light-mode .checkout-step-indicator.active { color: #0f172a; }
html.light-mode .checkout-step-indicator.completed { color: #059669; }
html.light-mode .step-number {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.2);
  color: #0f172a;
}
html.light-mode .checkout-step-indicator.active .step-number {
  background: linear-gradient(135deg, #6366f1, #2563eb);
  border-color: #6366f1;
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.5);
}
html.light-mode .checkout-step-indicator.completed .step-number {
  background: #059669;
  border-color: #059669;
}

/* ISP filter tabs light */
html.light-mode .isp-tab-btn {
  background: rgba(99, 102, 241, 0.05);
  border-color: rgba(99, 102, 241, 0.15);
  color: var(--text-muted);
}
html.light-mode .isp-tab-btn:hover { background: rgba(99, 102, 241, 0.1); color: #0f172a; }
html.light-mode .isp-tab-btn.active {
  background: linear-gradient(135deg, #6366f1, #2563eb);
  border-color: #6366f1;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.35);
}

/* ISP package cards light */
html.light-mode .isp-package-card {
  background: rgba(238, 242, 255, 0.5);
  border-color: rgba(99, 102, 241, 0.12);
}
html.light-mode .isp-package-card:hover {
  background: rgba(224, 231, 255, 0.8);
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 0 22px rgba(99, 102, 241, 0.15);
}
html.light-mode .isp-package-card.selected {
  background: rgba(99, 102, 241, 0.12);
  border-color: #6366f1;
  box-shadow: 0 0 28px rgba(99, 102, 241, 0.25);
}
html.light-mode .isp-package-info h4 { color: #0f172a; }
html.light-mode .isp-package-info p { color: var(--text-dim); }

/* Checkout form light */
html.light-mode .checkout-summary-box {
  background: rgba(238, 242, 255, 0.6);
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: inset 0 0 18px rgba(99, 102, 241, 0.04);
}
html.light-mode .summary-row { color: var(--text-muted); }
html.light-mode .summary-row.total-row {
  color: #0f172a;
  border-top-color: rgba(99, 102, 241, 0.12);
}
html.light-mode .form-label { color: rgba(15, 23, 42, 0.9); }
html.light-mode .form-input {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(99, 102, 241, 0.2);
  color: #0f172a;
}
html.light-mode .form-input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.25);
}
html.light-mode .form-input::placeholder { color: var(--text-dim); }

/* Payment cards light */
html.light-mode .payment-method-card {
  background: rgba(238, 242, 255, 0.5);
  border-color: rgba(99, 102, 241, 0.12);
}
html.light-mode .payment-method-card:hover {
  background: rgba(224, 231, 255, 0.7);
  border-color: rgba(99, 102, 241, 0.35);
}
html.light-mode .payment-method-card.active {
  background: rgba(99, 102, 241, 0.12);
  border-color: #6366f1;
  box-shadow: 0 0 22px rgba(99, 102, 241, 0.25);
}
html.light-mode .payment-method-card h5 { color: #0f172a; }

/* Receipt upload box light */
html.light-mode .receipt-upload-box {
  border-color: rgba(99, 102, 241, 0.3);
  background: rgba(238, 242, 255, 0.4);
}
html.light-mode .receipt-upload-box:hover {
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.06);
}

/* Custom checkbox light */
html.light-mode .custom-checkbox { border-color: rgba(15, 23, 42, 0.3); }
html.light-mode .terms-agreement-row.checked .custom-checkbox {
  background: linear-gradient(135deg, #6366f1, #2563eb);
  border-color: #6366f1;
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.6);
}
html.light-mode .terms-agreement-row span { color: var(--text-muted); }

/* Copy row light */
html.light-mode .copy-row {
  background: rgba(238, 242, 255, 0.7);
  border-color: rgba(99, 102, 241, 0.12);
  color: #0f172a;
}

/* ---- Dashboard config card light ---- */
html.light-mode .config-card {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.1);
}
html.light-mode .config-code-box {
  background: #f1f5ff;
  border-color: rgba(99, 102, 241, 0.25);
  color: #3730a3;
}

/* ---- FAQ Section light ---- */
html.light-mode .faq-item {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(99, 102, 241, 0.12);
}
html.light-mode .faq-item:hover { border-color: rgba(99, 102, 241, 0.35); }
html.light-mode .faq-question { color: #0f172a; }
html.light-mode .faq-answer { color: var(--text-muted); }
html.light-mode .faq-toggle-icon {
  background: rgba(99, 102, 241, 0.08);
  color: #0f172a;
}
html.light-mode .faq-item.open .faq-toggle-icon {
  background: #6366f1;
  color: #fff;
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.5);
}

/* ---- Footer light ---- */
html.light-mode .site-footer {
  background: #e0e7ff;
  border-top-color: rgba(99, 102, 241, 0.15);
}
html.light-mode .footer-brand p { color: var(--text-dim); }
html.light-mode .footer-col h5 { color: #0f172a; }
html.light-mode .footer-links a { color: var(--text-dim); }
html.light-mode .footer-links a:hover {
  color: #6366f1;
  text-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}
html.light-mode .footer-bottom {
  border-top-color: rgba(99, 102, 241, 0.1);
  color: var(--text-dim);
}
html.light-mode .brand-logo { color: #0f172a; }

/* ---- Toast light ---- */
html.light-mode .toast {
  background: rgba(255, 255, 255, 0.97);
  border-color: #6366f1;
  color: #0f172a;
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2), 0 0 20px rgba(99, 102, 241, 0.15);
}

/* ---- Marquee ISP logos light ---- */
html.light-mode .marquee-track {
  background: transparent;
}
html.light-mode .marquee-item {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(99, 102, 241, 0.15);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.08);
}
html.light-mode .marquee-item span { color: #0f172a; }

/* ---- Hero floating pills light ---- */
html.light-mode .floating-pill {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(99, 102, 241, 0.2);
  color: #0f172a;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.1);
}
html.light-mode .hero-badge {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.25);
  color: #6366f1;
}
html.light-mode .pulse-dot-cyan { background: #6366f1; box-shadow: 0 0 10px rgba(99, 102, 241, 0.6); }
html.light-mode .stat-value { color: #0f172a; }
html.light-mode .stat-label { color: var(--text-muted); }
html.light-mode .hero-stats-grid {
  border-color: rgba(99, 102, 241, 0.12);
  background: rgba(255, 255, 255, 0.5);
}

/* ---- Scroll indicator light ---- */
html.light-mode .scroll-indicator { color: var(--text-dim); }
html.light-mode .scroll-line { background: rgba(99, 102, 241, 0.4); }

/* ---- Auth modal light ---- */
html.light-mode .auth-modal-box,
html.light-mode #authModal > div,
html.light-mode #guideModal > div,
html.light-mode #dashboardModal > div {
  background: rgba(248, 250, 255, 0.98);
  border-color: rgba(99, 102, 241, 0.2);
  color: #0f172a;
}
html.light-mode .auth-email-input,
html.light-mode #authEmailInput {
  background: rgba(238, 242, 255, 0.8);
  border-color: rgba(99, 102, 241, 0.2);
  color: #0f172a;
}
html.light-mode [class*="modal"] h2,
html.light-mode [class*="modal"] h3,
html.light-mode [class*="modal"] h4 { color: #0f172a; }
html.light-mode [class*="modal"] p,
html.light-mode [class*="modal"] li { color: var(--text-muted); }

/* ---- Hero 3D globe canvas (fallback) light ---- */
html.light-mode #hero3dCanvas {
  opacity: 0.4;
  filter: hue-rotate(200deg) brightness(0.8);
}

/* ==========================================================================
   New System Styles: Cart, Notifications, Admin Portal, Order States
   ========================================================================== */

/* Navbar Icon Buttons & Badges */
.nav-icon-btn {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
}

.nav-icon-btn:hover {
  background: rgba(0, 245, 255, 0.15);
  border-color: rgba(0, 245, 255, 0.5);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
}

.badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 900;
  border-radius: var(--radius-full);
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
  border: 1.5px solid var(--bg-deep);
}

/* Notification Dropdown */
.notify-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 320px;
  max-width: 90vw;
  background: rgba(11, 14, 25, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 245, 255, 0.3);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(0, 245, 255, 0.15);
  z-index: 1000;
  overflow: hidden;
  animation: slideToast 0.25s ease-out;
}

/* Mobile Responsive Notification Bar Fix - Perfectly centered & never goes off-screen */
@media (max-width: 768px) {
  .notify-dropdown {
    position: fixed !important;
    top: calc(4.5rem + 8px) !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: min(380px, calc(100vw - 24px)) !important;
    margin: 0 auto !important;
    z-index: 10005 !important;
    transform: none !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95), 0 0 35px rgba(0, 245, 255, 0.25) !important;
  }
}

html.light-mode .notify-dropdown {
  background: rgba(255, 255, 255, 0.98) !important;
  border-color: rgba(99, 102, 241, 0.3) !important;
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2) !important;
}

.notify-header {
  padding: 0.85rem 1.15rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.btn-clear-notify {
  background: none;
  border: none;
  color: var(--neon-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.2s;
}
.btn-clear-notify:hover { opacity: 0.7; }

.notify-list {
  max-height: 320px;
  overflow-y: auto;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.notify-item {
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8125rem;
  transition: background 0.2s;
}
.notify-item:hover { background: rgba(0, 245, 255, 0.06); }
.notify-item.unread {
  border-left: 3px solid var(--neon-cyan);
  background: rgba(0, 245, 255, 0.05);
}
.notify-item-title { font-weight: 800; color: #fff; margin-bottom: 0.2rem; }
.notify-item-msg { color: var(--text-muted); font-size: 0.775rem; line-height: 1.4; }
.notify-item-time { font-size: 0.675rem; color: var(--text-dim); margin-top: 0.35rem; }

/* Payment Methods Status Pills */
.payment-method-card {
  position: relative;
  overflow: hidden;
}
.method-status-pill {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
}
.pill-active {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.4);
}
.pill-updating {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.4);
}
.payment-method-card.method-disabled {
  opacity: 0.55;
  cursor: not-allowed !important;
  filter: grayscale(0.5);
  pointer-events: none;
}

/* Dashboard States & Elements */
.dashboard-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.dash-pending-box {
  background: rgba(245, 158, 11, 0.04);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.08), inset 0 0 25px rgba(245, 158, 11, 0.03);
}

.pulse-dot-amber {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 10px #f59e0b;
  display: inline-block;
  animation: pulsePingCyan 1.8s infinite;
}

/* Dash Orders Table */
.dash-orders-table {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dash-order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.15rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 0.75rem;
  transition: all var(--transition-fast);
}
.dash-order-row:hover {
  background: rgba(0, 245, 255, 0.04);
  border-color: rgba(0, 245, 255, 0.25);
}

/* Admin Management Console */
.admin-card-container {
  padding: 2.5rem;
}

.admin-dash-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 1.5rem;
  padding-right: 4rem; /* Clear room for top-right modal close button */
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}
@media (max-width: 800px) {
  .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

.admin-stat-card {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
}
.admin-stat-card.card-glow-amber {
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.1);
}
.admin-stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.admin-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
}

.admin-tab-bar {
  display: flex;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.admin-tab-btn {
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  transition: all var(--transition-fast);
}
.admin-tab-btn:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.admin-tab-btn.active {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-color: #3b82f6;
  color: #fff;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}

.admin-filter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-order-card {
  background: rgba(14, 18, 32, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  transition: border-color var(--transition-fast);
}
.admin-order-card.pending {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.08);
}
.admin-order-card.approved {
  border-color: rgba(16, 185, 129, 0.3);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  text-align: left;
}
.admin-table th {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}
.admin-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #fff;
}
.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Light Mode Overrides for New Components */
html.light-mode .nav-icon-btn {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.2);
  color: #4338ca;
}
html.light-mode .notify-dropdown {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.15);
}
html.light-mode .notify-header {
  border-bottom-color: rgba(99, 102, 241, 0.12);
  background: rgba(238, 242, 255, 0.6);
}
html.light-mode .notify-header span { color: #0f172a !important; }
html.light-mode .notify-item {
  background: rgba(238, 242, 255, 0.5);
  border-color: rgba(99, 102, 241, 0.1);
}
html.light-mode .notify-item-title { color: #0f172a; }
html.light-mode .dash-pending-box {
  background: rgba(254, 243, 199, 0.4);
  border-color: rgba(245, 158, 11, 0.5);
}
html.light-mode .dash-order-row {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(99, 102, 241, 0.12);
  color: #0f172a;
}
html.light-mode .admin-order-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(99, 102, 241, 0.2);
  color: #0f172a;
}
html.light-mode .admin-stat-card {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(99, 102, 241, 0.15);
}
html.light-mode .admin-stat-num { color: #0f172a; }
html.light-mode .admin-table td { color: #0f172a; }

/* ==========================================================================
   Cyber Luxury Fullscreen Preloader Screen
   ========================================================================== */
.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: radial-gradient(circle at center, #0b1124 0%, #030712 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.55s;
}

.site-preloader.fade-out {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
  visibility: hidden;
}

.preloader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 380px;
  padding: 2rem;
}

.preloader-rings-wrapper {
  position: relative;
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.preloader-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.preloader-ring-outer {
  inset: 0;
  border: 2px dashed rgba(0, 245, 255, 0.45);
  animation: preloaderSpin 6s linear infinite;
}

.preloader-ring-inner {
  inset: 12px;
  border: 2px solid transparent;
  border-top-color: #3b82f6;
  border-bottom-color: #00f5ff;
  animation: preloaderSpinReverse 2.2s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.preloader-logo-glow {
  position: absolute;
  width: 70px;
  height: 70px;
  background: radial-gradient(circle, rgba(0, 245, 255, 0.6) 0%, transparent 70%);
  filter: blur(14px);
  animation: preloaderPulse 1.8s ease-in-out infinite alternate;
}

.preloader-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 16px rgba(0, 245, 255, 0.7));
  animation: preloaderFloat 2.5s ease-in-out infinite;
}

.preloader-brand {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.preloader-brand span {
  color: #00f5ff;
  text-shadow: 0 0 20px rgba(0, 245, 255, 0.8);
}

.preloader-status {
  font-family: var(--font-mono, monospace);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dim, #94a3b8);
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.preloader-progress-track {
  width: 240px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
  margin-bottom: 1.25rem;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

.preloader-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #3b82f6, #00f5ff);
  box-shadow: 0 0 12px rgba(0, 245, 255, 0.9);
  border-radius: 99px;
  transition: width 0.35s ease;
}

.preloader-telemetry {
  display: flex;
  gap: 0.85rem;
  font-size: 0.68rem;
  font-family: var(--font-mono, monospace);
  color: rgba(255, 255, 255, 0.5);
}

.preloader-telemetry span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

@keyframes preloaderSpin {
  100% { transform: rotate(360deg); }
}

@keyframes preloaderSpinReverse {
  100% { transform: rotate(-360deg); }
}

@keyframes preloaderPulse {
  0% { transform: scale(0.85); opacity: 0.5; }
  100% { transform: scale(1.35); opacity: 1; }
}

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

/* ==========================================================================
   Mobile Responsive Optimizations for Admin Order Cards & Modals
   ========================================================================== */
.admin-order-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
}

@media (max-width: 640px) {
  .admin-order-grid {
    grid-template-columns: 1fr !important;
  }
  .admin-slip-col {
    border-left: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-left: 0 !important;
    padding-top: 0.85rem !important;
    margin-top: 0.5rem !important;
  }
  .admin-order-card {
    padding: 1rem !important;
  }
}

/* ==========================================================================
   Mobile & Tablet Navigation System (Ensures Theme Toggle & Controls Never Hide)
   ========================================================================== */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  cursor: pointer;
  gap: 4px;
  padding: 0;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.mobile-nav-toggle:hover {
  background: rgba(0, 245, 255, 0.15);
  border-color: rgba(0, 245, 255, 0.4);
}

.mobile-nav-toggle .bar {
  width: 19px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav-toggle.open .bar-1 {
  transform: translateY(6px) rotate(45deg);
}
.mobile-nav-toggle.open .bar-2 {
  opacity: 0;
}
.mobile-nav-toggle.open .bar-3 {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(5, 8, 18, 0.97);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid rgba(0, 245, 255, 0.25);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  padding: 1.25rem 1.5rem 1.75rem;
  z-index: 999;
  max-height: calc(100vh - 4.75rem);
  overflow-y: auto;
  animation: slideDownNav 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDownNav {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-drawer[hidden] {
  display: none !important;
}

.mobile-nav-user-panel {
  background: rgba(0, 245, 255, 0.04);
  border: 1px solid rgba(0, 245, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover, .mobile-nav-link:active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--neon-cyan);
  padding-left: 1.25rem;
}

.mobile-nav-icon {
  font-size: 1.1rem;
}

.mobile-nav-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
}

.mobile-theme-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
}

/* Tablet & Mobile Breakpoints for Header */
@media (max-width: 1024px) {
  .nav-links {
    display: none !important;
  }
  .nav-btn-desktop {
    display: none !important;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .nav-actions {
    gap: 0.5rem;
  }
  .nav-user-label {
    display: none;
  }
  .nav-user-pill {
    padding: 0.4rem 0.5rem !important;
  }
  .site-header {
    height: 4.5rem;
  }
  .nav-wrapper {
    height: 4.5rem;
  }
}

@media (max-width: 640px) {
  .theme-toggle-btn {
    width: 2.25rem;
    height: 2.25rem;
  }
  .brand-logo-img {
    width: 2.25rem;
    height: 2.25rem;
  }
  .brand-text {
    font-size: 1.15rem;
  }
  .checkout-card-container,
  .dashboard-modal-container {
    padding: 1.35rem 1.15rem !important;
    padding-top: 3rem !important;
    border-radius: var(--radius-xl) !important;
  }
  .admin-card-container {
    padding-top: 3rem !important;
  }
  .modal-close-btn {
    top: 0.85rem !important;
    right: 0.85rem !important;
    width: 2.2rem !important;
    height: 2.2rem !important;
    font-size: 1.1rem !important;
  }
}

@keyframes shakeInput {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.input-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.5) !important;
  animation: shakeInput 0.4s ease-in-out !important;
}

/* ==========================================================================
   Comprehensive User Dashboard Profile Card Styles
   ========================================================================== */
.dash-user-profile-card {
  background: linear-gradient(135deg, rgba(16, 22, 42, 0.95), rgba(11, 15, 29, 0.98));
  border: 1px solid rgba(0, 245, 255, 0.3);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6), inset 0 0 25px rgba(0, 245, 255, 0.04);
  position: relative;
  overflow: hidden;
}

.dash-user-profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #00f5ff, #3b82f6);
}

.dash-user-profile-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.dash-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.dash-avatar-circle {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #00f5ff, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.35rem;
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.dash-avatar-img {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.45);
  border: 2px solid rgba(0, 245, 255, 0.6);
}

.dash-status-dot-active {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #0b0e1a;
  box-shadow: 0 0 8px #10b981;
}

.dash-user-details {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.dash-user-header-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.dash-user-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.badge-google-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(66, 133, 244, 0.15);
  border: 1px solid rgba(66, 133, 244, 0.45);
  color: #60a5fa;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.dash-email-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dash-user-email {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: #00f5ff;
  text-shadow: 0 0 10px rgba(0, 245, 255, 0.25);
  word-break: break-all;
}

.btn-copy-inline {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-muted);
  border-radius: 6px;
  padding: 0.2rem 0.45rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-copy-inline:hover {
  background: rgba(0, 245, 255, 0.2);
  color: #fff;
  border-color: #00f5ff;
}

.dash-meta-pills {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.dash-meta-pill {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
}

.dash-user-profile-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

@media (max-width: 640px) {
  .dash-user-profile-card {
    padding: 1.15rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .dash-user-profile-actions {
    width: 100%;
    justify-content: flex-end;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 0.75rem;
  }
  .dash-user-name {
    font-size: 1.15rem;
  }
  .dash-user-email {
    font-size: 0.85rem;
  }
}

/* Light Mode Overrides for Mobile Navigation & Profile */
html.light-mode .mobile-nav-drawer {
  background: rgba(248, 250, 255, 0.98);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 25px 60px rgba(99, 102, 241, 0.15);
}
html.light-mode .mobile-nav-toggle {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.15);
}
html.light-mode .mobile-nav-toggle .bar {
  background: #0f172a;
}
html.light-mode .mobile-nav-link {
  color: #475569;
}
html.light-mode .mobile-nav-link:hover {
  color: #0f172a;
  background: rgba(99, 102, 241, 0.08);
  border-left-color: #6366f1;
}
html.light-mode .mobile-theme-switch-row {
  background: rgba(99, 102, 241, 0.05);
  border-color: rgba(99, 102, 241, 0.15);
}
html.light-mode .mobile-theme-switch-row span {
  color: #0f172a !important;
}
html.light-mode .dash-user-profile-card {
  background: linear-gradient(135deg, #ffffff, #f1f5f9);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 10px 35px rgba(99, 102, 241, 0.12);
}
html.light-mode .dash-user-profile-card::before {
  background: linear-gradient(180deg, #6366f1, #3b82f6);
}
html.light-mode .dash-user-name {
  color: #0f172a;
}
html.light-mode .dash-user-email {
  color: #4f46e5;
  text-shadow: none;
}
html.light-mode .dash-meta-pill {
  background: rgba(99, 102, 241, 0.06);
  border-color: rgba(99, 102, 241, 0.15);
  color: #475569;
}

/* ==========================================================================
   ENHANCED STYLES: Mobile Stability, Multi-Bank Cards, Usage & Expiry Alert, Admin Messenger
   ========================================================================== */

/* 1. Prevent Mobile Screen Jumping & Horizontal Scrolling in Checkout */
@media (max-width: 768px) {
  body.modal-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
  }

  .checkout-modal-backdrop {
    padding: 0.65rem 0.45rem !important;
    align-items: flex-start !important;
    padding-top: 1.25rem !important;
    overflow-x: hidden !important;
  }

  .checkout-card-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1.25rem 0.95rem !important;
    margin: 0 auto !important;
    border-radius: var(--radius-xl) !important;
    overflow-x: hidden !important;
    transform: none !important;
  }

  /* Disable 3D tilt on all modals and touch devices */
  .card-3d {
    transform: none !important;
  }

  .checkout-steps-bar {
    gap: 0.5rem !important;
    padding-bottom: 1rem !important;
    margin-bottom: 1.25rem !important;
    justify-content: space-between !important;
    width: 100% !important;
  }

  .checkout-step-indicator {
    font-size: 0.75rem !important;
    gap: 0.35rem !important;
  }

  .step-number {
    width: 1.6rem !important;
    height: 1.6rem !important;
    font-size: 0.72rem !important;
  }

  .isp-filter-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 0.5rem !important;
    margin-bottom: 1.2rem !important;
    scrollbar-width: thin;
  }

  .isp-tab-btn {
    flex-shrink: 0 !important;
    padding: 0.55rem 0.95rem !important;
    font-size: 0.8rem !important;
  }

  .isp-packages-list {
    grid-template-columns: 1fr !important;
    max-height: 48vh !important;
    padding-right: 0.2rem !important;
  }

  .payment-methods-grid {
    grid-template-columns: 1fr !important;
  }

  .summary-row {
    font-size: 0.82rem !important;
    padding: 0.45rem 0 !important;
  }
}

/* 2. Sleek Multi-Bank Selection & Animated Logo Cards */
.multi-bank-container {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  margin-top: 0.75rem;
}

.bank-tab-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.bank-select-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.5rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
  text-align: center;
}

.bank-select-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.bank-select-btn.active {
  background: linear-gradient(135deg, rgba(0, 245, 255, 0.15), rgba(59, 130, 246, 0.2));
  border-color: var(--neon-cyan);
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
}

.bank-animated-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(11, 14, 26, 0.98));
  border: 1px solid rgba(0, 245, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.bank-animated-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00f5ff, #3b82f6, #ec4899);
  background-size: 200% 200%;
  animation: gradientFlow 3s ease infinite;
}

.bank-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.15rem;
}

.bank-brand-badge {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.bank-pulse-icon {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #ffffff;
  padding: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 245, 255, 0.3);
  animation: pulseBank 2.8s infinite ease-in-out;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

@keyframes pulseBank {
  0%, 100% {
    transform: scale(1) translateY(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 12px rgba(0, 245, 255, 0.3);
  }
  50% {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 245, 255, 0.65);
  }
}

.bank-card-main-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.bank-pulse-icon:hover .bank-card-main-logo {
  transform: scale(1.12);
}

.bank-btn-logo-wrapper {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #ffffff;
  padding: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
}

.bank-select-btn:hover .bank-btn-logo-wrapper,
.bank-select-btn.active .bank-btn-logo-wrapper {
  transform: scale(1.15);
  box-shadow: 0 0 12px rgba(0, 245, 255, 0.6);
}

.bank-mini-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bank-field-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bank-field-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.15rem;
}

.bank-field-val {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
}

.bank-field-val.highlight {
  color: #00f5ff;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

/* 3. Near-Expiry & Expired Notification Badges in User Dashboard */
.expiry-alert-banner {
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  animation: alertPulse 2.5s infinite;
}

.expiry-alert-banner.warning {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(180, 83, 9, 0.25));
  border: 1px solid #f59e0b;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.3);
}

.expiry-alert-banner.critical {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(185, 28, 28, 0.3));
  border: 1px solid #ef4444;
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.35);
}

@keyframes alertPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

/* 4. Live Data Usage Telemetry Bar */
.telemetry-usage-track {
  width: 100%;
  height: 0.55rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 0.5rem;
  margin-bottom: 0.4rem;
  position: relative;
}

.telemetry-usage-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, #00f5ff, #3b82f6, #10b981);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 10px rgba(0, 245, 255, 0.6);
}

.telemetry-usage-fill.warning {
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
}

/* 5. Smooth Redirect / Transition Overlay */
.nav-transition-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 14, 26, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.nav-transition-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.nav-transition-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(0, 245, 255, 0.2);
  border-top-color: #00f5ff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.nav-transition-text {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: #00f5ff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* 6. Admin Direct Customer Messaging Styling */
.admin-msg-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-top: 1rem;
}

.admin-msg-history-item {
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  margin-bottom: 0.5rem;
}





/* Admin account: keep the profile/sign-out header, hide customer-only VPN dashboard panels. */
#dashboardModal.admin-account-view #dashExpiryWarningBanner,
#dashboardModal.admin-account-view #dashAdminMessagesSection,
#dashboardModal.admin-account-view #dashStatePending,
#dashboardModal.admin-account-view #dashStateActive,
#dashboardModal.admin-account-view #dashStateNone,
#dashboardModal.admin-account-view #dashOrdersHistorySection,
#dashboardModal.admin-account-view #dashCustomerQuickActions {
  display: none !important;
}
