@font-face {
  font-family: 'Kalpurush';
  src: url('/assets/fonts/kalpurush.woff2') format('woff2'),
    url('/assets/fonts/kalpurush.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

:root {
  --primary-font-stack: 'Noto Sans', 'Kalpurush', sans-serif;
  --aff-primary: #c9a84c;
  --aff-bg: #f5f0e8;
  --aff-card-bg: #ffffff;
  --aff-text: #1a2e1a;
  --aff-text-muted: #6b7c6b;
  --aff-border: #e0d8c8;
  --aff-success: #2e7d32;
  --aff-warning: #ed6c02;
}

html,
body {
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100vh;
  height: auto;
}

body {
  position: relative;
  background: linear-gradient(180deg, #fcfaf6 0%, #f7f0e5 100%);
  overscroll-behavior-y: auto;
}

/* ═══════════════════════════════════════════
   ANNOUNCEMENT BAR
   ═══════════════════════════════════════════ */
.ann-bar {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}

.ann-bar-track {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  width: max-content;
  will-change: transform;
}

.ann-bar-track-content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  gap: 24px;
  padding: 0 18px;
}

.mobile-menu-overlay {
  pointer-events: none;
}

.mobile-menu-overlay.open {
  pointer-events: auto;
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.aff-hero,
.aff-dashboard {
  max-width: 1200px;
  margin: 0 auto;
  padding: 44px 20px 24px;
}

.aff-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 32px;
  align-items: center;
  padding-top: 56px;
}

.aff-hero-copy {
  max-width: 620px;
}

.aff-hero-copy h1 {
  font-family: var(--primary-font-stack);
  font-size: clamp(2rem, 3vw, 2.75rem);
  color: var(--green-deep, #1e3a2a);
  margin: 14px 0 12px;
  line-height: 1.25;
}

.aff-hero-copy p,
.aff-section-subtitle,
.aff-form-intro p,
.aff-benefit-card p,
.aff-step-card p,
.aff-faq-answer p,
.aff-tier-card p,
.aff-product-card p,
.aff-timeline-content p,
.aff-testimonial-text,
.aff-calc-subtitle {
  color: var(--aff-text-muted);
  line-height: 1.8;
}

.aff-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold, #c9a84c);
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(201, 168, 76, 0.18);
}

.aff-pill.alt {
  background: rgba(30, 58, 42, 0.08);
  color: var(--green-deep, #1e3a2a);
}

.aff-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 16px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border: 0;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold, #c9a84c), #d6b45f);
  color: #fff;
  box-shadow: 0 12px 24px rgba(201, 168, 76, 0.2);
}

.btn-primary:hover {
  background: var(--green-deep, #1e3a2a);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(26, 74, 46, 0.30);
}

.btn-primary:active {
  background: #0f2b1e;
  color: #fff;
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(26, 74, 46, 0.25);
}

.btn-primary:focus-visible {
  outline: 3px solid var(--gold, #c9a84c);
  outline-offset: 2px;
}

.btn-secondary {
  background: #fff;
  color: var(--green-deep, #1e3a2a);
  border: 1px solid rgba(30, 58, 42, 0.12);
}

.btn-secondary:hover {
  background: var(--green-deep, #1e3a2a);
  color: #fff;
  border-color: var(--green-deep, #1e3a2a);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 74, 46, 0.15);
}

.btn-secondary:active {
  background: #0f2b1e;
  color: #fff;
  transform: translateY(0);
}

.btn-secondary:focus-visible {
  outline: 3px solid var(--gold, #c9a84c);
  outline-offset: 2px;
}

.btn-primary.full {
  width: 100%;
}

.aff-check-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.aff-check-list li {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--aff-border);
  color: var(--aff-text);
}

/* ═══════════════════════════════════════════
   HERO CALCULATOR CARD
   ═══════════════════════════════════════════ */
.aff-hero-card,
.aff-section,
.aff-stat-card,
.aff-form-card {
  background: var(--aff-card-bg);
  border: 1px solid var(--aff-border);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(20, 35, 24, 0.06);
}

.aff-calc-card {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aff-calc-title {
  margin: 0;
  font-size: 1.2rem;
  color: var(--green-deep, #1e3a2a);
}

.aff-calc-subtitle {
  margin: -8px 0 0;
  font-size: 0.88rem;
}

.aff-calc-input-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.aff-calc-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--green-deep, #1e3a2a);
}

.aff-calc-number {
  width: 72px;
  padding: 8px 10px;
  border: 1px solid var(--aff-border);
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  background: #faf6eb;
  color: var(--gold, #c9a84c);
}

.aff-calc-number:focus {
  outline: none;
  border-color: var(--gold, #c9a84c);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

/* range slider */
.aff-calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--gold, #c9a84c) 0%, var(--aff-border) 0%);
  outline: none;
  cursor: pointer;
}

.aff-calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold, #c9a84c);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  cursor: grab;
}

.aff-calc-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold, #c9a84c);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  cursor: grab;
}

.aff-calc-results {
  background: #faf6eb;
  border-radius: 16px;
  padding: 18px;
}

.aff-calc-tier-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--green-deep, #1e3a2a);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.aff-calc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid rgba(224, 216, 200, 0.5);
}

.aff-calc-row:last-child {
  border-bottom: none;
}

.aff-calc-est-label {
  font-size: 0.88rem;
  color: var(--aff-text-muted);
}

.aff-calc-est-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold, #c9a84c);
  font-family: var(--primary-font-stack);
}

.aff-calc-row-sm {
  font-size: 0.82rem;
}

/* tier progress bar */
.aff-calc-tier-bar {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 4px;
}

.aff-calc-tier-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  flex: 1;
  font-size: 0.72rem;
  color: var(--aff-text-muted);
  transition: color 0.3s ease;
}

.aff-calc-tier-step strong {
  font-size: 0.82rem;
}

.aff-calc-tier-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--aff-border);
  transition: background 0.3s ease, transform 0.3s ease;
}

.aff-calc-tier-active {
  color: var(--green-deep, #1e3a2a);
  font-weight: 600;
}

.aff-calc-tier-active .aff-calc-tier-dot {
  background: var(--gold, #c9a84c);
  transform: scale(1.3);
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.2);
}

.aff-calc-tier-line {
  flex: 0.6;
  height: 2px;
  background: var(--aff-border);
  margin-bottom: 24px;
}

/* ═══════════════════════════════════════════
   COMMISSION TIERS SECTION
   ═══════════════════════════════════════════ */
.aff-section {
  padding: 28px;
  margin-bottom: 24px;
}

.aff-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.aff-section-head h2,
.aff-form-intro h2,
.aff-header h1 {
  font-family: var(--primary-font-stack);
  color: var(--green-deep, #1e3a2a);
  margin: 0;
}

.aff-tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.aff-tier-card {
  padding: 28px 24px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--aff-border);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.aff-tier-card:hover {
  border-color: var(--gold, #c9a84c);
  box-shadow: 0 20px 48px rgba(201, 168, 76, 0.12);
  transform: translateY(-4px);
}

.aff-tier-featured {
  border-color: var(--gold, #c9a84c);
  background: linear-gradient(180deg, #fffdf6 0%, #fff 100%);
  box-shadow: 0 12px 32px rgba(201, 168, 76, 0.15);
}

.aff-tier-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(30, 58, 42, 0.08);
  color: var(--green-deep, #1e3a2a);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.aff-tier-featured .aff-tier-badge {
  background: var(--gold, #c9a84c);
  color: #fff;
}

.aff-tier-rate {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold, #c9a84c);
  margin: 8px 0 12px;
  font-family: var(--primary-font-stack);
}

.aff-tier-features {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  text-align: left;
}

.aff-tier-features li {
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--aff-text-muted);
  position: relative;
  padding-left: 20px;
}

.aff-tier-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--aff-success);
  font-weight: 700;
}

/* first referral bonus card */
.aff-bonus-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  margin-top: 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fffdf6 0%, #faf6eb 100%);
  border: 1px solid rgba(201, 168, 76, 0.25);
}

.aff-bonus-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.aff-bonus-text h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: var(--green-deep, #1e3a2a);
}

.aff-bonus-text p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--aff-text-muted);
}

/* ═══════════════════════════════════════════
   PRODUCTS SECTION
   ═══════════════════════════════════════════ */
.aff-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.aff-product-card {
  padding: 16px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--aff-border);
  text-align: center;
  transition: all 0.3s ease;
}

.aff-product-card:hover {
  border-color: var(--gold, #c9a84c);
  box-shadow: 0 16px 40px rgba(201, 168, 76, 0.10);
  transform: translateY(-4px);
}

.aff-product-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: #faf6eb;
  margin-bottom: 12px;
}

.aff-product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.aff-product-card:hover .aff-product-img-wrap img {
  transform: scale(1.05);
}

.aff-product-card h4 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  color: var(--green-deep, #1e3a2a);
}

.aff-product-card p {
  margin: 0;
  font-size: 0.82rem;
}

.aff-products-cta {
  text-align: center;
  margin-top: 20px;
}

/* ═══════════════════════════════════════════
   HOW IT WORKS — TIMELINE
   ═══════════════════════════════════════════ */
.aff-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.aff-timeline-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0;
  min-height: 100px;
}

.aff-timeline-circle {
  grid-column: 1;
  grid-row: 1 / -1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold, #c9a84c);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(201, 168, 76, 0.3);
}

.aff-timeline-connector {
  grid-column: 1;
  grid-row: 2;
  width: 2px;
  background: var(--aff-border);
  margin: 0 auto;
  flex: 1;
  min-height: 32px;
}

.aff-timeline-step:last-child .aff-timeline-connector {
  display: none;
}

.aff-timeline-content {
  grid-column: 2;
  padding: 0 0 24px 20px;
}

.aff-timeline-content h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--green-deep, #1e3a2a);
}

.aff-timeline-content p {
  margin: 0;
  font-size: 0.9rem;
}

/* ═══════════════════════════════════════════
   SOCIAL PROOF — TRUST BAR + TESTIMONIALS
   ═══════════════════════════════════════════ */
.aff-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 24px;
  margin-bottom: 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--green-deep, #1e3a2a) 0%, #0f2b1e 100%);
  color: #fff;
  flex-wrap: wrap;
}

.aff-trust-stat {
  text-align: center;
}

.aff-trust-stat strong {
  display: block;
  font-size: 1.4rem;
  color: var(--gold, #c9a84c);
  font-family: var(--primary-font-stack);
}

.aff-trust-stat span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
}

.aff-trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
}

.aff-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.aff-testimonial-card {
  padding: 24px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--aff-border);
  transition: all 0.3s ease;
}

.aff-testimonial-card:hover {
  border-color: var(--gold, #c9a84c);
  box-shadow: 0 16px 40px rgba(201, 168, 76, 0.10);
  transform: translateY(-3px);
}

.aff-testimonial-stars {
  color: var(--gold, #c9a84c);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.aff-testimonial-text {
  margin: 0 0 16px;
  font-size: 0.92rem;
  line-height: 1.7;
  font-style: italic;
}

.aff-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.aff-testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.16);
  color: var(--gold, #c9a84c);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.aff-testimonial-author strong {
  display: block;
  font-size: 0.88rem;
  color: var(--green-deep, #1e3a2a);
}

.aff-testimonial-author span {
  font-size: 0.78rem;
  color: var(--aff-text-muted);
}

/* ═══════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════ */
.aff-faq-section {
  margin-top: -8px;
}

.aff-faq-grid {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.aff-faq-item {
  border: 1px solid var(--aff-border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s ease;
}

.aff-faq-item:hover {
  border-color: var(--gold, #c9a84c);
}

.aff-faq-item[open] {
  border-color: var(--gold, #c9a84c);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.08);
}

.aff-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--green-deep, #1e3a2a);
  font-family: inherit;
  font-size: 0.95rem;
  list-style: none;
  user-select: none;
}

.aff-faq-question::-webkit-details-marker {
  display: none;
}

.aff-faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--gold, #c9a84c);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  line-height: 1;
}

.aff-faq-item[open] .aff-faq-question::after {
  transform: rotate(45deg);
}

.aff-faq-answer {
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: var(--aff-text-muted);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   FORM SECTION
   ═══════════════════════════════════════════ */
.aff-form-card {
  padding: 32px 28px;
  display: grid;
  gap: 20px;
}

.aff-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.aff-tab {
  border: 1px solid var(--aff-border);
  background: #fbf7ee;
  color: var(--aff-text);
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  transition: all 0.2s ease;
}

.aff-tab:hover {
  background: rgba(26, 74, 46, 0.08);
  border-color: var(--green-deep, #1e3a2a);
}

.aff-tab:focus-visible {
  outline: 3px solid var(--gold, #c9a84c);
  outline-offset: 2px;
}

.aff-tab.active {
  background: var(--green-deep, #1e3a2a);
  color: #fff;
  border-color: var(--green-deep, #1e3a2a);
}

.aff-form {
  display: none;
  gap: 16px;
}

.aff-form.active-form {
  display: grid;
}

.aff-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.aff-form-row {
  display: grid;
  gap: 6px;
}

.aff-form-row label {
  font-weight: 600;
  color: var(--green-deep, #1e3a2a);
  font-size: 0.9rem;
}

.aff-form-row input {
  border: 1px solid var(--aff-border);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.aff-form-row input::placeholder {
  color: #b0a898;
  opacity: 1;
}

.aff-form-row input:focus {
  outline: none;
  border-color: var(--gold, #c9a84c);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.aff-form-row input:focus-visible {
  outline: 3px solid var(--gold, #c9a84c);
  outline-offset: 1px;
}

.aff-form-message {
  min-height: 24px;
  color: var(--aff-success);
  font-weight: 600;
}

/* ═══════════════════════════════════════════
   DASHBOARD TABS
   ═══════════════════════════════════════════ */
.aff-tab-panel {
  display: none;
}

.aff-tab-panel.active {
  display: block;
}

.aff-nav-link-active {
  color: var(--gold, #c9a84c) !important;
}

/* ═══════════════════════════════════════════
   DASHBOARD STYLES (kept for dashboard.html)
   ═══════════════════════════════════════════ */
.aff-dashboard {
  padding-top: 56px;
}

.aff-header {
  margin-bottom: 28px;
}

.aff-header h1 {
  font-size: 2rem;
  margin-top: 10px;
}

.aff-header p {
  margin: 8px 0 0;
  color: var(--aff-text-muted);
}

.aff-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.aff-stat-card {
  padding: 24px;
  text-align: left;
  transition: all 0.3s ease;
}

.aff-stat-card:hover {
  box-shadow: 0 20px 48px rgba(20, 35, 24, 0.10);
  transform: translateY(-2px);
}

.aff-stats-grid .aff-stat-card:last-child:nth-child(4) {
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .aff-stats-grid .aff-stat-card:last-child:nth-child(4) {
    grid-column: auto;
  }
}

.aff-profile-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #fbf7ee;
  border: 1px solid var(--aff-border);
}

.aff-profile-card strong {
  display: block;
  font-size: 1.05rem;
  color: var(--green-deep, #1e3a2a);
}

.aff-profile-card p {
  margin: 4px 0 0;
  color: var(--aff-text-muted);
}

.aff-profile-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff3e0;
  color: var(--aff-warning);
  font-weight: 700;
}

.aff-stat-label {
  font-size: 0.84rem;
  color: var(--aff-text-muted);
  margin-bottom: 8px;
}

.aff-stat-value {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--gold, #c9a84c);
  font-family: var(--primary-font-stack);
}

.aff-stat-caption {
  margin-top: 8px;
  color: var(--aff-text-muted);
  font-size: 0.9rem;
}

.aff-link-box {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.aff-link-box input {
  flex: 1;
  min-width: 240px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--aff-border);
  font-family: Consolas, monospace;
  background: #fcfaf7;
}

.aff-link-box input:focus {
  outline: none;
  border-color: var(--gold, #c9a84c);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.aff-table-wrap {
  overflow-x: auto;
}

.aff-table {
  width: 100%;
  border-collapse: collapse;
}

.aff-table th,
.aff-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--aff-border);
  font-size: 0.92rem;
}

.aff-table th {
  color: var(--aff-text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.aff-badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.77rem;
  font-weight: 700;
}

.aff-badge-success {
  background: #e8f5e9;
  color: var(--aff-success);
}

.aff-badge-pending {
  background: #fff3e0;
  color: var(--aff-warning);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .aff-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .aff-hero-copy {
    max-width: none;
  }

  .aff-tier-grid,
  .aff-product-grid,
  .aff-testimonial-grid,
  .aff-stats-grid {
    grid-template-columns: 1fr;
  }

  .aff-trust-bar {
    gap: 20px;
  }

  .aff-trust-divider {
    display: none;
  }
}

@media (max-width: 640px) {
  .aff-hero,
  .aff-dashboard {
    padding-left: 16px;
    padding-right: 16px;
  }

  .aff-section,
  .aff-form-card,
  .aff-stat-card {
    padding: 20px;
  }

  .aff-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .aff-form-grid {
    grid-template-columns: 1fr;
  }

  .aff-link-box {
    flex-direction: column;
  }

  .aff-link-box .btn-primary {
    width: 100%;
  }

  .aff-form-row input {
    padding: 14px 14px;
    font-size: 16px;
  }

  .aff-faq-question {
    padding: 16px 14px;
    font-size: 0.9rem;
  }

  .aff-faq-answer {
    padding: 0 14px 14px;
  }

  .aff-hero-copy h1 {
    font-size: clamp(1.6rem, 5vw, 2rem);
  }

  .aff-calc-est-value {
    font-size: 1.3rem;
  }

  .aff-tier-rate {
    font-size: 2rem;
  }

  .aff-timeline-step {
    grid-template-columns: 40px 1fr;
  }

  .aff-timeline-circle {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }

  .aff-trust-bar {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }
}