/* ===================================================================
   LINKO COMMUNICATION - TECHNICAL DESIGN SYSTEM & STYLESHEET
   Engineered for ISP Carrier-Grade Web Aesthetics
   Theme: Modern Clean Technical Light Theme (#FFFFFF, #F8FAFC, #0084FF)
   Brand Colors derived from Linko Logo: Royal Blue & Electric Cyan
   =================================================================== */

:root {
  /* Clean Light Theme Palette */
  --bg-darkest: #F1F6FD;
  --bg-primary: #F8FAFC;
  --bg-secondary: #FFFFFF;
  --bg-surface: #F1F5F9;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-card-hover: #FFFFFF;
  
  /* Brand Tech Colors (from Linko Logo) */
  --brand-blue: #0066EE;
  --brand-electric: #0084FF;
  --brand-cyan: #00A3FF;
  --brand-glow: rgba(0, 102, 238, 0.25);
  --brand-dark-blue: #0A2558;
  
  /* Status & Functional */
  --status-online: #10B981;
  --status-warning: #D97706;
  --status-danger: #EF4444;
  --status-info: #0284C7;

  /* Typography */
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', var(--font-main);
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* High Contrast Text Colors for Light Theme */
  --text-white: #0A1629;       /* Deep Slate Heading */
  --text-main: #334155;        /* Neutral Slate Body */
  --text-muted: #64748B;       /* Subtext & Descriptions */
  --text-dim: #94A3B8;         /* Subtle Metadata */
  
  /* Borders & Shadows */
  --border-subtle: rgba(0, 102, 238, 0.12);
  --border-bright: rgba(0, 132, 255, 0.4);
  --glass-border: 1px solid rgba(0, 102, 238, 0.12);
  --card-shadow: 0 12px 35px -8px rgba(0, 48, 120, 0.07), 0 2px 10px rgba(0, 0, 0, 0.02);
  --glow-shadow: 0 0 25px rgba(0, 102, 238, 0.18);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: clip;
  position: relative;
  min-height: 100vh;
  padding-top: 88px;
  /* Luminous high-tech light blue-white gradient background */
  background: radial-gradient(circle at 50% -10%, #D8ECFF 0%, #EEF6FF 40%, #F8FAFC 85%);
  color: var(--text-main);
}

section[id], .section {
  scroll-margin-top: 96px;
}

/* Background Animated Canvas */
#network-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-white);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.text-cyan { color: var(--brand-blue) !important; }
.text-blue { color: var(--brand-electric) !important; }
.text-green { color: var(--status-online) !important; }
.text-yellow { color: var(--status-warning) !important; }
.text-white { color: var(--text-white) !important; }

.gradient-text {
  background: linear-gradient(135deg, #0A1629 0%, #0052CC 45%, #0084FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-glow-cyan {
  color: var(--brand-blue);
  text-shadow: 0 0 10px rgba(0, 102, 238, 0.3);
}

.text-center { text-align: center; }

/* Sub-Badges */
.sub-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue);
  background: rgba(0, 102, 238, 0.08);
  border: 1px solid rgba(0, 102, 238, 0.22);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

/* ===================================================================
   NAVIGATION BAR (STICKY / FIXED ON SCROLL)
   =================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 102, 238, 0.12);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 102, 238, 0.2);
  box-shadow: 0 10px 30px rgba(0, 48, 120, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

.brand-link {
  display: flex;
  align-items: center;
  transition: transform var(--transition-fast);
}
.brand-link:hover {
  transform: scale(1.02);
}

.brand-logo {
  height: 68px;
  max-height: 72px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-item {
  color: #475569;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--transition-fast);
}

.nav-item:hover, .nav-item.active {
  color: var(--brand-blue);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
  transition: width var(--transition-smooth);
  border-radius: 2px;
}

.nav-item:hover::after, .nav-item.active::after {
  width: 100%;
}

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

.mobile-nav-actions {
  display: none;
}

.mobile-toggle {
  display: none;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.95rem 0.45rem 0.85rem;
  height: 40px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 248, 255, 0.92) 100%);
  border: 1.5px solid rgba(0, 102, 238, 0.22);
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 70, 180, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.mobile-toggle:hover {
  background: linear-gradient(135deg, #FFFFFF 0%, #EEF6FF 100%);
  border-color: var(--brand-blue);
  box-shadow: 0 6px 18px rgba(0, 102, 238, 0.18), 0 0 10px rgba(0, 163, 255, 0.2);
  transform: translateY(-1px);
}

.mobile-toggle:active {
  transform: scale(0.96);
}

.toggle-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end; /* Asymmetric modern tech alignment */
  gap: 4px;
  width: 20px;
  height: 16px;
  position: relative;
}

.toggle-icon .bar {
  display: block;
  height: 2.2px;
  border-radius: 9999px;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Tiered Asymmetric Fiber Bars */
.toggle-icon .bar-1 {
  width: 20px;
  background: linear-gradient(90deg, #0052CC, #0084FF);
}

.toggle-icon .bar-2 {
  width: 13px;
  background: linear-gradient(90deg, #0084FF, #00E5FF);
  box-shadow: 0 0 6px rgba(0, 196, 255, 0.5);
}

.toggle-icon .bar-3 {
  width: 17px;
  background: linear-gradient(90deg, #0052CC, #0084FF);
}

/* Smooth hover: middle bar expands */
.mobile-toggle:hover .bar-2 {
  width: 20px;
}

/* High-Tech Technical Monospace Label */
.toggle-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--brand-blue);
  line-height: 1;
  transition: color 0.2s ease;
}

/* Active State (Drawer Open) */
.mobile-toggle.active {
  background: #FFFFFF;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 238, 0.15), 0 6px 20px rgba(0, 70, 180, 0.18);
}

.mobile-toggle.active .toggle-text {
  color: #0A1629;
}

.mobile-toggle.active .bar-1 {
  width: 18px;
  transform: translateY(6.2px) rotate(45deg);
  background: linear-gradient(90deg, #0052CC, #00A3FF);
}

.mobile-toggle.active .bar-2 {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.active .bar-3 {
  width: 18px;
  transform: translateY(-6.2px) rotate(-45deg);
  background: linear-gradient(90deg, #0052CC, #00A3FF);
}

/* ===================================================================
   BUTTONS & UI CONTROLS
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm {
  font-size: 0.8rem;
  padding: 0.45rem 0.9rem;
}

.btn-lg {
  font-size: 1.05rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #0055DD 0%, #0080FF 50%, #00B4FF 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(0, 102, 238, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 102, 238, 0.45);
  color: #FFFFFF;
}

.btn-outline-cyan {
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 102, 238, 0.35);
  color: var(--brand-blue);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.btn-outline-cyan:hover {
  background: rgba(0, 102, 238, 0.06);
  border-color: var(--brand-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 102, 238, 0.15);
}

/* ===================================================================
   HERO SECTION
   =================================================================== */
.hero-section {
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(0, 102, 238, 0.08);
  border: 1px solid rgba(0, 102, 238, 0.22);
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--brand-blue);
  box-shadow: 0 0 8px rgba(0, 102, 238, 0.6);
}

.hero-title {
  font-size: 3.35rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--text-white);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.2rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-card {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.35rem;
}

/* ===================================================================
   ANIMATED DUAL HERO SHOWCASE (LIGHT THEME FRAME)
   =================================================================== */
.hero-image-showcase {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}

.hero-media-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(0, 102, 238, 0.2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 48, 120, 0.12), 0 2px 10px rgba(0, 0, 0, 0.03);
}

.hero-media-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0055DD, #0088FF, #00C8FF);
  z-index: 10;
}

/* HUD Top Header */
.showcase-hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: #F8FAFC;
  border-bottom: 1px solid rgba(0, 102, 238, 0.12);
  position: relative;
  z-index: 5;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.hud-status-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-blue);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.hud-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--status-online);
  box-shadow: 0 0 8px var(--status-online);
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hud-latency-pill {
  color: #64748B;
}
.hud-latency-pill strong {
  color: var(--brand-blue);
}

/* Slides Container */
.hero-slides-wrapper {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: #0F172A;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 6s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.9s;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.slide-overlay-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.4rem 1.1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(4, 9, 20, 0.75) 35%, rgba(4, 9, 20, 0.96) 100%);
  backdrop-filter: blur(8px);
  z-index: 3;
}

.slide-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #00F0FF;
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid rgba(0, 240, 255, 0.35);
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  margin-bottom: 0.4rem;
}

.slide-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 0.2rem;
}

.slide-caption {
  font-size: 0.85rem;
  color: #CBD5E1;
  line-height: 1.4;
}

/* Showcase Controls & Tabs */
.showcase-controls {
  background: #FFFFFF;
  border-top: 1px solid rgba(0, 102, 238, 0.12);
  position: relative;
  z-index: 5;
}

.slide-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.slide-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  background: #FFFFFF;
  border: none;
  border-bottom: 2.5px solid transparent;
  color: #64748B;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slide-tab-btn:hover {
  color: var(--brand-blue);
  background: rgba(0, 102, 238, 0.04);
}

.slide-tab-btn.active {
  color: var(--brand-blue);
  background: rgba(0, 102, 238, 0.06);
  border-bottom-color: var(--brand-blue);
}

.tab-index {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(0, 102, 238, 0.1);
  color: var(--brand-blue);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.slide-tab-btn.active .tab-index {
  background: var(--brand-blue);
  color: #FFFFFF;
}

.slide-progress-track {
  width: 100%;
  height: 3px;
  background: rgba(0, 102, 238, 0.08);
  position: relative;
  overflow: hidden;
}

.slide-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0055DD, #0088FF, #00C8FF);
  box-shadow: 0 0 8px rgba(0, 102, 238, 0.4);
  transition: width 0.1s linear;
}

/* Floating High-Tech Micro Cards */
.floating-tech-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 102, 238, 0.22);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 48, 120, 0.12), 0 2px 10px rgba(0, 0, 0, 0.03);
  z-index: 10;
  animation: floatSlow 4s ease-in-out infinite alternate;
}

.ftc-top {
  top: -16px;
  right: -20px;
  animation-delay: 0s;
}

.ftc-bottom {
  bottom: -18px;
  left: -20px;
  animation-delay: -2s;
}

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

.ftc-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(0, 102, 238, 0.08);
  border: 1px solid rgba(0, 102, 238, 0.25);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ftc-info {
  display: flex;
  flex-direction: column;
}
.ftc-info strong {
  font-size: 0.82rem;
  color: #0A1629;
  line-height: 1.2;
}
.ftc-info span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--brand-blue);
  font-weight: 600;
}

/* Corner Cyber Accents */
.corner-accent {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  z-index: 8;
}

.corner-accent.top-left {
  top: 6px;
  left: 6px;
  border-top: 2px solid var(--brand-blue);
  border-left: 2px solid var(--brand-blue);
}
.corner-accent.top-right {
  top: 6px;
  right: 6px;
  border-top: 2px solid var(--brand-blue);
  border-right: 2px solid var(--brand-blue);
}
.corner-accent.bottom-left {
  bottom: 6px;
  left: 6px;
  border-bottom: 2px solid var(--brand-blue);
  border-left: 2px solid var(--brand-blue);
}
.corner-accent.bottom-right {
  bottom: 6px;
  right: 6px;
  border-bottom: 2px solid var(--brand-blue);
  border-right: 2px solid var(--brand-blue);
}

/* ===================================================================
   SECTION COMMONS
   =================================================================== */
.section {
  padding: 6.5rem 0;
  position: relative;
}

.section-header {
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--text-white);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===================================================================
   TECHNICAL FEATURES GRID
   =================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 102, 238, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  position: relative;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 48, 120, 0.05);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 102, 238, 0.35);
  box-shadow: 0 20px 40px rgba(0, 48, 120, 0.12);
}

.feature-card.highlighted {
  border-color: rgba(0, 102, 238, 0.3);
  background: linear-gradient(180deg, #F0F7FF 0%, #FFFFFF 100%);
}

.card-badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--brand-blue);
  background: rgba(0, 102, 238, 0.1);
  border: 1px solid rgba(0, 102, 238, 0.25);
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(0, 102, 238, 0.08);
  border: 1px solid rgba(0, 102, 238, 0.2);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.feature-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0A1629;
  margin-bottom: 0.85rem;
}

.feature-text {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.feature-tags {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border-top: 1px solid rgba(0, 102, 238, 0.1);
  padding-top: 1rem;
}

.feature-tags li {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--brand-blue);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.feature-tags li::before {
  content: '▸';
  color: var(--brand-electric);
}

/* ===================================================================
   PLANS & PACKAGES
   =================================================================== */
.category-tabs {
  display: inline-flex;
  background: #EDF2F7;
  padding: 0.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 102, 238, 0.15);
  gap: 0.35rem;
  margin-bottom: 1.8rem;
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}

.cat-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  background: transparent;
  color: #475569;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cat-btn:hover {
  color: #0A1629;
}

.cat-btn.active {
  background: linear-gradient(135deg, #0055DD, #0088FF);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0, 102, 238, 0.35);
}

.billing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.toggle-label {
  color: #64748B;
}
.toggle-label.active {
  color: #0A1629;
}

.badge-save {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  margin-left: 0.4rem;
}

/* Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #CBD5E1;
  border: 1px solid rgba(0, 102, 238, 0.2);
  transition: var(--transition-fast);
  border-radius: 34px;
}
.slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #FFFFFF;
  transition: var(--transition-fast);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
input:checked + .slider {
  background-color: var(--brand-blue);
}
input:checked + .slider::before {
  transform: translateX(22px);
}

/* Plans Grid */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
  margin-bottom: 2rem;
  align-items: stretch;
}

.plan-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 102, 238, 0.15);
  border-radius: var(--radius-xl);
  padding: 2.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-smooth);
  box-shadow: 0 12px 35px rgba(0, 48, 120, 0.06);
}

.plan-card:hover {
  transform: translateY(-8px);
  border-color: var(--brand-blue);
  box-shadow: 0 22px 50px rgba(0, 48, 120, 0.15);
}

.plan-card.popular {
  border-color: #0084FF;
  background: linear-gradient(180deg, #F3F8FF 0%, #FFFFFF 100%);
  box-shadow: 0 20px 45px rgba(0, 60, 160, 0.14);
}

.plan-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #0055DD, #0099FF);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 15px rgba(0, 102, 238, 0.35);
  white-space: nowrap;
}

.plan-header {
  margin-bottom: 1.5rem;
}

.plan-tier-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0A1629;
  margin-bottom: 0.35rem;
}

.plan-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.plan-speed-badge {
  background: rgba(0, 102, 238, 0.06);
  border: 1px solid rgba(0, 102, 238, 0.18);
  border-radius: var(--radius-md);
  padding: 1.1rem 1rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 1.6rem;
}

.plan-speed-val {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1;
}

.plan-speed-unit {
  font-size: 1rem;
  font-weight: 600;
  color: #64748B;
}

.plan-price-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.8rem;
  border-bottom: 1px solid rgba(0, 102, 238, 0.1);
  padding-bottom: 1.5rem;
  min-height: 82px;
  justify-content: center;
}

.plan-price-main {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.plan-currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand-blue);
}

.plan-amount {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 800;
  color: #0A1629;
  line-height: 1;
}

.plan-period {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 600;
}

.plan-annual-sub {
  font-size: 0.78rem;
  font-weight: 700;
  color: #059669;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  width: fit-content;
}

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

.plan-features-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--text-main);
}

.plan-features-list li svg {
  color: var(--brand-blue);
  flex-shrink: 0;
}

/* Feature Cards Icon Header & Ribbon */
.plan-icon-header {
  margin-bottom: 0.8rem;
}

.plan-icon-header .pkg-svg-icon {
  width: 44px;
  height: 44px;
}

.ribbon-popular {
  background: #E52E2E !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(229, 46, 46, 0.35) !important;
}

/* ===================================================================
   SPEEDTEST & BENCHMARK ENGINE (LIGHT THEME)
   =================================================================== */
.speedtest-console {
  background: #FFFFFF;
  border: 1px solid rgba(0, 102, 238, 0.18);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 48, 120, 0.08);
}

.st-server-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 102, 238, 0.12);
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.st-server-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--brand-blue);
  font-weight: 700;
}

.st-select {
  background: #F8FAFC;
  border: 1px solid rgba(0, 102, 238, 0.2);
  color: #0A1629;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
  flex-grow: 1;
  max-width: 480px;
}

.client-ip-pill {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #475569;
  background: rgba(0, 102, 238, 0.06);
  border: 1px solid rgba(0, 102, 238, 0.16);
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
}

.st-dashboard {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3.5rem;
  align-items: center;
}

.st-gauge-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gauge-svg-container {
  width: 280px;
  height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gauge-svg {
  width: 100%;
  height: 100%;
}

.gauge-center-content {
  position: absolute;
  bottom: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gauge-status {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brand-blue);
  letter-spacing: 0.08em;
  font-weight: 700;
}

.gauge-value {
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1;
  color: #0A1629;
}

.gauge-unit {
  font-size: 0.95rem;
  color: #64748B;
  font-weight: 600;
}

.st-controls {
  margin-top: 1.5rem;
}

.st-metrics-panel {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.st-metric-card {
  background: #F8FAFC;
  border: 1px solid rgba(0, 102, 238, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  transition: all var(--transition-fast);
}

.st-metric-card:hover {
  border-color: rgba(0, 102, 238, 0.35);
  box-shadow: 0 4px 15px rgba(0, 102, 238, 0.06);
}

.st-metric-data {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
}

.st-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #64748B;
}

.st-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: #0A1629;
  line-height: 1;
}

.st-sub {
  font-size: 0.8rem;
  color: #94A3B8;
}

.st-progress-bar {
  width: 100%;
  height: 6px;
  background: #E2E8F0;
  border-radius: 9999px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0055DD, #00A3FF);
  border-radius: 9999px;
  transition: width 0.2s ease-out;
}

.st-mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.st-mini-box {
  background: #F8FAFC;
  border: 1px solid rgba(0, 102, 238, 0.12);
  border-radius: var(--radius-md);
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
}

.mini-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #64748B;
}

.mini-val {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #0A1629;
  margin: 0.2rem 0;
}

.mini-sub {
  font-size: 0.7rem;
  color: #94A3B8;
}

.traceroute-banner {
  margin-top: 2.5rem;
  background: #F8FAFC;
  border: 1px solid rgba(0, 102, 238, 0.12);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  flex-wrap: wrap;
}

.tr-badge {
  color: var(--brand-blue);
  font-weight: 700;
}

.tr-path {
  color: #475569;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hop {
  background: #EDF2F7;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  color: #334155;
}
.hop.active-hop {
  background: rgba(0, 102, 238, 0.1);
  border: 1px solid var(--brand-blue);
  color: var(--brand-blue);
  font-weight: 700;
}

/* ===================================================================
   COVERAGE AREA CHECKER
   =================================================================== */
.coverage-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 102, 238, 0.18);
  border-radius: var(--radius-xl);
  padding: 2.8rem;
  box-shadow: 0 20px 50px rgba(0, 48, 120, 0.08);
}

.coverage-search-bar {
  display: flex;
  gap: 1rem;
  max-width: 820px;
  margin: 0 auto 2.5rem;
  flex-wrap: wrap;
}

.search-input-wrap {
  flex-grow: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrap svg {
  position: absolute;
  left: 1.2rem;
  color: var(--brand-blue);
  pointer-events: none;
}

.search-input-wrap input {
  width: 100%;
  padding: 0.9rem 1.2rem 0.9rem 3.2rem;
  background: #F8FAFC;
  border: 1.5px solid rgba(0, 102, 238, 0.2);
  border-radius: var(--radius-md);
  color: #0A1629;
  font-family: var(--font-main);
  font-size: 1rem;
  outline: none;
  transition: all var(--transition-fast);
}

.search-input-wrap input:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 15px rgba(0, 102, 238, 0.2);
  background: #FFFFFF;
}

.coverage-search-result {
  max-width: 820px;
  margin: -1.5rem auto 2.2rem;
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  animation: fadeIn 0.3s ease;
}

.coverage-search-result.success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--status-online);
  color: #065F46;
}

.coverage-search-result.info {
  background: rgba(0, 102, 238, 0.1);
  border: 1px solid var(--brand-blue);
  color: #1E40AF;
}

.coverage-zones-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-bottom: 2.2rem;
}

.zone-box {
  background: #F8FAFC;
  border: 1px solid rgba(0, 102, 238, 0.12);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.zone-box:hover {
  transform: translateY(-3px);
  border-color: var(--brand-blue);
  background: #FFFFFF;
  box-shadow: 0 10px 25px rgba(0, 48, 120, 0.08);
}

.zone-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0A1629;
  margin-bottom: 0.3rem;
}

.zone-status-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.badge-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.badge-status-dot.online { background: var(--status-online); }
.badge-status-dot.expanding { background: var(--status-warning); }
.badge-status-dot.dedicated { background: var(--brand-blue); }

.zone-capacity {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #64748B;
  margin-top: 0.5rem;
}

.coverage-footer-notice {
  display: flex;
  justify-content: center;
  gap: 2rem;
  border-top: 1px solid rgba(0, 102, 238, 0.12);
  padding-top: 1.6rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cf-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ===================================================================
   NOC TELEMETRY & TERMINAL
   =================================================================== */
.noc-terminal-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 2rem;
}

.terminal-panel {
  background: #0B132B;
  border: 1px solid rgba(0, 102, 238, 0.25);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

.terminal-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.4rem;
  background: #080E20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.term-tag {
  color: #00F0FF;
  font-weight: 700;
}

.term-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--status-online);
}

.terminal-control-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.4rem;
  background: rgba(15, 23, 42, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #94A3B8;
  flex-wrap: wrap;
}

.term-select {
  background: #0B132B;
  border: 1px solid rgba(0, 163, 255, 0.25);
  color: #FFFFFF;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  outline: none;
  flex-grow: 1;
}

.terminal-output-window {
  padding: 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.6;
  color: #38BDF8;
  background: #050B17;
  flex-grow: 1;
  min-height: 250px;
  overflow-x: auto;
}

.trace-code {
  font-family: inherit;
  color: inherit;
  white-space: pre-wrap;
}

.noc-health-column {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.health-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 102, 238, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem;
  box-shadow: 0 10px 30px rgba(0, 48, 120, 0.05);
}

.hc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.hc-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: #0A1629;
}

.badge-status {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.hc-bar-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #64748B;
  margin-bottom: 0.25rem;
  margin-top: 0.65rem;
}

.meter-bar {
  width: 100%;
  height: 6px;
  background: #E2E8F0;
  border-radius: 9999px;
  overflow: hidden;
}

.meter-bar .fill {
  height: 100%;
  background: linear-gradient(90deg, #0055DD, #00A3FF);
  border-radius: 9999px;
}

.peering-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.p-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: #F8FAFC;
  border: 1px solid rgba(0, 102, 238, 0.12);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  color: #475569;
}

.ot-card .hc-desc {
  font-size: 0.85rem;
  color: #64748B;
  line-height: 1.5;
}

/* ===================================================================
   TESTIMONIALS
   =================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.testi-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 102, 238, 0.14);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 48, 120, 0.05);
}

.testi-card.highlighted-border {
  border-color: var(--brand-blue);
  background: linear-gradient(180deg, #F0F7FF 0%, #FFFFFF 100%);
}

.testi-stars {
  color: #F59E0B;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testi-text {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 1.6rem;
  flex-grow: 1;
}

.testi-user {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0055DD, #0088FF);
  color: #FFFFFF;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  box-shadow: 0 4px 15px rgba(0, 102, 238, 0.3);
}

.user-info {
  display: flex;
  flex-direction: column;
}
.user-info strong {
  color: #0A1629;
  font-size: 0.95rem;
}
.user-info span {
  color: #64748B;
  font-size: 0.78rem;
}

/* ===================================================================
   CONTACT & CONNECTION REQUEST
   =================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-top: 2rem;
}

.c-method {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.c-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(0, 102, 238, 0.08);
  border: 1px solid rgba(0, 102, 238, 0.2);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.c-label {
  display: block;
  font-size: 0.8rem;
  color: #64748B;
}

.c-val {
  font-weight: 600;
  color: #0A1629;
  font-size: 1rem;
}

.contact-form-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 102, 238, 0.18);
  border-radius: var(--radius-xl);
  padding: 2.8rem;
  box-shadow: 0 20px 50px rgba(0, 48, 120, 0.08);
}

.form-title {
  font-size: 1.8rem;
  color: #0A1629;
  margin-bottom: 0.35rem;
}

.form-subtitle {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.8rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
}

.form-group input, .form-group select, .form-group textarea {
  background: #F8FAFC;
  border: 1.5px solid rgba(0, 102, 238, 0.18);
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem;
  color: #0A1629;
  font-family: var(--font-main);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--brand-blue);
  background: #FFFFFF;
  box-shadow: 0 0 12px rgba(0, 102, 238, 0.15);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230066EE' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}

.form-group select:disabled {
  background-color: #F1F5F9;
  color: #94A3B8;
  cursor: not-allowed;
  border-color: rgba(0, 102, 238, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

.modal-success-box {
  background: #F8FAFC;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}

.modal-success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.modal-success-details {
  background: #FFFFFF;
  border: 1px solid rgba(0, 102, 238, 0.12);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  margin: 1.2rem 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.88rem;
}

.alert-box {
  display: flex;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
}

.alert-box.success-box {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--status-online);
}

.alert-box strong {
  display: block;
  color: #065F46;
  margin-bottom: 0.25rem;
}

.alert-box p {
  font-size: 0.88rem;
  color: #064E3B;
}

/* ===================================================================
   FOOTER (ELEGANT DEEP SLATE NAVY FOUNDATION)
   =================================================================== */
.footer {
  background: #081120;
  border-top: 1px solid rgba(0, 102, 238, 0.15);
  padding: 5rem 0 2rem;
  position: relative;
  z-index: 10;
  color: #94A3B8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 1.2rem;
  background: #FFFFFF;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-md);
}

.footer-about {
  font-size: 0.92rem;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

.regulatory-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #00F0FF;
  background: rgba(0, 163, 255, 0.1);
  border: 1px solid rgba(0, 163, 255, 0.25);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.03em;
  margin-bottom: 1.2rem;
}

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

.footer-links li a {
  font-size: 0.88rem;
  color: #94A3B8;
  transition: color var(--transition-fast);
}

.footer-links li a:hover {
  color: #00F0FF;
  padding-left: 4px;
}

.footer-status-box {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(0, 163, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
}

.fs-row {
  display: flex;
  justify-content: space-between;
  color: #94A3B8;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  transition: all var(--transition-fast);
}

.social-icon:hover {
  color: #00F0FF;
  border-color: #00F0FF;
  transform: translateY(-2px);
}

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

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #64748B;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: #00F0FF;
}

/* ===================================================================
   MODALS (CLEAN LIGHT THEME)
   =================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 22, 41, 0.65);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 102, 238, 0.25);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 70px rgba(0, 32, 90, 0.25);
  width: 100%;
  max-width: 560px;
  overflow: hidden;
  animation: modalScaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.8rem;
  background: #F8FAFC;
  border-bottom: 1px solid rgba(0, 102, 238, 0.12);
}

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.modal-title-wrap h3 {
  font-size: 1.25rem;
  color: #0A1629;
}

.modal-title-wrap p {
  font-size: 0.78rem;
  color: #64748B;
}

.modal-close {
  background: none;
  border: none;
  color: #64748B;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition-fast);
}
.modal-close:hover {
  color: #0A1629;
}

.modal-body {
  padding: 1.8rem;
}

.input-with-button {
  display: flex;
  gap: 0.6rem;
}
.input-with-button input {
  flex-grow: 1;
}

.field-hint {
  font-size: 0.75rem;
  color: #94A3B8;
  margin-top: 0.35rem;
}

.bill-details-card {
  background: #F8FAFC;
  border: 1px solid rgba(0, 102, 238, 0.12);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.bd-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #475569;
}
.bd-row strong {
  color: #0A1629;
}
.bd-row.total-row {
  border-top: 1px solid rgba(0, 102, 238, 0.12);
  padding-top: 0.6rem;
  margin-top: 0.3rem;
  align-items: baseline;
}
.text-xl {
  font-size: 1.6rem;
}

.payment-methods-selector {
  margin: 1.2rem 0;
}
.payment-methods-selector label {
  font-size: 0.8rem;
  color: #475569;
  display: block;
  margin-bottom: 0.5rem;
}

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

.gateway-opt input {
  display: none;
}
.gw-badge {
  display: block;
  text-align: center;
  padding: 0.6rem 0.3rem;
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 102, 238, 0.18);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.gateway-opt input:checked + .gw-badge {
  background: rgba(0, 102, 238, 0.08);
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  box-shadow: 0 0 10px rgba(0, 102, 238, 0.2);
}

.success-icon-anim {
  width: 64px;
  height: 64px;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid var(--status-online);
  border-radius: 50%;
  color: var(--status-online);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.receipt-box {
  background: #F8FAFC;
  border: 1px solid rgba(0, 102, 238, 0.12);
  border-radius: var(--radius-md);
  padding: 1rem;
  font-size: 0.85rem;
  margin: 1.2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
  color: #334155;
}

.readonly-input {
  background: rgba(0, 102, 238, 0.06) !important;
  color: var(--brand-blue) !important;
  font-weight: 700;
}

.hidden {
  display: none !important;
}

/* ===================================================================
   RESPONSIVENESS & MOBILE OVERHAUL
   =================================================================== */

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

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

/* Tablet & Medium Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.25rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .features-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .coverage-zones-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .noc-terminal-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* Tablets & Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  .section {
    padding: 4.5rem 0;
  }
  .section-header {
    margin-bottom: 2.5rem;
  }
  .section-title {
    font-size: 2.1rem;
  }
  .section-desc {
    font-size: 1rem;
  }

  body {
    padding-top: 74px;
  }
  section[id], .section {
    scroll-margin-top: 80px;
  }

  /* Navigation Bar & Mobile Drawer */
  .nav-container {
    height: 74px;
    padding: 0 1rem;
  }
  .brand-logo {
    height: 52px;
    max-height: 54px;
  }
  .nav-actions .btn-outline-cyan {
    display: none !important;
  }
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.25rem 1.75rem;
    border-bottom: 2px solid rgba(0, 102, 238, 0.18);
    box-shadow: 0 20px 40px rgba(0, 48, 120, 0.14);
    gap: 0.35rem;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    z-index: 1000;
  }
  .nav-links.open {
    display: flex;
    animation: mobileDrawerSlide 0.25s ease forwards;
  }
  .nav-item {
    padding: 0.75rem 1rem;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
  }
  .nav-item:hover, .nav-item.active {
    background: rgba(0, 102, 238, 0.08);
  }
  .nav-item::after {
    display: none;
  }
  .mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 102, 238, 0.12);
  }

  /* Hero Section */
  .hero-section {
    padding: 2.5rem 0 3.5rem;
  }
  .hero-title {
    font-size: clamp(2rem, 6.5vw, 2.75rem);
    line-height: 1.2;
  }
  .hero-description {
    font-size: 1.02rem;
    line-height: 1.6;
    margin-bottom: 1.8rem;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    width: 100%;
    margin-bottom: 2.2rem;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding-top: 1.5rem;
  }
  .stat-value {
    font-size: 1.6rem;
  }

  /* Features & Plans */
  .features-grid, .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  .plan-filters {
    justify-content: center;
    gap: 0.45rem;
    flex-wrap: wrap;
  }
  .billing-switcher {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 0.6rem 0.85rem;
  }
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto 2rem;
  }

  /* Speedtest Dashboard */
  .speedtest-console {
    padding: 1.5rem 1.25rem;
  }
  .st-server-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    margin-bottom: 1.8rem;
  }
  .st-select {
    width: 100%;
    max-width: 100%;
  }
  .client-ip-pill {
    text-align: center;
  }
  .st-dashboard {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .gauge-svg-container {
    width: 260px;
    height: 165px;
    margin: 0 auto;
  }
  .gauge-value {
    font-size: 3.3rem;
  }
  .traceroute-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  /* Coverage Area Checker */
  .coverage-card {
    padding: 1.5rem 1.25rem;
  }
  .coverage-zones-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  .coverage-footer-notice {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }

  /* NOC Telemetry Controls */
  .terminal-control-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
  .term-select {
    width: 100%;
  }
  .terminal-control-row .btn {
    width: 100%;
  }
  .terminal-output-window {
    font-size: 0.75rem;
    padding: 1rem;
  }

  /* Forms & Modals Fixes - Eliminates Horizontal Clipping */
  .contact-form-card {
    padding: 1.5rem 1.25rem !important;
  }
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }
  .form-group {
    margin-bottom: 0.85rem !important;
  }
  .form-group input, .form-group select, .form-group textarea {
    font-size: 16px; /* Prevents auto-zoom on iOS mobile */
    width: 100%;
    box-sizing: border-box;
  }
  .modal-overlay {
    padding: 1rem 0.75rem !important;
  }
  .modal-card {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 92vh !important;
    border-radius: var(--radius-lg) !important;
  }
  .modal-header {
    padding: 1rem 1.25rem !important;
  }
  .modal-body {
    padding: 1.25rem 1rem !important;
    max-height: calc(92vh - 75px) !important;
    overflow-y: auto !important;
  }
  .gateways-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.6rem !important;
  }

  /* Footer */
  .footer {
    padding: 3.5rem 0 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    margin-bottom: 2.5rem;
  }
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
}

/* Small Smartphone Viewports (max-width: 520px) */
@media (max-width: 520px) {
  body {
    padding-top: 68px;
  }
  section[id], .section {
    scroll-margin-top: 72px;
  }
  .nav-container {
    height: 68px;
    padding: 0 0.85rem;
  }
  .brand-logo {
    height: 46px;
    max-height: 48px;
  }
  .nav-actions .btn-primary {
    display: none !important;
  }
  .hero-title {
    font-size: 1.95rem;
  }
  .coverage-search-bar {
    flex-direction: column;
    gap: 0.75rem;
  }
  .coverage-search-bar .btn {
    width: 100%;
  }
  .coverage-zones-grid {
    grid-template-columns: 1fr !important;
  }
  .st-mini-metrics {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .st-number {
    font-size: 1.85rem;
  }
  .hero-stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
}

/* Extra-compact Viewports (max-width: 380px) */
@media (max-width: 380px) {
  .hero-stats-row {
    grid-template-columns: 1fr !important;
  }
  .gauge-svg-container {
    width: 230px !important;
    height: 145px !important;
  }
  .gauge-value {
    font-size: 2.8rem !important;
  }
  .plan-amount {
    font-size: 2.1rem !important;
  }
  .plan-speed-val {
    font-size: 2.8rem !important;
  }
  .mobile-toggle {
    padding: 0.45rem 0.65rem;
    gap: 0;
  }
  .toggle-text {
    display: none;
  }
}
