/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 56px 0 48px;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.hero-accent {
  color: var(--teal-light);
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-visual {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.orb-1 {
  width: 280px;
  height: 280px;
  background: rgba(6, 182, 212, 0.22);
  top: 10%;
  right: 10%;
  animation: orbPulse 8s ease-in-out infinite;
}

.orb-2 {
  width: 200px;
  height: 200px;
  background: rgba(124, 58, 237, 0.15);
  bottom: 15%;
  left: 5%;
  animation: orbPulse 10s ease-in-out infinite reverse;
}

@keyframes orbPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 1; }
}

.hero-preview-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  width: min(100%, 340px);
}

.preview-card {
  padding: 10px;
  border-radius: var(--radius);
  border: 1px solid var(--border-glow);
  background: rgba(10, 16, 28, 0.9);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s, border-color 0.2s;
  overflow: hidden;
}

.preview-card:hover {
  transform: translateX(6px);
  border-color: var(--teal-light);
}

.preview-card-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.preview-card-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.preview-card-meta span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.preview-card-meta small {
  color: var(--teal-light);
  font-size: 0.75rem;
}

/* Stats bar */
.stats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  padding: 24px 28px;
  margin-bottom: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(6, 182, 212, 0.04);
  clip-path: var(--clip-angular);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-item strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--teal-light);
}

.stat-item span {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Product teaser on landing */
.teaser-section {
  margin-bottom: 56px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

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

.teaser-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.teaser-img-wrap {
  position: relative;
  min-height: 160px;
  overflow: hidden;
}

.teaser-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.teaser-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 40%, rgba(2, 4, 8, 0.85) 100%);
  pointer-events: none;
}

.teaser-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.teaser-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
}

.teaser-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.teaser-card.roblox { background: linear-gradient(160deg, rgba(6, 182, 212, 0.06), transparent); }
.teaser-card.fivem { background: linear-gradient(160deg, rgba(124, 58, 237, 0.06), transparent); }

.teaser-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.teaser-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

/* Features */
.features {
  padding: 0 0 56px;
}

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

.feature-card {
  text-align: left;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: var(--border-glow);
}

.feature-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-light);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.18), rgba(124, 58, 237, 0.08));
  box-shadow: 0 0 24px rgba(6, 182, 212, 0.12);
}

.feature-icon .icon {
  width: 24px;
  height: 24px;
  max-width: none;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* CTA band */
.cta-band {
  padding: 40px 0 64px;
}

.cta-band-inner {
  padding: 36px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glow);
  background: var(--gradient-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  clip-path: var(--clip-angular);
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.cta-band p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 6px;
}

/* Products page */
.products-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding: 40px 0 28px;
}

.products-header h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-right: auto;
}

.filter-tabs {
  display: flex;
  gap: 4px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px;
}

.filter-tab {
  padding: 8px 18px;
  border-radius: 4px;
  border: none;
  background: none;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.filter-tab.active {
  background: rgba(6, 182, 212, 0.15);
  color: var(--teal-light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
  padding-bottom: 56px;
}

.product-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.product-banner {
  height: 160px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 8px));
}

.product-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.product-banner-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 48px;
  background: linear-gradient(transparent, rgba(2, 4, 8, 0.92));
  margin: -20px;
  padding: 48px 20px 20px;
}

.product-banner.roblox {
  background: linear-gradient(135deg, #0c4a6e 0%, #06b6d4 50%, #164e63 100%);
}

.product-banner.fivem {
  background: linear-gradient(135deg, #14532d 0%, #7c3aed 60%, #1e1b4b 100%);
}

.product-banner-overlay h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-body { padding: 20px 22px 0; }

.product-price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teal-light);
  margin-bottom: 8px;
}

.product-price span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

.product-tagline {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.product-chips { margin-bottom: 14px; }

.product-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  border-top: 1px solid var(--border);
}

.product-status-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-actions {
  display: flex;
  gap: 8px;
  padding: 0 22px 20px;
}

.product-actions .btn { flex: 1; }

/* Product detail — single column */
.product-detail-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0 64px;
}

.product-detail-banner {
  position: relative;
  min-height: 220px;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  border: 1px solid var(--border);
  clip-path: var(--clip-angular);
  overflow: hidden;
}

.product-detail-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.product-detail-banner.roblox {
  background: linear-gradient(135deg, #0c4a6e, #164e63);
}

.product-detail-banner.fivem {
  background: linear-gradient(135deg, #14532d, #1e1b4b);
}

.product-detail-banner-content {
  position: relative;
  z-index: 1;
  padding: 48px 32px 40px;
  background: linear-gradient(transparent 0%, rgba(2, 4, 8, 0.75) 45%, rgba(2, 4, 8, 0.95) 100%);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.product-detail-banner-content h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.product-detail-banner-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.product-detail-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.product-price-lg {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal-light);
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  margin-bottom: 24px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.92rem;
}

.feature-list .icon { color: var(--teal-light); }

.product-buy-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--teal-light);
  font-size: 0.88rem;
}

.back-link:hover { color: var(--text); }

/* Auth split */
.auth-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-h));
}

.auth-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 56px;
  border-right: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 60% at 30% 40%, rgba(6, 182, 212, 0.12), transparent),
    var(--bg-elevated);
  position: relative;
  overflow: hidden;
}

.auth-brand-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.auth-brand h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 360px;
}

.auth-brand > p {
  color: var(--text-muted);
  max-width: 380px;
  margin-bottom: 32px;
  line-height: 1.65;
}

.auth-points {
  list-style: none;
}

.auth-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.auth-points .icon {
  color: var(--teal-light);
  margin-top: 2px;
}

.auth-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
}

.auth-card {
  width: min(420px, 100%);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.auth-card h1 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.auth-sub {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 28px;
}

.auth-card .btn-primary {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
}

.auth-footer {
  text-align: center;
  margin-top: 22px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.auth-footer a {
  color: var(--teal-light);
  font-weight: 600;
}

/* Product feature menu (detail page) */
.feature-menu {
  margin-top: 24px;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.feature-menu-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.feature-menu-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
  align-items: start;
}

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

.feature-menu-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: rgba(10, 16, 28, 0.6);
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.feature-menu-tab .icon {
  width: 18px;
  height: 18px;
  color: var(--text-dim);
  flex-shrink: 0;
}

.feature-menu-tab-label {
  flex: 1;
  min-width: 0;
}

.feature-menu-count {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

.feature-menu-tab:hover {
  background: rgba(6, 182, 212, 0.06);
  color: var(--text);
}

.feature-menu-tab.active {
  border-color: var(--border-glow);
  background: rgba(6, 182, 212, 0.1);
  color: var(--text);
}

.feature-menu-tab.active .icon {
  color: var(--teal-light);
}

.feature-menu-panels {
  min-height: 220px;
}

.feature-menu-panel {
  display: none;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(8, 12, 20, 0.85);
}

.feature-menu-panel.active {
  display: block;
}

.feature-menu-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.feature-menu-panel-head .icon {
  width: 20px;
  height: 20px;
  color: var(--teal-light);
}

.feature-menu-panel-head h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.feature-menu-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}

.feature-menu-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.feature-menu-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--teal-light);
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.5);
}

/* Tutorial page */
.tutorial-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0 64px;
}

.tutorial-header {
  margin-bottom: 28px;
}

.tutorial-header h1 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.coming-soon-box {
  padding: 48px 32px;
  text-align: center;
  border: 1px dashed var(--border-glow);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 0 32px;
  }

  .hero-visual { min-height: 240px; order: -1; }
  .hero-sub { margin-inline: auto; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-content { text-align: center; }

  .teaser-grid { grid-template-columns: 1fr; }
  .teaser-card { grid-template-columns: 1fr; }
  .teaser-img-wrap { min-height: 140px; max-height: 180px; }
  .teaser-img-wrap::after {
    background: linear-gradient(180deg, transparent 30%, rgba(2, 4, 8, 0.9) 100%);
  }
  .features-grid { grid-template-columns: 1fr; }

  .feature-menu-layout { grid-template-columns: 1fr; }
  .feature-menu-nav { flex-direction: row; flex-wrap: wrap; }
  .feature-menu-tab { flex: 1 1 auto; min-width: 140px; }
  .feature-menu-list { grid-template-columns: 1fr; }

  .auth-page { grid-template-columns: 1fr; }
  .auth-brand {
    padding: 32px 24px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .auth-brand h2 { font-size: 1.35rem; }

  .legal-layout { grid-template-columns: 1fr; }
  .legal-sidebar { position: static; }
}

/* Legal pages */
.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  align-items: start;
  padding: 40px 0 64px;
}

.legal-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  padding: 12px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.legal-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.legal-nav-link {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius);
  border-left: 3px solid transparent;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.legal-nav-link:hover {
  background: rgba(6, 182, 212, 0.06);
  color: var(--text);
}

.legal-nav-link.active {
  background: rgba(6, 182, 212, 0.1);
  color: var(--teal-light);
  border-left-color: var(--accent-teal);
}

.legal-content {
  padding: 36px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  max-height: none;
}

.legal-content h1 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.legal-updated {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 28px;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 28px 0 12px;
  color: var(--text);
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 10px;
}

.legal-content ul {
  margin: 8px 0 12px 20px;
}

.legal-content a {
  color: var(--teal-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--text);
}

/* Support page */
.support-page {
  padding: 48px 0 64px;
  max-width: 960px;
}

.support-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 12px;
}

.support-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 560px;
}

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

.support-card h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--teal-light);
}

.support-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

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