:root {
  --bg: #030303;
  --panel: #0a0a0a;
  --panel-2: #0d0d0d;
  --line: rgba(196, 255, 0, 0.18);
  --line-soft: rgba(255, 255, 255, 0.08);
  --lime: #b7ff00;
  --lime-bright: #c7ff18;
  --text: #f5f7ef;
  --muted: #9a9e92;
  --max: 1240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .55), transparent 65%);
  z-index: -2;
}

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

button {
  font: inherit;
}

.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(183, 255, 0, .08), transparent 65%);
  transform: translate(-50%, -50%);
  z-index: -1;
  transition: opacity .3s;
}

.site-header {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}

.brand img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  transition: transform .25s var(--ease);
}

.brand:hover img {
  transform: scale(1.08);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  color: #b8bbb1;
}

.nav a:not(.nav-cta):not(.nav-icon-btn) {
  transition: color .25s;
}

.nav a:not(.nav-cta):not(.nav-icon-btn):hover {
  color: var(--lime);
}

.nav a.active {
  color: var(--lime-bright);
  font-weight: 700;
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.nav-icon-btn {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line-soft);
  padding: 9px 15px;
  border-radius: 999px;
  color: #d4d7cd;
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  font-weight: 600;
  transition: all .25s var(--ease);
}

.nav-icon-btn:hover {
  background: rgba(183, 255, 0, 0.06);
  border-color: rgba(183, 255, 0, 0.35);
  color: var(--lime);
  transform: translateY(-2px);
}

.nav-cta {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(183, 255, 0, .45);
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--lime);
  background: rgba(183, 255, 0, .04);
  font-size: 13px;
  font-weight: 600;
  transition: background .25s, transform .25s, box-shadow .25s, border-color .25s;
}

.nav-cta:hover {
  background: rgba(183, 255, 0, .12);
  border-color: var(--lime);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(183, 255, 0, .2);
}

@media (max-width: 860px) {
  .nav {
    gap: 16px;
  }
}

@media (max-width: 520px) {
  .site-header {
    width: calc(100% - 24px);
  }

  .nav-icon-btn span.nav-btn-text {
    display: none;
  }

  .nav-icon-btn {
    padding: 9px 10px;
  }

  .nav-cta span.arrow {
    display: none;
  }

  .nav-cta {
    padding: 9px 12px;
  }
}

.hero {
  min-height: calc(100vh - 92px);
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  padding: 80px 0 130px;
  overflow: hidden;
}

.hero-content {
  width: 58%;
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-label {
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--lime);
  font-weight: 700;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}

.status-dot,
.mini-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 14px rgba(183, 255, 0, .9);
}

.hero h1 {
  font-size: clamp(64px, 8.4vw, 124px);
  line-height: .86;
  letter-spacing: -.075em;
  font-weight: 800;
  max-width: 850px;
}

.hero h1 span,
h2 span {
  color: var(--lime);
}

.hero-copy {
  max-width: 570px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  margin: 34px 0 34px;
}

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

.btn {
  min-height: 52px;
  padding: 0 20px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  font-size: 14px;
  font-weight: 750;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}

.btn-primary {
  background: var(--lime);
  color: #050505;
  box-shadow: 0 0 0 1px rgba(183, 255, 0, .4), 0 12px 45px rgba(183, 255, 0, .13);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px var(--lime), 0 18px 60px rgba(183, 255, 0, .23);
}

.btn-ghost {
  border: 1px solid var(--line-soft);
  color: #d4d7cd;
  background: rgba(255, 255, 255, .02);
}

.btn-ghost:hover {
  transform: translateY(-3px);
  border-color: var(--line);
  color: var(--lime);
}

.discord-mark {
  font-size: 17px;
}

.btn-arrow {
  font-size: 17px;
}

.invite-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  color: #656960;
  font-size: 12px;
  letter-spacing: .05em;
}

.mini-dot {
  width: 4px;
  height: 4px;
}

.hero-logo-wrap {
  position: absolute;
  width: min(48vw, 570px);
  aspect-ratio: 1;
  right: -2%;
  top: 50%;
  transform: translateY(-48%);
  display: grid;
  place-items: center;
}

.hero-logo {
  width: 72%;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 45px rgba(183, 255, 0, .15));
  animation: float 6s ease-in-out infinite;
}

.logo-ring {
  position: absolute;
  width: 92%;
  height: 92%;
  border: 1px solid rgba(183, 255, 0, .13);
  border-radius: 50%;
  animation: spin 24s linear infinite;
}

.logo-ring::before,
.logo-ring::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 18px var(--lime);
}

.logo-ring::before {
  left: 17%;
  top: 5%;
}

.logo-ring::after {
  right: 9%;
  bottom: 20%;
}

.ring-two {
  width: 74%;
  height: 74%;
  border-color: rgba(183, 255, 0, .07);
  animation-direction: reverse;
  animation-duration: 32s;
}

.hero-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(183, 255, 0, .07);
  pointer-events: none;
}

.orbit-one {
  width: 900px;
  height: 900px;
  right: -330px;
  top: -180px;
}

.orbit-two {
  width: 620px;
  height: 620px;
  right: -100px;
  bottom: -300px;
}

.scroll-cue {
  position: absolute;
  left: 0;
  bottom: 35px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #5f635b;
  font-size: 9px;
  letter-spacing: .2em;
}

.scroll-cue i {
  display: block;
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, #5f635b, transparent);
}

.marquee {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 38px;
  padding: 18px 0;
  font-size: 12px;
  letter-spacing: .25em;
  color: #6f7369;
  animation: marquee 26s linear infinite;
}

.marquee-track b {
  color: var(--lime);
  font-size: 10px;
}

.section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 150px 0;
}

.section-label {
  margin-bottom: 58px;
}

.section-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 80px;
}

h2 {
  font-size: clamp(50px, 6vw, 86px);
  line-height: .95;
  letter-spacing: -.06em;
}

.section-copy {
  align-self: end;
  max-width: 510px;
}

.section-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 22px;
}

.community {
  border-top: 1px solid var(--line-soft);
}

.community-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 65px;
}

.community-head p {
  max-width: 340px;
  color: var(--muted);
  line-height: 1.7;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  min-height: 320px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform .35s var(--ease), border-color .35s, background .35s;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--line);
  background: linear-gradient(145deg, rgba(183, 255, 0, .07), rgba(255, 255, 255, .012));
}

.card-featured {
  border-color: rgba(183, 255, 0, .25);
}

.card-number {
  color: #7d8276;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.card-icon {
  color: var(--lime);
  font-size: 32px;
  line-height: 1;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.join-panel {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto 120px;
  border: 1px solid rgba(183, 255, 0, .25);
  border-radius: 28px;
  min-height: 520px;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, rgba(183, 255, 0, .1), transparent 52%), #080908;
}

.join-glow {
  position: absolute;
  width: 600px;
  height: 220px;
  top: -100px;
  background: rgba(183, 255, 0, .1);
  filter: blur(80px);
  border-radius: 50%;
}

.join-content {
  position: relative;
  z-index: 2;
  padding: 70px 24px;
}

.join-content .section-label {
  margin-bottom: 35px;
}

.join-content h2 {
  font-size: clamp(54px, 7vw, 90px);
}

.join-content p {
  color: var(--muted);
  margin: 25px 0 32px;
}

.btn-large {
  min-height: 58px;
  padding: 0 25px;
}

.copy-link {
  display: flex;
  margin: 18px auto 0;
  background: transparent;
  border: 0;
  color: #666a61;
  cursor: pointer;
  gap: 15px;
  font-size: 11px;
  letter-spacing: .05em;
}

.copy-state {
  color: #888c82;
}

.copy-link:hover .copy-state {
  color: var(--lime);
}

.footer {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  border-top: 1px solid var(--line-soft);
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #666a62;
  font-size: 11px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #a4a79d;
  letter-spacing: .12em;
  font-size: 10px;
  font-weight: 700;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.footer-right {
  display: flex;
  gap: 24px;
}

.footer-right a:hover {
  color: var(--lime);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

/* Mobile Hamburger Button */
.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-soft);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  backdrop-filter: blur(10px);
}

.mobile-menu-btn:hover {
  border-color: var(--line);
  background: rgba(183, 255, 0, 0.08);
  color: var(--lime-bright);
}

.mobile-menu-btn svg {
  width: 22px;
  height: 22px;
}

/* Sidebar Overlay */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.sidebar-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Mobile Sidebar Panel */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: rgba(8, 9, 8, 0.96);
  backdrop-filter: blur(24px);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 24px 24px 32px;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line-soft);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
  overflow-y: auto;
}

.mobile-sidebar.open {
  transform: translateX(0);
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 24px;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}

.sidebar-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.sidebar-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-soft);
  color: #c4c7bc;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.sidebar-close-btn:hover {
  color: var(--lime-bright);
  border-color: var(--lime);
  background: rgba(183, 255, 0, 0.1);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 12px;
  color: #c4c7bc;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s var(--ease);
  background: transparent;
}

.sidebar-link:hover,
.sidebar-link.active {
  color: var(--lime-bright);
  background: rgba(183, 255, 0, 0.06);
  border: 1px solid rgba(183, 255, 0, 0.15);
  padding-left: 20px;
}

.sidebar-divider {
  height: 1px;
  background: var(--line-soft);
  margin: 20px 0;
}

.sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.sidebar-actions .nav-cta,
.sidebar-actions .nav-icon-btn {
  width: 100%;
  justify-content: center;
  padding: 12px 18px;
  font-size: 14px;
}

@media (max-width: 900px) {
  .mobile-menu-btn {
    display: flex;
  }

  /* Hide desktop nav links — mobile sidebar provides navigation */
  .nav>a,
  .nav>.nav-actions {
    display: none;
  }

  .hero {
    padding-top: 70px;
    min-height: auto;
  }

  .hero-content {
    width: 100%;
  }

  .hero-logo-wrap {
    opacity: .14;
    width: min(55vw, 320px);
    right: 0%;
    top: 55%;
    pointer-events: none;
  }

  .section-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .section-grid {
    gap: 40px;
  }

  .community-head {
    display: block;
  }

  .community-head p {
    margin-top: 25px;
  }

  .card {
    min-height: 280px;
  }

  .card-icon {
    margin-top: 45px;
  }
}

@media (max-width: 600px) {

  .site-header,
  .hero,
  .section,
  .join-panel,
  .footer {
    width: min(100% - 32px, var(--max));
  }

  .site-header {
    height: 78px;
  }

  .brand img {
    width: 68px;
    height: 68px;
  }

  .nav-cta {
    padding: 9px 12px;
  }

  .hero {
    padding: 65px 0 110px;
  }

  .hero h1 {
    font-size: clamp(56px, 17vw, 84px);
  }

  .hero-copy {
    font-size: 15px;
  }

  .hero-logo-wrap {
    width: min(60vw, 360px);
    right: -5%;
    top: 53%;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding: 105px 0;
  }

  .section-label {
    margin-bottom: 38px;
  }

  .section-grid {
    gap: 30px;
  }

  .community-head {
    margin-bottom: 40px;
  }

  .join-panel {
    margin-bottom: 70px;
    min-height: 470px;
    border-radius: 22px;
  }

  .footer {
    padding: 28px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-right {
    width: 100%;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

.plans-section {
  border-top: 1px solid var(--line-soft);
}

.plan-tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 45px;
}

.plan-tabs {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  flex-wrap: wrap;
  justify-content: center;
  backdrop-filter: blur(12px);
}

.plan-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-soft);
  color: #c4c7bc;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.plan-tab-btn:hover {
  border-color: var(--line);
  color: var(--lime-bright);
  background: rgba(183, 255, 0, 0.06);
}

.plan-tab-btn.active {
  background: var(--lime);
  color: #050505;
  border-color: var(--lime);
  font-weight: 800;
  box-shadow: 0 0 20px rgba(183, 255, 0, 0.35);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.plan-card {
  position: relative;
  min-height: 420px;
  padding: 32px 28px;
  border-radius: 22px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(145deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), border-color .35s, background .35s, box-shadow .35s;
}

.plan-card:hover {
  transform: translateY(-8px);
  border-color: var(--line);
  background: linear-gradient(145deg, rgba(183, 255, 0, .07), rgba(255, 255, 255, .012));
}

/* Noticeable & Standout Featured Plan Styling */
.plan-card.featured {
  border: 1.5px solid var(--lime);
  background: linear-gradient(165deg, rgba(183, 255, 0, 0.12) 0%, rgba(20, 24, 16, 0.7) 35%, rgba(8, 9, 8, 0.95) 100%);
  box-shadow: 0 0 45px rgba(183, 255, 0, 0.22), inset 0 1px 0 rgba(183, 255, 0, 0.6);
}

.plan-card.featured:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 65px rgba(183, 255, 0, 0.38), inset 0 1px 0 rgba(183, 255, 0, 0.9);
}

.plan-card.featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--lime), var(--lime-bright), transparent);
}

.plan-service-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.plan-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--lime);
  color: #050505;
  font-size: 9px;
  letter-spacing: 0.16em;
  font-weight: 900;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(183, 255, 0, 0.6);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.plan-card:not(.featured) .plan-badge {
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  border: 1px solid var(--line-soft);
  box-shadow: none;
}

.plan-name {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.04em;
  margin-top: 4px;
}

.plan-tagline {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 8px;
  min-height: 42px;
}

.plan-price {
  margin: 26px 0 20px;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -.05em;
}

.plan-price small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.plan-features {
  list-style: none;
  display: grid;
  gap: 11px;
  margin: 0 0 26px;
  color: #c7cac0;
  font-size: 13px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.5;
}

.plan-features li::before {
  content: "✓";
  color: var(--lime);
  font-weight: bold;
}

.plan-button {
  margin-top: auto;
}

.plan-category-block {
  margin-bottom: 70px;
  position: relative;
}

.plan-category-block:last-child {
  margin-bottom: 0;
}

.plan-category-header {
  margin-bottom: 30px;
  border-left: 3px solid var(--lime);
  padding-left: 18px;
}

.plan-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--lime);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.plan-category-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.plan-category-desc {
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
  max-width: 650px;
}

/* Workflow Section Styles */
.workflow-section {
  border-top: 1px solid var(--line-soft);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.workflow-step-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008));
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 26px 20px;
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}

.workflow-step-card:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  background: linear-gradient(160deg, rgba(183, 255, 0, 0.06), rgba(255, 255, 255, 0.01));
}

.workflow-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--lime);
  margin-bottom: 12px;
}

.workflow-step-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.workflow-step-desc {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .workflow-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .workflow-grid {
    grid-template-columns: 1fr;
  }
}

/* Plan Cards Grid - for categorized plan sections */
.plan-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .plan-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .plan-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Legacy plans-grid (used by tabs) */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PAGE HERO & MULTI-PAGE STYLING
   ============================================================ */
.page-hero {
  padding: 80px 0 40px;
  text-align: center;
  position: relative;
  max-width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.page-hero-content h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 16px 0 20px;
}

.nav-highlight {
  font-weight: 600;
}

/* ============================================================
   FIVEM MARKETPLACE STYLES
   ============================================================ */
.fivem-page .fivem-toolbar {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fivem-page .fivem-search-wrap {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

.fivem-page .fivem-search-wrap input {
  width: 100%;
  padding: 16px 48px 16px 48px;
  background: var(--panel-2);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: all 0.25s var(--ease);
}

.fivem-page .fivem-search-wrap input:focus {
  border-color: var(--lime);
  box-shadow: 0 0 24px rgba(183, 255, 0, 0.18);
  background: #0f0f0f;
}

.fivem-page .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}

.fivem-page .search-clear-btn {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
}

.fivem-page .search-clear-btn:hover {
  color: #fff;
}

.fivem-page .fivem-tag-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.fivem-page .filter-pill {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-soft);
  color: #c4c7bc;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.fivem-page .filter-pill:hover {
  border-color: var(--line);
  color: var(--lime-bright);
  background: rgba(183, 255, 0, 0.06);
}

.fivem-page .filter-pill.active {
  background: var(--lime);
  color: #050505;
  border-color: var(--lime);
  font-weight: 800;
  box-shadow: 0 0 20px rgba(183, 255, 0, 0.35);
}

.fivem-page .fivem-stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--muted);
}

/* FiveM Script Card - Matched to Main Theme */
.fivem-page .fivem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .fivem-page .fivem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .fivem-page .fivem-grid {
    grid-template-columns: 1fr;
  }
}

.fivem-page .script-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .35s var(--ease), border-color .35s, background .35s, box-shadow .35s;
}

.fivem-page .script-card:hover {
  transform: translateY(-8px);
  border-color: var(--line);
  background: linear-gradient(145deg, rgba(183, 255, 0, .07), rgba(255, 255, 255, .012));
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(183, 255, 0, 0.15);
}

.fivem-page .script-card.featured {
  border: 1.5px solid var(--lime);
  background: linear-gradient(165deg, rgba(183, 255, 0, 0.12) 0%, rgba(20, 24, 16, 0.7) 35%, rgba(8, 9, 8, 0.95) 100%);
  box-shadow: 0 0 45px rgba(183, 255, 0, 0.22), inset 0 1px 0 rgba(183, 255, 0, 0.6);
}

.fivem-page .script-card.featured:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 65px rgba(183, 255, 0, 0.38), inset 0 1px 0 rgba(183, 255, 0, 0.9);
}

.fivem-page .script-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.fivem-page .script-badge {
  background: var(--lime);
  color: #050505;
  font-size: 10px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.08em;
}

.fivem-page .script-type-badge {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.08em;
}

.fivem-page .script-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.fivem-page .script-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.fivem-page .script-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.fivem-page .script-tag-chip {
  font-size: 11px;
  font-weight: 600;
  color: var(--lime-bright);
  background: rgba(183, 255, 0, 0.08);
  border: 1px solid rgba(183, 255, 0, 0.18);
  padding: 3px 8px;
  border-radius: 6px;
}

.fivem-page .script-features-wrap {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--line-soft);
}

.fivem-page .features-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 10px;
}

.fivem-page .script-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: #d1d5c9;
  margin-bottom: 24px;
}

.fivem-page .script-features li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.fivem-page .script-features .bullet {
  color: var(--lime);
  font-weight: bold;
}

.fivem-page .script-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}

.fivem-page .script-price {
  display: flex;
  flex-direction: column;
}

.fivem-page .price-val {
  font-size: 24px;
  font-weight: 900;
  color: var(--lime-bright);
}

.fivem-page .price-suffix {
  font-size: 11px;
  color: var(--muted);
}

.fivem-page .script-btn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 750;
}

.fivem-page .fivem-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: var(--panel);
  border: 1px dashed var(--line-soft);
  border-radius: 16px;
}

.fivem-page .fivem-empty-state .empty-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.fivem-page .fivem-empty-state h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.fivem-page .fivem-empty-state p {
  color: var(--muted);
  font-size: 14px;
  max-width: 480px;
  margin: 0 auto 20px;
}

/* ============================================================
   PAGINATION STYLES
   ============================================================ */
.fivem-page .pagination-wrap {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.fivem-page .pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  padding: 6px 12px;
  border-radius: 12px;
}

.fivem-page .page-btn {
  padding: 8px 14px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.fivem-page .page-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-soft);
}

.fivem-page .page-btn.active {
  background: var(--lime);
  color: #050505;
  font-weight: 800;
  box-shadow: 0 0 15px rgba(183, 255, 0, 0.3);
}

.fivem-page .page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.fivem-page .page-numbers {
  display: flex;
  gap: 4px;
}