/* ============================================================
   365baji-down.com — Global Stylesheet
   Design System: Deep Navy + Gold + Crimson Accent
   ============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #0d0d1a;
  --primary-mid:   #1a1a2e;
  --primary-light: #16213e;
  --accent-gold:   #f5c518;
  --accent-gold2:  #ffd700;
  --accent-red:    #c0392b;
  --accent-purple: #7c3aed;
  --surface:       #1e1e38;
  --surface2:      #252545;
  --surface3:      #2d2d55;
  --border:        rgba(245,197,24,0.18);
  --border-light:  rgba(245,197,24,0.08);
  --text-primary:  #f0f0f8;
  --text-secondary:#b8b8d0;
  --text-muted:    #7878a0;
  --gold-grad:     linear-gradient(135deg, #f5c518 0%, #ffd700 50%, #e8a000 100%);
  --dark-grad:     linear-gradient(135deg, #0d0d1a 0%, #1a1a2e 50%, #16213e 100%);
  --card-grad:     linear-gradient(145deg, #1e1e38 0%, #252545 100%);
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     32px;
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.3);
  --shadow-md:     0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg:     0 8px 40px rgba(0,0,0,0.5);
  --shadow-gold:   0 4px 20px rgba(245,197,24,0.2);
  --transition:    0.25s ease;
  --header-h:      72px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-gold2); }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
}
h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; color: var(--text-secondary); }
p:last-child { margin-bottom: 0; }

.text-gold { color: var(--accent-gold); }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Section Spacing ── */
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-lg { padding: 100px 0; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

.section-divider {
  width: 60px; height: 4px;
  background: var(--gold-grad);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: 0.3px;
}

.btn-register {
  background: var(--gold-grad);
  color: #0d0d1a;
  box-shadow: var(--shadow-gold);
}
.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(245,197,24,0.4);
  color: #0d0d1a;
}

.btn-login {
  background: transparent;
  color: var(--accent-gold);
  border: 2px solid var(--accent-gold);
}
.btn-login:hover {
  background: rgba(245,197,24,0.12);
  color: var(--accent-gold2);
  border-color: var(--accent-gold2);
}

.btn-primary {
  background: var(--gold-grad);
  color: #0d0d1a;
  padding: 14px 36px;
  font-size: 1rem;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245,197,24,0.45);
  color: #0d0d1a;
}

.btn-secondary {
  background: transparent;
  color: var(--accent-gold);
  border: 2px solid var(--accent-gold);
  padding: 12px 32px;
  font-size: 0.95rem;
}
.btn-secondary:hover {
  background: rgba(245,197,24,0.1);
  color: var(--accent-gold2);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  padding: 12px 28px;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

.btn-danger {
  background: linear-gradient(135deg, #c0392b, #8e1a0e);
  color: #fff;
  padding: 14px 36px;
  font-size: 1rem;
}
.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(192,57,43,0.4);
  color: #fff;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(13,13,26,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.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: 100%;
  gap: 16px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.logo-icon svg {
  width: 44px;
  height: 44px;
  max-width: 44px;
  max-height: 44px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text .logo-brand {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--accent-gold);
  letter-spacing: 0.5px;
}
.logo-text .logo-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Nav */
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition);
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--accent-gold);
  background: rgba(245,197,24,0.08);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}
.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); }

/* ── Banner ── */
.home-banner {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: var(--primary);
}
.home-banner img,
.home-banner svg,
.home-banner object {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* ── Hero Section ── */
.hero {
  padding: 80px 0 60px;
  background: var(--dark-grad);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,197,24,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,197,24,0.12);
  border: 1px solid rgba(245,197,24,0.3);
  color: var(--accent-gold);
  padding: 6px 16px;
  border-radius: var(--radius-xl);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 span { color: var(--accent-gold); }
.hero-desc { font-size: 1.1rem; margin-bottom: 32px; max-width: 580px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}
.hero-stat-item { text-align: center; }
.hero-stat-item .stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent-gold);
  display: block;
}
.hero-stat-item .stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── Cards ── */
.card {
  background: var(--card-grad);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all var(--transition);
}
.card:hover {
  border-color: rgba(245,197,24,0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.card-icon {
  width: 52px; height: 52px;
  background: rgba(245,197,24,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
}

/* ── Grid Layouts ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }

/* ── Feature Cards ── */
.feature-card {
  background: var(--card-grad);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-grad);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover {
  border-color: rgba(245,197,24,0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}
.feature-card .icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}
.feature-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.feature-card p { font-size: 0.9rem; margin: 0; }

/* ── Category Cards ── */
.cat-card {
  background: var(--card-grad);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.cat-card:hover {
  border-color: var(--accent-gold);
  background: linear-gradient(145deg, #252545, #2d2d55);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.cat-card .cat-icon { font-size: 2.8rem; margin-bottom: 14px; display: block; }
.cat-card h3 { color: var(--text-primary); font-size: 1rem; margin-bottom: 6px; }
.cat-card p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

/* ── Stats Bar ── */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item .num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-gold);
  display: block;
}
.stat-item .label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── Steps ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.step-item {
  text-align: center;
  padding: 28px 20px;
  background: var(--card-grad);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  position: relative;
}
.step-num {
  width: 48px; height: 48px;
  background: var(--gold-grad);
  color: #0d0d1a;
  font-weight: 900;
  font-size: 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step-item h4 { margin-bottom: 8px; font-size: 1rem; }
.step-item p { font-size: 0.88rem; margin: 0; }

/* ── FAQ ── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--card-grad);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  transition: background var(--transition);
}
.faq-question:hover { background: rgba(245,197,24,0.05); }
.faq-question.active { color: var(--accent-gold); }
.faq-icon {
  width: 24px; height: 24px;
  flex-shrink: 0;
  border: 2px solid var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--accent-gold);
  transition: transform var(--transition);
}
.faq-question.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-answer.open { display: block; }

/* ── Breadcrumb ── */
.breadcrumb {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 0;
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb-list li a { color: var(--text-muted); }
.breadcrumb-list li a:hover { color: var(--accent-gold); }
.breadcrumb-list li.active { color: var(--accent-gold); }
.breadcrumb-sep { color: var(--text-muted); font-size: 0.75rem; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding: 60px 0 50px;
  background: linear-gradient(135deg, #0d0d1a 0%, #1a0a2e 50%, #16213e 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(245,197,24,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { font-size: 1.05rem; max-width: 600px; }

/* ── CTA Section ── */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a0a2e 0%, #0d0d1a 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(245,197,24,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { margin-bottom: 32px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Promo Cards ── */
.promo-card {
  background: var(--card-grad);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}
.promo-card:hover {
  border-color: rgba(245,197,24,0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.promo-card-header {
  padding: 24px;
  background: linear-gradient(135deg, #1a0a2e, #252545);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.promo-badge {
  display: inline-block;
  background: var(--gold-grad);
  color: #0d0d1a;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-xl);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.promo-amount {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent-gold);
  display: block;
}
.promo-card-body { padding: 20px 24px; }
.promo-card-body ul { margin-bottom: 20px; }
.promo-card-body ul li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.promo-card-body ul li::before {
  content: '✓';
  color: var(--accent-gold);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Table ── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card-grad);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}
.compare-table th {
  background: rgba(245,197,24,0.1);
  color: var(--accent-gold);
  padding: 14px 18px;
  text-align: left;
  font-size: 0.88rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
}
.compare-table td {
  padding: 12px 18px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: rgba(245,197,24,0.03); }

/* ── Contact Form ── */
.contact-form { max-width: 640px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(245,197,24,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-error {
  color: #e74c3c;
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}
.form-error.show { display: block; }

/* ── Info Boxes ── */
.info-box {
  background: rgba(245,197,24,0.06);
  border: 1px solid rgba(245,197,24,0.2);
  border-left: 4px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 20px 0;
}
.info-box p { margin: 0; font-size: 0.92rem; }

.warning-box {
  background: rgba(192,57,43,0.08);
  border: 1px solid rgba(192,57,43,0.25);
  border-left: 4px solid var(--accent-red);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 20px 0;
}
.warning-box p { margin: 0; font-size: 0.92rem; color: #e8a090; }

/* ── Video Module ── */
.video-section { padding: 80px 0; background: var(--surface); }
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.video-header { text-align: center; margin-bottom: 36px; }
.video-header h2 { margin-bottom: 12px; }

/* ── Trust Section ── */
.trust-section {
  padding: 60px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-items {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.trust-icon {
  font-size: 1.6rem;
  color: var(--accent-gold);
}

/* ── Long Content ── */
.long-content h2 { margin: 36px 0 16px; color: var(--text-primary); }
.long-content h3 { margin: 28px 0 12px; color: var(--accent-gold); font-size: 1.15rem; }
.long-content p { margin-bottom: 16px; }
.long-content ul, .long-content ol {
  margin: 16px 0 20px 20px;
  color: var(--text-secondary);
}
.long-content ul { list-style: disc; }
.long-content ol { list-style: decimal; }
.long-content li { margin-bottom: 8px; line-height: 1.7; }
.long-content strong { color: var(--text-primary); }

/* ── Bullet Points (SEO) ── */
.bullet-list {
  background: var(--card-grad);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin: 24px 0;
}
.bullet-list h3 { margin-bottom: 16px; color: var(--accent-gold); }
.bullet-list ul { list-style: none; }
.bullet-list ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}
.bullet-list ul li:last-child { border-bottom: none; }
.bullet-list ul li::before {
  content: '▸';
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Related Links ── */
.related-section {
  padding: 60px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.related-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: var(--card-grad);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition);
  text-decoration: none;
}
.related-link:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateX(4px);
}
.related-link .arrow { margin-left: auto; color: var(--accent-gold); }

/* ── Footer ── */
.site-footer {
  background: #080812;
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-light);
}
.footer-brand .logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-brand .logo-wrap svg {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.footer-brand .brand-name {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--accent-gold);
}
.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}
.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--accent-gold); }

/* Footer Contact */
.footer-contact { }
.footer-contact h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}
.contact-info-list { list-style: none; }
.contact-info-list li {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
}
.contact-info-list li strong {
  color: var(--text-secondary);
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}
.contact-info-list li a { color: var(--text-muted); }
.contact-info-list li a:hover { color: var(--accent-gold); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-bottom-links a:hover { color: var(--accent-gold); }

/* ── Back to Top ── */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--gold-grad);
  color: #0d0d1a;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
  z-index: 999;
  transition: all var(--transition);
}
#back-to-top:hover { transform: translateY(-3px); }
#back-to-top.show { display: flex; }

/* ── Tabs ── */
.tabs-nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 22px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
}
.tab-btn:hover { color: var(--text-primary); }
.tab-btn.active {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Highlight Box ── */
.highlight-box {
  background: linear-gradient(135deg, rgba(245,197,24,0.08), rgba(245,197,24,0.03));
  border: 1px solid rgba(245,197,24,0.2);
  border-radius: var(--radius-md);
  padding: 32px;
  margin: 32px 0;
}
.highlight-box h3 { color: var(--accent-gold); margin-bottom: 12px; }

/* ── Two-col layout ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ── Icon List ── */
.icon-list { list-style: none; }
.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.icon-list li:last-child { border-bottom: none; }
.icon-list li .li-icon {
  color: var(--accent-gold);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── 404 Page ── */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}
.error-code {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 900;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.8;
}
.error-page h2 { margin-bottom: 16px; }
.error-page p { margin-bottom: 32px; }
.error-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { gap: 32px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .site-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(13,13,26,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 16px; width: 100%; }

  .menu-toggle { display: flex; }

  .header-cta {
    gap: 8px;
  }
  .header-cta .btn {
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  .logo-text .logo-sub { display: none; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .two-col.reverse { direction: ltr; }

  .hero { padding: 50px 0 40px; }
  .hero-stats { gap: 24px; }
  .section { padding: 56px 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .home-banner img,
  .home-banner svg { max-height: 280px; }

  .tabs-nav { gap: 2px; }
  .tab-btn { padding: 8px 14px; font-size: 0.85rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
  .hero-stats { gap: 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .trust-items { gap: 24px; }
  .header-cta .btn { padding: 7px 12px; font-size: 0.8rem; }
}

/* ── Utility ── */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-8 { margin-top: 8px; }
.mb-8 { margin-bottom: 8px; }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.mt-48 { margin-top: 48px; }
.mb-48 { margin-bottom: 48px; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

.w-100 { width: 100%; }
.hidden { display: none; }

/* Alternating section backgrounds */
.bg-surface { background: var(--surface); }
.bg-surface2 { background: var(--surface2); }
.bg-dark { background: var(--primary); }
.bg-gradient { background: var(--dark-grad); }
