/* =====================================================
   DESIGN-SYSTEM.CSS — RankBoost Agency (Redesign 2026)
   Shared page-level components consolidated here
   to eliminate duplication across 25+ page CSS files.
   ===================================================== */

/* ===== PAGE HERO (all inner pages) ===== */
.rb-hero {
  position: relative;
  overflow: hidden;
  padding-top: var(--section-py-lg);
  padding-bottom: var(--section-py);
  background: linear-gradient(180deg, #FAFAFD 0%, #ffffff 100%);
}
.rb-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 10% 20%, rgba(91,71,224,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 92% 16%, rgba(200,255,0,0.16) 0%, transparent 60%);
  pointer-events: none;
}
/* Floating orbs */
.rb-hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(30px);
  opacity: 0.5;
  pointer-events: none;
  will-change: transform;
}
.rb-hero-orb--purple {
  width: 240px; height: 240px;
  left: 4%; top: 20%;
  background: rgba(91,71,224,0.2);
  animation: floatOrb 7s ease-in-out infinite;
}
.rb-hero-orb--lime {
  width: 180px; height: 180px;
  right: 8%; top: 12%;
  background: rgba(200,255,0,0.4);
  animation: floatOrb 8s ease-in-out infinite reverse;
}
@keyframes floatOrb {
  0%, 100% { transform: translate(0,0); }
  33% { transform: translate(20px,-30px); }
  66% { transform: translate(-15px,20px); }
}

/* Hero content wrapper — narrow pages */
.rb-hero-content { position: relative; z-index: 1; max-width: 860px; }
.rb-hero-content h1 {
  font-size: var(--fs-h1); font-weight: 800;
  line-height: 1.06; letter-spacing: -0.032em;
  color: var(--ink); margin-top: var(--space-md);
}
.rb-hero-ctas { display: flex; flex-wrap: wrap; gap: var(--grid-gap-sm); margin-top: var(--space-lg); }

/* Grid hero variant (two-column) */
.rb-hero--grid::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(91,71,224,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,71,224,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent);
}

/* AI Solutions / two-col hero inner */
.ais-hero-inner {
  display: grid;
  gap: var(--grid-gap-lg);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 1024px) { .ais-hero-inner { grid-template-columns: 1fr 460px; } }

/* ===== STATS BLOCK (dark card with 2×2 grid) ===== */
.rb-stats-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap-sm);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--ink);
  padding: var(--card-pad);
  box-shadow: var(--shadow-lg);
}
.rb-stat {
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.06);
  padding: var(--card-pad);
  border: 1px solid rgba(255,255,255,0.07);
  transition: background 200ms;
}
.rb-stat:hover { background: rgba(255,255,255,0.09); }
.rb-stat strong {
  display: block; font-size: 32px; font-weight: 900;
  color: var(--accent); line-height: 1; letter-spacing: -0.04em;
}
.rb-stat span {
  display: block; margin-top: 7px;
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.55); line-height: 1.4;
}

/* ===== RESULTS BAR (dark band with two-col layout) ===== */
.gs-results-bar {
  padding: var(--section-py) 0;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.gs-results-bar::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 80% 50%, rgba(200,255,0,0.06), transparent 60%);
  pointer-events: none;
}
.gs-results-inner {
  display: grid;
  gap: var(--grid-gap-lg);
  position: relative;
  z-index: 1;
}
@media (min-width: 1024px) {
  .gs-results-inner { grid-template-columns: 1fr 1fr; align-items: center; }
}
.gs-results-copy h2 { color: #fff; }
.gs-results-copy .eyebrow { color: var(--accent); }
.gs-results-copy .eyebrow::before { background: var(--accent); }
.gs-results-copy p {
  color: rgba(255,255,255,0.62);
  margin-top: var(--space-md);
  font-size: 16px;
  line-height: 1.78;
}

/* Metrics 2×2 grid in dark band */
.gs-metrics {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr 1fr;
}
.gs-metric {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r-lg);
  padding: var(--card-pad) 24px;
  transition: background 200ms, transform 200ms var(--ease);
}
.gs-metric:hover { background: rgba(255,255,255,0.09); transform: translateY(-3px); }
.gs-metric strong {
  display: block;
  font-size: 42px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-xs);
}
.gs-metric span {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
}

/* ===== FAQ SECTION & LIST (shared) ===== */
/* Single shared FAQ pattern — matches the homepage's FAQ card style
   exactly (rounded card items, circular plus-icon that fills and
   rotates on open, sticky sidebar copy) so every page using
   .gs-faq-section/.rb-faq-grid/.gs-faq-list renders identically to
   the homepage's FAQ. Change it once here, it updates everywhere. */
/* ============================================================
   SHARED — "STICKY LEFT / ACCORDION RIGHT" FAQ
   Promoted here from home.css — this is the homepage's own actual
   FAQ implementation (distinct from the .gs-faq-section/native
   <details> component below, which other pages use). Promoted so
   /ai-solutions can match the homepage exactly rather than just
   visually resemble it. Toggle JS lives globally in master.js.
   ============================================================ */
.faq-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.faq-sticky {
  position: sticky;
  top: 110px;
}
.faq-sticky p {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.75;
  margin-top: 16px;
  margin-bottom: 28px;
  max-width: 340px;
}
.faq-item {
  border-bottom: 1px solid var(--line-strong);
}
.faq-item:first-child {
  border-top: 1px solid var(--line-strong);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 2px;
  cursor: pointer;
}
.faq-q h4 {
  font-size: 16px;
  font-weight: 700;
}
.faq-q .plus {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease);
}
.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}
.faq-q .plus::before {
  width: 11px;
  height: 1.6px;
}
.faq-q .plus::after {
  width: 1.6px;
  height: 11px;
}
.faq-item.is-open .faq-q .plus {
  transform: rotate(135deg);
  border-color: var(--primary);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-a-inner {
  padding: 0 2px 24px;
  font-size: 14.5px;
  color: var(--ink-muted);
  line-height: 1.75;
  max-width: 600px;
}
@media (max-width: 900px) {
  .faq-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .faq-sticky {
    position: static;
  }
  .faq-sticky p {
    max-width: none;
  }
}
@media (max-width: 480px) {
  .faq-q {
    padding: 18px 2px;
    gap: 12px;
  }
  .faq-q h4 {
    font-size: 15px;
  }
  .faq-q .plus {
    width: 26px;
    height: 26px;
  }
}

.gs-faq-section, .rb-faq-section {
  padding-top: var(--section-py-sm);
  padding-bottom: var(--section-py-sm);
  background: var(--surface);
}
.rb-faq-grid {
  display: grid;
  gap: 64px;
  align-items: start;
}
@media (min-width: 1024px) { .rb-faq-grid { grid-template-columns: 0.85fr 1.15fr; } }

.gs-faq-list {
  display: grid;
  gap: 14px;
}
.gs-faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: border-color 260ms, box-shadow 260ms;
  overflow: hidden;
}
.gs-faq-list details[open] {
  border-color: rgba(91, 71, 224, 0.22);
  box-shadow: 0 16px 36px rgba(91, 71, 224, 0.08);
}
.gs-faq-list details:first-child,
.gs-faq-list details:hover {
  background: var(--surface);
}
.gs-faq-list summary {
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--grid-gap-sm);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  user-select: none;
  transition: color 180ms;
}
.gs-faq-list summary::-webkit-details-marker { display: none; }
.gs-faq-list details[open] > summary { color: var(--primary); }
.gs-faq-list .chevron-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--surface-2);
  display: inline-flex;
  align-items: center; justify-content: center;
  color: var(--ink);
  transition: transform 300ms var(--ease), background 260ms, color 260ms;
}
.gs-faq-list details[open] > summary .chevron-icon {
  transform: rotate(135deg);
  background: var(--primary);
  color: #fff;
}
.gs-faq-list details p {
  margin: 0;
  padding: 0 24px 22px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-muted);
  max-width: 600px;
}

/* ===== AI SOLUTION CARD GRID ===== */
.ais-grid {
  display: grid;
  gap: var(--grid-gap);
  margin-top: var(--space-md);
}
@media (min-width: 768px)  { .ais-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .ais-grid { grid-template-columns: repeat(3, 1fr); } }

.ais-card {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  padding: var(--card-pad-lg);
  display: flex;
  flex-direction: column;
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.ais-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(91,71,224,0.22);
}
.ais-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--primary-light) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
}
.ais-card:hover::before { opacity: 1; }
.ais-card h3 {
  font-size: 19px; font-weight: 800;
  letter-spacing: -0.015em; margin-bottom: var(--space-sm);
  position: relative;
}
.ais-card p {
  font-size: 14px; color: var(--ink-muted);
  line-height: 1.72; flex: 1; margin-bottom: var(--space-md);
  position: relative;
}
.ais-card-icon {
  width: 50px; height: 50px;
  border-radius: var(--r-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: var(--space-md);
  transition: background 200ms, color 200ms;
  position: relative;
}
.ais-card:hover .ais-card-icon { background: var(--primary); color: #fff; }
.ais-card-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 100px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11px; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.08em;
  width: fit-content; margin-bottom: var(--space-sm);
}
.ais-card-features {
  list-style: none; padding: 0; margin: 0 0 22px;
  display: grid; gap: var(--space-sm); position: relative;
}
.ais-card-features li {
  font-size: 12.5px; color: var(--ink-muted);
  font-weight: 700; display: flex;
  align-items: center; gap: 7px; line-height: 1.4;
}
.ais-card-features li::before {
  content: '→'; color: var(--primary);
  font-weight: 900; font-size: 11px; flex-shrink: 0;
}
.ais-card-cta {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--primary); font-size: 13.5px; font-weight: 800;
  text-decoration: none; transition: gap 180ms;
  margin-top: auto; position: relative;
}
.ais-card-cta:hover { gap: 11px; }
.ais-card-cta .arrow-icon svg { width: 16px; height: 16px; }

/* ===== VISUAL PANEL ===== */
.rb-visual-panel {
  border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: var(--surface); position: relative;
}
.rb-visual-panel img { width: 100%; height: 100%; object-fit: cover; }

/* ===== FINAL CTA BOX ===== */
.rb-final-cta { padding: var(--section-py) 0; background: var(--surface); }
.rb-final-cta-box {
  background: linear-gradient(135deg, var(--ink) 0%, #1a1830 100%);
  border-radius: var(--r-2xl);
  padding: var(--space-3xl) var(--space-2xl);
  display: grid;
  gap: var(--grid-gap-lg);
  align-items: center;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.rb-final-cta-box::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 90% 80%, rgba(200,255,0,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 20%, rgba(91,71,224,0.15) 0%, transparent 60%);
  pointer-events: none;
}
@media (min-width: 1024px) { .rb-final-cta-box { grid-template-columns: 1.1fr 0.9fr; } }
.rb-final-cta-copy { position: relative; z-index: 1; }
.rb-final-cta-copy .eyebrow { color: var(--accent); }
.rb-final-cta-copy .eyebrow::before { background: var(--accent); }
.rb-final-cta-copy h2 {
  color: #fff; font-size: clamp(26px, 2.8vw, 40px);
  letter-spacing: -0.028em; margin-top: var(--space-sm);
}
.rb-final-cta-copy p {
  color: rgba(255,255,255,0.65); margin-top: var(--space-md);
  font-size: var(--fs-body-lg); line-height: 1.78;
}
.rb-final-cta-visual {
  position: relative; z-index: 1;
  border-radius: var(--r-lg); overflow: hidden;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  min-height: 280px;
}
.rb-final-cta-visual img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; }

/* Shared animations used in page-level CSS */
@keyframes acbFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  .rb-hero { padding-top: 118px; padding-bottom: 80px; }
  .rb-final-cta-box { padding: 44px 28px; gap: var(--space-xl); }
  .ais-hero-inner { grid-template-columns: 1fr; gap: var(--space-xl); }
  .gs-metrics { grid-template-columns: 1fr; }
}

/* ============================================================
/* ============================================================
   SHARED CTA — "Free AI Automation Audit" style panel
   Light gradient panel (banner's own violet→mint wash) with a
   floating glass card holding an efficiency-ring visual, plus
   two small floating proof chips. Originally built for the
   homepage, promoted here so any page can reuse the exact same
   component — change it once, it updates everywhere.
   Usage: .rb-audit-cta-section > .rb-audit-cta-panel > 
   (.rb-audit-cta-copy + .rb-audit-cta-visual > .rb-audit-cta-card)
   ============================================================ */
.rb-audit-cta-section {
  padding: var(--section-py-sm) 0;
  background: var(--surface);
}
.rb-audit-cta-panel {
  position: relative;
  display: grid;
  gap: var(--grid-gap-lg);
  align-items: center;
  padding: clamp(36px, 5vw, 64px);
  border-radius: var(--r-2xl);
  background: linear-gradient(150deg, var(--ink) 0%, #1a1830 55%, #221c3e 100%);
  overflow: hidden;
}
.rb-audit-cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 55% at 8% 15%, rgba(91,71,224,0.3) 0%, transparent 62%),
    radial-gradient(ellipse 42% 48% at 90% 85%, rgba(200,255,0,0.1) 0%, transparent 60%);
  pointer-events: none;
}
@media (min-width: 900px) {
  .rb-audit-cta-panel {
    grid-template-columns: 1.1fr 0.9fr;
  }
}
.rb-audit-cta-copy {
  position: relative;
  z-index: 1;
}
.rb-audit-cta-copy .eyebrow {
  color: var(--accent);
}
.rb-audit-cta-copy .eyebrow::before {
  background: var(--accent);
}
.rb-audit-cta-copy .section-title {
  margin-top: 6px;
  color: #fff;
}
.rb-audit-cta-copy .section-title em {
  color: var(--accent);
}
.rb-audit-cta-copy .section-sub {
  color: rgba(255, 255, 255, 0.62);
}
.rb-audit-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
  backdrop-filter: blur(6px);
}
.rb-audit-cta-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(200, 255, 0, 0.18);
  flex: none;
}
.rb-audit-cta-footnote {
  margin-top: 16px;
  font-size: 13px;
  /* This was a hardcoded inline style using --ink-faint (a dark,
     low-opacity color meant for LIGHT backgrounds) — invisible
     against this panel's dark background, and inline styles bypass
     any class-based dark-mode color fix entirely. Moved to a real
     class with the correct light color for this component. */
  color: rgba(255, 255, 255, 0.45);
}
.rb-audit-cta-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}
.rb-audit-cta-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 36px 30px;
  text-align: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--r-2xl);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}
.rb-audit-cta-ring {
  position: relative;
  width: 150px;
  height: 150px;
}
.rb-audit-cta-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.rb-audit-cta-ring-value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.rb-audit-cta-ring-value strong {
  font-size: 30px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.rb-audit-cta-ring-value span {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}
.rb-audit-cta-caption {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 260px;
}
.rb-audit-cta-caption b {
  color: var(--primary);
  font-weight: 800;
}
.rb-audit-cta-mini-card {
  position: absolute;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  background: #fff;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.rb-audit-cta-mini-card svg {
  flex: none;
  color: var(--primary);
}
.rb-audit-cta-mini-card--1 {
  top: 4%;
  left: -6%;
}
.rb-audit-cta-mini-card--2 {
  bottom: 8%;
  right: -8%;
}
@media (min-width: 1100px) {
  .rb-audit-cta-mini-card {
    display: inline-flex;
  }
}
@media (max-width: 600px) {
  .rb-audit-cta-card {
    padding: 28px 22px;
  }
}

/* ============================================================
   SHARED — CHECKMARK BULLET LIST
   Promoted here from home.css so any page can reuse it — used by
   the homepage and /ai-solutions. Purple circular checkmark icon,
   consistent spacing between items.
   ============================================================ */
.works-bullets {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 30px;
}
.works-bullets li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--ink);
  font-weight: 400;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease),
    border-color 220ms;
}
.works-bullets svg {
  flex: none;
  width: 28px;
  height: 28px;
  padding: 5px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
}

/* ============================================================
   SHARED — INTERACTIVE SERVICE EXPLORER
   Promoted here from home.css so any page can reuse the exact same
   tab/panel component (its click/pane-switch JS lives globally in
   master.js). Change either once, every page using it updates.
   ============================================================ */
.explorer{ display:grid; grid-template-columns:340px 1fr; gap:0; border:1px solid var(--line); border-radius:var(--r-2xl); overflow:hidden; box-shadow:var(--shadow-md); }
.explorer-nav{ background:var(--surface-2); border-right:1px solid var(--line); }
.explorer-item{
  display:flex; align-items:center; gap:14px;
  padding:22px 26px; border-bottom:1px solid var(--line);
  cursor:pointer; transition:background 0.3s var(--ease);
  position:relative;
}
.explorer-item:last-child{ border-bottom:none; }
.explorer-item:hover{ background:var(--surface-3); }
.explorer-item.is-active{ background:var(--surface); }
.explorer-item.is-active::before{
  content:''; position:absolute; left:0; top:0; bottom:0; width:3px; background:var(--primary);
}
.explorer-item-icon{
  flex:none; width:38px; height:38px; border-radius:11px;
  display:flex; align-items:center; justify-content:center;
  background:var(--primary-light); color:var(--primary);
  transition:background 0.3s var(--ease), color 0.3s var(--ease);
}
.explorer-item.is-active .explorer-item-icon{ background:var(--primary); color:#fff; }
.explorer-item-label{ font-size:14.5px; font-weight:700; color:var(--ink); }

.explorer-panel{ padding:48px; position:relative; min-height:420px; }
.explorer-pane{ display:none; }
.explorer-pane.is-active{ display:block; }
.explorer-pane-tag{
  display:inline-block; font-size:12px; font-weight:700; color:var(--primary);
  background:var(--primary-light); padding:6px 14px; border-radius:100px; margin-bottom:18px;
}
.explorer-pane h3{ font-size:26px; margin-bottom:14px; }
.explorer-pane > p{ font-size:15px; color:var(--ink-muted); line-height:1.75; margin-bottom:26px; max-width:560px; }
.explorer-pane-list{ display:grid; grid-template-columns:1fr 1fr; gap:12px 24px; margin-bottom:30px; }
.explorer-pane-list li{
  display:flex; align-items:center; gap:10px; font-size:14px; color:var(--ink); font-weight:500;
}
.explorer-pane-list svg{ flex:none; color:var(--primary); }
.explorer-flow{
  display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-bottom:28px;
  font-size:13px; font-weight:700; color:var(--ink-muted);
}
.explorer-flow span{ background:var(--surface-2); border:1px solid var(--line); padding:8px 14px; border-radius:100px; }
.explorer-flow em{ font-style:normal; color:var(--primary); }

/* ── Responsive: nav becomes a horizontal scroll-tab strip, panel stacks below ── */
@media (max-width: 900px) {
  .explorer{ grid-template-columns: 1fr; border-radius: var(--r-xl); }
  .explorer-nav{
    display:flex; flex-wrap:nowrap; overflow-x:auto; -webkit-overflow-scrolling:touch;
    border-right:none; border-bottom:1px solid var(--line);
    scrollbar-width: thin;
  }
  .explorer-item{
    flex:none; padding:16px 18px; border-bottom:none; gap:10px; white-space:nowrap;
  }
  .explorer-item.is-active::before{
    left:0; right:0; top:auto; bottom:0; width:auto; height:3px;
  }
  .explorer-item-icon{ width:32px; height:32px; }
  .explorer-item-label{ font-size:13.5px; }
  .explorer-panel{ padding:32px 24px; min-height:0; }
}
@media (max-width: 560px) {
  .explorer-pane-list{ grid-template-columns:1fr; }
  .explorer-pane h3{ font-size:22px; }
  .explorer-panel{ padding:28px 20px; }
}

/* ============================================================
   SHARED — ARTICLE/BLOG CARD
   Promoted here from blog.css so any page can reuse the exact same
   post card (used by the main blog listing, and now by per-service
   "Resources" sections). Change it once, both update.
   ============================================================ */
.articles-grid {
  display: grid;
  gap: var(--grid-gap);
}
@media (min-width: 768px) {
  .articles-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1200px) {
  .articles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 240ms var(--ease);
}
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(91,71,224,0.22);
}
.article-image-wrapper {
  position: relative;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
  overflow: hidden;
}
.article-image-wrapper img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.article-card:hover .article-image-wrapper img {
  transform: scale(1.04);
}
.article-card-content {
  padding: var(--card-pad-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-card-content h3 {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: var(--space-sm);
  margin-top: var(--space-xs);
}
.article-card-content p {
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}
.blog-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  width: fit-content;
  margin-bottom: var(--space-md);
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: auto;
}
.author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  flex-shrink: 0;
}

/* ============================================================
   SHARED — SERVICES TICKER STRIP (sits below a hero banner)
   Promoted here from home.css — the homepage's own bottom-of-banner
   pill strip, now reused identically on /ai-solutions and
   /ai-agent-development. Works with either <a> or <span> items.
   ============================================================ */
.svc-strip-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  /* row-gap increased to 24px (was 15px) — more breathing room
     between wrapped rows specifically ("space in middle" when pills
     wrap to 2 lines, e.g. on the homepage hero at tablet widths);
     column-gap between pills in the same row stays 15px. Only
     affects the wrapped static version — the marquee version of this
     component (on /ai-solutions and /ai-agent-development) never
     wraps (flex-wrap: nowrap), so row-gap doesn't apply there. */
  gap: 24px 15px;
}
.svc-strip-row a,
.svc-strip-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 100px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 700;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
  position: relative;
}
.svc-strip-row a::before,
.svc-strip-row span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--primary);
  flex-shrink: 0;
}
.svc-strip-row a:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.5);
}
