/* Minimal nav — logo + single CTA */
.aff-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--gray-100);
  padding: 14px 0;
}
.aff-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ─── HERO ─── */
.aff-hero {
  position: relative;
  padding: clamp(100px, 14vw, 160px) 0 clamp(60px, 8vw, 100px);
  text-align: center;
  overflow: hidden;
}
.aff-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 50% at 50% 0%,
    rgba(0, 167, 111, 0.06) 0%,
    transparent 100%
  );
  pointer-events: none;
}
.aff-hero__source {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px 8px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-200);
  background: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.aff-hero__source-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-600);
}
.aff-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 700px;
  margin: 0 auto 20px;
}
.aff-hero__title span {
  color: var(--brand-600);
}
.aff-hero__sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.aff-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.aff-hero__actions .btn--xl {
  min-width: 280px;
  justify-content: center;
}
.aff-hero__offer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-xl);
  background: linear-gradient(
    135deg,
    rgba(0, 167, 111, 0.08) 0%,
    rgba(0, 167, 111, 0.04) 100%
  );
  border: 1.5px solid rgba(0, 167, 111, 0.25);
  font-size: 0.9375rem;
  color: var(--gray-800);
  margin-bottom: 32px;
  box-shadow:
    0 0 0 4px rgba(0, 167, 111, 0.04),
    var(--shadow-sm);
  max-width: 100%;
  box-sizing: border-box;
}
.aff-hero__offer-text {
  text-align: left;
  line-height: 1.5;
}
.aff-hero__offer svg {
  color: var(--brand-600);
  flex-shrink: 0;
}
.aff-hero__offer strong {
  color: var(--brand-700);
}
.aff-hero__trust {
  margin-top: 16px;
  font-size: 0.8125rem;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}
.aff-hero__trust svg {
  color: var(--brand-500);
}

/* ─── VIDEO EMBED ─── */
.aff-video {
  padding: 0 0 var(--section-py);
}
.aff-video__wrap {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  background: var(--gray-900);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.aff-video__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--gray-400);
  font-size: 0.9375rem;
}
.aff-video__play {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--brand-600);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 0 12px rgba(0, 167, 111, 0.15);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.aff-video__play:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 16px rgba(0, 167, 111, 0.2);
}

/* ─── WHAT IS DEPUTY CARE ─── */
.aff-what {
  padding: var(--section-py) 0;
  background: var(--gray-50);
}
.aff-what__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.aff-what__card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}
.aff-what__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--brand-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-600);
  margin-bottom: 20px;
}
.aff-what__card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.aff-what__card p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ─── PROBLEM / SOLUTION ─── */
.aff-problem {
  padding: var(--section-py) 0;
}
.aff-problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}
.aff-problem__col {
  border-radius: var(--radius-xl);
  padding: 40px;
}
.aff-problem__col--before {
  background: #fef3f2;
  border: 1px solid #fecdca;
}
.aff-problem__col--after {
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
}
.aff-problem__col h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.aff-problem__col--before h3 {
  color: #b42318;
}
.aff-problem__col--after h3 {
  color: var(--brand-700);
}
.aff-problem__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.aff-problem__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--gray-700);
  line-height: 1.5;
}
.aff-problem__list li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ─── HOW IT WORKS ─── */
.aff-how {
  padding: var(--section-py) 0;
  background: var(--gray-50);
}
.aff-how__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.aff-how__step {
  text-align: center;
  position: relative;
}
.aff-how__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-600);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.aff-how__step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.aff-how__step p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.5;
}
/* connector line between steps */
.aff-how__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 24px;
  left: calc(50% + 32px);
  width: calc(100% - 64px);
  height: 2px;
  background: var(--gray-200);
}

/* ─── STATS ─── */
.aff-stats {
  padding: var(--section-py) 0;
}
.aff-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.aff-stats__item {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-100);
  background: #fff;
}
.aff-stats__num {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--brand-600);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.aff-stats__label {
  font-size: 0.9375rem;
  color: var(--gray-500);
}

/* ─── FINAL CTA ─── */
.aff-cta {
  padding: var(--section-py) 0;
}
.aff-cta__inner {
  background: linear-gradient(135deg, var(--gray-900) 0%, #1a2e26 100%);
  border-radius: var(--radius-2xl);
  padding: clamp(48px, 8vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.aff-cta__glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 167, 111, 0.25) 0%,
    transparent 70%
  );
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.aff-cta__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  max-width: 640px;
  margin: 0 auto 16px;
  position: relative;
}
.aff-cta__sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.0625rem;
  margin-bottom: 32px;
  position: relative;
}
.aff-cta__inner .btn {
  position: relative;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .aff-what__grid,
  .aff-stats__grid {
    grid-template-columns: 1fr;
  }
  .aff-problem__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .aff-how__steps {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .aff-how__step::after {
    display: none !important;
  }
  .aff-hero__offer {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    font-size: 0.875rem;
    line-height: 1.45;
  }
  .aff-hero__offer-text {
    flex: 1;
    min-width: 0;
  }
}
@media (max-width: 480px) {
  .aff-how__steps {
    grid-template-columns: 1fr;
  }
}

/* ─── SCROLL ANIMATIONS ─── */
.aff-fade {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.aff-fade.visible {
  opacity: 1;
  transform: translateY(0);
}
