/* =========================================================
   DNN HERO SECTION 2 — SERVER GRID BACKGROUND
   Author: AZ Managed IT
   ========================================================= */

.dnn-hero-s2 {
  --ink: #e8edf4;
  --muted: #cbd3de;
  --accent: #00bfff;
  --accent-dark: #00ace6;
  --bg: #222222; /* updated background color */
  position: relative;
  padding: 72px 0;
  color: var(--ink);
  border-top: 1px solid #111;
  font-family: "Segoe UI", system-ui, Roboto, Arial, sans-serif;
  overflow: hidden;
  background: var(--bg);
}

/* ===== SERVER GRID BACKGROUND ===== */
.servergrid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(0,191,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,191,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridDrift 50s linear infinite;
}
@keyframes gridDrift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 400px 0, 0 400px; }
}

/* ===== ROTATING SOFT LIGHT ANIMATION ===== */
.servergrid-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,191,255,0.15), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0,191,255,0.12), transparent 45%);
  mix-blend-mode: screen;
  animation: driftLights 25s linear infinite;
  opacity: 0.6;
}
@keyframes driftLights {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.05); }
  100% { transform: rotate(360deg) scale(1); }
}

/* ===== GRID CONTENT ===== */
.dnn-hero-s2__grid {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  min-height: min(72vh, 700px);
  display: grid;
  gap: 48px;
  align-items: center;
  grid-template-columns: 1.05fr 0.95fr;
}
@media (max-width: 1100px) {
  .dnn-hero-s2__grid {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
    padding-inline: 24px;
  }
}

/* ===== TEXT ===== */
.eyebrow {
  margin: 0 0 10px;
  color: #9dcaf8;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(0,191,255,0.25);
  background: rgba(0,191,255,0.08);
  border-radius: 4px;
}
.dnn-hero-title {
  margin: 0 0 18px;
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.015em;
  font-size: clamp(2.2rem, 4.6vw, 3.2rem);
  line-height: 1.25;
}
.hero-lead {
  font-size: 1.25rem;
  line-height: 1.9;
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 26px;
}

/* ===== CTA ===== */
.dnn-hero-s2__cta {
  display: inline-block;
  background: var(--accent);
  color: #000 !important;
  font-weight: 800;
  text-transform: uppercase;
  padding: 12px 22px;
  border: 2px solid #000;
  text-decoration: none;
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.dnn-hero-s2__cta:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

/* ===== FADE-IN ANIMATION ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.2s ease-out 0.3s forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ===== MSP WHEEL ===== */
.dnn-wheel {
  position: relative;
  justify-self: center;
  width: min(40vw, 560px);
  aspect-ratio: 1/1;
}
@media (max-width: 700px) {
  .dnn-wheel { width: min(85vw, 360px); }
}
.dnn-wheel__svg,
.dnn-wheel__center,
.dnn-wheel__chips {
  position: absolute;
  inset: 0;
}
.dnn-wheel__center {
  display: grid;
  place-items: center;
  pointer-events: none;
}
.dnn-msp {
  display: grid;
  place-items: center;
  gap: .25rem;
  padding: 10px 16px;
  background: rgba(15, 20, 25, 0.85);
  border: 1px solid rgba(200, 210, 224, 0.25);
  border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06),
              0 10px 22px rgba(0, 0, 0, 0.28);
}
.dnn-msp__big {
  font-weight: 900;
  letter-spacing: .14em;
  font-size: clamp(1.4rem, 3.6vw, 2.2rem);
  color: var(--accent);
}
.dnn-msp__small {
  font-weight: 700;
  color: #cbd6e6;
  font-size: clamp(.72rem, 1.4vw, .9rem);
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .85;
}

/* ===== CHIPS ===== */
.dnn-chip {
  position: absolute;
  background: rgba(15, 25, 40, 0.65);
  color: #a9d9ff;
  border: 1px solid rgba(120, 160, 210, 0.35);
  border-radius: 6px;
  padding: 12px 22px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.45),
    inset 0 1px 1px rgba(255, 255, 255, 0.06);
  transition: all 0.25s ease-in-out;
  backdrop-filter: blur(5px) saturate(150%);
  letter-spacing: 0.015em;
}
.dnn-chip:hover {
  background: rgba(30, 50, 70, 0.85);
  border-color: var(--accent);
  color: var(--accent);
  transform: translate(-50%, -50%) scale(1.05);
}
