/* ============================================================
   BCURVE
   ============================================================ */

/* ===========================================
   BENEFITS SECTION
   =========================================== */

.benefit-hero {
  grid-column: span 3;
  min-height: 380px;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}

.benefit-eyebrow {
  font-size: 12px;
  font-weight: 500;
  color: #818CF8;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.benefit-small 
.benefit-small 
.benefit-visual-small {
  width: 56px;
  height: 56px;
  margin-bottom: 32px;
  position: relative;
}

.benefit-small::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -40%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

@keyframes blobFloat1 {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(80px, -40px); }
}

@keyframes blobFloat2 {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(-60px, 30px); }
}

/* === Section — single 100vh sticky, NOT scroll-driven === */

.bcurve-section {
  position: relative;
  height: 420vh; /* 5 steps × 100vh scroll runway */
  z-index: 3;
  /* Ensure clean separation from next section */
  margin-bottom: 0;
}

.bcurve-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14vh 0 8vh;
}

.section-header {
  position: relative;
  z-index: 5;
  text-align: center;
  margin-bottom: 6vh;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: #818CF8;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.section-title {
  font-size: 64px;
  font-weight: 600;
  color: #111;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.bcurve-stage {
  position: relative;
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 0 60px;
}

.bcurve-svg {
  width: 100%;
  max-width: 1200px;
  height: 100%;
  max-height: 580px;
  overflow: visible;
}

/* Curve — animated via JS */

.curve-trail {
  fill: none;
  stroke: url(#curveGradient);
  stroke-width: 12;
  stroke-linecap: round;
  opacity: 0.3;
  filter: blur(10px);
  transition: stroke-dashoffset 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.curve-main {
  fill: none;
  stroke: url(#curveGradient);
  stroke-width: 4;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(129,140,248,0.4));
  transition: stroke-dashoffset 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.curve-fill {
  fill: url(#fillGradient);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.curve-fill.is-visible { opacity: 1; }

/* Markers */

.station-marker {
  fill: white;
  stroke: #818CF8;
  stroke-width: 2.5;
  filter: drop-shadow(0 2px 8px rgba(129,140,248,0.4));
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
  transform: scale(0);
  transition: 
    opacity 0.5s ease,
    transform 0.6s cubic-bezier(0.34, 1.6, 0.64, 1),
    fill 0.4s ease,
    stroke-width 0.4s ease;
}

.station-marker.is-visible {
  opacity: 1;
  transform: scale(1);
}

.station-marker.is-current {
  fill: #818CF8;
  stroke: white;
  stroke-width: 3;
}

.station-pulse {
  fill: none;
  stroke: #818CF8;
  stroke-width: 2;
  opacity: 0;
}

.station-pulse.is-firing { animation: stationPulse 1.4s ease-out; }

.curve-glow-point {
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
  transform: scale(0);
  transition: all 0.7s cubic-bezier(0.34, 1.6, 0.64, 1);
}

.curve-glow-point.is-visible {
  opacity: 1;
  transform: scale(1);
}

.glow-core {
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.9))
          drop-shadow(0 0 24px rgba(192,132,252,0.5));
}

.bcurve-progress {
  position: absolute;
  bottom: 6vh; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px; align-items: center;
  z-index: 5;
}

.bcurve-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(129,140,248,0.35);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.bcurve-dot.is-current {
  background: #818CF8;
  width: 22px;
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(129,140,248,0.6);
}

/* Display block — TOP LEFT, above the curve */

.timelapse-display-block {
  position: absolute;
  left: 50%;
  top: 30vh;
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
  text-align: center;
}

/* Caption block — BOTTOM LEFT, below the curve */

.timelapse-caption-block {
  position: absolute;
  left: 50%;
  bottom: 0vh;
  width: 540px;
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
  text-align: center;
}

.timelapse-display {
  font-size: 110px;
  font-weight: 600;
  color: #0A0A0A;
  letter-spacing: -0.05em;
  line-height: 0.85;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0;
  height: 95px;
  position: relative;
}

.timelapse-display-main {
  display: inline-block;
  transition: font-size 0.5s ease, color 0.5s ease;
}

.timelapse-display-suffix {
  font-size: 56px;
  font-weight: 500;
  color: #6366F1;
  letter-spacing: -0.04em;
  line-height: 0.85;
  margin-left: 4px;
  transition: opacity 0.4s ease;
}

.timelapse-display.is-special .timelapse-display-main {
  font-size: 140px;
  background: linear-gradient(135deg, #6366F1 0%, #C084FC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.timelapse-caption {
  position: relative;
  height: 130px;
}

.timelapse-step {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  will-change: opacity, transform;
}

.timelapse-step.is-active {
  opacity: 1;
  transform: translateY(0);
}

.timelapse-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 0.5px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: 100px;
  width: fit-content;
  box-shadow: 
    inset 0 1px 0 rgba(255,255,255,1),
    0 4px 16px rgba(40, 25, 80, 0.08),
    0 1px 3px rgba(40, 25, 80, 0.06);
}

.timelapse-label {
  font-size: 12px;
  font-weight: 600;
  color: #4F46E5;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.timelapse-title {
  font-size: 22px;
  font-weight: 600;
  color: #111;
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-align: center;
  text-shadow: 0 1px 2px rgba(255,255,255,0.5);
}

.timelapse-body {
  font-size: 16px;
  color: #555;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.005em;
  max-width: 460px;
  text-align: center;
  text-shadow: 0 1px 2px rgba(255,255,255,0.5);
}

.section-header {
  position: relative;
  z-index: 5;
  text-align: center;
  margin-bottom: 2vh;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: #818CF8;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.section-title {
  font-size: 44px;
  font-weight: 600;
  color: #111;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

@keyframes hintBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}
