/* ==========================================================================
   DREAM TELEINFRA PRIVATE LIMITED - ENTERPRISE DESIGN SYSTEM
   Theme: Magenta -> Violet -> Deep Purple Tech Aesthetic (Brand Matched)
   ========================================================================== */

:root {
  /* Color Palette - Brand-Aligned Deep Tech */
  --bg-darkest: #040409;
  --bg-primary: #080614;
  --bg-secondary: #0f0c24;
  --bg-surface: #151032;
  --bg-surface-elevated: #1e1747;
  --bg-glass: rgba(15, 12, 36, 0.85);
  --bg-glass-card: rgba(21, 16, 50, 0.72);
  
  /* Brand Accents (Magenta -> Violet -> Deep Purple) */
  --accent-magenta: #d91b8a;
  --accent-magenta-light: #ec4899;
  --accent-magenta-glow: rgba(217, 27, 138, 0.4);
  --accent-violet: #a855f7;
  --accent-violet-dark: #9333ea;
  --accent-purple: #7c3aed;
  --accent-indigo: #6366f1;
  --accent-cyan: #38bdf8;
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.3);
  --accent-amber: #f59e0b;

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-brand: #ec4899;
  --text-violet: #c084fc;

  /* Borders & Gradients */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(217, 27, 138, 0.25);
  --border-violet: rgba(168, 85, 247, 0.3);
  --border-glow: rgba(217, 27, 138, 0.55);
  --border-glass: rgba(255, 255, 255, 0.12);

  --gradient-glow: radial-gradient(circle at 50% 0%, rgba(217, 27, 138, 0.2) 0%, rgba(147, 51, 234, 0.08) 50%, transparent 80%);
  --gradient-card: linear-gradient(135deg, rgba(28, 20, 60, 0.75) 0%, rgba(12, 9, 28, 0.95) 100%);
  --gradient-accent: linear-gradient(135deg, #d91b8a 0%, #a855f7 50%, #6366f1 100%);
  --gradient-brand-h: linear-gradient(90deg, #d91b8a 0%, #c026d3 25%, #9333ea 60%, #6b21a8 100%);
  --gradient-fiber: linear-gradient(90deg, #d91b8a, #a855f7, #6366f1, #38bdf8, #d91b8a);

  /* Shadows & Elevations */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.65);
  --shadow-brand: 0 0 25px rgba(217, 27, 138, 0.3);
  --shadow-brand-strong: 0 0 35px rgba(217, 27, 138, 0.5);
  --shadow-violet: 0 0 25px rgba(168, 85, 247, 0.3);

  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Grotesk', 'JetBrains Mono', monospace;

  /* Layout Spacing */
  --container-max: 1340px;
  --header-height: 84px;
  --topbar-height: 38px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --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 {
  font-family: var(--font-sans);
  background-color: var(--bg-darkest);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg-darkest);
  background-image: 
    radial-gradient(ellipse at 50% -20%, rgba(217, 27, 138, 0.18), transparent 70%),
    linear-gradient(to bottom, transparent, var(--bg-darkest) 90%),
    radial-gradient(circle at 10% 30%, rgba(147, 51, 234, 0.08), transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(99, 102, 241, 0.06), transparent 50%);
  background-attachment: fixed;
  line-height: 1.6;
}

/* Enterprise Grid Texture Background */
.bg-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  pointer-events: none;
  z-index: 0;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.7;
}

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

ul {
  list-style: none;
}

img, svg {
  max-width: 100%;
  vertical-align: middle;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* Monospace telemetry / technical tags */
.mono-telemetry {
  font-family: var(--font-mono);
  letter-spacing: -0.01em;
}

/* Section Common Styling */
.section {
  padding: 95px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 55px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(217, 27, 138, 0.1);
  border: 1px solid var(--border-medium);
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-magenta-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.section-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-magenta);
  box-shadow: 0 0 8px var(--accent-magenta);
  animation: pulse-dot 2s infinite ease-in-out;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
}

/* Highlight Gradients */
.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-magenta {
  color: var(--accent-magenta-light);
}

.text-violet {
  color: var(--accent-violet);
}

.text-cyan {
  color: var(--accent-cyan);
}

.text-emerald {
  color: var(--accent-emerald);
}

/* ==========================================================================
   TOP TELECOM STATUS BAR
   ========================================================================== */
.top-status-bar {
  background: rgba(4, 4, 9, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  padding: 8px 0;
  position: relative;
  z-index: 50;
  backdrop-filter: blur(8px);
}

.status-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.status-indicator-group {
  display: flex;
  align-items: center;
  gap: 24px;
  overflow-x: auto;
  white-space: nowrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}

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

.telemetry-item {
  color: var(--text-muted);
  display: inline-flex;
  gap: 6px;
}

.telemetry-val {
  color: var(--accent-magenta-light);
  font-weight: 600;
  font-family: var(--font-mono);
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.hotline-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.hotline-link:hover {
  color: var(--accent-magenta-light);
}

.portal-link {
  color: var(--text-muted);
  font-size: 0.82rem;
  padding-left: 12px;
  border-left: 1px solid var(--border-subtle);
}

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

/* ==========================================================================
   NAVIGATION & HEADER (WITH CUSTOM DREAM LOGO)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.site-header.scrolled {
  background: rgba(8, 6, 20, 0.96);
  border-bottom-color: var(--border-medium);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(217, 27, 138, 0.15);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

/* Corporate Brand Logo with Official DREAM Logo Image */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-wrap {
  display: flex;
  flex-direction: column;
}

.dream-logo-img {
  height: 34px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

.footer-brand-col .dream-logo-img {
  height: 30px;
  max-width: 140px;
}

.brand-subtitle-badge {
  font-size: 0.65rem;
  color: var(--text-violet);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-weight: 700;
  margin-top: 2px;
}

/* Nav Menu */
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-magenta-light);
}

.nav-link svg.arrow {
  width: 12px;
  height: 12px;
  transition: transform var(--transition-fast);
}

.nav-item:hover .nav-link svg.arrow {
  transform: rotate(180deg);
}

/* Megamenu Dropdown */
.megamenu {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 600px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), var(--shadow-brand);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition-fast);
  z-index: 100;
}

.nav-item:hover .megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.megamenu-item {
  display: flex;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.megamenu-item:hover {
  background: rgba(217, 27, 138, 0.1);
  border-color: var(--border-medium);
  transform: translateX(4px);
}

.mega-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(217, 27, 138, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-magenta-light);
  flex-shrink: 0;
}

.mega-icon svg {
  width: 20px;
  height: 20px;
}

.mega-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.mega-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(217, 27, 138, 0.45);
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(217, 27, 138, 0.75), 0 0 15px rgba(168, 85, 247, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
  background: rgba(217, 27, 138, 0.12);
  border-color: var(--accent-magenta);
  color: var(--accent-magenta-light);
  transform: translateY(-2px);
}

.btn-outline-brand {
  background: rgba(217, 27, 138, 0.06);
  color: var(--accent-magenta-light);
  border: 1px solid var(--accent-magenta);
}

.btn-outline-brand:hover {
  background: rgba(217, 27, 138, 0.2);
  box-shadow: var(--shadow-brand);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 30px;
  font-size: 1.02rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 32px;
  height: 24px;
  justify-content: center;
  cursor: pointer;
}

.mobile-toggle span {
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION WITH OPTICAL NETWORK CANVAS
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: calc(100vh - var(--header-height) - var(--topbar-height));
  display: flex;
  align-items: center;
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-canvas-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.8;
  pointer-events: auto;
}

#networkCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
}

.hero-badge-strip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px;
  background: rgba(21, 16, 50, 0.85);
  border: 1px solid var(--border-medium);
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  margin-bottom: 24px;
  box-shadow: var(--shadow-brand);
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--accent-magenta);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-magenta);
  animation: pulse-dot 1.8s infinite;
}

.badge-text {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: #f1f5f9;
  letter-spacing: 0.04em;
}

.hero-title {
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: 1.22rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 760px;
  margin-bottom: 40px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* Hero Telemetry Metrics Grid */
.hero-metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 24px 30px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
}

.metric-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid var(--border-subtle);
  padding-right: 15px;
}

.metric-card:last-child {
  border-right: none;
  padding-right: 0;
}

.metric-value {
  font-size: 1.85rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #ffffff;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.metric-value .unit {
  font-size: 1rem;
  color: var(--accent-magenta-light);
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* ==========================================================================
   LIVE NETWORK TELEMETRY TICKER STRIP
   ========================================================================== */
.telemetry-ticker-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0;
  overflow: hidden;
  position: relative;
}

.ticker-wrap {
  display: flex;
  align-items: center;
  gap: 40px;
  animation: ticker-slide 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.ticker-wrap:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.ticker-icon {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-magenta);
}

.ticker-badge {
  background: rgba(217, 27, 138, 0.15);
  color: var(--accent-magenta-light);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}

/* ==========================================================================
   TURNKEY TELECOM & OPTICAL INFRASTRUCTURE EPC DIVISION
   ========================================================================== */
.epc-section {
  background: var(--bg-darkest);
  border-bottom: 1px solid var(--border-subtle);
}

.epc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 28px;
}

.epc-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.epc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-brand-h);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.epc-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-lg), var(--shadow-brand);
}

.epc-card:hover::before {
  opacity: 1;
}

.epc-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-magenta-light);
  background: rgba(217, 27, 138, 0.12);
  border: 1px solid var(--border-medium);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  align-self: flex-start;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.epc-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(217, 27, 138, 0.15);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-magenta-light);
  margin-bottom: 20px;
}

.epc-icon-wrap svg {
  width: 26px;
  height: 26px;
}

.epc-title {
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 12px;
}

.epc-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 22px;
  flex-grow: 1;
}

.epc-specs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.epc-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.epc-spec-item svg {
  width: 15px;
  height: 15px;
  color: var(--accent-magenta-light);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Turnkey Infrastructure Track Record Ribbon */
.infra-track-record {
  margin-top: 50px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  box-shadow: var(--shadow-md);
}

.track-item {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-subtle);
  padding-right: 15px;
}

.track-item:last-child {
  border-right: none;
  padding-right: 0;
}

.track-num {
  font-size: 1.7rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--accent-magenta-light);
}

.track-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ==========================================================================
   SOLUTIONS & CORE CONNECTIVITY
   ========================================================================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}

.solution-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-brand-h);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.solution-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-lg), var(--shadow-brand);
}

.solution-card:hover::before {
  opacity: 1;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(217, 27, 138, 0.15);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-magenta-light);
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-magenta-light);
  background: rgba(217, 27, 138, 0.1);
  border: 1px solid var(--border-medium);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.feature-check {
  color: var(--accent-magenta-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-check svg {
  width: 16px;
  height: 16px;
}

.card-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: rgba(4, 4, 9, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 24px;
}

.spec-item {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.spec-val {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent-magenta-light);
}

.spec-lbl {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   INTERACTIVE NETWORK TOPOLOGY & EDGE POP MAP
   ========================================================================== */
.infrastructure-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.pop-map-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  align-items: center;
}

.map-visual-wrap {
  position: relative;
  background: var(--bg-darkest);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  height: 460px;
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8);
}

.map-svg-canvas {
  width: 100%;
  height: 100%;
}

.pop-marker {
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pop-marker:hover circle.marker-core {
  fill: #ffffff;
  r: 9;
}

.pop-marker.active circle.marker-core {
  fill: #ffffff;
  filter: drop-shadow(0 0 12px var(--accent-magenta));
}

.pop-details-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.panel-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
}

.panel-title {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.panel-subtitle {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-magenta-light);
}

.pop-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pop-spec-box {
  background: rgba(4, 4, 9, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.pop-spec-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.pop-spec-val {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.pop-nav-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.pop-tab-btn {
  padding: 8px 14px;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.pop-tab-btn:hover, .pop-tab-btn.active {
  background: rgba(217, 27, 138, 0.18);
  border-color: var(--accent-magenta);
  color: var(--accent-magenta-light);
}

/* ==========================================================================
   INTERACTIVE BANDWIDTH & SLA CALCULATOR
   ========================================================================== */
.calculator-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.calc-val-display {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent-magenta-light);
}

/* Custom Range Slider */
input[type="range"].custom-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

input[type="range"].custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-magenta);
  cursor: pointer;
  box-shadow: 0 0 14px var(--accent-magenta);
  border: 2px solid #ffffff;
  transition: transform var(--transition-fast);
}

input[type="range"].custom-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.option-pill-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.pill-option {
  position: relative;
}

.pill-option input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.pill-label {
  display: block;
  text-align: center;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pill-option input:checked + .pill-label {
  background: rgba(217, 27, 138, 0.15);
  border-color: var(--accent-magenta);
  color: var(--accent-magenta-light);
  font-weight: 700;
  box-shadow: var(--shadow-brand);
}

/* Calculator Result Card */
.calc-result-card {
  background: var(--gradient-card);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-brand);
  position: relative;
}

.calc-result-header {
  margin-bottom: 20px;
}

.calc-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-magenta-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.calc-plan-name {
  font-size: 1.6rem;
  color: #ffffff;
  margin-top: 4px;
}

.calc-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.calc-breakdown-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.calc-breakdown-item span:first-child {
  color: var(--text-muted);
}

.calc-breakdown-item span:last-child {
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-weight: 600;
}

/* ==========================================================================
   SIDE-BY-SIDE DIAGNOSTICS CENTER
   - LEFT: Live Speed Test Suite Dial
   - RIGHT: BGP Looking Glass Terminal CLI
   ========================================================================== */
.diagnostics-dual-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.diagnostics-dual-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.diag-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  position: relative;
}

.diag-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
}

.diag-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.diag-icon-badge {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(217, 27, 138, 0.15);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-magenta-light);
}

.diag-title {
  font-size: 1.3rem;
  color: #ffffff;
}

/* Speed Test Gauge Elements */
.speed-test-compact {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}

.gauge-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 220px;
  width: 220px;
  margin: 0 auto;
}

.gauge-svg {
  width: 210px;
  height: 210px;
  transform: rotate(-90deg);
}

.gauge-bg-circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 14;
}

.gauge-progress-circle {
  fill: none;
  stroke: url(#speedGaugeGrad);
  stroke-width: 14;
  stroke-linecap: round;
  stroke-dasharray: 565;
  stroke-dashoffset: 565;
  transition: stroke-dashoffset 0.2s ease;
  filter: drop-shadow(0 0 10px rgba(217, 27, 138, 0.7));
}

.gauge-center-info {
  position: absolute;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gauge-speed-val {
  font-size: 2.6rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #ffffff;
  line-height: 1;
}

.gauge-speed-unit {
  font-size: 0.82rem;
  color: var(--accent-magenta-light);
  font-weight: 600;
  margin-top: 4px;
}

.gauge-status-lbl {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 6px;
}

.speed-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.speed-stat-card {
  background: rgba(4, 4, 9, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.speed-stat-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.speed-stat-val {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

/* Looking Glass Terminal */
.looking-glass-terminal {
  background: #030308;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  font-family: var(--font-mono);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.terminal-header {
  background: #0d0920;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-title {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.terminal-controls {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 8px;
  padding: 12px;
  background: rgba(21, 16, 50, 0.4);
  border-bottom: 1px solid var(--border-subtle);
}

.terminal-select, .terminal-input {
  background: #040409;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #ffffff;
  padding: 7px 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  outline: none;
}

.terminal-select:focus, .terminal-input:focus {
  border-color: var(--accent-magenta);
}

.terminal-body {
  padding: 16px;
  min-height: 180px;
  max-height: 260px;
  overflow-y: auto;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--accent-magenta-light);
  flex-grow: 1;
}

.terminal-line {
  margin-bottom: 4px;
}

.terminal-line.success { color: var(--accent-emerald); }
.terminal-line.muted { color: var(--text-dim); }

/* Feasibility Sub-bar inside Diagnostics */
.feasibility-sub-bar {
  margin-top: 36px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.feasibility-search-inline {
  display: flex;
  gap: 10px;
  flex-grow: 1;
  max-width: 550px;
}

.search-input {
  flex-grow: 1;
  background: rgba(4, 4, 9, 0.8);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: 0.95rem;
  color: #ffffff;
  outline: none;
  transition: border-color var(--transition-fast);
}

.search-input:focus {
  border-color: var(--accent-magenta);
  box-shadow: var(--shadow-brand);
}

.search-results-box {
  margin-top: 18px;
  border-radius: var(--radius-md);
  display: none;
  text-align: left;
}

/* ==========================================================================
   ENTERPRISE INFRASTRUCTURE & SLA ARCHITECTURE
   ========================================================================== */
.infra-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition-fast);
}

.pillar-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.pillar-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(217, 27, 138, 0.15);
  border: 1px solid rgba(217, 27, 138, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-magenta-light);
  margin-bottom: 20px;
}

.pillar-icon svg {
  width: 24px;
  height: 24px;
}

.pillar-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.pillar-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* SLA Assurance Comparison Table */
.sla-table-card {
  margin-top: 50px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.sla-table-header {
  padding: 24px 30px;
  background: rgba(4, 4, 9, 0.6);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sla-table-responsive {
  overflow-x: auto;
}

.sla-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.sla-table th {
  padding: 16px 24px;
  background: rgba(8, 6, 20, 0.9);
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border-subtle);
}

.sla-table td {
  padding: 18px 24px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.sla-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.sla-table td.highlight {
  color: var(--accent-magenta-light);
  font-family: var(--font-mono);
  font-weight: 700;
}

/* ==========================================================================
   ABOUT DREAM TELEINFRA & CORPORATE VALUES
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.highlight-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}

.highlight-title {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.highlight-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ENTERPRISE LEAD CAPTURE & CONTACT MODAL
   ========================================================================== */
.contact-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-darkest) 100%);
}

.contact-card-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon-bubble {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(217, 27, 138, 0.15);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-magenta-light);
  flex-shrink: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-control {
  background: rgba(4, 4, 9, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-magenta);
  box-shadow: var(--shadow-brand);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* Modal Window */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 4, 9, 0.88);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-lg), var(--shadow-brand);
  transform: translateY(20px);
  transition: transform var(--transition-smooth);
}

.modal-overlay.active .modal-window {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.modal-close-btn:hover {
  color: #ffffff;
}

/* ==========================================================================
   ENTERPRISE FOOTER & COMPLIANCE
   ========================================================================== */
.site-footer {
  background: #020205;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 30px;
  position: relative;
  z-index: 1;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

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

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-magenta-light);
  transform: translateX(4px);
}

.footer-bottom-bar {
  border-top: 1px solid var(--border-subtle);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

@keyframes ticker-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

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

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1200px) {
  .diagnostics-dual-grid {
    grid-template-columns: 1fr;
  }
  .infra-track-record {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1100px) {
  .hero-metrics-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .metric-card {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 12px;
  }
  .pop-map-container,
  .calculator-wrap,
  .contact-card-wrap,
  .about-grid {
    grid-template-columns: 1fr;
  }
  .speed-test-compact {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
  .infra-pillars-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 868px) {
  .top-bar-actions {
    display: none;
  }
  .main-nav {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .terminal-controls {
    grid-template-columns: 1fr;
  }
  .hero-metrics-bar {
    grid-template-columns: 1fr;
  }
  .epc-grid {
    grid-template-columns: 1fr;
  }
  .infra-track-record {
    grid-template-columns: 1fr;
  }
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-medium);
  z-index: 200;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
  transition: right var(--transition-smooth);
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-nav-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
}

.mobile-nav-link:hover {
  color: var(--accent-magenta-light);
}
