/* ========================================
   FOUR PILLARS — Full-screen visual section
   ======================================== */

.pillars-sec {
  position: relative; overflow: hidden;
  padding: 120px 80px 120px;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(180deg, var(--dark) 0%, var(--plum) 100%);
}

.pillars-bg { position: absolute; inset: 0; pointer-events: none; }
.pillars-bg-grad {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(157, 212, 207, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(167, 160, 210, 0.06) 0%, transparent 40%);
}
.pillars-bg-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 22px 22px;
}

.pillars-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  text-align: center;
}

/* --- 2×2 Card Grid with Center Hub --- */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 960px;
  margin: 56px auto 0;
  position: relative;
}

/* --- Pillar Cards --- */
.pillar-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 36px 32px 28px;
  text-align: left;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
  overflow: hidden;
}

.pillar-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(157, 212, 207, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2), 0 0 60px rgba(157, 212, 207, 0.06);
}

/* Subtle glow per card */
.pillar-card::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 24px;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.pillar-card:hover::after { opacity: 1; }
.pillar-card--1::after { background: radial-gradient(ellipse at 30% 100%, rgba(157, 212, 207, 0.08) 0%, transparent 60%); }
.pillar-card--2::after { background: radial-gradient(ellipse at 70% 100%, rgba(5, 66, 64, 0.1) 0%, transparent 60%); }
.pillar-card--3::after { background: radial-gradient(ellipse at 30% 0%, rgba(167, 160, 210, 0.08) 0%, transparent 60%); }
.pillar-card--4::after { background: radial-gradient(ellipse at 70% 0%, rgba(42, 27, 94, 0.1) 0%, transparent 60%); }

/* Accent top border */
.pillar-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; z-index: 1;
}
.pillar-card--1::before { background: linear-gradient(90deg, var(--mint), rgba(157, 212, 207, 0.3)); }
.pillar-card--2::before { background: linear-gradient(90deg, rgba(5, 66, 64, 0.6), var(--mint)); }
.pillar-card--3::before { background: linear-gradient(90deg, var(--lavender), rgba(167, 160, 210, 0.3)); }
.pillar-card--4::before { background: linear-gradient(90deg, rgba(42, 27, 94, 0.6), var(--lavender)); }

/* Card number */
.pillar-card-num {
  position: absolute; top: 20px; right: 24px;
  font-family: 'Newsreader', serif;
  font-size: 52px; font-weight: 300;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
  z-index: 0;
}
.pillar-card--1 .pillar-card-num { color: rgba(157, 212, 207, 0.15); }
.pillar-card--2 .pillar-card-num { color: rgba(5, 66, 64, 0.2); }
.pillar-card--3 .pillar-card-num { color: rgba(167, 160, 210, 0.15); }
.pillar-card--4 .pillar-card-num { color: rgba(42, 27, 94, 0.2); }

/* Icon */
.pillar-card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  position: relative; z-index: 1;
}

/* Title */
.pillar-card-title {
  font-family: 'Newsreader', serif;
  font-size: 24px; font-weight: 500;
  color: white; line-height: 1.2;
  margin-bottom: 10px;
  position: relative; z-index: 1;
}
.pillar-card-title em {
  font-style: italic; font-weight: 600;
  color: var(--mint);
}
.pillar-card--3 .pillar-card-title em,
.pillar-card--4 .pillar-card-title em {
  color: var(--lavender);
}

/* Description */
.pillar-card-desc {
  font-size: 14px;
  color: var(--text-on-dark-muted);
  line-height: 1.7;
  margin-bottom: 16px;
  position: relative; z-index: 1;
}

/* Tags */
.pillar-card-tags {
  display: flex; gap: 8px; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.pillar-card-tags span {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(157, 212, 207, 0.1);
  border: 1px solid rgba(157, 212, 207, 0.18);
  color: var(--mint);
}
.pillar-card--3 .pillar-card-tags span,
.pillar-card--4 .pillar-card-tags span {
  background: rgba(167, 160, 210, 0.1);
  border-color: rgba(167, 160, 210, 0.18);
  color: var(--lavender);
}

/* --- Floating Center Hub --- */
.pillar-hub {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  z-index: 10;
}

.pillar-hub-ring {
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(157, 212, 207, 0.2);
  animation: hubPulse 3s ease-in-out infinite;
}

@keyframes hubPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 1; }
}

.pillar-hub-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(25, 48, 106, 0.97), rgba(42, 27, 94, 0.95));
  border: 1px solid rgba(157, 212, 207, 0.3);
  backdrop-filter: blur(16px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  box-shadow:
    0 0 30px rgba(157, 212, 207, 0.15),
    0 0 60px rgba(42, 27, 94, 0.25),
    0 4px 20px rgba(0, 0, 0, 0.3);
}

.pillar-hub-logo {
  font-family: 'Newsreader', serif;
  font-size: 24px; font-weight: 400;
  color: white; line-height: 1;
}
.pillar-hub-logo em {
  font-style: italic; font-weight: 600;
  color: var(--mint);
}


/* ========================================
   COMPETITIVE DIFFERENTIATION — Pinned split-screen
   ======================================== */
.diff-sec {
  position: relative;
  background: linear-gradient(180deg, var(--plum) 0%, var(--dark) 100%);
  height: 100vh;
  /* overflow NOT hidden — required for ScrollTrigger pin */
}

/* --- Full-width background image container --- */
.diff-bg {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}

.diff-pin-wrap {
  display: flex; align-items: center; justify-content: center;
  height: 100%; width: 100%;
  position: relative; z-index: 2;
}

.diff-img-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.diff-img-slide.diff-img-active { opacity: 1; }
.diff-img-slide img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}

/* Heavy dark purple overlay over the full-bleed photo */
.diff-img-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: rgba(14, 6, 38, 0.84);
}

/* --- Centered text column --- */
.diff-text-col {
  width: 100%; max-width: 680px;
  display: flex; flex-direction: column;
  align-items: center;
  padding: 60px 40px;
  text-align: center;
}

.diff-header { margin-bottom: 28px; text-align: center; }
.diff-header .sl { text-align: center; }
.diff-header .st { text-align: center; font-size: clamp(28px, 3.5vw, 48px); }
.diff-dynamic-title { will-change: transform, opacity; }

/* --- Step dots --- */
.diff-dots {
  display: flex; gap: 10px; justify-content: center;
  margin-top: 22px;
}
.diff-dot {
  width: 9px; height: 9px; border-radius: 50%;
  border: 1.5px solid rgba(157, 212, 207, 0.55);
  background: transparent;
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
  flex-shrink: 0;
}
.diff-dot--filled {
  background: var(--mint);
  border-color: var(--mint);
  transform: scale(1.15);
}

/* --- Progress indicator --- */
.diff-progress {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-bottom: 32px;
}
.diff-progress-track {
  flex: 1; max-width: 120px; height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px; overflow: hidden;
}
.diff-progress-fill {
  width: 25%; height: 100%;
  background: var(--mint);
  border-radius: 2px;
  transition: width 0.5s ease;
}
.diff-progress-count {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'DM Sans', sans-serif;
}
.diff-progress-current {
  color: var(--mint); font-weight: 700;
}

/* --- Card stack — only one visible at a time, no position swapping --- */
.diff-card-stack {
  position: relative;
  overflow: hidden;
  min-height: 160px;
  width: 100%;
  text-align: center;
}

.diff-card {
  display: none;
}
.diff-card.diff-card-active {
  display: block;
}

/* Card accent line removed — progress indicator above is sufficient */

.diff-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(157, 212, 207, 0.6);
  margin-bottom: 10px;
  text-align: center;
}

.diff-title {
  font-family: 'Newsreader', serif;
  font-size: 26px; font-weight: 600;
  color: white;
  line-height: 1.25;
  margin-bottom: 16px;
}
.diff-title em { font-style: italic; color: var(--mint); }

.diff-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}


/* --- Animated background shapes --- */
.diff-shapes {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
  overflow: hidden;
}
.diff-shape {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
/* Ring outlines */
.diff-shape--ring1 {
  width: 300px; height: 300px;
  top: 8%; left: 5%;
  border: 1.5px solid rgba(157, 212, 207, 0.08);
}
.diff-shape--ring2 {
  width: 200px; height: 200px;
  bottom: 12%; right: 8%;
  border: 1.5px solid rgba(167, 160, 210, 0.07);
}
.diff-shape--ring3 {
  width: 450px; height: 450px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(157, 212, 207, 0.04);
}
/* Gradient orbs */
.diff-shape--orb1 {
  width: 250px; height: 250px;
  top: 15%; right: 15%;
  background: radial-gradient(circle, rgba(157, 212, 207, 0.06) 0%, transparent 70%);
}
.diff-shape--orb2 {
  width: 180px; height: 180px;
  bottom: 20%; left: 20%;
  background: radial-gradient(circle, rgba(167, 160, 210, 0.05) 0%, transparent 70%);
}
/* Small floating dots */
.diff-shape--dot1 {
  width: 6px; height: 6px;
  top: 25%; left: 35%;
  background: rgba(157, 212, 207, 0.25);
}
.diff-shape--dot2 {
  width: 4px; height: 4px;
  top: 65%; right: 25%;
  background: rgba(167, 160, 210, 0.2);
}
.diff-shape--dot3 {
  width: 5px; height: 5px;
  bottom: 30%; left: 12%;
  background: rgba(157, 212, 207, 0.18);
}
/* Diamond accent */
.diff-shape--diamond {
  width: 16px; height: 16px;
  top: 40%; right: 5%;
  border-radius: 2px;
  border: 1px solid rgba(157, 212, 207, 0.12);
  transform: rotate(45deg);
}
/* Cross/plus accent */
.diff-shape--cross {
  width: 20px; height: 20px;
  bottom: 15%; left: 38%;
  background:
    linear-gradient(0deg, transparent 42%, rgba(167, 160, 210, 0.12) 42%, rgba(167, 160, 210, 0.12) 58%, transparent 58%),
    linear-gradient(90deg, transparent 42%, rgba(167, 160, 210, 0.12) 42%, rgba(167, 160, 210, 0.12) 58%, transparent 58%);
  border-radius: 0;
}

/* ========================================
   CBC ACCORDION (inside Audiences)
   ======================================== */
.ac--cbc { flex-wrap: wrap; }

.cbc-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px;
  background: rgba(157, 212, 207, 0.1);
  border: 1px solid rgba(157, 212, 207, 0.2);
  border-radius: 100px;
  padding: 7px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 600;
  color: var(--mint);
  cursor: pointer;
  transition: all 0.25s;
}
.cbc-toggle:hover {
  background: rgba(157, 212, 207, 0.18);
  border-color: rgba(157, 212, 207, 0.35);
}
.cbc-toggle svg {
  transition: transform 0.3s;
}
.cbc-open .cbc-toggle svg {
  transform: rotate(180deg);
}

.cbc-accordion {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}
.cbc-open .cbc-accordion {
  max-height: 800px;
}

.cbc-accordion-inner {
  padding: 24px 0 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 16px;
}

.cbc-acc-label {
  font-family: 'Newsreader', serif;
  font-size: 16px; font-weight: 600;
  color: white;
  margin-bottom: 12px;
}

.cbc-acc-list {
  list-style: none; margin: 0; padding: 0;
}
.cbc-acc-list li {
  font-size: 13px;
  color: var(--text-on-dark-muted);
  line-height: 1.55;
  padding: 6px 0;
  display: flex; align-items: flex-start; gap: 10px;
}
.cbc-acc-list li span {
  flex-shrink: 0;
  font-size: 14px;
}

.cbc-acc-callout {
  margin-top: 24px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(157, 212, 207, 0.08), rgba(167, 160, 210, 0.06));
  border: 1px solid rgba(157, 212, 207, 0.15);
  border-radius: 14px;
  font-family: 'Newsreader', serif;
  font-size: 16px;
  color: white;
  line-height: 1.55;
}
.cbc-acc-callout em {
  font-weight: 600;
  color: var(--mint);
}


/* ========================================
   SECTION BRIDGE — Pillars → Diff transition
   ======================================== */
.section-bridge {
  position: relative;
  height: 100px;
  background: linear-gradient(180deg, var(--plum) 0%, var(--plum) 50%, var(--plum) 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.section-bridge-line {
  width: 1px; height: 60px;
  background: linear-gradient(180deg,
    rgba(157, 212, 207, 0) 0%,
    rgba(157, 212, 207, 0.3) 50%,
    rgba(157, 212, 207, 0) 100%
  );
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
  .pillars-sec { padding: 80px 40px; }
  .pillar-card { padding: 28px 24px 22px; }
  .pillar-card-title { font-size: 21px; }
  .pillar-card-desc { font-size: 13px; }
  /* Diff section — full-bleed bg, centered text */
  .diff-sec { height: 100vh; }
  .diff-pin-wrap { height: 100vh; align-items: center; justify-content: center; }
  .diff-text-col { padding: 40px 52px; max-width: 100%; }
  .diff-header .st { font-size: clamp(24px, 5vw, 36px); }
}

@media (max-width: 640px) {
  .pillars-sec { padding: 60px 20px; }
  .pillars-grid { grid-template-columns: 1fr; gap: 16px; }
  .pillar-hub { display: none; }
  .pillar-card { padding: 28px 24px 22px; border-radius: 18px; }
  .pillar-card-title { font-size: 20px; }
  .pillar-card-num { font-size: 40px; }
  .diff-text-col { padding: 32px 36px; }
  .diff-desc { font-size: 14px; max-width: 100%; }
  .diff-progress { justify-content: center; }
}
