/* ===========================================
   HermanRX Partnership Page — Premium Dark UI v2
   =========================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

:root {
  --bg-primary: #050a15;
  --bg-secondary: #0a1020;
  --bg-card: rgba(15, 23, 42, 0.6);
  --bg-card-solid: #0f172a;
  --bg-card-hover: #131c32;
  --bg-glass: rgba(15, 23, 42, 0.5);
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);
  --border-gold: rgba(212,197,124,0.25);

  --gold: #d4c57c;
  --gold-light: #e8dca0;
  --gold-dark: #b5a45a;
  --gold-glow: rgba(212,197,124,0.10);

  --teal: #4ecdc4;
  --purple: #a78bfa;
  --blue: #60a5fa;
  --pink: #f472b6;
  --amber: #fbbf24;
  --green: #34d399;

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #475569;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes floatAlt {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes meshMove {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(50px, -30px) rotate(2deg); }
  50% { transform: translate(-20px, 40px) rotate(-1deg); }
  75% { transform: translate(30px, 20px) rotate(1deg); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(212,197,124,0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(212,197,124,0); }
}
@keyframes glow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.navbar.scrolled {
  background: rgba(5, 10, 21, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}
.nav-logo-img {
  height: 30px;
  width: auto;
  filter: brightness(1.1);
}
.logo-text {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.logo-accent { color: var(--gold); }
.logo-partners {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 14px;
  margin-left: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }
.nav-cta {
  background: var(--gold);
  color: #050a15 !important;
  font-weight: 600;
  margin-left: 8px;
  border-radius: 10px;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 0 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 10, 21, 0.7) 0%,
    rgba(5, 10, 21, 0.6) 40%,
    rgba(5, 10, 21, 0.8) 100%
  );
  z-index: 1;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  z-index: 2;
}
.orb-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212,197,124,0.25), transparent 70%);
  top: -100px; right: 10%;
  animation: glow 8s ease-in-out infinite;
}
.orb-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(78,205,196,0.15), transparent 70%);
  bottom: 10%; left: 5%;
  animation: glow 10s ease-in-out infinite 2s;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(167,139,250,0.1), transparent 70%);
  top: 50%; left: 40%;
  animation: glow 12s ease-in-out infinite 4s;
}
.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
}
.hero-content {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(212,197,124,0.08);
  border: 1px solid rgba(212,197,124,0.15);
  border-radius: 100px;
  padding: 7px 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 32px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
.hero-title {
  font-size: clamp(42px, 6.5vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  color: var(--text-primary);
}
.gradient-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 40%, var(--teal) 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 5s linear infinite;
}
.hero-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.75;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 12px;
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: #050a15;
  box-shadow: 0 4px 24px rgba(212,197,124,0.25), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 8px 40px rgba(212,197,124,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}
.btn-lg { padding: 15px 32px; font-size: 15px; border-radius: 14px; }
.btn-xl { padding: 18px 44px; font-size: 16px; border-radius: 16px; letter-spacing: 0.01em; }

/* --- Hero Floating Cards --- */
.hero-cards {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.hero-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 22px;
  pointer-events: auto;
}
.card-left {
  left: 6%;
  bottom: 28%;
  animation: float 6s ease-in-out infinite;
}
.card-right {
  right: 6%;
  bottom: 35%;
  animation: floatAlt 7s ease-in-out infinite 1s;
}
.float-card-icon {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-glow);
  border-radius: 12px;
  color: var(--gold);
  flex-shrink: 0;
}
.float-card-icon.icon-teal {
  background: rgba(78,205,196,0.1);
  color: var(--teal);
}
.float-card-value {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.float-card-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- Social Proof Marquee --- */
.proof-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(10, 16, 32, 0.5);
  overflow: hidden;
  padding: 16px 0;
}
.proof-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.proof-track {
  display: flex;
  align-items: center;
  gap: 0;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  padding: 0 8px;
}
.proof-item svg { color: var(--teal); flex-shrink: 0; }
.proof-divider {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--text-muted);
  margin: 0 16px;
  flex-shrink: 0;
}

/* --- Metrics Bar --- */
.metrics-bar {
  padding: 72px 0;
  background: var(--bg-primary);
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: var(--bg-card-solid);
  text-align: center;
}
.metric-value {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.metric-value.special {
  background: linear-gradient(135deg, var(--gold), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.metric-prefix, .metric-suffix {
  font-size: 48px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.03em;
  line-height: 1;
}
.metric-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- Sections Common --- */
.section {
  padding: 100px 0;
  position: relative;
}
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 16px;
  background: rgba(212,197,124,0.06);
  padding: 6px 18px;
  border-radius: 100px;
  border: 1px solid rgba(212,197,124,0.1);
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 18px;
}
.section-description {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- About HermanRX --- */
.section-about {
  background: var(--bg-primary);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.about-main p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-main p:last-child { margin-bottom: 0; }
.about-lead {
  font-size: 18px !important;
  color: var(--text-primary) !important;
  font-weight: 500;
  line-height: 1.6 !important;
}
.about-main strong {
  color: var(--text-primary);
  font-weight: 600;
}
.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-highlight {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  backdrop-filter: blur(12px);
}
.about-highlight-icon {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--hl-color, var(--gold)) 12%, transparent);
  color: var(--hl-color, var(--gold));
  border-radius: 10px;
  flex-shrink: 0;
}
.about-highlight strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.about-highlight span {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- Competitive Comparison --- */
.section-compare {
  background: var(--bg-secondary);
}
.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.compare-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.compare-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.compare-icon {
  color: var(--teal);
  margin-bottom: 16px;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(78,205,196,0.1);
  border-radius: 12px;
}
.compare-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.compare-ours {
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 6px;
}
.compare-theirs {
  font-size: 12.5px;
  color: var(--text-muted);
  font-style: italic;
}

/* --- Earnings Calculator --- */
.section-calc {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}
.calc-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.calc-control {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.3s;
}
.calc-control:hover { border-color: var(--border-hover); }
.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.calc-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}
.calc-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

/* --- Custom Range Slider --- */
.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  outline: none;
  cursor: pointer;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  box-shadow: 0 0 16px rgba(212,197,124,0.35), 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.15s, box-shadow 0.15s;
}
.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 24px rgba(212,197,124,0.5), 0 2px 8px rgba(0,0,0,0.4);
}
.calc-slider::-moz-range-thumb {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: none;
  box-shadow: 0 0 16px rgba(212,197,124,0.35);
}
.calc-range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-muted);
}

/* --- Calc Results --- */
.calc-results {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.calc-result-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.calc-result-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.calc-result-card.featured {
  border-color: var(--border-gold);
  background: linear-gradient(135deg, rgba(212,197,124,0.06), rgba(15,23,42,0.6));
}
.calc-result-icon {
  color: var(--gold);
  margin-bottom: 14px;
  opacity: 0.7;
}
.calc-result-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.calc-result-amount {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.calc-result-card.featured .calc-result-amount {
  font-size: 52px;
}

/* --- Therapy Breakdown --- */
.section-therapies {
  background: var(--bg-primary);
}
.therapy-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.therapy-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
}
.tab-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 0.25s;
}
.therapy-tab:hover { border-color: var(--border-hover); color: var(--text-primary); }
.therapy-tab:hover .tab-dot { opacity: 1; }
.therapy-tab.active {
  background: var(--gold);
  color: #050a15;
  border-color: var(--gold);
  font-weight: 600;
}
.therapy-tab.active .tab-dot { background: #050a15 !important; opacity: 0.4; }

/* Category CPA Banner */
.category-cpa-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(212,197,124,0.04);
  border: 1px solid rgba(212,197,124,0.1);
  border-radius: 100px;
  padding: 12px 28px;
  margin: 0 auto 36px;
  max-width: fit-content;
}
.cpa-banner-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.cpa-banner-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.cpa-banner-per {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
}

.therapy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.therapy-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.therapy-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.therapy-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}
.therapy-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}
.therapy-category-pill {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
.therapy-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}
.therapy-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}
.therapy-price-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.therapy-price-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}
.therapy-cpa-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.therapy-cpa-row .therapy-price-label {
  color: var(--gold-dark);
  font-weight: 600;
}
.therapy-cpa-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--gold);
}
.therapy-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.therapy-note svg { flex-shrink: 0; color: var(--text-muted); margin-top: 2px; }

/* --- How It Works --- */
.section-how {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}
.steps-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  position: relative;
  margin-bottom: 48px;
}
.step-card {
  flex: 1;
  max-width: 260px;
  text-align: center;
  position: relative;
  padding: 0 16px;
}
.step-marker {
  width: 52px; height: 52px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  position: relative;
  z-index: 2;
}
.step-num {
  font-size: 18px;
  font-weight: 800;
  color: #050a15;
}
.step-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, rgba(212,197,124,0.3), rgba(212,197,124,0.1));
  margin-top: 26px;
  flex-shrink: 0;
}
.step-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.step-body p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.impact-cta {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 40px;
  backdrop-filter: blur(12px);
}
.impact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
}
.impact-cta p {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* --- Payout Terms --- */
.section-terms {
  background: var(--bg-primary);
}
.terms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.terms-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(12px);
}
.terms-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.terms-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.terms-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.terms-row:first-child { border-top: none; }
.terms-label {
  font-size: 13.5px;
  color: var(--text-secondary);
}
.terms-value {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
}
.terms-cpa {
  font-size: 18px;
  font-weight: 800;
  color: var(--gold);
}
.tier-highlight {
  background: rgba(212,197,124,0.04);
  margin: 0 -16px;
  padding: 14px 16px;
  border-radius: 8px;
}
.tier-highlight .terms-cpa {
  font-size: 22px;
}
.terms-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-muted);
  padding: 0 4px;
}
.terms-note svg { flex-shrink: 0; color: var(--text-muted); }

/* --- Why Partner --- */
.section-why {
  background: var(--bg-secondary);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.why-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.why-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.why-icon {
  color: var(--icon-color, var(--gold));
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: var(--icon-bg, var(--gold-glow));
  border-radius: 14px;
}
.why-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.why-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Media Kit --- */
.section-media-kit {
  background: var(--bg-primary);
}
.media-kit-card {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  backdrop-filter: blur(12px);
}
.media-kit-icon {
  color: var(--gold);
  margin-bottom: 20px;
}
.media-kit-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.media-kit-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* --- FAQ --- */
.section-faq {
  background: var(--bg-primary);
}
.faq-grid {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s;
  backdrop-filter: blur(12px);
}
.faq-item:hover { border-color: var(--border-hover); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--gold); }
.faq-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s, color 0.3s;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--gold);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.open .faq-answer {
  max-height: 300px;
}
.faq-answer p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Apply CTA --- */
.section-apply {
  background: var(--bg-primary);
  padding: 80px 0 120px;
}
.apply-card {
  position: relative;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  text-align: center;
  overflow: hidden;
}
.apply-bg-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(212,197,124,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(78,205,196,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.apply-content { position: relative; z-index: 1; }
.apply-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 16px;
}
.apply-title {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.apply-text {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.apply-actions { margin-bottom: 24px; }
.apply-details {
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.apply-dot { color: rgba(212,197,124,0.4); }

/* --- Footer --- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand { max-width: 260px; }
.footer-logo {
  height: 26px;
  margin-bottom: 16px;
  filter: brightness(1.1);
}
.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-links {
  display: flex;
  gap: 64px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .calc-wrapper { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-float-card { display: none; }
  .steps-timeline { flex-wrap: wrap; gap: 16px; }
  .step-connector { display: none; }
  .step-card { max-width: none; flex: 1 1 calc(50% - 16px); min-width: 200px; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(5,10,21,0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-link { font-size: 17px; padding: 12px 24px; }
  .nav-cta { margin-left: 0; }
  .nav-toggle { display: flex; z-index: 1001; }

  .hero { padding: 110px 0 60px; min-height: auto; }
  .hero-title { font-size: 38px; }

  .section { padding: 64px 0; }
  .section-header { margin-bottom: 36px; }

  .about-grid { grid-template-columns: 1fr; gap: 32px; }

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

  .calc-results { gap: 12px; }
  .calc-result-amount { font-size: 32px; }
  .calc-result-card.featured .calc-result-amount { font-size: 40px; }

  .therapy-tabs { gap: 6px; }
  .therapy-tab { padding: 8px 14px; font-size: 12px; }
  .therapy-grid { grid-template-columns: 1fr; }

  .category-cpa-banner { padding: 10px 20px; gap: 8px; }
  .cpa-banner-value { font-size: 20px; }

  .steps-timeline { flex-direction: column; align-items: center; }
  .step-card { max-width: 400px; flex: none; width: 100%; }
  .why-grid { grid-template-columns: 1fr; }

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

  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .metric-value, .metric-prefix, .metric-suffix { font-size: 36px; }

  .apply-card { padding: 48px 24px; border-radius: var(--radius-lg); }

  .footer-inner { flex-direction: column; }
  .footer-links { gap: 32px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-lg, .btn-xl { width: 100%; justify-content: center; }
  .metrics-grid { grid-template-columns: 1fr; }
  .therapy-tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; }
  .therapy-tab { flex-shrink: 0; }
}
