/* Affiliate conversion kit */
.avc-band {
  position: relative;
  background: linear-gradient(135deg, #0b1220 0%, #111827 100%);
  color: #f8fafc;
  border-bottom: 1px solid #1f2937;
  padding: 14px 20px;
  z-index: 60;
}
.avc-band__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.avc-band__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  color: #1f2937;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .04em;
  padding: 4px 10px;
  border-radius: 999px;
}
.avc-band__copy {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 240px;
  font-size: 15.5px;
  line-height: 1.35;
}
.avc-band__copy strong {
  font-weight: 900;
}
.avc-band__price {
  font-weight: 800;
  color: #38bdf8;
}
.avc-band__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  color: #0f172a;
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 0 #bfdbfe;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.avc-band__cta:hover {
  background: #dbeafe;
  box-shadow: 0 2px 0 #bfdbfe;
  transform: translateY(-1px);
}
.avc-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #0b1220;
  color: #f8fafc;
  padding: 12px 16px;
  font-weight: 800;
  font-size: 15px;
  border-top: 2px solid #2563eb;
  box-shadow: 0 -6px 18px rgba(0,0,0,.5);
}
.avc-sticky__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, #2563eb, #0ea5e9);
  color: #fff;
  font-weight: 800;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 0 #1d4ed8;
}
.avc-sticky__cta:hover {
  filter: brightness(1.06);
}
@media (max-width: 720px) {
  .avc-sticky {
    display: flex;
  }
}
@media (max-width: 640px) {
  .avc-sticky__price {
    display: none;
  }
}
a.avc-band__cta:focus-visible,
a.avc-sticky__cta:focus-visible,
a.avc-deal-card__btn:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}

/* Related Guides & Deals Cross-Linking Section */
.avc-related {
  margin: 48px auto 32px auto;
  max-width: 1160px;
  padding: 32px 28px;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-sizing: border-box;
}
.avc-related__header {
  margin-bottom: 24px;
}
.avc-related__title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
  line-height: 1.3;
}
.avc-related__subtitle {
  font-size: 14.5px;
  color: #334155;
  margin: 0;
  line-height: 1.4;
}
.avc-deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.avc-deal-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  transition: transform .2s ease, box-shadow .2s ease;
  box-sizing: border-box;
}
.avc-deal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.avc-deal-card--featured {
  border-color: #2563eb;
  border-width: 2px;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.12);
}
.avc-deal-card__badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  padding: 4px 9px;
  border-radius: 6px;
  background: #dbeafe;
  color: #1e3a8a;
  margin-bottom: 12px;
}
.avc-deal-card__badge--privacy {
  background: #ede9fe;
  color: #4c1d95;
}
.avc-deal-card__badge--partner {
  background: #fef3c7;
  color: #78350f;
}
.avc-deal-card__name {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}
.avc-deal-card__desc {
  font-size: 14px;
  color: #334155;
  line-height: 1.5;
  flex: 1 1 auto;
  margin-bottom: 16px;
}
.avc-deal-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}
.avc-deal-card__price {
  color: #1d4ed8;
}
.avc-deal-card__guarantee {
  color: #047857;
}
.avc-deal-card__sublink {
  color: #1d4ed8;
  text-decoration: underline;
}
.avc-deal-card__btn {
  display: block;
  text-align: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1d4ed8, #1e40af);
  color: #ffffff !important;
  font-weight: 800;
  text-decoration: none !important;
  font-size: 14.5px;
  box-shadow: 0 4px 0 #172554;
  transition: transform .15s ease, filter .15s ease;
}
.avc-deal-card__btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.avc-deal-card__btn--proton {
  background: linear-gradient(90deg, #6d28d9, #4338ca);
  box-shadow: 0 4px 0 #312e81;
}
.avc-deal-card__btn--dev {
  background: linear-gradient(90deg, #0369a1, #0f766e);
  box-shadow: 0 4px 0 #164e63;
}
.avc-related__guides {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #cbd5e1;
}
.avc-related__guides-title {
  font-size: 16.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 14px 0;
}
.avc-related__links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.avc-related__links a {
  color: #1d4ed8;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: color .15s ease;
}
.avc-related__links a:hover {
  color: #1e40af;
  text-decoration: underline;
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
  .avc-related {
    background: #0f172a;
    border-color: #1e293b;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  }
  .avc-related__title,
  .avc-deal-card__name,
  .avc-related__guides-title {
    color: #f8fafc;
  }
  .avc-related__subtitle,
  .avc-deal-card__desc {
    color: #cbd5e1;
  }
  .avc-deal-card {
    background: #1e293b;
    border-color: #334155;
  }
  .avc-deal-card__price,
  .avc-related__links a {
    color: #93c5fd;
  }
  .avc-deal-card__guarantee {
    color: #6ee7b7;
  }
  .avc-related__guides {
    border-top-color: #334155;
  }
}
