/* ==========================================================================
   PSEB - DevOps Bootcamp at Antonx: Design System & Styling
   Brand Colors: Antonx Cyan (#008db9), Deep Navy (#080c14), Electric Cyan (#00c2f8)
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #080c14;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(22, 34, 60, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-glass: rgba(0, 141, 185, 0.22);
  --border-glass-active: rgba(0, 194, 248, 0.6);

  --brand-cyan: #008db9;
  --brand-cyan-light: #00c2f8;
  --brand-cyan-glow: rgba(0, 141, 185, 0.35);
  --brand-emerald: #10b981;
  --brand-emerald-glow: rgba(16, 185, 129, 0.3);
  --brand-purple: #8b5cf6;
  --brand-amber: #f59e0b;
  --brand-rose: #f43f5e;

  /* Text Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-brand: #38bdf8;

  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Shadows & Elevations */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 35px rgba(0, 141, 185, 0.3);
  --shadow-glow-cyan: 0 0 50px rgba(0, 194, 248, 0.45);

  /* Transitions */
  --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 Resets */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Atmospheric Glow Orbs */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  z-index: 0;
  opacity: 0.5;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.orb-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(0, 141, 185, 0.28) 0%, transparent 70%);
  top: -150px;
  right: -100px;
}

.orb-2 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, transparent 70%);
  bottom: 10%;
  left: -150px;
  animation-delay: -6s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.16) 0%, transparent 70%);
  top: 40%;
  right: 15%;
  animation-delay: -12s;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

@keyframes floatOrb {
  0% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(40px) scale(1.08); }
  100% { transform: translateY(-30px) scale(0.95); }
}

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

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

p {
  color: var(--text-secondary);
}

.gradient-text {
  background: linear-gradient(135deg, #00c2f8 0%, #008db9 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  padding: 0.8rem 1.6rem;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: 1px solid transparent;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, #008db9 0%, #00b4e6 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 141, 185, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #009ecd 0%, #00c8ff 100%);
  box-shadow: 0 6px 28px rgba(0, 194, 248, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--brand-cyan);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-primary-sm {
  background: linear-gradient(135deg, #008db9 0%, #00b4e6 100%);
  color: #ffffff;
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
  border-radius: 8px;
}

.btn-primary-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(0, 194, 248, 0.4);
}

.btn-secondary-sm {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border-color: rgba(255, 255, 255, 0.1);
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
  border-radius: 8px;
}

.btn-secondary-sm:hover {
  background: rgba(0, 141, 185, 0.15);
  border-color: var(--brand-cyan);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: var(--text-brand);
  border-color: var(--border-glass-active);
  padding: 0.7rem 1.4rem;
}

.btn-outline:hover {
  background: rgba(0, 141, 185, 0.15);
  color: #ffffff;
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
  padding: 0.5rem 1rem;
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Announcement Bar
   ========================================================================== */
.announcement-bar {
  background: linear-gradient(90deg, rgba(8, 12, 20, 0.95), rgba(16, 28, 48, 0.95), rgba(8, 12, 20, 0.95));
  border-bottom: 1px solid rgba(0, 141, 185, 0.18);
  font-size: 0.82rem;
  padding: 0.45rem 0;
  position: relative;
  z-index: 100;
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.badge-pill {
  background: rgba(0, 141, 185, 0.2);
  color: var(--brand-cyan-light);
  border: 1px solid rgba(0, 141, 185, 0.4);
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.announcement-text {
  color: var(--text-secondary);
  font-size: 0.84rem;
}

.server-status-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 0.76rem;
  font-family: var(--font-mono);
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
}

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

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(8, 12, 20, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-smooth);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-container {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

/* Clean White / High-contrast Badge for Antonx Logo */
.logo-wrapper {
  background: #ffffff;
  padding: 6px 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 14px rgba(0, 141, 185, 0.3);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.logo-wrapper:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 20px rgba(0, 194, 248, 0.45);
}

.brand-logo {
  height: 28px;
  width: auto;
  display: block;
}

.brand-meta {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.brand-sub {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--brand-cyan-light);
  letter-spacing: 0.12em;
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-cyan-light);
  transition: width var(--transition-fast);
}

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

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

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 5.5rem 0 4.5rem;
  position: relative;
  z-index: 1;
}

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 141, 185, 0.12);
  border: 1px solid rgba(0, 141, 185, 0.35);
  color: var(--brand-cyan-light);
  padding: 0.35rem 0.95rem;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.4rem;
}

.tag-icon {
  color: #f59e0b;
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.3rem;
  font-weight: 800;
}

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

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.2rem;
}

/* Hero Stats Grid */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.stat-value {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.stat-unit {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-cyan-light);
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.stat-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Hero Visual & Brand Stage */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.logo-stage-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 440px;
  background: radial-gradient(circle at center, rgba(16, 27, 48, 0.9), rgba(8, 12, 20, 0.95));
  border: 1px solid rgba(0, 141, 185, 0.3);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 50px rgba(0, 141, 185, 0.15);
  backdrop-filter: blur(20px);
}

.stage-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(0, 194, 248, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulseGlow 6s ease-in-out infinite;
}

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

.brand-shield {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-halo {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 2px dashed rgba(0, 141, 185, 0.4);
  animation: spinHalo 30s linear infinite;
}

@keyframes spinHalo {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.logo-box {
  position: relative;
  width: 170px;
  height: 170px;
  background: #ffffff;
  border-radius: 24px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(0, 141, 185, 0.4), inset 0 0 15px rgba(0, 0, 0, 0.05);
  transform: rotate(-1deg);
  transition: transform var(--transition-smooth);
}

.logo-box:hover {
  transform: rotate(0deg) scale(1.05);
}

.hero-logo-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Orbit Badges */
.orbit-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  z-index: 3;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.orbit-badge:hover {
  border-color: var(--brand-cyan-light);
  transform: scale(1.08);
}

.orbit-k8s {
  top: 35px;
  left: 20px;
  color: #326ce5;
}

.orbit-docker {
  top: 45px;
  right: 25px;
  color: #2496ed;
}

.orbit-aws {
  bottom: 80px;
  right: 15px;
  color: #ff9900;
}

.orbit-git {
  bottom: 75px;
  left: 20px;
  color: #f05032;
}

.orbit-terraform {
  top: 50%;
  right: -12px;
  transform: translateY(-50%);
  color: #844fba;
}

.stage-ribbon {
  position: absolute;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(8, 12, 20, 0.85);
  border: 1px solid rgba(0, 141, 185, 0.3);
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  font-size: 0.74rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.ribbon-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-emerald);
  box-shadow: 0 0 8px var(--brand-emerald);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
  margin-bottom: 3.5rem;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 141, 185, 0.12);
  border: 1px solid rgba(0, 141, 185, 0.3);
  color: var(--brand-cyan-light);
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 660px;
  margin: 0 auto;
}

/* ==========================================================================
   Telemetry Section
   ========================================================================== */
.telemetry-section {
  padding: 4.5rem 0;
  position: relative;
  z-index: 1;
}

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

.telemetry-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 1.4rem;
  backdrop-filter: blur(16px);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.telemetry-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass-active);
  background: var(--bg-card-hover);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.head-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.icon-cyan { background: rgba(0, 141, 185, 0.15); color: var(--brand-cyan-light); }
.icon-emerald { background: rgba(16, 185, 129, 0.15); color: var(--brand-emerald); }
.icon-purple { background: rgba(139, 92, 246, 0.15); color: var(--brand-purple); }
.icon-amber { background: rgba(245, 158, 11, 0.15); color: var(--brand-amber); }

.head-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.card-metric {
  font-size: 1.7rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.card-detail {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.card-detail strong {
  color: var(--text-secondary);
}

.telemetry-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.api-link {
  color: var(--text-brand);
  font-size: 0.88rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition-fast);
}

.api-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.api-link code {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

/* ==========================================================================
   CI/CD Pipeline Simulator Section
   ========================================================================== */
.simulator-section {
  padding: 4.5rem 0;
  position: relative;
  z-index: 1;
}

.simulator-wrapper {
  background: #090e18;
  border: 1px solid rgba(0, 141, 185, 0.35);
  border-radius: 20px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 141, 185, 0.12);
  overflow: hidden;
}

.simulator-header {
  background: #0e1526;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.window-controls {
  display: flex;
  gap: 6px;
}

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

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

.simulator-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.branch-pill {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  background: rgba(0, 141, 185, 0.15);
  color: var(--brand-cyan-light);
  border: 1px solid rgba(0, 141, 185, 0.35);
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
}

/* Pipeline Visualizer Stepper */
.pipeline-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2rem;
  background: rgba(14, 21, 38, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.45;
  transition: all var(--transition-fast);
}

.pipeline-step.step-active {
  opacity: 1;
}

.step-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.pipeline-step.step-active .step-circle {
  background: rgba(0, 141, 185, 0.25);
  border-color: var(--brand-cyan-light);
  color: var(--brand-cyan-light);
  box-shadow: 0 0 15px rgba(0, 194, 248, 0.4);
}

.pipeline-step.step-success .step-circle {
  background: rgba(16, 185, 129, 0.25);
  border-color: var(--brand-emerald);
  color: var(--brand-emerald);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.step-name {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.pipeline-step.step-active .step-name {
  color: #ffffff;
}

.step-connector {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 0.8rem;
  transform: translateY(-10px);
}

/* Terminal Screen */
.terminal-screen {
  padding: 1.5rem 1.8rem;
  background: #060911;
  min-height: 280px;
  max-height: 340px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  line-height: 1.65;
}

.terminal-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.term-line {
  word-break: break-all;
}

.term-dim { color: #475569; }
.term-info { color: #38bdf8; }
.term-success { color: #34d399; }
.term-warning { color: #fbbf24; }
.term-danger { color: #f87171; }

/* Simulator Controls */
.simulator-controls {
  padding: 1rem 1.8rem;
  background: #0e1526;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.controls-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.controls-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pipeline-speed-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.speed-toggle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.speed-toggle.active {
  background: var(--brand-cyan);
  border-color: var(--brand-cyan-light);
  color: #ffffff;
}

/* ==========================================================================
   Curriculum Section
   ========================================================================== */
.curriculum-section {
  padding: 5.5rem 0;
  position: relative;
  z-index: 1;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
}

.module-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2.2rem;
  backdrop-filter: blur(16px);
  transition: all var(--transition-smooth);
}

.module-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glass-active);
  background: var(--bg-card-hover);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.featured-module {
  border-color: rgba(0, 194, 248, 0.4);
  background: linear-gradient(145deg, rgba(16, 27, 48, 0.85), rgba(10, 16, 30, 0.85));
}

.popular-ribbon {
  position: absolute;
  top: 1.4rem;
  right: 1.6rem;
  background: linear-gradient(135deg, #008db9, #00c2f8);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

.module-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-cyan-light);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.module-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 141, 185, 0.15);
  border: 1px solid rgba(0, 141, 185, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--brand-cyan-light);
  margin-bottom: 1.25rem;
}

.module-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.module-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.4rem;
  line-height: 1.6;
}

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

.module-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.module-features li i {
  color: var(--brand-emerald);
  font-size: 0.8rem;
}

/* ==========================================================================
   Toolchain Section
   ========================================================================== */
.toolchain-section {
  padding: 4.5rem 0;
  position: relative;
  z-index: 1;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.2rem;
}

.tool-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: all var(--transition-fast);
}

.tool-item:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass-active);
  background: var(--bg-card-hover);
}

.tool-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
}

.docker-color { color: #2496ed; }
.k8s-color { color: #326ce5; }
.tf-color { color: #844fba; }
.aws-color { color: #ff9900; }
.gh-color { color: #ffffff; }
.prometheus-color { color: #e6522c; }
.grafana-color { color: #f46800; }
.linux-color { color: #fcc624; }
.ansible-color { color: #ee0000; }
.argo-color { color: #ef7b4d; }
.helm-color { color: #0f1689; }
.node-color { color: #68a063; }

.tool-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

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

/* ==========================================================================
   Benefits / Synergy Section
   ========================================================================== */
.benefits-section {
  padding: 4.5rem 0;
  position: relative;
  z-index: 1;
}

.benefits-card {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3.5rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(16, 27, 48, 0.8), rgba(8, 12, 20, 0.9));
  border: 1px solid rgba(0, 141, 185, 0.25);
  border-radius: 28px;
  padding: 3.5rem;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(20px);
}

.benefits-heading {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.benefits-copy {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

.bullet-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(0, 141, 185, 0.15);
  border: 1px solid rgba(0, 141, 185, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--brand-cyan-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.bullet-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.bullet-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Badge Highlight Card on Right */
.highlight-badge-card {
  background: rgba(14, 21, 38, 0.85);
  border: 1px solid rgba(0, 141, 185, 0.35);
  border-radius: 20px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.badge-emblem {
  background: #ffffff;
  padding: 12px 20px;
  border-radius: 16px;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 141, 185, 0.3);
}

.emblem-img {
  height: 48px;
  width: auto;
  display: block;
}

.emblem-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
}

.emblem-subtitle {
  font-size: 0.82rem;
  color: var(--brand-cyan-light);
  margin-top: 0.2rem;
}

.emblem-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 1.4rem 0;
}

.cohort-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.cohort-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.cohort-row strong {
  color: #ffffff;
}

.status-live-tag {
  color: var(--brand-emerald);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
}

/* ==========================================================================
   CTA & Enrollment Section
   ========================================================================== */
.cta-section {
  padding: 5.5rem 0;
  position: relative;
  z-index: 1;
}

.cta-box {
  position: relative;
  background: radial-gradient(circle at center, rgba(16, 28, 52, 0.95), rgba(8, 12, 20, 0.95));
  border: 1px solid rgba(0, 194, 248, 0.4);
  border-radius: 28px;
  padding: 4rem 2rem;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7), 0 0 60px rgba(0, 141, 185, 0.2);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.cta-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 150px;
  background: radial-gradient(ellipse, rgba(0, 194, 248, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.cta-tag {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.35);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 1.2rem;
}

.cta-heading {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 520px;
  margin: 0 auto;
}

.form-group {
  width: 100%;
}

.form-input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(14, 21, 38, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus {
  border-color: var(--brand-cyan-light);
  box-shadow: 0 0 15px rgba(0, 194, 248, 0.35);
  background: rgba(20, 30, 52, 0.95);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338bdf8' 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");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 1.1em;
}

.form-select option {
  background-color: #0b1120;
  color: #ffffff;
}

.btn-cta-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1.05rem;
}

.form-success-banner {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  padding: 1rem;
  border-radius: 10px;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.95rem;
}

.cta-footnote {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 1.8rem;
}

/* ==========================================================================
   Modal Dialog
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 13, 0.85);
  backdrop-filter: blur(14px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.active {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 600px;
  background: #0b1120;
  border: 1px solid rgba(0, 141, 185, 0.4);
  border-radius: 20px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 141, 185, 0.2);
  overflow: hidden;
  animation: modalScale 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

.modal-icon {
  color: var(--brand-cyan-light);
  font-size: 1.15rem;
}

.modal-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: color var(--transition-fast);
}

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

.modal-body {
  padding: 1.5rem;
}

.modal-json-wrap {
  background: #060911;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
}

.json-header {
  background: #0f172a;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

.btn-copy-json {
  background: transparent;
  border: none;
  color: var(--brand-cyan-light);
  cursor: pointer;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.btn-copy-json:hover {
  color: #ffffff;
}

.json-content {
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #38bdf8;
  max-height: 280px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

.modal-footer {
  padding: 1.1rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #05080f;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4.5rem 0 2rem;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo-wrap {
  background: #ffffff;
  padding: 8px 14px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.25rem;
  align-self: flex-start;
  box-shadow: 0 4px 15px rgba(0, 141, 185, 0.25);
}

.footer-logo {
  height: 28px;
  width: auto;
  display: block;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

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

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--brand-cyan);
  border-color: var(--brand-cyan-light);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.2rem;
}

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

.footer-list a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.86rem;
  transition: color var(--transition-fast);
}

.footer-list a:hover {
  color: var(--brand-cyan-light);
}

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

.bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

.bottom-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.bottom-links a:hover {
  color: #ffffff;
}

.live-pill {
  color: var(--brand-emerald);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.live-pill i {
  font-size: 0.5rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-visual {
    margin-top: 1rem;
  }

  .telemetry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tools-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .benefits-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .modules-grid {
    grid-template-columns: 1fr;
  }

  .tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pipeline-stepper {
    overflow-x: auto;
    padding: 1rem;
  }

  .step-name {
    display: none;
  }

  .simulator-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .controls-left {
    flex-wrap: wrap;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

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

  .telemetry-grid {
    grid-template-columns: 1fr;
  }

  .announcement-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}

/* ==========================================================================
   Pricing Page Components & Styling
   ========================================================================== */
.pricing-hero {
  padding: 4.5rem 0 2rem;
  text-align: center;
}

.pricing-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 141, 185, 0.15);
  border: 1px solid var(--border-glass-active);
  color: var(--brand-cyan-light);
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.pricing-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 1.2rem;
  line-height: 1.15;
}

.pricing-hero .hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

/* Currency & Schedule Controls */
.pricing-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.currency-toggle-wrap {
  display: inline-flex;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-glass);
  padding: 0.35rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.currency-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 0.45rem 1.25rem;
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.currency-btn.active {
  background: var(--brand-cyan);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 141, 185, 0.4);
}

.subsidy-alert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Pricing Cards Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 4.5rem;
}

.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  backdrop-filter: blur(12px);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glass-active);
  box-shadow: var(--shadow-md), 0 0 30px rgba(0, 141, 185, 0.25);
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(16, 32, 60, 0.9) 0%, rgba(10, 18, 35, 0.85) 100%);
  border: 2px solid var(--brand-cyan-light);
  box-shadow: var(--shadow-md), 0 0 40px rgba(0, 194, 248, 0.25);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-8px);
}

.card-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand-cyan-light), var(--brand-cyan));
  color: #080c14;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 4px 15px rgba(0, 194, 248, 0.4);
  white-space: nowrap;
}

.card-header-top {
  margin-bottom: 1.5rem;
}

.card-tier-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card-tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  min-height: 44px;
}

.price-wrap {
  margin: 1.5rem 0 1.8rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.original-price {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 0.25rem;
}

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

.price-currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand-cyan-light);
}

.price-amount {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  font-family: var(--font-mono);
  color: var(--text-primary);
}

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

.price-subsidy-note {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #34d399;
}

.features-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.features-list li i {
  color: var(--brand-cyan-light);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.pricing-card.featured .features-list li i {
  color: #34d399;
}

.btn-card-cta {
  width: 100%;
  padding: 0.9rem 1.5rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

/* Voucher Code Section */
.voucher-section {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.voucher-info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.voucher-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.voucher-form-wrap {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.voucher-input {
  background: rgba(8, 12, 20, 0.85);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 1rem;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  outline: none;
  text-transform: uppercase;
  min-width: 220px;
}

.voucher-input:focus {
  border-color: var(--brand-cyan-light);
  box-shadow: 0 0 15px rgba(0, 194, 248, 0.3);
}

.voucher-chips {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.voucher-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  color: var(--brand-cyan-light);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.voucher-chip:hover {
  background: rgba(0, 141, 185, 0.2);
  border-color: var(--brand-cyan-light);
}

.voucher-status-message {
  font-size: 0.88rem;
  margin-top: 0.5rem;
}

/* Comparison Table */
.comparison-section {
  margin-bottom: 5rem;
}

.section-title-center {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title-center h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.table-responsive {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
}

.comparison-table th {
  background: rgba(10, 18, 35, 0.9);
  color: var(--text-primary);
  font-weight: 700;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
  width: 35%;
}

.feature-check {
  color: #34d399;
  font-size: 1.1rem;
}

.feature-cross {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Enrollment Modal Form */
.enroll-modal-card {
  max-width: 580px;
}

.form-group {
  margin-bottom: 1.2rem;
  text-align: left;
}

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

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(8, 12, 20, 0.9);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--brand-cyan-light);
  box-shadow: 0 0 15px rgba(0, 194, 248, 0.3);
}

/* ==========================================================================
   System Health & Status Page Components & Styling
   ========================================================================== */
.health-hero {
  padding: 3.5rem 0 2rem;
  text-align: center;
}

.status-live-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  margin-bottom: 1.8rem;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.2);
}

.status-live-banner.degraded {
  background: rgba(244, 63, 94, 0.12);
  border-color: rgba(244, 63, 94, 0.35);
  box-shadow: 0 0 25px rgba(244, 63, 94, 0.2);
}

.pulse-circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
  animation: pulseDot 2s infinite ease-in-out;
}

.status-live-banner.degraded .pulse-circle {
  background: #f43f5e;
  box-shadow: 0 0 10px #f43f5e;
}

.status-banner-text {
  font-size: 0.98rem;
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: 0.5px;
}

.health-auto-refresh-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

/* Health Metric Cards Grid */
.health-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.health-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.health-stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass-active);
}

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

.stat-card-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(0, 141, 185, 0.15);
  color: var(--brand-cyan-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.stat-card-value {
  font-size: 1.85rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.stat-card-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.progress-bar-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  margin-top: 0.8rem;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand-cyan-light));
  border-radius: 999px;
  width: 25%;
  transition: width 0.5s ease;
}

/* Service Status Table / Grid */
.service-health-section {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2.2rem;
  margin-bottom: 3.5rem;
}

.service-health-section h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

.service-item {
  background: rgba(8, 12, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-item-info strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.service-item-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Interactive API Sandbox / Tester Console */
.api-tester-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2.2rem;
  margin-bottom: 4rem;
}

.api-tester-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.api-selector-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.api-tab-btn {
  background: rgba(8, 12, 20, 0.7);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.api-tab-btn.active {
  background: var(--brand-cyan);
  color: #ffffff;
  border-color: var(--brand-cyan-light);
}

.api-response-box {
  background: #05080e;
  border: 1px solid rgba(0, 141, 185, 0.3);
  border-radius: 12px;
  overflow: hidden;
}

.api-response-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.api-meta-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.api-status-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.api-time-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.api-json-pre {
  margin: 0;
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.6;
  color: #38bdf8;
  max-height: 420px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

/* Responsive adjustments for Pricing & Health */
@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto 3.5rem;
  }
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-8px);
  }
  .health-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .health-metrics-grid {
    grid-template-columns: 1fr;
  }
  .voucher-section {
    flex-direction: column;
    align-items: stretch;
  }
  .voucher-form-wrap {
    flex-direction: column;
  }
  .voucher-input {
    width: 100%;
  }
}

