/* ===== Nav active ===== */
.nav-active { color: var(--blue) !important; }

/* ===== Dedicated Servers — modern dark hero ===== */
.dserver-hero {
  position: relative;
  background: #0b0e14;
  overflow: hidden;
}

.dserver-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 90%);
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.glow-a {
  width: 480px;
  height: 480px;
  top: -160px;
  left: 8%;
  background: radial-gradient(circle, rgba(37,99,235,0.35), transparent 70%);
}
.glow-b {
  width: 420px;
  height: 420px;
  bottom: -180px;
  right: 6%;
  background: radial-gradient(circle, rgba(16,185,129,0.18), transparent 70%);
}

.dserver-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 88px 24px 96px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: #93c5fd;
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(96,165,250,0.3);
  padding: 6px 14px;
  border-radius: 20px;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52,211,153,0.6);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(52,211,153,0.55); }
  70% { box-shadow: 0 0 0 6px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}

.dserver-title {
  margin-top: 22px;
  font-size: 46px;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #f8fafc;
}
.accent-grad {
  background: linear-gradient(90deg, #60a5fa, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dserver-sub {
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.65;
  color: #94a3b8;
  max-width: 500px;
}

.dserver-ctas {
  display: flex;
  gap: 14px;
  margin-top: 30px;
}
.btn-ghost-dark {
  background: transparent;
  color: #e2e8f0;
  border-color: rgba(255,255,255,0.18);
}
.btn-ghost-dark:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.3);
}

.dserver-stats {
  display: flex;
  gap: 40px;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.dstat {
  display: flex;
  flex-direction: column;
}
.dstat-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 26px;
  font-weight: 700;
  color: #f8fafc;
}
.dstat-unit {
  font-size: 14px;
  font-weight: 500;
  color: #60a5fa;
  margin-left: 2px;
}
.dstat-label {
  font-size: 12.5px;
  color: #64748b;
  margin-top: 4px;
}

/* ----- Console window ----- */
.dserver-hero-right {
  position: relative;
}
.console-window {
  background: #11161f;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.55);
  overflow: hidden;
}
.console-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #161c27;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.console-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-amber { background: #f59e0b; }
.dot-green { background: #22c55e; }
.console-titlebar-label {
  margin-left: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #64748b;
}

.console-body {
  padding: 22px 22px 26px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13.5px;
  line-height: 2;
  min-height: 260px;
}
.console-line {
  color: #cbd5e1;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  animation: line-in 0.4s ease forwards;
  animation-delay: var(--d);
}
@keyframes line-in {
  to { opacity: 1; transform: translateY(0); }
}
.console-prompt {
  color: #60a5fa;
  margin-right: 8px;
  font-weight: 600;
}
.console-ok {
  color: #34d399;
  margin-right: 8px;
}
.console-hl {
  color: #f8fafc;
  font-weight: 500;
}
.console-status {
  color: #34d399;
  font-weight: 700;
  background: rgba(52,211,153,0.12);
  padding: 1px 8px;
  border-radius: 4px;
}
.console-cursor-line { margin-top: 2px; }
.console-cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: #60a5fa;
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

/* ----- Floating spec pills ----- */
.spec-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #161c27;
  border: 1px solid rgba(255,255,255,0.1);
  color: #e2e8f0;
  font-size: 12.5px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 30px;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,0.5);
  white-space: nowrap;
}
.spec-pill-cpu {
  top: -18px;
  right: 28px;
}
.spec-pill-shield {
  bottom: -16px;
  left: -18px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .dserver-hero-inner { grid-template-columns: 1fr; padding: 64px 24px 72px; }
  .dserver-title { font-size: 36px; }
  .dserver-stats { gap: 28px; flex-wrap: wrap; }
  .console-body { font-size: 12.5px; }
  .spec-pill-cpu { top: -14px; right: 12px; }
  .spec-pill-shield { bottom: -14px; left: 4px; }
}

@media (max-width: 640px) {
  .dserver-title { font-size: 30px; }
  .dserver-ctas { flex-direction: column; }
  .dserver-ctas .btn { width: 100%; }
  .dserver-stats { gap: 20px; }
  .console-line { white-space: normal; }
  .spec-pill { font-size: 11px; padding: 7px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .console-line {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .console-cursor { animation: none; opacity: 1; }
  .eyebrow-dot { animation: none; }
}
