/* ===================================================
   ICON SYSTEM — Global icon quality & sizing fixes
   Applies sitewide across all service page layouts
   =================================================== */

/* ── Base SVG rendering properties ─────────────────── */
svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ── Enforce consistent stroke rendering on all icons ── */
.bi-svc-icon svg,
.bi-benefit-icon svg,
.bi-tool-cat-icon svg,
.am-svc-icon svg,
.am-insight-icon svg,
.ec-svc-icon svg,
.ec-benefit-icon svg,
.ec-feature-icon svg,
.ccp-svc-icon svg,
.ccp-benefit-icon svg,
.seo-svc-icon svg,
.seo-benefit-icon svg,
.fsd-svc-icon svg,
.fsd-benefit-icon svg,
.service-card-icon svg {
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  display: block;
  width: 100%;
  height: 100%;
}

/* ── Pain item icon — X mark ───────────────────────── */
.bi-pain-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.10);
  border: 1px solid rgba(239, 68, 68, 0.20);
  color: #EF4444;
  flex-shrink: 0;
}
.bi-pain-icon svg {
  width: 13px;
  height: 13px;
  stroke: #EF4444;
  stroke-width: 2.5;
  fill: none;
  display: block;
}

/* ── Tool pill icons ────────────────────────────────── */
.bi-pill-icon,
.am-platform-pill-icon,
.am-channel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}
.bi-pill-icon svg,
.am-platform-pill-icon svg,
.am-channel-icon svg {
  width: 14px;
  height: 14px;
  display: block;
  flex-shrink: 0;
}

/* ── Tool category icons ────────────────────────────── */
.bi-tool-cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.bi-tool-cat-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
}

/* ── Service card icons ─────────────────────────────── */
.bi-svc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 185, 244, 0.06);
  border: 1px solid rgba(0, 185, 244, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: all 0.3s ease;
}
.bi-svc-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
}
.bi-service-card:hover .bi-svc-icon {
  background: rgba(0, 185, 244, 0.12);
  border-color: rgba(0, 185, 244, 0.3);
  transform: scale(1.05);
}

/* ── Benefit card icons ─────────────────────────────── */
.bi-benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 185, 244, 0.06);
  border: 1px solid rgba(0, 185, 244, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: all 0.3s ease;
}
.bi-benefit-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
}
.bi-benefit-card:hover .bi-benefit-icon {
  background: rgba(0, 185, 244, 0.15);
  border-color: rgba(0, 185, 244, 0.35);
}

/* ── Arrow icons in cards ───────────────────────────── */
.bi-svc-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  align-self: flex-start;
  transition: all 0.3s ease;
}
.bi-svc-arrow svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}
.bi-service-card:hover .bi-svc-arrow {
  background: var(--accent);
  color: var(--bg-primary);
  border-color: var(--accent);
  transform: translate(2px, -2px);
}
.bi-service-card:hover .bi-svc-arrow svg {
  stroke: var(--bg-primary);
}

/* ── AM service card icons ──────────────────────────── */
.am-svc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 185, 244, 0.06);
  border: 1px solid rgba(0, 185, 244, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: all 0.3s ease;
}
.am-svc-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
}

/* ── Platform pill icons — preserve brand fill colors ── */
.am-platform-pill-icon svg { display: block; }

/* ── Channel row icons in campaign card ─────────────── */
.am-channel-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  padding: 4px;
}

/* ── Overview tag icons ─────────────────────────────── */
.am-overview-tag svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent);
  flex-shrink: 0;
}

/* ── Index page service card icons ──────────────────── */
.service-card-icon {
  width: 60px;
  height: 60px;
  color: var(--accent);
}
.service-card-icon svg {
  width: 52px;
  height: 52px;
  stroke: var(--accent);
}

/* ── Consistent color for stroke-based brand icons ── */
.am-platform-pill svg[fill="currentColor"],
.bi-pill-icon svg[fill="currentColor"] {
  color: var(--accent);
  opacity: 0.85;
}

/* ── Logo area in hero panels ───────────────────────── */
.bi-logo-area {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.bi-logo-area svg {
  filter: drop-shadow(0 0 12px rgba(0, 185, 244, 0.2));
}

/* ── Sol guideline dot ──────────────────────────────── */
.bi-sol-guideline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(0, 185, 244, 0.4);
}

/* ── Hero badge dot animation ───────────────────────── */
.bi-hero-badge-dot,
.am-hero-badge-dot,
.ec-hero-badge-dot,
.ccp-hero-badge-dot,
.seo-hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: badgePulse 2s ease-in-out infinite;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(0, 185, 244, 0.6);
}
@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* ── Live dot in campaign card ──────────────────────── */
.am-live-dot-circle {
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
}
