/* ============================================================
   BAJI GAME 365 - Global Stylesheet
   Domain: bajigame365.com
   Design System: Dark Gold Casino Theme
   ============================================================ */

/* ---- CSS Variables / Design Tokens ---- */
:root {
  --color-primary: #c8a84b;
  --color-primary-light: #ffe680;
  --color-primary-dark: #8b5e1a;
  --color-accent: #e63946;
  --color-accent-dark: #9b1a24;
  --color-bg-deep: #07070f;
  --color-bg-dark: #0d0d1a;
  --color-bg-mid: #12122a;
  --color-bg-card: #1a1a30;
  --color-bg-card-hover: #22223a;
  --color-bg-section-alt: #0f0f22;
  --color-text-primary: #f0ead6;
  --color-text-secondary: #b8a87a;
  --color-text-muted: #7a7a9a;
  --color-border: rgba(200, 168, 75, 0.25);
  --color-border-strong: rgba(200, 168, 75, 0.5);
  --color-white: #ffffff;
  --color-success: #2ecc71;
  --color-warning: #f39c12;

  --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.4), 0 1px 4px rgba(200,168,75,0.1);
  --shadow-card-hover: 0 8px 40px rgba(0,0,0,0.6), 0 2px 8px rgba(200,168,75,0.2);
  --shadow-btn: 0 4px 16px rgba(200,168,75,0.3);
  --shadow-btn-hover: 0 6px 24px rgba(200,168,75,0.5);
  --shadow-glow: 0 0 30px rgba(200,168,75,0.15);

  --header-height: 72px;
  --transition: 0.25s ease;
}

/* ---- 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(--color-bg-deep);
  color: var(--color-text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-light);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 700;
  color: var(--color-text-primary);
}

p {
  margin-bottom: 1rem;
  color: var(--color-text-secondary);
}

/* ---- Container ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Section Spacing ---- */
.section {
  padding: 80px 0;
}

.section-sm {
  padding: 48px 0;
}

.section-alt {
  background-color: var(--color-bg-section-alt);
}

.section-dark {
  background-color: var(--color-bg-mid);
}

/* ---- Section Header ---- */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--color-primary-light);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  margin: 12px auto 0;
  border-radius: var(--radius-full);
}

.section-header p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(7, 7, 15, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(7, 7, 15, 0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 16px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  cursor: default;
  pointer-events: none;
}

.site-logo svg {
  width: 44px;
  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.2rem;
  font-weight: 900;
  color: var(--color-primary-light);
  letter-spacing: 0.5px;
}

.logo-text .logo-sub {
  font-size: 0.65rem;
  color: var(--color-text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-primary-light);
  background: rgba(200, 168, 75, 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;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 7, 15, 0.98);
  z-index: 999;
  padding: 24px 20px;
  overflow-y: auto;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  display: block;
  padding: 14px 16px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.mobile-nav a:hover {
  color: var(--color-primary-light);
  background: rgba(200, 168, 75, 0.08);
  border-color: var(--color-border-strong);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.btn-register {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-bg-deep);
  box-shadow: var(--shadow-btn);
}

.btn-register:hover {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: var(--color-bg-deep);
  box-shadow: var(--shadow-btn-hover);
  transform: translateY(-1px);
}

.btn-login {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

.btn-login:hover {
  background: rgba(200, 168, 75, 0.12);
  color: var(--color-primary-light);
  border-color: var(--color-primary-light);
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-bg-deep);
  padding: 14px 32px;
  font-size: 1rem;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: var(--color-bg-deep);
  box-shadow: var(--shadow-btn-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  padding: 12px 28px;
  font-size: 1rem;
}

.btn-secondary:hover {
  background: rgba(200, 168, 75, 0.1);
  color: var(--color-primary-light);
  border-color: var(--color-primary-light);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: #fff;
  padding: 14px 32px;
  font-size: 1rem;
}

.btn-accent:hover {
  background: linear-gradient(135deg, #ff4d5a, var(--color-accent));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(230, 57, 70, 0.4);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.1rem;
}

/* ============================================================
   HERO / BANNER SECTION
   ============================================================ */
.page-hero {
  margin-top: var(--header-height);
  position: relative;
  overflow: hidden;
}

.home-banner-wrap {
  margin-top: var(--header-height);
  width: 100%;
  overflow: hidden;
  position: relative;
  background: var(--color-bg-deep);
  max-height: 520px;
}

.home-banner-wrap img,
.home-banner-wrap svg {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.inner-hero {
  margin-top: var(--header-height);
  padding: 80px 0 60px;
  background: linear-gradient(135deg, var(--color-bg-deep) 0%, var(--color-bg-mid) 100%);
  position: relative;
  overflow: hidden;
}

.inner-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200,168,75,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.inner-hero .breadcrumb {
  margin-bottom: 20px;
}

.inner-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--color-primary-light);
  margin-bottom: 16px;
}

.inner-hero p.lead {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 700px;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.breadcrumb a {
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.breadcrumb .sep {
  color: var(--color-border-strong);
}

.breadcrumb .current {
  color: var(--color-primary);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  background: var(--color-bg-card-hover);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(200,168,75,0.15), rgba(200,168,75,0.05));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
}

.card h3 {
  font-size: 1.1rem;
  color: var(--color-primary-light);
  margin-bottom: 10px;
}

.card p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  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;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
  background: linear-gradient(135deg, var(--color-bg-mid), var(--color-bg-card));
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--color-primary-light);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ============================================================
   FEATURE CATEGORIES
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  transition: all var(--transition);
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
}

.category-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 var(--transition);
}

.category-card:hover {
  background: var(--color-bg-card-hover);
  border-color: var(--color-border-strong);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.category-card:hover::before {
  opacity: 1;
}

.category-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
  display: block;
}

.category-card h3 {
  font-size: 1rem;
  color: var(--color-primary-light);
  margin-bottom: 8px;
}

.category-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open {
  border-color: var(--color-border-strong);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  background: var(--color-bg-card);
  transition: background var(--transition);
  gap: 16px;
}

.faq-question:hover {
  background: var(--color-bg-card-hover);
}

.faq-question h3 {
  font-size: 1rem;
  color: var(--color-text-primary);
  font-weight: 600;
  flex: 1;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(200,168,75,0.1);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  font-size: 1.2rem;
  color: var(--color-primary);
  line-height: 1;
}

.faq-item.open .faq-icon {
  background: var(--color-primary);
  color: var(--color-bg-deep);
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  background: var(--color-bg-card);
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--color-bg-mid) 0%, #1a0a2e 50%, var(--color-bg-mid) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
  padding: 80px 0;
  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(200,168,75,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--color-primary-light);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto 32px;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   YOUTUBE VIDEO MODULE
   ============================================================ */
.video-section {
  padding: 80px 0;
  background: var(--color-bg-section-alt);
}

.video-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.video-header {
  text-align: center;
  margin-bottom: 32px;
}

.video-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--color-primary-light);
  margin-bottom: 12px;
}

.video-header p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius-lg);
}

/* ============================================================
   CONTENT SECTIONS (Long-form)
   ============================================================ */
.content-section {
  padding: 64px 0;
}

.content-section h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--color-primary-light);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.content-section h3 {
  font-size: 1.2rem;
  color: var(--color-primary);
  margin: 28px 0 12px;
}

.content-section p {
  font-size: 0.97rem;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.content-section ul,
.content-section ol {
  margin: 16px 0 20px 0;
  padding-left: 0;
}

.content-section ul li,
.content-section ol li {
  position: relative;
  padding: 6px 0 6px 24px;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.content-section ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-size: 0.85rem;
  top: 8px;
}

.content-section ol {
  counter-reset: list-counter;
}

.content-section ol li {
  counter-increment: list-counter;
}

.content-section ol li::before {
  content: counter(list-counter) '.';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.9rem;
  top: 6px;
}

/* Highlight Box */
.highlight-box {
  background: linear-gradient(135deg, rgba(200,168,75,0.08), rgba(200,168,75,0.03));
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
}

.highlight-box p {
  margin-bottom: 0;
  color: var(--color-text-secondary);
}

/* Warning Box */
.warning-box {
  background: rgba(230, 57, 70, 0.06);
  border: 1px solid rgba(230, 57, 70, 0.2);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
}

.warning-box p {
  margin-bottom: 0;
  color: var(--color-text-secondary);
}

/* ============================================================
   STEPS / PROCESS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.step-item {
  text-align: center;
  padding: 28px 20px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  position: relative;
  transition: all var(--transition);
}

.step-item:hover {
  border-color: var(--color-border-strong);
  transform: translateY(-4px);
}

.step-number {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--color-bg-deep);
  margin: 0 auto 16px;
}

.step-item h3 {
  font-size: 1rem;
  color: var(--color-primary-light);
  margin-bottom: 8px;
}

.step-item p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.compare-table th {
  background: var(--color-bg-card);
  color: var(--color-primary-light);
  padding: 16px 20px;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 700;
  border-bottom: 1px solid var(--color-border);
}

.compare-table td {
  padding: 14px 20px;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  border-bottom: 1px solid rgba(200,168,75,0.08);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table tr:nth-child(even) td {
  background: rgba(200,168,75,0.03);
}

.compare-table .check {
  color: var(--color-success);
  font-weight: 700;
}

.compare-table .cross {
  color: var(--color-accent);
}

/* ============================================================
   PROMOTION CARDS
   ============================================================ */
.promo-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.promo-card:hover {
  border-color: var(--color-border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.promo-card-header {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-bg-mid));
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}

.promo-card-header::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: rgba(255,230,128,0.08);
  border-radius: 50%;
}

.promo-badge {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.promo-card-header h3 {
  font-size: 1.3rem;
  color: var(--color-primary-light);
  margin-bottom: 6px;
}

.promo-amount {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-primary-light);
  line-height: 1;
}

.promo-card-body {
  padding: 24px;
}

.promo-card-body p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--color-bg-mid);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--color-text-primary);
  font-family: var(--font-stack);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(200,168,75,0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-error {
  display: none;
  font-size: 0.82rem;
  color: var(--color-accent);
  margin-top: 6px;
}

.form-success {
  display: none;
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.3);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: var(--color-success);
  font-size: 0.95rem;
  margin-top: 16px;
}

/* ============================================================
   TRUST BADGES
   ============================================================ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.trust-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 48px;
  text-align: center;
}

.trust-item h4 {
  font-size: 0.95rem;
  color: var(--color-primary-light);
  margin-bottom: 4px;
}

.trust-item p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* ============================================================
   TABS
   ============================================================ */
.tabs-nav {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 32px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs-nav::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  font-family: var(--font-stack);
}

.tab-btn:hover {
  color: var(--color-primary);
}

.tab-btn.active {
  color: var(--color-primary-light);
  border-bottom-color: var(--color-primary);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* ============================================================
   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-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 900;
  border: none;
  box-shadow: var(--shadow-btn);
  color: var(--color-bg-deep);
  font-size: 1.2rem;
  font-weight: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-btn-hover);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-bg-deep);
  border-top: 1px solid var(--color-border);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--color-border);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand .footer-logo svg {
  width: 40px;
  height: 40px;
  max-height: 40px;
}

.footer-brand .footer-logo-text {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--color-primary-light);
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--color-primary-light);
}

/* Footer Contact Info */
.footer-contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-info li {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
  font-size: 0.88rem;
}

.footer-contact-info li .contact-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 3px;
}

.footer-contact-info li .contact-value {
  color: var(--color-text-muted);
  line-height: 1.5;
}

.footer-contact-info li a.contact-value {
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.footer-contact-info li a.contact-value:hover {
  color: var(--color-primary-light);
}

/* Footer Bottom */
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--color-primary);
}

/* ============================================================
   POLICY PAGES
   ============================================================ */
.policy-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 0;
}

.policy-content h2 {
  font-size: 1.5rem;
  color: var(--color-primary-light);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}

.policy-content h3 {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin: 24px 0 10px;
}

.policy-content p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.policy-content ul {
  margin: 12px 0 20px;
  padding-left: 0;
}

.policy-content ul li {
  position: relative;
  padding: 5px 0 5px 22px;
  font-size: 0.93rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.policy-content ul li::before {
  content: '•';
  position: absolute;
  left: 6px;
  color: var(--color-primary);
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  background: var(--color-bg-deep);
}

.error-content {
  max-width: 560px;
}

.error-code {
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.8;
}

.error-content h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--color-primary-light);
  margin-bottom: 16px;
}

.error-content p {
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.error-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   RELATED LINKS SECTION
   ============================================================ */
.related-section {
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
}

.related-section h3 {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.related-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.related-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  transition: all var(--transition);
}

.related-links a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-light);
  background: rgba(200,168,75,0.08);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4,
  .category-grid,
  .stats-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .category-grid,
  .stats-grid,
  .steps-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-buttons .btn {
    text-align: center;
  }

  .contact-form {
    padding: 24px 20px;
  }

  .section {
    padding: 56px 0;
  }

  .home-banner-wrap {
    max-height: 280px;
  }

  .home-banner-wrap img,
  .home-banner-wrap svg {
    max-height: 280px;
  }

  .header-cta .btn {
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  .site-logo svg {
    width: 36px;
    height: 36px;
    max-height: 36px;
  }

  .logo-text .logo-main {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 40px 0;
  }

  .card {
    padding: 20px;
  }

  .home-banner-wrap {
    max-height: 200px;
  }

  .home-banner-wrap img,
  .home-banner-wrap svg {
    max-height: 200px;
  }

  .header-cta {
    gap: 6px;
  }

  .header-cta .btn {
    padding: 7px 12px;
    font-size: 0.78rem;
  }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-gold { color: var(--color-primary-light); }
.text-muted { color: var(--color-text-muted); }
.text-accent { color: var(--color-accent); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-16 { gap: 16px; }
.w-100 { width: 100%; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
