/* Apex Scale Global Design System */
:root {
  --bg-base: #06080C;
  --bg-surface: #0C1017;
  --bg-card: rgba(16, 21, 30, 0.75);
  --bg-card-hover: rgba(24, 31, 45, 0.9);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 55, 0.4);
  --border-gold-glow: rgba(245, 208, 97, 0.6);
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --gold-primary: #D4AF37;
  --gold-bright: #F5D061;
  --gold-gradient: linear-gradient(135deg, #FFF2A3 0%, #F5D061 40%, #D4AF37 80%, #996515 100%);
  --accent-cyan: #06B6D4;
  --accent-emerald: #10B981;
  --accent-red: #EF4444;
  --font-main: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.glow-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.22) 0%, transparent 70%);
  top: -150px;
  right: -100px;
}

.glow-2 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
  top: 40%;
  left: -200px;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

/* Full-page "living network" background — sits behind all content */
#bg-network {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
}

.text-gold { color: var(--gold-bright); }
.text-accent { color: var(--accent-emerald); }
.text-white { color: #FFFFFF; }
.text-gradient-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.announcement-bar {
  background: rgba(12, 16, 23, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 24px;
  font-size: 0.85rem;
  position: relative;
  z-index: 40;
  text-align: center;
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge-pulsing {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--gold-bright);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold-bright);
  animation: pulseAnim 1.8s infinite;
}

@keyframes pulseAnim {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.announcement-link {
  color: var(--gold-bright);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.announcement-link:hover {
  text-decoration: underline;
  color: #FFF;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(6, 8, 12, 0.82);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #FFF;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: #FFF;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  font-family: var(--font-main);
}

.btn-gold {
  background: var(--gold-gradient);
  color: #06080C;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.28);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(245, 208, 97, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--border-gold);
  background: rgba(255, 255, 255, 0.04);
  color: #FFF;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid transparent;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-subtle);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-xl {
  padding: 18px 36px;
  font-size: 1.12rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.8rem;
}

.hero-section {
  position: relative;
  z-index: 10;
  padding: 80px 24px 60px;
  text-align: center;
}

.hero-container {
  max-width: 1040px;
  margin: 0 auto;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-title-sub {
  color: var(--text-secondary);
  font-size: 2.2rem;
  font-weight: 700;
}

.hero-description {
  font-size: 1.18rem;
  color: var(--text-secondary);
  max-width: 820px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-description strong {
  color: #FFF;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 54px;
  flex-wrap: wrap;
}

.hero-stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(20px);
  padding: 24px 32px;
  border-radius: var(--radius-lg);
  margin-bottom: 48px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.stat-card {
  text-align: center;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

.client-ticker-wrapper {
  margin-top: 30px;
}

.ticker-caption {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.ticker-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.ticker-item {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.section {
  position: relative;
  z-index: 10;
  padding: 100px 24px;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 54px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--gold-bright);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.protocol-interactive-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(20px);
  margin-bottom: 48px;
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.4);
}

.visualizer-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.control-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 260px;
}

.control-box label {
  font-size: 0.9rem;
  font-weight: 600;
}

.output-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
}

.canvas-wrapper {
  position: relative;
  background: #040508;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

#multiplier-canvas {
  width: 100%;
  height: auto;
  display: block;
}

.canvas-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 14px 20px;
  background: rgba(12, 16, 23, 0.9);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.master-dot { background: var(--gold-bright); box-shadow: 0 0 8px var(--gold-bright); }
.cluster-dot { background: #6366F1; box-shadow: 0 0 8px #6366F1; }
.sub-dot { background: var(--accent-cyan); box-shadow: 0 0 8px var(--accent-cyan); }
.funnel-dot { background: var(--accent-emerald); box-shadow: 0 0 8px var(--accent-emerald); }

.three-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
}

.pillar-featured {
  border-color: var(--border-gold);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.08) 0%, rgba(16, 21, 30, 0.85) 100%);
}

.pillar-badge {
  position: absolute;
  top: 18px;
  right: 20px;
  background: var(--gold-gradient);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.pillar-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.12);
  margin-bottom: 12px;
}

.pillar-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.pillar-body {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.pillar-list {
  list-style: none;
  font-size: 0.88rem;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.table-responsive {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  backdrop-filter: blur(20px);
}

.arbitrage-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.arbitrage-table th, .arbitrage-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.94rem;
}

.arbitrage-table th {
  background: rgba(12, 16, 23, 0.8);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}

.highlight-head {
  background: rgba(212, 175, 55, 0.12) !important;
  color: var(--gold-bright) !important;
  font-weight: 800 !important;
  border-left: 2px solid var(--gold-primary);
  border-right: 2px solid var(--gold-primary);
}

.highlight-cell {
  background: rgba(212, 175, 55, 0.05);
  border-left: 2px solid var(--gold-primary);
  border-right: 2px solid var(--gold-primary);
}

.feature-name {
  font-weight: 600;
  color: #FFF;
}

.badge-red {
  display: inline-block;
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.badge-green {
  display: inline-block;
  background: rgba(16, 185, 129, 0.18);
  color: #34D399;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
}

.calculator-inputs-panel, .calculator-results-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  backdrop-filter: blur(20px);
}

.panel-heading {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.slider-group {
  margin-bottom: 28px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 10px;
}

input[type=range] {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  -webkit-appearance: none;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-gradient);
  cursor: pointer;
  box-shadow: 0 0 12px var(--gold-bright);
}

.slider-hints {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.calc-guarantee-box {
  display: flex;
  gap: 16px;
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.guarantee-shield {
  font-size: 1.8rem;
}

.result-highlight-card {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(12, 16, 23, 0.8) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  margin-bottom: 24px;
}

.res-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
}

.res-main {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 6px 0;
}

.res-note {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.metric-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.metric-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.metric-title {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.metric-data {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
}

.metric-caption {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.case-study-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gold-gradient);
  color: #06080C;
  border-color: transparent;
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
}

.case-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

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

.case-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #06080C;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.case-name {
  font-size: 1.15rem;
  font-weight: 700;
}

.case-role {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.case-badge {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.case-metrics-banner {
  display: flex;
  justify-content: space-around;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 20px;
}

.c-metric {
  text-align: center;
}

.c-num {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  display: block;
}

.c-lbl {
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.case-quote {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 20px;
}

.case-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.case-footer strong {
  color: #FFF;
}

.btn-text-gold {
  background: none;
  border: none;
  color: var(--gold-bright);
  font-weight: 700;
  cursor: pointer;
  font-size: 0.85rem;
}

.btn-text-gold:hover {
  text-decoration: underline;
}

.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--border-gold);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  color: #FFF;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--gold-bright);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 28px;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 22px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.final-cta-section {
  padding-bottom: 120px;
}

.cta-banner-card {
  position: relative;
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.15) 0%, rgba(12, 16, 23, 0.95) 70%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 70px 40px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  margin: 18px 0;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 1.12rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 36px;
}

.cta-btn-wrapper {
  margin-bottom: 30px;
}

.cta-guarantee-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  flex-wrap: wrap;
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #040508;
  padding: 70px 24px 36px;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 54px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 360px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 14px;
}

.footer-links-grid {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.link-column h5 {
  font-size: 0.88rem;
  color: #FFF;
  margin-bottom: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.link-column a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  margin-bottom: 10px;
  transition: var(--transition);
}

.link-column a:hover {
  color: var(--gold-bright);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-disclaimer {
  max-width: 600px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.modal-dialog {
  background: #0E121B;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  max-width: 620px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.7);
  animation: modalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.modal-dialog-lg {
  max-width: 740px;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: #FFF;
}

.modal-header {
  padding: 30px 32px 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.step-indicator {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  margin-bottom: 12px;
}

.step-bar-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.step-counter {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 8px;
}

.modal-body {
  padding: 24px 32px;
}

.step-pane {
  display: none;
}

.step-pane.active {
  display: block;
}

.option-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.opt-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--text-primary);
}

.opt-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

.opt-btn.selected {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.08);
}

.opt-title {
  font-size: 1rem;
  font-weight: 700;
}

.opt-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.matched-tier-banner {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(16, 21, 30, 0.8) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 20px;
  text-align: center;
}

.tier-tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
}

.tier-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 4px 0;
}

.tier-details {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: #FFF;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus {
  border-color: var(--gold-primary);
  background: rgba(255, 255, 255, 0.07);
}

.modal-footer {
  display: flex;
  justify-content: space-between;
  padding: 16px 32px 24px;
  border-top: 1px solid var(--border-subtle);
}

.live-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: rgba(14, 18, 27, 0.92);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 80;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  animation: toastSlide 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 340px;
}

@keyframes toastSlide {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.toast-avatar {
  font-size: 1.5rem;
}

.toast-text {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
}

.toast-text strong {
  color: #FFF;
}

.toast-text span {
  color: var(--gold-bright);
}

@media (max-width: 992px) {
  .hero-title { font-size: 2.6rem; }
  .three-pillars-grid { grid-template-columns: 1fr; }
  .calculator-grid { grid-template-columns: 1fr; }
  .case-study-grid { grid-template-columns: 1fr; }
  .hero-stats-bar { flex-wrap: wrap; gap: 20px; }
  .stat-divider { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-title { font-size: 2.1rem; }
  .hero-title-sub { font-size: 1.6rem; }
  .form-row { grid-template-columns: 1fr; }
  .metric-dual-grid { grid-template-columns: 1fr; }
}
