:root {
  --bg: #020713;
  --bg-soft: #061226;
  --panel: rgba(7, 18, 39, 0.78);
  --panel-strong: rgba(9, 28, 59, 0.92);
  --line: rgba(125, 191, 255, 0.18);
  --text: #edf7ff;
  --muted: #94aeca;
  --blue: #4cc9ff;
  --cyan: #80f0ff;
  --deep: #123b8a;
  --ok: #55f2b3;
  --warn: #ffd166;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at 15% 10%, rgba(25, 112, 255, 0.24), transparent 34rem),
    radial-gradient(circle at 82% 18%, rgba(76, 201, 255, 0.16), transparent 26rem),
    linear-gradient(145deg, #020713 0%, #06142d 48%, #01040b 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(125, 191, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 191, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 82%);
}

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

.site-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px 14px 12px 18px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 7, 19, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.status-header,
.metric-row,
.contact-band {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(128, 240, 255, 0.38);
  border-radius: 8px;
  color: #02101d;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 28px rgba(76, 201, 255, 0.38);
}

.nav-links {
  gap: 6px;
}

.nav-links a {
  padding: 11px 13px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(128, 240, 255, 0.08);
  transform: translateY(-1px);
}

.nav-links .nav-cta,
.primary-button {
  color: #02101d;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 108px);
  padding: 88px 0 78px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(3.8rem, 9vw, 8.4rem);
  line-height: 0.86;
  background: linear-gradient(135deg, #f4fbff 6%, var(--cyan) 40%, #4aa7ff 82%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  background: linear-gradient(135deg, #f4fbff 12%, var(--cyan) 55%, #62a8ff);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h3 {
  margin-bottom: 10px;
  color: #f3fbff;
  font-size: 1.12rem;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 660px;
  font-size: 1.16rem;
}

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

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.primary-button {
  box-shadow: 0 16px 42px rgba(76, 201, 255, 0.28);
}

.ghost-button {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(76, 201, 255, 0.24);
}

.status-panel,
.feature-card,
.server-card,
.legal-card,
.contact-band,
.list-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--panel), rgba(2, 7, 19, 0.72));
  box-shadow: var(--shadow);
}

.status-panel {
  padding: 24px;
  animation: floatPanel 6s ease-in-out infinite;
}

.status-header {
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-weight: 800;
}

.pulse-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(85, 242, 179, 0.75);
  animation: pulse 1.8s infinite;
}

.metric-row {
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  color: var(--muted);
}

.metric-row strong {
  color: var(--cyan);
}

.section {
  padding: 78px 0;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 30px;
}

.service-grid,
.server-grid,
.legal-grid {
  display: grid;
  gap: 18px;
}

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

.feature-card,
.server-card,
.legal-card {
  padding: 24px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.feature-card:hover,
.server-card:hover,
.legal-card:hover,
.list-item:hover {
  border-color: rgba(128, 240, 255, 0.42);
  transform: translateY(-4px);
  background: linear-gradient(180deg, var(--panel-strong), rgba(2, 7, 19, 0.76));
}

.card-icon,
.server-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.bot-list {
  display: grid;
  gap: 14px;
}

.list-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.list-item p {
  margin-bottom: 0;
}

.status {
  align-self: flex-start;
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.status.online {
  color: #052014;
  background: var(--ok);
}

.status.maintenance {
  color: #251901;
  background: var(--warn);
}

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

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

.contact-band {
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  margin: 80px 0 36px;
}

.contact-band h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.contact-band p {
  margin-bottom: 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 40px));
  padding: 26px 0 38px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.92rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 13px rgba(85, 242, 179, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(85, 242, 179, 0);
  }
}

@keyframes floatPanel {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 860px) {
  .site-shell,
  .footer {
    width: min(100% - 28px, 1180px);
  }

  .topbar {
    top: 10px;
    min-height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(2, 7, 19, 0.95);
    backdrop-filter: blur(18px);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    text-align: center;
  }

  .hero,
  .split-section,
  .service-grid,
  .server-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 28px;
    min-height: auto;
    padding-top: 72px;
  }

  .status-panel {
    animation: none;
  }

  .contact-band,
  .footer,
  .list-item {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-band .primary-button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .site-shell,
  .footer {
    width: min(100% - 22px, 1180px);
  }

  .brand {
    font-size: 0.94rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 4.8rem);
  }

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

  .primary-button,
  .ghost-button {
    width: 100%;
  }
}
