/* =========================================================
   File: kc_mcs_section.p0.v1.3.1.css
   Scope: #kc-platform-saas ._Zsg6ecG*
   Notes:
   - Align visuals to Website Solutions (cards / bullets / CTA)
   - Keep layout simple: Hero -> Tabs -> 3 Cards
   ========================================================= */

#kc-platform-saas._9hlHM9z{
  width: 100%;
  background: transparent;
  padding: var(--body-section-py-sm) 0;
}

#kc-platform-saas ._eol-78E{
  max-width: var(--body-inner-max);
  margin: 0 auto;
  padding: 0 var(--body-px);
  text-align: center;
}

/* ---------- Hero ---------- */
#kc-platform-saas ._JdpVi-K{
  font-size: clamp(2.2rem, 3vw, 3.0rem);
  font-weight: 800;
  margin: 0 0 10px;
  color: #0f172a;
  letter-spacing: -0.02em;
}

#kc-platform-saas ._lG8rs5X{
  font-size: clamp(1rem, 1.15vw, 1.2rem);
  margin: 0 0 22px;
  color: #475569;
}

/* ---------- Tabs (reuse pill look) ---------- */
#kc-platform-saas ._Z7S8IlR{
  margin: 0 auto 26px;
  width: min(560px, 100%);
}

/* If your shared tabs style uses .dxp2-tabs / .section-tabs, keep it.
   The rules below are only a safe fallback to keep MCS consistent. */
/* ===== CMS/Email TABS - Matching AI Section Design ===== */
#kc-platform-saas ._Z7S8IlR[role="tablist"]{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;

  width: fit-content;
  max-width: 100%;
  margin: 24px auto 32px;
  padding: 8px 10px;

  border-radius: 9999px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45),
    rgba(255, 255, 255, 0.25)
  );
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 8px 22px rgba(36, 74, 140, 0.12);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  overflow-x: auto;
  scrollbar-width: none;
}

#kc-platform-saas ._Z7S8IlR::-webkit-scrollbar {
  display: none;
}

#kc-platform-saas ._77BeWyk{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 22px;
  border-radius: 9999px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
  
  font-size: 1rem;
  font-weight: 700;
  color: rgba(30, 41, 59, 0.72);
  white-space: nowrap;
}

/* hover */
#kc-platform-saas ._77BeWyk:hover{
  background: rgba(255, 255, 255, 0.22);
}

/* active */
#kc-platform-saas ._77BeWyk.is-active{
  background: #fff;
  color: #0f172a;
  box-shadow:
    0 5px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

/* active gradient underline */
#kc-platform-saas ._77BeWyk.is-active::after{
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 2px;
  height: 1.5px;
  border-radius: 3px;
  background: linear-gradient(90deg, #1e3a8a, #2563eb);
}

/* focus-visible (accessibility) */
#kc-platform-saas ._77BeWyk:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35);
}

/* Ensure focus ring shows even when active */
#kc-platform-saas ._77BeWyk.is-active:focus-visible{
  box-shadow: 
    0 5px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 0 3px rgba(37, 99, 235, 0.35);
}

/* ---------- Grid ---------- */
#kc-platform-saas ._RbbEBc8{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--body-grid-gap);
  align-items: stretch;
}

/* =========================================================
   CARD — matching SSL & Website crisp format
   ========================================================= */
#kc-platform-saas ._F9LB0gW{
  background: #fff;
  border: none;
  border-radius: 16px;
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.06),
    0 4px 15px rgba(37, 99, 235, 0.08);

  padding: 20px 18px;
  text-align: left;

  display: flex;
  flex-direction: column;
  min-height: 520px;
  
  transition: transform .25s, box-shadow .25s;
}

#kc-platform-saas ._F9LB0gW:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 26px rgba(0,0,0,.14);
}

/* zone (1) */
#kc-platform-saas ._hVPDkmq{
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

#kc-platform-saas ._CyczB78{
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  border: 1px solid rgba(29, 78, 216, 0.55);
  background: linear-gradient(145deg, #60a5fa 0%, #2563eb 55%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow:
    0 6px 20px rgba(37, 99, 235, 0.42),
    0 0 0 4px rgba(37, 99, 235, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
}

#kc-platform-saas ._CyczB78::before {
  content: "";
  position: absolute;
  inset: 14px 11px;
  border-radius: 12px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.16);
  transform: rotate(-8deg);
  z-index: -1;
}

#kc-platform-saas ._CyczB78 svg {
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.18));
}

#kc-platform-saas ._3YQI4Ie{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

#kc-platform-saas ._RmQTyWM{
  margin: 0 0 4px;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.25;
  
  /* Allow up to 2 lines for longer titles */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  max-width: 100%;
  min-height: 2.4rem;
}

#kc-platform-saas ._lKNPi-I{
  display: inline-flex;
  align-items: center;
  gap: 6px;

  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(15,23,42,.55);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
#kc-platform-saas ._lKNPi-I:hover{ color: rgba(15,23,42,.80); }

#kc-platform-saas ._9S46yZH{
  margin: 0;
  color: rgba(15,23,42,.62);
  font-size: 0.98rem;
  line-height: 1.45;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

#kc-platform-saas ._kW6QTML{
  margin: 10px 0 0;
  font-weight: 800;
  color: #0f172a;
}

#kc-platform-saas ._uJx_dCi{
  margin: 6px 0 0;
  color: rgba(100,116,139,.95);
  font-size: 0.88rem;
  line-height: 1.35;
}

#kc-platform-saas ._1L_MvRX{
  margin: 14px 0 12px;
  height: 1px;
  background: rgba(15,23,42,.10);
}

/* zone (2) labels */
#kc-platform-saas ._C0XBL85{
  margin: 0 0 10px;
  font-size: 0.98rem;
  font-weight: 800;
  color: #0f172a;
}

/* bullets — match WS */
#kc-platform-saas ._-IRZj5C{
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

#kc-platform-saas ._-IRZj5C li{
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.45;
}
#kc-platform-saas ._-IRZj5C li:last-child{ margin-bottom: 0; }

#kc-platform-saas ._-IRZj5C li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #2563eb;
}

/* zone (3) CTA — match WS button */
#kc-platform-saas ._vdh5H1h{
  margin-top: auto;
  align-self: flex-start;
  text-decoration: none;

  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 0 22px;
  border-radius: 8px;

  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1;
  /* color: #fff;

  background: linear-gradient(180deg, #2F6BFF, #1F56E6);
  box-shadow: 0 14px 34px rgba(47,107,255,.24); */
  transition: transform .14s ease, box-shadow .18s ease, filter .18s ease;
  will-change: transform, box-shadow;
}
#kc-platform-saas ._vdh5H1h:hover{
  filter: brightness(1.03);
  transform: translateY(-1px);
  box-shadow: 0 16px 42px rgba(47,107,255,.30);
}
#kc-platform-saas ._vdh5H1h:active{
  transform: translateY(0);
  box-shadow: 0 12px 30px rgba(47,107,255,.22);
}

@media (min-width: 641px) and (max-width: 1024px) {
  #kc-platform-saas ._eol-78E {
    max-width: var(--body-tablet-rail-max);
    padding: 0px;
  }

  #kc-platform-saas ._RbbEBc8{
    grid-template-columns: 1fr;
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }
}

/* Mobile tighten */
@media (max-width: 640px){
  #kc-platform-saas ._eol-78E{
    padding: 0 var(--body-px);
  }
  #kc-platform-saas ._RbbEBc8{
    grid-template-columns: 1fr;
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }
  #kc-platform-saas ._F9LB0gW{ min-height: auto; }
  #kc-platform-saas ._hVPDkmq{ grid-template-columns: 62px minmax(0,1fr); }
  #kc-platform-saas ._CyczB78{
    width: 62px; height: 62px; border-radius: 14px;
    box-shadow: 0 4px 14px rgba(37,99,235,.38), 0 0 0 3px rgba(37,99,235,.10), inset 0 1px 0 rgba(255,255,255,.24);
  }
  #kc-platform-saas ._CyczB78::before { inset: 10px 8px; border-radius: 9px; }
}
