:root,
html[data-theme="light"] {
  /* Crisp Light Theme Palette (Default) */
  --bg-deep: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-surface-inset: #f1f5f9;

  --border-subtle: #e2e8f0;
  --border-strong: #cbd5e1;
  --border-accent: rgba(2, 132, 199, 0.4);

  --brand-cyan: #0284c7;
  --brand-cyan-glow: rgba(2, 132, 199, 0.25);
  --brand-cyan-dim: rgba(2, 132, 199, 0.08);
  --brand-blue: #0284c7;
  --brand-navy: #f8fafc;

  --text-main: #0f172a;
  --text-sub: #334155;
  --text-muted: #64748b;

  /* Network Accent (Applied dynamically to the cards & network switcher) */
  --accent: #f59e0b;
  --accent-rgb: 245, 158, 11;
  --accent-hex: #f59e0b;
}

html[data-theme="dark"] {
  /* Electric Obsidian Dark Theme Palette */
  --bg-deep: #07090e;
  --bg-surface: #0b111e;
  --bg-surface-elevated: #111a2e;
  --bg-surface-inset: #050810;

  --border-subtle: #14213d;
  --border-strong: #1e325c;
  --border-accent: rgba(0, 210, 255, 0.4);

  --brand-cyan: #00d2ff;
  --brand-cyan-glow: rgba(0, 210, 255, 0.35);
  --brand-cyan-dim: rgba(0, 210, 255, 0.12);
  --brand-blue: #0284c7;
  --brand-navy: #091329;

  --text-main: #f4f4f5;
  --text-sub: #e4e4e7;
  --text-muted: #a1a1aa;

  --accent: #facc15;
  --accent-rgb: 250, 204, 21;
  --accent-hex: #facc15;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

button,
a,
input,
select,
.net-pill-btn,
.nav-mode-btn,
.pkg-card,
.support-btn,
.menu-card,
.menu-service-btn {
  touch-action: manipulation;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

svg {
  display: inline-block;
  vertical-align: middle;
}

/* Sizing Utilities */
.w-3\.5,
svg.w-3\.5 {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
}

.h-3\.5 {
  height: 14px !important;
}

.w-4,
svg.w-4 {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
}

.h-4 {
  height: 16px !important;
}

.w-5,
svg.w-5 {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
}

.h-5 {
  height: 20px !important;
}

.w-8 {
  width: 32px !important;
}

.h-8 {
  height: 32px !important;
}

.w-9 {
  width: 36px !important;
}

.h-9 {
  height: 36px !important;
}

/* Responsive Visibility */
.hidden {
  display: none !important;
}

@media (min-width: 640px) {
  .sm\:inline {
    display: inline !important;
  }

  .sm\:block {
    display: block !important;
  }

  .sm\:flex {
    display: flex !important;
  }
}

@media (min-width: 768px) {
  .md\:inline {
    display: inline !important;
  }

  .md\:block {
    display: block !important;
  }

  .md\:flex {
    display: flex !important;
  }
}

::selection {
  background-color: rgba(2, 132, 199, 0.20);
  color: inherit;
}

html[data-theme="dark"] ::selection {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Dynamic Ambient Lighting System (Subtle Background Aura) */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background-color: var(--bg-deep);
  transition: background-color 0.3s ease;
}

.ambient-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 10%, rgba(2, 132, 199, 0.04) 0%, rgba(248, 250, 252, 0.96) 60%, #f8fafc 100%);
  transition: background 0.3s ease;
}

html[data-theme="dark"] .ambient-bg {
  background-color: #07090e;
}

html[data-theme="dark"] .ambient-bg::before {
  background: radial-gradient(circle at 50% 10%, rgba(0, 210, 255, 0.08) 0%, rgba(7, 9, 14, 0.98) 60%, #07090e 100%);
}

/* Subtle Network Aura behind the Network Size Cards */
.ambient-network-glow {
  position: absolute;
  top: 140px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 820px;
  height: 480px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.35;
  background: radial-gradient(ellipse at 50% 30%, rgba(var(--accent-rgb), 0.5) 0%, rgba(var(--accent-rgb), 0.15) 50%, transparent 75%);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Ambient Lighting Orbs Placed Behind the Main Container */
.glow-orb {
  position: fixed;
  border-radius: 9999px;
  pointer-events: none;
  z-index: -1;
  transform: translateZ(0);
  will-change: transform;
  contain: strict;
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.orb-primary,
.glow-orb.orb-primary {
  top: -10%;
  left: 50%;
  transform: translateX(-50%) translateZ(0);
  width: 650px;
  height: 450px;
  background: rgba(245, 158, 11, 0.15);
  filter: blur(140px);
}

@media (min-width: 640px) {

  .orb-primary,
  .glow-orb.orb-primary {
    width: 850px;
  }
}

.orb-secondary,
.glow-orb.orb-secondary {
  bottom: -15%;
  right: -5%;
  transform: translateZ(0);
  width: 450px;
  height: 450px;
  background: rgba(202, 138, 4, 0.10);
  filter: blur(150px);
}

/* On mobile, aggressively reduce blur radius and dimensions to stop GPU fill-rate stalls */
@media (max-width: 768px) {
  .glow-orb {
    filter: blur(36px) !important;
    opacity: 0.55 !important;
  }

  .orb-primary,
  .glow-orb.orb-primary {
    width: 300px !important;
    height: 300px !important;
    top: -5% !important;
  }

  .orb-secondary,
  .glow-orb.orb-secondary {
    width: 240px !important;
    height: 240px !important;
    bottom: -8% !important;
  }
}

/* Ambient Utility Helpers */
.pointer-events-none {
  pointer-events: none !important;
}

.rounded-full {
  border-radius: 9999px !important;
}

.fixed {
  position: fixed !important;
}

[class*="top-[-10%]"] {
  top: -10% !important;
}

[class*="left-1/2"] {
  left: 50% !important;
}

[class*="-translate-x-1/2"] {
  transform: translateX(-50%) !important;
}

[class*="w-[650px]"] {
  width: 650px !important;
}

[class*="h-[450px]"] {
  height: 450px !important;
}

[class*="blur-[140px]"] {
  filter: blur(140px) !important;
}

[class*="bottom-[-15%]"] {
  bottom: -15% !important;
}

[class*="right-[-5%]"] {
  right: -5% !important;
}

[class*="w-[450px]"] {
  width: 450px !important;
}

[class*="blur-[150px]"] {
  filter: blur(150px) !important;
}

@media (min-width: 640px) {
  [class*="sm:w-[850px]"] {
    width: 850px !important;
  }
}

/* Core Solid Surfaces (Solid Opaque, No Glass Distortion) */
.glass {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.45);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.glass-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.35);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* ==========================================================================
   GLASS NAVBAR & ANNOUNCEMENT STRIP (Responsive Frosted Glass Navigation)
   ========================================================================== */
.header-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  padding: 10px 16px 6px;
  transition: all 0.2s ease;
}

/* 1. Subtle, Slim Announcement Strip (Small Capsule Marquee Ticker) */
#announcementWrap {
  max-width: 896px;
  height: 26px;
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.10);
  border: 1px solid rgba(16, 185, 129, 0.20);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  user-select: none;
}

.announcement-marquee-container {
  flex: 1;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 500;
  mask-image: linear-gradient(to right, transparent 0%, black 14px, black calc(100% - 14px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 14px, black calc(100% - 14px), transparent 100%);
}

.announcement-marquee-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: announcementTicker 24s linear infinite;
  will-change: transform;
}

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

.announcement-msg-part {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-right: 14px;
  color: #cbd5e1;
}

.announcement-msg-part strong {
  color: #34d399;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.announcement-bullet {
  color: #10b981;
  font-weight: 900;
  opacity: 0.85;
}

@keyframes announcementTicker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

#announcementWrap svg {
  width: 14px !important;
  height: 14px !important;
  stroke: #94a3b8;
  display: block;
  flex-shrink: 0;
}

#announcementWrap.dismissed {
  opacity: 0;
  max-height: 0;
  margin: 0 auto;
  padding: 0;
  pointer-events: none;
  transform: translateY(-8px);
}

.animate-ping {
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {

  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* 2. Floating Frosted Glass Capsule Navbar */
.header-nav-bar {
  max-width: 896px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.50);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  gap: 12px;
}

/* Brand / Logo */
.brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}

.nav-logo-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border: 1.5px solid rgba(0, 210, 255, 0.45);
  box-shadow: 0 0 18px rgba(0, 210, 255, 0.35);
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-group:hover .nav-logo-wrap {
  transform: scale(1.05);
  box-shadow: 0 0 22px rgba(0, 210, 255, 0.6);
}

.nav-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-icon-glow {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(to top right, #06b6d4, #2563eb);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-icon-glow svg {
  width: 20px !important;
  height: 20px !important;
  fill: #ffffff;
  display: block;
}

.brand-group:hover .brand-icon-glow {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.6);
}

.brand-title {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.025em;
  color: #ffffff;
  white-space: nowrap;
}

.text-cyan-400 {
  color: #22d3ee !important;
}

/* Center Mode Switcher */
.nav-switcher-bar {
  display: flex;
  align-items: center;
  padding: 3px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  gap: 2px;
  flex-shrink: 0;
}

.nav-mode-btn {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.nav-mode-btn:hover {
  color: #e2e8f0;
}

.nav-mode-btn.active {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Right Action Buttons in Glass Navbar */
.header-right-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Theme Toggle Button (Light / Dark) */
.header-theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
  line-height: 1;
  box-sizing: border-box;
  background: rgba(241, 245, 249, 0.95);
  border: 1px solid rgba(203, 213, 225, 0.8);
  color: #334155;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.header-theme-btn:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
  color: #0f172a;
  transform: translateY(-1px);
}

.header-theme-btn:active {
  transform: scale(0.95);
}

html[data-theme="dark"] .header-theme-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fbbf24;
}

html[data-theme="dark"] .header-theme-btn:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(251, 191, 36, 0.4);
  color: #fde047;
}

/* Theme Toggle SVGs (Light shows Moon, Dark shows Sun) */
html[data-theme="light"] .theme-icon-sun {
  display: none !important;
}

html[data-theme="light"] .theme-icon-moon {
  display: block !important;
  stroke: currentColor;
}

html[data-theme="dark"] .theme-icon-sun {
  display: block !important;
  stroke: currentColor;
}

html[data-theme="dark"] .theme-icon-moon {
  display: none !important;
}

.header-track-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  height: 34px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.header-track-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.header-track-btn:active {
  transform: scale(0.96);
}

.header-track-btn svg {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
  stroke: #94a3b8;
  display: block;
  flex-shrink: 0;
}

.support-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #022c22 !important;
  background: #34d399 !important;
  border: 1px solid rgba(52, 211, 153, 0.4);
  box-shadow: 0 0 15px rgba(52, 211, 153, 0.3) !important;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  height: 34px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  flex-shrink: 0;
}

.support-btn:hover {
  background: #6ee7b7 !important;
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.5) !important;
}

.support-btn:active {
  transform: scale(0.96);
}

.support-btn svg {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
  display: block;
  flex-shrink: 0;
}

/* ==========================================================================
   HAMBURGER BUTTON & ANIMATED DRAWER MENU
   ========================================================================== */
.header-menu-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4.5px;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  flex-shrink: 0;
  user-select: none;
}

.header-menu-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(0, 210, 255, 0.4);
  transform: translateY(-1px);
}

.header-menu-btn:active {
  transform: scale(0.95);
}

/* 3-Bar to 'X' Hamburger Animation */
.hamburger-bar {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: #ffffff;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, background-color 0.25s ease;
  transform-origin: center;
}

.header-menu-btn.open .bar-1 {
  transform: translateY(6.5px) rotate(45deg);
}

.header-menu-btn.open .bar-2 {
  opacity: 0;
  transform: scaleX(0);
}

.header-menu-btn.open .bar-3 {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Menu Scroll Lock */
html.menu-open,
body.menu-open {
  overflow: hidden !important;
  overscroll-behavior: none !important;
  touch-action: none !important;
}

/* Menu Backdrop */
.menu-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 90;
  background: rgba(3, 7, 18, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  touch-action: none;
  overscroll-behavior: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* Floating Frosted Glass Menu Drawer */
.menu-drawer {
  position: fixed;
  top: 72px;
  right: 16px;
  width: min(390px, calc(100vw - 32px));
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  z-index: 95;
  border-radius: 20px;
  padding: 18px 20px 22px;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.94) 0%, rgba(6, 15, 30, 0.96) 100%);
  border: 1.5px solid rgba(0, 210, 255, 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 24px rgba(0, 210, 255, 0.15);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  color: #f4f4f5;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px) scale(0.96);
  transform-origin: top right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Drawer Header */
.menu-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s ease;
}

.menu-close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* Interactive Menu Cards */
.menu-drawer-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menu-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  user-select: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-card:hover {
  background: rgba(0, 210, 255, 0.08);
  border-color: rgba(0, 210, 255, 0.35);
  transform: translateY(-1px);
}

.menu-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.theme-icon-badge {
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.35);
  color: #facc15;
}

.track-icon-badge {
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.35);
  color: #00d2ff;
}

.menu-card-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: #ffffff;
  line-height: 1.2;
}

.menu-card-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.menu-arrow-icon {
  color: #64748b;
  transition: transform 0.2s ease, color 0.2s ease;
}

.menu-card:hover .menu-arrow-icon {
  color: #ffffff;
  transform: translateX(2px);
}

/* Theme Switch Pill */
.theme-pill-switch {
  width: 44px;
  height: 24px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  padding: 2px;
  transition: all 0.25s ease;
}

.theme-switch-slider {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #facc15;
  box-shadow: 0 0 8px rgba(250, 204, 21, 0.6);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease;
  transform: translateX(0);
}

html[data-theme="light"] .theme-switch-slider {
  transform: translateX(20px);
  background: #0284c7;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.5);
}

/* Section Headers */
.menu-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  margin-bottom: 4px;
}

.menu-section-label {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.menu-header-link {
  background: transparent;
  border: none;
  color: #00d2ff;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.15s ease;
}

.menu-header-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Feature 1: Drawer Recent Orders */
.drawer-recent-orders-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-order-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  user-select: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-order-item:hover {
  background: rgba(0, 210, 255, 0.08);
  border-color: rgba(0, 210, 255, 0.35);
  transform: translateY(-1px);
}

.drawer-order-left {
  display: flex;
  align-items: center;
  gap: 9px;
  overflow: hidden;
}

.drawer-order-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.drawer-order-title {
  font-weight: 700;
  font-size: 0.78rem;
  color: #ffffff;
  white-space: nowrap;
}

.drawer-order-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.drawer-empty-orders {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Feature 4: Live Gateway Uptime & Latency */
.status-indicator-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #34d399;
}

.live-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulse 1.5s infinite;
}

.menu-uptime-box {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.uptime-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
}

.uptime-net-left {
  display: flex;
  align-items: center;
  gap: 7px;
}

.uptime-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.uptime-net-name {
  font-weight: 700;
  color: #f4f4f5;
}

.uptime-net-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.uptime-tag {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.uptime-val {
  font-weight: 800;
  font-size: 0.74rem;
}

/* Feature 5: WhatsApp Channel Card */
.badge-free {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.menu-channel-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.10) 0%, rgba(6, 182, 212, 0.08) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-channel-card:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18) 0%, rgba(6, 182, 212, 0.14) 100%);
  border-color: #34d399;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.2);
}

.channel-card-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.channel-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-title {
  font-weight: 700;
  font-size: 0.82rem;
  color: #ffffff;
  line-height: 1.2;
}

.channel-sub {
  font-size: 0.68rem;
  color: #94a3b8;
  margin-top: 2px;
}

.channel-join-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  background: #10b981;
  color: #022c22;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
  transition: all 0.2s ease;
}

.menu-channel-card:hover .channel-join-badge {
  background: #34d399;
}

/* Services Grid */
.menu-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.menu-service-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f4f4f5;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.menu-service-btn:hover {
  background: rgba(0, 210, 255, 0.08);
  border-color: rgba(0, 210, 255, 0.35);
  transform: translateY(-1px);
}

.menu-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mtn-dot {
  background: #fbbf24;
  box-shadow: 0 0 6px rgba(251, 191, 36, 0.6);
}

.telecel-dot {
  background: #f43f5e;
  box-shadow: 0 0 6px rgba(244, 63, 94, 0.6);
}

.at-dot {
  background: #3b82f6;
  box-shadow: 0 0 6px rgba(59, 130, 246, 0.6);
}

.checkers-dot {
  background: #00d2ff;
  box-shadow: 0 0 6px rgba(0, 210, 255, 0.6);
}

/* Tips Card */
.menu-tips-card {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0, 210, 255, 0.05);
  border: 1px solid rgba(0, 210, 255, 0.20);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.75rem;
  color: #cbd5e1;
  line-height: 1.45;
}

.tip-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.tip-bullet {
  flex-shrink: 0;
  font-size: 0.85rem;
}

/* Support Action in Drawer */
.menu-support-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 12px;
  background: #10b981;
  color: #022c22;
  font-weight: 800;
  font-size: 0.84rem;
  text-decoration: none;
  cursor: pointer;
  margin-top: 4px;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-support-btn:hover {
  background: #34d399;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

@media (max-width: 640px) {
  .header-wrap {
    padding: 8px 10px 4px;
  }

  .header-nav-bar {
    padding: 7px 10px;
    gap: 8px;
  }

  .brand-group {
    gap: 8px;
  }

  .nav-logo-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .brand-icon-glow {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }

  .brand-icon-glow svg {
    width: 16px !important;
    height: 16px !important;
  }

  .brand-title {
    font-size: 0.88rem;
  }

  .nav-switcher-bar {
    padding: 2px;
  }

  .nav-mode-btn {
    padding: 4px 8px;
    font-size: 0.68rem;
  }

  .header-right-actions {
    gap: 6px;
  }

  .header-theme-btn {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    border-radius: 10px;
  }

  .header-track-btn {
    padding: 6px 8px;
    height: 32px;
  }

  .track-btn-text {
    display: none;
  }

  .support-btn {
    padding: 6px 10px;
    font-size: 0.7rem;
    height: 32px;
  }
}

@media (max-width: 420px) {
  .header-wrap {
    padding: 6px 8px 4px;
  }

  .header-nav-bar {
    padding: 6px 8px;
    gap: 4px;
  }

  .header-theme-btn {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
  }

  .nav-mode-btn {
    padding: 4px 6px;
    font-size: 0.65rem;
  }

  .support-btn {
    padding: 6px 8px;
  }
}

/* Main Container */
.main-container {
  max-width: 896px;
  /* max-w-4xl */
  margin: 0 auto;
  padding: 16px 16px 80px;
  position: relative;
  z-index: 10;
}

@media (min-width: 640px) {
  .main-container {
    padding: 24px 24px 80px;
  }
}

/* Hero Section */
/* Hero Section (Dynamic Modern Hero) */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 12px 16px 20px;
  margin-bottom: 8px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  user-select: none;
}

.hero-badge-text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #e4e4e7;
}

.hero-title,
.hero h1 {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: #ffffff;
  margin: 0;
}

@media (min-width: 640px) {

  .hero-title,
  .hero h1 {
    font-size: 1.95rem;
  }
}

.hero-highlight {
  background: linear-gradient(135deg, #38bdf8 0%, #00d2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #00d2ff;
  display: inline-block;
}

.hero-subtitle,
.hero p {
  max-width: 520px;
  margin: 0 auto;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.55;
  color: #a1a1aa;
}

@media (min-width: 640px) {

  .hero-subtitle,
  .hero p {
    font-size: 1rem;
  }
}

/* Network Switcher Bar (GlassStorefront Segmented Control) */
.network-pill-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 16px;
  /* rounded-2xl */
  background: rgba(24, 24, 27, 0.60);
  /* bg-zinc-900/60 */
  border: 1px solid rgba(255, 255, 255, 0.05);
  /* border-white/5 */
  backdrop-filter: blur(24px);
  /* backdrop-blur-2xl */
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  /* shadow-2xl */
  margin: 0 auto 24px;
  width: fit-content;
  max-width: 100%;
}

.net-pill-btn {
  padding: 10px 24px;
  /* px-6 py-2.5 */
  border-radius: 12px;
  /* rounded-xl */
  font-weight: 700;
  /* font-bold */
  font-size: 0.75rem;
  /* text-xs */
  letter-spacing: 0.025em;
  /* tracking-wide */
  border: 1px solid transparent;
  background: transparent;
  color: #a1a1aa;
  /* text-zinc-400 */
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  /* duration-300 */
  text-align: center;
  user-select: none;
}

@media (min-width: 640px) {
  .net-pill-btn {
    font-size: 0.875rem;
    /* sm:text-sm */
  }
}

.net-pill-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
  /* hover:bg-white/[0.04] */
}

.net-pill-btn.active[data-tab="YELLO"],
.net-pill-btn.active[data-tab="MTN"] {
  background: #fbbf24;
  /* bg-amber-400 */
  color: #020617;
  /* text-slate-950 */
  font-weight: 800;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.35);
}

.net-pill-btn.active[data-tab="TELECEL"] {
  background: #f43f5e;
  /* bg-rose-500 */
  color: #ffffff;
  /* text-white */
  font-weight: 800;
  box-shadow: 0 0 20px rgba(244, 63, 94, 0.35);
}

.net-pill-btn.active[data-tab="AT_PREMIUM"],
.net-pill-btn.active[data-tab="AT"] {
  background: #3b82f6;
  /* bg-blue-500 */
  color: #ffffff;
  /* text-white */
  font-weight: 800;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.35);
}

/* Bundle Cards Grid (2 columns on mobile, 3 on md+, gap-3.5, max-w-4xl) */
.bundles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  /* gap-3.5 */
  max-width: 896px;
  /* max-w-4xl */
  margin: 0 auto;
}

@media (min-width: 768px) {
  .bundles-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    /* md:grid-cols-3 */
  }
}

/* ==========================================================================
   BUNDLE CARDS - MODERN FROSTED GLASS CARDS WITH POPULAR BADGES
   ========================================================================== */
.bundle-glass-card {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 16px;
  /* rounded-2xl */
  padding: 16px;
  /* p-4 */
  transition: none !important;
  border: 1px solid rgba(255, 255, 255, 0.05);
  /* border-white/5 */
  background: rgba(24, 24, 27, 0.30);
  /* bg-zinc-900/30 */
  backdrop-filter: blur(24px) saturate(160%);
  /* backdrop-blur-2xl */
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  user-select: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 112px;
  animation: none !important;
  transform: none !important;
}

@media (min-width: 640px) {
  .bundle-glass-card {
    padding: 20px;
    /* sm:p-5 */
  }
}

.bundle-glass-card.selected {
  animation: none !important;
  transition: none !important;
  transform: none !important;
}

/* Normal Hover State */
.bundle-glass-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  /* hover:border-white/15 */
  background: rgba(24, 24, 27, 0.60);
  /* hover:bg-zinc-900/60 */
}

.bundle-glass-card:active {
  transform: none !important;
}

/* Popular Badge */
.plan-popular-badge {
  position: absolute;
  top: 12px;
  /* top-3 */
  right: 12px;
  /* right-3 */
  padding: 2px 8px;
  /* px-2 py-0.5 */
  font-size: 9px;
  /* text-[9px] */
  font-weight: 800;
  /* font-extrabold */
  text-transform: uppercase;
  letter-spacing: 0.05em;
  /* tracking-wider */
  border-radius: 9999px;
  /* rounded-full */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  /* shadow-md */
  z-index: 2;
}

/* Capacity Display */
.plan-capacity-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  /* gap-1 */
}

.plan-capacity-number {
  font-size: 1.5rem;
  /* text-2xl */
  font-weight: 900;
  /* font-black */
  color: #ffffff;
  letter-spacing: -0.025em;
  /* tracking-tight */
  line-height: 1;
}

@media (min-width: 640px) {
  .plan-capacity-number {
    font-size: 1.875rem;
    /* sm:text-3xl */
  }
}

.plan-capacity-unit {
  font-size: 0.75rem;
  /* text-xs */
  font-weight: 700;
  /* font-bold */
  color: #a1a1aa;
  /* text-zinc-400 */
  text-transform: uppercase;
}

/* Footer / Price Row */
.plan-footer-row {
  margin-top: 12px;
  /* mt-3 */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  /* pt-2.5 */
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  /* border-t border-white/[0.06] */
}

.plan-price {
  font-size: 1rem;
  /* text-base */
  font-weight: 900;
  /* font-black */
  letter-spacing: -0.025em;
  /* tracking-tight */
}

@media (min-width: 640px) {
  .plan-price {
    font-size: 1.125rem;
    /* sm:text-lg */
  }
}

.plan-expiry {
  font-size: 11px;
  /* text-[11px] */
  font-weight: 500;
  /* font-medium */
  color: #a1a1aa;
  /* text-zinc-400 */
}

/* --------------------------------------------------------------------------
   1. MTN BUNDLE CARDS (AMBER THEME - MATCHING NETWORK)
   -------------------------------------------------------------------------- */
body[data-network="YELLO"] .plan-price,
body[data-network="MTN"] .plan-price {
  color: #fbbf24;
  /* text-amber-400 */
}

body[data-network="YELLO"] .plan-popular-badge,
body[data-network="MTN"] .plan-popular-badge {
  background: #fbbf24;
  color: #020617;
}

body[data-network="YELLO"] .plan-capacity-unit,
body[data-network="MTN"] .plan-capacity-unit,
body[data-network="YELLO"] .plan-expiry,
body[data-network="MTN"] .plan-expiry {
  color: #fde68a;
}

body[data-network="YELLO"] .plan-footer-row,
body[data-network="MTN"] .plan-footer-row {
  border-top-color: rgba(245, 158, 11, 0.22);
}

/* MTN Base Cards */
body[data-network="YELLO"] .bundle-glass-card,
body[data-network="MTN"] .bundle-glass-card,
.bundle-glass-card[data-network="YELLO"],
.bundle-glass-card[data-network="MTN"] {
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.30) 0%, rgba(217, 119, 6, 0.18) 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.55);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45), 0 0 22px rgba(245, 158, 11, 0.28);
}

body[data-network="YELLO"] .bundle-glass-card:hover,
body[data-network="MTN"] .bundle-glass-card:hover,
.bundle-glass-card[data-network="YELLO"]:hover,
.bundle-glass-card[data-network="MTN"]:hover {
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.40) 0%, rgba(217, 119, 6, 0.26) 100%);
  border-color: #fbbf24;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55), 0 0 30px rgba(245, 158, 11, 0.40);
}

/* MTN Popular Cards */
body[data-network="YELLO"] .bundle-glass-card.popular,
body[data-network="MTN"] .bundle-glass-card.popular,
.bundle-glass-card[data-network="YELLO"].popular,
.bundle-glass-card[data-network="MTN"].popular {
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.45) 0%, rgba(217, 119, 6, 0.30) 100%);
  border-color: #fbbf24;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.55), 0 0 32px rgba(245, 158, 11, 0.45);
}

body[data-network="YELLO"] .bundle-glass-card.popular:hover,
body[data-network="MTN"] .bundle-glass-card.popular:hover,
.bundle-glass-card[data-network="YELLO"].popular:hover,
.bundle-glass-card[data-network="MTN"].popular:hover {
  border-color: #fde047;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 40px rgba(245, 158, 11, 0.55);
}

/* MTN Selected State */
body[data-network="YELLO"] .bundle-glass-card.selected,
body[data-network="MTN"] .bundle-glass-card.selected,
.bundle-glass-card[data-network="YELLO"].selected,
.bundle-glass-card[data-network="MTN"].selected {
  background: radial-gradient(circle at 50% 25%, rgba(251, 191, 36, 0.60) 0%, rgba(245, 158, 11, 0.38) 100%);
  border-color: #fde047;
  box-shadow: 0 0 0 2px #fde047, 0 0 40px rgba(251, 191, 36, 0.75), 0 0 85px rgba(245, 158, 11, 0.50);
  z-index: 5;
}

body[data-network="YELLO"] .inline-glass-drawer,
body[data-network="MTN"] .inline-glass-drawer {
  background: rgba(14, 18, 30, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid #fbbf24;
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.85), 0 0 24px -4px rgba(250, 204, 21, 0.4);
}

body[data-network="YELLO"] .drawer-summary-pill,
body[data-network="MTN"] .drawer-summary-pill {
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.4);
  color: #fef08a;
}

body[data-network="YELLO"] .buy-pill-btn,
body[data-network="MTN"] .buy-pill-btn {
  background: #fbbf24;
  color: #020617;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.35);
}

body[data-network="YELLO"] .buy-pill-btn:hover,
body[data-network="MTN"] .buy-pill-btn:hover {
  background: #fde047;
  box-shadow: 0 0 25px rgba(251, 191, 36, 0.55);
}

/* --------------------------------------------------------------------------
   2. TELECEL BUNDLE CARDS (ROSE THEME - MATCHING NETWORK)
   -------------------------------------------------------------------------- */
body[data-network="TELECEL"] .plan-price {
  color: #fb7185;
}

body[data-network="TELECEL"] .plan-popular-badge {
  background: #f43f5e;
  color: #ffffff;
}

body[data-network="TELECEL"] .plan-capacity-unit,
body[data-network="TELECEL"] .plan-expiry {
  color: #fecdd3;
}

body[data-network="TELECEL"] .plan-footer-row {
  border-top-color: rgba(244, 63, 94, 0.22);
}

/* Telecel Base Cards */
body[data-network="TELECEL"] .bundle-glass-card,
.bundle-glass-card[data-network="TELECEL"] {
  background: linear-gradient(145deg, rgba(244, 63, 94, 0.30) 0%, rgba(225, 29, 72, 0.18) 100%);
  border: 1.5px solid rgba(251, 113, 133, 0.55);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45), 0 0 22px rgba(244, 63, 94, 0.28);
}

body[data-network="TELECEL"] .bundle-glass-card:hover,
.bundle-glass-card[data-network="TELECEL"]:hover {
  background: linear-gradient(145deg, rgba(244, 63, 94, 0.40) 0%, rgba(225, 29, 72, 0.26) 100%);
  border-color: #f43f5e;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55), 0 0 30px rgba(244, 63, 94, 0.40);
}

/* Telecel Popular Cards */
body[data-network="TELECEL"] .bundle-glass-card.popular,
.bundle-glass-card[data-network="TELECEL"].popular {
  background: linear-gradient(145deg, rgba(244, 63, 94, 0.45) 0%, rgba(225, 29, 72, 0.30) 100%);
  border-color: #fb7185;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.55), 0 0 32px rgba(244, 63, 94, 0.45);
}

body[data-network="TELECEL"] .bundle-glass-card.popular:hover,
.bundle-glass-card[data-network="TELECEL"].popular:hover {
  border-color: #fda4af;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 40px rgba(244, 63, 94, 0.55);
}

/* Telecel Selected State */
body[data-network="TELECEL"] .bundle-glass-card.selected,
.bundle-glass-card[data-network="TELECEL"].selected {
  background: radial-gradient(circle at 50% 25%, rgba(251, 113, 133, 0.60) 0%, rgba(244, 63, 94, 0.38) 100%);
  border-color: #fda4af;
  box-shadow: 0 0 0 2px #fda4af, 0 0 40px rgba(244, 63, 94, 0.75), 0 0 85px rgba(225, 29, 72, 0.50);
  z-index: 5;
}

body[data-network="TELECEL"] .inline-glass-drawer {
  background: rgba(18, 12, 22, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid #f43f5e;
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.85), 0 0 24px -4px rgba(244, 63, 94, 0.4);
}

body[data-network="TELECEL"] .drawer-summary-pill {
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #fecdd3;
}

body[data-network="TELECEL"] .buy-pill-btn {
  background: #f43f5e;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(244, 63, 94, 0.35);
}

body[data-network="TELECEL"] .buy-pill-btn:hover {
  background: #fb7185;
  box-shadow: 0 0 25px rgba(244, 63, 94, 0.55);
}

/* --------------------------------------------------------------------------
   3. AIRTEL TIGO BUNDLE CARDS (BLUE THEME - MATCHING NETWORK)
   -------------------------------------------------------------------------- */
body[data-network="AT_PREMIUM"] .plan-price,
body[data-network="AT"] .plan-price {
  color: #60a5fa;
}

body[data-network="AT_PREMIUM"] .plan-popular-badge,
body[data-network="AT"] .plan-popular-badge {
  background: #3b82f6;
  color: #ffffff;
}

body[data-network="AT_PREMIUM"] .plan-capacity-unit,
body[data-network="AT"] .plan-capacity-unit,
body[data-network="AT_PREMIUM"] .plan-expiry,
body[data-network="AT"] .plan-expiry {
  color: #bfdbfe;
}

body[data-network="AT_PREMIUM"] .plan-footer-row,
body[data-network="AT"] .plan-footer-row {
  border-top-color: rgba(59, 130, 246, 0.22);
}

/* AirtelTigo Base Cards */
body[data-network="AT_PREMIUM"] .bundle-glass-card,
body[data-network="AT"] .bundle-glass-card,
.bundle-glass-card[data-network="AT_PREMIUM"],
.bundle-glass-card[data-network="AT"] {
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.30) 0%, rgba(37, 99, 235, 0.18) 100%);
  border: 1.5px solid rgba(96, 165, 250, 0.55);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45), 0 0 22px rgba(59, 130, 246, 0.28);
}

body[data-network="AT_PREMIUM"] .bundle-glass-card:hover,
body[data-network="AT"] .bundle-glass-card:hover,
.bundle-glass-card[data-network="AT_PREMIUM"]:hover,
.bundle-glass-card[data-network="AT"]:hover {
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.40) 0%, rgba(37, 99, 235, 0.26) 100%);
  border-color: #3b82f6;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55), 0 0 30px rgba(59, 130, 246, 0.40);
}

/* AirtelTigo Popular Cards */
body[data-network="AT_PREMIUM"] .bundle-glass-card.popular,
body[data-network="AT"] .bundle-glass-card.popular,
.bundle-glass-card[data-network="AT_PREMIUM"].popular,
.bundle-glass-card[data-network="AT"].popular {
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.45) 0%, rgba(37, 99, 235, 0.30) 100%);
  border-color: #60a5fa;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.55), 0 0 32px rgba(59, 130, 246, 0.45);
}

body[data-network="AT_PREMIUM"] .bundle-glass-card.popular:hover,
body[data-network="AT"] .bundle-glass-card.popular:hover,
.bundle-glass-card[data-network="AT_PREMIUM"].popular:hover,
.bundle-glass-card[data-network="AT"].popular:hover {
  border-color: #93c5fd;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 40px rgba(59, 130, 246, 0.55);
}

/* AirtelTigo Selected State */
body[data-network="AT_PREMIUM"] .bundle-glass-card.selected,
body[data-network="AT"] .bundle-glass-card.selected,
.bundle-glass-card[data-network="AT_PREMIUM"].selected,
.bundle-glass-card[data-network="AT"].selected {
  background: radial-gradient(circle at 50% 25%, rgba(96, 165, 250, 0.60) 0%, rgba(59, 130, 246, 0.38) 100%);
  border-color: #93c5fd;
  box-shadow: 0 0 0 2px #93c5fd, 0 0 40px rgba(59, 130, 246, 0.75), 0 0 85px rgba(37, 99, 235, 0.50);
  z-index: 5;
}

body[data-network="AT_PREMIUM"] .inline-glass-drawer,
body[data-network="AT"] .inline-glass-drawer {
  background: rgba(10, 18, 34, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid #3b82f6;
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.85), 0 0 24px -4px rgba(59, 130, 246, 0.4);
}

body[data-network="AT_PREMIUM"] .drawer-summary-pill,
body[data-network="AT"] .drawer-summary-pill {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #bfdbfe;
}

body[data-network="AT_PREMIUM"] .buy-pill-btn,
body[data-network="AT"] .buy-pill-btn {
  background: #3b82f6;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.35);
}

body[data-network="AT_PREMIUM"] .buy-pill-btn:hover,
body[data-network="AT"] .buy-pill-btn:hover {
  background: #60a5fa;
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.55);
}

/* --------------------------------------------------------------------------
   4. CHECKERS CARDS (ELECTRIC CYAN THEME)
   -------------------------------------------------------------------------- */
.bundle-glass-card.checker-card,
.checker-card {
  background: linear-gradient(145deg, rgba(0, 210, 255, 0.25) 0%, rgba(14, 165, 233, 0.14) 100%) !important;
  border: 1.5px solid rgba(0, 210, 255, 0.45) !important;
  backdrop-filter: blur(24px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45), 0 0 20px rgba(0, 210, 255, 0.22);
}

.bundle-glass-card.checker-card:hover,
.checker-card:hover {
  border-color: rgba(0, 210, 255, 0.75) !important;
  background: linear-gradient(145deg, rgba(0, 210, 255, 0.35) 0%, rgba(14, 165, 233, 0.22) 100%) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55), 0 0 30px rgba(0, 210, 255, 0.38) !important;
}

.bundle-glass-card.checker-card.selected,
.checker-card.selected {
  background: radial-gradient(circle at 50% 25%, rgba(0, 210, 255, 0.55) 0%, rgba(14, 165, 233, 0.32) 100%) !important;
  border-color: var(--brand-cyan) !important;
  box-shadow: 0 0 0 2px var(--brand-cyan), 0 0 40px rgba(0, 210, 255, 0.75), 0 0 85px rgba(0, 210, 255, 0.50) !important;
  z-index: 5;
}

/* Card Internal Typography & Layout */
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.net-mini-pill {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 5px;
  transition: all 0.2s ease;
}

.card-chevron {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: none !important;
}

.bundle-glass-card.selected .card-chevron {
  transform: rotate(180deg);
}

.card-gb {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 10px 0 14px;
  color: #ffffff;
}

.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.price-glass-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 800;
  transition: all 0.2s ease;
}

.expiry-text {
  font-size: 0.72rem;
  font-weight: 600;
}

/* Inline Checkout Drawer (Solid Surface) */
.inline-glass-drawer {
  grid-column: 1 / -1;
  border-radius: 14px;
  padding: 22px;
  background: #081022;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  animation: none !important;
  transform: none !important;
  transition: none !important;
  will-change: auto;
}

@media (max-width: 640px) {
  .inline-glass-drawer {
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }
}

.drawer-summary-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 7px;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.drawer-form {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-error {
  padding: 8px 12px;
  border-radius: 8px;
  background: #2a1116;
  border: 1px solid #dc2626;
  color: #fca5a5;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  animation: shakeError 0.35s ease;
}

@keyframes shakeError {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-6px);
  }

  75% {
    transform: translateX(6px);
  }
}

.glass-input-pill {
  width: 100%;
  padding: 13px 16px;
  border-radius: 8px;
  background: #050a16;
  border: 1.5px solid #1a2947;
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 500;
  text-align: center;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.glass-input-pill::placeholder {
  color: var(--text-muted);
}

.glass-input-pill:focus {
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.25);
}

.drawer-row {
  display: flex;
  gap: 8px;
}

.buy-pill-btn {
  position: relative;
  padding: 13px 24px;
  border-radius: 8px;
  border: none;
  background: rgb(var(--accent-rgb));
  color: #070b14;
  font-size: 0.94rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(var(--accent-rgb), 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.buy-pill-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 6px 22px rgba(var(--accent-rgb), 0.55);
}

.buy-pill-btn:active {
  transform: scale(0.97);
}

.drawer-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-align: center;
}

/* Modern Frosted Obsidian Footer */
.footer-wrap {
  max-width: 896px;
  margin: 0 auto 36px;
  padding: 0 16px;
}

.footer-glass {
  border-radius: 16px;
  padding: 26px 24px 20px;
  background: rgba(24, 24, 27, 0.40);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  max-width: 260px;
}

.footer-tagline {
  font-size: 0.78rem;
  color: var(--text-sub);
  line-height: 1.5;
  margin-top: 10px;
}

.footer-nav-groups {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-cyan);
  margin-bottom: 4px;
}

.footer-link {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--text-sub);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--brand-cyan);
  text-shadow: 0 0 8px rgba(0, 210, 255, 0.4);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 16px;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 640px) {
  .footer-wrap {
    margin: 0 auto 24px !important;
    padding: 0 10px !important;
  }

  .footer-glass {
    padding: 16px 14px 12px !important;
    border-radius: 14px !important;
  }

  .footer-top {
    gap: 16px !important;
    padding-bottom: 14px !important;
  }

  .footer-brand {
    max-width: 100% !important;
    width: 100% !important;
  }

  .footer-brand .brand-title {
    font-size: 0.95rem !important;
  }

  .footer-brand .nav-logo-wrap {
    width: 28px !important;
    height: 28px !important;
    border-radius: 7px !important;
  }

  .footer-tagline {
    font-size: 0.72rem !important;
    margin-top: 6px !important;
    line-height: 1.4 !important;
    max-width: 320px !important;
  }

  .footer-nav-groups {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px 10px !important;
    width: 100% !important;
  }

  .footer-col {
    gap: 5px !important;
  }

  .footer-col-title {
    font-size: 0.65rem !important;
    margin-bottom: 2px !important;
  }

  .footer-link {
    font-size: 0.72rem !important;
    line-height: 1.3 !important;
  }

  .footer-badge {
    font-size: 0.62rem !important;
  }

  .footer-bottom {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-top: 10px !important;
    font-size: 0.68rem !important;
  }
}

@media (max-width: 380px) {
  .footer-nav-groups {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Modals (Track Order, Confirm Purchase) */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(3, 7, 16, 0.88);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  opacity: 0;
  transition: opacity 0.22s ease;
}

@media (min-width: 640px) {
  .modal-backdrop {
    align-items: center;
    padding: 16px;
  }
}

.modal-backdrop.open {
  display: flex;
  opacity: 1;
  animation: backdropFade 0.22s ease forwards;
}

@keyframes backdropFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.glass-modal {
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  border-radius: 16px 16px 0 0;
  padding: 22px;
  background: #081022;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(0, 210, 255, 0.35);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.95), 0 0 24px rgba(0, 210, 255, 0.15);
}

@media (min-width: 640px) {
  .glass-modal {
    border-radius: 14px;
  }
}

.modal-backdrop.open .glass-modal {
  animation: modalSpringUp 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalSpringUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.status-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 5px;
}

.status-completed {
  background: #072518;
  color: #34d399;
  border: 1px solid #15803d;
}

.status-pending,
.status-processing,
.status-queued {
  background: rgba(0, 210, 255, 0.12);
  color: var(--brand-cyan);
  border: 1px solid rgba(0, 210, 255, 0.4);
}

.status-waiting {
  background: #281907;
  color: #fcd34d;
  border: 1px solid #b45309;
}

.status-failed,
.status-cancelled {
  background: #2a1116;
  color: #fda4af;
  border: 1px solid #dc2626;
}

.view-section {
  display: none;
}

.view-section.active {
  display: block;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-sub);
  margin-bottom: 5px;
  font-weight: 600;
}

.input-glass {
  width: 100%;
  background: #050a16;
  border: 1.5px solid #1a2947;
  border-radius: 8px;
  padding: 11px 14px;
  color: #ffffff;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-glass:focus {
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.25);
}

.btn-primary {
  width: 100%;
  padding: 13px 20px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, #00d2ff 0%, #0284c7 100%);
  color: #040d21;
  font-weight: 800;
  font-size: 0.94rem;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 210, 255, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 210, 255, 0.55);
  filter: brightness(1.08);
}

.btn-primary:active {
  transform: scale(0.97);
}

.icon-btn {
  background: #0e1933;
  color: #ffffff;
  border: 1px solid rgba(0, 210, 255, 0.3);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.icon-btn:hover {
  background: rgba(0, 210, 255, 0.15);
  border-color: var(--brand-cyan);
  color: #ffffff;
}

.icon-btn:active {
  transform: scale(0.97);
}

.toast {
  position: fixed;
  top: 18px;
  right: 16px;
  left: 16px;
  max-width: 360px;
  margin: 0 auto;
  z-index: 150;
  padding: 12px 20px;
  border-radius: 8px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-120%) scale(0.92);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background: #081022;
  border: 1px solid rgba(0, 210, 255, 0.45);
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.85), 0 0 20px rgba(0, 210, 255, 0.3);
}

.toast.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* ==========================================================================
   LIGHT MODE STYLING (Default White / Light Appearance)
   ========================================================================== */
html[data-theme="light"] {
  color-scheme: light;
}

html[data-theme="light"] .header-nav-bar {
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.95) 0%, rgba(186, 230, 253, 0.90) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.65);
  box-shadow: 0 10px 30px -5px rgba(14, 165, 233, 0.22), 0 0 22px rgba(56, 189, 248, 0.20);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}

html[data-theme="light"] .brand-title {
  color: #0c4a6e;
  font-weight: 800;
}

html[data-theme="light"] .text-cyan-400 {
  color: #0284c7 !important;
}

html[data-theme="light"] .nav-switcher-bar {
  background: rgba(255, 255, 255, 0.80);
  border: 1px solid rgba(56, 189, 248, 0.45);
}

html[data-theme="light"] .nav-mode-btn {
  color: #0369a1;
}

html[data-theme="light"] .nav-mode-btn:hover {
  color: #0c4a6e;
  background: rgba(255, 255, 255, 0.5);
}

html[data-theme="light"] .nav-mode-btn.active {
  background: #ffffff !important;
  color: #0284c7 !important;
  border-color: rgba(56, 189, 248, 0.6) !important;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.20);
}

html[data-theme="light"] .header-theme-btn {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #0369a1;
  box-shadow: 0 2px 6px rgba(14, 165, 233, 0.12);
}

html[data-theme="light"] .header-theme-btn:hover {
  background: #ffffff;
  border-color: #0284c7;
  color: #0c4a6e;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.22);
}

html[data-theme="light"] .header-track-btn {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #0369a1;
  box-shadow: 0 2px 6px rgba(14, 165, 233, 0.12);
}

html[data-theme="light"] .header-track-btn:hover {
  background: #ffffff;
  border-color: #0284c7;
  color: #0c4a6e;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.22);
}

html[data-theme="light"] .header-track-btn svg {
  stroke: #0284c7;
}

html[data-theme="light"] #announcementWrap {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
}

html[data-theme="light"] .announcement-msg-part {
  color: #1e293b;
}

html[data-theme="light"] .announcement-msg-part strong {
  color: #047857;
}

html[data-theme="light"] .announcement-bullet {
  color: #059669;
}

html[data-theme="light"] #announcementWrap svg {
  stroke: #047857;
}

html[data-theme="light"] #announcementWrap button {
  color: #047857;
}

/* Light Mode Hero & Status Pill */
html[data-theme="light"] .status-pill {
  background: #ffffff;
  border: 1.5px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.12);
}

html[data-theme="light"] .hero-badge-text {
  color: #0c4a6e;
}

html[data-theme="light"] .hero-title,
html[data-theme="light"] .hero h1 {
  color: #0f172a;
}

html[data-theme="light"] .hero-highlight {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 50%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #0284c7;
}

html[data-theme="light"] .hero-subtitle,
html[data-theme="light"] .hero p {
  color: #475569;
}

/* Light Mode Network Switcher Bar */
html[data-theme="light"] .network-pill-bar {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .net-pill-btn {
  color: #64748b;
}

html[data-theme="light"] .net-pill-btn:hover {
  color: #0f172a;
  background: rgba(241, 245, 249, 0.85);
}

html[data-theme="light"] .net-pill-btn.active[data-tab="YELLO"],
html[data-theme="light"] .net-pill-btn.active[data-tab="MTN"] {
  background: #f59e0b;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

html[data-theme="light"] .net-pill-btn.active[data-tab="TELECEL"] {
  background: #e11d48;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35);
}

html[data-theme="light"] .net-pill-btn.active[data-tab="AT_PREMIUM"],
html[data-theme="light"] .net-pill-btn.active[data-tab="AT"] {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

html[data-theme="light"] .ambient-network-glow {
  opacity: 0.40;
  filter: blur(100px);
}

/* Light Mode Bundle Cards */
html[data-theme="light"] .bundle-glass-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .bundle-glass-card:hover {
  border-color: #cbd5e1;
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.10);
}

html[data-theme="light"] .plan-capacity-number {
  color: #0f172a;
}

html[data-theme="light"] .plan-capacity-unit {
  color: #64748b;
}

html[data-theme="light"] .plan-footer-row {
  border-top: 1px solid #f1f5f9;
}

html[data-theme="light"] .plan-expiry {
  color: #64748b;
}

html[data-theme="light"] .card-gb {
  color: #0f172a;
}

/* Light Mode - MTN Cards (Full Amber/Yellow Network Matching Glass) */
html[data-theme="light"] body[data-network="YELLO"] .plan-price,
html[data-theme="light"] body[data-network="MTN"] .plan-price {
  color: #78350f;
  font-weight: 900;
}

html[data-theme="light"] body[data-network="YELLO"] .plan-popular-badge,
html[data-theme="light"] body[data-network="MTN"] .plan-popular-badge {
  background: #78350f;
  color: #fef08a;
}

html[data-theme="light"] body[data-network="YELLO"] .plan-capacity-number,
html[data-theme="light"] body[data-network="MTN"] .plan-capacity-number {
  color: #713f12;
}

html[data-theme="light"] body[data-network="YELLO"] .plan-capacity-unit,
html[data-theme="light"] body[data-network="MTN"] .plan-capacity-unit,
html[data-theme="light"] body[data-network="YELLO"] .plan-expiry,
html[data-theme="light"] body[data-network="MTN"] .plan-expiry {
  color: #854d0e;
}

html[data-theme="light"] body[data-network="YELLO"] .plan-footer-row,
html[data-theme="light"] body[data-network="MTN"] .plan-footer-row {
  border-top-color: rgba(180, 83, 9, 0.35);
}

/* MTN Base Cards in Light Mode */
html[data-theme="light"] body[data-network="YELLO"] .bundle-glass-card,
html[data-theme="light"] body[data-network="MTN"] .bundle-glass-card,
html[data-theme="light"] .bundle-glass-card[data-network="YELLO"],
html[data-theme="light"] .bundle-glass-card[data-network="MTN"] {
  background: linear-gradient(145deg, #fffbeb 0%, #fef08a 38%, #facc15 100%);
  border: 2px solid #eab308;
  box-shadow: 0 4px 18px -2px rgba(234, 179, 8, 0.35), 0 0 16px rgba(250, 204, 21, 0.20);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}

html[data-theme="light"] body[data-network="YELLO"] .bundle-glass-card:hover,
html[data-theme="light"] body[data-network="MTN"] .bundle-glass-card:hover,
html[data-theme="light"] .bundle-glass-card[data-network="YELLO"]:hover,
html[data-theme="light"] .bundle-glass-card[data-network="MTN"]:hover {
  background: linear-gradient(145deg, #ffffff 0%, #fef08a 30%, #eab308 100%);
  border-color: #ca8a04;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -2px rgba(234, 179, 8, 0.45), 0 0 24px rgba(250, 204, 21, 0.35);
}

/* MTN Popular Cards in Light Mode */
html[data-theme="light"] body[data-network="YELLO"] .bundle-glass-card.popular,
html[data-theme="light"] body[data-network="MTN"] .bundle-glass-card.popular,
html[data-theme="light"] .bundle-glass-card[data-network="YELLO"].popular,
html[data-theme="light"] .bundle-glass-card[data-network="MTN"].popular {
  background: linear-gradient(145deg, #fef08a 0%, #facc15 45%, #eab308 100%);
  border: 2px solid #ca8a04;
  box-shadow: 0 8px 25px rgba(234, 179, 8, 0.45), 0 0 20px rgba(250, 204, 21, 0.30);
}

html[data-theme="light"] body[data-network="YELLO"] .bundle-glass-card.popular:hover,
html[data-theme="light"] body[data-network="MTN"] .bundle-glass-card.popular:hover,
html[data-theme="light"] .bundle-glass-card[data-network="YELLO"].popular:hover,
html[data-theme="light"] .bundle-glass-card[data-network="MTN"].popular:hover {
  background: linear-gradient(145deg, #fef9c3 0%, #facc15 40%, #ca8a04 100%);
  border-color: #a16207;
  box-shadow: 0 12px 32px rgba(234, 179, 8, 0.50), 0 0 28px rgba(250, 204, 21, 0.40);
}

/* MTN Selected Card in Light Mode */
html[data-theme="light"] body[data-network="YELLO"] .bundle-glass-card.selected,
html[data-theme="light"] body[data-network="MTN"] .bundle-glass-card.selected,
html[data-theme="light"] .bundle-glass-card[data-network="YELLO"].selected,
html[data-theme="light"] .bundle-glass-card[data-network="MTN"].selected {
  background: linear-gradient(135deg, #fef08a 0%, #facc15 50%, #eab308 100%);
  border: 2.5px solid #713f12;
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.50), 0 0 35px rgba(250, 204, 21, 0.65), 0 0 75px rgba(234, 179, 8, 0.40);
  z-index: 5;
}

html[data-theme="light"] body[data-network="YELLO"] .inline-glass-drawer,
html[data-theme="light"] body[data-network="MTN"] .inline-glass-drawer {
  background: #ffffff;
  border: 1.5px solid #f59e0b;
  box-shadow: 0 16px 40px -8px rgba(15, 23, 42, 0.12), 0 0 20px rgba(245, 158, 11, 0.15);
}

html[data-theme="light"] body[data-network="YELLO"] .drawer-summary-pill,
html[data-theme="light"] body[data-network="MTN"] .drawer-summary-pill {
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #92400e;
}

html[data-theme="light"] body[data-network="YELLO"] .buy-pill-btn,
html[data-theme="light"] body[data-network="MTN"] .buy-pill-btn {
  background: #f59e0b;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}

html[data-theme="light"] body[data-network="YELLO"] .buy-pill-btn:hover,
html[data-theme="light"] body[data-network="MTN"] .buy-pill-btn:hover {
  background: #d97706;
}

/* Light Mode - Telecel Cards (Full Rose/Red Network Matching Glass) */
html[data-theme="light"] body[data-network="TELECEL"] .plan-price {
  color: #881337;
  font-weight: 900;
}

html[data-theme="light"] body[data-network="TELECEL"] .plan-popular-badge {
  background: #881337;
  color: #ffe4e6;
}

html[data-theme="light"] body[data-network="TELECEL"] .plan-capacity-number {
  color: #881337;
}

html[data-theme="light"] body[data-network="TELECEL"] .plan-capacity-unit,
html[data-theme="light"] body[data-network="TELECEL"] .plan-expiry {
  color: #9f1239;
}

html[data-theme="light"] body[data-network="TELECEL"] .plan-footer-row {
  border-top-color: rgba(225, 29, 72, 0.35);
}

/* Telecel Base Cards in Light Mode */
html[data-theme="light"] body[data-network="TELECEL"] .bundle-glass-card,
html[data-theme="light"] .bundle-glass-card[data-network="TELECEL"] {
  background: linear-gradient(145deg, #fff1f2 0%, #fecdd3 38%, #fb7185 100%);
  border: 2px solid #f43f5e;
  box-shadow: 0 4px 18px -2px rgba(244, 63, 94, 0.35), 0 0 16px rgba(251, 113, 133, 0.20);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}

html[data-theme="light"] body[data-network="TELECEL"] .bundle-glass-card:hover,
html[data-theme="light"] .bundle-glass-card[data-network="TELECEL"]:hover {
  background: linear-gradient(145deg, #ffffff 0%, #fecdd3 30%, #f43f5e 100%);
  border-color: #e11d48;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -2px rgba(244, 63, 94, 0.45), 0 0 24px rgba(251, 113, 133, 0.35);
}

/* Telecel Popular Cards in Light Mode */
html[data-theme="light"] body[data-network="TELECEL"] .bundle-glass-card.popular,
html[data-theme="light"] .bundle-glass-card[data-network="TELECEL"].popular {
  background: linear-gradient(145deg, #fecdd3 0%, #fda4af 45%, #f43f5e 100%);
  border: 2px solid #e11d48;
  box-shadow: 0 8px 25px rgba(244, 63, 94, 0.45), 0 0 20px rgba(251, 113, 133, 0.30);
}

html[data-theme="light"] body[data-network="TELECEL"] .bundle-glass-card.popular:hover,
html[data-theme="light"] .bundle-glass-card[data-network="TELECEL"].popular:hover {
  background: linear-gradient(145deg, #ffe4e6 0%, #fda4af 40%, #e11d48 100%);
  border-color: #be123c;
  box-shadow: 0 12px 32px rgba(244, 63, 94, 0.50), 0 0 28px rgba(251, 113, 133, 0.40);
}

/* Telecel Selected Card in Light Mode */
html[data-theme="light"] body[data-network="TELECEL"] .bundle-glass-card.selected,
html[data-theme="light"] .bundle-glass-card[data-network="TELECEL"].selected {
  background: linear-gradient(135deg, #fecdd3 0%, #fb7185 50%, #f43f5e 100%);
  border: 2.5px solid #881337;
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.50), 0 0 35px rgba(244, 63, 94, 0.65), 0 0 75px rgba(225, 29, 72, 0.40);
  z-index: 5;
}

html[data-theme="light"] body[data-network="TELECEL"] .inline-glass-drawer {
  background: #ffffff;
  border: 1.5px solid #e11d48;
  box-shadow: 0 16px 40px -8px rgba(15, 23, 42, 0.12), 0 0 20px rgba(225, 29, 72, 0.15);
}

html[data-theme="light"] body[data-network="TELECEL"] .drawer-summary-pill {
  background: #ffe4e6;
  border: 1px solid #fecdd3;
  color: #9f1239;
}

html[data-theme="light"] body[data-network="TELECEL"] .buy-pill-btn {
  background: #e11d48;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.35);
}

html[data-theme="light"] body[data-network="TELECEL"] .buy-pill-btn:hover {
  background: #be123c;
}

/* Light Mode - AirtelTigo Cards (Full Royal Blue Network Matching Glass) */
html[data-theme="light"] body[data-network="AT_PREMIUM"] .plan-price,
html[data-theme="light"] body[data-network="AT"] .plan-price {
  color: #2563eb;
}

html[data-theme="light"] body[data-network="AT_PREMIUM"] .plan-popular-badge,
html[data-theme="light"] body[data-network="AT"] .plan-popular-badge {
  background: #2563eb;
  color: #ffffff;
}

html[data-theme="light"] body[data-network="AT_PREMIUM"] .plan-capacity-number,
html[data-theme="light"] body[data-network="AT"] .plan-capacity-number {
  color: #1e3a8a;
}

html[data-theme="light"] body[data-network="AT_PREMIUM"] .plan-capacity-unit,
html[data-theme="light"] body[data-network="AT"] .plan-capacity-unit,
html[data-theme="light"] body[data-network="AT_PREMIUM"] .plan-expiry,
html[data-theme="light"] body[data-network="AT"] .plan-expiry {
  color: #1e40af;
}

html[data-theme="light"] body[data-network="AT_PREMIUM"] .plan-footer-row,
html[data-theme="light"] body[data-network="AT"] .plan-footer-row {
  border-top-color: rgba(59, 130, 246, 0.30);
}

/* Light Mode - AirtelTigo Cards (Full Blue Network Matching Glass) */
html[data-theme="light"] body[data-network="AT_PREMIUM"] .plan-price,
html[data-theme="light"] body[data-network="AT"] .plan-price {
  color: #1e3a8a;
  font-weight: 900;
}

html[data-theme="light"] body[data-network="AT_PREMIUM"] .plan-popular-badge,
html[data-theme="light"] body[data-network="AT"] .plan-popular-badge {
  background: #1e3a8a;
  color: #dbeafe;
}

html[data-theme="light"] body[data-network="AT_PREMIUM"] .plan-capacity-number,
html[data-theme="light"] body[data-network="AT"] .plan-capacity-number {
  color: #1e3a8a;
}

html[data-theme="light"] body[data-network="AT_PREMIUM"] .plan-capacity-unit,
html[data-theme="light"] body[data-network="AT"] .plan-capacity-unit,
html[data-theme="light"] body[data-network="AT_PREMIUM"] .plan-expiry,
html[data-theme="light"] body[data-network="AT"] .plan-expiry {
  color: #1d4ed8;
}

html[data-theme="light"] body[data-network="AT_PREMIUM"] .plan-footer-row,
html[data-theme="light"] body[data-network="AT"] .plan-footer-row {
  border-top-color: rgba(37, 99, 235, 0.35);
}

/* AirtelTigo Base Cards in Light Mode */
html[data-theme="light"] body[data-network="AT_PREMIUM"] .bundle-glass-card,
html[data-theme="light"] body[data-network="AT"] .bundle-glass-card,
html[data-theme="light"] .bundle-glass-card[data-network="AT_PREMIUM"],
html[data-theme="light"] .bundle-glass-card[data-network="AT"] {
  background: linear-gradient(145deg, #eff6ff 0%, #bfdbfe 38%, #60a5fa 100%);
  border: 2px solid #3b82f6;
  box-shadow: 0 4px 18px -2px rgba(59, 130, 246, 0.35), 0 0 16px rgba(96, 165, 250, 0.20);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}

html[data-theme="light"] body[data-network="AT_PREMIUM"] .bundle-glass-card:hover,
html[data-theme="light"] body[data-network="AT"] .bundle-glass-card:hover,
html[data-theme="light"] .bundle-glass-card[data-network="AT_PREMIUM"]:hover,
html[data-theme="light"] .bundle-glass-card[data-network="AT"]:hover {
  background: linear-gradient(145deg, #ffffff 0%, #bfdbfe 30%, #3b82f6 100%);
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -2px rgba(59, 130, 246, 0.45), 0 0 24px rgba(96, 165, 250, 0.35);
}

/* AirtelTigo Popular Cards in Light Mode */
html[data-theme="light"] body[data-network="AT_PREMIUM"] .bundle-glass-card.popular,
html[data-theme="light"] body[data-network="AT"] .bundle-glass-card.popular,
html[data-theme="light"] .bundle-glass-card[data-network="AT_PREMIUM"].popular,
html[data-theme="light"] .bundle-glass-card[data-network="AT"].popular {
  background: linear-gradient(145deg, #bfdbfe 0%, #93c5fd 45%, #60a5fa 100%);
  border: 2px solid #2563eb;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.45), 0 0 20px rgba(96, 165, 250, 0.30);
}

html[data-theme="light"] body[data-network="AT_PREMIUM"] .bundle-glass-card.popular:hover,
html[data-theme="light"] body[data-network="AT"] .bundle-glass-card.popular:hover,
html[data-theme="light"] .bundle-glass-card[data-network="AT_PREMIUM"].popular:hover,
html[data-theme="light"] .bundle-glass-card[data-network="AT"].popular:hover {
  background: linear-gradient(145deg, #dbeafe 0%, #93c5fd 40%, #2563eb 100%);
  border-color: #1d4ed8;
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.50), 0 0 28px rgba(96, 165, 250, 0.40);
}

/* AirtelTigo Selected Card in Light Mode */
html[data-theme="light"] body[data-network="AT_PREMIUM"] .bundle-glass-card.selected,
html[data-theme="light"] body[data-network="AT"] .bundle-glass-card.selected,
html[data-theme="light"] .bundle-glass-card[data-network="AT_PREMIUM"].selected,
html[data-theme="light"] .bundle-glass-card[data-network="AT"].selected {
  background: linear-gradient(135deg, #bfdbfe 0%, #60a5fa 50%, #3b82f6 100%);
  border: 2.5px solid #1e3a8a;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.50), 0 0 35px rgba(59, 130, 246, 0.65), 0 0 75px rgba(37, 99, 235, 0.40);
  z-index: 5;
}

html[data-theme="light"] body[data-network="AT_PREMIUM"] .inline-glass-drawer,
html[data-theme="light"] body[data-network="AT"] .inline-glass-drawer {
  background: #ffffff;
  border: 1.5px solid #2563eb;
  box-shadow: 0 16px 40px -8px rgba(15, 23, 42, 0.12), 0 0 20px rgba(37, 99, 235, 0.15);
}

html[data-theme="light"] body[data-network="AT_PREMIUM"] .drawer-summary-pill,
html[data-theme="light"] body[data-network="AT"] .drawer-summary-pill {
  background: #dbeafe;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

html[data-theme="light"] body[data-network="AT_PREMIUM"] .buy-pill-btn,
html[data-theme="light"] body[data-network="AT"] .buy-pill-btn {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}

html[data-theme="light"] body[data-network="AT_PREMIUM"] .buy-pill-btn:hover,
html[data-theme="light"] body[data-network="AT"] .buy-pill-btn:hover {
  background: #1d4ed8;
}

/* Light Mode Inputs, Drawers & Checkers */
html[data-theme="light"] .glass-input-pill {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  color: #0f172a;
}

html[data-theme="light"] .glass-input-pill::placeholder {
  color: #94a3b8;
}

html[data-theme="light"] .drawer-sub {
  color: #64748b;
}

html[data-theme="light"] .drawer-error {
  background: #fef2f2;
  border-color: #f87171;
  color: #b91c1c;
}

html[data-theme="light"] .bundle-glass-card.checker-card,
html[data-theme="light"] .checker-card {
  background: linear-gradient(145deg, #f0fdf4 0%, #cffafe 38%, #38bdf8 100%) !important;
  border: 2px solid #0284c7 !important;
  box-shadow: 0 4px 18px -2px rgba(14, 165, 233, 0.35), 0 0 16px rgba(56, 189, 248, 0.20) !important;
}

html[data-theme="light"] .bundle-glass-card.checker-card:hover,
html[data-theme="light"] .checker-card:hover {
  background: linear-gradient(145deg, #ffffff 0%, #cffafe 30%, #38bdf8 100%) !important;
  border-color: #0369a1 !important;
  box-shadow: 0 10px 28px -2px rgba(14, 165, 233, 0.45), 0 0 24px rgba(56, 189, 248, 0.35) !important;
}

html[data-theme="light"] .bundle-glass-card.checker-card.selected,
html[data-theme="light"] .checker-card.selected {
  background: linear-gradient(135deg, #cffafe 0%, #7dd3fc 50%, #38bdf8 100%) !important;
  border: 2.5px solid #0c4a6e !important;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.50), 0 0 35px rgba(14, 165, 233, 0.65), 0 0 75px rgba(2, 132, 199, 0.40) !important;
  z-index: 5;
}

html[data-theme="light"] .glass,
html[data-theme="light"] .glass-pill {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.06);
  color: #0f172a;
}

/* Light Mode Modals & Toast */
html[data-theme="light"] .modal-backdrop {
  background: rgba(15, 23, 42, 0.65);
}

html[data-theme="light"] .glass-modal {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}

html[data-theme="light"] .glass-modal h3 {
  color: #0f172a;
}

html[data-theme="light"] .form-group label {
  color: #334155;
}

html[data-theme="light"] .input-glass {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  color: #0f172a;
}

html[data-theme="light"] .input-glass::placeholder {
  color: #94a3b8;
}

html[data-theme="light"] .icon-btn {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}

html[data-theme="light"] .icon-btn:hover {
  background: #e2e8f0;
}

html[data-theme="light"] .toast {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.18);
}

/* Light Mode Footer - matching the logo light blue */
html[data-theme="light"] .footer-glass {
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.95) 0%, rgba(186, 230, 253, 0.90) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.65);
  box-shadow: 0 12px 36px rgba(14, 165, 233, 0.16), 0 0 22px rgba(56, 189, 248, 0.15);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}

html[data-theme="light"] .footer-top {
  border-bottom: 1px solid rgba(56, 189, 248, 0.35);
}

html[data-theme="light"] .footer-brand .brand-title {
  color: #0c4a6e;
  font-weight: 800;
}

html[data-theme="light"] .footer-tagline {
  color: #075985;
}

html[data-theme="light"] .footer-col-title {
  color: #0284c7;
  font-weight: 800;
}

html[data-theme="light"] .footer-link {
  color: #0c4a6e;
  font-weight: 600;
}

html[data-theme="light"] .footer-link:hover {
  color: #0284c7;
}

html[data-theme="light"] .footer-bottom {
  color: #0369a1;
}

/* Light Mode Hamburger Button & Menu Drawer */
html[data-theme="light"] .header-menu-btn {
  background: rgba(255, 255, 255, 0.88);
  border: 1.5px solid rgba(56, 189, 248, 0.55);
  box-shadow: 0 2px 6px rgba(14, 165, 233, 0.12);
}

html[data-theme="light"] .header-menu-btn:hover {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.22);
}

html[data-theme="light"] .hamburger-bar {
  background: #0369a1;
}

html[data-theme="light"] .menu-drawer {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 249, 255, 0.94) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.65);
  box-shadow: 0 20px 50px -10px rgba(14, 165, 233, 0.25), 0 0 24px rgba(56, 189, 248, 0.15);
  color: #0f172a;
}

html[data-theme="light"] .menu-drawer-header {
  border-bottom-color: rgba(56, 189, 248, 0.3);
}

html[data-theme="light"] .menu-close-btn {
  background: rgba(224, 242, 254, 0.8);
  border-color: rgba(56, 189, 248, 0.4);
  color: #0369a1;
}

html[data-theme="light"] .menu-close-btn:hover {
  background: #ffffff;
  color: #0c4a6e;
}

html[data-theme="light"] .menu-card {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(203, 213, 225, 0.8);
}

html[data-theme="light"] .menu-card:hover {
  background: #ffffff;
  border-color: rgba(56, 189, 248, 0.8);
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.14);
}

html[data-theme="light"] .menu-card-title {
  color: #0c4a6e;
}

html[data-theme="light"] .menu-card-sub {
  color: #64748b;
}

html[data-theme="light"] .menu-arrow-icon {
  color: #0284c7;
}

html[data-theme="light"] .theme-pill-switch {
  background: rgba(226, 232, 240, 0.9);
  border-color: rgba(203, 213, 225, 0.9);
}

html[data-theme="light"] .menu-section-label {
  color: #0284c7;
}

html[data-theme="light"] .menu-service-btn {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(203, 213, 225, 0.8);
  color: #0c4a6e;
}

html[data-theme="light"] .menu-service-btn:hover {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.12);
}

html[data-theme="light"] .menu-tips-card {
  background: rgba(224, 242, 254, 0.65);
  border-color: rgba(56, 189, 248, 0.45);
  color: #075985;
}

html[data-theme="light"] .menu-header-link {
  color: #0284c7;
}

html[data-theme="light"] .drawer-order-item {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(203, 213, 225, 0.8);
}

html[data-theme="light"] .drawer-order-item:hover {
  background: #ffffff;
  border-color: rgba(56, 189, 248, 0.8);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.12);
}

html[data-theme="light"] .drawer-order-title {
  color: #0c4a6e;
}

html[data-theme="light"] .drawer-order-sub {
  color: #64748b;
}

html[data-theme="light"] .drawer-empty-orders {
  background: rgba(241, 245, 249, 0.8);
  border-color: rgba(203, 213, 225, 0.8);
  color: #64748b;
}

html[data-theme="light"] .menu-uptime-box {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(203, 213, 225, 0.8);
}

html[data-theme="light"] .uptime-net-name {
  color: #0c4a6e;
}

html[data-theme="light"] .uptime-tag {
  color: #64748b;
}

html[data-theme="light"] .menu-channel-card {
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.9) 0%, rgba(224, 242, 254, 0.85) 100%);
  border-color: rgba(16, 185, 129, 0.45);
}

html[data-theme="light"] .menu-channel-card:hover {
  background: linear-gradient(135deg, rgba(209, 250, 229, 0.95) 0%, rgba(186, 230, 253, 0.9) 100%);
  border-color: #10b981;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.22);
}

html[data-theme="light"] .channel-title {
  color: #064e3b;
}

html[data-theme="light"] .channel-sub {
  color: #047857;
}

html[data-theme="light"] .channel-icon-wrap {
  background: rgba(16, 185, 129, 0.25);
  border-color: rgba(16, 185, 129, 0.5);
}

/* Dark Mode Nav Bar & Footer with Electric Cyan/Blue Glass Glow */
html[data-theme="dark"] .header-nav-bar {
  background: rgba(10, 22, 40, 0.65);
  border: 1.5px solid rgba(0, 210, 255, 0.30);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 210, 255, 0.15);
}

html[data-theme="dark"] .footer-glass {
  background: rgba(10, 22, 40, 0.65);
  border: 1.5px solid rgba(0, 210, 255, 0.25);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.65), 0 0 20px rgba(0, 210, 255, 0.12);
}

/* ==========================================================================
   AI CUSTOMER SUPPORT CHAT WIDGET (Track & Help)
   ========================================================================== */

.ai-chat-container {
  position: fixed;
  bottom: 84px;
  right: 20px;
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Floating Trigger Button */
.ai-chat-trigger-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 9999px;
  background: #06b6d4;
  color: #020617;
  font-size: 0.875rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 28px -4px rgba(6, 182, 212, 0.5), 0 6px 14px -2px rgba(0, 0, 0, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-chat-trigger-btn:hover {
  background: #22d3ee;
  transform: scale(1.05);
  box-shadow: 0 16px 32px -4px rgba(6, 182, 212, 0.65);
}

.ai-chat-trigger-btn:active {
  transform: scale(0.95);
}

.ai-chat-trigger-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Chat Window */
.ai-chat-window {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100000;
  width: min(92vw, 400px);
  height: min(600px, 86vh);
  border-radius: 24px;
  background: rgba(9, 9, 11, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(6, 182, 212, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  animation: aiChatWindowPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes aiChatWindowPop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Chat Header */
.ai-chat-header {
  padding: 14px 16px;
  background: #18181b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.ai-chat-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-chat-bot-avatar {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: rgba(6, 182, 212, 0.2);
  color: #22d3ee;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(6, 182, 212, 0.3);
  flex-shrink: 0;
}

.ai-chat-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.ai-chat-subtitle {
  font-size: 10px;
  font-weight: 600;
  color: #34d399;
  margin: 2px 0 0;
  line-height: 1;
}

.ai-chat-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ai-chat-new-chat-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.7rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  touch-action: manipulation;
}

.ai-chat-new-chat-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.ai-chat-new-chat-btn:active {
  transform: scale(0.96);
}

html[data-theme="light"] .ai-chat-new-chat-btn {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}

html[data-theme="light"] .ai-chat-new-chat-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.ai-chat-stop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ef4444;
  border: none;
  color: #ffffff;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
  touch-action: manipulation;
  animation: pulse 1.5s infinite;
}

.ai-chat-stop-btn:hover {
  background: #dc2626;
  transform: scale(1.05);
}

.ai-chat-stop-btn:active {
  transform: scale(0.95);
}

.ai-chat-reset-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  margin: 4px auto 8px;
  transition: all 0.2s ease;
}

.ai-chat-reset-pill-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.35);
  color: #f87171;
}

.ai-chat-wa-header-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.35);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ai-chat-wa-header-pill:hover {
  background: #10b981;
  color: #022c22;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.4);
  transform: translateY(-1px);
}

.ai-chat-close-btn {
  padding: 6px;
  border-radius: 9999px;
  background: transparent;
  border: none;
  color: #a1a1aa;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.ai-chat-close-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* Chat Messages */
.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.78rem;
  scroll-behavior: smooth;
}

.ai-chat-messages::-webkit-scrollbar {
  width: 5px;
}

.ai-chat-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
}

/* Empty State & Suggestion System */
.ai-chat-empty-state {
  text-align: left;
  color: #cbd5e1;
  padding: 6px 2px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.ai-chat-intro-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.ai-chat-empty-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-chat-intro-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 2px 0;
}

.ai-chat-intro-desc {
  font-size: 0.72rem;
  line-height: 1.4;
  color: #94a3b8;
  margin: 0;
}

/* Reduced Sleek WhatsApp Support Banner */
.ai-chat-wa-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.22);
}

.ai-chat-wa-compact-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6ee7b7;
  font-size: 0.72rem;
  font-weight: 600;
}

.ai-chat-wa-compact-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
}

.ai-chat-agent-icons {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #10b981;
}

.ai-chat-wa-compact-btn:hover {
  color: #10b981;
  transform: translateX(1px);
}

/* Suggested Questions Box */
.ai-chat-suggestions-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ai-chat-suggestions-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.70rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ai-chat-chips-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ai-chat-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #e2e8f0;
  font-size: 0.75rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.ai-chat-chip:hover {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.4);
  color: #67e8f9;
  transform: translateX(2px);
}

.ai-chat-chip-icon {
  font-size: 0.85rem;
  flex-shrink: 0;
}

.ai-chat-active-wa-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.2);
  margin-top: 6px;
  font-size: 0.72rem;
  color: #94a3b8;
}

.ai-chat-inline-wa {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #34d399;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease;
}

.ai-chat-inline-wa:hover {
  color: #6ee7b7;
  text-decoration: underline;
}

/* Message Rows */
.ai-chat-msg-row {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.ai-chat-msg-row.user {
  justify-content: flex-end;
}

.ai-chat-msg-row.assistant {
  justify-content: flex-start;
}

.ai-chat-mini-bot {
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  background: #27272a;
  color: #22d3ee;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-chat-bubble {
  max-width: 80%;
  border-radius: 16px;
  padding: 10px 14px;
  line-height: 1.5;
  word-break: break-word;
}

.ai-chat-bubble.user {
  background: #06b6d4;
  color: #020617;
  font-weight: 500;
  border-bottom-right-radius: 3px;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.25);
}

.ai-chat-bubble.assistant {
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e4e4e7;
  border-bottom-left-radius: 3px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.ai-chat-bubble p {
  margin: 0 0 6px 0;
}

.ai-chat-bubble p:last-child {
  margin-bottom: 0;
}

.ai-chat-bubble strong {
  color: #ffffff;
}

.ai-chat-bubble ul {
  margin: 4px 0 6px 16px;
  padding: 0;
}

.ai-chat-bubble li {
  margin-bottom: 3px;
}

/* Loading State */
.ai-chat-loading-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a1a1aa;
  font-size: 0.72rem;
  padding: 0 16px 8px;
}

.ai-chat-spinner {
  animation: aiChatSpin 0.9s linear infinite;
  color: #22d3ee;
}

@keyframes aiChatSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Input Bar */
.ai-chat-input-bar {
  padding: 12px;
  background: #18181b;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.ai-chat-input-field {
  flex: 1;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.78rem;
  outline: none;
  transition: border-color 0.18s ease;
}

.ai-chat-input-field::placeholder {
  color: #71717a;
}

.ai-chat-input-field:focus {
  border-color: #22d3ee;
}

.ai-chat-send-btn {
  padding: 9px 11px;
  border-radius: 12px;
  background: #06b6d4;
  color: #020617;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}

.ai-chat-send-btn:hover:not(:disabled) {
  background: #22d3ee;
}

.ai-chat-send-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

@media (max-width: 480px) {
  .ai-chat-container {
    bottom: 78px;
    right: 16px;
  }

  .ai-chat-window {
    width: min(360px, calc(100vw - 28px));
    height: min(440px, 62vh);
    max-height: 440px;
    bottom: 16px;
    right: 14px;
    border-radius: 20px;
  }
}

/* ==========================================================================
   DATAMART LIVE DELIVERY TRACKER WIDGET (Bottom Right)
   ========================================================================== */

.dm-toggle,
#dm-tracker-toggle {
  right: 20px !important;
  left: auto !important;
  bottom: 20px !important;
  z-index: 9998 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
}

.dm-widget,
#dm-tracker-widget {
  right: 20px !important;
  left: auto !important;
  bottom: 20px !important;
  z-index: 100001 !important;
  max-width: calc(100vw - 40px);
}

@media (max-width: 480px) {

  .dm-toggle,
  #dm-tracker-toggle {
    right: 16px !important;
    left: auto !important;
    bottom: 16px !important;
  }

  .dm-widget,
  #dm-tracker-widget {
    right: 16px !important;
    left: auto !important;
    bottom: 16px !important;
    width: calc(100vw - 32px) !important;
  }
}

/* ==========================================================================
   ASK BOT PROACTIVE "NEED HELP?" TEASER (CUTE FLOATING SPEECH BUBBLE)
   ========================================================================== */
.header-askbot-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.askbot-teaser-popup {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transform-origin: top right;
  white-space: nowrap;
}

/* Upward pointer arrow pointing up toward Ask Bot button */
.askbot-teaser-tail {
  position: absolute;
  top: -5px;
  right: 28px;
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  transform: rotate(45deg);
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 2;
}

html[data-theme="dark"] .askbot-teaser-tail {
  background: #0f172a;
  border-top: 1px solid rgba(0, 210, 255, 0.35);
  border-left: 1px solid rgba(0, 210, 255, 0.35);
}

.askbot-teaser-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px 6px 12px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.12), 0 3px 10px -2px rgba(0, 0, 0, 0.06);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

html[data-theme="dark"] .askbot-teaser-pill {
  background: #0f172a;
  border: 1px solid rgba(0, 210, 255, 0.35);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 16px rgba(0, 210, 255, 0.2);
}

.askbot-teaser-popup:hover .askbot-teaser-pill {
  transform: translateY(1px);
  box-shadow: 0 14px 28px -4px rgba(0, 0, 0, 0.16);
}

html[data-theme="dark"] .askbot-teaser-popup:hover .askbot-teaser-pill {
  border-color: rgba(0, 210, 255, 0.6);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7), 0 0 22px rgba(0, 210, 255, 0.35);
}

.askbot-teaser-emoji {
  font-size: 0.85rem;
  line-height: 1;
  display: inline-block;
  animation: askBotWave 1.8s infinite ease-in-out;
  transform-origin: 70% 70%;
}

@keyframes askBotWave {

  0%,
  100% {
    transform: rotate(0deg);
  }

  20%,
  60% {
    transform: rotate(14deg);
  }

  40%,
  80% {
    transform: rotate(-8deg);
  }
}

.askbot-teaser-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

html[data-theme="dark"] .askbot-teaser-title {
  color: #f8fafc;
}

.askbot-teaser-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 9999px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  margin-left: 2px;
  transition: all 0.15s ease;
}

.askbot-teaser-close-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

html[data-theme="dark"] .askbot-teaser-close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* Animations */
.askbot-teaser-popup.animate-in {
  animation: askBotTeaserSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.askbot-teaser-popup.animate-out {
  animation: askBotTeaserSlideUp 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes askBotTeaserSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-8px) scale(0.95);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes askBotTeaserSlideUp {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateY(-6px) scale(0.95);
  }
}

/* ==========================================================================
   AI CONVERSATION BOX (THEME AWARE — CRISP WHITE IN LIGHT MODE)
   ========================================================================== */
html[data-theme="light"] .ai-chat-window {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.15), 0 0 25px rgba(2, 132, 199, 0.08);
}

html[data-theme="light"] .ai-chat-header {
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}

html[data-theme="light"] .ai-chat-title {
  color: #0f172a;
}

html[data-theme="light"] .ai-chat-close-btn {
  color: #64748b;
}

html[data-theme="light"] .ai-chat-close-btn:hover {
  color: #0f172a;
  background: #f1f5f9;
}

html[data-theme="light"] .ai-chat-messages {
  background: #f8fafc;
}

html[data-theme="light"] .ai-chat-intro-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

html[data-theme="light"] .ai-chat-wa-compact {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

html[data-theme="light"] .ai-chat-wa-compact-label {
  color: #166534;
}

html[data-theme="light"] .ai-chat-wa-compact-btn {
  color: #059669;
}

html[data-theme="light"] .ai-chat-wa-compact-btn:hover {
  color: #047857;
}

html[data-theme="light"] .ai-chat-intro-title {
  color: #0f172a;
}

html[data-theme="light"] .ai-chat-intro-desc {
  color: #64748b;
}

html[data-theme="light"] .ai-chat-suggestions-label {
  color: #64748b;
}

html[data-theme="light"] .ai-chat-chip {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #1e293b;
}

html[data-theme="light"] .ai-chat-chip:hover {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.35);
  color: #0284c7;
}

html[data-theme="light"] .ai-chat-bubble.assistant {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .ai-chat-bubble.assistant strong {
  color: #0f172a;
}

html[data-theme="light"] .ai-chat-bubble.user {
  background: #0284c7;
  color: #ffffff;
}

html[data-theme="light"] .ai-chat-input-bar {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}

html[data-theme="light"] .ai-chat-input-field {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #0f172a;
}

html[data-theme="light"] .ai-chat-input-field::placeholder {
  color: #94a3b8;
}

html[data-theme="light"] .ai-chat-mini-bot {
  background: #e2e8f0;
  color: #0284c7;
}

/* ==========================================================================
   ESTIMATED DELIVERY LIVE SPEED STATUS (Synced with DataMart)
   ========================================================================== */
.estimated-delivery-wrap {
  width: 100%;
  max-width: 540px;
  margin: 0 auto 1.25rem auto;
  padding: 0 0.75rem;
}

.estimated-delivery-card {
  border-radius: 1.1rem;
  padding: 0.75rem 1.25rem;
  text-align: center;
  transition: all 0.25s ease;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 4px 20px -2px rgba(2, 132, 199, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

html[data-theme="dark"] .estimated-delivery-card {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.est-del-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.est-del-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  display: inline-block;
  animation: estDelPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.est-del-dot.dot-good {
  background-color: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
}

.est-del-dot.dot-ok,
.est-del-dot.dot-slow {
  background-color: #f59e0b;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.7);
}

.est-del-dot.dot-bad {
  background-color: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.7);
}

@keyframes estDelPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

.est-del-headline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.est-del-headline.tone-good {
  color: #10b981;
}

html[data-theme="light"] .est-del-headline.tone-good {
  color: #059669;
}

.est-del-headline.tone-ok,
.est-del-headline.tone-slow {
  color: #f59e0b;
}

html[data-theme="light"] .est-del-headline.tone-ok,
html[data-theme="light"] .est-del-headline.tone-slow {
  color: #d97706;
}

.est-del-headline.tone-bad {
  color: #ef4444;
}

/* ==========================================================================
   MOBILE-FIRST NATIVE APP RESPONSIVE ENGINE (Screens <= 640px)
   ========================================================================== */
@media (max-width: 640px) {

  /* Safe-area insets & global mobile body spacing */
  body {
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }

  /* Compact Navbar */
  .header-wrap {
    padding: 6px 10px 4px !important;
  }

  .header-nav-bar {
    padding: 6px 10px !important;
    gap: 8px !important;
    border-radius: 14px !important;
  }

  .nav-logo-wrap {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
  }

  .brand-title {
    font-size: 0.92rem !important;
  }

  .support-btn {
    padding: 6px 10px !important;
    font-size: 0.72rem !important;
    gap: 4px !important;
  }

  .header-menu-btn {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
  }

  /* Cute "Need help?" speech bubble positioning */
  .askbot-teaser-popup {
    top: calc(100% + 8px) !important;
    right: 0 !important;
    max-width: calc(100vw - 24px) !important;
  }

  .askbot-teaser-tail {
    right: 22px !important;
  }

  /* Main Container */
  .main-container {
    padding: 8px 10px 80px !important;
  }

  /* Hero Section */
  .hero {
    gap: 10px !important;
    padding: 8px 8px 16px !important;
  }

  /* Mode Switcher (BUNDLES / WAEC & BECE) */
  .nav-switcher-bar {
    padding: 3px !important;
    border-radius: 12px !important;
  }

  .nav-mode-btn {
    padding: 6px 14px !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.04em !important;
  }

  /* Hero Titles */
  .hero-title,
  .hero h1 {
    font-size: 1.55rem !important;
    line-height: 1.2 !important;
  }

  .hero-subtitle,
  .hero p {
    font-size: 0.80rem !important;
    line-height: 1.4 !important;
    max-width: 310px !important;
    margin: 0 auto !important;
  }

  /* Estimated Delivery Speed Card */
  .estimated-delivery-wrap {
    margin: 0 auto 0.9rem auto !important;
    padding: 0 4px !important;
  }

  .estimated-delivery-card {
    padding: 0.65rem 0.9rem !important;
    border-radius: 13px !important;
  }

  .est-del-header {
    font-size: 0.64rem !important;
    margin-bottom: 0.2rem !important;
  }

  .est-del-headline {
    font-size: 0.80rem !important;
    gap: 0.3rem !important;
  }

  /* Network Pill Bar (MTN / Telecel / AirtelTigo) — Full equal distribution */
  #networkSwitcherWrap {
    width: 100% !important;
    margin-bottom: 16px !important;
  }

  .network-pill-bar {
    width: 100% !important;
    max-width: 360px !important;
    display: flex !important;
    padding: 4px !important;
    border-radius: 14px !important;
    gap: 4px !important;
    margin: 0 auto 16px !important;
  }

  .net-pill-btn {
    flex: 1 1 0% !important;
    padding: 8px 4px !important;
    font-size: 0.76rem !important;
    border-radius: 10px !important;
    text-align: center !important;
    justify-content: center !important;
  }

  /* Bundles Grid */
  .bundles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    padding: 0 2px !important;
  }

  .bundle-glass-card {
    padding: 12px 10px 10px !important;
    border-radius: 15px !important;
    min-height: 102px !important;
  }

  .plan-capacity-row {
    margin-bottom: 4px !important;
  }

  .plan-capacity-number {
    font-size: 1.65rem !important;
  }

  .plan-capacity-unit {
    font-size: 11px !important;
  }

  .plan-footer-row {
    margin-top: 8px !important;
    padding-top: 6px !important;
  }

  .plan-price {
    font-size: 0.92rem !important;
  }

  .plan-expiry {
    font-size: 10px !important;
  }

  .plan-popular-badge {
    top: 8px !important;
    right: 8px !important;
    font-size: 8px !important;
    padding: 2px 6px !important;
  }

  /* Inline Checkout Drawer (Bottom Sheet feel inside grid) */
  .inline-glass-drawer {
    padding: 14px 12px !important;
    border-radius: 16px !important;
    margin: 4px 0 !important;
  }

  .drawer-summary-pill {
    font-size: 0.74rem !important;
    padding: 5px 12px !important;
  }

  /* Inputs: Font-size 16px strictly prevents aggressive iOS Safari viewport zoom */
  .inline-glass-drawer input,
  .glass-modal input,
  .ai-chat-input-field {
    font-size: 16px !important;
    height: 44px !important;
    border-radius: 10px !important;
  }

  .inline-glass-drawer .buy-pill-btn {
    height: 48px !important;
    font-size: 0.92rem !important;
    border-radius: 12px !important;
  }

  /* Checkers Grid */
  .checkers-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .checker-card {
    padding: 14px !important;
    border-radius: 15px !important;
  }

  /* Bottom Modals (Native Sheet feel) */
  .modal-backdrop {
    align-items: flex-end !important;
    padding: 0 !important;
  }

  .glass-modal {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 20px 20px 0 0 !important;
    padding: 20px 16px max(20px, env(safe-area-inset-bottom)) !important;
    max-height: 85vh !important;
  }

  /* Chat Window on Mobile - Reduced to avoid taking the whole screen */
  .ai-chat-window {
    width: min(350px, calc(100vw - 24px)) !important;
    height: min(420px, 58vh) !important;
    max-height: 420px !important;
    bottom: 12px !important;
    right: 12px !important;
    border-radius: 18px !important;
  }

  .ai-chat-header {
    padding: 10px 12px !important;
  }

  .ai-chat-messages {
    padding: 12px 10px !important;
    gap: 8px !important;
  }

  .ai-chat-input-bar {
    padding: 8px 10px !important;
  }

  .ai-chat-input-field {
    height: 38px !important;
    font-size: 14px !important;
    padding: 0 10px !important;
  }
}

/* Very Small Mobile Screens (<= 375px e.g. iPhone SE) */
@media (max-width: 375px) {
  .ai-chat-window {
    width: calc(100vw - 16px) !important;
    height: min(390px, 55vh) !important;
    max-height: 390px !important;
    bottom: 8px !important;
    right: 8px !important;
  }

  .brand-title {
    font-size: 0.84rem !important;
  }

  .hero-title,
  .hero h1 {
    font-size: 1.40rem !important;
  }

  .net-pill-btn {
    font-size: 0.72rem !important;
    padding: 7px 2px !important;
  }

  .plan-capacity-number {
    font-size: 1.5rem !important;
  }

  .plan-price {
    font-size: 0.88rem !important;
  }
}

/* ==========================================================================
   MOBILE SCROLLING OPTIMIZATIONS & MODAL FIXES
   ========================================================================== */

/* Disable smooth scrolling on touch devices so momentum scrolling never pauses */
@media (hover: none) and (pointer: coarse) {

  html,
  body {
    scroll-behavior: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}

/* Sheet Drag Handle for Mobile Modals */
.modal-sheet-handle-wrap {
  display: none;
  width: 100%;
  padding-bottom: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

@media (max-width: 640px) {
  .modal-sheet-handle-wrap {
    display: flex;
  }
}

.modal-sheet-handle {
  width: 44px;
  height: 5px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.25);
  transition: background 0.15s ease;
}

html[data-theme="light"] .modal-sheet-handle {
  background: #cbd5e1;
}

.modal-header-sticky {
  position: sticky;
  top: -22px;
  margin: -22px -22px 14px -22px;
  padding: 18px 22px 12px 22px;
  background: #081022;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 14px 14px 0 0;
}

@media (max-width: 640px) {
  .modal-header-sticky {
    top: -20px;
    margin: -20px -16px 14px -16px;
    padding: 14px 16px 10px 16px;
    border-radius: 20px 20px 0 0;
  }
}

html[data-theme="light"] .modal-header-sticky {
  background: #ffffff;
  border-bottom-color: #e2e8f0;
}

/* Touch-Friendly Modal Close Button (min 42px tap target) */
.modal-close-btn {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: manipulation;
  transition: all 0.15s ease;
}

.modal-close-btn:hover,
.modal-close-btn:active {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  transform: scale(0.96);
}

html[data-theme="light"] .modal-close-btn {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #475569;
}

html[data-theme="light"] .modal-close-btn:hover,
html[data-theme="light"] .modal-close-btn:active {
  background: #e2e8f0;
  color: #0f172a;
}

/* Floating Track Your Order Widget */
.floating-track-btn {
  position: fixed;
  bottom: 22px;
  right: 20px;
  z-index: 85;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 12px;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.95), rgba(14, 165, 233, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 30px -5px rgba(6, 182, 212, 0.45), 0 0 15px rgba(6, 182, 212, 0.25);
  cursor: pointer;
  touch-action: manipulation;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.floating-track-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 35px -5px rgba(6, 182, 212, 0.6), 0 0 20px rgba(6, 182, 212, 0.35);
  background: linear-gradient(135deg, rgba(6, 182, 212, 1), rgba(2, 132, 199, 0.95));
}

.floating-track-btn:active {
  transform: scale(0.96);
}

.floating-track-icon-wrap {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-track-pulse {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulseBeacon 2s infinite;
}

@keyframes pulseBeacon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.floating-track-text {
  white-space: nowrap;
}

html[data-theme="light"] .floating-track-btn {
  background: linear-gradient(135deg, #0284c7, #0891b2);
  box-shadow: 0 10px 25px -4px rgba(2, 132, 199, 0.4);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

@media (max-width: 480px) {
  .floating-track-btn {
    bottom: 18px;
    right: 16px;
    padding: 8px 14px 8px 10px;
    font-size: 0.8rem;
  }
}

/* Track Order Mode Switcher Buttons (Light + Dark Mode Ready) */
.track-mode-pill-btn {
  flex: 1;
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  color: var(--text-sub);
  transition: all 0.2s ease;
  touch-action: manipulation;
}

.track-mode-pill-btn.active {
  background: rgba(0, 210, 255, 0.25);
  color: #ffffff;
}

html[data-theme="light"] .track-mode-pill-btn {
  color: #64748b;
}

html[data-theme="light"] .track-mode-pill-btn.active {
  background: #0284c7;
  color: #ffffff;
}

/* ==========================================================================
   APP SPLASH SCREEN & OFFLINE SHIELD
   ========================================================================== */

.app-splash-screen {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #070b14;
  color: #f8fafc;
  overflow: hidden;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
}

html[data-theme="light"] .app-splash-screen {
  background: #f8fafc;
  color: #0f172a;
}

.app-splash-screen.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.app-splash-ambient {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, rgba(14, 165, 233, 0.05) 50%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  animation: splashAmbientPulse 4s ease-in-out infinite alternate;
}

html[data-theme="light"] .app-splash-ambient {
  background: radial-gradient(circle, rgba(6, 182, 212, 0.22) 0%, rgba(14, 165, 233, 0.08) 50%, transparent 70%);
}

@keyframes splashAmbientPulse {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.app-splash-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
  max-width: 360px;
  width: 100%;
}

.app-splash-logo-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.app-splash-ring-outer {
  position: absolute;
  inset: -10px;
  border-radius: 30px;
  border: 2px dashed rgba(6, 182, 212, 0.35);
  animation: splashRotateRing 12s linear infinite;
}

.app-splash-ring-inner {
  position: absolute;
  inset: -4px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.4), rgba(14, 165, 233, 0.1));
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.3);
  animation: splashInnerPulse 2s ease-in-out infinite alternate;
}

.app-splash-logo-img {
  position: relative;
  z-index: 3;
  width: 76px;
  height: 76px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  animation: splashLogoPop 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

@keyframes splashInnerPulse {
  0% { transform: scale(0.98); opacity: 0.5; }
  100% { transform: scale(1.04); opacity: 0.9; }
}

@keyframes splashLogoPop {
  0% { transform: scale(0.7) translateY(10px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.app-splash-brand {
  margin-bottom: 24px;
}

.app-splash-brand-title {
  display: block;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.app-splash-tagline {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-top: 4px;
}

html[data-theme="light"] .app-splash-tagline {
  color: #64748b;
}

.app-splash-status-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-splash-progress-track {
  width: 140px;
  height: 4px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
  margin-bottom: 12px;
}

html[data-theme="light"] .app-splash-progress-track {
  background: rgba(0, 0, 0, 0.08);
}

.app-splash-progress-bar {
  width: 45%;
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #06b6d4, #3b82f6);
  position: absolute;
  top: 0;
  left: 0;
  animation: splashIndeterminate 1.4s ease-in-out infinite;
}

@keyframes splashIndeterminate {
  0% { left: -45%; width: 30%; }
  50% { width: 50%; }
  100% { left: 100%; width: 30%; }
}

.app-splash-status-text {
  font-size: 0.78rem;
  font-weight: 500;
  color: #94a3b8;
  margin: 0;
}

html[data-theme="light"] .app-splash-status-text {
  color: #64748b;
}

/* Offline Shield State */
.app-splash-offline-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: splashFadeIn 0.3s ease-out;
}

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

.app-splash-offline-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.app-splash-offline-sub {
  font-size: 0.78rem;
  color: #94a3b8;
  max-width: 270px;
  margin: 0 0 16px 0;
  line-height: 1.45;
}

html[data-theme="light"] .app-splash-offline-sub {
  color: #64748b;
}

.app-splash-offline-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 240px;
}

.app-splash-retry-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 10px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #06b6d4, #0284c7);
  border: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px -4px rgba(6, 182, 212, 0.45);
  transition: all 0.2s ease;
  touch-action: manipulation;
}

.app-splash-retry-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -4px rgba(6, 182, 212, 0.6);
}

.app-splash-retry-btn:active {
  transform: scale(0.97);
}

.app-splash-cached-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  touch-action: manipulation;
}

html[data-theme="light"] .app-splash-cached-btn {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
  color: #475569;
}

.app-splash-cached-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}


/* ==========================================================================
   ABOUT US MODAL STYLES (Clean Frosted Card Design)
   ========================================================================== */

.about-modal-card {
  max-width: 440px !important;
}

.about-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
}

html[data-theme="light"] .about-modal-header {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.about-modal-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-logo-wrap {
  width: 36px !important;
  height: 36px !important;
  border-radius: 9px !important;
  flex-shrink: 0;
}

.about-modal-title {
  font-size: 1rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
}

.about-modal-sub {
  font-size: 0.72rem;
  color: var(--text-sub);
  margin: 2px 0 0;
}

.about-modal-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-badge-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 12px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.22);
}

html[data-theme="light"] .about-badge-card {
  background: #f0fdfa;
  border-color: #99f6e4;
}

.about-badge-icon {
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
}

.about-badge-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #22d3ee;
  margin-bottom: 3px;
}

html[data-theme="light"] .about-badge-title {
  color: #0d9488;
}

.about-badge-desc {
  font-size: 0.74rem;
  color: #94a3b8;
  line-height: 1.45;
}

html[data-theme="light"] .about-badge-desc {
  color: #475569;
}

.about-section-heading {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-cyan);
  margin-bottom: 8px;
}

html[data-theme="light"] .about-section-heading {
  color: #0284c7;
}

.about-features-grid {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.74rem;
  color: #cbd5e1;
  line-height: 1.4;
}

html[data-theme="light"] .about-feature-item {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #334155;
}

.about-feature-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #06b6d4;
  margin-top: 6px;
  flex-shrink: 0;
}

.about-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2px;
}

html[data-theme="light"] .about-modal-footer {
  border-top-color: rgba(0, 0, 0, 0.08);
}

.about-support-link {
  font-size: 0.75rem;
  color: var(--text-sub);
  text-decoration: none;
  transition: color 0.15s ease;
}

.about-support-link strong {
  color: #34d399;
}

.about-support-link:hover {
  color: #ffffff;
}

html[data-theme="light"] .about-support-link {
  color: #475569;
}

html[data-theme="light"] .about-support-link strong {
  color: #059669;
}

.about-close-btn {
  height: 34px !important;
  padding: 0 16px !important;
  font-size: 0.78rem !important;
  border-radius: 9px !important;
}


/* Save Number & Saved Number Picker Controls - Compact & Cute */
.saved-number-picker-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 4px 6px 4px 10px;
  margin: 0 0 2px 0;
  background: rgba(var(--accent-rgb), 0.06);
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 999px;
  animation: fadeIn 0.2s ease;
}

.saved-number-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.69rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-sub);
  transition: all 0.15s ease;
  line-height: 1.3;
}

.saved-number-pill-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.saved-number-pill-btn.active {
  background: rgb(var(--accent-rgb));
  border-color: rgb(var(--accent-rgb));
  color: #070b14 !important;
  font-weight: 800;
  box-shadow: 0 1px 6px rgba(var(--accent-rgb), 0.35);
}

html[data-theme="light"] .saved-number-picker-bar {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .saved-number-pill-btn {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.03);
  color: #475569;
}

html[data-theme="light"] .saved-number-pill-btn.active {
  background: rgb(var(--accent-rgb));
  border-color: rgb(var(--accent-rgb));
  color: #070b14 !important;
}

.forget-number-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 999px;
  transition: all 0.15s;
  opacity: 0.75;
}

.forget-number-btn:hover {
  color: #ef4444;
  opacity: 1;
}

.save-number-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 3px 6px;
  margin-top: -2px;
  user-select: none;
}

.save-number-toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-sub);
  cursor: pointer;
  margin: 0;
  letter-spacing: -0.01em;
}

.save-number-toggle-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.2px solid rgba(255, 255, 255, 0.28);
  cursor: pointer;
  display: grid;
  place-content: center;
  margin: 0;
  transition: all 0.15s ease;
}

html[data-theme="light"] .save-number-toggle-label input[type="checkbox"] {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.28);
}

.save-number-toggle-label input[type="checkbox"]:checked {
  background: rgb(var(--accent-rgb));
  border-color: rgb(var(--accent-rgb));
}

.save-number-toggle-label input[type="checkbox"]:checked::before {
  content: "✓";
  color: #070b14;
  font-size: 9.5px;
  font-weight: 900;
  line-height: 1;
}


/* ==========================================================================
   MOBILE PERFORMANCE & INSTANT TOUCH OPTIMIZATIONS
   ========================================================================== */
html {
  -webkit-tap-highlight-color: transparent !important;
  scroll-behavior: smooth;
}

button, a, input, select, textarea, [role="button"] {
  touch-action: manipulation;
}

/* Fast modal close state */
.modal-backdrop:not(.open) {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: none !important;
  animation: none !important;
}

.modal-backdrop:not(.open) .glass-modal {
  transition: none !important;
  animation: none !important;
}

.modal-backdrop.open .glass-modal {
  animation: modalSpringUp 0.16s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Non-blocking splash screen & GPU-light mobile rendering */
.app-splash-screen {
  pointer-events: none !important;
  transition: none !important;
}

.app-splash-screen.fade-out {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.app-splash-ambient,
.app-splash-ring-outer,
.app-splash-ring-inner {
  animation: none !important;
  filter: none !important;
}

@media (max-width: 768px) {
  .glow-orb,
  .ambient-network-glow {
    display: none !important;
  }
  #announcementWrap,
  .header-nav-bar,
  .bundle-glass-card,
  .checker-card,
  .inline-glass-drawer,
  .menu-drawer,
  .menu-backdrop,
  .ai-chat-window,
  .footer-glass {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  html[data-theme="dark"] .header-nav-bar {
    background: rgba(10, 22, 40, 0.96) !important;
  }
  html[data-theme="light"] .header-nav-bar {
    background: rgba(255, 255, 255, 0.98) !important;
  }
  html[data-theme="dark"] .menu-drawer {
    background: #0a1628 !important;
  }
  html[data-theme="light"] .menu-drawer {
    background: #ffffff !important;
  }
  /* Compact Saved Number Pill Bar & Save Checkbox on Mobile */
  .saved-number-picker-bar {
    padding: 4px 8px !important;
    gap: 4px !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
  }
  .saved-number-pill-btn {
    padding: 4px 8px !important;
    font-size: 0.7rem !important;
    white-space: nowrap !important;
    min-height: 26px !important;
  }
  .forget-number-btn {
    font-size: 0.68rem !important;
    padding: 3px 6px !important;
    white-space: nowrap !important;
  }
  .save-number-toggle-wrap {
    padding: 2px 4px !important;
    margin-top: -1px !important;
  }
  .save-number-toggle-label {
    font-size: 0.74rem !important;
    gap: 6px !important;
    padding: 2px 6px !important;
  }
  .save-number-toggle-label input[type="checkbox"] {
    width: 15px !important;
    height: 15px !important;
  }
  /* Confirm Purchase Modal on Mobile */
  #confirmPurchaseModal {
    align-items: center !important;
    padding: 14px !important;
  }
  #confirmPurchaseModal .glass-modal {
    border-radius: 18px !important;
    max-width: 350px !important;
    padding: 18px 16px !important;
  }
  /* Top-anchored Ask Bot Window on Mobile */
  .ai-chat-window {
    top: 66px !important;
    bottom: auto !important;
    right: 10px !important;
    left: 10px !important;
    width: calc(100vw - 20px) !important;
    height: min(430px, calc(100dvh - 84px)) !important;
    max-height: calc(100dvh - 84px) !important;
    border-radius: 18px !important;
  }
  .ai-chat-input-field {
    font-size: 16px !important;
    height: 40px !important;
  }
}

/* Secondary Button & Cancel Pill */
.btn-secondary,
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd5e1;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  touch-action: manipulation;
  transition: all 0.15s ease;
}

.btn-secondary:hover,
.btn-secondary:active,
.pill-btn:hover,
.pill-btn:active {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  transform: scale(0.98);
}

html[data-theme="light"] .btn-secondary,
html[data-theme="light"] .pill-btn {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #475569;
}

html[data-theme="light"] .btn-secondary:hover,
html[data-theme="light"] .btn-secondary:active,
html[data-theme="light"] .pill-btn:hover,
html[data-theme="light"] .pill-btn:active {
  background: #e2e8f0;
  color: #0f172a;
}

/* Position Ask Bot chat window from top under the header Ask Bot button */
.ai-chat-window {
  top: 76px !important;
  bottom: auto !important;
  right: 16px !important;
  transform-origin: top right !important;
  animation: aiChatDropdownPop 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes aiChatDropdownPop {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Pay Button Loading Animation */
.btn-pay-loading {
  position: relative;
  pointer-events: none !important;
  opacity: 0.92;
  cursor: wait !important;
  animation: pulsePay 1.2s infinite ease-in-out;
}

@keyframes pulsePay {
  0%, 100% {
    filter: brightness(1);
    transform: scale(1);
  }
  50% {
    filter: brightness(1.15);
    transform: scale(0.98);
  }
}

.btn-pay-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(0, 0, 0, 0.25);
  border-top-color: #000000;
  border-radius: 50%;
  animation: spinPay 0.6s linear infinite;
  margin-right: 6px;
  vertical-align: middle;
}

@keyframes spinPay {
  to { transform: rotate(360deg); }
}
