:root {
  --bg-color: #04070a;
  --bg-card: rgba(8, 16, 24, 0.75);
  --bg-card-hover: rgba(12, 25, 38, 0.9);
  --neon-green: #00ff9d;
  --neon-green-glow: rgba(0, 255, 157, 0.35);
  --neon-cyan: #00e0ff;
  --neon-cyan-glow: rgba(0, 224, 255, 0.35);
  --neon-amber: #ffb800;
  --neon-red: #ff3366;
  --text-primary: #ecfdf5;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-hud: rgba(0, 255, 157, 0.25);
  --border-hud-bright: rgba(0, 255, 157, 0.6);
  --font-mono: "JetBrains Mono", Consolas, "Courier New", Courier, monospace, system-ui;
  --grid-line: rgba(0, 255, 157, 0.04);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-mono);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* CRT Scanlines and Grid Overlay */
body::before {
  content: " ";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 999;
}

body::after {
  content: " ";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.18),
    rgba(0, 0, 0, 0.18) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
  z-index: 1000;
  opacity: 0.6;
}

a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--neon-green);
  text-shadow: 0 0 8px var(--neon-green-glow);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HUD Top Status Bar */
.hud-status-bar {
  background: rgba(4, 10, 16, 0.95);
  border-bottom: 1px solid var(--border-hud);
  padding: 6px 16px;
  font-size: 0.78rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.hud-status-left, .hud-status-right {
  display: flex;
  gap: 16px;
  align-items: center;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--neon-green);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); box-shadow: 0 0 12px var(--neon-green); }
}

.live-clock {
  color: var(--neon-cyan);
  letter-spacing: 1px;
}

/* Navigation */
.hud-nav {
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 224, 255, 0.15);
  background: rgba(4, 7, 10, 0.85);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--neon-green);
  letter-spacing: 1px;
  text-shadow: 0 0 10px var(--neon-green-glow);
}

.brand-tag {
  font-size: 0.7rem;
  padding: 2px 6px;
  background: rgba(0, 255, 157, 0.1);
  border: 1px solid var(--neon-green);
  border-radius: 2px;
  color: var(--neon-green);
}

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

.nav-links li a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 6px 10px;
  position: relative;
  letter-spacing: 0.5px;
}

.nav-links li a:hover {
  color: var(--neon-cyan);
}

.nav-btn-highlight {
  border: 1px solid var(--neon-cyan);
  padding: 6px 14px !important;
  color: var(--neon-cyan) !important;
  background: rgba(0, 224, 255, 0.08);
  box-shadow: 0 0 10px rgba(0, 224, 255, 0.2);
}

.nav-btn-highlight:hover {
  background: rgba(0, 224, 255, 0.2) !important;
  color: #fff !important;
}

.nav-btn-cta {
  background: var(--neon-green) !important;
  color: #04070a !important;
  font-weight: 700;
  padding: 8px 18px !important;
  border-radius: 2px;
  box-shadow: 0 0 15px var(--neon-green-glow);
}

.nav-btn-cta:hover {
  background: #22fcae !important;
  box-shadow: 0 0 20px rgba(0, 255, 157, 0.7);
  color: #000 !important;
}

/* Hero Section */
.hero-hud {
  padding: 48px 0 60px;
  position: relative;
}

.terminal-header {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-hud);
  border-bottom: none;
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

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

.dot-red { background: #ef4444; }
.dot-yellow { background: #eab308; }
.dot-green { background: #22c55e; }

.terminal-window {
  background: var(--bg-card);
  border: 1px solid var(--border-hud);
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  position: relative;
}

.terminal-window::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 14px;
  height: 14px;
  border-bottom: 2px solid var(--neon-green);
  border-right: 2px solid var(--neon-green);
}

.boot-log {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
  border-left: 2px solid rgba(0, 255, 157, 0.3);
  padding-left: 12px;
}

.boot-line-success {
  color: var(--neon-green);
}

.boot-line-info {
  color: var(--neon-cyan);
}

.hero-title-box {
  margin-bottom: 16px;
}

.hero-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.neon-text-green {
  color: var(--neon-green);
  text-shadow: 0 0 12px var(--neon-green-glow);
}

.neon-text-cyan {
  color: var(--neon-cyan);
  text-shadow: 0 0 12px var(--neon-cyan-glow);
}

.typing-cursor {
  display: inline-block;
  color: var(--neon-green);
  font-weight: 300;
  animation: blink 0.9s infinite;
}

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

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 820px;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* 4 HUD Stat Panels */
.hud-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.hud-panel {
  background: rgba(10, 20, 30, 0.65);
  border: 1px solid var(--border-hud);
  padding: 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.hud-panel:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 224, 255, 0.2);
}

.hud-panel-label {
  font-size: 0.72rem;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
}

.hud-panel-val {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--neon-green);
  text-shadow: 0 0 10px var(--neon-green-glow);
  margin: 6px 0;
  font-variant-numeric: tabular-nums;
}

.hud-panel-unit {
  font-size: 0.78rem;
  color: var(--neon-cyan);
  font-weight: 400;
  margin-left: 4px;
}

.hud-panel-foot {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Route List */
.routes-container {
  background: rgba(6, 12, 20, 0.85);
  border: 1px solid rgba(0, 255, 157, 0.2);
  padding: 16px 20px;
  margin-bottom: 24px;
}

.routes-header {
  font-size: 0.8rem;
  color: var(--neon-cyan);
  margin-bottom: 12px;
  letter-spacing: 1px;
  display: flex;
  justify-content: space-between;
}

.route-item {
  display: grid;
  grid-template-columns: 140px 1fr 80px;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
  font-size: 0.82rem;
}

.route-item:last-child {
  margin-bottom: 0;
}

.route-name {
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.route-bar-bg {
  background: rgba(255, 255, 255, 0.08);
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.route-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-green));
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px var(--neon-green-glow);
}

.route-latency {
  text-align: right;
  font-weight: 600;
  color: var(--neon-green);
  font-variant-numeric: tabular-nums;
}

/* Test Action Button */
.test-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 24px 0 20px;
}

.btn-test {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: transparent;
  color: var(--neon-green);
  border: 2px solid var(--neon-green);
  padding: 14px 38px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  cursor: pointer;
  position: relative;
  transition: all 0.25s ease;
  font-family: var(--font-mono);
  box-shadow: 0 0 20px rgba(0, 255, 157, 0.25), inset 0 0 10px rgba(0, 255, 157, 0.1);
  border-radius: 2px;
}

.btn-test:hover {
  background: var(--neon-green);
  color: #04070a;
  box-shadow: 0 0 35px rgba(0, 255, 157, 0.7);
  transform: translateY(-2px);
}

.btn-test:active {
  transform: translateY(1px);
}

.download-shortcuts {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-download-link {
  font-size: 0.82rem;
  color: var(--neon-cyan);
  border: 1px dashed rgba(0, 224, 255, 0.4);
  padding: 6px 14px;
  border-radius: 2px;
  background: rgba(0, 224, 255, 0.05);
}

.btn-download-link:hover {
  border-style: solid;
  border-color: var(--neon-green);
  color: var(--neon-green);
  background: rgba(0, 255, 157, 0.1);
}

/* Section Title Common */
.section-hud {
  padding: 64px 0;
  border-top: 1px solid rgba(0, 255, 157, 0.12);
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  font-size: 0.78rem;
  color: var(--neon-cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
}

.section-title {
  font-size: 1.95rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

/* 3 Core Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hud);
  padding: 28px;
  position: relative;
  transition: all 0.3s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--neon-green);
}

.feature-card:hover {
  border-color: var(--neon-green);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 255, 157, 0.15);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  background: rgba(0, 255, 157, 0.1);
  border: 1px solid var(--neon-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--neon-green);
  font-size: 1.5rem;
}

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

.feature-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Streaming & AI Cards */
.media-ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.media-ai-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hud);
  padding: 30px;
  position: relative;
}

.media-ai-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.media-ai-title {
  font-size: 1.25rem;
  color: var(--neon-cyan);
}

.media-ai-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 224, 255, 0.3);
  padding: 6px 12px;
  font-size: 0.78rem;
  color: #ecfdf5;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.service-tag span {
  color: var(--neon-green);
}

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

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hud);
  padding: 26px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.price-card.featured {
  border-color: var(--neon-green);
  background: rgba(10, 26, 30, 0.85);
  box-shadow: 0 0 25px rgba(0, 255, 157, 0.25);
  transform: scale(1.02);
}

.featured-badge {
  position: absolute;
  top: -12px;
  right: 16px;
  background: var(--neon-green);
  color: #04070a;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  letter-spacing: 1px;
}

.plan-name {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  min-height: 36px;
  margin-bottom: 16px;
}

.plan-price-box {
  margin-bottom: 20px;
  padding: 12px 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.price-currency {
  font-size: 1rem;
  color: var(--neon-green);
}

.price-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--neon-green);
  line-height: 1;
}

.price-period {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.plan-specs {
  list-style: none;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex-grow: 1;
}

.plan-specs li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-specs li::before {
  content: "✔";
  color: var(--neon-green);
  font-size: 0.75rem;
}

.btn-cta {
  display: block;
  text-align: center;
  padding: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
  background: rgba(0, 255, 157, 0.08);
  letter-spacing: 1px;
  transition: all 0.2s ease;
  border-radius: 2px;
}

.btn-cta:hover {
  background: var(--neon-green);
  color: #04070a;
  box-shadow: 0 0 15px var(--neon-green-glow);
}

.price-card.featured .btn-cta {
  background: var(--neon-green);
  color: #04070a;
}

.price-card.featured .btn-cta:hover {
  background: #2affb4;
  box-shadow: 0 0 20px rgba(0, 255, 157, 0.6);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 224, 255, 0.2);
  padding: 22px;
  position: relative;
}

.testimonial-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.user-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--neon-cyan);
  background: rgba(0, 224, 255, 0.1);
  font-size: 0.85rem;
}

.user-name {
  font-size: 0.85rem;
  color: #fff;
}

.user-role {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.user-rating {
  color: #ffb800;
  font-size: 0.75rem;
}

.testimonial-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* FAQ */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-hud);
  background: var(--bg-card);
  margin-bottom: 14px;
}

.faq-question {
  width: 100%;
  padding: 16px 20px;
  text-align: left;
  background: none;
  border: none;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-mono);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--neon-green);
}

.faq-answer {
  padding: 0 20px 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px dashed rgba(255, 255, 255, 0.05);
}

/* Footer Strict: 4 Links Only */
.hud-footer {
  border-top: 1px solid var(--border-hud);
  background: rgba(4, 7, 10, 0.98);
  padding: 40px 0;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 4px 8px;
  letter-spacing: 0.5px;
}

.footer-nav a:hover {
  color: var(--neon-green);
  text-shadow: 0 0 8px var(--neon-green-glow);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hud-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hud-status-right {
    display: none;
  }
  .nav-wrapper {
    flex-direction: column;
    gap: 12px;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .hero-title {
    font-size: 1.75rem;
  }
  .hud-stats-grid {
    grid-template-columns: 1fr;
  }
  .route-item {
    grid-template-columns: 110px 1fr 60px;
    gap: 8px;
    font-size: 0.75rem;
  }
  .features-grid,
  .media-ai-grid,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .btn-test {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
  }
  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }
}
