/* ============================================================
   AFFILIATE HUB - Videos From Santa
   ============================================================ */

:root {
  /* Brand Colors */
  --cta: #BB2528;
  --cta-dark: #9a1f21;
  --success: #2F6F4E;
  --accent: #5a9e72;
  --gold: #F8B229;

  /* Dark Theme */
  --bg-page: #0c1220;
  --bg-card: #151d2e;
  --bg-code: #0a0f1a;

  /* Text */
  --text-white: #ffffff;
  --text-light: #f1f5f9;
  --text-body: #c8d4e6;
  --text-muted: #7a8ba3;

  /* Typography */
  --font-display: 'Nunito', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --sp-1: 0.5rem;
  --sp-2: 0.75rem;
  --sp-3: 1rem;
  --sp-4: 1.5rem;
  --sp-5: 2rem;
  --sp-6: 2.5rem;
  --sp-7: 3rem;
  --sp-8: 4rem;

  /* Radius */
  --radius: 8px;
  --radius-lg: 12px;

  /* Layout */
  --sidebar-w: 220px;
  --content-max: 1200px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scrollbar-color: rgba(255, 255, 255, 0.15) var(--bg-page);
  scrollbar-width: thin;
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-page); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.25); }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-white);
  margin: 0 0 var(--sp-3) 0;
}

h1 { font-size: 2.75rem; font-weight: 800; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; font-weight: 600; }

p {
  margin: 0 0 var(--sp-4) 0;
  font-size: 1.0625rem;
  line-height: 1.7;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--text-light);
}

strong {
  font-weight: 600;
  color: var(--text-light);
}

ul, ol {
  margin: 0 0 var(--sp-4) 0;
  padding-left: var(--sp-5);
}

li {
  margin-bottom: var(--sp-2);
  font-size: 1.0625rem;
  line-height: 1.7;
}

code {
  font-family: 'Monaco', 'Consolas', monospace;
  font-size: 0.9375rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 15px 30px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s ease;
  text-decoration: none;
  line-height: 1;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cta) 0%, var(--cta-dark) 100%);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--cta-dark) 0%, #7a1a1c 100%);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
}

.btn-sm {
  font-size: 0.9375rem;
  padding: 12px 22px;
}

.btn-lg {
  font-size: 1.0625rem;
  padding: 18px 36px;
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.badge.bg-primary,
.badge.bg-cta {
  background: rgba(187, 37, 40, 0.15) !important;
  color: var(--cta) !important;
}

.badge.bg-success,
.badge.bg-teal {
  background: rgba(47, 111, 78, 0.15) !important;
  color: var(--success) !important;
}

.badge.bg-gold {
  background: rgba(248, 178, 41, 0.15) !important;
  color: var(--gold) !important;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--bg-card);
  overflow-y: auto;
  z-index: 100;
  padding: var(--sp-4) var(--sp-3);
}

.sidebar-logo {
  display: block;
  margin-bottom: var(--sp-5);
  padding: 0 var(--sp-2);
}

.sidebar-logo img {
  max-width: 150px;
  height: auto;
}

.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav li {
  margin-bottom: 2px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.sidebar-nav a:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-light);
}

.sidebar-nav a.active {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-white);
}

.sidebar-nav svg {
  width: 16px;
  height: 16px;
  opacity: 0.5;
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.main-content {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
}

.content-wrapper {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--sp-7) var(--sp-6);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  margin-bottom: var(--sp-8);
}

.section-header {
  margin-bottom: var(--sp-5);
}

.section-title {
  font-size: 2rem;
  margin-bottom: var(--sp-2);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================
   HERO
   ============================================================ */
.hero-video-combined {
  margin-bottom: var(--sp-8);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-7);
  align-items: center;
  margin-bottom: var(--sp-5);
}

.hero-kicker {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: var(--sp-3);
}

.hero-content h1 {
  font-size: 3.25rem;
  margin-bottom: var(--sp-4);
  line-height: 1.1;
}

.hero-subhead {
  font-size: 1.1875rem;
  color: var(--text-body);
  margin-bottom: var(--sp-5);
  line-height: 1.6;
}

.hero-video {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.video-embed-container {
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.3);
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.video-thumbnail {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.festive-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 10;
}

.play-btn-outer {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.play-btn-outer:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.play-btn-inner {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--red-primary, #c41e3a);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn-icon {
  width: 0;
  height: 0;
  border-left: 20px solid white;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.video-placeholder svg {
  width: 64px;
  height: 64px;
  margin-bottom: var(--sp-3);
  opacity: 0.3;
}

.video-caption {
  padding: var(--sp-4);
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
}

.hero-stats-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  color: var(--text-body);
}

.stat-pill svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  opacity: 0.7;
}

.stat-pill strong {
  color: var(--text-light);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--bg-card) !important;
  border: none !important;
  border-radius: var(--radius-lg) !important;
  padding: var(--sp-5) !important;
  margin-bottom: var(--sp-4);
  color: var(--text-body) !important;
}

.card-header {
  background: transparent !important;
  border: none !important;
  padding: 0 0 var(--sp-4) 0 !important;
  margin-bottom: var(--sp-4) !important;
}

.card-body {
  padding: 0 !important;
}

.card-title {
  font-size: 1.375rem !important;
  font-weight: 700 !important;
  color: var(--text-white) !important;
  margin-bottom: var(--sp-2) !important;
}

.card-subtitle {
  font-size: 1rem !important;
  color: var(--text-muted) !important;
}

.card p {
  font-size: 1.0625rem;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-list li {
  position: relative;
  padding-left: var(--sp-4);
  margin-bottom: var(--sp-2);
  font-size: 1rem;
}

.card-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

/* ============================================================
   5 REASONS - Numbers as text only, no boxes
   ============================================================ */
.reasons-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.reason-item {
  display: flex;
  gap: var(--sp-5);
  padding: var(--sp-5);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  align-items: flex-start;
}

.reason-number {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--success);
  min-width: 50px;
}

.reason-content h3 {
  font-size: 1.25rem;
  margin-bottom: var(--sp-2);
}

.reason-content p {
  margin: 0;
  font-size: 1.0625rem;
}

/* ============================================================
   GRIDS
   ============================================================ */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}

/* ============================================================
   TABS - Full width, subtle active state
   ============================================================ */
.nav-tabs {
  display: flex !important;
  border: none !important;
  margin-bottom: var(--sp-3);
}

.nav-tabs .nav-item {
  flex: 1;
}

.nav-tabs .nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: rgba(255, 255, 255, 0.03) !important;
  border: none !important;
  border-radius: 0 !important;
  color: var(--text-muted) !important;
  font-size: 0.9375rem !important;
  font-weight: 500 !important;
  padding: 14px 20px !important;
  transition: all 0.15s ease;
}

.nav-tabs .nav-item:first-child .nav-link {
  border-radius: var(--radius) 0 0 var(--radius) !important;
}

.nav-tabs .nav-item:last-child .nav-link {
  border-radius: 0 var(--radius) var(--radius) 0 !important;
}

.nav-tabs .nav-link:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--text-body) !important;
}

.nav-tabs .nav-link.active {
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--text-white) !important;
  font-weight: 600 !important;
}

.nav-tabs .nav-link svg {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

.tab-content {
  padding-top: 0;
}

/* ============================================================
   CODE BLOCKS
   ============================================================ */
.code-block {
  position: relative;
  background: var(--bg-code);
  border-radius: var(--radius);
  padding: var(--sp-5);
  overflow-x: auto;
}

.code-block code {
  display: block;
  font-size: 0.9375rem;
  color: var(--text-body);
  white-space: pre-wrap;
  word-break: break-word;
  background: transparent;
}

.code-copy-btn {
  position: absolute;
  top: var(--sp-2);
  right: var(--sp-2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  border: none;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
}

.code-copy-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-light);
}

.code-copy-btn.copied {
  background: rgba(47, 111, 78, 0.25);
  color: var(--success);
}

/* ============================================================
   PRELANDERS
   ============================================================ */
.prelander-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--sp-4);
}

@media (min-width: 1024px) {
  .prelander-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .prelander-grid {
    grid-template-columns: 1fr;
  }
}

.prelander-item {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
}

.prelander-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: var(--sp-3);
}

.prelander-variants {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.prelander-link {
  background: var(--bg-card);
  border: 2px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  width: 100%;
}

.prelander-link:hover {
  border-color: var(--cta);
  background: rgba(196, 30, 58, 0.1);
  transform: translateY(-2px);
  color: var(--text-light);
}

.prelander-link i {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.word-count {
  font-size: 0.8125rem;
  opacity: 0.8;
  font-weight: 400;
  margin-left: auto;
}

.prelander-link-download {
  background: rgba(196, 30, 58, 0.15);
  border-color: var(--cta);
}

.prelander-link-download:hover {
  background: rgba(196, 30, 58, 0.25);
}

/* Article Preview Modal iframe */
.article-preview-frame {
  width: 100%;
  height: 70vh;
  border: none;
  border-radius: var(--radius);
}

/* Email Preview Frame */
.email-preview-frame {
  width: 100%;
  height: 70vh;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: #fff;
}

.btn-group-vertical {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  width: 100%;
}

.btn-group-vertical .btn {
  border-radius: var(--radius) !important;
}

/* Download Bar */
.download-bar {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
}

.download-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}

.download-bar-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 4px;
}

.download-bar-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
}

.download-bar-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: var(--sp-3) 0 0 0;
}

/* ============================================================
   ASSETS - Enhanced Card Grid
   ============================================================ */
.asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-4);
}

.asset-item {
  background: var(--bg-card);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.asset-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border-color: var(--cta);
}

.asset-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: var(--sp-3);
  background: rgba(0, 0, 0, 0.3);
}

.asset-item .filename {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: var(--sp-2);
}

.asset-item .filesize {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-3);
}

.asset-item video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: var(--sp-3);
  background: rgba(0, 0, 0, 0.5);
}

.asset-item img {
  cursor: pointer;
}

.asset-item span {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-3);
}

/* Image Preview Modal */
.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
}

.image-modal.active {
  display: flex;
}

.image-modal .modal-content {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.image-modal .modal-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 10000;
}

.image-modal .modal-close:hover {
  color: var(--cta);
}

#modalCaption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px 20px;
  border-radius: var(--radius);
}

/* ============================================================
   HOW IT WORKS - Numbers as text, no boxes
   ============================================================ */
.how-it-works-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.step-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
}

.step-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--success);
  margin-bottom: var(--sp-3);
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: var(--sp-2);
}

.step-content p {
  margin: 0;
  font-size: 1.0625rem;
}

.step-icon {
  display: none;
}

/* ============================================================
   COMPLIANCE
   ============================================================ */
.compliance-do,
.compliance-dont {
  list-style: none;
  padding: 0;
  margin: 0;
}

.compliance-do li,
.compliance-dont li {
  position: relative;
  padding-left: var(--sp-5);
  margin-bottom: var(--sp-2);
  font-size: 1.0625rem;
}

.compliance-do li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 600;
}

.compliance-dont li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: var(--cta);
  font-weight: 600;
}

/* ============================================================
   SUPPORT
   ============================================================ */
.support-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  color: var(--text-muted);
}

.support-icon svg {
  width: 24px;
  height: 24px;
}

/* ============================================================
   WIDGETS
   ============================================================ */
.widget-preview {
  background: rgba(0, 0, 0, 0.2);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: var(--sp-5);
  text-align: center;
}

.alert {
  background: rgba(248, 178, 41, 0.08) !important;
  border: none !important;
  border-radius: var(--radius) !important;
  color: var(--text-body) !important;
  font-size: 1rem !important;
  padding: var(--sp-4) !important;
}

/* ============================================================
   MODALS
   ============================================================ */
.modal-content {
  background: var(--bg-card) !important;
  border: none !important;
  border-radius: var(--radius-lg) !important;
}

.modal-header {
  background: rgba(0, 0, 0, 0.2) !important;
  border: none !important;
  padding: var(--sp-4) var(--sp-5) !important;
}

.modal-title {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: var(--text-white) !important;
}

.modal-body {
  padding: var(--sp-5) !important;
}

.btn-close {
  filter: invert(1);
  opacity: 0.5;
}

.btn-close:hover {
  opacity: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  text-align: center;
  padding: var(--sp-7) 0;
  margin-top: var(--sp-7);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--sp-5);
  margin-bottom: var(--sp-4);
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.footer-links a:hover {
  color: var(--text-light);
}

.footer p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================
   MOBILE HEADER
   ============================================================ */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg-card);
  padding: 0 var(--sp-4);
  align-items: center;
  justify-content: space-between;
  z-index: 200;
}

.mobile-logo img {
  height: 32px;
  width: auto;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 99;
}

.sidebar-overlay.active {
  display: block;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-blue { color: #4a90e2 !important; }
.text-teal { color: #4ecdc4 !important; }
.text-gold { color: #4a90e2 !important; }
.text-muted { color: var(--text-muted) !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: var(--sp-1) !important; }
.mb-2 { margin-bottom: var(--sp-2) !important; }
.mb-3 { margin-bottom: var(--sp-3) !important; }
.mb-4 { margin-bottom: var(--sp-4) !important; }
.mt-4 { margin-top: var(--sp-4) !important; }

.d-flex { display: flex !important; }
.align-items-center { align-items: center !important; }
.gap-3 { gap: var(--sp-3) !important; }

/* ============================================================
   RESPONSIVE - TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .mobile-header {
    display: flex;
  }

  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s;
  }

  .sidebar.mobile-open {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0;
    padding-top: 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .how-it-works-steps {
    grid-template-columns: 1fr;
  }

  .prelander-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .asset-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--sp-3);
  }

  .download-bar-content {
    flex-direction: column;
    text-align: center;
  }

  .nav-tabs {
    flex-direction: column !important;
  }

  .nav-tabs .nav-item:first-child .nav-link,
  .nav-tabs .nav-item:last-child .nav-link {
    border-radius: var(--radius) !important;
  }
}

/* ============================================================
   RESPONSIVE - MOBILE
   ============================================================ */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.375rem; }

  .content-wrapper {
    padding: var(--sp-5) var(--sp-4);
  }

  .reason-item {
    flex-direction: column;
    gap: var(--sp-2);
  }

  .reason-number {
    font-size: 2rem;
  }

  .prelander-grid {
    grid-template-columns: 1fr;
  }

  .asset-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   BOOTSTRAP OVERRIDES
   ============================================================ */
.card,
.modal-content,
.alert,
.dropdown-menu,
.table {
  background-color: var(--bg-card) !important;
  color: var(--text-body) !important;
  border: none !important;
}

.table th,
.table td {
  color: var(--text-body) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.table thead th {
  color: var(--text-light) !important;
}
