:root {
  --bg: #070b14;
  --bg-soft: #0d1422;
  --panel: rgba(16, 24, 40, 0.52);
  --line: rgba(92, 255, 233, 0.18);
  --text: #ecf7ff;
  --muted: #9fb9c9;
  --cyan: #39f6ff;
  --aqua: #00ffd5;
  --teal: #00d6a8;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(0, 255, 213, 0.08), transparent 26%),
    radial-gradient(circle at 85% 15%, rgba(57, 246, 255, 0.14), transparent 20%),
    linear-gradient(180deg, #060911 0%, #08111c 50%, #071018 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.75;
  z-index: 0;
}

.grid,
.noise,
.bg-orb {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.grid {
  background-image:
    linear-gradient(rgba(57, 246, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 246, 255, 0.07) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 82%);
  z-index: 0;
}

.noise {
  opacity: 0.04;
  background-image: radial-gradient(#fff 0.6px, transparent 0.6px);
  background-size: 12px 12px;
  z-index: 0;
}

.bg-orb {
  filter: blur(50px);
  z-index: 0;
}
.orb-1 {
  top: -10%; left: -8%; right: auto; bottom: auto;
  width: 32rem; height: 32rem;
  border-radius: 50%;
  background: rgba(0, 255, 213, 0.15);
  animation: floatOrb 11s ease-in-out infinite;
}
.orb-2 {
  top: 20%; right: -8%; left: auto; bottom: auto;
  width: 28rem; height: 28rem;
  border-radius: 50%;
  background: rgba(57, 246, 255, 0.18);
  animation: floatOrb 14s ease-in-out infinite reverse;
}
.orb-3 {
  bottom: -10%; left: 30%; right: auto; top: auto;
  width: 24rem; height: 24rem;
  border-radius: 50%;
  background: rgba(0, 214, 168, 0.12);
  animation: floatOrb 13s ease-in-out infinite;
}

.topbar,
.hero,
.section,
.maintenance-wrap {
  position: relative;
  z-index: 1;
}

.topbar {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 16, 28, 0.55);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.brand-pill {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--aqua);
}

.topnav {
  display: flex;
  gap: 18px;
}
.topnav a {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.25s ease, transform 0.25s ease;
}
.topnav a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.hero {
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 110px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  padding: 48px 0 72px;
}

.hero-copy h1,
.section-heading h2,
.maintenance-card h1 {
  margin: 0;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-size: clamp(3.4rem, 7vw, 6.5rem);
  max-width: 11ch;
}

.hero-copy p,
.maintenance-card p {
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 62ch;
  margin: 24px 0 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--aqua);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--aqua));
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  border: 1px solid transparent;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,0.15) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}
.btn:hover::after { transform: translateX(120%); }

.btn-primary {
  color: #021015;
  background: linear-gradient(135deg, var(--aqua), var(--cyan));
  box-shadow: 0 12px 30px rgba(0, 255, 213, 0.22);
}
.btn-secondary {
  color: var(--text);
  background: rgba(10, 18, 30, 0.58);
  border-color: rgba(57, 246, 255, 0.25);
  backdrop-filter: blur(14px);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.hero-panel,
.maintenance-card {
  position: relative;
  background: linear-gradient(180deg, rgba(13, 21, 35, 0.8), rgba(10, 16, 28, 0.58));
  border: 1px solid rgba(57, 246, 255, 0.18);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel {
  min-height: 520px;
}

.panel-shine,
.card-glow {
  position: absolute;
  inset: auto;
  pointer-events: none;
}
.panel-shine {
  top: -18%;
  left: -10%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57,246,255,0.35), transparent 62%);
}

.panel-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  height: 100%;
  justify-content: center;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 14px rgba(0,255,213,0.8);
  animation: pulse 2s infinite;
}

.mini-card {
  position: relative;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}
.mini-card strong { font-size: 1.25rem; }
.mini-label {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.mini-card.active {
  background: linear-gradient(135deg, rgba(0,255,213,0.12), rgba(57,246,255,0.08));
  border-color: rgba(0,255,213,0.28);
}
.mini-card.disabled {
  opacity: 0.88;
}
.mini-card:hover { transform: translateY(-4px); }

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 88px;
}
.section-heading {
  margin-bottom: 28px;
}
.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.link-card {
  position: relative;
  min-height: 280px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(13, 21, 35, 0.78), rgba(9, 14, 24, 0.62));
  border: 1px solid rgba(57, 246, 255, 0.15);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.link-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,255,213,0.35);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.32);
}
.card-glow {
  top: -30px;
  right: -30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,213,0.18), transparent 65%);
}
.card-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: 24px;
  font-weight: 800;
  color: #031015;
  background: linear-gradient(135deg, var(--aqua), var(--cyan));
  box-shadow: 0 14px 32px rgba(0,255,213,0.22);
}
.link-card h3 {
  font-size: 1.35rem;
  margin: 0 0 14px;
}
.link-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.card-cta {
  position: absolute;
  left: 24px;
  bottom: 24px;
  font-weight: 700;
  color: var(--aqua);
}

.maintenance-body {
  display: grid;
  place-items: center;
}
.maintenance-wrap {
  min-height: 100vh;
  width: min(960px, calc(100% - 32px));
  display: grid;
  place-items: center;
}
.maintenance-card {
  width: 100%;
  max-width: 760px;
  padding: 48px;
  text-align: center;
}
.maintenance-card h1 {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
}
.maintenance-card .hero-actions {
  justify-content: center;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatOrb {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(0, 18px, 0) scale(1.08); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.75; }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 36px;
    min-height: auto;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .topbar {
    border-radius: 26px;
    flex-direction: column;
    gap: 12px;
  }
  .topnav {
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero-copy h1 {
    font-size: clamp(2.8rem, 15vw, 4.2rem);
  }
  .hero-panel {
    min-height: 420px;
  }
  .maintenance-card {
    padding: 34px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}


.btn-featured {
  border-color: rgba(0,255,213,0.38);
  box-shadow: 0 14px 34px rgba(0, 255, 213, 0.14), inset 0 0 0 1px rgba(57,246,255,0.08);
}
.btn-featured:hover {
  border-color: rgba(0,255,213,0.58);
  box-shadow: 0 18px 46px rgba(0, 255, 213, 0.22);
}

.mini-card.featured {
  background: linear-gradient(135deg, rgba(0,255,213,0.16), rgba(57,246,255,0.12));
  border-color: rgba(57,246,255,0.34);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02), 0 12px 28px rgba(0, 255, 213, 0.08);
}

.cards-grid {
  grid-template-columns: repeat(12, 1fr);
}

.link-card {
  grid-column: span 4;
}

.link-card-featured {
  grid-column: span 6;
  min-height: 320px;
  background:
    radial-gradient(circle at top right, rgba(0,255,213,0.16), transparent 28%),
    radial-gradient(circle at bottom left, rgba(57,246,255,0.12), transparent 32%),
    linear-gradient(180deg, rgba(16, 26, 42, 0.9), rgba(8, 14, 24, 0.76));
  border-color: rgba(0,255,213,0.34);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(57,246,255,0.06), 0 0 42px rgba(0,255,213,0.08);
}

.link-card-featured:hover {
  border-color: rgba(0,255,213,0.58);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4), 0 0 52px rgba(0,255,213,0.14);
}

.link-card-featured .card-icon {
  width: 66px;
  height: 66px;
  font-size: 1.05rem;
  box-shadow: 0 18px 40px rgba(0,255,213,0.28);
}

.badge {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #031015;
  background: linear-gradient(135deg, var(--aqua), var(--cyan));
  box-shadow: 0 14px 28px rgba(0,255,213,0.22);
}

.link-card-featured .card-glow {
  width: 220px;
  height: 220px;
  top: -52px;
  right: -42px;
  background: radial-gradient(circle, rgba(0,255,213,0.26), transparent 65%);
}

@media (max-width: 980px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .link-card,
  .link-card-featured {
    grid-column: auto;
  }
}
