/* ============================================
   AFFILIATE WIDGETS — gethelix.net
   Contextual product recommendation widgets
   placed on operator-relevant pages.
   ============================================ */

.aff-widget {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  padding: 24px;
  margin: 32px 0;
}

.aff-widget h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--amber);
  margin-bottom: 12px;
}

.aff-widget p {
  font-size: 13px;
  color: var(--gray-400);
  line-height: 1.5;
  margin-bottom: 16px;
}

/* Starter Kit Widget */
.aff-widget.starter-kit {
  border-color: rgba(245, 158, 11, 0.2);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.03) 0%, var(--gray-900) 100%);
}

.aff-kit-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.aff-kit-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-800);
  font-size: 13px;
}

.aff-kit-list li:last-child {
  border-bottom: none;
}

.aff-kit-list .kit-item {
  color: var(--gray-300);
}

.aff-kit-list .kit-price {
  font-family: 'JetBrains Mono', monospace;
  color: var(--gray-500);
  font-size: 12px;
}

.aff-kit-list .kit-link {
  color: var(--amber);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}

.aff-kit-list .kit-link:hover {
  text-decoration: underline;
}

.aff-kit-total {
  display: flex;
  justify-content: space-between;
  padding: 12px 0 0;
  border-top: 2px solid var(--gray-700);
  font-size: 14px;
  font-weight: 600;
}

.aff-kit-total .label {
  color: var(--gray-300);
}

.aff-kit-total .value {
  font-family: 'JetBrains Mono', monospace;
  color: var(--amber);
}

/* Formation / Insurance CTA Widget */
.aff-widget.formation {
  border-color: rgba(34, 197, 94, 0.2);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.03) 0%, var(--gray-900) 100%);
  text-align: center;
}

.aff-widget.formation h4 {
  color: var(--green);
}

.aff-cta-btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.2s;
}

.aff-cta-btn.green {
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.aff-cta-btn.green:hover {
  background: rgba(34, 197, 94, 0.25);
}

.aff-cta-btn.amber {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.aff-cta-btn.amber:hover {
  background: rgba(245, 158, 11, 0.25);
}

/* Competitor Exit Widget */
.aff-widget.exit-net {
  border-color: rgba(239, 68, 68, 0.2);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.03) 0%, var(--gray-900) 100%);
  text-align: center;
}

.aff-widget.exit-net h4 {
  color: var(--gray-400);
  font-size: 12px;
}

/* Trade Tools Widget */
.aff-widget.trade-tools {
  border-color: rgba(245, 158, 11, 0.15);
}

.aff-tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.aff-tool-card {
  background: var(--gray-800);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}

.aff-tool-card .tool-name {
  font-size: 12px;
  color: var(--gray-300);
  margin-bottom: 4px;
}

.aff-tool-card .tool-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gray-500);
}

.aff-tool-card a {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--amber);
  text-decoration: none;
}

/* Disclosure */
.aff-disclosure {
  font-size: 10px;
  color: var(--gray-600);
  margin-top: 12px;
  font-style: italic;
}

@media (max-width: 600px) {
  .aff-tool-grid {
    grid-template-columns: 1fr;
  }
}
