:root {
  --primary-color: #7b5cff;
  --secondary-color: #00e4ff;
  --accent-color: #ff4fd8;
  --dark-bg: #050716;
  --card-bg: rgba(15, 23, 42, 0.96);
  --text-light: #f9fafb;
  --text-medium: #9ca3af;
  --success: #22c55e;
  --warning: #facc15;
  --offline: #ef4444;
  --maintenance: #fb923c;
  --connecting: #f97316;
  --border-color: rgba(148, 163, 184, 0.25);
  --shadow-strong: 0 24px 80px rgba(15, 23, 42, 0.9);
  --ease-smooth: cubic-bezier(0.22, 0.61, 0.36, 1);
  --glass-bg: rgba(15, 23, 42, 0.92);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background:
    radial-gradient(circle at 0% 0%, rgba(124, 58, 237, 0.18), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(248, 113, 113, 0.18), transparent 55%),
    linear-gradient(145deg, #020617 0%, #020617 40%, #020617 100%);
  color: var(--text-light);
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  animation: pageFadeIn 0.6s var(--ease-smooth);
}

body::before {
  content: "";
  position: fixed;
  inset: -40%;
  background:
    conic-gradient(from 180deg at 50% 50%, rgba(124, 58, 237, 0.08), transparent, rgba(56, 189, 248, 0.08), transparent, rgba(248, 113, 113, 0.08), transparent);
  opacity: 0.85;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: orbitGlow 24s linear infinite;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  backdrop-filter: blur(26px);
  pointer-events: none;
  z-index: -1;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.shell {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}

.shell-inner {
  border-radius: 32px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background:
    radial-gradient(circle at 0% 0%, rgba(94, 234, 212, 0.06), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(251, 113, 133, 0.06), transparent 55%),
    var(--glass-bg);
  box-shadow: var(--shadow-strong);
  margin: 1.5rem;
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(28px);
  animation: shellRise 0.7s var(--ease-smooth);
}

.shell-inner::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 30px;
  border: 1px solid rgba(15, 23, 42, 0.9);
  pointer-events: none;
}

.top-nav {
  background: radial-gradient(circle at 0% 0%, rgba(123, 92, 255, 0.16), transparent 55%),
              linear-gradient(120deg, rgba(15, 23, 42, 0.97), rgba(15, 23, 42, 0.99));
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

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

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-light);
  transform-origin: left center;
  transition: transform 0.18s var(--ease-smooth), filter 0.18s var(--ease-smooth);
}

.nav-logo:hover {
  transform: translateY(-1px) scale(1.02);
  filter: drop-shadow(0 0 22px rgba(129, 140, 248, 0.9));
}

.nav-logo img {
  height: 44px;
  width: 44px;
  border-radius: 14px;
  box-shadow: 0 0 22px rgba(129, 140, 248, 0.55);
}

.nav-logo span {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

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

.nav-links a {
  position: relative;
  color: var(--text-medium);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.45rem 0.1rem;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.18s var(--ease-smooth);
  opacity: 0.9;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  box-shadow: 0 0 14px rgba(129, 140, 248, 0.8);
  transition: width 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-light);
  opacity: 1;
  transform: translateY(-1px);
}

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

.nav-links .cta-button {
  background-image: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.16);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 14px 32px rgba(79, 70, 229, 0.65);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.nav-links .cta-button:nth-of-type(4) {
  background-image: linear-gradient(135deg, #0f172a, #020617);
  border-color: rgba(148, 163, 184, 0.45);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.9);
}

.mobile-nav-toggle { 
  display: none;
  background: none;
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 10px;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem 0.55rem;
  background-color: rgba(15, 23, 42, 0.9);
}

/* =========================
   HERO
   ========================= */

.hero {
  padding: 4rem 1.5rem 3.4rem;
  position: relative;
  overflow: hidden;
}

.hero .container {
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3.2rem;
  align-items: center;
  position: relative;
  isolation: isolate;
}

/* DVD-style bouncing logo background */
.hero-bg-logo {
  position: absolute;
  top: 50%;
  left: 28%;
  transform: translate(-50%, -50%);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 0 40px rgba(15, 23, 42, 0.9));
  animation: dvdBounce 24s linear infinite;
}

.hero-bg-logo img {
  width: 220px; /* smaller logo */
  max-width: 60vw;
  border-radius: 24px;
  animation: logoGlow 5s ease-in-out infinite;
}


.hero-bg-logo img {
  width: 220px;
  max-width: 72vw;
  border-radius: 32px;
  animation: logoGlow 5s ease-in-out infinite;
}

.hero-copy {
  position: relative;
  z-index: 1;
  animation: heroSlideIn 0.8s var(--ease-smooth) 0.05s both;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-medium);
  background: radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.26), transparent 70%);
  border: 1px solid rgba(148, 163, 184, 0.4);
  margin-bottom: 1.25rem;
}

.hero-tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle, #22c55e, rgba(22, 163, 74, 0.1));
  box-shadow: 0 0 12px rgba(34, 197, 94, 1);
}

.hero-subhighlight {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-medium);
  margin-bottom: 0.6rem;
}

/* Animated gradient title */
.hero-title-animated {
  display: inline-block;
  font-size: 3rem;
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;

  background-image: linear-gradient(
    110deg,
    #e5e7eb 0%,
    #60a5fa 20%,
    #22d3ee 35%,
    #a855f7 50%,
    #f472b6 65%,
    #e5e7eb 80%,
    #60a5fa 100%
  );
  background-size: 300% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;

  animation: heroTitleGradient 4s ease-in-out infinite alternate;
}

.hero p {
  font-size: 1.02rem;
  color: var(--text-medium);
  max-width: 540px;
  margin-bottom: 2rem;
}

/* STATUS BANNER */

.status-banner {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.88rem;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.95);
  margin-bottom: 1.8rem;
  backdrop-filter: blur(18px);
  border: 1px solid rgba(15, 23, 42, 0.96);
  animation: statusPulse 2.4s ease-in-out infinite;
}

.status-banner span:first-of-type {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  opacity: 0.9;
}

.status-banner strong {
  font-weight: 600;
}

.status-banner::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.status-online {
  background: radial-gradient(circle at 0% 0%, rgba(16, 185, 129, 0.26), rgba(15, 23, 42, 0.96));
  border-color: rgba(16, 185, 129, 0.6);
  color: #bbf7d0;
}

.status-online::before {
  background-color: var(--success);
  box-shadow: 0 0 18px rgba(34, 197, 94, 1);
}

.status-offline {
  background: radial-gradient(circle at 0% 0%, rgba(239, 68, 68, 0.26), rgba(15, 23, 42, 0.96));
  border-color: rgba(239, 68, 68, 0.6);
  color: #fecaca;
}

.status-offline::before {
  background-color: var(--offline);
  box-shadow: 0 0 18px rgba(248, 113, 113, 1);
}

.status-maintenance {
  background: radial-gradient(circle at 0% 0%, rgba(245, 158, 11, 0.26), rgba(15, 23, 42, 0.96));
  border-color: rgba(245, 158, 11, 0.6);
  color: #fed7aa;
}

.status-maintenance::before {
  background-color: var(--maintenance);
  box-shadow: 0 0 18px rgba(251, 146, 60, 1);
}

.status-connecting {
  background: radial-gradient(circle at 0% 0%, rgba(249, 115, 22, 0.26), rgba(15, 23, 42, 0.96));
  border-color: rgba(249, 115, 22, 0.6);
  color: #fed7aa;
}

.status-connecting::before {
  background-color: var(--connecting);
  box-shadow: 0 0 18px rgba(251, 146, 60, 1);
}

/* HERO ACTIONS & META */

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.hero-actions a {
  text-decoration: none;
}

.hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  background-image: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: 1px solid rgba(248, 250, 252, 0.28);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: white;
  box-shadow: 0 18px 36px rgba(79, 70, 229, 0.75);
  position: relative;
  overflow: hidden;
}

.hero-primary::before {
  content: "";
  position: absolute;
  top: -120%;
  left: -40%;
  width: 40%;
  height: 340%;
  background: linear-gradient(120deg, rgba(248, 250, 252, 0.55), transparent 75%);
  transform: translateX(-60%) rotate(16deg);
  opacity: 0;
}

.hero-primary:hover::before {
  animation: sweep 1.1s ease-out;
}

.hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.9);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.8rem;
  color: var(--text-medium);
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.hero-meta-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129, 140, 248, 1), rgba(59, 130, 246, 0.2));
  box-shadow: 0 0 10px rgba(129, 140, 248, 0.9);
}

/* HERO STATS CARD */

.hero-stats-card {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heroSlideInSecondary 0.9s var(--ease-smooth) 0.15s both;
}

.stats-panel {
  width: 100%;
  max-width: 360px;
  border-radius: 22px;
  background: radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.26), rgba(15, 23, 42, 0.98));
  padding: 1.6rem 1.5rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  animation: statsFloat 10s ease-in-out infinite;
}

.stats-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(94, 234, 212, 0.4), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(251, 113, 133, 0.34), transparent 60%);
  opacity: 0.7;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.stats-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.3rem;
  position: relative;
  z-index: 1;
}

.stats-panel-title {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e5e7eb;
  padding: 0.24rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.9), rgba(30, 64, 175, 0.9));
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.stats-panel-title-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 1), rgba(59, 130, 246, 0.2));
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.9);
}

.stats-panel-chip {
  font-size: 0.7rem;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  color: rgba(226, 232, 240, 0.9);
}

.stats-body {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(30, 64, 175, 0.6);
  padding: 1rem 0.9rem 0.9rem;
  margin-bottom: 1.1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.stats-number {
  padding: 0.75rem 0.65rem 0.7rem;
  border-radius: 14px;
  background: radial-gradient(circle at 0% 0%, rgba(15, 23, 42, 1), rgba(15, 23, 42, 0.96));
  border: 1px solid rgba(51, 65, 85, 0.9);
}

.stats-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(148, 163, 184, 0.95);
  margin-bottom: 0.1rem;
}

.stats-value {
  font-size: 1.25rem;
  font-weight: 700;
}

.stats-pill {
  font-size: 0.72rem;
  color: rgba(203, 213, 225, 0.9);
  margin-top: 0.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.stats-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 1), rgba(22, 163, 74, 0.2));
}

.stats-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.72rem;

  /* match cards + hero theme */
  color: var(--text-medium);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.94));
  padding: 0.65rem 0.75rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.65);
  position: relative;
  z-index: 1;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.9);
}

.stats-footer strong {
  font-weight: 600;
  color: var(--text-light);
}

.stats-footer-pill {
  border-radius: 999px;
  padding: 0.25rem 0.9rem;

  /* same gradient vibe as buttons */
  background-image: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: 1px solid rgba(248, 250, 252, 0.35);
  color: #f9fafb;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  box-shadow: 0 14px 32px rgba(79, 70, 229, 0.7);
  white-space: nowrap;
}


.stats-footer strong {
  font-weight: 600;
}

.stats-footer-pill {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.25rem 0.65rem;
  background: radial-gradient(circle at 0% 0%, rgba(15, 23, 42, 0.9), rgba(30, 64, 175, 0.9));
  color: #e5e7eb;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* =========================
   MAIN CONTENT
   ========================= */

main {
  padding: 0 0 3rem;
}

.section {
  margin-bottom: 3.9rem;
}

.section-title {
  font-size: 1.85rem;
  margin-bottom: 2.3rem;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e5e7eb;
  position: relative;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -0.8rem;
  width: 76px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  box-shadow: 0 0 18px rgba(129, 140, 248, 0.9);
}

.section-title-sub {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-medium);
  margin-bottom: 0.8rem;
}

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

.card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 22px;
  padding: 1.9rem 1.7rem 1.7rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(18px);
  transition: transform 0.2s var(--ease-smooth), box-shadow 0.2s var(--ease-smooth), border-color 0.2s var(--ease-smooth), background 0.2s var(--ease-smooth);
}

.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.22), transparent 55%);
  opacity: 0.7;
  pointer-events: none;
  z-index: -1;
}

.card:nth-of-type(2)::before {
  background: radial-gradient(circle at 100% 0%, rgba(244, 114, 182, 0.22), transparent 55%);
}

.card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.98);
  border-color: rgba(129, 140, 248, 0.7);
}

.card h3 {
  color: #e5e7eb;
  font-size: 1.18rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.card h3 svg {
  width: 26px;
  height: 26px;
  padding: 0.4rem;
  border-radius: 0.9rem;
  background: radial-gradient(circle at 0% 0%, rgba(129, 140, 248, 0.25), transparent 60%);
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.card p {
  color: var(--text-medium);
  font-size: 0.92rem;
}

.card code {
  background: rgba(15, 23, 42, 0.9);
  padding: 0.18rem 0.48rem;
  border-radius: 999px;
  font-size: 0.78rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.card ul {
  list-style: none;
  margin-top: 1rem;
}

.card li {
  margin-bottom: 0.65rem;
  padding-left: 1.6rem;
  position: relative;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 1), rgba(22, 163, 74, 0.2));
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.9);
}

.card a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
}

.card a:hover {
  text-decoration: underline;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.action-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.94));
  padding: 1.5rem 1.4rem 1.35rem;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  text-decoration: none;
  color: var(--text-light);
  transition: transform 0.18s var(--ease-smooth), box-shadow 0.18s var(--ease-smooth), border-color 0.18s var(--ease-smooth), background 0.18s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(17px);
}

.action-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.18), transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.action-card:nth-of-type(3)::before,
.action-card:nth-of-type(4)::before {
  background: radial-gradient(circle at 0% 0%, rgba(244, 114, 182, 0.18), transparent 60%);
}

.action-card:nth-of-type(5)::before,
.action-card:nth-of-type(6)::before {
  background: radial-gradient(circle at 0% 0%, rgba(96, 165, 250, 0.18), transparent 60%);
}

.action-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(129, 140, 248, 0.8);
  box-shadow: 0 24px 75px rgba(15, 23, 42, 0.98);
}

.action-card:hover::before {
  opacity: 1;
}

.action-card .icon {
  border-radius: 18px;
  width: 46px;
  height: 46px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
  background: radial-gradient(circle at 0% 0%, rgba(129, 140, 248, 0.32), rgba(56, 189, 248, 0.22));
  box-shadow: 0 10px 26px rgba(79, 70, 229, 0.9);
}

.action-card svg {
  width: 22px;
  height: 22px;
  color: white;
}

.action-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
}

.action-card p {
  font-size: 0.86rem;
  color: var(--text-medium);
}

/* =========================
   FOOTER
   ========================= */

footer {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 1));
  color: var(--text-medium);
  padding: 2.4rem 1.5rem 2.6rem;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% -40%, rgba(56, 189, 248, 0.3), transparent 60%);
  opacity: 0.4;
  pointer-events: none;
}

.footer-banner-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.8rem;
  margin-bottom: 1.7rem;
  position: relative;
  z-index: 1;
}

.footer-banner-links a {
  color: var(--text-medium);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  position: relative;
}

.footer-banner-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0%;
  height: 1px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: width 0.2s ease;
  opacity: 0.9;
}

.footer-banner-links a:hover {
  color: var(--text-light);
}

.footer-banner-links a:hover::after {
  width: 100%;
}

.footer-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.7), transparent);
  margin: 0 auto 1.4rem;
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.copyright-text {
  text-align: center;
  font-size: 0.8rem;
  position: relative;
  z-index: 1;
  color: rgba(148, 163, 184, 0.92);
}

.copyright-text strong {
  color: var(--text-light);
}

/* =========================
   KEYFRAMES
   ========================= */

@keyframes orbitGlow {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.05); }
  100% { transform: rotate(360deg) scale(1); }
}

/* DVD-style bounce around hero area */
@keyframes dvdBounce {
  0%   { top: 48%; left: 26%; }
  20%  { top: 40%; left: 72%; }
  40%  { top: 58%; left: 78%; }
  60%  { top: 62%; left: 24%; }
  80%  { top: 42%; left: 18%; }
  100% { top: 48%; left: 26%; }
}

@keyframes logoGlow {
  0% { filter: drop-shadow(0 0 18px rgba(79, 70, 229, 0.4)); }
  50% { filter: drop-shadow(0 0 34px rgba(59, 130, 246, 0.9)); }
  100% { filter: drop-shadow(0 0 18px rgba(79, 70, 229, 0.4)); }
}

@keyframes statsFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

@keyframes statusPulse {
  0% { box-shadow: 0 14px 40px rgba(15, 23, 42, 0.95); transform: translateY(0); }
  50% { box-shadow: 0 18px 55px rgba(15, 23, 42, 1); transform: translateY(-2px); }
  100% { box-shadow: 0 14px 40px rgba(15, 23, 42, 0.95); transform: translateY(0); }
}

@keyframes sweep {
  0% { opacity: 0; transform: translateX(-60%) rotate(16deg); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateX(220%) rotate(16deg); }
}

@keyframes pageFadeIn {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes shellRise {
  0% { opacity: 0; transform: translateY(16px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes heroSlideIn {
  0% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes heroSlideInSecondary {
  0% { opacity: 0; transform: translateY(18px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* animated gradient for title */
@keyframes heroTitleGradient {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* =========================
   MOBILE NAV
   ========================= */

.nav-links-mobile-active {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 64px;
  left: 0;
  width: 100%;
  background: linear-gradient(150deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.98));
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
  padding: 0.75rem 0 1rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.96);
  animation: navDrop 0.18s ease-out;
  z-index: 9;
}

.nav-links-mobile-active a {
  text-align: center;
  padding: 0.7rem 0;
  width: 100%;
}

@keyframes navDrop {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.8rem;
  }

  .hero-stats-card {
    justify-content: flex-start;
  }

  .stats-panel {
    margin: 0 auto;
  }

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

  .hero-bg-logo {
    left: 50%;
    opacity: 0.18;
  }
}

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

  .mobile-nav-toggle {
    display: block;
  }

  .hero {
    padding-top: 3.4rem;
  }

  .hero-title-animated {
    font-size: 2.4rem;
  }
}

@media (max-width: 640px) {
  .shell-inner {
    margin: 0.8rem;
    border-radius: 26px;
  }

  .shell-inner::after {
    border-radius: 24px;
  }

  .hero {
    padding: 2.9rem 1.3rem 2.2rem;
  }

  .hero-bg-logo img {
    width: 260px;
  }

  .hero-title-animated {
    font-size: 2.1rem;
  }

  .hero p {
    font-size: 0.96rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-primary,
  .hero-secondary {
    width: 100%;
    justify-content: center;
  }

  .info-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .action-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .card {
    padding: 1.6rem 1.4rem 1.5rem;
  }

  footer {
    padding-inline: 1.3rem;
  }

  .footer-banner-links {
    gap: 1.1rem 1.4rem;
  }
}
