/* ============================================================
   BAJI LIVE 666 - Global Stylesheet
   Domain: www.bajilive-666.com
   ============================================================ */

/* ---- CSS Variables / Design System ---- */
:root {
  --color-primary: #d4a017;
  --color-primary-light: #f0c040;
  --color-primary-dark: #a07010;
  --color-accent: #e84040;
  --color-accent2: #4a90d9;
  --color-success: #40c040;

  --bg-darkest: #060c18;
  --bg-dark: #0a0f1e;
  --bg-mid: #0d1f3c;
  --bg-card: #111d35;
  --bg-card-hover: #162440;
  --bg-section-alt: #0f1a30;

  --text-primary: #e8edf8;
  --text-secondary: #a0b4cc;
  --text-muted: #6a7f99;
  --text-gold: #f0c040;
  --text-dark: #0a0f1e;

  --border-gold: rgba(212, 160, 23, 0.4);
  --border-blue: rgba(74, 144, 217, 0.3);
  --border-card: rgba(255, 255, 255, 0.08);

  --shadow-gold: 0 0 20px rgba(212, 160, 23, 0.3);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-btn: 0 4px 16px rgba(212, 160, 23, 0.4);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --header-height: 72px;
  --logo-height: 44px;
  --logo-height-mobile: 36px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-stack);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--color-primary-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-primary); }

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }

p { margin-bottom: 1rem; color: var(--text-secondary); }

/* ---- Container ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-register {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: var(--text-dark);
  box-shadow: var(--shadow-btn);
}
.btn-register:hover {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 160, 23, 0.55);
}

.btn-login {
  background: transparent;
  color: var(--color-primary-light);
  border: 2px solid var(--color-primary);
}
.btn-login:hover {
  background: rgba(212, 160, 23, 0.15);
  color: var(--color-primary-light);
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: var(--text-dark);
  padding: 14px 32px;
  font-size: 1rem;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(212, 160, 23, 0.5);
  color: var(--text-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary-light);
  border: 2px solid var(--color-primary);
  padding: 12px 28px;
  font-size: 0.95rem;
}
.btn-secondary:hover {
  background: rgba(212, 160, 23, 0.12);
  color: var(--color-primary-light);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--color-accent), #c02020);
  color: #fff;
  padding: 14px 32px;
  font-size: 1rem;
}
.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(232, 64, 64, 0.4);
  color: #fff;
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 12, 24, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

/* Logo */
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo svg,
.site-logo img {
  height: var(--logo-height);
  width: auto;
  max-width: 180px;
  display: block;
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--color-primary-light);
  background: rgba(212, 160, 23, 0.1);
}

/* Header CTA buttons */
.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: 8px;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.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); }

/* ---- Banner ---- */
.home-banner {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: var(--bg-darkest);
  max-height: 480px;
}

.home-banner img,
.home-banner svg {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ---- Breadcrumb ---- */
.breadcrumb-bar {
  background: var(--bg-section-alt);
  border-bottom: 1px solid var(--border-card);
  padding: 12px 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--color-primary-light); }
.breadcrumb .sep { color: var(--text-muted); }
.breadcrumb .current { color: var(--color-primary-light); font-weight: 600; }

/* ---- Section Styles ---- */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-section-alt);
}

.section-dark {
  background: var(--bg-darkest);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(212, 160, 23, 0.12);
  border: 1px solid var(--border-gold);
  padding: 4px 14px;
  border-radius: var(--radius-xl);
  margin-bottom: 14px;
}

/* ---- Hero Section ---- */
.hero-section {
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212,160,23,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(74,144,217,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Cards ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all 0.3s ease;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(212, 160, 23, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
}

.card h3 {
  margin-bottom: 10px;
  color: var(--text-primary);
}

.card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ---- 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; }

/* ---- Feature Cards ---- */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover::before { opacity: 1; }

.feature-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  color: var(--color-primary-light);
  margin-bottom: 10px;
}

/* ---- Stats Section ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  padding: 28px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--color-primary-light);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ---- Category Cards ---- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
  display: block;
}

.category-card:hover {
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold);
}

.category-card .cat-icon {
  font-size: 2.8rem;
  margin-bottom: 14px;
  display: block;
}

.category-card h3 {
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 6px;
}

.category-card p {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin: 0;
}

/* ---- FAQ ---- */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open {
  border-color: var(--border-gold);
}

.faq-question {
  width: 100%;
  background: var(--bg-card);
  border: none;
  padding: 20px 24px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-stack);
  transition: background 0.2s;
}

.faq-question:hover { background: var(--bg-card-hover); }

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(212, 160, 23, 0.15);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--color-primary-light);
  transition: transform 0.3s;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-answer p { margin-bottom: 0; color: var(--text-secondary); }

/* ---- Steps ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.step-item {
  text-align: center;
  padding: 24px 16px;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: var(--text-dark);
  font-size: 1.3rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-btn);
}

.step-item h3 {
  color: var(--text-primary);
  margin-bottom: 8px;
  font-size: 1rem;
}

.step-item p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin: 0;
}

/* ---- Promo Cards ---- */
.promo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s;
}

.promo-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.promo-badge {
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  color: var(--text-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 16px;
  display: inline-block;
}

.promo-body {
  padding: 24px;
}

.promo-body h3 {
  color: var(--color-primary-light);
  margin-bottom: 10px;
}

.promo-body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

/* ---- Table ---- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.compare-table th {
  background: rgba(212, 160, 23, 0.15);
  color: var(--color-primary-light);
  padding: 14px 20px;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border-gold);
}

.compare-table td {
  padding: 14px 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-card);
}

.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--bg-card-hover); }

/* ---- YouTube Video ---- */
.video-section { padding: 72px 0; }

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-gold);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-mid) 0%, var(--bg-darkest) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(212,160,23,0.15) 0%, transparent 70%);
}

.cta-banner h2 {
  color: var(--text-primary);
  margin-bottom: 14px;
}

.cta-banner p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Long Content ---- */
.long-content h2 {
  color: var(--color-primary-light);
  margin: 36px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-gold);
}

.long-content h3 {
  color: var(--text-primary);
  margin: 24px 0 12px;
}

.long-content p {
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 16px;
}

.long-content ul {
  list-style: none;
  margin: 16px 0 24px;
}

.long-content ul li {
  color: var(--text-secondary);
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 0.95rem;
}

.long-content ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

/* ---- Bullet Points (Featured Snippet) ---- */
.bullet-list {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin: 24px 0;
}

.bullet-list h3 {
  color: var(--color-primary-light);
  margin-bottom: 16px;
}

.bullet-list ul {
  list-style: none;
}

.bullet-list ul li {
  color: var(--text-secondary);
  padding: 8px 0 8px 28px;
  position: relative;
  border-bottom: 1px solid var(--border-card);
  font-size: 0.95rem;
}

.bullet-list ul li:last-child { border-bottom: none; }

.bullet-list ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
}

/* ---- Contact Form ---- */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg-mid);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-stack);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-primary);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-error {
  color: var(--color-accent);
  font-size: 0.82rem;
  margin-top: 4px;
  display: none;
}

.form-error.show { display: block; }

/* ---- Policy Content ---- */
.policy-content {
  max-width: 860px;
  margin: 0 auto;
}

.policy-content h2 {
  color: var(--color-primary-light);
  margin: 40px 0 16px;
  font-size: 1.4rem;
}

.policy-content h3 {
  color: var(--text-primary);
  margin: 28px 0 12px;
  font-size: 1.1rem;
}

.policy-content p {
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 16px;
}

.policy-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
}

.policy-content ul li {
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.7;
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--bg-darkest) 0%, var(--bg-mid) 100%);
  border-bottom: 1px solid var(--border-gold);
  padding: 56px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at center, rgba(212,160,23,0.06) 0%, transparent 70%);
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
}

.page-hero h1 span {
  color: var(--color-primary-light);
}

.page-hero p {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-secondary);
}

/* ---- Info Box ---- */
.info-box {
  background: rgba(74, 144, 217, 0.08);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
}

.info-box p { color: var(--text-secondary); margin: 0; }

.warning-box {
  background: rgba(232, 64, 64, 0.08);
  border: 1px solid rgba(232, 64, 64, 0.3);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
}

.warning-box p { color: var(--text-secondary); margin: 0; }

/* ---- Related Links ---- */
.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.related-link {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 8px 20px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  transition: all 0.2s;
}

.related-link:hover {
  border-color: var(--border-gold);
  color: var(--color-primary-light);
  background: var(--bg-card-hover);
}

/* ---- Back to Top ---- */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: var(--text-dark);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: var(--shadow-btn);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(212, 160, 23, 0.5);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--bg-darkest);
  border-top: 1px solid var(--border-gold);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .site-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.footer-col h4 {
  color: var(--color-primary-light);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--color-primary-light);
}

/* Footer contact info */
.footer-contact-info {
  list-style: none;
}

.footer-contact-info li {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-contact-info li strong {
  color: var(--text-secondary);
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.footer-contact-info li a {
  color: var(--text-muted);
}

.footer-contact-info li a:hover {
  color: var(--color-primary-light);
}

.footer-bottom {
  border-top: 1px solid var(--border-card);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.footer-bottom-links a:hover {
  color: var(--color-primary-light);
}

/* ---- 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: 8rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

/* ---- Tabs ---- */
.tabs-nav {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border-card);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.tab-btn {
  background: none;
  border: none;
  padding: 12px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  font-family: var(--font-stack);
}

.tab-btn:hover { color: var(--text-primary); }

.tab-btn.active {
  color: var(--color-primary-light);
  border-bottom-color: var(--color-primary);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---- Highlight Text ---- */
.text-gold { color: var(--color-primary-light); }
.text-accent { color: var(--color-accent); }
.text-success { color: var(--color-success); }

/* ---- Divider ---- */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
  margin: 48px 0;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .grid-4, .category-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --logo-height: var(--logo-height-mobile);
  }

  .site-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(6, 12, 24, 0.98);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    border-bottom: 1px solid var(--border-gold);
    z-index: 999;
  }

  .site-nav.open { display: flex; }

  .site-nav a {
    padding: 12px 16px;
    width: 100%;
    font-size: 1rem;
  }

  .menu-toggle { display: flex; }

  .header-cta {
    gap: 8px;
  }

  .header-cta .btn {
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4, .category-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .section { padding: 48px 0; }
  .hero-section { padding: 48px 0 40px; }

  .cta-banner { padding: 36px 20px; }

  .home-banner { max-height: 280px; }

  .contact-form { padding: 24px 20px; }
}

@media (max-width: 480px) {
  .grid-4, .category-grid, .stats-grid { grid-template-columns: 1fr; }
  .hero-cta, .cta-buttons { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary, .btn-accent { width: 100%; max-width: 300px; }
  .error-code { font-size: 5rem; }
}
