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

/* ===== GPU Servers — compute-grid hero ===== */
.gpu-hero {
  position: relative;
  background: #0b0a14;
  overflow: hidden;
}

.gpu-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.gpu-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: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 90%);
}
.gpu-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.gpu-glow-a {
  width: 480px;
  height: 480px;
  top: -160px;
  left: 6%;
  background: radial-gradient(circle, rgba(168,85,247,0.35), transparent 70%);
}
.gpu-glow-b {
  width: 420px;
  height: 420px;
  bottom: -180px;
  right: 4%;
  background: radial-gradient(circle, rgba(52,211,153,0.16), transparent 70%);
}

.gpu-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;
}

.gpu-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: #d8b4fe;
  background: rgba(168,85,247,0.14);
  border: 1px solid rgba(192,132,252,0.35);
  padding: 6px 14px;
  border-radius: 20px;
}
.gpu-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a855f7;
  animation: gpu-pulse-dot 2s infinite;
}
@keyframes gpu-pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(168,85,247,0.55); }
  70% { box-shadow: 0 0 0 6px rgba(168,85,247,0); }
  100% { box-shadow: 0 0 0 0 rgba(168,85,247,0); }
}

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

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

.gpu-ctas {
  display: flex;
  gap: 14px;
  margin-top: 30px;
}

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

/* ----- GPU monitor panel ----- */
.gpu-hero-right {
  position: relative;
}
.gpu-panel {
  background: #13111e;
  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;
}
.gpu-panel-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  background: #181527;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.gpu-panel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #a855f7;
  box-shadow: 0 0 0 0 rgba(168,85,247,0.6);
  animation: gpu-pulse-dot 2s infinite;
}
.gpu-panel-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #94a3b8;
}

.gpu-core-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
  padding: 22px;
}
.gpu-core {
  aspect-ratio: 1;
  border-radius: 3px;
  background: rgba(168,85,247,0.12);
}
.gpu-core.active {
  background: #a855f7;
  animation: gpu-core-flicker 2.6s ease-in-out infinite;
  animation-delay: var(--gd);
}
@keyframes gpu-core-flicker {
  0%, 100% { opacity: 1; background: #a855f7; }
  50% { opacity: 0.45; background: #7c3aed; }
}

.gpu-panel-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.gpu-panel-stat {
  background: #13111e;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gpu-panel-stat-label {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.gpu-panel-stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
}

/* ----- Floating spec pills ----- */
.gpu-spec-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #181527;
  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;
}
.gpu-spec-pill-a {
  top: -18px;
  right: 28px;
}
.gpu-spec-pill-b {
  bottom: -16px;
  left: -18px;
}

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

@media (max-width: 640px) {
  .gpu-title { font-size: 30px; }
  .gpu-ctas { flex-direction: column; }
  .gpu-ctas .btn { width: 100%; }
  .gpu-stats { gap: 20px; }
  .gpu-spec-pill { font-size: 11px; padding: 7px 12px; }
  .gpu-core-grid { grid-template-columns: repeat(6, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .gpu-core.active { animation: none; opacity: 1; }
  .gpu-eyebrow-dot, .gpu-panel-dot { animation: none; }
}
