:root {
  --blue: #3b82f6;
  --blue-alpha: rgba(59, 130, 246, 0.1);
  --purple: #d946ef;
  --green: #10b981;
  --gold: #ffd700;
  --bg: #0a0c10;
  --surface: rgba(10, 12, 16, 0.7);
  --text: #e2e8f0;
  --muted: #64748b;
  --border: rgba(255, 255, 255, 0.08);
  --ease-snap: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-expo: cubic-bezier(0.87, 0, 0.13, 1);
  --ease: all 0.4s var(--ease-snap);
  --error: #ff4d4d;
}

/* Scroll Reveal Engine */
.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-stagger {
  transition-delay: calc(var(--delay, 0) * 0.1s);
}

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

@keyframes border-pulse {

  0%,
  100% {
    border-color: var(--blue);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.1);
  }

  50% {
    border-color: var(--purple);
    box-shadow: 0 0 60px rgba(217, 70, 239, 0.15);
  }
}

html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--blue);
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
.logo {
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.accent {
  color: var(--blue);
}

/* ─── Nav ─── */
/* ─── Premium Centered Nav ─── */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  position: fixed;
  width: 100%;
  height: 80px;
  top: 0;
  left: 0;
  transform: none;
  z-index: 1000;
  transition: all 0.4s var(--ease-out-expo);
  background: rgba(10, 12, 16, 0.5);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav.scrolled {
  height: 70px;
  background: rgba(7, 8, 10, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.nav-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  align-items: center;
}

@media (max-width: 992px) {
  .nav-container {
    display: flex;
    justify-content: space-between;
  }

  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: block !important;
  }
}

.logo {
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: -1px;
}

.logo,
a.logo {
  text-decoration: none;
}

.logo .accent {
  color: var(--blue);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 10px 22px;
  border-radius: 100px;
  transition: all 0.3s var(--ease-out-expo);
  position: relative;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: 'Nunito', sans-serif;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-links a.active {
  color: var(--blue);
  background: rgba(59, 130, 246, 0.1);
}

/* Botón de Discord (Recuadro) */
/* Ultra-Premium HUB Button - Rounded */
.nav-launch {
  background: #000;
  color: #fff !important;
  padding: 12px 28px !important;
  border-radius: 50px;
  font-weight: 900 !important;
  font-size: 0.8rem !important;
  letter-spacing: 1px !important;
  text-transform: uppercase;
  border: 1.5px solid #3b82f6;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  width: fit-content;
  margin-left: auto;
  position: relative;
  overflow: hidden;
  font-family: 'Nunito', sans-serif;
  text-decoration: none !important;
}

.nav-launch i {
  font-size: 1.2rem;
  color: #3b82f6;
  transition: all 0.3s ease;
}

.nav-launch:hover {
  transform: translateY(-2px);
  border-color: #60a5fa;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
  background: #050505;
}

.nav-launch:hover i {
  transform: scale(1.1);
  color: #fff;
}

/* Efecto de brillo interno */
.nav-launch::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: 0.5s;
}

.nav-launch:hover::before {
  left: 100%;
}

/* Premium Discord Ghost Button */
.btn-discord-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgba(88, 101, 242, 0.05);
  border: 1px solid rgba(88, 101, 242, 0.3);
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.85rem;
  font-family: 'Nunito', sans-serif;
  transition: all 0.3s var(--ease-out-expo);
}

.btn-discord-ghost:hover {
  background: rgba(88, 101, 242, 0.15);
  border-color: #5865F2;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(88, 101, 242, 0.1);
}

.btn-discord-ghost i {
  font-size: 1.1rem;
  color: #5865F2;
}

.nav-launch::after {
  display: none !important;
}

.nav-login-btn {
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.22), rgba(14, 165, 233, 0.14)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #fff;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.86rem;
  cursor: pointer;
  transition: var(--ease);
  font-family: 'Nunito', sans-serif;
  letter-spacing: 0.8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 28px rgba(59, 130, 246, 0.12);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
}

.nav-login-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.12) 50%, transparent 100%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out-expo);
}

.nav-login-btn i,
.nav-login-btn span {
  position: relative;
  z-index: 1;
}

.nav-login-btn i {
  font-size: 1rem;
}

.nav-login-btn:hover {
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.35), rgba(14, 165, 233, 0.24)),
    rgba(255, 255, 255, 0.07);
  color: #fff;
  border-color: rgba(96, 165, 250, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(59, 130, 246, 0.24);
}

.nav-login-btn:hover::before {
  transform: translateX(120%);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero-mockup-container {
    transform: none !important;
    transition: none !important;
  }
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: var(--ease);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #fff;
  background: none;
  border: none;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(5, 7, 10, 0.98);
  backdrop-filter: blur(20px);
  z-index: 2000;
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 800;
}

.mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ─── Dropdown ─── */
.nav-links .dropdown {
  position: relative;
  display: inline-block;
}

.nav-links .dropdown-menu {
  display: none;
  position: absolute;
  background-color: var(--surface);
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 12px;
  padding: 10px 0;
  border: 1px solid var(--border);
}

.nav-links .dropdown:hover .dropdown-menu {
  display: block;
}

.nav-links .dropdown-menu a {
  color: var(--muted);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 0.9rem;
}

.nav-links .dropdown-menu a:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.nav-links .dropdown-menu a::after {
  display: none;
}

/* ─── Buttons ─── */
.btn-cta {
  background: #fff;
  color: #000;
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--ease);
  border: none;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-cta:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px -5px rgba(59, 130, 246, 0.5);
}

.btn-cta.full {
  width: 100%;
}

.btn-secondary {
  background: transparent;
  color: var(--muted);
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--ease);
  border: 1px solid var(--border);
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-secondary:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 10px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-transform: uppercase;
  font-family: 'Nunito', sans-serif;
  letter-spacing: 1px;
  text-decoration: none;
}

.btn-ghost:hover {
  background: var(--blue);
  color: #000;
  border-color: var(--blue);
}

.btn-ghost.full {
  width: 100%;
  justify-content: center;
}

.btn-patreon {
  background: #FF424D;
  border-color: #FF424D;
  color: #fff;
  box-shadow: 0 5px 15px rgba(255, 66, 77, 0.3);
}

.btn-naked {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.8rem;
  margin-top: 20px;
}

/* ─── Modals ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 16, 0.9);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal {
  background: #0a0c10;
  border: 1px solid var(--border);
  padding: 50px;
  border-radius: 32px;
  width: 90%;
  max-width: 600px;
  position: relative;
  text-align: center;
}

.modal-sm {
  max-width: 450px;
  padding: 60px 40px;
  background: #050505;
  border-color: rgba(255, 255, 255, 0.1);
}

.modal-lg {
  max-width: 900px;
  text-align: left;
  max-height: 85vh;
  overflow-y: auto;
}

.modal-md {
  max-width: 700px;
  text-align: left;
  overflow: hidden;
}

.modal-form {
  max-width: 500px;
  text-align: left;
}

.modal-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
}

.modal-icon.blue {
  background: var(--blue-alpha);
  border: 1px solid var(--blue);
}

.modal-icon.purple {
  background: rgba(217, 70, 239, 0.1);
  border: 1px solid var(--purple);
}

.modal-icon.green {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--green);
}

.modal-header-strip {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
}

.modal-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

.modal-badge {
  font-weight: 800;
  font-size: 0.7rem;
  padding: 5px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal-badge.blue {
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.modal-badge.green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--green);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.modal-legal-body {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
  font-family: 'Nunito', sans-serif;
}

.modal-legal-body h3 {
  color: #fff;
  font-size: 1.2rem;
  margin: 30px 0 10px;
}

.modal-legal-body p {
  margin-bottom: 15px;
}

.modal-legal-body ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 15px;
}

.modal-legal-body ul li {
  margin-bottom: 5px;
}

.modal-legal-body .updated {
  font-style: italic;
  opacity: 0.7;
}

.modal-warning {
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.3);
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 20px;
}

.modal-warning strong {
  color: #f43f5e;
  display: block;
  margin-bottom: 10px;
}

.modal-loading {
  text-align: center;
  padding: 40px;
  color: var(--muted);
}

/* Form inputs */
.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  padding: 15px;
  border-radius: 16px;
  color: #fff;
  font-family: inherit;
  outline: none;
  transition: var(--ease);
  margin: 0;
  text-align: left;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--blue);
}

.field textarea {
  min-height: 100px;
  resize: vertical;
}

.field-hint {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 6px;
}

.inline-help-btn {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.22);
  background: rgba(59, 130, 246, 0.08);
  color: var(--blue);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out-expo), background 0.2s var(--ease-out-expo), border-color 0.2s var(--ease-out-expo);
}

.inline-help-btn:hover {
  transform: translateY(-1px);
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(59, 130, 246, 0.35);
}

.discord-help-modal {
  max-width: 420px;
  padding: 34px 30px 28px;
  text-align: left;
}

.discord-help-steps {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.discord-help-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.discord-help-step-num {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.18);
}

.discord-help-step strong {
  display: block;
  color: #fff;
  font-size: 0.86rem;
  margin-bottom: 2px;
}

.discord-help-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.discord-help-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.14);
  color: #fff;
  font-size: 0.82rem;
  line-height: 1.45;
}

.discord-help-note i {
  color: #ff6b6b;
  margin-top: 2px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.login-input {
  width: 100%;
  background: #0a0a0a;
  border: 1px solid #222;
  padding: 20px;
  border-radius: 25px;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 2px;
  text-align: center;
  outline: none;
  margin-bottom: 20px;
  transition: var(--ease);
}

.login-input:focus {
  border-color: var(--blue);
}

.login-error {
  color: var(--error);
  font-size: 0.85rem;
  display: none;
  margin-bottom: 15px;
}

/* ─── Layout ─── */
section {
  padding: 80px 6%;
  position: relative;
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}

.section-tight {
  padding: 60px 6%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.mb-50 {
  margin-bottom: 50px;
}

.mb-70 {
  margin-bottom: 50px;
}

.eyebrow {
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 4px;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ─── Cards ─── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 40px;
  transition: var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.info-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  padding: 30px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--ease);
}

.info-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--blue);
  transform: translateY(-5px);
}

.info-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.info-card-icon.yellow {
  background: rgba(255, 215, 0, 0.1);
  color: var(--gold);
}

.info-card-icon.red {
  background: rgba(244, 63, 94, 0.1);
  color: #f43f5e;
}

.info-card-icon.discord {
  background: #5865F2;
  color: #fff;
}

.about-block {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 50px;
  border-radius: 40px;
}

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 6%;
  position: relative;
  overflow: hidden;
  background: var(--bg) url('9.png') center / cover fixed;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, 0.85);
  z-index: 0;
}

.hero>* {
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  color: rgba(255, 255, 255, .6);
  font-size: 1.1rem;
  margin: 0 auto 30px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* ─── Hero layout ─── */
.main-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1250px;
  margin: 0 auto;
  padding: 100px 5% 60px;
  text-align: left;
  background: none;
  min-height: 100vh;
  gap: 60px;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  min-width: 320px;
  z-index: 2;
  position: relative;
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -2px;
}

.hero-mockup-wrapper {
  flex: 1.2;
  min-width: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  perspective: 2000px;
}

.hero-glow-aura {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.hero-mockup-container {
  width: 100%;
  max-width: 680px;
  background: rgba(15, 15, 20, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8), -20px 20px 0px 1px rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
  transform: perspective(2000px) rotateY(-25deg) rotateX(10deg) rotateZ(2deg);
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin-bottom: 10px;
  padding-left: 6px;
}

/* ─── Features ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  padding: 30px;
  border-radius: 24px;
  transition: var(--ease);
  display: flex;
  flex-direction: column;
  position: relative;
}

.feature-card.wide {
  grid-column: span 2;
}

.feature-card.hero-feat {
  background: rgba(59, 130, 246, 0.05);
  border-color: rgba(59, 130, 246, 0.2);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 20px -5px rgba(59, 130, 246, 0.1);
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent, rgba(255, 255, 255, 0.05));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

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

.feature-icon {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 12px;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Feature Switcher */
.feature-switcher {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.03);
  padding: 6px;
  border-radius: 100px;
  border: 1px solid var(--border);
  margin-bottom: 40px;
}

.feature-switch-btn {
  padding: 10px 30px;
  border-radius: 100px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--ease);
}

.feature-switch-btn.active {
  background: var(--blue);
  color: #000;
  box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.4);
}

.features-grid-container {
  position: relative;
  min-height: 500px;
}

.feature-group {
  transition: opacity 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px);
}

.feature-group.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/* ─── Pricing ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.tier-card {
  background: rgba(20, 20, 25, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 35px 28px;
  position: relative;
  transition: var(--ease);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-align: center;
}

.tier-card:hover {
  transform: translateY(-8px);
  border-color: var(--blue);
}

.tier-card.featured {
  background: rgba(20, 20, 25, 0.9);
  border-color: var(--blue);
  animation: border-pulse 4s infinite;
}

.tier-card .popular-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--blue);
  color: #000;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 5px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.tier-sep {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tier-price {
  font-size: 3.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -2px;
  line-height: 1;
  margin: 10px 0;
}

.tier-price small {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
}

.tier-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.pill {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
}

.pill.green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--green);
}

.pill.gold {
  background: rgba(255, 215, 0, 0.1);
  color: var(--gold);
}

.tier-features {
  list-style: none;
  flex-grow: 1;
  margin: 20px 0 30px;
}

.tier-features li {
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  text-align: left;
  padding: 8px;
  border-radius: 8px;
  transition: 0.2s;
}

.tier-features li:hover {
  background: rgba(255, 255, 255, 0.03);
  transform: translateX(4px);
}

.tier-features .highlight {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 8px;
}

.tier-features .highlight-gold {
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 8px;
}

/* ─── Steps ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.step-item {
  padding: 10px;
}

.step-circle {
  width: 80px;
  height: 80px;
  background: var(--blue-alpha);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 1px solid var(--blue);
  font-size: 1.5rem;
  color: var(--blue);
  transition: var(--ease);
}

.step-item:hover .step-circle {
  background: rgba(59, 130, 246, 0.2);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
  transform: translateY(-4px);
}

.step-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.step-item p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ─── Accordion / FAQ ─── */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordion-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: 0.3s;
}

.accordion-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.accordion-item.open {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--blue);
}

.accordion-trigger {
  padding: 18px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
  user-select: none;
}

.accordion-arrow {
  font-size: 1.2rem;
  transition: 0.3s;
  color: var(--blue);
}

.accordion-item.open .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 25px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.accordion-item.open .accordion-body {
  padding-bottom: 25px;
}

.faq-label {
  margin: 30px 0 15px;
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

/* ─── Comparison table ─── */
.comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  margin-top: 20px;
}

.comp-table th,
.comp-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.comp-table th {
  color: var(--blue);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.comp-table td:first-child {
  text-align: left;
  color: #fff;
  font-weight: 700;
}

.yes {
  color: var(--green);
  font-weight: 900;
}

.no {
  color: rgba(255, 255, 255, 0.1);
}

/* ─── Partner perks grid ─── */
.perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.perk-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 25px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.perk-card .icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

.perk-card h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.perk-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.partner-note {
  background: rgba(59, 130, 246, 0.05);
  border: 1px dashed var(--blue);
  padding: 25px;
  border-radius: 20px;
  margin-bottom: 30px;
}

.partner-note h4 {
  color: var(--blue);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

/* ─── Beta / Staff modals ─── */
.radio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.radio-card input {
  display: none;
}

.radio-card .card-face {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 15px;
  border-radius: 16px;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.radio-card input:checked+.card-face {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--green);
  color: #fff;
}

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

.checkbox-tag input {
  display: none;
}

.checkbox-tag span {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s;
  font-size: 0.8rem;
  color: var(--muted);
  display: inline-block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.checkbox-tag input:checked+span {
  background: var(--green);
  color: #000;
  border-color: var(--green);
}

/* ─── Setup modal ─── */
.registration-steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: left;
  max-width: 500px;
  margin: 0 auto;
}

.registration-step-card {
  background: rgba(59, 130, 246, 0.03);
  padding: 25px;
  border-radius: 20px;
  border: 1px solid var(--blue-alpha);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.step-number {
  background: var(--blue);
  color: #000;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.75rem;
}

.step-number.inactive {
  background: var(--muted);
}

.step-title {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
}

.step-text {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.btn-discord-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #5865F2;
  color: #fff;
  border-radius: 100px;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
  transition: 0.3s;
  box-shadow: 0 10px 20px rgba(88, 101, 242, 0.1);
}

.btn-discord-action:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.registration-form-container {
  width: 100%;
}

/* ─── Progress ─── */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-left-color: var(--blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

.progress-bar-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-top: 20px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--blue);
  transition: width 0.5s;
  width: 0;
}

/* ─── Footer ─── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 70px 6% 40px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 25px;
}

.footer-link {
  display: block;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 12px;
  transition: var(--ease);
}

.footer-link:hover {
  color: var(--blue);
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom p {
  color: var(--muted);
  font-size: 0.8rem;
  margin: 0;
}

.footer-bottom .legal-links {
  display: flex;
  gap: 25px;
}

.footer-disclaimer {
  color: var(--muted);
  font-size: 0.7rem;
  opacity: 0.4;
}

/* ─── Maintenance ─── */
.maintenance-overlay {
  display: none !important;
  position: fixed;
  inset: 0;
  background: #020406;
  z-index: 99999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.maintenance-overlay.active {
  display: flex !important;
  opacity: 1;
  pointer-events: all;
}

/* ─── Status badge ─── */
.status-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 20px;
}

.status-badge.open {
  background: rgba(16, 185, 129, 0.1);
  color: var(--green);
}

.status-badge.closed {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .nav-links {
    display: none !important;
  }

  .mobile-toggle {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card.wide {
    grid-column: span 1;
  }

  .two-col {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .main-hero {
    padding: 100px 5% 60px;
    flex-direction: column;
    min-height: unset;
  }

  .hero-mockup-wrapper {
    min-width: unset;
    width: 100%;
  }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  section {
    padding: 50px 5%;
  }

  h1 {
    font-size: 2.5rem !important;
  }

  h2 {
    font-size: 2rem !important;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .field-row {
    grid-template-columns: 1fr;
  }
}
