/* Subpage Design System Styles - FomoFamilyWeb.com */

:root {
  --text: #f8fafc;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;
  --text-secondary: var(--text-muted);
  --border-color: var(--border, rgba(255, 255, 255, 0.08));
  --border-subtle: var(--border, rgba(255, 255, 255, 0.08));
  --card-bg: var(--surface, rgba(16, 20, 31, 0.72));
  --font-heading: var(--font-sans);
  --indigo: var(--primary, #606af7);
  --mint: var(--emerald, #10b981);
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim, #94a3b8);
  margin-bottom: 24px;
}

.breadcrumb-nav a {
  color: var(--text-muted, #cbd5e1);
  transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
  color: var(--primary, #606af7);
}

.breadcrumb-separator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim, #94a3b8);
  font-size: 13px;
  margin: 0 6px;
  opacity: 0.75;
  user-select: none;
  flex-shrink: 0;
}

.breadcrumb-separator svg {
  display: block;
}

.breadcrumb-current {
  color: #fff;
  font-weight: 600;
}

/* Quick Answer / Citable Overview Box */
.overview-target-box {
  background: rgba(96, 106, 247, 0.08);
  border: 1px solid rgba(96, 106, 247, 0.25);
  border-radius: var(--radius-lg, 16px);
  padding: 24px;
  margin: 0 auto 32px;
  max-width: 760px;
  text-align: left;
  backdrop-filter: blur(8px);
}

.quick-answer-card {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 760px;
  text-align: left;
}

.overview-target-box h2 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 700;
}

.overview-target-box p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-muted, #9ca3af);
  margin-bottom: 16px;
}

/* Store Row & Download Badges */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.hero-cta-group .hero-store-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
}

.hero-btn-main {
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.hero-store-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  height: 44px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
  border-radius: var(--radius-md, 10px);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.store-badge:hover {
  background: rgba(96, 106, 247, 0.12);
  border-color: var(--primary, #606af7);
  transform: translateY(-2px);
  color: #fff;
}

.store-badge svg {
  flex-shrink: 0;
}

/* Platform Bento Cards Grid - Symmetrical 2x2 Grid */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 36px 0;
}

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

.platform-card {
  background: var(--surface, rgba(16, 20, 31, 0.72));
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-lg, 16px);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.platform-card:hover {
  border-color: rgba(96, 106, 247, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.platform-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.platform-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(96, 106, 247, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary, #606af7);
}

.platform-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.platform-meta {
  font-size: 12px;
  color: var(--text-dim, #6b7280);
}

.platform-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted, #9ca3af);
  margin-bottom: 20px;
}

.platform-stats {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 20px;
  font-size: 12px;
  font-family: var(--font-mono, monospace);
}

/* Security / Callout Box */
.warning-box {
  background: rgba(244, 63, 94, 0.08);
  border: 1px solid rgba(244, 63, 94, 0.3);
  border-radius: var(--radius-lg, 16px);
  padding: 24px;
  margin: 32px 0;
}

.warning-box h3 {
  color: #fda4af;
  font-size: 1.1rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-lg, 16px);
  padding: 24px;
  margin: 32px 0;
}

.info-box h3 {
  color: var(--emerald, #10b981);
  font-size: 1.1rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Code Copy Pill & Toast */
.copy-pill-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 20, 31, 0.85);
  border: 1px solid rgba(96, 106, 247, 0.4);
  padding: 6px 14px;
  border-radius: 9999px;
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-pill-wrap:hover {
  border-color: var(--primary, #606af7);
  background: rgba(96, 106, 247, 0.15);
}

#toast-notification {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #10b981;
  color: #07090e;
  font-weight: 700;
  font-size: 13.5px;
  padding: 12px 24px;
  border-radius: 9999px;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 8px;
}

#toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Responsive Table Wrap */
.data-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 28px 0;
  border-radius: var(--radius-md, 10px);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  text-align: left;
}

.data-table th {
  background: rgba(255, 255, 255, 0.04);
  padding: 14px 18px;
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}

.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-muted, #9ca3af);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Interactive Calculator */
.calc-widget {
  background: var(--surface, rgba(16, 20, 31, 0.72));
  border: 1px solid var(--border-accent, rgba(96, 106, 247, 0.4));
  border-radius: var(--radius-xl, 24px);
  padding: 32px;
  margin: 36px auto;
  max-width: 680px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.calc-range {
  width: 100%;
  margin: 20px 0;
  accent-color: var(--primary, #606af7);
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

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

.calc-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-md, 10px);
  padding: 16px;
  text-align: center;
}

.calc-box.featured {
  background: rgba(96, 106, 247, 0.1);
  border-color: rgba(96, 106, 247, 0.4);
}

.calc-box-val {
  font-family: var(--font-mono, monospace);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-top: 4px;
  display: block;
}

.calc-box-val.green {
  color: var(--emerald, #10b981);
}

/* Breadcrumb List Styling */
.breadcrumb-list {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
  font-size: 13px;
  flex-wrap: wrap;
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted, #9ca3af);
}

.breadcrumb-list li a {
  color: var(--text-muted, #9ca3af);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-list li a:hover {
  color: var(--primary, #606af7);
}

.breadcrumb-list li.separator {
  color: var(--border, rgba(255, 255, 255, 0.2));
  user-select: none;
}

.breadcrumb-list li[aria-current="page"] {
  color: #fff;
  font-weight: 500;
}

/* Authentic Landing Page Footer Style System */
.footer {
  background: #040508;
  border-top: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  padding: 70px 0 35px;
  font-size: 13px;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 50px;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand .brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
}

.footer-brand .brand-tag {
  background: rgba(96, 106, 247, 0.15);
  border: 1px solid rgba(96, 106, 247, 0.3);
  color: var(--primary, #606af7);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 999px;
  font-family: var(--font-mono, monospace);
  white-space: nowrap;
}

.footer-brand p {
  color: var(--text-muted, #94a3af);
  margin: 8px 0;
  max-width: 360px;
  line-height: 1.6;
  font-size: 13px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
  letter-spacing: -0.01em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.footer-col a {
  color: var(--text-muted, #cbd5e1);
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 13px;
}

.footer-col a:hover {
  color: var(--primary, #606af7);
}

.disclaimer-box {
  border-top: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  padding: 24px 0 20px;
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.65;
  color: var(--text-dim, #94a3b8);
}

.disclaimer-box p {
  margin-bottom: 8px;
}

.disclaimer-box p:last-child {
  margin-bottom: 0;
}

.disclaimer-box strong {
  color: var(--text-muted, #cbd5e1);
}

.footer-bottom {
  border-top: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--text-dim, #94a3b8);
  font-size: 12px;
}

/* ==========================================================================
   Comprehensive Subpage Content Components & Layout System
   ========================================================================== */

/* Subpage Body & Hero */
.subpage-body {
  background: var(--bg, #040508);
  color: var(--text, #f8fafc);
}

.subpage-hero {
  padding: 60px 0 45px;
  text-align: center;
  position: relative;
}

.hero-lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted, #cbd5e1);
  max-width: 760px;
  margin: 0 auto 28px;
}

/* Hero Conversion Box */
/* Elevated Hero Conversion Box */
.hero-conversion-box {
  background: linear-gradient(135deg, rgba(16, 20, 31, 0.88) 0%, rgba(10, 13, 22, 0.94) 100%);
  border: 1px solid rgba(96, 106, 247, 0.32);
  border-radius: var(--radius-lg, 16px);
  padding: 22px 26px;
  max-width: 680px;
  margin: 0 auto 36px;
  box-shadow: 0 16px 40px -12px rgba(96, 106, 247, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.conversion-pill-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.conversion-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary, #606af7);
  font-family: var(--font-mono, monospace);
  background: rgba(96, 106, 247, 0.12);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(96, 106, 247, 0.25);
  display: inline-block;
  width: fit-content;
}

.conversion-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.conversion-sub {
  font-size: 13px;
  color: var(--text-muted, #cbd5e1);
  line-height: 1.45;
  margin-top: 2px;
}

.conversion-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .hero-conversion-box {
    padding: 18px 16px;
    margin: 0 auto 28px;
  }
  
  .conversion-pill-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    text-align: center;
  }
  
  .conversion-text {
    align-items: center;
    text-align: center;
  }
  
  .conversion-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  
  .conversion-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
  }
}

/* Canonical FAQ Accordion Chevron */
.faq-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-dim, #94a3b8);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

details[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary, #606af7);
}

/* Tactile Copied Micro-Feedback Button */
.btn-copied {
  background: rgba(16, 185, 129, 0.25) !important;
  border-color: rgba(16, 185, 129, 0.6) !important;
  color: #34d399 !important;
  transform: scale(0.98);
}

/* Grids & Content Sections */
.content-section {
  padding: 48px 0;
}

.grid-2-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 28px 0;
}

.grid-3-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 28px 0;
}

@media (max-width: 900px) {
  .grid-2-col, .grid-3-col {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Dark Cards & Section Subtitles */
.card-dark {
  background: var(--surface, rgba(16, 20, 31, 0.72));
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-lg, 16px);
  padding: 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 24px rgba(96, 106, 247, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card-dark:hover {
  border-color: rgba(96, 106, 247, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(96, 106, 247, 0.12);
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-dim, #64748b);
  margin-top: 8px;
  line-height: 1.6;
}

/* Badges & Text Accents */
.badge-emerald {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--emerald, #10b981);
  font-family: var(--font-mono, monospace);
}

.badge-amber {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #f59e0b;
  font-family: var(--font-mono, monospace);
}

.badge-danger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  font-family: var(--font-mono, monospace);
}

.text-emerald {
  color: var(--emerald, #10b981);
}

.card-badge, .featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono, monospace);
  background: rgba(96, 106, 247, 0.15);
  border: 1px solid rgba(96, 106, 247, 0.3);
  color: var(--primary, #606af7);
}

/* Buttons */
.btn-emerald {
  background: #10b981;
  color: #07090e;
  font-weight: 700;
  border: none;
}

.btn-emerald:hover {
  background: #059669;
  color: #fff;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 12.5px;
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
  margin-left: 4px;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* Alert & Security Boxes */
.alert-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md, 12px);
  margin: 24px 0;
  line-height: 1.6;
  font-size: 14px;
}

.alert-danger {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fca5a5;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #fcd34d;
}

.alert-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.alert-content p {
  margin: 0;
}

/* Comparison Tables */
.comparison-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-lg, 16px);
  background: rgba(16, 20, 31, 0.6);
  margin: 32px 0;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}

.comparison-table th {
  background: rgba(255, 255, 255, 0.03);
  padding: 16px 20px;
  color: #fff;
  font-weight: 700;
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}

.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted, #94a3af);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

/* CTA Banner Section */
.cta-banner-section {
  padding: 60px 0;
}

.cta-banner-card {
  background: linear-gradient(135deg, rgba(96, 106, 247, 0.12), rgba(16, 20, 31, 0.8));
  border: 1px solid rgba(96, 106, 247, 0.3);
  border-radius: var(--radius-lg, 20px);
  padding: 44px 32px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.cta-btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* Website Hub Math Cards & Widgets */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 32px 0;
}

@media (max-width: 900px) {
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .hero-stats-grid {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  background: rgba(16, 20, 31, 0.72);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-md, 14px);
  padding: 22px 20px;
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.stat-card:hover {
  border-color: rgba(96, 106, 247, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(96, 106, 247, 0.1);
}

.stat-value {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-mono, monospace);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12.5px;
  color: var(--text-dim, #64748b);
}

.math-card {
  background: rgba(16, 20, 31, 0.7);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-md, 14px);
  padding: 22px;
  margin-bottom: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s ease;
}

.math-card:hover {
  border-color: rgba(96, 106, 247, 0.35);
  transform: translateY(-2px);
}

.math-volume {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.math-comparison {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 10px;
  font-size: 13.5px;
}

.math-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  flex-wrap: wrap;
  gap: 4px;
}

.math-savings-pill {
  display: block;
  text-align: center;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--emerald, #10b981);
  font-weight: 700;
  font-family: var(--font-mono, monospace);
  font-size: 12.5px;
  margin-top: 6px;
}

.math-savings {
  color: var(--emerald, #10b981);
  font-weight: 700;
  font-family: var(--font-mono, monospace);
}

.math-subtext {
  font-size: 12px;
  color: var(--text-dim, #94a3b8);
}

.featured-math {
  border-color: rgba(96, 106, 247, 0.4);
  background: rgba(96, 106, 247, 0.08);
}

.prompt-copy-container {
  background: rgba(7, 9, 14, 0.85);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
  border-radius: var(--radius-md, 12px);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

@media (max-width: 640px) {
  .prompt-copy-container {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
}

.prompt-text {
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  color: #e2e8f0;
}

.callout-note, .retroactive-callout-card {
  background: rgba(16, 20, 31, 0.72);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-lg, 16px);
  padding: 24px;
  margin: 24px 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.callout-icon-box {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(96, 106, 247, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary, #606af7);
}

.callout-body {
  flex: 1;
}

.floating-pill {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 99;
  background: rgba(16, 20, 31, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(96, 106, 247, 0.4);
  border-radius: 999px;
  padding: 8px 16px 8px 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(96, 106, 247, 0.15);
  display: flex;
  align-items: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.floating-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 106, 247, 0.7);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6), 0 0 25px rgba(96, 106, 247, 0.25);
}

.pill-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pill-icon {
  display: inline-flex;
  align-items: center;
}

.pill-text {
  font-size: 13px;
  color: var(--text-muted, #94a3b8);
}

.pill-text strong {
  color: #fff;
  font-family: var(--font-mono, monospace);
  letter-spacing: 0.04em;
}

.pill-copy-btn {
  background: var(--primary, #606af7);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.pill-copy-btn:hover {
  background: #4f5be6;
  transform: scale(1.04);
}

@media (max-width: 640px) {
  .floating-pill {
    bottom: 16px;
    left: 16px;
    right: 16px;
    border-radius: 14px;
    justify-content: space-between;
  }
}

.step-guide-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

/* FAQ Hub Components */
.faq-category-block {
  margin-bottom: 40px;
}

.category-heading {
  color: var(--primary, #606af7);
  font-size: 22px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-chevron {
  font-size: 14px;
  color: var(--text-dim, #64748b);
  transition: transform 0.2s ease;
}

details[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-search-wrapper {
  max-width: 640px;
  margin: 32px auto 0;
}

.faq-search-input {
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
  border-radius: var(--radius-md, 10px);
  color: #fff;
  outline: none;
  transition: border-color 0.2s ease;
}

.faq-search-input:focus {
  border-color: var(--primary, #606af7);
  box-shadow: 0 0 16px rgba(96, 106, 247, 0.2);
}

/* Fallback Header & Pill Rules */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 5, 8, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  padding: 14px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

.brand-logo {
  border-radius: 8px;
}

.brand-text {
  font-weight: 700;
}

.main-nav .nav-links {
  display: flex;
  list-style: none;
  gap: 15px;
  padding: 0;
  margin: 0;
  white-space: nowrap;
}

.main-nav .nav-links a {
  color: var(--text-muted, #94a3af);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.main-nav .nav-links a:hover {
  color: var(--primary, #606af7);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.referral-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(96, 106, 247, 0.12);
  border: 1px solid rgba(96, 106, 247, 0.3);
  border-radius: 9999px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-mono, monospace);
  font-size: 12px;
}

.referral-pill-btn:hover {
  background: rgba(96, 106, 247, 0.22);
  border-color: var(--primary, #606af7);
}

.pill-label {
  font-weight: 700;
  color: var(--text-dim, #64748b);
  font-size: 10px;
}

.pill-code {
  font-weight: 800;
  color: var(--primary, #606af7);
}

.pill-badge {
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald, #10b981);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
}

.copied {
  background: var(--emerald, #10b981) !important;
  color: #07090e !important;
  border-color: var(--emerald, #10b981) !important;
}

/* 4-Step Walkthrough Grid for Referral Code and Guides */
.steps-grid-4 {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  margin-bottom: 40px !important;
}

@media (max-width: 992px) {
  .steps-grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 576px) {
  .steps-grid-4 {
    grid-template-columns: 1fr !important;
  }
}

/* Flagship Chain Featured Card & Symmetrical 3x2 Grid */
.chain-card-featured {
  background: var(--surface, rgba(16, 20, 31, 0.72));
  border: 1px solid rgba(96, 106, 247, 0.35);
  border-radius: var(--radius-lg, 16px);
  padding: 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(96, 106, 247, 0.12);
  margin-bottom: 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.chain-card-featured:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 106, 247, 0.55);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55), 0 0 36px rgba(96, 106, 247, 0.2);
}

.chain-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .chain-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .chain-grid-6 {
    grid-template-columns: 1fr;
  }
}

/* Symmetrical 3-Card Stats Row (3 desktop, 1 mobile) */
.stats-grid-3 {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
  max-width: 960px !important;
  margin: 0 auto !important;
}

@media (max-width: 768px) {
  .stats-grid-3 {
    grid-template-columns: 1fr !important;
  }
}

/* Symmetrical 4-Card Stats Row (4 desktop, 2x2 tablet, 1 mobile) */
.stats-grid-4 {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
  max-width: 960px !important;
  margin: 0 auto !important;
}

@media (max-width: 860px) {
  .stats-grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .stats-grid-4 {
    grid-template-columns: 1fr !important;
  }
}

/* Authoritative Mobile Navigation Drawer & Sticky Header */
.nav {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
}

@media (max-width: 768px) {
  .nav-mobile-drawer {
    display: none !important;
    position: fixed !important;
    top: 72px !important;
    left: 0 !important;
    width: 100% !important;
    height: calc(100vh - 72px) !important;
    height: calc(100dvh - 72px) !important;
    background: rgba(7, 9, 14, 0.98) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-bottom: 1px solid var(--border) !important;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.95) !important;
    padding: 24px 20px 48px !important;
    flex-direction: column !important;
    gap: 14px !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    z-index: 999 !important;
  }
  
  .nav-mobile-drawer.open {
    display: flex !important;
  }
  
  body.nav-open {
    overflow: hidden !important;
    touch-action: none !important;
  }
}

/* ==========================================================================
   Table of Contents (TOC) Component & Scrollspy Styling
   ========================================================================== */
h2[id], section[id] {
  scroll-margin-top: 96px;
}

.toc-container {
  background: rgba(16, 20, 31, 0.72);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg, 16px);
  padding: 22px 24px;
  margin: 24px auto 36px;
  max-width: 960px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.toc-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
}

.toc-badge {
  font-size: 11px;
  color: var(--primary, #606af7);
  background: rgba(96, 106, 247, 0.12);
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(96, 106, 247, 0.25);
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 8px 16px;
}

.toc-item a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim, #94a3b8);
  font-size: 13.5px;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1.4;
}

.toc-item a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateX(2px);
}

.toc-item a.toc-active {
  color: #fff;
  background: rgba(96, 106, 247, 0.16);
  border-color: rgba(96, 106, 247, 0.4);
  font-weight: 600;
}

.toc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-dim, #94a3b8);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.toc-item a.toc-active .toc-dot {
  background: var(--primary, #606af7);
  box-shadow: 0 0 8px var(--primary, #606af7);
}

@media (max-width: 640px) {
  .toc-container {
    padding: 16px;
    margin: 20px auto 28px;
  }
  .toc-list {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .toc-item a {
    font-size: 13px;
    padding: 7px 10px;
  }
}

/* ==========================================================================
   Subpage Layout & Component Alignment Perfection
   ========================================================================== */

/* Subpage Hero Left-Rail Alignment (Unifying Breadcrumb, Badge, H1, and Desc) */
.hero .hero-desc {
  margin: 16px 0 28px !important;
  max-width: 760px;
  text-align: left;
}

/* Dedicated Centered Hero Utility (When explicit full centering is desired) */
.hero.hero-centered {
  text-align: center;
}
.hero.hero-centered .hero-desc,
.hero .hero-desc.hero-desc-centered {
  margin: 16px auto 28px !important;
  text-align: center;
}

/* Universal FAQ List Alignment */
.container-focused .faq-list,
.faq-list-full {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

/* Symmetrical 5-Step Grid Layout: 3 Cards Top, 2 Cards Symmetrically Centered Below */
.steps-grid-5 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.steps-grid-5 > div:nth-child(1),
.steps-grid-5 > div:nth-child(2),
.steps-grid-5 > div:nth-child(3) {
  grid-column: span 2;
}

.steps-grid-5 > div:nth-child(4) {
  grid-column: 2 / span 2;
}

.steps-grid-5 > div:nth-child(5) {
  grid-column: 4 / span 2;
}

@media (max-width: 900px) {
  .steps-grid-5 {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
}
/* ==========================================================================
   Referral Code Master Hub Components
   ========================================================================== */

/* Multi-Code Switcher Tabs */
.code-selector-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.code-selector-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted, #cbd5e1);
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.code-selector-tab:hover {
  background: rgba(96, 106, 247, 0.1);
  border-color: rgba(96, 106, 247, 0.3);
  color: #fff;
}

.code-selector-tab.active {
  background: rgba(96, 106, 247, 0.18);
  border-color: var(--primary, #606af7);
  color: #fff;
  box-shadow: 0 0 16px rgba(96, 106, 247, 0.35);
}

.code-selector-tab.active::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald, #10b981);
  box-shadow: 0 0 8px var(--emerald, #10b981);
}

/* Audit Matrix Table Styles */
.audit-matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.audit-matrix-table th {
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.4);
  color: var(--text-dim, #94a3b8);
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.audit-matrix-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.table-row-user-highlight {
  background: rgba(96, 106, 247, 0.09) !important;
  border-left: 3px solid var(--emerald, #10b981) !important;
}

.table-row-user-highlight td:first-child {
  padding-left: 14px;
}

.code-text-white {
  color: #fff;
  font-family: var(--font-mono, monospace);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.code-text-muted {
  color: var(--text-muted, #cbd5e1);
  font-family: var(--font-mono, monospace);
  font-size: 13.5px;
}

.code-text-danger {
  color: #f87171;
  font-family: var(--font-mono, monospace);
  font-size: 13.5px;
}

/* Status Badges */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}

.badge-verified {
  background: rgba(16, 185, 129, 0.15) !important;
  color: var(--emerald, #10b981) !important;
  border: 1px solid rgba(16, 185, 129, 0.4) !important;
}

.badge-unverified {
  background: rgba(148, 163, 184, 0.12) !important;
  color: #94a3b8 !important;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
}

.badge-fake {
  background: rgba(244, 63, 94, 0.15) !important;
  color: #f43f5e !important;
  border: 1px solid rgba(244, 63, 94, 0.4) !important;
}

.badge-math {
  background: rgba(245, 158, 11, 0.15) !important;
  color: #f59e0b !important;
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
}

/* Verifier Alert Boxes */
.verify-alert {
  border-radius: 8px;
  padding: 14px 16px;
  text-align: left;
}

.verify-alert.alert-success {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.verify-alert.alert-neutral {
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.verify-alert.alert-danger {
  background: rgba(244, 63, 94, 0.08);
  border: 1px solid rgba(244, 63, 94, 0.35);
}

.verify-alert.alert-warning {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

@media (max-width: 768px) {
  .audit-matrix-table th:nth-child(2),
  .audit-matrix-table td:nth-child(2) {
    display: none;
  }
  .code-selector-tabs {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ==========================================================================
   How-To Flowcards, Deposit Cards & Advanced SEO Components
   ========================================================================== */

/* Step-by-Step Flow Cards */
.flow-step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.flow-step-card {
  background: var(--surface, #10141f);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius, 12px);
  padding: 1.5rem;
  position: relative;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.flow-step-card:hover {
  border-color: rgba(96, 106, 247, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(96, 106, 247, 0.15);
}

.flow-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: rgba(96, 106, 247, 0.15);
  border: 1px solid var(--primary, #606af7);
  color: var(--primary, #606af7);
  font-family: var(--font-mono, monospace);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.flow-step-card h3, .flow-step-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.flow-step-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted, #cbd5e1);
  margin-bottom: 0;
}

/* Deposit Methods Grid */
.deposit-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.deposit-method-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.35rem;
  background: var(--surface, #10141f);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius, 12px);
  transition: all 0.25s ease;
}

.deposit-method-card:hover {
  border-color: rgba(96, 106, 247, 0.5);
  box-shadow: 0 8px 24px -6px rgba(96, 106, 247, 0.2);
}

.deposit-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(96, 106, 247, 0.12);
  border: 1px solid rgba(96, 106, 247, 0.3);
  flex-shrink: 0;
  color: #a5b4fc;
}

.deposit-method-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}

.deposit-method-info p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-muted, #cbd5e1);
  margin-bottom: 0.5rem;
}

.deposit-method-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.78rem;
  font-family: var(--font-mono, monospace);
  color: var(--text-dim, #94a3b8);
}

/* Battlecard Feature Matrix */
.battlecard-matrix-wrapper {
  overflow-x: auto;
  margin: 1.75rem 0;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius, 12px);
  background: var(--surface, #10141f);
}

.battlecard-matrix {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.battlecard-matrix th, .battlecard-matrix td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}

.battlecard-matrix th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted, #94a3af);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.battlecard-matrix tr:last-child td {
  border-bottom: none;
}

.battlecard-matrix tr.highlight-row {
  background: rgba(16, 185, 129, 0.04);
}

.battlecard-matrix tr.highlight-row td {
  color: #fff;
  font-weight: 600;
}

/* Retroactive Support Card */
.retroactive-card {
  background: linear-gradient(135deg, rgba(16, 20, 31, 0.9) 0%, rgba(10, 13, 22, 0.95) 100%);
  border: 1px solid rgba(96, 106, 247, 0.3);
  border-radius: var(--radius-lg, 16px);
  padding: 1.75rem;
  margin: 1.5rem 0;
}

.ordered-step-list {
  padding-left: 1.5rem;
  margin: 1rem 0 1.5rem;
  color: var(--text-muted, #cbd5e1);
  font-size: 0.92rem;
  line-height: 1.8;
}

.ordered-step-list li {
  margin-bottom: 0.5rem;
}

.ordered-step-list strong {
  color: #fff;
}

.template-copy-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius, 12px);
  padding: 1.25rem;
  position: relative;
}

.template-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted, #94a3af);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.template-text {
  margin: 0;
  font-family: var(--font-mono, monospace);
  font-size: 0.85rem;
  line-height: 1.6;
  color: #38bdf8;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Scam Evidence Forensic Box */
.scam-forensic-box {
  background: rgba(244, 63, 94, 0.04);
  border: 1px solid rgba(244, 63, 94, 0.3);
  border-radius: var(--radius, 12px);
  padding: 1.35rem 1.5rem;
  margin: 1.25rem 0;
}

.scam-forensic-box h4 {
  color: #f43f5e;
  font-size: 0.98rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.scam-forensic-box p {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-muted, #cbd5e1);
  margin-bottom: 0;
}

/* Solana Pricing Tier Cards */
.solana-tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.solana-tier-card {
  background: var(--surface, #10141f);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius, 12px);
  padding: 1.25rem;
  text-align: center;
  transition: all 0.25s ease;
}

.solana-tier-card.active-bracket {
  border-color: var(--emerald, #10b981);
  background: rgba(16, 185, 129, 0.03);
  box-shadow: 0 0 20px -5px rgba(16, 185, 129, 0.2);
}

.solana-tier-range {
  font-size: 0.82rem;
  font-family: var(--font-mono, monospace);
  color: var(--text-muted, #94a3af);
  margin-bottom: 0.5rem;
}

.solana-tier-fee {
  font-size: 1.45rem;
  font-weight: 800;
  font-family: var(--font-mono, monospace);
  color: #fff;
  margin-bottom: 0.35rem;
}

.solana-tier-label {
  font-size: 0.78rem;
  color: var(--text-dim, #94a3b8);
}

/* ==========================================================================
   AUTHENTIC MOBILE ONBOARDING GALLERY & SCREEN MOCKUPS
   Fully compliant with Google Images SEO guidelines (CLS = 0, Aspect-Ratio)
   ========================================================================== */
.sticky-quick-nav {
  position: sticky;
  top: 70px;
  z-index: 99;
  background: rgba(7, 9, 14, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  padding: 8px 0;
  margin-bottom: 2rem;
}

.sticky-quick-nav-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.quick-nav-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(20, 24, 38, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted, #cbd5e1);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.quick-nav-arrow:hover {
  background: rgba(96, 106, 247, 0.25);
  border-color: var(--primary, #606af7);
  color: #fff;
  transform: scale(1.05);
}

.sticky-quick-nav-inner {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
  padding: 6px 0;
  -webkit-overflow-scrolling: touch;
  flex: 1;
}

.sticky-quick-nav-inner::-webkit-scrollbar {
  display: none; /* Chrome, Edge, Safari */
}

@media (max-width: 768px) {
  .quick-nav-arrow {
    display: none !important;
  }
  .sticky-quick-nav-inner {
    mask-image: linear-gradient(to right, transparent, black 16px, black calc(100% - 16px), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 16px, black calc(100% - 16px), transparent);
  }
}

/* Anchor Scroll Margin to Prevent Headings Being Occluded by Sticky Header */
section[id],
div[id].section,
figure[id] {
  scroll-margin-top: 135px;
}

.sticky-nav-item {
  color: var(--text-muted, #cbd5e1);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: all 0.2s ease;
}

.sticky-nav-item:hover,
.sticky-nav-item.active {
  color: #fff;
  background: rgba(96, 106, 247, 0.15);
  border-color: var(--primary, #606af7);
}

.onboarding-flow-wrapper {
  margin: 3rem 0;
  position: relative;
}

.onboarding-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.inapp-figure-card {
  background: #0c101d;
  border: 1px solid rgba(96, 106, 247, 0.2);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.inapp-figure-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 106, 247, 0.5);
  box-shadow: 0 25px 50px -12px rgba(96, 106, 247, 0.25);
}

.inapp-figure-card.critical-step {
  border-color: rgba(96, 106, 247, 0.2);
  background: #0c101d;
}

.inapp-figure-card.critical-step:hover {
  border-color: rgba(96, 106, 247, 0.5);
  box-shadow: 0 25px 50px -12px rgba(96, 106, 247, 0.25);
}

.inapp-figure-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  gap: 8px;
}

.inapp-step-pill {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(96, 106, 247, 0.12);
  color: var(--primary, #606af7);
  border: 1px solid rgba(96, 106, 247, 0.3);
  white-space: nowrap;
  flex-shrink: 0;
}

.inapp-step-pill.emerald {
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald, #10b981);
  border-color: rgba(16, 185, 129, 0.3);
}

.inapp-header-label {
  font-size: 12px;
  font-family: var(--font-mono, monospace);
  color: var(--text-dim);
  text-align: right;
  white-space: nowrap;
}

.inapp-header-label.emerald {
  color: var(--emerald, #10b981);
  font-weight: 700;
}

/* Phone Frame Mockup for 1080x2160 (9:16 Aspect Ratio) */
.phone-mockup-frame {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto 1.25rem;
  border-radius: 36px;
  padding: 8px;
  background: #030408;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.phone-mockup-frame::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 16px;
  background: #000;
  border-radius: 10px;
  z-index: 10;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Photorealistic Dynamic Island Camera Dot */
.phone-mockup-frame::after {
  content: "";
  position: absolute;
  top: 17px;
  left: calc(50% + 22px);
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, #1a2238 35%, #050811 100%);
  border-radius: 50%;
  z-index: 11;
  box-shadow: 0 0 1px rgba(96, 106, 247, 0.4);
}

.phone-screen-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1080 / 2160;
  border-radius: 28px;
  display: block;
  object-fit: cover;
  background: #07090e;
  cursor: zoom-in;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.phone-screen-img:hover {
  opacity: 0.95;
}

.inapp-figcaption {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-muted, #cbd5e1);
  line-height: 1.6;
}

.inapp-figcaption h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.inapp-figcaption p {
  flex-grow: 1;
  margin-bottom: 12px;
}

.inapp-callout-badge {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: auto;
  font-size: 12.5px;
  padding: 10px 14px;
  border-radius: 8px;
  line-height: 1.5;
  width: 100%;
  box-sizing: border-box;
}

.inapp-callout-badge .callout-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.inapp-callout-badge .callout-text {
  flex: 1;
  line-height: 1.5;
}

.inapp-callout-badge.warning {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fde68a;
}

.inapp-callout-badge.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #6ee7b7;
}

/* Lightbox Modal for Full-Resolution Image Inspection */
.img-lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3, 4, 8, 0.94);
  backdrop-filter: blur(14px);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  padding: 20px;
  cursor: zoom-out;
}

.img-lightbox-modal.active {
  display: flex;
}

.img-lightbox-content {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.95);
  cursor: default;
}

.img-lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.img-lightbox-close:hover {
  background: rgba(96, 106, 247, 0.25);
  border-color: rgba(96, 106, 247, 0.6);
  color: #fff;
  transform: scale(1.05);
}

/* Glossary Cards */
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.glossary-card {
  background: var(--surface, #10141f);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius, 12px);
  padding: 1.25rem 1.5rem;
  transition: all 0.2s ease;
}

.glossary-card:hover {
  border-color: rgba(96, 106, 247, 0.35);
  transform: translateY(-2px);
}

.glossary-card dt {
  font-family: var(--font-mono, monospace);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary, #606af7);
  margin-bottom: 0.5rem;
}

.glossary-card dd {
  font-size: 0.88rem;
  color: var(--text-muted, #cbd5e1);
  line-height: 1.6;
  margin: 0;
}

/* Battlecard Matrix */
.battlecard-matrix-wrapper {
  overflow-x: auto;
  margin: 1.75rem 0;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-lg, 16px);
  background: rgba(16, 20, 31, 0.65);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.battlecard-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
  min-width: 680px;
  margin: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.battlecard-table th,
.battlecard-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-align: left;
}

.battlecard-table th {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  border-bottom: 1px solid var(--border);
}

.battlecard-table tr:last-child td {
  border-bottom: none;
}

.battlecard-table td.highlight {
  background: rgba(16, 185, 129, 0.04);
  font-weight: 700;
  color: var(--emerald, #10b981);
}

/* Hero Center-Alignment Utility */
.hero-centered-content {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero-centered-content .breadcrumb-nav {
  justify-content: center;
}

.hero-centered-content .hero-desc {
  margin: 16px auto 28px;
  text-align: center;
}

.hero-centered-content .code-selector-tabs {
  display: inline-flex;
  margin-bottom: 24px;
}

/* Tablet (768px) and Mobile Responsive Button Fixes */
@media (max-width: 768px) {
  .code-selector-tabs {
    display: inline-flex !important;
    flex-direction: row !important;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    width: auto;
  }

  .hero-store-row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
    width: 100%;
    max-width: 520px;
    margin: 16px auto 0 !important;
  }

  .hero-store-row .store-badge:last-child {
    grid-column: span 2;
    justify-content: center;
  }
}

/* Mobile Header CTA Button Optimization (Prevent Crowding) */
@media (max-width: 640px) {
  .nav-cta .btn {
    padding: 7px 12px !important;
    font-size: 12px !important;
  }
  .nav-cta #nav-code-display {
    display: none !important;
  }
}

/* Solana Simulator 4-Column Metric Grid on Desktop */
.solana-calc-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 900px) {
  .solana-calc-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .solana-calc-metrics {
    grid-template-columns: 1fr;
  }
}

/* Contained Section Headers matching Card Margins */
.section-header-contained {
  max-width: 860px;
  margin: 0 auto 32px;
  text-align: left;
}

/* Mobile Table Scroll Cue */
.table-scroll-hint {
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  font-size: 11.5px;
  color: #a5b4fc;
  font-family: var(--font-mono, monospace);
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .table-scroll-hint {
    display: flex;
  }
}

/* Animated Copy Button Feedback */
.code-copy-btn.copied {
  background: var(--emerald, #10b981) !important;
  color: #032014 !important;
  transform: scale(1.02);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.code-copy-btn.copied svg {
  animation: copyPulse 0.3s ease-out;
}

@keyframes copyPulse {
  0% { transform: scale(0.8); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Audit Matrix Table Column Width Distribution */
.audit-matrix-table th:nth-child(1),
.audit-matrix-table td:nth-child(1) {
  width: 18%;
  white-space: nowrap;
}
.audit-matrix-table th:nth-child(2),
.audit-matrix-table td:nth-child(2) {
  width: 20%;
}
.audit-matrix-table th:nth-child(3),
.audit-matrix-table td:nth-child(3) {
  width: 22%;
}
.audit-matrix-table th:nth-child(4),
.audit-matrix-table td:nth-child(4) {
  width: 24%;
}
.audit-matrix-table th:nth-child(5),
.audit-matrix-table td:nth-child(5) {
  width: 16%;
  white-space: nowrap;
}

/* ==========================================================================
   ENRICHED REFERRAL CONTENT & SERP SPECIFICATION MODULES
   ========================================================================== */

/* Key Facts Table */
.key-facts-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 24px auto;
  max-width: 860px;
}
.key-facts-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.key-facts-table tr {
  border-bottom: 1px solid var(--border);
}
.key-facts-table tr:last-child {
  border-bottom: none;
}
.key-facts-table th {
  padding: 14px 18px;
  text-align: left;
  color: var(--text-secondary);
  font-weight: 600;
  width: 34%;
  background: rgba(255, 255, 255, 0.02);
  border-right: 1px solid var(--border);
}
.key-facts-table td {
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: var(--font-sans);
}
.key-facts-table td strong {
  color: #fff;
}
.key-facts-table td code {
  font-family: var(--font-mono);
  color: var(--emerald);
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

/* 4-Card and 6-Card Benefit Grid */
.benefit-grid-4,
.benefit-grid-6 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: left;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}
.benefit-card:hover {
  border-color: rgba(96, 106, 247, 0.4);
  transform: translateY(-2px);
}
.benefit-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(96, 106, 247, 0.12);
  color: var(--primary-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.benefit-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}
.benefit-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}

/* Key Stats Metric Banner */
.stats-banner-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 24px auto;
  max-width: 860px;
}
.stat-banner-box {
  background: rgba(96, 106, 247, 0.06);
  border: 1px solid rgba(96, 106, 247, 0.2);
  border-radius: var(--radius-md);
  padding: 18px 12px;
  text-align: center;
}
.stat-banner-val {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 800;
  color: var(--emerald);
  margin-bottom: 4px;
}
.stat-banner-label {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Terminology Difference DL */
.diff-dl-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 24px auto;
  max-width: 860px;
}
.diff-dl-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  text-align: left;
}
.diff-dl-item dt {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-purple);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.diff-dl-item dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Responsive Table Overflow Containers */
.table-responsive-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0;
  position: relative;
}

.mobile-swipe-hint {
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  font-size: 11px;
  color: #a5b4fc;
  font-family: var(--font-mono, monospace);
  padding: 8px 14px;
  background: rgba(96, 106, 247, 0.08);
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}

/* Solana Order Bracket Table */
.bracket-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 24px auto;
  max-width: 860px;
}
.bracket-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}
.bracket-table th, .bracket-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
}
.bracket-table th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-weight: 600;
}
.bracket-table tr:last-child td {
  border-bottom: none;
}
.bracket-table td.rate-highlight {
  color: var(--emerald);
  font-weight: 700;
  font-family: var(--font-mono);
}

/* Safety & Anti-Phishing Cards */
.safety-alert-box {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin: 20px 0;
  text-align: left;
}
.safety-alert-title {
  color: #fca5a5;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.safety-alert-box p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

/* Affiliate 3-Card & 4-Card Grid */
.affiliate-grid-3,
.affiliate-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.affiliate-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: left;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}
.affiliate-card:hover {
  border-color: rgba(96, 106, 247, 0.4);
  transform: translateY(-2px);
}
.affiliate-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(96, 106, 247, 0.12);
  color: var(--primary-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.affiliate-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}
.affiliate-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
  .stats-banner-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .key-facts-table th {
    width: 40%;
  }
  .mobile-swipe-hint {
    display: flex;
  }
  .key-facts-table,
  .bracket-table,
  #spot-vs-perps-rules table {
    min-width: 540px;
  }
  .audit-matrix-table {
    min-width: 640px;
  }
}
@media (max-width: 540px) {
  .stats-banner-row {
    grid-template-columns: 1fr;
  }
  .key-facts-table th, .key-facts-table td {
    padding: 10px 12px;
    font-size: 13px;
  }
}

/* Universal High-Conversion Mobile Floating Bar */
.universal-mobile-bar {
  display: none;
}

@media (max-width: 768px) {
  .universal-mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 23, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(96, 106, 247, 0.35);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.75);
    padding: 10px 14px;
    z-index: 9999;
    animation: slideUpStickyBar 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes slideUpStickyBar {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }

  .universal-bar-close-btn {
    position: absolute;
    top: -12px;
    right: 14px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #1e2230;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
    transition: background 0.2s, color 0.2s;
  }

  .universal-bar-close-btn:hover {
    background: #2d3348;
    color: #ffffff;
  }

  .universal-bar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    max-width: 480px;
    margin: 0 auto;
  }

  .universal-bar-pill {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(96, 106, 247, 0.12);
    border: 1px solid rgba(96, 106, 247, 0.3);
    border-radius: 8px;
    padding: 4px 10px;
    line-height: 1.2;
  }

  .universal-bar-tag {
    font-size: 9px;
    font-family: var(--font-mono, monospace);
    color: #a5b4fc;
    letter-spacing: 0.05em;
    font-weight: 700;
  }

  .universal-bar-code {
    font-size: 14px;
    font-family: var(--font-mono, monospace);
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.02em;
  }

  .universal-bar-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f1f5f9;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .universal-bar-copy-btn.copied {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10b981;
    color: #6ee7b7;
  }

  .universal-bar-launch-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #606af7 0%, #4f46e5 100%);
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(96, 106, 247, 0.4);
    white-space: nowrap;
  }
}

/* Savings Simulator Card */
.savings-simulator-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(96, 106, 247, 0.28);
  border-radius: 16px;
  padding: 24px;
  margin: 32px 0;
  contain: layout style;
}

/* Whale VIP Card */
.whale-vip-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(96, 106, 247, 0.08) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 14px;
  padding: 24px;
  margin: 32px 0;
  contain: layout style;
}

/* Live Alpha Ticker */
.live-alpha-ticker {
  background: rgba(10, 14, 23, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 24px 0;
  contain: layout style;
}





