/* ============================================
   CSS RESET + BASE STYLES
   ============================================
   Imported by components that need a clean baseline.
   Scoped to :host since components run in Shadow DOM.
   ============================================ */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-default);
}

a:not([class]):hover {
  color: var(--blue-primary);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   CORR INTEGRATION FLOW — v8 (AlertsDemo center)
   ============================================
   2026-05-01: Vendor logos removed. Center static
   image replaced by the live AlertsDemo component.
   Logo position classes (pcbLogoPos*), pcbSourceLogo,
   and pcbLogoIcon rules all deleted.
*/

/* ============================================
   OUTER ZONE
   ============================================ */
.CorrIntegrationFlow-module__pcbZone--aZts7 {
  position: relative;
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 24px 0 48px;
  isolation: isolate;
}

/* Full-width dark background via pseudo-element */
.CorrIntegrationFlow-module__pcbZone--aZts7::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  background:
    radial-gradient(ellipse 60% 70% at 85% 15%, rgba(0, 156, 222, 0.22), transparent 65%),
    radial-gradient(ellipse 65% 60% at 15% 85%, rgba(0, 76, 151, 0.32), transparent 60%),
    var(--bg-charcoal);
  z-index: -1;
  pointer-events: none;
}

/* ---- Background glow orbs ---- */
.CorrIntegrationFlow-module__pcbGlow--Pv1eS {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-hover);
  z-index: 1;
}

.CorrIntegrationFlow-module__pcbGlowOrb--F68kG {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.CorrIntegrationFlow-module__pcbCgWide--IKjHj {
  width: 900px;
  height: 900px;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0, 156, 222, 0.30) 0%, transparent 70%);
}

.CorrIntegrationFlow-module__pcbCgCore--d3Wls {
  width: 600px;
  height: 600px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0, 156, 222, 0.25) 0%, transparent 60%);
}

.CorrIntegrationFlow-module__pcbCgAccent--CNOy1 {
  width: 500px;
  height: 500px;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(77, 195, 240, 0.12) 0%, transparent 55%);
}

.CorrIntegrationFlow-module__pcbCgWarm--BWKU3 {
  width: 700px;
  height: 700px;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 240, 224, 0.06) 0%, transparent 65%);
}

/* ============================================
   DASHBOARD WRAPPER (now holds AlertsDemo)
   ============================================ */
.CorrIntegrationFlow-module__pcbDashboardWrap--m4uiv {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  z-index: 10;
  opacity: 0;
  transform: scale(0.97) translateY(12px);
  transition:
    opacity var(--duration-gentle) var(--ease-enter),
    transform var(--duration-gentle) var(--ease-enter);

  /* Match the demo-frame's own border-radius (var(--radius-lg) = 16px)
     so the ::after ring sits flush with the visible content boundary. */
  border-radius: 16px;
  /* No box-shadow here — the demo-frame inside has its own shadow.
     Adding another layer would double the depth and look muddy. */
}

.CorrIntegrationFlow-module__pcbDashboardWrap--m4uiv.CorrIntegrationFlow-module__intakeActive--_hyIF {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Outline ring flush with the demo-frame's own border.
   inset: 0 means it sits exactly at the wrapper's edge (same as the
   demo-frame border at border-radius: 16px). Border style matches the
   demo-frame's own: rgba(255,255,255,0.08). */
.CorrIntegrationFlow-module__pcbDashboardWrap--m4uiv::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--duration-gentle) var(--ease-enter);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.CorrIntegrationFlow-module__pcbDashboardWrap--m4uiv.CorrIntegrationFlow-module__intakeActive--_hyIF::after {
  opacity: 1;
}

/* ============================================
   SECTION HEADER
   ============================================ */
.CorrIntegrationFlow-module__pcbSectionHeader--S0wv0 {
  text-align: center;
  margin-bottom: 32px;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.CorrIntegrationFlow-module__pcbHeadline--P1ibU {
  font-size: var(--display-size);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-inverse);
  margin: 0 0 16px;
  text-wrap: balance;
}

.CorrIntegrationFlow-module__pcbLede--AfLpr {
  font-size: var(--body-large-size);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  max-width: 680px;
  margin: 0 auto;
  text-wrap: pretty;
}

/* ============================================
   EXPLORE LINK
   ============================================ */
.CorrIntegrationFlow-module__pcbLabel--ErctL {
  text-align: center;
  padding-top: 28px;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity var(--duration-gentle) var(--ease-enter),
    transform var(--duration-gentle) var(--ease-enter);
  position: relative;
  z-index: 2;
}

.CorrIntegrationFlow-module__pcbLabel--ErctL.CorrIntegrationFlow-module__visible--FNg8H {
  opacity: 1;
  transform: translateY(0);
}

.CorrIntegrationFlow-module__pcbExploreLink--DH4uf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue-bright);
  text-decoration: none;
  transition: gap var(--duration-fast) var(--ease-hover);
}

.CorrIntegrationFlow-module__pcbExploreLink--DH4uf:hover {
  gap: 10px;
  color: var(--blue-primary-hover);
}

.CorrIntegrationFlow-module__pcbExploreLink--DH4uf svg { flex-shrink: 0; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1199px) {
  .CorrIntegrationFlow-module__pcbZone--aZts7 {
    padding: 40px 0 32px;
  }
}

@media (max-width: 767px) {
  .CorrIntegrationFlow-module__pcbZone--aZts7 {
    padding: 32px 0 20px;
  }
}

/* ============================================
   PHONE + TABLET — Cameron 2026-05-11 v3
   ============================================
   When the interactive demo is hidden and replaced by a
   screenshot fallback (≤1023px), the AlertsDemoPanel's image
   carries its own border + radius. We hide the wrapper's
   outline ring here so the visible mask is exactly the image
   edge — no second card around it. Wrapper scaling animation
   also disabled since there's nothing scrolling into focus.
   ============================================ */
@media (max-width: 1023px) {
  .CorrIntegrationFlow-module__pcbDashboardWrap--m4uiv::after {
    display: none;
  }
  .CorrIntegrationFlow-module__pcbDashboardWrap--m4uiv {
    opacity: 1;
    transform: none;
    /* Track the image's radius exactly so any reflow doesn't
       reveal a corner mismatch. */
    border-radius: var(--radius-lg, 16px);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .CorrIntegrationFlow-module__pcbGlow--Pv1eS,
  .CorrIntegrationFlow-module__pcbLabel--ErctL,
  .CorrIntegrationFlow-module__pcbDashboardWrap--m4uiv {
    transition: none !important;
    animation: none !important;
  }

  .CorrIntegrationFlow-module__pcbDashboardWrap--m4uiv { opacity: 1; transform: none; }
  .CorrIntegrationFlow-module__pcbLabel--ErctL { opacity: 1; transform: none; }
}

