:root {
  --bg: #080808;
  --void: #020202;
  --panel: #121212;
  --detail: #1a1a1a;
  --ink: #ffffff;
  --muted: #b7b2aa;
  --soft: #766f66;
  --orange: #ff8a00;
  --orange-soft: #d86b00;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 138, 0, 0.36);
  --cut: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: Geist, "Space Grotesk", system-ui, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 138, 0, 0.1), transparent 22rem),
    linear-gradient(180deg, #101010, var(--bg) 38%, var(--void));
}

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

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.42;
}

.topbar {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  min-height: 64px;
  padding: 0 0.9rem;
  border: 1px solid transparent;
  background: transparent;
  transform: translateX(-50%);
  transition: background 240ms ease, border-color 240ms ease, backdrop-filter 240ms ease;
}

.topbar.is-scrolled {
  border-color: var(--line);
  background: rgba(18, 18, 18, 0.72);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.discord-mini,
.hero-actions,
.button,
.plan-action,
.message,
.message header,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.7rem;
  font-weight: 800;
}

.logo-small {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
}

.nav {
  gap: clamp(1rem, 3vw, 2.4rem);
  color: rgba(245, 241, 234, 0.68);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a,
.discord-mini,
.footer a {
  transition: color 180ms ease, opacity 180ms ease;
}

.nav a:hover,
.discord-mini:hover,
.footer a:hover {
  color: var(--orange);
}

.discord-mini {
  min-height: 38px;
  justify-content: center;
  padding: 0 0.85rem;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.hero-video,
.hero-fallback,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  z-index: -5;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-fallback {
  z-index: -6;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 138, 0, 0.14), transparent 20rem),
    linear-gradient(125deg, #111111, #1a1a1a 48%, #050505);
}

.hero-overlay {
  z-index: -4;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at 50% 78%, rgba(255, 138, 0, 0.12), transparent 22rem);
}

.hero-center {
  position: absolute;
  left: max(5vw, calc((100vw - 1120px) / 2));
  bottom: clamp(4.5rem, 12vh, 8rem);
  width: min(600px, calc(100% - 32px));
  text-align: left;
}

.hero h1 {
  margin: 0;
  font-family: "Space Grotesk", Geist, sans-serif;
  font-size: clamp(3.1rem, 6.4vw, 6.6rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero p {
  max-width: 500px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.65;
}

.hero-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: clamp(1.8rem, 5vh, 3.2rem);
}

.button,
.plan-action {
  justify-content: center;
  min-height: 52px;
  padding: 0 1.25rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-weight: 900;
  clip-path: var(--cut);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
  will-change: transform;
}

.button.primary,
.plan-action {
  border-color: var(--line-strong);
  background: linear-gradient(135deg, #ff9a19, var(--orange) 50%, #8c3e00);
}

.button.secondary {
  background: rgba(18, 18, 18, 0.62);
}

.button:hover,
.plan-action:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 138, 0, 0.55);
  background: var(--detail);
}

.button.primary:hover,
.plan-action:hover {
  background: linear-gradient(135deg, #ffa42b, var(--orange-soft));
}

.plans,
.feedbacks,
.faq,
.cta {
  position: relative;
  padding: clamp(5rem, 9vw, 8rem) 5vw;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-head.compact {
  max-width: 600px;
}

.section-head span,
.tier,
.cta-content span {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-head h2,
.cta h2 {
  margin: 0;
  font-family: "Space Grotesk", Geist, sans-serif;
  font-size: clamp(2.3rem, 5vw, 5.5rem);
  line-height: 0.96;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1160px;
  margin: 0 auto;
}

.plan-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--panel);
  clip-path: var(--cut);
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease;
  will-change: transform;
}

.plan-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 38%),
    radial-gradient(circle at 50% 0%, rgba(255, 138, 0, 0.1), transparent 58%);
  opacity: 0;
  transition: opacity 260ms ease;
}

.plan-card:hover {
  transform: translateY(-10px) scale(1.015);
  border-color: rgba(255, 138, 0, 0.42);
  background: var(--detail);
}

.plan-card:hover::before {
  opacity: 1;
}

.plan-card.sloted {
  border-color: rgba(255, 138, 0, 0.48);
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 138, 0, 0.16), transparent 42%),
    linear-gradient(180deg, #1a1a1a, #101010);
}

.plan-card.private {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 42%),
    var(--panel);
}

.plan-code {
  color: var(--soft);
  font-family: "Space Grotesk", Geist, sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
}

.plan-card h3 {
  margin: 4.2rem 0 0.8rem;
  font-family: "Space Grotesk", Geist, sans-serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.9;
}

.plan-card p {
  max-width: 310px;
  margin: 0 0 2rem;
  color: var(--muted);
  line-height: 1.55;
}

.plan-action {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
}

.message-window {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.message-track {
  display: flex;
  width: max-content;
  gap: 0.85rem;
  animation: marquee 36s linear infinite;
}

.message {
  flex: 0 0 350px;
  gap: 0.85rem;
  min-height: 142px;
  padding: 1rem;
  border: 1px solid var(--line);
  background: rgba(18, 18, 18, 0.88);
}

.avatar {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 24%, rgba(255, 255, 255, 0.24), transparent 30%),
    linear-gradient(145deg, var(--orange), #663913);
  font-weight: 900;
}

.message header {
  justify-content: space-between;
  gap: 1rem;
}

.message header span {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
}

.stars {
  display: block;
  margin: 0.35rem 0 0.5rem;
  color: var(--orange);
  font-size: 0.84rem;
}

.message p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.faq {
  display: block;
  max-width: 980px;
  margin: 0 auto;
}

.faq .section-head {
  max-width: 720px;
  margin: 0 auto clamp(1.8rem, 4vw, 3rem);
  text-align: center;
}

.faq .section-head h2 {
  max-width: 680px;
  margin-inline: auto;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
}

.faq-list {
  display: grid;
  gap: 0.72rem;
  width: min(100%, 860px);
  margin: 0 auto;
}

details {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.085);
  background:
    linear-gradient(90deg, rgba(255, 138, 0, 0.045), transparent 32%),
    rgba(18, 18, 18, 0.72);
  clip-path: var(--cut);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 76px;
  margin: 0;
  padding: 0 1.35rem;
  cursor: pointer;
  color: var(--ink);
  font-weight: 850;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 138, 0, 0.28);
  background: rgba(255, 138, 0, 0.055);
  color: var(--orange);
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 180ms ease;
}

details:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 138, 0, 0.26);
  background:
    linear-gradient(90deg, rgba(255, 138, 0, 0.075), transparent 38%),
    rgba(26, 26, 26, 0.82);
}

details[open] {
  border-color: rgba(255, 138, 0, 0.34);
  background:
    linear-gradient(90deg, rgba(255, 138, 0, 0.085), transparent 42%),
    rgba(18, 18, 18, 0.9);
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  margin: 0;
  max-width: 620px;
  padding: 0 4.4rem 1.35rem 1.35rem;
  color: var(--muted);
  line-height: 1.55;
}

.cta {
  display: grid;
  place-items: center;
  min-height: 100vh;
  text-align: center;
  background:
    radial-gradient(circle at 50% 56%, rgba(255, 138, 0, 0.11), transparent 22rem),
    var(--bg);
}

.cta-content {
  width: min(840px, calc(100% - 32px));
}

.cta h2 {
  font-size: clamp(3rem, 7vw, 7rem);
}

.button.large {
  min-height: 66px;
  margin-top: 2rem;
  padding-inline: clamp(1.4rem, 4vw, 3.2rem);
}

.footer {
  justify-content: space-between;
  gap: 1rem;
  min-height: 88px;
  padding: 1rem 5vw;
  border-top: 1px solid var(--line);
  background: #070707;
  color: var(--muted);
}

.footer .brand {
  color: var(--ink);
}

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

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

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 920px) {
  .nav {
    display: none;
  }

  .plan-grid,
  .faq {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .topbar {
    width: min(100% - 20px, 1120px);
  }

  .discord-mini {
    display: none;
  }

  .hero-center {
    left: 1rem;
    right: 1rem;
    bottom: 4rem;
    width: auto;
  }

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

  .plans,
  .feedbacks,
  .faq,
  .cta {
    padding-inline: 1rem;
  }

  .message {
    flex-basis: 310px;
  }

  .footer {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}
