:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-soft: rgba(9, 20, 35, 0.72);
  --card: rgba(12, 24, 41, 0.86);
  --card-border: rgba(255, 255, 255, 0.09);
  --text: #ecf4ff;
  --muted: #95a7bf;
  --accent: #42d6ff;
  --accent-2: #7ef0a3;
  --accent-3: #ffc85e;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(66, 214, 255, 0.18), transparent 32%),
    radial-gradient(circle at top right, rgba(126, 240, 163, 0.14), transparent 26%),
    linear-gradient(180deg, #050a14 0%, #07111f 45%, #08131f 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 80%);
  pointer-events: none;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.75;
  pointer-events: none;
}

.orb-a {
  top: 8rem;
  right: -5rem;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(66, 214, 255, 0.22), transparent 70%);
}

.orb-b {
  left: -6rem;
  bottom: 4rem;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle, rgba(126, 240, 163, 0.15), transparent 70%);
}

.topbar,
main,
.footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 0 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.brand-mark {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #04101a;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: var(--shadow);
}

.brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.92rem;
}

.topnav {
  display: flex;
  gap: 1.3rem;
  color: var(--muted);
}

.topnav a,
.button {
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.topnav a {
  color: inherit;
}

.topnav a:hover,
.button:hover {
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  padding: 4.8rem 0 3rem;
}

.hero-copy h1,
.section-heading h2,
.discord h2 {
  font-family: "Space Grotesk", sans-serif;
  margin: 0;
  line-height: 1.02;
}

.hero-copy h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  max-width: 10ch;
}

.hero-copy p,
.price-card p,
.section p,
.discord p {
  color: var(--muted);
  line-height: 1.6;
}

.hero-copy p {
  max-width: 60ch;
  font-size: 1.05rem;
}

.pill,
.eyebrow,
.featured-badge,
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
}

.pill {
  margin-bottom: 1.2rem;
  padding: 0.55rem 0.9rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.92rem;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  margin: 1.8rem 0;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3rem;
  padding: 0.8rem 1.2rem;
  border-radius: 0.95rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.button.primary {
  color: #031019;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--card-border);
}

.button.full {
  width: 100%;
}

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

.stats div,
.price-card,
.hero-card,
.feature-grid article,
.discord {
  border: 1px solid var(--card-border);
  background: var(--bg-soft);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.stats div {
  padding: 1rem 1.1rem;
  border-radius: 1.1rem;
}

.stats strong,
.panel-grid strong,
.price,
.price-card h3,
.feature-grid h3 {
  display: block;
  font-family: "Space Grotesk", sans-serif;
}

.stats strong {
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.stats span,
.panel-grid span {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-card {
  padding: 1.25rem;
  border-radius: 1.6rem;
  position: relative;
  overflow: hidden;
}

.panel-header,
.discord {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-header {
  color: var(--muted);
  margin-bottom: 1rem;
}

.status {
  padding: 0.35rem 0.7rem;
  color: #8ff0b1;
}

.meter {
  height: 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
  margin-bottom: 1.2rem;
}

.meter-fill {
  width: 82%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  animation: sweep 4.5s ease-in-out infinite;
}

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

.panel-grid div {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.section {
  padding: 1.5rem 0 3rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.section-heading h2,
.discord h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 14ch;
}

.eyebrow {
  padding: 0.38rem 0.7rem;
  color: var(--accent-3);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.feature-grid,
.pricing-grid {
  display: grid;
  gap: 1rem;
}

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

.feature-grid article,
.price-card {
  border-radius: 1.4rem;
  padding: 1.3rem;
}

.feature-grid p,
.price-card p,
.discord p {
  margin-bottom: 0;
}

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

.price-card {
  position: relative;
}

.featured {
  border-color: rgba(66, 214, 255, 0.42);
  background: linear-gradient(180deg, rgba(12, 24, 41, 0.95), rgba(9, 18, 31, 0.92));
}

.featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.65rem;
  color: var(--accent);
  font-size: 0.8rem;
}

.price {
  font-size: 2.8rem;
  margin: 0.3rem 0 0.8rem;
}

.price span {
  color: var(--muted);
  font-size: 1rem;
}

.price-card ul {
  padding-left: 1.1rem;
  color: var(--text);
  line-height: 1.7;
}

.discord {
  margin: 1rem 0 4rem;
  padding: 1.5rem;
  border-radius: 1.6rem;
  gap: 1rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  padding: 0 0 2rem;
  color: var(--muted);
}

.reveal {
  animation: rise 700ms ease both;
}

.reveal:nth-of-type(2) {
  animation-delay: 100ms;
}

.reveal:nth-of-type(3) {
  animation-delay: 200ms;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sweep {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(12%);
  }
}

@media (max-width: 920px) {
  .hero,
  .feature-grid,
  .pricing-grid,
  .section-heading,
  .discord {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.4rem;
  }

  .section-heading,
  .discord,
  .topbar,
  .footer {
    display: grid;
    gap: 1rem;
  }

  .topbar,
  .footer {
    justify-content: start;
  }

  .topnav {
    flex-wrap: wrap;
  }

  .section-heading h2,
  .discord h2 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .topbar,
  main,
  .footer {
    width: min(100% - 1.2rem, 1120px);
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .stats,
  .panel-grid {
    grid-template-columns: 1fr;
  }

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

  .button,
  .button.full {
    width: 100%;
  }
}
