/* ============================================================
   888baji-down.com — Global Stylesheet
   Design System: Deep Purple + Gold + Crimson Accent
   ============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Colors */
  --clr-bg-deep:    #0d0620;
  --clr-bg-dark:    #120830;
  --clr-bg-mid:     #1a0a3e;
  --clr-bg-card:    #1e1040;
  --clr-bg-card2:   #251450;
  --clr-border:     rgba(167,139,250,0.18);
  --clr-primary:    #7c3aed;
  --clr-primary-lt: #a78bfa;
  --clr-gold:       #f5c518;
  --clr-gold-lt:    #ffe066;
  --clr-gold-dk:    #e8a000;
  --clr-crimson:    #e63946;
  --clr-crimson-dk: #9b1d20;
  --clr-text:       #e2d9f3;
  --clr-text-muted: #9d8ec0;
  --clr-text-dim:   #6b5f8a;
  --clr-white:      #ffffff;

  /* Typography */
  --font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  /* Spacing */
  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  1.5rem;
  --sp-lg:  2.5rem;
  --sp-xl:  4rem;

  /* Radius */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(124,58,237,0.18);
  --shadow-gold: 0 0 20px rgba(245,197,24,0.25);
  --shadow-btn:  0 4px 16px rgba(245,197,24,0.35);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-base);
  background: var(--clr-bg-deep);
  color: var(--clr-text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--clr-gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--clr-gold-lt); }

img, svg { max-width: 100%; height: auto; display: block; }

ul { list-style: none; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

/* ── Section Spacing ── */
.section { padding: var(--sp-xl) 0; }
.section-sm { padding: var(--sp-lg) 0; }

/* ── Section Headings ── */
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: var(--sp-xs);
  line-height: 1.3;
}
.section-title span { color: var(--clr-gold); }
.section-subtitle {
  color: var(--clr-text-muted);
  font-size: 1rem;
  margin-bottom: var(--sp-lg);
}
.section-header { text-align: center; margin-bottom: var(--sp-lg); }

/* ── Divider ── */
.divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--clr-gold), var(--clr-primary));
  border-radius: var(--r-pill);
  margin: var(--sp-sm) auto var(--sp-md);
}
.divider-left { margin-left: 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }

.btn-register {
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-dk));
  color: var(--clr-bg-deep);
  box-shadow: var(--shadow-btn);
}
.btn-register:hover {
  background: linear-gradient(135deg, var(--clr-gold-lt), var(--clr-gold));
  color: var(--clr-bg-deep);
  box-shadow: 0 6px 24px rgba(245,197,24,0.5);
}

.btn-login {
  background: transparent;
  color: var(--clr-gold);
  border: 2px solid var(--clr-gold);
}
.btn-login:hover {
  background: rgba(245,197,24,0.12);
  color: var(--clr-gold-lt);
  border-color: var(--clr-gold-lt);
}

.btn-primary {
  background: linear-gradient(135deg, var(--clr-primary), #5b21b6);
  color: var(--clr-white);
  box-shadow: 0 4px 16px rgba(124,58,237,0.4);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--clr-primary-lt), var(--clr-primary));
  color: var(--clr-white);
}

.btn-outline {
  background: transparent;
  color: var(--clr-primary-lt);
  border: 2px solid var(--clr-primary-lt);
}
.btn-outline:hover {
  background: rgba(124,58,237,0.15);
  color: var(--clr-white);
}

.btn-lg { padding: 0.85rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.82rem; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13,6,32,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
  transition: box-shadow .3s;
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: var(--sp-sm);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  text-decoration: none;
  pointer-events: none;
  cursor: default;
}
.site-logo svg {
  width: auto;
  height: 44px;
  max-height: 44px;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text .logo-main {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--clr-gold);
  letter-spacing: 0.02em;
}
.logo-text .logo-sub {
  font-size: 0.65rem;
  color: var(--clr-primary-lt);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Nav */
.site-nav { display: flex; align-items: center; gap: 0.2rem; }
.site-nav a {
  color: var(--clr-text);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: var(--r-sm);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--clr-gold);
  background: rgba(245,197,24,0.08);
}
.site-nav a.nav-home {
  color: var(--clr-gold);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--clr-bg-dark);
  border-top: 1px solid var(--clr-border);
  padding: var(--sp-sm) var(--sp-md);
  gap: 0.25rem;
}
.mobile-nav a {
  color: var(--clr-text);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid var(--clr-border);
  display: block;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--clr-gold); }
.mobile-nav a.nav-home { color: var(--clr-gold); }
.mobile-nav.open { display: flex; }

/* ── Banner ── */
.home-banner {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: var(--clr-bg-deep);
}
.home-banner img,
.home-banner svg {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
}

/* ── Hero Section ── */
.hero {
  padding: var(--sp-xl) 0 var(--sp-lg);
  background: linear-gradient(180deg, var(--clr-bg-mid) 0%, var(--clr-bg-deep) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { max-width: 700px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(245,197,24,0.12);
  border: 1px solid rgba(245,197,24,0.3);
  color: var(--clr-gold);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--clr-white);
  margin-bottom: var(--sp-sm);
}
.hero h1 .highlight { color: var(--clr-gold); }
.hero-desc {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-md);
  max-width: 560px;
}
.hero-actions { display: flex; gap: var(--sp-sm); flex-wrap: wrap; margin-bottom: var(--sp-lg); }
.hero-stats {
  display: flex;
  gap: var(--sp-lg);
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--clr-gold);
  display: block;
}
.hero-stat .lbl {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Cards ── */
.card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  padding: var(--sp-md);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(167,139,250,0.35);
}
.card-gold {
  border-color: rgba(245,197,24,0.2);
}
.card-gold:hover {
  border-color: rgba(245,197,24,0.5);
  box-shadow: var(--shadow-gold);
}

/* ── Grid Layouts ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-md); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-md); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-md); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--sp-md); }

/* ── Feature Cards ── */
.feature-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  padding: var(--sp-md) var(--sp-md) var(--sp-md);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-gold));
  opacity: 0;
  transition: opacity .25s;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-sm);
  font-size: 1.5rem;
}
.icon-purple { background: rgba(124,58,237,0.2); }
.icon-gold   { background: rgba(245,197,24,0.15); }
.icon-red    { background: rgba(230,57,70,0.15); }
.icon-blue   { background: rgba(33,150,243,0.15); }
.icon-green  { background: rgba(46,125,50,0.15); }

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 0.4rem;
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

/* ── Category Cards ── */
.cat-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  padding: var(--sp-md);
  text-align: center;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: rgba(245,197,24,0.3);
}
.cat-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  background: linear-gradient(135deg, rgba(124,58,237,0.3), rgba(245,197,24,0.15));
  border: 1px solid rgba(167,139,250,0.2);
}
.cat-card h3 { font-size: 1rem; font-weight: 700; color: var(--clr-white); }
.cat-card p { font-size: 0.82rem; color: var(--clr-text-muted); }
.cat-card .btn { margin-top: auto; }

/* ── Stats Bar ── */
.stats-bar {
  background: linear-gradient(135deg, var(--clr-bg-mid), var(--clr-bg-card2));
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding: var(--sp-lg) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
  text-align: center;
}
.stat-item .stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--clr-gold);
  display: block;
  line-height: 1;
}
.stat-item .stat-lbl {
  font-size: 0.82rem;
  color: var(--clr-text-muted);
  margin-top: 0.3rem;
}

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: rgba(245,197,24,0.35); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-sm) var(--sp-md);
  cursor: pointer;
  font-weight: 600;
  color: var(--clr-white);
  font-size: 0.95rem;
  gap: var(--sp-sm);
  user-select: none;
}
.faq-question:hover { color: var(--clr-gold); }
.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(124,58,237,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--clr-primary-lt);
  transition: transform .3s, background .2s;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(245,197,24,0.2);
  color: var(--clr-gold);
}
.faq-answer {
  display: none;
  padding: 0 var(--sp-md) var(--sp-sm);
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  border-top: 1px solid var(--clr-border);
}
.faq-item.open .faq-answer { display: block; }

/* ── Breadcrumb ── */
.breadcrumb {
  padding: var(--sp-sm) 0;
  font-size: 0.82rem;
  color: var(--clr-text-dim);
}
.breadcrumb a { color: var(--clr-text-muted); }
.breadcrumb a:hover { color: var(--clr-gold); }
.breadcrumb span { margin: 0 0.4rem; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--clr-bg-mid) 0%, var(--clr-bg-dark) 100%);
  padding: var(--sp-lg) 0 var(--sp-md);
  border-bottom: 1px solid var(--clr-border);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(124,58,237,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--clr-white);
  margin-bottom: 0.5rem;
}
.page-hero h1 span { color: var(--clr-gold); }
.page-hero p {
  color: var(--clr-text-muted);
  font-size: 1rem;
  max-width: 600px;
}

/* ── CTA Block ── */
.cta-block {
  background: linear-gradient(135deg, var(--clr-bg-mid), var(--clr-bg-card2));
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: var(--sp-xl) var(--sp-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,197,24,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-block h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--clr-white);
  margin-bottom: var(--sp-sm);
}
.cta-block h2 span { color: var(--clr-gold); }
.cta-block p {
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-md);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions { display: flex; gap: var(--sp-sm); justify-content: center; flex-wrap: wrap; }

/* ── Promo Cards ── */
.promo-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.promo-card-header {
  background: linear-gradient(135deg, var(--clr-primary), #5b21b6);
  padding: var(--sp-md);
  position: relative;
}
.promo-card-header.gold-header {
  background: linear-gradient(135deg, var(--clr-gold-dk), var(--clr-gold));
}
.promo-card-header.red-header {
  background: linear-gradient(135deg, var(--clr-crimson-dk), var(--clr-crimson));
}
.promo-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: var(--clr-white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-pill);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.promo-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--clr-white);
  line-height: 1;
}
.promo-card-body { padding: var(--sp-md); }
.promo-card-body h3 { font-size: 1rem; font-weight: 700; color: var(--clr-white); margin-bottom: 0.4rem; }
.promo-card-body p { font-size: 0.85rem; color: var(--clr-text-muted); margin-bottom: var(--sp-sm); }

/* ── Steps ── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--sp-md); }
.step-item { text-align: center; padding: var(--sp-md); }
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary), #5b21b6);
  color: var(--clr-white);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--sp-sm);
  box-shadow: 0 4px 16px rgba(124,58,237,0.4);
}
.step-item h3 { font-size: 0.95rem; font-weight: 700; color: var(--clr-white); margin-bottom: 0.3rem; }
.step-item p { font-size: 0.83rem; color: var(--clr-text-muted); }

/* ── Table ── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.compare-table th {
  background: var(--clr-bg-card2);
  color: var(--clr-gold);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 700;
  border-bottom: 2px solid var(--clr-border);
}
.compare-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--clr-border);
  color: var(--clr-text);
}
.compare-table tr:hover td { background: rgba(124,58,237,0.06); }
.compare-table .check { color: #4ade80; font-weight: 700; }
.compare-table .cross { color: var(--clr-crimson); }

/* ── Contact Form ── */
.contact-form { display: flex; flex-direction: column; gap: var(--sp-sm); }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--clr-text-muted); }
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--clr-bg-card2);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-sm);
  color: var(--clr-text);
  padding: 0.65rem 0.9rem;
  font-size: 0.9rem;
  font-family: var(--font-base);
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--clr-primary-lt);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-error { color: var(--clr-crimson); font-size: 0.78rem; display: none; }
.form-success {
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.3);
  color: #4ade80;
  padding: var(--sp-sm);
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  display: none;
}

/* ── YouTube Video ── */
.video-section { padding: var(--sp-xl) 0; }
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-card);
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ── Bullet List ── */
.bullet-list { display: flex; flex-direction: column; gap: 0.5rem; }
.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--clr-text);
}
.bullet-list li::before {
  content: '▸';
  color: var(--clr-gold);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ── Info Blocks ── */
.info-block {
  background: var(--clr-bg-card);
  border-left: 3px solid var(--clr-primary);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: var(--sp-sm) var(--sp-md);
  margin: var(--sp-sm) 0;
}
.info-block.gold { border-left-color: var(--clr-gold); }
.info-block.red  { border-left-color: var(--clr-crimson); }
.info-block h4 { font-size: 0.9rem; font-weight: 700; color: var(--clr-white); margin-bottom: 0.3rem; }
.info-block p  { font-size: 0.85rem; color: var(--clr-text-muted); }

/* ── Long Content ── */
.long-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--clr-white);
  margin: var(--sp-lg) 0 var(--sp-sm);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--clr-border);
}
.long-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-gold);
  margin: var(--sp-md) 0 0.5rem;
}
.long-content p {
  color: var(--clr-text-muted);
  font-size: 0.93rem;
  line-height: 1.8;
  margin-bottom: var(--sp-sm);
}
.long-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  color: var(--clr-text-muted);
  font-size: 0.93rem;
  line-height: 1.8;
  margin-bottom: var(--sp-sm);
}
.long-content ol {
  list-style: decimal;
  padding-left: 1.5rem;
  color: var(--clr-text-muted);
  font-size: 0.93rem;
  line-height: 1.8;
  margin-bottom: var(--sp-sm);
}

/* ── Tags ── */
.tag {
  display: inline-block;
  background: rgba(124,58,237,0.15);
  color: var(--clr-primary-lt);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(124,58,237,0.25);
}
.tag-gold {
  background: rgba(245,197,24,0.12);
  color: var(--clr-gold);
  border-color: rgba(245,197,24,0.25);
}

/* ── Back to Top ── */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--clr-primary), #5b21b6);
  color: var(--clr-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(124,58,237,0.5);
  z-index: 999;
  transition: transform .2s, opacity .2s;
}
#back-to-top:hover { transform: translateY(-3px); }
#back-to-top.visible { display: flex; }

/* ── Footer ── */
.site-footer {
  background: var(--clr-bg-dark);
  border-top: 1px solid var(--clr-border);
  padding: var(--sp-xl) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--sp-lg);
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid var(--clr-border);
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--sp-sm);
}
.footer-brand .footer-logo svg {
  width: auto;
  height: 40px;
  max-height: 40px;
}
.footer-brand p {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-sm);
}
.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--clr-white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-sm);
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--clr-gold); }

/* Footer contact */
.footer-contact { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-contact-item {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  line-height: 1.5;
}
.footer-contact-item strong {
  color: var(--clr-text);
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.1rem;
}

.footer-bottom {
  padding: var(--sp-sm) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--clr-text-dim);
}
.footer-bottom-links {
  display: flex;
  gap: var(--sp-sm);
}
.footer-bottom-links a {
  font-size: 0.78rem;
  color: var(--clr-text-dim);
}
.footer-bottom-links a:hover { color: var(--clr-gold); }

/* ── Disclaimer ── */
.disclaimer {
  background: rgba(230,57,70,0.06);
  border: 1px solid rgba(230,57,70,0.15);
  border-radius: var(--r-sm);
  padding: 0.6rem var(--sp-sm);
  font-size: 0.75rem;
  color: var(--clr-text-dim);
  margin-top: var(--sp-sm);
}

/* ── Alternating BG ── */
.bg-alt { background: var(--clr-bg-mid); }
.bg-card { background: var(--clr-bg-card); }
.bg-dark { background: var(--clr-bg-dark); }

/* ── Utility ── */
.text-center { text-align: center; }
.text-gold { color: var(--clr-gold); }
.text-muted { color: var(--clr-text-muted); }
.mt-sm { margin-top: var(--sp-sm); }
.mt-md { margin-top: var(--sp-md); }
.mt-lg { margin-top: var(--sp-lg); }
.mb-sm { margin-bottom: var(--sp-sm); }
.mb-md { margin-bottom: var(--sp-md); }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-sm { gap: var(--sp-sm); }

/* ── 404 ── */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-xl) var(--sp-md);
}
.error-code {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 900;
  color: transparent;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-gold));
  -webkit-background-clip: text;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--sp-sm);
}
.error-page h2 { font-size: 1.5rem; color: var(--clr-white); margin-bottom: var(--sp-sm); }
.error-page p { color: var(--clr-text-muted); margin-bottom: var(--sp-md); }
.error-links { display: flex; gap: var(--sp-sm); justify-content: center; flex-wrap: wrap; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --sp-xl: 2.5rem; --sp-lg: 1.8rem; }

  .site-nav { display: none; }
  .menu-toggle { display: flex; }

  .header-inner { height: 60px; }
  .site-logo svg { height: 36px; max-height: 36px; }
  .logo-text .logo-main { font-size: 1rem; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .hero-stats { gap: var(--sp-md); }
  .hero-stat .num { font-size: 1.4rem; }

  .home-banner img,
  .home-banner svg { max-height: 220px; }

  .cta-block { padding: var(--sp-lg) var(--sp-sm); }
}

@media (max-width: 480px) {
  .header-cta .btn { padding: 0.5rem 0.9rem; font-size: 0.8rem; }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
