/**
 * RAVEX EXTERNAL — Storefront & Interactive Simulator Stylesheet
 */

/* ==========================================================================
   1. Base & Header Navigation
   ========================================================================== */

.store {
  background: var(--bg-obsidian-deep);
  min-height: 100vh;
  position: relative;
}

/* Background Cyber Grid Effect */
.store::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 78% 55% at 50% 0%, #000 12%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 78% 55% at 50% 0%, #000 12%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.store-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 9, 11, 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 28px;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-emblem {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 10px var(--accent-glow));
}

.brand-title-group {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-subtitle {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  position: relative;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 150ms var(--ease-out);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: #fafafa;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 150ms var(--ease-out);
}

.nav-links a:hover {
  color: #fafafa;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  background: #fafafa;
  color: #09090b;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 150ms var(--ease-out), background 150ms var(--ease-out);
}

.btn-nav-cta:hover {
  background: #e4e4e7;
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #121215;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
}

.btn-admin-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fafafa;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-admin-link:hover {
  background: #27272a;
  color: #fafafa;
  border-color: rgba(255, 255, 255, 0.22);
}

/* Mobile Hamburger Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: #121215;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  transition: all 0.2s ease;
}

.mobile-menu-btn:hover {
  border-color: var(--neon-purple);
}

.hamburger-bar {
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.mobile-menu-btn.open .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.open .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.open .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(9, 9, 11, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.8);
  padding: 20px;
  flex-direction: column;
  gap: 16px;
  z-index: 100;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.mobile-nav-drawer.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav-link {
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: #121215;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: block;
  transition: all 0.2s ease;
}

.mobile-nav-link:hover {
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

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

.mobile-license-link {
  width: 100%;
  justify-content: center;
}

/* ==========================================================================
   2. Hero Section
   ========================================================================== */

.hero-section {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 48px auto 32px auto;
  padding: 0 24px;
  text-align: center;
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  column-gap: 48px;
  row-gap: 20px;
  align-items: center;
  text-align: left;
  margin-top: 12px;
  padding-top: 8px;
}

.hero-copy {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.hero-badge-container {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  background: rgba(18, 18, 21, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  margin-bottom: 24px;
  max-width: 100%;
}

.hero-stage .hero-badge-container {
  justify-content: flex-start;
  margin-bottom: 0;
}

.hero-version {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
}

.hero-headline {
  font-size: clamp(36px, 3.7vw, 50px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--text-primary);
  margin-bottom: 0;
}

.hero-headline .text-gradient {
  background: linear-gradient(105deg, #fafafa 0%, #c7d2fe 46%, #818cf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 16.5px;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 32px auto;
  line-height: 1.65;
}

.hero-stage .hero-subtitle {
  margin: 0;
}

.hero-pricing-card {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(180deg, rgba(24, 24, 27, 0.9) 0%, rgba(18, 18, 21, 0.96) 100%);
  border: 1px solid rgba(129, 140, 248, 0.38);
  border-radius: 16px;
  padding: 26px 28px 22px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 24px 60px rgba(0, 0, 0, 0.4);
  margin-bottom: 32px;
  overflow: hidden;
}

.hero-pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #818cf8 50%, transparent);
}

.hero-stage .hero-pricing-card {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  width: 100%;
  margin-bottom: 0;
}

.price-tag {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fafafa;
  text-shadow: none;
  margin: 8px 0;
}

.price-label {
  font-size: 13px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-plan-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.plan-pill-btn {
  background: #121215;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  padding: 7px 15px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.plan-pill-btn:hover {
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.plan-pill-btn.active {
  background: #fafafa;
  border-color: #fafafa;
  color: #09090b;
  box-shadow: 0 2px 12px rgba(255, 255, 255, 0.15);
}

/* 4-Plan Pricing Grid */
.pricing-plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
  text-align: left;
}

.pricing-plan-card {
  position: relative;
  background: linear-gradient(180deg, rgba(24, 24, 27, 0.75) 0%, rgba(18, 18, 21, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 150ms var(--ease-out), border-color 150ms var(--ease-out), box-shadow 150ms var(--ease-out);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.pricing-plan-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.pricing-plan-card.popular-plan {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
}

.pricing-plan-card.lifetime-plan {
  border-color: rgba(34, 197, 94, 0.45);
  box-shadow: 0 8px 32px rgba(34, 197, 94, 0.12);
  background: linear-gradient(180deg, #121215 0%, #0d1512 100%);
}

.plan-popular-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: #27272a;
  color: #fafafa;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 5px 10px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-popular-ribbon.ribbon-emerald {
  background: linear-gradient(90deg, #059669, #10b981);
  color: #ffffff;
}

.pricing-plan-card.popular-plan .plan-card-top,
.pricing-plan-card.lifetime-plan .plan-card-top {
  margin-top: 14px;
}

.plan-card-top {
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.plan-card-title {
  font-size: 21px;
  font-weight: 800;
  color: #ffffff;
  margin-top: 12px;
}

.plan-spoofer {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: #4ade80;
}

.plan-card-ar {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-purple-light);
  margin-top: 4px;
}

.plan-price-tag {
  font-size: 32px;
  margin: 12px 0 6px 0;
}

.plan-card-sub {
  font-size: 12px;
  color: var(--text-secondary);
}

.pricing-plan-card .btn-purchase,
.pricing-plan-card .btn-secondary,
.pricing-plan-card .btn-plan-buy {
  white-space: nowrap;
  font-size: 13px;
  padding: 12px 12px;
}

/* Checkout Modal Plan Selector */
.checkout-plan-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.checkout-plan-option {
  background: #121215;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-secondary);
}

.checkout-plan-option:hover {
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.checkout-plan-option.active {
  background: #18181b;
  border-color: #fafafa;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.cp-name {
  font-size: 12px;
  font-weight: 700;
}

.cp-price {
  font-size: 13px;
  font-weight: 900;
  color: var(--status-success-green);
}

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

@media (max-width: 640px) {
  .pricing-plans-grid {
    grid-template-columns: 1fr;
  }
  .checkout-plan-selector {
    grid-template-columns: 1fr;
  }
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.hero-cta-group .btn-secondary {
  width: 100%;
}

.btn-purchase {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fafafa;
  color: #09090b;
  border: 1px solid #fafafa;
  padding: 13px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
  transition: transform 150ms var(--ease-out), background 150ms var(--ease-out), box-shadow 150ms var(--ease-out);
  text-decoration: none;
  width: 100%;
}

.btn-purchase:hover {
  background: #e4e4e7;
  border-color: #e4e4e7;
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #121215;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: #18181b;
  color: #ffffff;
}

.compatibility-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
}

.hero-stage .compatibility-badges {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: stretch;
  margin-top: 4px;
  gap: 8px;
}

.compat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  background: rgba(18, 18, 21, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #d4d4d8;
  white-space: nowrap;
}

/* ==========================================================================
   3. Interactive FiveM In-Game Menu Simulator (#ravex-simulator)
   ========================================================================== */

.simulator-section {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 8px auto 56px;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 18px;
}

.section-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #a5b4fc;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.section-lead {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 10px auto 0 auto;
  font-size: 15px;
  line-height: 1.65;
}

.section-lead-wide {
  max-width: 640px;
}

.pricing-section {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 72px auto 24px auto;
  padding: 0 24px;
  text-align: center;
}

.faq-section {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 96px auto 0;
  padding: 0 24px;
  scroll-margin-top: 88px;
}

.faq-section .section-title {
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 560;
  letter-spacing: -0.045em;
}

.faq-section .section-lead a {
  color: #fafafa;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  margin-top: 36px;
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 8px 0;
  cursor: pointer;
  list-style: none;
  color: #fafafa;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "";
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border: 0;
  transform: none;
  background:
    linear-gradient(#d4d4d8, #d4d4d8) center / 14px 1.5px no-repeat,
    linear-gradient(#d4d4d8, #d4d4d8) center / 1.5px 14px no-repeat;
}

.faq-item[open] summary::after {
  background: linear-gradient(#d4d4d8, #d4d4d8) center / 14px 1.5px no-repeat;
  transform: none;
}

.faq-answer {
  max-width: 62ch;
  padding: 0 36px 22px 0;
}

.faq-item p,
.faq-item li {
  margin: 0;
  color: #8d8d93;
  font-size: 15px;
  line-height: 1.7;
}

.faq-item code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #e4e4e7;
}

/* Simulator Window Wrapper */
.simulator-window {
  background: var(--bg-simulator-menu);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(129, 140, 248, 0.45), 0 30px 80px -24px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-width: 100%;
}

.simulator-body {
  min-width: 0;
}

.sim-sidebar,
.sim-content,
.sim-panels-grid {
  min-width: 0;
}

/* Simulator Title Bar */
.simulator-titlebar {
  background: #0c0c0e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sim-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sim-title-text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}

.sim-status-pill {
  padding: 2px 8px;
  font-size: 11px;
}

.sim-window-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #27272a;
}

.window-dot.close { background: #ef4444; }
.window-dot.min { background: #f59e0b; }
.window-dot.max { background: #10b981; }

/* Simulator Body Layout */
.simulator-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 440px;
  background: #0e0e11;
}

/* Sidebar */
.sim-sidebar {
  background: var(--bg-simulator-sidebar);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 10px;
}

.sim-category-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
}

.sim-nav-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.sim-nav-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.sim-nav-btn.active {
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.sim-user-card {
  background: #121215;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.sim-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fafafa;
}

.sim-user-info {
  display: flex;
  flex-direction: column;
}

.sim-username {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
}

.sim-user-expiry {
  font-size: 11px;
  font-weight: 700;
  color: var(--status-success-green);
}

/* Simulator Main Area */
.sim-content {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Sub-tabs bar */
.sim-subtabs-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: #121215;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sim-subtab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  background: #0c0c0e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sim-subtab:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.22);
}

.sim-subtab.active {
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* Panels View Container */
.sim-panels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 340px;
  gap: 16px;
  padding: 20px;
  flex: 1;
  overflow-y: auto;
}

/* Simulator Column Panel */
.sim-panel {
  background: #121215;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
}

.panel-bar-accent {
  width: 3px;
  height: 16px;
  background: #6366f1;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.55);
}

.panel-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.sim-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.group-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #a5b4fc;
  text-transform: uppercase;
}

.group-helper {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: -6px;
  margin-bottom: 4px;
}

/* Simulator Toggle Row */
.sim-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
}

.toggle-label {
  font-size: 13px;
  color: var(--text-main);
  font-weight: 500;
}

/* Native Switch Component */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #18181b;
  border: 1px solid #27272a;
  transition: 0.25s;
  border-radius: 22px;
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: #71717a;
  transition: 0.25s;
  border-radius: 50%;
}

.switch input:checked + .switch-slider {
  background-color: #fafafa;
  border-color: #fafafa;
  box-shadow: none;
}

.switch input:checked + .switch-slider:before {
  transform: translateX(18px);
  background-color: #09090b;
}

/* ==========================================================================
   4. Live Simulator ESP Preview Canvas
   ========================================================================== */

.sim-preview-viewport {
  background: #09090b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 380px;
}

.viewport-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(9, 9, 11, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  z-index: 10;
}

.viewport-radar-corner {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1px solid rgba(99, 102, 241, 0.45);
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, rgba(9, 9, 11, 0.92) 70%);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.viewport-radar-corner.visible {
  display: flex;
}

.radar-blip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
}

.canvas-container {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ESP Target Overlay Container */
.esp-target {
  position: relative;
  width: 140px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 2D Bounding Box */
.esp-bounding-box {
  position: absolute;
  inset: 0;
  border: 1.5px solid #818cf8;
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.45), inset 0 0 8px rgba(99, 102, 241, 0.12);
  display: none;
  transition: all 0.2s ease;
}

.esp-bounding-box.visible {
  display: block;
}

/* Vitals Bars */
.esp-health-bar {
  position: absolute;
  left: -9px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 2px;
  display: none;
}

.esp-health-fill {
  width: 100%;
  height: 80%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  border-radius: 2px;
}

.esp-health-bar.visible { display: block; }

.esp-armor-bar {
  position: absolute;
  left: -16px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 2px;
  display: none;
}

.esp-armor-fill {
  width: 100%;
  height: 60%;
  background: #3b82f6;
  box-shadow: 0 0 6px #3b82f6;
  border-radius: 2px;
}

.esp-armor-bar.visible { display: block; }

/* Head Circle */
.esp-head-circle {
  position: absolute;
  top: 15px;
  width: 28px;
  height: 28px;
  border: 1.5px solid #a5b4fc;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(165, 180, 252, 0.7);
  display: none;
}

.esp-head-circle.visible { display: block; }

/* Skeleton Lines SVG */
.esp-skeleton-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: none;
}

.esp-skeleton-svg.visible { display: block; }

/* Info Tags */
.esp-tag-name {
  position: absolute;
  top: -24px;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
  display: none;
}

.esp-tag-name.visible { display: block; }

.esp-tag-weapon {
  position: absolute;
  bottom: -22px;
  font-size: 10px;
  font-weight: 600;
  color: #a5b4fc;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
  display: none;
}

.esp-tag-weapon.visible { display: block; }

/* Snap Lines */
.esp-snapline {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 2px;
  height: 80px;
  background: linear-gradient(to top, rgba(129, 140, 248, 0.85), transparent);
  transform: translateX(-50%);
  display: none;
}

.esp-snapline.visible { display: block; }

/* Chams Silhouette */
.mannequin-silhouette {
  width: 80px;
  height: 190px;
  opacity: 0.8;
  transition: all 0.25s ease;
}

.mannequin-silhouette.chams-active {
  filter: drop-shadow(0 0 12px #6366f1) drop-shadow(0 0 22px #818cf8);
  fill: #6366f1 !important;
}

/* Interactive Aimbot & Mode Overlays */
.esp-fov-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 170px;
  height: 170px;
  margin-top: -85px;
  margin-left: -85px;
  border: 1px dashed rgba(129, 140, 248, 0.75);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.22), inset 0 0 12px rgba(99, 102, 241, 0.08);
  pointer-events: none;
  display: none;
  transition: all 0.3s ease;
}

.esp-fov-circle.visible {
  display: block;
}

.esp-aim-crosshair {
  position: absolute;
  top: 29px;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  margin-top: -7px;
  pointer-events: none;
  display: none;
}

.esp-aim-crosshair:before, .esp-aim-crosshair:after {
  content: "";
  position: absolute;
  background: #f43f5e;
  box-shadow: 0 0 6px #f43f5e;
}

.esp-aim-crosshair:before {
  top: 0;
  left: 6px;
  width: 2px;
  height: 14px;
}

.esp-aim-crosshair:after {
  top: 6px;
  left: 0;
  width: 14px;
  height: 2px;
}

.esp-aim-crosshair.visible {
  display: block;
}

.sim-preview-badge {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(9, 9, 11, 0.9);
  border: 1px solid rgba(165, 180, 252, 0.45);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  color: #fff;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.28);
  z-index: 10;
  transition: all 0.2s ease;
}

.sim-preview-badge.hidden {
  display: none;
}

.sim-preview-badge.veh-badge {
  border-color: #38bdf8;
  color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

.sim-preview-badge.local-badge {
  border-color: #10b981;
  color: #10b981;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

/* ==========================================================================
   5. Feature Matrix Showcase
   ========================================================================== */

.features-section {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 80px auto;
  padding: 0 20px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.feature-card {
  background: linear-gradient(180deg, rgba(24, 24, 27, 0.75) 0%, rgba(18, 18, 21, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 150ms var(--ease-out), border-color 150ms var(--ease-out), box-shadow 150ms var(--ease-out);
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateY(-4px);
}

.feature-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.18), rgba(24, 24, 27, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #e0e7ff;
  margin-bottom: 18px;
}

.feature-card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.feature-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.feature-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-bullet-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-main);
}

.feature-bullet-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #818cf8;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
  flex-shrink: 0;
}

/* ==========================================================================
   6. System Compatibility Grid
   ========================================================================== */

.compat-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.compat-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

@media (max-width: 768px) {
  .compat-scroll {
    max-width: calc(100vw - 40px);
  }
}

.compat-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.compat-table th,
.compat-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.compat-table th {
  background: #18181b;
  color: #71717a;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.compat-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}

.compat-table td {
  font-size: 14px;
  color: var(--text-secondary);
}

.compat-table tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   7. Checkout Modal & PayPal Container
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 9, 11, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.checkout-card {
  background: linear-gradient(180deg, rgba(24, 24, 27, 0.96) 0%, rgba(12, 12, 14, 0.98) 100%);
  border: 1px solid rgba(129, 140, 248, 0.32);
  border-radius: 18px;
  padding: 28px 24px 22px;
  max-width: 440px;
  width: 100%;
  max-height: calc(100vh - 40px);
  overflow: auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checkout-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #818cf8 50%, transparent);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #121215;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #a1a1aa;
  cursor: pointer;
  transition: border-color 150ms var(--ease-out), color 150ms var(--ease-out);
}

.modal-close-btn:hover {
  color: #fafafa;
  border-color: rgba(255, 255, 255, 0.28);
}

.checkout-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
}

.checkout-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.checkout-plan-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.checkout-plan-option {
  background: #0c0c0e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 12px;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 150ms var(--ease-out), background 150ms var(--ease-out);
  color: var(--text-secondary);
}

.checkout-plan-option:hover {
  border-color: rgba(165, 180, 252, 0.45);
  color: #ffffff;
}

.checkout-plan-option.active {
  background: rgba(99, 102, 241, 0.12);
  border-color: #818cf8;
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(129, 140, 248, 0.35);
}

.cp-name {
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}

.cp-price {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 600;
  color: #e4e4e7;
}

.checkout-plan-option.active .cp-price {
  color: #c7d2fe;
}

.checkout-summary-box {
  background: #09090b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.checkout-product-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.checkout-plan-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
}

.checkout-amount {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fafafa;
  white-space: nowrap;
}

.field-hint {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.form-input {
  background: #09090b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 13px 14px;
  font-size: 14px;
  color: #ffffff;
  outline: none;
  transition: border-color 150ms var(--ease-out), box-shadow 150ms var(--ease-out);
}

.form-input:focus {
  border-color: #818cf8;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.22);
}

.checkout-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 13px;
  color: #fca5a5;
  display: none;
}

.checkout-error.visible {
  display: block;
}

/* PayPal Button Container */
#paypal-button-container {
  min-height: 48px;
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2px;
}

.paypal-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: var(--neon-purple);
  font-size: 14px;
  gap: 10px;
}

.spinner-icon {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: #fafafa;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Checkout Capture Progress Overlay */
.capture-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(18, 15, 29, 0.94);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 50;
  padding: 30px;
  text-align: center;
}

.capture-overlay.hidden {
  display: none;
}

.capture-status-text {
  font-size: 14px;
  font-weight: 600;
  color: #e4e4e7;
  max-width: 280px;
  line-height: 1.5;
}

/* ==========================================================================
   8. Order Confirmation Modal
   ========================================================================== */

.confirmation-card {
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 540px;
  width: 100%;
  box-shadow: 0 0 60px var(--accent-glow-strong);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.success-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  border: 2px solid var(--status-success-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 32px;
  color: var(--status-success-green);
  box-shadow: 0 0 25px rgba(34, 197, 94, 0.4);
}

.license-key-box {
  background: #09090b;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.license-key-text {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #ffffff;
  user-select: all;
  overflow-x: auto;
}

.esp-dist {
  color: #a5b4fc;
  font-weight: 700;
}

.btn-copy-key {
  background: #fafafa;
  color: #09090b;
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-copy-key:hover {
  background: #e4e4e7;
}

.instructions-card {
  background: #121215;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: left;
}

.instructions-card h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.instructions-card ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

/* Toast Feedback */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65);
  font-size: 14px;
  font-weight: 600;
  display: none;
  align-items: center;
  gap: 10px;
  z-index: 2000;
}

.toast-notice.show {
  display: flex;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   9. Footer
   ========================================================================== */

.store-footer {
  border-top: 1px solid var(--border-subtle);
  background: #09090b;
  padding: 40px 20px 30px 20px;
  margin-top: 100px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.footer-disclaimer {
  font-size: 12px;
  color: var(--text-dim);
  max-width: 680px;
  line-height: 1.6;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
}

.footer-copy a {
  color: #a1a1aa;
  font-weight: 600;
  text-decoration: none;
}

.footer-copy a:hover { color: #fafafa; }

.field-hint a {
  color: #c7d2fe;
  text-decoration: none;
}

.field-hint a:hover { color: #fafafa; }

.legal-page {
  max-width: 760px;
  margin: 36px auto 72px;
  padding: 0 24px;
}

.legal-kicker {
  margin: 0 0 8px;
  color: #a5b4fc;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-page h1 {
  margin: 0 0 8px;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.03em;
}

.legal-updated {
  margin: 0 0 28px;
  color: #71717a;
  font-size: 13px;
}

.legal-page h2 {
  margin: 28px 0 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.legal-page p,
.legal-page li {
  color: #a1a1aa;
  font-size: 15px;
  line-height: 1.7;
}

.legal-page ul {
  margin: 8px 0 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ==========================================================================
   10. Snapshot Metrics
   ========================================================================== */

.metrics-band {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 12px auto 80px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(24, 24, 27, 0.55) 0%, rgba(18, 18, 21, 0.8) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.metric:last-child {
  border-right: none;
}

.metric-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #71717a;
}

.metric-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fafafa;
}

.metric-label {
  font-size: 12px;
  color: #a1a1aa;
}

/* ==========================================================================
   11. Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .sim-panels-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sim-preview-viewport {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .nav-links {
    display: none;
  }
  .header-actions {
    display: flex;
  }
  .header-actions > :not(.discord-menu) {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .simulator-body {
    grid-template-columns: 1fr;
  }
  .sim-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .sim-title-group {
    flex: 1;
    min-width: 0;
    flex-wrap: wrap;
  }
  .sim-title-text {
    flex: 1 1 160px;
    min-width: 0;
  }
  .compat-table {
    min-width: 560px;
  }
  .sim-category-list {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 6px;
  }
  .sim-panels-grid {
    grid-template-columns: 1fr;
  }
  .sim-preview-viewport {
    grid-column: span 1;
  }
  .hero-stage {
    grid-template-columns: 1fr;
    text-align: center;
    row-gap: 16px;
  }
  .hero-copy,
  .hero-stage .hero-pricing-card,
  .hero-stage .compatibility-badges {
    grid-column: 1;
    grid-row: auto;
    justify-self: stretch;
  }
  .hero-copy {
    align-items: center;
    text-align: center;
  }
  .hero-stage .hero-badge-container {
    justify-content: center;
  }
  .hero-stage .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-stage .compatibility-badges {
    grid-template-columns: 1fr;
  }
  .compat-pill {
    white-space: normal;
  }
  .metrics-band {
    grid-template-columns: 1fr 1fr;
  }
  .metric:nth-child(2) {
    border-right: none;
  }
  .metric:nth-child(1),
  .metric:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: clamp(24px, 6.5vw, 36px);
    line-height: 1.25;
  }
  .brand-subtitle {
    display: none;
  }
  .license-key-box {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .btn-copy-key {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .metrics-band {
    grid-template-columns: 1fr;
  }
  .metric {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .metric:last-child {
    border-bottom: none;
  }
}

.trial-link {
  display: inline-flex;
  margin-top: 4px;
  color: #c7d2fe;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.trial-link:hover { color: #fafafa; }

.discord-menu { position: relative; }
.discord-icon-btn {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #121215;
  color: #d4d4d8;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
}
.discord-icon-btn svg { width: 24px; height: 24px; }
.discord-icon-btn img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.discord-icon-btn:hover {
  color: #fff;
  border-color: #818cf8;
  background: #5865f2;
}
.discord-icon-btn.signed-in,
.discord-icon-btn.signed-in:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: #121215;
  padding: 0;
}
.discord-icon-btn.signed-in svg { display: none; }
.discord-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #121215;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.discord-menu-name {
  margin: 4px 8px 6px;
  font-size: 12px;
  color: #a1a1aa;
}
.discord-menu-item {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  text-decoration: none;
  color: #fafafa;
  background: transparent;
  border: 0;
  border-radius: 8px;
  padding: 10px 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.discord-menu-item:hover { background: rgba(255, 255, 255, 0.06); }

[hidden] { display: none !important; }

.dash-main {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 28px auto 64px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dash-title { font-size: 28px; letter-spacing: -0.03em; margin: 4px 0 8px; }
.dash-lead { margin: 0 0 18px; text-align: left; }

.dash-card {
  background: linear-gradient(180deg, rgba(24, 24, 27, 0.75) 0%, rgba(18, 18, 21, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

#licenses .dash-card-title { margin-bottom: 0; }
.license-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
#download-loader { width: auto; min-height: 40px; padding: 0 16px; text-decoration: none; }
.dash-copy, .dash-reset-list { color: var(--text-secondary); font-size: 14px; }
.dash-reset-list { margin: 8px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.dash-count { font-family: var(--font-mono); font-size: 20px; margin: 12px 0; }
.dash-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 16px; }
.dash-account { display: flex; align-items: center; gap: 14px; }
#account-panel,
#licenses-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dash-switch {
  display: flex;
  gap: 8px;
}
.dash-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #121215;
  color: #e4e4e7;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.dash-switch a.active {
  background: #fafafa;
  color: #09090b;
  border-color: #fafafa;
}
.dash-account img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-discord {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  background: #5865f2;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.dash-alert {
  border: 1px solid rgba(129, 140, 248, 0.4);
  background: rgba(99, 102, 241, 0.12);
  color: #e0e7ff;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
}

.dash-table-wrap { overflow-x: auto; }
.dash-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.dash-table th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #71717a;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.dash-table td {
  padding: 12px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  vertical-align: middle;
}
.dash-table td:last-child { white-space: nowrap; }
.dash-reset-cancel { margin-left: 6px; }
.dash-when {
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  direction: ltr;
  unicode-bidi: isolate;
}

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

/* Storefront look: centered product page, black canvas, white type. */
.store {
  background: #050506;
  color: #f5f5f5;
}
.store::before {
  background-image: radial-gradient(ellipse 70% 42% at 50% -8%, rgba(255, 255, 255, 0.07), transparent 58%);
  background-size: auto;
  mask-image: none;
  -webkit-mask-image: none;
}
.store-header {
  background: rgba(5, 5, 6, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 32px;
}
.header-container { max-width: 1120px; }
.brand-emblem { width: 28px; height: 28px; filter: none; }
.brand-name { font-size: 15px; font-weight: 700; letter-spacing: 0.12em; }
.nav-links { gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 500; color: #a1a1aa; }
.nav-links a::after { display: none; }
.btn-nav-cta {
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 650;
}
.header-quiet {
  color: #71717a;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.header-quiet:hover { color: #fafafa; }
.discord-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: transparent;
}
.discord-icon-btn img { width: 40px; height: 40px; border-radius: 999px; }

.hero-section.hero-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 880px;
  margin: 88px auto 20px;
  padding: 0 24px;
  gap: 22px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  grid-column: auto;
}
.hero-stage .hero-badge-container,
.hero-badge-container {
  justify-content: center;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  gap: 8px;
}
.hero-headline {
  font-size: clamp(52px, 7.4vw, 84px);
  font-weight: 560;
  letter-spacing: -0.055em;
  line-height: 0.96;
  max-width: 14ch;
}
.hero-headline .text-gradient {
  background: none;
  -webkit-text-fill-color: #fafafa;
  color: #fafafa;
}
.hero-stage .hero-subtitle,
.hero-subtitle {
  max-width: 520px;
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: #a1a1aa;
}
.hero-stage .hero-pricing-card,
.hero-pricing-card {
  grid-column: auto;
  grid-row: auto;
  width: min(100%, 560px);
  margin: 8px 0 0;
  padding: 22px 22px 18px;
  background: #0c0c0e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  box-shadow: none;
}
.hero-pricing-card::before { display: none; }
.price-tag { font-family: Inter, sans-serif; font-size: 44px; font-weight: 600; }
.plan-price-tag {
  font-size: 32px;
  line-height: 1;
  white-space: nowrap;
}
.price-currency {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-left: 6px;
  color: #a1a1aa;
  vertical-align: 7px;
}
.plan-feature-list li {
  align-items: flex-start;
  line-height: 1.35;
}
.plan-feature-list li::before {
  margin-top: 6px;
}
.price-label { letter-spacing: 0.04em; text-transform: none; color: #71717a; }
.plan-pill-btn {
  border-radius: 999px;
  background: transparent;
  padding: 7px 12px;
}
.plan-pill-btn.active {
  background: #fafafa;
  color: #09090b;
  border-color: #fafafa;
}
.hero-cta-group { width: 100%; }
.hero-cta-group .btn-purchase,
.btn-purchase {
  width: 100%;
  min-height: 46px;
  border-radius: 999px;
  background: #fafafa;
  color: #09090b;
  border: 0;
  font-weight: 650;
}
.hero-cta-group .btn-secondary,
.btn-secondary {
  width: 100%;
  border-radius: 999px;
  background: transparent;
  color: #fafafa;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-next {
  margin: 12px 0 0;
  color: #71717a;
  font-size: 13px;
}
.hero-next code { font-family: var(--font-mono); color: #e4e4e7; font-size: 12px; }
.hero-stage .compatibility-badges,
.compatibility-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 0;
}
.compat-pill {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 6px 12px;
  color: #d4d4d8;
  font-size: 12px;
}

.steps-section {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 72px auto 0;
  padding: 0 24px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.step-card {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0c0c0e;
  text-align: left;
}
.step-index {
  display: block;
  margin-bottom: 18px;
  color: #71717a;
  font-size: 13px;
  letter-spacing: 0.08em;
}
.step-card h3 { margin: 0 0 8px; font-size: 18px; }
.step-card p { margin: 0; color: #a1a1aa; font-size: 14px; line-height: 1.6; }
.step-card code { font-family: var(--font-mono); color: #e4e4e7; font-size: 12px; }

.section-header { text-align: center; }
.section-tag { color: #71717a; letter-spacing: 0.08em; }
.feature-card,
.pricing-plan-card,
.simulator-window {
  background: #0c0c0e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}
.feature-card:hover,
.pricing-plan-card:hover { transform: none; box-shadow: none; border-color: rgba(255, 255, 255, 0.2); }
.pricing-plan-card.lifetime-plan,
.pricing-plan-card.popular-plan {
  border-color: rgba(255, 255, 255, 0.45);
  background: #101012;
}
.feature-icon-wrapper {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.1);
  color: #fafafa;
}

.reseller-section {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 28px auto 0;
  padding: 0 24px;
}
.reseller-card {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 28px;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0c0c0e;
  text-align: left;
}
.reseller-kicker {
  margin: 0 0 8px;
  color: #71717a;
  font-size: 13px;
}
.reseller-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.045em;
}
.reseller-copy p { margin: 0 0 16px; color: #a1a1aa; line-height: 1.6; }
.reseller-copy ul {
  margin: 0 0 18px;
  padding-left: 18px;
  color: #d4d4d8;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.reseller-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
  color: #fafafa;
  font-size: 14px;
}
.reseller-check input { margin-top: 3px; }
#reseller-buy { width: auto; min-width: 240px; }
#reseller-buy:disabled { opacity: 0.4; cursor: not-allowed; }
.reseller-ask { margin-top: 14px; font-size: 14px; }
.reseller-ask a { color: #fafafa; text-decoration: underline; text-underline-offset: 3px; }
.reseller-ask a:hover { color: #ffffff; }
.redeem-form {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.redeem-form .form-input {
  flex: 1 1 240px;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #09090b;
  color: #fafafa;
  padding: 0 14px;
  font-family: var(--font-mono);
  font-size: 13px;
}
#redeem-submit { width: auto; min-width: 140px; }
.reseller-inventory {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px;
  background: #08080a;
}
.reseller-inventory p { margin: 0; color: #71717a; font-size: 13px; }
.reseller-inventory strong {
  display: block;
  margin: 8px 0 18px;
  font-size: 28px;
  letter-spacing: -0.04em;
}
.reseller-inventory ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.reseller-inventory li { display: flex; align-items: baseline; gap: 12px; font-size: 16px; }
.reseller-inventory b { font-size: 28px; font-weight: 600; min-width: 36px; }
@media (max-width: 800px) {
  .reseller-card { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero-section.hero-stage {
    display: flex;
    text-align: center;
  }
  .hero-stage .hero-pricing-card,
  .hero-stage .compatibility-badges,
  .hero-copy { grid-column: auto; }
}

.simulator-window {
  background: #12101c;
  border: 1px solid rgba(139, 124, 255, 0.28);
  border-radius: 18px;
}
.simulator-titlebar { background: #161322; border-bottom: 1px solid rgba(139, 124, 255, 0.2); }
.sim-search {
  width: calc(100% - 16px);
  margin: 8px;
  min-height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(139, 124, 255, 0.25);
  background: #1b1728;
  color: #f4f4f5;
  padding: 0 12px;
}
.sim-sidebar { background: #14111f; border-right: 1px solid rgba(139, 124, 255, 0.18); }
.sim-nav-btn {
  border-radius: 10px;
  color: #c4b5fd;
}
.sim-nav-btn.active {
  background: #2a2148;
  color: #fff;
  box-shadow: inset 3px 0 0 #8b7cff;
}
.sim-subtabs-bar { background: #161322; border-bottom: 1px solid rgba(139, 124, 255, 0.18); }
.sim-subtab.active { color: #fff; box-shadow: inset 0 -2px 0 #8b7cff; }
.sim-panel { background: #17141f; border: 1px solid rgba(139, 124, 255, 0.2); }
.panel-bar-accent { background: #8b7cff; }
.sim-keycap, .sim-field b {
  border: 1px solid rgba(139, 124, 255, 0.35);
  border-radius: 8px;
  padding: 4px 8px;
  color: #e9e4ff;
  font-size: 12px;
}
.sim-field { display: flex; justify-content: space-between; align-items: center; margin: 8px 0; color: #c4b5fd; font-size: 13px; }
.sim-label { display: block; margin: 10px 0 6px; color: #c4b5fd; font-size: 12px; }
.sim-select, .sim-lua {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(139, 124, 255, 0.3);
  background: #100e18;
  color: #f4f4f5;
  padding: 8px 10px;
}
.sim-lua { min-height: 180px; font-family: var(--font-mono); font-size: 12px; resize: vertical; }
.sim-action {
  width: 100%;
  margin-top: 8px;
  min-height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(139, 124, 255, 0.3);
  background: #221c36;
  color: #f4f4f5;
}
.sim-lua-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sim-user-expiry { color: #4ade80; }
.sim-legacy { display: none !important; }
.menu-carousel {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}
.menu-carousel img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0c0c0e;
}
.menu-arrow {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0c0c0e;
  color: #fafafa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; }
.menu-arrow:hover { background: #fafafa; color: #09090b; }
.menu-dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.menu-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: #3f3f46;
  cursor: pointer;
}
.menu-dot.active { background: #fafafa; }
