:root {
  color-scheme: dark;
  --bg: #090a0d;
  --panel: #12141a;
  --panel-2: #171a22;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4f6fb;
  --muted: #a8b0c0;
  --soft: #d6dbe6;
  --accent: #6ea8ff;
  --accent-2: #34d6c5;
  --success: #66db96;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  --radius: 8px;
  --container: min(1120px, calc(100vw - 40px));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(52, 214, 197, 0.12), transparent 34rem),
    radial-gradient(circle at top right, rgba(110, 168, 255, 0.1), transparent 32rem),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
}

body.modal-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  font: inherit;
}

button {
  border: 0;
}

:focus-visible {
  outline: 3px solid rgba(110, 168, 255, 0.85);
  outline-offset: 3px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 10, 13, 0.86);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(52, 214, 197, 0.42);
  border-radius: var(--radius);
  background: rgba(52, 214, 197, 0.11);
  color: var(--accent-2);
}

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

.nav-links a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links .nav-download {
  border-radius: var(--radius);
  background: var(--text);
  color: #090a0d;
  padding: 0.62rem 0.9rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  display: grid;
  min-height: calc(100vh - 74px);
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.hero-copy {
  max-width: 610px;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  margin-bottom: 1rem;
  font-size: 5.7rem;
  font-weight: 900;
  line-height: 0.92;
}

h2 {
  margin-bottom: 0.9rem;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.05;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.2rem;
  font-weight: 800;
}

.hero-text,
.section-heading p,
.support-section p {
  color: var(--soft);
  font-size: 1.18rem;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: var(--radius);
  padding: 0.84rem 1.05rem;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

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

.button svg,
.modal-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.meta-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  padding: 0.42rem 0.65rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-preview {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-preview img {
  width: 100%;
  aspect-ratio: 1330 / 707;
  object-fit: cover;
}

.section {
  padding-block: clamp(4rem, 7vw, 6rem);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

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

.feature-list article,
.price-card,
.support-section,
.modal-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(18, 20, 26, 0.82);
}

.feature-list article {
  padding: 1.25rem;
}

.feature-list p,
.price-card li,
.modal-text {
  color: var(--muted);
}

.pricing-section {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

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

.price-card {
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
}

.price-card.featured {
  border-color: rgba(52, 214, 197, 0.45);
  background: rgba(18, 26, 29, 0.9);
}

.badge {
  width: fit-content;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(52, 214, 197, 0.35);
  border-radius: 999px;
  color: var(--accent-2);
  padding: 0.28rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.price {
  margin-bottom: 1.25rem;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

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

.price-card ul {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 1.3rem;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}

.price-card .button {
  margin-top: auto;
}

.support-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
}

.support-section h2 {
  font-size: 2.2rem;
}

.support-section p {
  max-width: 660px;
  margin-bottom: 0;
}

.footer {
  border-top: 1px solid var(--line);
  padding-block: 1.3rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.footer p {
  margin: 0;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 9, 0.76);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  width: min(540px, 100%);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.35rem 0;
}

.payment-options button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}

.payment-options button.is-selected {
  border-color: rgba(52, 214, 197, 0.52);
  background: rgba(52, 214, 197, 0.12);
}

.address-card {
  display: grid;
  gap: 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.18);
  padding: 1rem;
}

.address-card[hidden] {
  display: none;
}

.address-card span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.address-card code {
  overflow-wrap: anywhere;
  color: var(--accent-2);
}

.address-card .button {
  width: fit-content;
}

.discord-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--accent-2);
  font-weight: 800;
  text-decoration: none;
}

.discord-link:hover {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

  h1 {
    font-size: 4.4rem;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100vw - 28px, 1120px);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 84px;
    display: grid;
    gap: 0.35rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel-2);
    padding: 0.8rem;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.16s ease, transform 0.16s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 0.75rem;
  }

  .nav-links .nav-download {
    display: inline-flex;
    justify-content: center;
  }

  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero-text,
  .section-heading p,
  .support-section p {
    font-size: 1.04rem;
  }

  .hero-actions .button,
  .feature-list,
  .pricing-grid,
  .payment-options {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .support-section {
    display: grid;
    padding: 1.25rem;
  }

  .footer-inner {
    display: grid;
  }
}
