/* =============================================
   Comskynet — Custom Styles (dark red theme)
   ============================================= */

:root {
  color-scheme: dark;
  --primary: #b91c1c;
  --primary-dark: #991b1b;
  --primary-glow: rgba(185, 28, 28, 0.35);
  --primary-rgb: 185, 28, 28;
  --accent: #dc2626;
  --accent-rgb: 220, 38, 38;
  --gradient: linear-gradient(135deg, #991b1b 0%, #dc2626 100%);
  --bg: #0c0808;
  --bg-card: #161010;
  --bg-section: #110a0a;
  --bg-top: #080505;
  --bg-footer: #060404;
  --nav-bg: rgba(12, 8, 8, 0.88);
  --nav-bg-scrolled: rgba(12, 8, 8, 0.97);
  --text: #e7e5e4;
  --text-muted: #a8a29e;
  --heading: #ffffff;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: rgba(0, 0, 0, 0.35);
  --overlay: rgba(255, 255, 255, 0.04);
  --overlay-hover: rgba(255, 255, 255, 0.06);
  --code-header: rgba(0, 0, 0, 0.35);
  --alert-warning-bg: rgba(234, 179, 8, 0.12);
  --alert-success-bg: rgba(34, 197, 94, 0.12);
  --dropdown-bg: #161010;
  --map-filter: none;
  --glass-bg: rgba(22, 16, 16, 0.92);
  --surface-muted: rgba(255, 255, 255, 0.03);
  --metric-bar-bg: rgba(255, 255, 255, 0.08);
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.25);
  --hero-bg-opacity: 1;
  --bs-primary: #b91c1c;
  --bs-primary-rgb: 185, 28, 28;
  --bs-link-color: #b91c1c;
  --bs-link-hover-color: #dc2626;
  --font: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- Top Bar ---- */
.top-bar {
  background: var(--bg-top);
  padding: 0.5rem 0;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.top-bar a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.top-bar a:hover { color: var(--primary); }

.top-link { font-weight: 500; }

.top-shop-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 1rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  color: #fff !important;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.top-shop-btn:hover {
  background: var(--primary);
  color: #fff !important;
  border-color: var(--primary);
}

/* ---- Navbar ---- */
#mainNav {
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  transition: background 0.3s, box-shadow 0.3s;
}

#mainNav.scrolled {
  background: var(--nav-bg-scrolled);
  box-shadow: 0 4px 30px var(--shadow);
}

.navbar-brand { text-decoration: none; }

.brand-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
}

.brand-text {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--heading);
  letter-spacing: -0.02em;
}

.brand-dot {
  color: var(--primary);
  font-weight: 600;
}

.nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem !important;
  transition: color 0.2s;
  position: relative;
}

.nav-link:hover,
.nav-link.active { color: var(--heading) !important; }

.nav-link.active:not(.dropdown-toggle)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* Keep Bootstrap dropdown caret — active underline must not replace it */
#mainNav .nav-link.dropdown-toggle::after {
  position: static;
  transform: none;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  bottom: auto;
  left: auto;
}

#mainNav .nav-item.dropdown > .nav-link.dropdown-toggle {
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  border: none;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: var(--gradient);
  transform: translateY(-1px);
  box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-outline-light {
  border-color: var(--border);
  color: var(--text);
}

.btn-outline-light:hover {
  background: var(--overlay);
  border-color: var(--border);
  color: var(--heading);
}

.btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.text-muted { color: var(--text-muted) !important; }

.text-primary { color: var(--primary) !important; }

.section-title,
.page-hero-title,
.hero-title,
h2.section-title,
.outlook-item h5,
.service-card h5,
.footer-heading,
.service-sidebar h5,
.service-sidebar h6,
.server-plan-card h5,
.server-tier-section h2,
.process-step h6,
.stat-number,
.contact-list strong,
.careers-panel h5,
.job-item h6,
.metric-value,
.content-heading {
  color: var(--heading);
}

a.service-card:hover h5 { color: var(--heading); }

.server-spec-table tbody td strong { color: var(--heading); }

/* ---- Hero ---- */
.hero {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  min-height: 100vh;
}

.hero-content {
  position: relative;
  z-index: 3;
}

/* Thematic background layer */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Scrolling data / binary rain */
.hero-data-rain {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-around;
  opacity: 0.12;
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

.data-col {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--primary);
  animation: dataScroll 18s linear infinite;
  white-space: nowrap;
}

.data-col:nth-child(2) { animation-duration: 22s; animation-delay: -4s; color: var(--accent); }
.data-col:nth-child(3) { animation-duration: 16s; animation-delay: -8s; }
.data-col:nth-child(4) { animation-duration: 24s; animation-delay: -2s; color: #34d399; }
.data-col:nth-child(5) { animation-duration: 20s; animation-delay: -10s; }
.data-col:nth-child(6) { animation-duration: 26s; animation-delay: -6s; color: var(--accent); }
.data-col:nth-child(7) { animation-duration: 19s; animation-delay: -3s; color: #fbbf24; }
.data-col:nth-child(8) { animation-duration: 23s; animation-delay: -7s; color: #fbbf24; opacity: 0.9; }
.data-col:nth-child(9) { animation-duration: 17s; animation-delay: -5s; color: #34d399; }
.data-col:nth-child(10) { animation-duration: 21s; animation-delay: -9s; color: #a78bfa; }

.data-col-route { opacity: 0.85; }

.data-col span {
  display: block;
  letter-spacing: 0.15em;
}

@keyframes dataScroll {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

/* SVG network topology */
.hero-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

.net-links {
  animation: netPulse 4s ease-in-out infinite;
}

@keyframes netPulse {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.45; }
}

.net-node > circle:first-child {
  animation: nodeGlow 3s ease-in-out infinite;
}

.net-nodes .net-node:nth-child(2) > circle:first-child { animation-delay: -0.5s; }
.net-nodes .net-node:nth-child(3) > circle:first-child { animation-delay: -1s; }
.net-nodes .net-node:nth-child(4) > circle:first-child { animation-delay: -1.5s; }
.net-nodes .net-node:nth-child(5) > circle:first-child { animation-delay: -2s; }

@keyframes nodeGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Routing paths & nodes */
.route-path {
  animation: routeFlow 3s linear infinite;
}

.route-path-rev {
  animation: routeFlow 4s linear infinite reverse;
}

@keyframes routeFlow {
  to { stroke-dashoffset: -32; }
}

.router-node > circle:first-child {
  animation: nodeGlow 2.5s ease-in-out infinite;
}

.router-nodes .router-node:nth-child(2) > circle:first-child { animation-delay: -0.6s; }
.router-nodes .router-node:nth-child(3) > circle:first-child { animation-delay: -1.2s; }
.router-nodes .router-node:nth-child(4) > circle:first-child { animation-delay: -1.8s; }

.route-links {
  animation: netPulse 5s ease-in-out infinite;
}

/* Floating routing table */
.hero-route-table {
  position: absolute;
  top: 22%;
  right: 3%;
  width: 200px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  border-radius: 10px;
  overflow: hidden;
  opacity: 0.4;
  font-family: var(--mono);
  font-size: 0.6rem;
  animation: routeTableFade 10s ease-in-out infinite;
}

@keyframes routeTableFade {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.55; }
}

.route-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  background: rgba(var(--accent-rgb), 0.08);
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.15);
  color: var(--accent);
  font-weight: 600;
  text-transform: lowercase;
}

.route-table-header i { font-size: 0.75rem; }

.route-status {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: #22c55e;
  font-size: 0.55rem;
  font-weight: 500;
}

.route-status-dot {
  width: 5px;
  height: 5px;
  background: #22c55e;
  border-radius: 50%;
  animation: badgePulse 2s ease-in-out infinite;
}

.route-table-body { padding: 0.35rem 0; }

.route-row {
  display: grid;
  grid-template-columns: 1fr 0.8fr 0.3fr;
  gap: 0.25rem;
  padding: 0.25rem 0.65rem;
  color: var(--text-muted);
  border-left: 2px solid transparent;
  transition: background 0.3s;
}

.route-row-active {
  background: rgba(var(--primary-rgb), 0.08);
  border-left-color: var(--primary);
  color: var(--text);
  animation: routeRowHighlight 4s ease-in-out infinite;
}

@keyframes routeRowHighlight {
  0%, 100% { background: rgba(var(--primary-rgb), 0.05); }
  50% { background: rgba(var(--primary-rgb), 0.12); }
}

.route-dest { color: #fbbf24; }
.route-via { color: var(--accent); }
.route-metric { text-align: right; opacity: 0.7; }

/* Floating route icons */
.hero-route-icons {
  position: absolute;
  inset: 0;
}

.route-icon-float {
  position: absolute;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  border-radius: 10px;
  color: rgba(var(--primary-rgb), 0.35);
  font-size: 1rem;
  animation: float 5s ease-in-out infinite;
}

.rif-1 { bottom: 28%; left: 22%; animation-delay: 0s; }
.rif-2 { top: 35%; left: 8%; animation-delay: 1.5s; color: rgba(var(--accent-rgb), 0.35); }
.rif-3 { bottom: 15%; right: 28%; animation-delay: 3s; color: rgba(251, 191, 36, 0.35); }

/* CSS server racks */
.hero-server-racks {
  position: absolute;
  inset: 0;
}

.server-rack {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px;
  background: var(--glass-bg);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  border-radius: 6px;
  opacity: 0.35;
}

.rack-1 {
  bottom: 12%;
  left: 4%;
  animation: rackFade 8s ease-in-out infinite;
}

.rack-2 {
  top: 18%;
  right: 6%;
  animation: rackFade 8s ease-in-out infinite 4s;
}

@keyframes rackFade {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.45; }
}

.rack-unit {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 48px;
  height: 10px;
  background: rgba(var(--primary-rgb), 0.08);
  border-radius: 2px;
  padding: 0 4px;
}

.rack-unit::before {
  content: '';
  flex: 1;
  height: 2px;
  background: rgba(var(--primary-rgb), 0.2);
  border-radius: 1px;
}

.led {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.led.green { background: #22c55e; box-shadow: 0 0 4px #22c55e; }
.led.amber { background: #eab308; box-shadow: 0 0 4px #eab308; }

.led.blink {
  animation: ledBlink 2s ease-in-out infinite;
}

@keyframes ledBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

/* Floating cloud icons */
.hero-cloud-shapes {
  position: absolute;
  inset: 0;
}

.bg-cloud {
  position: absolute;
  font-size: 3rem;
  color: rgba(var(--primary-rgb), 0.08);
  animation: cloudDrift 20s ease-in-out infinite;
}

.cloud-a {
  top: 12%;
  left: 15%;
  font-size: 4rem;
  animation-duration: 25s;
}

.cloud-b {
  top: 55%;
  right: 12%;
  font-size: 2.5rem;
  color: rgba(var(--accent-rgb), 0.1);
  animation-duration: 18s;
  animation-delay: -5s;
}

.cloud-c {
  bottom: 20%;
  left: 40%;
  font-size: 3.5rem;
  animation-duration: 22s;
  animation-delay: -10s;
}

@keyframes cloudDrift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  33% { transform: translate(20px, -15px) scale(1.05); opacity: 1; }
  66% { transform: translate(-15px, 10px) scale(0.95); opacity: 0.7; }
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(var(--primary-rgb), 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--primary-rgb), 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 75%);
  animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.hero-glow {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.hero-glow-1 {
  top: -15%;
  right: -5%;
  width: 55vw;
  max-width: 700px;
  height: 55vw;
  max-height: 700px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.25) 0%, transparent 70%);
  animation: glowDrift 12s ease-in-out infinite;
}

.hero-glow-2 {
  bottom: -20%;
  left: -10%;
  width: 40vw;
  max-width: 500px;
  height: 40vw;
  max-height: 500px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.15) 0%, transparent 70%);
  animation: glowDrift 12s ease-in-out infinite reverse;
}

@keyframes glowDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.08); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(var(--primary-rgb), 0.12);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(var(--primary-rgb), 0.25);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(var(--primary-rgb), 0); }
}

.hero-title {
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 540px;
}

/* Stats */
.stat-item {
  text-align: left;
  padding: 0.75rem 0;
  border-left: 2px solid rgba(var(--primary-rgb), 0.3);
  padding-left: 1rem;
  transition: border-color 0.3s;
}

.stat-item:hover { border-left-color: var(--primary); }

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--heading);
  line-height: 1;
}

.stat-suffix {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Visual — hub & orbit */
.hero-visual {
  position: relative;
  height: 480px;
  margin-top: 2rem;
}

@media (min-width: 992px) {
  .hero-visual {
    height: 520px;
    margin-top: 0;
  }
}

.hero-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
}

.hero-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  z-index: 5;
}

.hero-core-ring {
  position: absolute;
  inset: -12px;
  border: 2px solid rgba(var(--primary-rgb), 0.3);
  border-radius: 50%;
  animation: coreRingPulse 3s ease-in-out infinite;
}

.hero-core-ring::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1px dashed rgba(var(--accent-rgb), 0.25);
  border-radius: 50%;
  animation: spin 20s linear infinite;
}

@keyframes coreRingPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.7; }
}

.hero-core-inner {
  width: 100%;
  height: 100%;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  box-shadow: 0 0 40px var(--primary-glow), 0 0 80px rgba(var(--accent-rgb), 0.2);
}

.hero-orbit {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}

.hero-orbit-2 {
  inset: 30px;
  animation-duration: 45s;
  animation-direction: reverse;
  border-color: rgba(var(--accent-rgb), 0.1);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.orbit-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin: -22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  box-shadow: var(--shadow-soft);
  transform: rotate(calc(var(--i) * -90deg)) translateY(-140px) rotate(calc(var(--i) * 90deg));
  animation: counterSpin 30s linear infinite;
}

.hero-orbit-2 .orbit-node {
  width: 36px;
  height: 36px;
  margin: -18px;
  font-size: 0.95rem;
  transform: rotate(calc(var(--i) * -120deg)) translateY(-110px) rotate(calc(var(--i) * 120deg));
  animation: counterSpinRev 45s linear infinite;
}

@keyframes counterSpin {
  to { transform: rotate(calc(var(--i) * -90deg - 360deg)) translateY(-140px) rotate(calc(var(--i) * 90deg + 360deg)); }
}

@keyframes counterSpinRev {
  to { transform: rotate(calc(var(--i) * -120deg + 360deg)) translateY(-110px) rotate(calc(var(--i) * 120deg - 360deg)); }
}

.orbit-node-sm { font-size: 0.85rem; }

/* Hero panels */
.hero-panel {
  position: absolute;
  z-index: 4;
}

.hero-panel-code {
  top: 0;
  right: 0;
  width: 220px;
  animation: float 5s ease-in-out infinite;
}

.hero-panel-metrics {
  bottom: 20px;
  left: 0;
  width: 180px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  animation: float 5s ease-in-out infinite 1.5s;
}

.metric-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.metric-icon {
  width: 36px;
  height: 36px;
  background: rgba(34, 197, 94, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22c55e;
  font-size: 1rem;
}

.metric-value {
  display: block;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--heading);
  line-height: 1.2;
}

.metric-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-bar {
  height: 4px;
  background: var(--metric-bar-bg);
  border-radius: 4px;
  overflow: hidden;
}

.metric-bar span {
  display: block;
  height: 100%;
  background: var(--gradient);
  border-radius: 4px;
  animation: barGrow 2s ease-out forwards;
}

@keyframes barGrow {
  from { width: 0 !important; }
}

.code-window {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.code-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.75rem 1rem;
  background: var(--code-header);
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #eab308; }
.dot.green { background: #22c55e; }

.code-filename {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.code-body {
  padding: 1rem;
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.7;
  color: var(--text-muted);
  overflow-x: auto;
}

.code-body .kw { color: #c084fc; }
.code-body .var { color: #60a5fa; }
.code-body .prop { color: #34d399; }
.code-body .str { color: #fbbf24; }
.code-body .fn { color: #f472b6; }

.floating-card {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  box-shadow: var(--shadow-soft);
  z-index: 6;
  white-space: nowrap;
}

.floating-card.card-1 {
  top: 8%;
  left: 0;
  animation: float 4s ease-in-out infinite;
}

.floating-card.card-2 {
  bottom: 35%;
  right: -2%;
  animation: float 4s ease-in-out infinite 1s;
}

.floating-card.card-3 {
  top: 42%;
  left: -8%;
  animation: float 4s ease-in-out infinite 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 991.98px) {
  .hero-data-rain { opacity: 0.08; }
  .hero-data-rain .data-col:nth-child(n+4) { display: none; }
  .hero-data-rain .data-col-route { display: none; }
  .hero-server-racks { opacity: 0.5; }
  .rack-2 { display: none; }
  .hero-network { opacity: 0.45; }
  .bg-cloud { font-size: 2rem !important; }
  .hero-route-table { width: 160px; top: 15%; right: 2%; opacity: 0.25; }
  .hero-route-icons .rif-2,
  .hero-route-icons .rif-3 { display: none; }
  .route-labels { opacity: 0.3; }

  .hero-visual {
    height: 380px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-hub {
    width: 260px;
    height: 260px;
  }

  .orbit-node {
    transform: rotate(calc(var(--i) * -90deg)) translateY(-115px) rotate(calc(var(--i) * 90deg));
  }

  .hero-orbit-2 .orbit-node {
    transform: rotate(calc(var(--i) * -120deg)) translateY(-90px) rotate(calc(var(--i) * 120deg));
  }

  .hero-panel-code { width: 180px; top: -10px; right: -10px; }
  .hero-panel-metrics { width: 150px; bottom: 10px; left: -10px; }
  .floating-card.card-3 { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg *,
  .hero-bg *::before,
  .hero-grid,
  .hero-glow {
    animation: none !important;
  }

  .route-path { stroke-dashoffset: 0 !important; }
}

@media (max-width: 575.98px) {
  .hero-visual { height: 320px; }
  .hero-panel-code { width: 160px; }
  .hero-panel-metrics { display: none; }
  .floating-card { font-size: 0.75rem; padding: 0.5rem 0.75rem; }
  .hero-data-rain .data-col:nth-child(n+3) { display: none; }
  .hero-route-table { display: none; }
  .hero-route-icons { display: none; }
}

/* ---- Sections ---- */
.section-padding {
  padding: 5rem 0;
}

.section-padding.pt-0 {
  padding-top: 2.5rem;
}

.page-hero + .section-padding.pt-0,
.page-hero + .about-intro-section {
  padding-top: 3.5rem;
}

.section-padding + .section-padding.pt-0 {
  padding-top: 0;
}

.section-padding + .about-stats-section {
  padding-top: 3rem;
}

.bg-dark-section {
  background: var(--bg-section);
}

.section-tag {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
}

/* ---- About ---- */
.about-visual {
  position: relative;
  height: 350px;
}

.about-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}

.about-card.main-card {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  z-index: 2;
}

.about-card.main-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.about-card.main-card h5 { font-weight: 700; color: var(--heading); }
.about-card.main-card p { color: var(--text-muted); margin: 0; }

.about-card.side-card {
  bottom: 10%;
  right: 0;
  padding: 1.25rem 1.5rem;
  z-index: 3;
}

.about-year {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

/* About intro (about page hero section) */
.about-intro-title {
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.about-lead {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.7;
}

.about-showcase {
  position: relative;
}

.about-showcase-glow {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.about-showcase-main {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 1rem;
}

.about-showcase-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.about-showcase-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: var(--gradient);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 8px 24px var(--primary-glow);
}

.about-showcase-main h5 {
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.5rem;
}

.about-showcase-main p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.about-showcase-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s;
}

.about-showcase-link:hover {
  color: var(--accent);
  gap: 0.55rem;
}

.about-showcase-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.about-showcase-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 0.5rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

.about-showcase-item:hover {
  border-color: rgba(var(--primary-rgb), 0.35);
  transform: translateY(-2px);
}

.about-showcase-item i {
  display: block;
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.about-showcase-item span {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.about-highlight {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  height: 100%;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.about-highlight:hover {
  border-color: rgba(var(--primary-rgb), 0.3);
  box-shadow: var(--shadow-soft);
}

.about-highlight-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--primary);
}

.about-highlight h6 {
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

/* ---- About page extras ---- */
.about-stats-bar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  margin-top: 0;
}

.about-stat-num {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.about-stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.35rem;
}

.value-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.value-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  transition: border-color 0.3s;
}

.value-card:hover {
  border-color: rgba(var(--primary-rgb), 0.3);
}

.value-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: rgba(var(--primary-rgb), 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--primary);
}

.value-card h5 {
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--heading);
}

.timeline {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  padding-left: 1.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), rgba(var(--primary-rgb), 0.15));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-left: 2rem;
  padding-bottom: 2rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  margin-left: -5px;
  background: var(--primary);
  border: 2px solid var(--bg-section);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
}

.timeline-year {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  margin-bottom: 0.5rem;
}

.timeline-content h6 {
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.25rem;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--primary-rgb), 0.35);
  box-shadow: var(--shadow-soft);
}

.team-card-dept {
  padding: 1.75rem 1.25rem;
}

.team-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.team-avatar-icon {
  font-size: 1.75rem;
  font-weight: 400;
}

.team-name {
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--heading);
}

.team-role {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.team-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.team-links a {
  width: 36px;
  height: 36px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s;
}

.team-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text);
}

.feature-pill i { color: var(--primary); }

/* ---- Services ---- */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  cursor: pointer;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--primary-rgb), 0.4);
  box-shadow: var(--shadow-card);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(var(--primary-rgb), 0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
  transition: background 0.3s;
}

.service-card:hover .service-icon {
  background: var(--gradient);
  color: #fff;
}

.service-card h5 {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

a.service-card { color: inherit; }

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.service-link {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---- Outlook ---- */
.outlook-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3rem;
}

.outlook-item {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
  transition: border-color 0.3s;
}

.outlook-item:hover { border-color: rgba(var(--primary-rgb), 0.3); }

.outlook-num {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.outlook-item h5 {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.outlook-item p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

.outlook-expanded {
  background: rgba(var(--primary-rgb), 0.06);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.outlook-expanded h5 {
  color: var(--heading);
}

.outlook-expanded h6 {
  color: var(--primary);
  font-weight: 700;
}

/* ---- Careers ---- */
.careers-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}

.careers-panel h5 {
  font-weight: 700;
}

.job-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}

.job-item:last-child { border-bottom: none; }

.job-item h6 {
  font-weight: 600;
  margin-bottom: 0.15rem;
  font-size: 0.95rem;
}

.job-item small { color: var(--text-muted); }

.job-badge {
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  background: rgba(var(--primary-rgb), 0.15);
  color: var(--primary);
  white-space: nowrap;
}

/* ---- Contact ---- */
.contact-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-list li:last-child {
  margin-bottom: 0;
}

.contact-list i {
  width: 44px;
  height: 44px;
  background: rgba(var(--primary-rgb), 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-list strong {
  display: block;
  font-size: 0.85rem;
}

.contact-list span,
.contact-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.contact-list a:hover { color: var(--primary); }

.contact-map {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  line-height: 0;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
  filter: var(--map-filter);
}

@media (max-width: 575.98px) {
  .contact-map iframe { height: 300px; }
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}

.form-control,
.form-select {
  background: var(--overlay);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.75rem 1rem;
  border-radius: 10px;
}

.form-control:focus,
.form-select:focus {
  background: var(--overlay-hover);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
  color: var(--text);
}

.form-control::placeholder { color: var(--text-muted); opacity: 0.7; }

.form-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-select option { background: var(--bg-card); }

/* ---- Footer ---- */
.site-footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border);
}

.footer-heading {
  color: var(--heading);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 0.5rem; }

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--primary); }

.footer-links-columns {
  columns: 2;
  column-gap: 1.5rem;
}

.footer-links-columns li {
  break-inside: avoid;
}

.footer-bottom a:hover { color: var(--primary); }

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s;
}

.social-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--gradient);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 999;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover { transform: translateY(-3px); }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  padding: 7rem 0 2.5rem;
  background: var(--bg-section);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, var(--primary-glow) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero-title {
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.02em;
}

.page-hero-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 640px;
}

.page-hero-icon {
  width: 64px;
  height: 64px;
  font-size: 1.75rem;
  margin-bottom: 0;
}

.breadcrumb-custom {
  --bs-breadcrumb-divider: '›';
  margin-bottom: 0;
}

.breadcrumb-custom .breadcrumb-item a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb-custom .breadcrumb-item a:hover { color: var(--primary); }

.breadcrumb-custom .breadcrumb-item.active { color: var(--text); }

.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before {
  color: var(--text-muted);
}

/* ---- Service page ---- */
.service-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.service-feature-list li i {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 0.1rem;
}

.service-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  position: sticky;
  top: 100px;
}

.service-sidebar h5 {
  font-weight: 700;
}

.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-links li { margin-bottom: 0.5rem; }

.sidebar-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.sidebar-links a:hover { color: var(--primary); }

/* ---- Domain TLD cards ---- */
.domain-tld-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  transition: border-color 0.3s;
}

.domain-tld-card:hover { border-color: rgba(var(--primary-rgb), 0.35); }

.domain-tld {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.domain-tld-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---- Server hosting pages ---- */
.server-nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.server-pill {
  padding: 0.4rem 1rem;
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  border-radius: 50px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.server-pill:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.server-tier-section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.server-tier-section:last-of-type { border-bottom: none; }

.server-tier-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.server-tier-header .service-icon {
  width: 48px;
  height: 48px;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.server-plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s;
}

.server-plan-card:hover {
  border-color: rgba(var(--primary-rgb), 0.35);
  transform: translateY(-4px);
}

.server-plan-card.plan-featured {
  border-color: rgba(var(--primary-rgb), 0.5);
  box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.15), var(--shadow-card);
}

.plan-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.12);
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.plan-featured .plan-tag {
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.15);
}

.server-plan-card h5 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.plan-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}

.plan-specs li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.4rem 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.plan-specs li:last-child { border-bottom: none; }

.plan-specs i {
  color: var(--primary);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.server-spec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
}

.server-spec-table thead th {
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--text);
  font-weight: 600;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.server-spec-table thead th:first-child { border-radius: 10px 0 0 0; }
.server-spec-table thead th:last-child { border-radius: 0 10px 0 0; }

.server-spec-table tbody td {
  padding: 0.85rem 1rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.server-spec-table tbody tr:hover { background: var(--surface-muted); }

.server-spec-table tbody tr.row-highlight {
  background: rgba(var(--primary-rgb), 0.06);
}

.process-steps { display: flex; flex-direction: column; gap: 1.25rem; }

.process-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
}

.process-step span {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  flex-shrink: 0;
}

.process-step h6 {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.dropdown-menu-dark {
  background: var(--dropdown-bg);
  border: 1px solid var(--border);
}

.dropdown-menu-dark .dropdown-item {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.dropdown-menu-dark .dropdown-item:hover,
.dropdown-menu-dark .dropdown-item.active {
  background: rgba(var(--primary-rgb), 0.15);
  color: var(--primary);
}

/* ---- Modal ---- */
.modal-content.bg-dark { background: var(--bg-card) !important; }

/* ---- HTMX indicators ---- */
.htmx-request .spinner-border { display: inline-block; }

/* ---- Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
  .section-padding { padding: 4rem 0; }
  .section-padding.pt-0,
  .page-hero + .about-intro-section { padding-top: 2.5rem; }
  .section-padding + .about-stats-section { padding-top: 2.5rem; }
  .page-hero { padding: 6rem 0 2rem; }
  .hero-title { font-size: 2.25rem; }
  .outlook-card { padding: 2rem; }
  .about-visual { height: 280px; }
  .about-showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .about-intro-title br { display: none; }
  .about-stats-bar { padding: 2rem 1.25rem; }
  .service-sidebar { position: static; margin-top: 2rem; }
}

@media (max-width: 575.98px) {
  .stat-number { font-size: 1.5rem; }
  .hero-stats .col-6 { margin-bottom: 0.5rem; }
}