/* ============================================================
   SALESFORCE AGENTFORCE PAGE — scoped styles
   Loaded only on: page-templates/tmpl-salesforce-agentforce.php
   All selectors prefixed with .kd-agentforce to prevent bleed.
   Built section-by-section, in Figma order (node 441:9809).
   ============================================================ */

.kd-agentforce {
  --af-ink-900:  #0d1b2e;
  --af-ink-700:  #182352;
  --af-ink-500:  #6b7a99;
  --af-ink-400:  #6b7396;
  --af-blue-700: #004195;
  --af-blue-500: #01aef0;
  --af-teal-400: #01f0c8;
  --af-line:     #e2e2e2;
  --af-paper:    #fbfaf7;
  --af-cream:    #f7f4ee; /* matches --rc-cream in salesforce-revenue-cloud.css — hero base tone */
  --af-radius:   24px;
  --af-max:      1280px; /* matches --max in salesforce-services.css / ai-services.css / data-analytics-ai.css */

  font-family: 'Inter', system-ui, sans-serif;
  color: var(--af-ink-500);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: var(--af-paper);
}

.kd-agentforce *, .kd-agentforce *::before, .kd-agentforce *::after { box-sizing: border-box; }
.kd-agentforce h1, .kd-agentforce h2, .kd-agentforce h3, .kd-agentforce h4,
.kd-agentforce p, .kd-agentforce ul, .kd-agentforce li { margin: 0; padding: 0; }
.kd-agentforce a { color: inherit; text-decoration: none; }
.kd-agentforce img { max-width: 100%; display: block; }

.kd-agentforce h1, .kd-agentforce h2, .kd-agentforce h3, .kd-agentforce h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 800;
}

.kd-agentforce .af-wrap {
  max-width: var(--af-max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── gradient accent utility (shared by every section heading) ──────── */
.kd-agentforce .af-accent {
background: linear-gradient(90deg, #004195 7.69%, #01AEF0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── HERO ═══════════════════════════════════════════════════════════════
   Matched to the Salesforce Revenue Cloud Services page's hero
   (page-templates/tmpl-sf-revenue-cloud.php + salesforce-revenue-cloud.css,
   selectors .kd-rc-hero*) so the two Salesforce sub-pages read as siblings:
   same grid ratio, same badge/heading/lead/button metrics, same background
   technique, same breakpoints. Still scoped to .af-hero / .af-hero-* and
   still reuses the shared .af-wrap / .af-btn — nothing below the hero
   changes. The dashboard visual stays an ACF image, not markup.
   ════════════════════════════════════════════════════════════════════ */
/* Hero + Stats Bar + Enterprise AI Challenges share one continuous
   background (see .af-hero-merged) — no seam between them. The Stats
   Bar's own dotted-pattern background stays untouched/opaque in
   between (it already reads as a natural divider via its hairline
   borders); Hero's and Challenges' own backgrounds are transparent so
   the shared color/image shows through both. */
.kd-agentforce .af-hero-merged {
  position: relative;
  background:
    radial-gradient(700px 420px at 8% -10%, rgba(160,150,240,0.20), transparent 60%),
    radial-gradient(700px 420px at 96% -6%, rgba(110,220,190,0.20), transparent 60%),
    var(--af-cream);
}
/* Optional editor-supplied Background Image — when set, it replaces the
   decorative radial-gradient background above entirely and is shown
   plain (no gradient/scrim), stretched to exactly fill the shared
   width and height. */
.kd-agentforce .af-hero-merged-has-bg {
  background-size: 100% 100%;
  background-position: top center;
  background-repeat: no-repeat;
}
.kd-agentforce .af-hero {
  position: relative;
  background: transparent;
  padding-bottom: 80px;
  overflow: hidden;
}
/* Hero reuses the shared .af-wrap (max-width: var(--af-max) = 1280px) so it
   lines up with every section below it and with the rest of the site —
   it does NOT get its own container/max-width. */

/* ── two-column grid — 1.15fr/0.85fr favors the text column, matching RC ─ */
.kd-agentforce .af-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 48px;
  padding-top: 140px;
}
.kd-agentforce .af-hero-content { animation: af-fade-up 0.5s ease-out both; }

/* ── eyebrow badge ────────────────────────────────────────────────────── */
.kd-agentforce .af-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #E2E2E2;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6B7A99;
  margin-bottom: 26px;
  animation: af-fade-up 0.5s ease-out 0.08s both;
}

/* ── heading ──────────────────────────────────────────────────────────── */
.kd-agentforce .af-hero-title {
  font-size: 60px;
  font-weight: 700;
  line-height: 70px;
  letter-spacing: -0.01em;
  color: var(--af-ink-900); /* #0d1b2e — matches RC's h1 color exactly; was missing, so it inherited the muted body-text color instead */
  margin-bottom: 24px;
  animation: af-fade-up 0.5s ease-out 0.16s both;
}
/* Overrides the shared .af-accent gradient (used by every other section's
   heading) just inside the hero, per the reference design's exact accent recipe. */
.kd-agentforce .af-hero-title .af-accent {
  background: linear-gradient(90deg, #004195 0%, #01A4E8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── supporting paragraph ─────────────────────────────────────────────── */
.kd-agentforce .af-hero-sub {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
  color: #6B7A99;
  max-width: 500px;
  margin-bottom: 34px;
  animation: af-fade-up 0.5s ease-out 0.24s both;
}
.kd-agentforce .af-hero-sub strong { font-weight: 700; color: var(--af-ink-900); }

/* ── dashboard visual — ACF image, rendered as-is, no wrapper card ───── */
.kd-agentforce .af-hero-visual { position: relative; animation: af-fade 0.6s ease-out 0.2s both; }
.kd-agentforce .af-hero-dashboard-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--af-radius);
}
.kd-agentforce .af-hero-visual-placeholder {
  width: 100%;
  padding: 40px;
  border: 1px dashed #c9d3e6;
  border-radius: var(--af-radius);
  font-size: 13px;
  color: var(--af-ink-500);
  text-align: center;
}

@keyframes af-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes af-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .kd-agentforce .af-hero-content,
  .kd-agentforce .af-badge-pill,
  .kd-agentforce .af-hero-title,
  .kd-agentforce .af-hero-sub,
  .kd-agentforce .af-hero-visual { animation: none; }
}

/* ── HERO RESPONSIVE — same two breakpoints as .kd-rc-hero (1024px, 640px) ── */
@media (max-width: 1024px) {
  .kd-agentforce .af-hero-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 115px; }
  .kd-agentforce .af-hero-title { font-size: 40px;line-height: 50px; }
  .kd-agentforce .af-hero-sub { max-width: 100%; }
  .kd-agentforce .af-hero-visual { max-width: 560px; }
}
@media (max-width: 640px) {
  .kd-agentforce .af-hero-title { font-size: 40px;line-height: 50px; }
  .kd-agentforce .af-badge-pill { font-size: 10.5px; padding: 9px 16px; }
  .kd-agentforce .af-hero-grid { gap: 28px; padding-top: 100px; }
}

/* ============================================================
   SHARED SECTION SCAFFOLDING
   Used by every section from Consulting Approach onward.
   ============================================================ */
.kd-agentforce .af-wrap-narrow { max-width: 820px; }
.kd-agentforce .af-section { padding: 100px 0; background: #fbfaf7;}
.kd-agentforce .af-divider { border-top: 1px solid #eeece4; }

.kd-agentforce .af-section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
/* Pill-badge eyebrow — matches RC, where every section overrides the
   plain dot-bullet eyebrow to this same white/bordered pill (RC never
   ships the bare dot version), so it's the base look here too. */
.kd-agentforce .af-eyebrow {
  display: inline-flex;
  width: auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #E4E8EF;
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6B7A99;
  margin-bottom: 16px;
}
.kd-agentforce .af-section-head h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 58px;
  color: #0D1B2E;
  margin-bottom: 16px;
}
.kd-agentforce .af-section-intro {
  font-size: 16px;
  line-height: 1.6;
  color: #6B7A99;
}
@media (max-width: 1024px) {
  .kd-agentforce .af-section-head h2 { font-size: 30px; line-height: 1.3; }
}
@media (max-width: 640px) {
  .kd-agentforce .af-section-head h2 { font-size: 30px; line-height: 1.3; }
}

/* ── Enterprise AI Challenges — centered Geist heading/intro, 2×3 icon
      cards beside a single supporting photo. ── */
.kd-agentforce .af-challenges .af-section-head { max-width: 900px; }
.kd-agentforce .af-challenges .af-section-head h2 {
  font-family: 'Geist', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 58px;
  letter-spacing: 0;
}
.kd-agentforce .af-challenges .af-section-intro {
  font-family: 'Geist', 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
}
.kd-agentforce .af-challenge-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
}
.kd-agentforce .af-challenge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.kd-agentforce .af-challenge-card {
  background: #fff;
border: 1.31px solid #E6ECF5;
	border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.kd-agentforce .af-challenge-icon {
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(230,247,254,0.5) 0%, #E6F7FE 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.kd-agentforce .af-challenge-icon img,
.kd-agentforce .af-challenge-icon svg { width: auto; height: auto; }
.kd-agentforce .af-challenge-card h3 {
  font-family: 'Geist', 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  color: #0F172A;
}
.kd-agentforce .af-challenge-card p {
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 16px;
  line-height: 26px;
  color: #64748B;
}
.kd-agentforce .af-challenge-image {
  position: relative;
  min-height: 320px;
  border-radius: 16px;
  overflow: hidden;
}
.kd-agentforce .af-challenge-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}
.kd-agentforce .af-challenge-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  padding: 40px;
  border: 1px dashed #c9d3e6;
  border-radius: 16px;
  font-size: 13px;
  color: var(--af-ink-500);
  text-align: center;
}
@media (max-width: 900px) {
  .kd-agentforce .af-challenge-layout { grid-template-columns: 1fr; }
  .kd-agentforce .af-challenge-image { min-height: 260px; order: -1; }
  .kd-agentforce .af-challenges .af-section-head h2 { font-size: 30px; line-height: 1.3; }
}
@media (max-width: 640px) {
  .kd-agentforce .af-challenges .af-section-head h2 { font-size: 30px; line-height: 1.3; }
  .kd-agentforce .af-challenges .af-section-intro { font-size: 16px; line-height: 1.6; }
  .kd-agentforce .af-challenge-grid { grid-template-columns: 1fr; }
}

/* ── Enterprise Solutions — dark full-bleed band: left-aligned heading
      + intro beside a 2×3 icon-card grid with hairline dividers. An
      optional editor-supplied image sits low-key behind everything,
      bottom-left. Dedicated dark palette, scoped to .af-enterprise so
      it doesn't affect any other (light) section. ──────────────────── */
.kd-agentforce .af-enterprise { position: relative; background: #0B1733; overflow: hidden; }
/* Full-cover Background Photo (optional) — sits over the Background
   Color, under a dark scrim so heading/card text stays legible over
   any photo, with the small corner Background Image and all content
   still painted above the scrim (later in DOM order, same z-index). */
.kd-agentforce .af-enterprise-has-photo { background-size: cover; background-position: center; }
.kd-agentforce .af-enterprise-has-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11,23,51,0.82);
  z-index: 0;
  pointer-events: none;
}
.kd-agentforce .af-enterprise-wrap { position: relative; }
/* Positioned relative to the full-width section (not .af-wrap), so it
   touches the true left edge of the viewport instead of stopping at
   .af-wrap's centered/padded content box. */
.kd-agentforce .af-enterprise-bg {
  position: absolute;
  left: 0; bottom: 40px;
  width: 220px;
  height: auto;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.kd-agentforce .af-enterprise-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}
.kd-agentforce .af-enterprise-content h2 {
  font-family: 'Geist', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 58px;
  letter-spacing: 0;
  color: #fff;
  margin-bottom: 20px;
}
.kd-agentforce .af-enterprise-content .af-accent {
background: linear-gradient(90deg, #01AEF0 0.01%, #01D4DA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.kd-agentforce .af-enterprise-content p {
  font-family: 'Geist', 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0;
  color: #FFFFFFCC;
  max-width: 460px;
}
.kd-agentforce .af-enterprise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.kd-agentforce .af-enterprise-card {
  padding: 0 40px 32px 0;
  margin-bottom: 32px;
  border-right: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.kd-agentforce .af-enterprise-card:nth-child(2n) {
  padding-right: 0;
  padding-left: 40px;
  border-right: none;
}
.kd-agentforce .af-enterprise-card:nth-last-child(-n+2) {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.kd-agentforce .af-enterprise-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.kd-agentforce .af-enterprise-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 6px;
  background: rgba(1,174,240,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.kd-agentforce .af-enterprise-icon img,
.kd-agentforce .af-enterprise-icon svg { width: 20px; height: 20px; }
.kd-agentforce .af-enterprise-card h3 {
  font-family: 'Geist', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 28px;
  letter-spacing: 0;
  color: #fff;
}
.kd-agentforce .af-enterprise-card p {
  font-family: 'Geist', 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0;
  color: #FFFFFFCC;
}
@media (max-width: 900px) {
  .kd-agentforce .af-enterprise-layout { grid-template-columns: 1fr; gap: 36px; }
  .kd-agentforce .af-enterprise-content h2 { font-size: 30px; line-height: 1.3; }
  .kd-agentforce .af-enterprise-content p { max-width: 100%; }
  .kd-agentforce .af-enterprise-grid { grid-template-columns: 1fr; }
  .kd-agentforce .af-enterprise-card {
    padding: 0 0 24px 0 !important;
    margin-bottom: 24px;
    border-right: none !important;
  }
  .kd-agentforce .af-enterprise-card:last-child {
    border-bottom: none !important;
    margin-bottom: 0;
    padding-bottom: 0 !important;
  }
}
@media (max-width: 640px) {
  .kd-agentforce .af-enterprise-content h2 { font-size: 30px; line-height: 1.3; }
  .kd-agentforce .af-enterprise-content p { font-size: 16px; line-height: 1.6; }
}

/* ── Agentforce Integration — centered Geist heading/intro, then a
      2×3 icon-card grid where the 4th position (row 2, col 2) is a
      single editor-supplied photo instead of a text card. ─────────── */
.kd-agentforce .af-integration .af-section-head h2 {
  font-family: 'Geist', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 58px;
  letter-spacing: 0;
}
.kd-agentforce .af-integration .af-section-intro {
  font-family: 'Geist', 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
}
.kd-agentforce .af-integration-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.kd-agentforce .af-integration-card {
  background: #fff;
  border: 1px solid #E2E6F0;
  border-radius: 16px;
  padding: 28px 32px;
}
.kd-agentforce .af-integration-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.kd-agentforce .af-integration-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: #F2F5FA;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kd-agentforce .af-integration-icon img,
.kd-agentforce .af-integration-icon svg { width: 22px; height: 22px; }
.kd-agentforce .af-integration-card h3 {
  font-family: 'Geist', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 28px;
  letter-spacing: 0;
  color: var(--af-ink-900);
}
.kd-agentforce .af-integration-card p {
  font-family: 'Geist', 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0;
  color: var(--af-ink-500);
}
.kd-agentforce .af-integration-image {
  border-radius: 16px;
  overflow: hidden;
  min-height: 100%;
}
.kd-agentforce .af-integration-image img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}
.kd-agentforce .af-integration-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  padding: 32px;
  border: 1px dashed #c9d3e6;
  border-radius: 16px;
  font-size: 13px;
  color: var(--af-ink-500);
  text-align: center;
}
@media (max-width: 900px) {
  .kd-agentforce .af-integration .af-section-head h2 { font-size: 30px; line-height: 1.3; }
  .kd-agentforce .af-integration-grid { grid-template-columns: 1fr; }
  .kd-agentforce .af-integration-image { order: 4; }
}
@media (max-width: 640px) {
  .kd-agentforce .af-integration .af-section-head h2 { font-size: 30px; line-height: 1.3; }
  .kd-agentforce .af-integration .af-section-intro { font-size: 16px; line-height: 1.6; }
  .kd-agentforce .af-integration-card { padding: 24px; }
}

/* ── Services — hub-and-spoke diagram: a center hub circle, a ring, and
      6 nodes (icon square + dashed connector + title/description) fixed
      at hexagon positions computed for a 100×100 canvas (see the PHP
      $af_svc_positions map — CSS percentages below must match it 1:1).
      Below 1080px the fixed radial layout would crowd, so it's swapped
      for a plain stacked list (.af-services-list), matching how the
      Data Engineering page's own hub-and-spoke diagram degrades. ────── */
.kd-agentforce .af-services .af-section-head h2 {
  font-family: 'Geist', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 58px;
  letter-spacing: 0;
}
.kd-agentforce .af-services .af-section-intro {
  font-family: 'Geist', 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
}
.kd-agentforce .af-services-diagram {
  position: relative;
  height: 600px;
  max-width: 1280px;
  margin: 0 auto;
}
/* Single center graphic — nothing but the editor-supplied image; no
   background, border-radius, shadow, icon, or text is drawn around or
   on top of it. Sized to the image's own native dimensions (638×588)
   and centered in the diagram, so nothing gets cropped or scaled. */
.kd-agentforce .af-services-hub {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 508px; height: 588px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kd-agentforce .af-services-hub-img {
  width: 100%; height: 100%;
  object-fit: contain;
}
/* Only used inside the mobile fallback list now (.af-services-list-item)
   — the desktop diagram's spoke icons were removed along with the ring. */
.kd-agentforce .af-services-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #E1E6F0;
  box-shadow: 0 6px 18px rgba(12,20,48,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}
.kd-agentforce .af-services-text {
  position: absolute;
  width: 300px;
  transform: translateY(-50%);
}
.kd-agentforce .af-services-text-left { right: 71.6%; text-align: right; padding-right: 24px; }
.kd-agentforce .af-services-text-right { left: 71.6%; text-align: left; padding-left: 24px; }
.kd-agentforce .af-services-text h3 {
  font-family: 'Geist', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 28px;
  letter-spacing: 0;
  color: var(--af-ink-900);
  margin-bottom: 8px;
}
.kd-agentforce .af-services-text p {
  font-family: 'Geist', 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0;
  color: var(--af-ink-500);
}
.kd-agentforce .af-services-list { display: none; }
@media (max-width: 1080px) {
  .kd-agentforce .af-services-diagram { display: none; }
  .kd-agentforce .af-services-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 720px;
    margin: 0 auto;
  }
  .kd-agentforce .af-services-list-item { display: flex; align-items: flex-start; gap: 18px; }
  .kd-agentforce .af-services-list-item .af-services-text {
    position: static;
    transform: none;
    width: auto;
    text-align: left;
    padding: 0;
  }
  .kd-agentforce .af-services .af-section-head h2 { font-size: 30px; line-height: 1.3; }
}
@media (max-width: 640px) {
  .kd-agentforce .af-services .af-section-head h2 { font-size: 30px; line-height: 1.3; }
  .kd-agentforce .af-services .af-section-intro { font-size: 16px; line-height: 1.6; }
  .kd-agentforce .af-services-list { gap: 20px; }
  .kd-agentforce .af-services-list-item { gap: 14px; }
}

/* ── FAQ accordion — bordered rounded card, matches RC's .kd-rc-faq-*
      (border, radius, hover/open background); markup/JS unchanged ───────── */
.kd-agentforce .af-faq-list { display: flex; flex-direction: column; gap: 14px; }
.kd-agentforce .af-faq-item {
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.kd-agentforce .af-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 20px;
  background: #fff;
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: 700;
  color: var(--af-ink-900);
  cursor: pointer;
  transition: background .18s ease;
}
.kd-agentforce .af-faq-question:hover { background: #F9FAFB; }
.kd-agentforce .af-faq-item.is-open .af-faq-question { background: #F9FAFB; border-bottom: 2px solid #E5E7EB; }
.kd-agentforce .af-faq-toggle {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: #111827;
  position: relative;
}
.kd-agentforce .af-faq-toggle::before {
  content: "";
  position: absolute;
  top: 40%; left: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: transform 0.2s ease;
}
.kd-agentforce .af-faq-item.is-open .af-faq-toggle { color: var(--af-ink-900); }
.kd-agentforce .af-faq-item.is-open .af-faq-toggle::before { transform: translate(-50%, -20%) rotate(225deg); }
.kd-agentforce .af-faq-answer { height: 0; overflow: hidden; transition: height 0.25s ease; background: #fff; }
.kd-agentforce .af-faq-item.is-open .af-faq-answer { height: auto; }
.kd-agentforce .af-faq-answer-inner { padding: 20px 20px 24px 20px; }
.kd-agentforce .af-faq-answer-inner p { font-size: 16px; line-height: 26px.7; color: #6B7280; }

/* ── Business Benefits — dark full-bleed band, centered Geist heading/
      intro, then a 4×2 grid of stat cards with a gradient top border.
      Same 3-layer background system (Color / Photo / Image) as
      Enterprise Solutions, scoped to .af-benefit2 to avoid clashing
      with the shared .af-card* classes used elsewhere. ────────────── */
.kd-agentforce .af-benefit2 { position: relative; background: #0B1733; overflow: hidden; }
.kd-agentforce .af-benefit2-has-photo { background-size: cover; background-position: center; }
.kd-agentforce .af-benefit2-has-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11,23,51,0.82);
  z-index: 0;
  pointer-events: none;
}
.kd-agentforce .af-benefit2-bg {
  position: absolute;
  left: 0; bottom: 40px;
  width: 220px;
  height: auto;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.kd-agentforce .af-benefit2-wrap { position: relative; z-index: 1; }
.kd-agentforce .af-benefit2 .af-section-head h2 {
  font-family: 'Geist', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 58px;
  letter-spacing: 0;
  color: #fff;
}
.kd-agentforce .af-benefit2 .af-section-head .af-accent {
  background: linear-gradient(90deg, #29B6F6 0%, #01F0C8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.kd-agentforce .af-benefit2 .af-section-intro {
  font-family: 'Geist', 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: #FFFFFFCC;
}
.kd-agentforce .af-benefit2-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 32px;
}
.kd-agentforce .af-benefit2-card {
  border-top: 2px solid transparent;
  border-image: linear-gradient(90.47deg, #01AEF0 -0.02%, #01D4DA 97.78%) 1;
  padding-top: 24px;
  text-align: center;
}
.kd-agentforce .af-benefit2-card h3 {
  font-family: 'Geist', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 28px;
  letter-spacing: 0;
  color: #fff;
  margin-bottom: 12px;
}
.kd-agentforce .af-benefit2-card p {
  font-family: 'Geist', 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0;
  color: #FFFFFFCC;
}
.kd-agentforce .af-benefit2-card p strong { font-weight: 700; color: #fff; }
@media (max-width: 1024px) {
  .kd-agentforce .af-benefit2-grid { grid-template-columns: repeat(2, 1fr); }
  .kd-agentforce .af-benefit2 .af-section-head h2 { font-size: 30px; line-height: 1.3; }
}
@media (max-width: 640px) {
  .kd-agentforce .af-benefit2 .af-section-head h2 { font-size: 30px; line-height: 1.3; }
  .kd-agentforce .af-benefit2 .af-section-intro { font-size: 16px; line-height: 1.6; }
  .kd-agentforce .af-benefit2-grid { grid-template-columns: 1fr; }
}

/* ── Why Choose KloudData — light band, left content+photo beside a
      right-hand vertical checklist (icon square + single-line stat). ── */
.kd-agentforce .af-why2-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: center;
}
.kd-agentforce .af-why2-content h2 {
  font-family: 'Geist', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 58px;
  letter-spacing: 0;
  color: var(--af-ink-900);
  margin-bottom: 20px;
}
.kd-agentforce .af-why2-content p {
  font-family: 'Geist', 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: #6B7A99;
  margin-bottom: 28px;
}
.kd-agentforce .af-why2-image { border-radius: 16px; overflow: hidden; }
.kd-agentforce .af-why2-image img { width: 100%; height: auto; display: block; }
.kd-agentforce .af-why2-image-placeholder {
  padding: 40px;
  border: 1px dashed #c9d3e6;
  border-radius: 16px;
  font-size: 13px;
  color: #6B7A99;
  text-align: center;
}
.kd-agentforce .af-why2-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding-top: 8px;
}
.kd-agentforce .af-why2-item { display: flex; align-items: center; gap: 20px; }
.kd-agentforce .af-why2-icon {
  flex-shrink: 0;
  width: 50px; height: 50px;
  border-radius: 12px;
  background: #004195;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kd-agentforce .af-why2-icon img,
.kd-agentforce .af-why2-icon svg { width: 24px; height: 24px; }
.kd-agentforce .af-why2-item span {
  font-family: 'Geist', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 28px;
  letter-spacing: 0;
  color: #0D1B2E;
}
@media (max-width: 900px) {
  .kd-agentforce .af-why2-layout { grid-template-columns: 1fr; gap: 40px; }
  .kd-agentforce .af-why2-content h2 { font-size: 30px; line-height: 1.3; }
}
@media (max-width: 640px) {
  .kd-agentforce .af-why2-content h2 { font-size: 30px; line-height: 1.3; }
  .kd-agentforce .af-why2-item span { font-size: 18px; line-height: 24px; }
  .kd-agentforce .af-why2-icon { width: 48px; height: 48px; }
}

/* ── Success Stories — dark band, 3 cards pulled live from the
      case-study CPT: full-bleed photo, bottom scrim, title, optional
      per-post stat row, Read More pill. ─────────────────────────────── */
.kd-agentforce .af-stories .af-section-head h2 {
  font-family: 'Geist', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 58px;
  letter-spacing: 0;
  color: #0D1B2E;
}
.kd-agentforce .af-stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.kd-agentforce .af-stories-card {
  position: relative;
  display: block;
  min-height: 420px;
  border-radius: 16px;
  overflow: hidden;
  background-color: #1a2a4a;
  background-size: cover;
  background-position: center;
}
.kd-agentforce .af-stories-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,23,51,0) 30%, rgba(11,23,51,0.92) 100%);
}
.kd-agentforce .af-stories-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.kd-agentforce .af-stories-tag {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: -8px;
}
.kd-agentforce .af-stories-title {
  font-family: 'Geist', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.35;
  color: #fff;
}
.kd-agentforce .af-stories-stats { display: flex; gap: 16px; }
.kd-agentforce .af-stories-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 16px;
  border-right: 1px solid rgba(255,255,255,0.25);
}
.kd-agentforce .af-stories-stat:last-child { border-right: none; padding-right: 0; }
.kd-agentforce .af-stories-stat-value { font-size: 24px; font-weight: 800; color: #fff; }
.kd-agentforce .af-stories-stat-label { font-size: 12px; line-height: 1.4; color: rgba(255,255,255,0.7); }
.kd-agentforce .af-stories-read {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 10px 10px 10px 18px;
  border: 1.5px solid rgba(255,255,255,0.8);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
}
.kd-agentforce .af-stories-arrow {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #fff;
  color: #0B1733;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 900px) {
  .kd-agentforce .af-stories .af-section-head h2 { font-size: 30px; line-height: 1.3; }
  .kd-agentforce .af-stories-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .kd-agentforce .af-stories .af-section-head h2 { font-size: 30px; line-height: 1.3; }
}

/* ── Latest Insights — 1 image-overlay featured post beside 3 plain
      text list posts (real WP Posts, filtered by category). ─────────── */
.kd-agentforce .af-insights .af-section-head h2 {
  font-family: 'Geist', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 58px;
  letter-spacing: 0;
  color: #0D1B2E;
}
.kd-agentforce .af-insights-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: stretch; }
.kd-agentforce .af-insights-featured {
  position: relative;
  display: block;
  min-height: 420px;
  border-radius: 16px;
  overflow: hidden;
  background-color: #1a2a4a;
  background-size: cover;
  background-position: center;
  text-decoration: none;
}
.kd-agentforce .af-insights-featured::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,23,51,0) 30%, rgba(11,23,51,.94) 100%);
}
.kd-agentforce .af-insights-featured-body {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  height: 100%; padding: 32px;
}
.kd-agentforce .af-insights-featured-tag {
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #8fd0ff; margin-bottom: 12px;
}
.kd-agentforce .af-insights-featured-title { font-size: 26px; font-weight: 800; line-height: 1.3; color: #fff; margin-bottom: 12px; max-width: 480px; }
.kd-agentforce .af-insights-featured-desc { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.82); max-width: 440px; }
.kd-agentforce .af-insights-side { display: flex; flex-direction: column; gap: 16px; }
.kd-agentforce .af-insights-item {
  display: block;
  background: #fff;
  border: 1px solid var(--af-line);
  border-radius: 16px;
  padding: 22px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.kd-agentforce .af-insights-item:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -16px rgba(10,17,40,.18); border-color: var(--af-blue-700); }
.kd-agentforce .af-insights-item-tag { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--af-blue-700); margin-bottom: 8px; }
.kd-agentforce .af-insights-item-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-family: 'Geist', 'Plus Jakarta Sans', sans-serif;
  font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--af-ink-900); margin-bottom: 8px;
}
.kd-agentforce .af-insights-item-desc {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 13.5px; line-height: 1.6; color: var(--af-ink-500); margin-bottom: 12px;
}
.kd-agentforce .af-insights-item-read { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--af-blue-700); }
.kd-agentforce .af-insights-item-arrow { display: inline-flex; align-items: center; }
.kd-agentforce .af-insights-item-arrow svg { transition: transform .2s ease; }
.kd-agentforce .af-insights-item:hover .af-insights-item-arrow svg { transform: translateX(3px); }
@media (max-width: 900px) {
  .kd-agentforce .af-insights .af-section-head h2 { font-size: 30px; line-height: 1.3; }
  .kd-agentforce .af-insights-grid { grid-template-columns: 1fr; }
  .kd-agentforce .af-insights-featured { min-height: 280px; }
}
@media (max-width: 640px) {
  .kd-agentforce .af-insights .af-section-head h2 { font-size: 30px; line-height: 1.3; }
}

/* ── Final CTA — contained rounded card (not full-bleed) with an
      editor-supplied background image (wave/line graphic), centered
      heading/subtext, pill outline button with a circular arrow.
      Sits after FAQ, at the very end. ── */
.kd-agentforce .af-cta2-wrap { padding-bottom: 120px; }
.kd-agentforce .af-cta2 {
  background-size: cover;
  background-position: center;
  border-radius: 26px;
  padding: 64px 32px;
  overflow: hidden;
}
.kd-agentforce .af-cta2-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.kd-agentforce .af-cta2-inner h2 {
  font-family: 'Geist', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 16px;
}
.kd-agentforce .af-cta2-inner p {
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
}
.kd-agentforce .af-cta2-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 26px;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  transition: background .18s ease;
}
.kd-agentforce .af-cta2-btn:hover { background: rgba(255,255,255,0.08); }
.kd-agentforce .af-cta2-arrow {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
  color: #0B1733;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 1024px) {
  .kd-agentforce .af-cta2-inner h2 { font-size: 30px; line-height: 1.3; }
}
@media (max-width: 640px) {
  .kd-agentforce .af-wrap { padding: 0 20px; }
  .kd-agentforce .af-section { padding: 56px 0; }
  .kd-agentforce .af-cta2-inner h2 { font-size: 30px; line-height: 1.3; }
}
