:root {
  color-scheme: dark;
  --bg: #020711;
  --panel: rgba(4, 14, 26, 0.74);
  --panel-strong: rgba(5, 18, 32, 0.86);
  --line: rgba(125, 222, 255, 0.22);
  --text: #eefbff;
  --muted: #a8c8d4;
  --cyan: #21d7ff;
  --aqua: #51ffd5;
  --violet: #9d76ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.52);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 16% 10%, rgba(22, 168, 255, 0.16), transparent 28rem),
    radial-gradient(circle at 78% 18%, rgba(130, 91, 255, 0.13), transparent 30rem),
    radial-gradient(circle at 48% 86%, rgba(22, 220, 206, 0.1), transparent 26rem),
    linear-gradient(150deg, #020711 0%, #03101d 44%, #09071a 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.8px),
    radial-gradient(circle at 42% 32%, rgba(112, 233, 255, 0.78) 0 1px, transparent 1.6px),
    radial-gradient(circle at 76% 24%, rgba(255, 255, 255, 0.72) 0 1px, transparent 1.7px),
    radial-gradient(circle at 88% 72%, rgba(157, 118, 255, 0.72) 0 1px, transparent 1.8px),
    radial-gradient(circle at 24% 78%, rgba(255, 255, 255, 0.64) 0 1px, transparent 1.7px);
  background-size: 180px 180px, 240px 240px, 310px 310px, 270px 270px, 220px 220px;
  content: "";
  opacity: 0.46;
  pointer-events: none;
  animation: star-drift 600s linear infinite;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(2, 7, 17, 0.18), rgba(2, 7, 17, 0.72)),
    radial-gradient(ellipse at top, rgba(24, 139, 255, 0.12), transparent 58%),
    radial-gradient(ellipse at bottom right, rgba(81, 255, 213, 0.08), transparent 55%);
  content: "";
  pointer-events: none;
}

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

img {
  display: block;
  max-width: 100%;
}

#particle-network {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0.62;
}

.page-glow {
  position: fixed;
  inset: auto -10rem -24rem -10rem;
  z-index: -1;
  height: 24rem;
  background:
    radial-gradient(circle at 34% 50%, rgba(33, 215, 255, 0.06), transparent 58%),
    radial-gradient(circle at 68% 56%, rgba(157, 118, 255, 0.05), transparent 62%);
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 1rem 0;
}

.brand,
.nav-links,
.button,
.glass-card,
.hero-panel,
.project-card,
.discord-card,
.price-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  padding: 0.35rem 0.8rem 0.35rem 0.4rem;
  border-radius: 999px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #021017;
}

.nav-links {
  display: flex;
  gap: 0.3rem;
  padding: 0.35rem;
  border-radius: 999px;
}

.nav-links a {
  min-height: 36px;
  padding: 0.48rem 0.75rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover {
  background: rgba(33, 215, 255, 0.12);
  color: var(--text);
}

.section-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 5.5rem 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  align-items: center;
  gap: 2rem;
  min-height: calc(100vh - 80px);
  padding-top: 3rem;
}

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

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

h1 {
  max-width: 820px;
  margin-bottom: 1.25rem;
  font-size: clamp(2.55rem, 7vw, 5.9rem);
  line-height: 0.98;
}

h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.04;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.2rem;
}

.hero-text,
.section-heading {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 1.7rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.1rem;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  border-color: rgba(81, 255, 213, 0.56);
  background: linear-gradient(135deg, rgba(33, 215, 255, 0.95), rgba(81, 255, 213, 0.9));
  color: #031219;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
}

.hero-panel,
.glass-card,
.price-card {
  border-radius: 8px;
}

.hero-panel {
  padding: 1rem;
}

.status-strip {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  padding: 0.85rem;
  border-radius: 8px;
  background: rgba(81, 255, 213, 0.09);
  color: #cffdf3;
  font-weight: 800;
}

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 0 rgba(81, 255, 213, 0.7);
  animation: pulse 1.8s infinite;
}

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

.metric-grid div,
.glass-card,
.price-card {
  padding: 1.1rem;
}

.metric-grid div {
  min-height: 128px;
  border: 1px solid rgba(145, 232, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.metric-grid strong,
.metric-grid span {
  display: block;
}

.metric-grid strong {
  margin-bottom: 0.4rem;
  font-size: 1.45rem;
}

.metric-grid span,
.glass-card p,
.project-card p,
.discord-copy p,
.price-card p {
  color: var(--muted);
}

.section-heading {
  margin-bottom: 1.6rem;
}

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

.glass-card,
.price-card {
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.glass-card:hover,
.price-card:hover,
.project-card:hover {
  border-color: rgba(81, 255, 213, 0.44);
  transform: translateY(-5px);
}

.card-icon {
  display: inline-flex;
  margin-bottom: 1.25rem;
  color: var(--cyan);
  font-weight: 900;
}

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

.project-card {
  overflow: hidden;
  border-radius: 8px;
  background: var(--panel-strong);
  transition: transform 220ms ease, border-color 220ms ease;
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.02);
}

.project-card div {
  padding: 1rem;
}

.project-card span {
  color: var(--aqua);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.discord-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: 1.5rem;
}

.discord-copy p {
  max-width: 480px;
}

.discord-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border-radius: 8px;
  transition: transform 220ms ease, border-color 220ms ease;
}

.discord-card:hover {
  transform: translateY(-4px) scale(1.01);
}

.discord-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.discord-overlay {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(2, 10, 19, 0.88);
}

.discord-overlay span,
.discord-overlay strong {
  display: block;
}

.discord-overlay span {
  color: var(--aqua);
  font-weight: 900;
  text-transform: uppercase;
}

.discord-overlay strong {
  font-size: 1.6rem;
}

.price-card.featured {
  border-color: rgba(33, 215, 255, 0.58);
  background: linear-gradient(145deg, rgba(33, 215, 255, 0.18), rgba(157, 118, 255, 0.16)), var(--panel);
}

.price {
  margin-bottom: 0.65rem;
  color: var(--aqua);
  font-size: 2rem;
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 2rem 0 2.5rem;
  color: var(--muted);
}

.site-footer span {
  color: var(--text);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 120ms;
}

.delay-2 {
  transition-delay: 220ms;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 12px rgba(81, 255, 213, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(81, 255, 213, 0);
  }
}

@keyframes star-drift {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0;
    opacity: 0.38;
  }
  50% {
    opacity: 0.56;
  }
  100% {
    background-position: 180px 180px, -240px 240px, 310px -310px, -270px -270px, 220px 220px;
    opacity: 0.38;
  }
}

@media (max-width: 840px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
  }

  .hero,
  .discord-section,
  .service-grid,
  .project-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .section-shell {
    width: min(100% - 24px, 1160px);
    padding: 4rem 0;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}
