/* ============================================================
   BAJILIVE-999 — Global Stylesheet
   Design System: Deep Navy + Gold + Crimson Accent
   ============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Colour Palette */
  --clr-bg-deep:    #080e1a;
  --clr-bg-dark:    #0d1526;
  --clr-bg-mid:     #111e35;
  --clr-bg-card:    #162040;
  --clr-bg-card2:   #1a2850;
  --clr-border:     #1f3060;
  --clr-gold:       #f0b429;
  --clr-gold-light: #ffd166;
  --clr-gold-dark:  #c8860a;
  --clr-crimson:    #e63946;
  --clr-crimson-dk: #b52530;
  --clr-teal:       #06d6a0;
  --clr-teal-dk:    #04a87e;
  --clr-text:       #e8eaf0;
  --clr-text-muted: #8a9bbf;
  --clr-text-dim:   #5a6a8a;
  --clr-white:      #ffffff;

  /* Typography */
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  /* Spacing */
  --sp-xs:  4px;
  --sp-sm:  8px;
  --sp-md:  16px;
  --sp-lg:  24px;
  --sp-xl:  40px;
  --sp-2xl: 64px;
  --sp-3xl: 96px;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0,0,0,0.45);
  --shadow-gold: 0 0 18px rgba(240,180,41,0.35);
  --shadow-btn:  0 4px 16px rgba(240,180,41,0.4);
  --shadow-nav:  0 2px 20px rgba(0,0,0,0.6);

  /* Transitions */
  --tr-fast: 0.18s ease;
  --tr-mid:  0.28s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  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 var(--tr-fast); }
a:hover { color: var(--clr-gold-light); }

img, svg { max-width: 100%; height: auto; display: block; }

ul { list-style: none; }

/* ── Typography Scale ── */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--clr-white);
}
h1 { font-size: clamp(1.75rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { margin-bottom: var(--sp-md); color: var(--clr-text); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-gold);
  background: rgba(240,180,41,0.12);
  border: 1px solid rgba(240,180,41,0.3);
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: var(--sp-sm);
}

.section-title { margin-bottom: var(--sp-sm); }
.section-sub   { color: var(--clr-text-muted); max-width: 640px; margin-bottom: var(--sp-xl); }

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--tr-fast);
  white-space: nowrap;
  text-decoration: none;
}

.btn-register {
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-dark));
  color: #0d1526;
  box-shadow: var(--shadow-btn);
}
.btn-register:hover {
  background: linear-gradient(135deg, var(--clr-gold-light), var(--clr-gold));
  color: #0d1526;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(240,180,41,0.55);
}

.btn-login {
  background: transparent;
  color: var(--clr-gold);
  border: 2px solid var(--clr-gold);
}
.btn-login:hover {
  background: rgba(240,180,41,0.12);
  color: var(--clr-gold-light);
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-dark));
  color: #0d1526;
  padding: 13px 32px;
  font-size: 1rem;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--clr-gold-light), var(--clr-gold));
  color: #0d1526;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(240,180,41,0.55);
}

.btn-secondary {
  background: transparent;
  color: var(--clr-gold);
  border: 2px solid var(--clr-gold);
  padding: 11px 28px;
  font-size: 0.95rem;
}
.btn-secondary:hover {
  background: rgba(240,180,41,0.1);
  color: var(--clr-gold-light);
  transform: translateY(-2px);
}

.btn-crimson {
  background: linear-gradient(135deg, var(--clr-crimson), var(--clr-crimson-dk));
  color: #fff;
  padding: 13px 32px;
  font-size: 1rem;
}
.btn-crimson:hover {
  background: linear-gradient(135deg, #ff4d5a, var(--clr-crimson));
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(230,57,70,0.45);
}

.btn-teal {
  background: linear-gradient(135deg, var(--clr-teal), var(--clr-teal-dk));
  color: #0d1526;
  padding: 13px 32px;
  font-size: 1rem;
  font-weight: 700;
}
.btn-teal:hover {
  background: linear-gradient(135deg, #08f0b5, var(--clr-teal));
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(6,214,160,0.4);
}

/* ── Header / Navigation ── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8,14,26,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
  box-shadow: var(--shadow-nav);
  transition: background var(--tr-mid);
}

#site-header.scrolled {
  background: rgba(8,14,26,0.99);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: var(--sp-lg);
}

/* Logo */
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.site-logo svg {
  height: 44px;
  width: auto;
  max-width: 180px;
}
@media (max-width: 768px) {
  .site-logo svg { height: 36px; max-width: 140px; }
}

/* Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--clr-text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: all var(--tr-fast);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--clr-gold);
  background: rgba(240,180,41,0.08);
}

/* Header CTA group */
.header-cta {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex-shrink: 0;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--clr-text);
}
.menu-toggle svg { width: 24px; height: 24px; }

/* 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-md) var(--sp-lg);
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  transition: all var(--tr-fast);
}
.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--clr-gold);
  background: rgba(240,180,41,0.08);
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
}

/* ── Banner ── */
.home-banner {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  position: relative;
}
.home-banner img,
.home-banner svg {
  width: 100%;
  height: auto;
  display: block;
  max-height: 480px;
  object-fit: cover;
}

/* ── Hero Section ── */
.hero-section {
  padding: var(--sp-2xl) 0;
  background: linear-gradient(160deg, var(--clr-bg-dark) 0%, var(--clr-bg-deep) 100%);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(240,180,41,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { max-width: 700px; }
.hero-content h1 { margin-bottom: var(--sp-md); }
.hero-content p  { font-size: 1.05rem; color: var(--clr-text-muted); margin-bottom: var(--sp-xl); }
.hero-cta { display: flex; gap: var(--sp-md); flex-wrap: wrap; }

/* ── Section Wrappers ── */
.section-pad { padding: var(--sp-2xl) 0; }
.section-pad-sm { padding: var(--sp-xl) 0; }

.bg-dark  { background: var(--clr-bg-dark); }
.bg-mid   { background: var(--clr-bg-mid); }
.bg-deep  { background: var(--clr-bg-deep); }

/* Divider accent */
.section-divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--clr-gold), var(--clr-crimson));
  border-radius: 2px;
  margin-bottom: var(--sp-lg);
}

/* ── Cards ── */
.card-grid {
  display: grid;
  gap: var(--sp-lg);
}
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: var(--sp-xl) var(--sp-lg);
  transition: all var(--tr-mid);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-gold), var(--clr-crimson));
  opacity: 0;
  transition: opacity var(--tr-mid);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(240,180,41,0.35);
  box-shadow: var(--shadow-card), var(--shadow-gold);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 52px; height: 52px;
  background: rgba(240,180,41,0.1);
  border: 1px solid rgba(240,180,41,0.25);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-md);
}
.card-icon svg { width: 26px; height: 26px; color: var(--clr-gold); }

.card h3 { margin-bottom: var(--sp-sm); font-size: 1.1rem; }
.card p  { color: var(--clr-text-muted); font-size: 0.9rem; margin-bottom: 0; }

/* Feature card variant */
.feature-card {
  background: var(--clr-bg-card2);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
  display: flex;
  gap: var(--sp-md);
  align-items: flex-start;
  transition: all var(--tr-mid);
}
.feature-card:hover {
  border-color: rgba(240,180,41,0.3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.feature-card .fc-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(240,180,41,0.1);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
}
.feature-card .fc-icon svg { width: 22px; height: 22px; color: var(--clr-gold); }
.feature-card h4 { margin-bottom: 4px; font-size: 1rem; }
.feature-card p  { color: var(--clr-text-muted); font-size: 0.875rem; margin-bottom: 0; }

/* Category card */
.cat-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: var(--sp-xl) var(--sp-lg);
  text-align: center;
  transition: all var(--tr-mid);
  text-decoration: none;
  display: block;
}
.cat-card:hover {
  border-color: var(--clr-gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card), var(--shadow-gold);
}
.cat-card .cat-icon {
  width: 64px; height: 64px;
  margin: 0 auto var(--sp-md);
  background: rgba(240,180,41,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.cat-card .cat-icon svg { width: 32px; height: 32px; color: var(--clr-gold); }
.cat-card h3 { color: var(--clr-white); font-size: 1rem; margin-bottom: 6px; }
.cat-card p  { color: var(--clr-text-muted); font-size: 0.85rem; margin-bottom: 0; }

/* ── Stats Strip ── */
.stats-strip {
  background: linear-gradient(135deg, var(--clr-bg-card), var(--clr-bg-card2));
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  padding: var(--sp-xl) var(--sp-lg);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--sp-lg);
  text-align: center;
}
.stat-item .stat-num {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--clr-gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

/* ── Steps ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-lg);
  counter-reset: step-counter;
}
.step-item {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: var(--sp-xl) var(--sp-lg);
  position: relative;
  counter-increment: step-counter;
}
.step-item::before {
  content: counter(step-counter, decimal-leading-zero);
  position: absolute;
  top: var(--sp-lg); right: var(--sp-lg);
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(240,180,41,0.08);
  line-height: 1;
}
.step-num {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #0d1526;
  margin-bottom: var(--sp-md);
}
.step-item h4 { margin-bottom: 6px; }
.step-item p  { color: var(--clr-text-muted); font-size: 0.875rem; margin-bottom: 0; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: var(--sp-sm); }
.faq-item {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--tr-fast);
}
.faq-item.open { border-color: rgba(240,180,41,0.4); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-md) var(--sp-lg);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--clr-text);
  gap: var(--sp-md);
  user-select: none;
}
.faq-question:hover { color: var(--clr-gold); }
.faq-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: rgba(240,180,41,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--tr-fast), background var(--tr-fast);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(240,180,41,0.2); }
.faq-icon svg { width: 14px; height: 14px; color: var(--clr-gold); }
.faq-answer {
  display: none;
  padding: 0 var(--sp-lg) var(--sp-md);
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}
.faq-item.open .faq-answer { display: block; }

/* ── Breadcrumb ── */
.breadcrumb {
  padding: var(--sp-md) 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--clr-text-dim);
}
.breadcrumb a { color: var(--clr-text-muted); }
.breadcrumb a:hover { color: var(--clr-gold); }
.breadcrumb .sep { color: var(--clr-text-dim); }
.breadcrumb .current { color: var(--clr-gold); }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: linear-gradient(160deg, var(--clr-bg-mid) 0%, var(--clr-bg-deep) 100%);
  padding: var(--sp-2xl) 0 var(--sp-xl);
  border-bottom: 1px solid var(--clr-border);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(240,180,41,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { margin-bottom: var(--sp-sm); }
.page-hero p  { color: var(--clr-text-muted); max-width: 600px; margin-bottom: 0; }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, #1a2850 0%, #0d1526 50%, #1a1a2e 100%);
  border: 1px solid rgba(240,180,41,0.2);
  border-radius: var(--r-xl);
  padding: var(--sp-2xl) var(--sp-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(240,180,41,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { margin-bottom: var(--sp-sm); }
.cta-banner p  { color: var(--clr-text-muted); margin-bottom: var(--sp-xl); max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-banner-btns { display: flex; gap: var(--sp-md); justify-content: center; flex-wrap: wrap; }

/* ── Table ── */
.styled-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.styled-table th {
  background: var(--clr-bg-card2);
  color: var(--clr-gold);
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  border-bottom: 2px solid var(--clr-border);
}
.styled-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--clr-border);
  color: var(--clr-text-muted);
}
.styled-table tr:hover td { background: rgba(240,180,41,0.04); }
.styled-table .check { color: var(--clr-teal); font-weight: 700; }
.styled-table .cross { color: var(--clr-crimson); }

/* ── Promo Cards ── */
.promo-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--tr-mid);
}
.promo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(240,180,41,0.35);
  box-shadow: var(--shadow-card);
}
.promo-card-header {
  background: linear-gradient(135deg, var(--clr-bg-card2), var(--clr-bg-mid));
  padding: var(--sp-xl) var(--sp-lg);
  text-align: center;
  border-bottom: 1px solid var(--clr-border);
  position: relative;
}
.promo-badge {
  position: absolute;
  top: var(--sp-md); right: var(--sp-md);
  background: var(--clr-crimson);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.promo-amount {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--clr-gold);
  line-height: 1;
  margin-bottom: 4px;
}
.promo-card-body { padding: var(--sp-lg); }
.promo-card-body h3 { margin-bottom: var(--sp-sm); font-size: 1rem; }
.promo-card-body p  { color: var(--clr-text-muted); font-size: 0.875rem; margin-bottom: var(--sp-md); }

/* ── Contact Form ── */
.contact-form { display: flex; flex-direction: column; gap: var(--sp-md); }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.875rem; font-weight: 600; color: var(--clr-text-muted); }
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-sm);
  padding: 11px 14px;
  color: var(--clr-text);
  font-size: 0.9rem;
  font-family: var(--font-main);
  transition: border-color var(--tr-fast);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--clr-gold);
  box-shadow: 0 0 0 3px rgba(240,180,41,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-error { color: var(--clr-crimson); font-size: 0.8rem; display: none; }
.form-success {
  background: rgba(6,214,160,0.1);
  border: 1px solid rgba(6,214,160,0.3);
  border-radius: var(--r-md);
  padding: var(--sp-md) var(--sp-lg);
  color: var(--clr-teal);
  display: none;
}

/* ── YouTube Video ── */
.video-section { padding: var(--sp-2xl) 0; }
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  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: 10px; }
.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--clr-text-muted);
  font-size: 0.9rem;
}
.bullet-list li::before {
  content: '';
  flex-shrink: 0;
  width: 8px; height: 8px;
  background: var(--clr-gold);
  border-radius: 50%;
  margin-top: 7px;
}

/* ── Info Box ── */
.info-box {
  background: rgba(240,180,41,0.06);
  border: 1px solid rgba(240,180,41,0.2);
  border-left: 4px solid var(--clr-gold);
  border-radius: var(--r-sm);
  padding: var(--sp-md) var(--sp-lg);
  color: var(--clr-text-muted);
  font-size: 0.9rem;
}
.info-box.crimson {
  background: rgba(230,57,70,0.06);
  border-color: rgba(230,57,70,0.2);
  border-left-color: var(--clr-crimson);
}
.info-box.teal {
  background: rgba(6,214,160,0.06);
  border-color: rgba(6,214,160,0.2);
  border-left-color: var(--clr-teal);
}

/* ── Two-column layout ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2xl);
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col.reverse { direction: ltr; }
}

/* ── Policy / Terms content ── */
.policy-content h2 { margin-top: var(--sp-xl); margin-bottom: var(--sp-sm); font-size: 1.3rem; }
.policy-content h3 { margin-top: var(--sp-lg); margin-bottom: var(--sp-sm); font-size: 1.05rem; color: var(--clr-gold); }
.policy-content p  { color: var(--clr-text-muted); font-size: 0.9rem; }
.policy-content ul { margin: var(--sp-sm) 0 var(--sp-md) var(--sp-lg); }
.policy-content ul li { color: var(--clr-text-muted); font-size: 0.9rem; list-style: disc; margin-bottom: 6px; }

/* ── Contact Info Block ── */
.contact-info-block { display: flex; flex-direction: column; gap: var(--sp-md); }
.contact-info-item { display: flex; gap: var(--sp-md); align-items: flex-start; }
.ci-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: rgba(240,180,41,0.1);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
}
.ci-icon svg { width: 20px; height: 20px; color: var(--clr-gold); }
.ci-text strong { display: block; font-size: 0.8rem; color: var(--clr-text-dim); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 2px; }
.ci-text span { color: var(--clr-text); font-size: 0.9rem; }

/* ── Back to Top ── */
#back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 16px rgba(240,180,41,0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--tr-mid);
  z-index: 999;
}
#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover { transform: translateY(-3px); box-shadow: 0 6px 22px rgba(240,180,41,0.55); }
#back-to-top svg { width: 20px; height: 20px; color: #0d1526; }

/* ── Footer ── */
#site-footer {
  background: var(--clr-bg-dark);
  border-top: 1px solid var(--clr-border);
  padding: var(--sp-2xl) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--sp-xl);
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid var(--clr-border);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand p { color: var(--clr-text-muted); font-size: 0.875rem; margin-top: var(--sp-md); max-width: 280px; }
.footer-logo { margin-bottom: var(--sp-md); }
.footer-logo svg { height: 40px; width: auto; max-width: 160px; }

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-gold);
  margin-bottom: var(--sp-md);
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  color: var(--clr-text-muted);
  font-size: 0.875rem;
  transition: color var(--tr-fast);
}
.footer-col ul li a:hover { color: var(--clr-gold); }

/* Footer contact */
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-item { font-size: 0.875rem; color: var(--clr-text-muted); line-height: 1.5; }
.footer-contact-item strong { color: var(--clr-text-dim); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; display: block; margin-bottom: 2px; }
.footer-contact-item a { color: var(--clr-text-muted); }
.footer-contact-item a:hover { color: var(--clr-gold); }

.footer-bottom {
  padding: var(--sp-lg) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-md);
}
.footer-bottom p { color: var(--clr-text-dim); font-size: 0.8rem; margin-bottom: 0; }
.footer-bottom-links { display: flex; gap: var(--sp-md); flex-wrap: wrap; }
.footer-bottom-links a { color: var(--clr-text-dim); font-size: 0.8rem; }
.footer-bottom-links a:hover { color: var(--clr-gold); }

/* ── 404 Page ── */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-2xl) var(--sp-lg);
}
.error-code {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-crimson));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--sp-md);
}
.error-page h2 { margin-bottom: var(--sp-md); }
.error-page p  { color: var(--clr-text-muted); margin-bottom: var(--sp-xl); }
.error-links { display: flex; gap: var(--sp-md); justify-content: center; flex-wrap: wrap; }

/* ── Tabs ── */
.tabs-nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--clr-border);
  margin-bottom: var(--sp-xl);
  flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 20px;
  background: none;
  border: none;
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--tr-fast);
  font-family: var(--font-main);
}
.tab-btn:hover { color: var(--clr-gold); }
.tab-btn.active { color: var(--clr-gold); border-bottom-color: var(--clr-gold); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Highlight text ── */
.text-gold   { color: var(--clr-gold); }
.text-crimson{ color: var(--clr-crimson); }
.text-teal   { color: var(--clr-teal); }
.text-muted  { color: var(--clr-text-muted); }

/* ── Responsive helpers ── */
@media (max-width: 768px) {
  .section-pad  { padding: var(--sp-xl) 0; }
  .section-pad-sm { padding: var(--sp-lg) 0; }
  .hero-section { padding: var(--sp-xl) 0; }
  .cta-banner   { padding: var(--sp-xl) var(--sp-lg); }
  .stats-strip  { grid-template-columns: repeat(2, 1fr); }
  .header-inner { height: 56px; }
  .header-cta .btn { padding: 8px 14px; font-size: 0.82rem; }
}

@media (max-width: 480px) {
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .hero-cta    { flex-direction: column; }
  .cta-banner-btns { flex-direction: column; align-items: center; }
}

/* ── Decorative grid bg ── */
.grid-bg {
  background-image:
    linear-gradient(rgba(31,48,96,0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,48,96,0.4) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ── Glow accent ── */
.glow-gold {
  box-shadow: 0 0 30px rgba(240,180,41,0.15), 0 0 60px rgba(240,180,41,0.08);
}

/* ── Skew divider ── */
.skew-divider {
  height: 60px;
  background: var(--clr-bg-dark);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 60%);
}
.skew-divider.reverse {
  clip-path: polygon(0 0, 100% 40%, 100% 100%, 0 100%);
}
