:root {
  color-scheme: dark;
  --bg: #0f0f0f;
  --panel: #141414;
  --panel-soft: rgba(255, 255, 255, 0.035);
  --panel-strong: #181018;
  --ink: #ffffff;
  --text: #f1e8f8;
  --muted: #bfbfbf;
  --dim: #9e9e9e;
  --line: rgba(255, 255, 255, 0.08);
  --purple: #ba38ff;
  --purple-soft: rgba(186, 56, 255, 0.18);
  --purple-panel: rgba(186, 56, 255, 0.12);
  --green: #32d07d;
  --hot: #ff4fd8;
  --gold: #f6c35f;
}

* { box-sizing: border-box; }

html {
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: clip;
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at 14% 8%, rgba(186, 56, 255, 0.18), transparent 28rem),
    radial-gradient(circle at 82% 0%, rgba(186, 56, 255, 0.12), transparent 24rem),
    linear-gradient(135deg, #0a0a0a, var(--bg));
}

button, input { font: inherit; }

a {
  color: inherit;
}

button {
  min-height: 40px;
  border: 1px solid rgba(186, 56, 255, 0.58);
  border-radius: 9px;
  padding: 0.7rem 1rem;
  color: var(--text);
  background: var(--purple-soft);
  cursor: pointer;
}

button:hover:not(:disabled) {
  background: rgba(186, 56, 255, 0.34);
  border-color: var(--purple);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

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

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 42px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.72);
  backdrop-filter: blur(12px);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.nav-links a {
  text-decoration: none;
}

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

.hero {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "copy"
    "visual"
    "status";
  gap: 24px;
  justify-items: center;
  min-height: 0;
  width: calc(100% + 32px);
  margin-left: -16px;
  padding: clamp(34px, 5vw, 70px) 16px;
  border: 1px solid rgba(186, 56, 255, 0.34);
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 58%, rgba(186, 56, 255, 0.24), transparent 34rem),
    linear-gradient(180deg, #120d15 0%, #141018 48%, #080808 100%);
  box-shadow: 0 18px 62px rgba(0, 0, 0, 0.62), 0 0 42px rgba(186, 56, 255, 0.13);
  overflow: hidden;
}

.hero-copy {
  grid-area: copy;
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  text-align: center;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark.compact {
  margin: 0;
  text-decoration: none;
}

.brand-mark.compact img {
  width: 34px;
  height: 34px;
}

.brand-mark img {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(186, 56, 255, 0.55);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(186, 56, 255, 0.22);
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--purple);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 1080px;
  margin-bottom: 1rem;
  color: var(--ink);
  font-size: clamp(3rem, 6vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: -0.065em;
}

h2 {
  margin-bottom: 0.5rem;
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 0.8rem;
  color: var(--ink);
  font-size: 1.7rem;
  letter-spacing: -0.035em;
}

.lede {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 28px 0 22px;
}

.primary-cta, .secondary-cta, .discord-cta {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  border-radius: 10px;
  padding: 0.82rem 1.05rem;
  font-weight: 900;
  text-decoration: none;
}

.primary-cta {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--hot));
  box-shadow: 0 12px 32px rgba(186, 56, 255, 0.28);
}

.secondary-cta {
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.discord-cta {
  color: #fff;
  border: 1px solid rgba(88, 101, 242, 0.72);
  background: linear-gradient(135deg, #5865f2, #7b61ff);
  box-shadow: 0 12px 32px rgba(88, 101, 242, 0.24);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.hero-stats span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.75rem;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.22);
  font-size: 0.86rem;
}

.hero-stats strong {
  color: var(--ink);
}

.hero-visual {
  grid-area: visual;
  position: relative;
  display: grid;
  align-items: center;
  width: min(1120px, 100%);
  min-height: 0;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% 0 0 8%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(186, 56, 255, 0.28), transparent 62%);
  filter: blur(12px);
}

.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background: #080808;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.62), 0 0 34px rgba(186, 56, 255, 0.18);
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  animation: heroSlide 10s infinite;
}

.hero-slide.slide-two {
  animation-delay: 5s;
}

.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  object-fit: cover;
  background: #080808;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.86), transparent);
}

.hero-slide figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  max-width: 520px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.hero-slide figcaption strong {
  display: block;
  margin-bottom: 0.28rem;
  color: var(--ink);
  font-size: 1.35rem;
  letter-spacing: -0.035em;
}

.slide-dots {
  position: absolute;
  right: 22px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.slide-dots span {
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  animation: slideDot 10s infinite;
}

.slide-dots span:nth-child(2) {
  animation-delay: 5s;
}

@keyframes heroSlide {
  0%, 44% { opacity: 1; }
  50%, 94% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes slideDot {
  0%, 44% { background: var(--purple); }
  50%, 94% { background: rgba(255, 255, 255, 0.28); }
  100% { background: var(--purple); }
}

.status-card, .account-panel, .plan-card, .success-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-soft);
}

.status-card {
  grid-area: status;
  position: relative;
  z-index: 2;
  width: min(620px, 100%);
  padding: 20px;
  border-color: rgba(50, 208, 125, 0.26);
  background: rgba(12, 18, 14, 0.78);
  backdrop-filter: blur(12px);
}

.status-card p {
  margin: 0.5rem 0 0;
  color: var(--dim);
  line-height: 1.5;
}

.dot {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(50, 208, 125, 0.12);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.feature-card, .creator-section, .discord-section, .account-panel, .billing-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-soft);
}

.feature-card {
  min-height: 250px;
  padding: 24px;
}

.feature-card.wide {
  grid-column: span 3;
  min-height: 0;
  background: linear-gradient(135deg, rgba(186, 56, 255, 0.13), rgba(255, 255, 255, 0.035));
}

.feature-card.wide p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.65;
}

.feature-number {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 34px;
  border: 1px solid rgba(186, 56, 255, 0.55);
  border-radius: 50%;
  color: var(--purple);
  font-weight: 900;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.6;
}

.creator-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: center;
  margin-top: 14px;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(246, 195, 95, 0.11), transparent 36%),
    var(--panel-soft);
}

.creator-section p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.65;
}

.creator-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.creator-list li {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  color: var(--text);
  background: rgba(0, 0, 0, 0.2);
}

.creator-list li::before {
  content: "◆";
  margin-right: 0.55rem;
  color: var(--gold);
}

.discord-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 14px;
  padding: 30px;
  border-color: rgba(88, 101, 242, 0.4);
  background:
    radial-gradient(circle at 90% 10%, rgba(88, 101, 242, 0.22), transparent 18rem),
    linear-gradient(135deg, rgba(88, 101, 242, 0.14), rgba(255, 255, 255, 0.035));
}

.discord-section p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.discord-panel-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid rgba(88, 101, 242, 0.72);
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  color: #fff;
  background: linear-gradient(135deg, #5865f2, #7b61ff);
  box-shadow: 0 12px 32px rgba(88, 101, 242, 0.24);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.account-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 22px;
  margin-top: 18px;
  padding: 24px;
}

.billing-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-top: 18px;
  padding: 24px;
  border-color: rgba(50, 208, 125, 0.26);
}

.billing-panel[hidden] {
  display: none;
}

.billing-panel p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.billing-countdown {
  margin-bottom: 0;
  color: var(--green) !important;
  font-weight: 800;
}

.billing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.refund-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid rgba(88, 101, 242, 0.72);
  border-radius: 9px;
  padding: 0.7rem 1rem;
  color: #fff;
  background: linear-gradient(135deg, #5865f2, #7b61ff);
  font-weight: 900;
  text-decoration: none;
}

.account-panel p, .plan-card p, .plan-card li {
  color: var(--muted);
  line-height: 1.55;
}

.discord-help {
  margin: 1rem 0 0;
  border: 1px solid rgba(88, 101, 242, 0.36);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  background: rgba(88, 101, 242, 0.1);
}

.discord-help a, .discord-nav {
  color: #cfd3ff;
  font-weight: 900;
}

[hidden] {
  display: none !important;
}

.account-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(191, 191, 191, 0.2);
  border-radius: 8px;
  padding: 0.65rem 0.8rem;
  color: #f1f1f1;
  background: #0f0f0f;
  outline: none;
}

input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 2px rgba(186, 56, 255, 0.18);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.account-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--dim);
  font-size: 0.92rem;
  line-height: 1.5;
}

.account-status[data-tone="loading"] {
  color: var(--gold);
}

.account-status[data-tone="success"] {
  color: var(--green);
}

.account-status[data-tone="error"] {
  color: #ff8ca1;
}

.pricing-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 38px 0 14px;
}

.billing-toggle {
  display: flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
}

.billing-toggle button.is-active {
  color: var(--ink);
  background: rgba(186, 56, 255, 0.24);
  border-color: rgba(186, 56, 255, 0.72);
  box-shadow: inset 0 -2px 0 var(--purple);
}

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

.plan-card {
  display: grid;
  gap: 20px;
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.plan-card.featured {
  border-color: rgba(186, 56, 255, 0.55);
  background: linear-gradient(135deg, rgba(186, 56, 255, 0.16), rgba(255, 255, 255, 0.035));
  box-shadow: 0 0 28px rgba(186, 56, 255, 0.12);
}

.plan-card.featured::after {
  content: "Best for makers";
  position: absolute;
  top: 18px;
  right: -36px;
  transform: rotate(28deg);
  padding: 0.35rem 2.5rem;
  color: #190a18;
  background: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 1.1rem;
}

.plan-price {
  margin-bottom: 0.75rem;
  color: var(--ink) !important;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.055em;
}

.pricing-note {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.legal-section {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  background: var(--panel-soft);
}

.legal-docs {
  display: grid;
  gap: 10px;
}

.legal-doc {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  background: rgba(0, 0, 0, 0.18);
}

.legal-doc summary {
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.legal-doc section {
  margin-top: 1rem;
}

.legal-doc h3 {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.legal-doc p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.success-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.success-card {
  max-width: 680px;
  padding: 34px;
  border-color: rgba(186, 56, 255, 0.55);
  background: var(--panel);
}

.success-card a {
  color: var(--purple);
  font-weight: 800;
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 20px, 1120px);
    padding: 18px 0;
  }

  .topbar {
    align-items: flex-start;
    border-radius: 18px;
    flex-direction: column;
  }

  .hero, .account-panel, .billing-panel, .plans, .feature-grid, .creator-section, .discord-section {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-areas:
      "copy"
      "visual"
      "status";
    width: calc(100% + 20px);
    margin-left: -10px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .hero, .account-panel, .billing-panel, .plan-card, .feature-card, .creator-section, .discord-section {
    padding: 18px;
  }

  .billing-actions {
    justify-content: flex-start;
  }

  .hero {
    min-height: 0;
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 4rem);
    line-height: 0.92;
    letter-spacing: -0.06em;
  }

  .lede {
    font-size: 1rem;
  }

  .hero-visual {
    min-height: 0;
  }

  .hero-slider {
    min-height: 260px;
    transform: none;
  }

  .hero-slide figcaption {
    left: 16px;
    right: 16px;
    bottom: 16px;
    font-size: 0.84rem;
  }

  .hero-slide figcaption strong {
    font-size: 1.1rem;
  }

  .slide-dots {
    right: 16px;
    bottom: 18px;
  }

  .feature-card.wide {
    grid-column: auto;
  }

  .pricing-head {
    align-items: start;
    flex-direction: column;
  }

}
