/* ══ STORYTELLING V2 — Split reveal + Psychology ══ */

/* Reveal animations */
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal-left.visible,
.reveal-right.visible,
.reveal-up.visible {
  opacity: 1;
  transform: translate(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Story sections */
.story-section {
  padding: 7rem 2rem;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.story-section.dark {
  background: rgba(10,10,30,0.96);
  color: #F0F4FF;
}
.story-section.light {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(8px);
}
.story-section.accent-bg {
  background: linear-gradient(135deg, rgba(79,70,229,0.06) 0%, rgba(255,255,255,0.9) 100%);
  backdrop-filter: blur(6px);
}

/* Split layout */
.split {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.story-inner-full {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Typography */
.story-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}
.story-section.dark .story-eyebrow { color: #A5B4FC; }

.story-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: var(--ink);
}
.story-section.dark .story-title { color: #F0F4FF; }

.story-text {
  font-size: 0.95rem;
  color: var(--soft);
  line-height: 1.85;
  margin-bottom: 1rem;
}
.story-section.dark .story-text { color: rgba(240,244,255,0.65); }
.story-text strong { color: var(--ink); font-weight: 600; }
.story-section.dark .story-text strong { color: #F0F4FF; }

/* ── SECTION 1: ANXIETY MIRROR ── */
.anxiety-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.anxiety-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  font-size: 0.9rem;
  color: rgba(240,244,255,0.8);
}
.anxiety-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #A5B4FC;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}

/* ── STAT COUNTER ── */
.stat-trio {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: var(--border);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.stat-cell {
  background: var(--white);
  padding: 1.75rem 1rem;
  text-align: center;
}
.stat-cell.accent { background: var(--accent); }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 0.4rem;
  color: var(--accent);
}
.stat-cell.accent .stat-num { color: #fff; }
.stat-lbl { font-size: 0.75rem; color: var(--soft); line-height: 1.4; }
.stat-cell.accent .stat-lbl { color: rgba(255,255,255,0.75); }

/* ── RADAR CHART ── */
.chart-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}
canvas.radar { max-width: 320px; width: 100%; }

/* ── WHY PAY ── */
.value-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.value-row {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  background: rgba(79,70,229,0.04);
  border: 1px solid rgba(79,70,229,0.12);
  border-radius: 8px;
}
.value-icon { font-size: 1.4rem; flex-shrink: 0; }
.value-text h4 { font-size: 0.9rem; font-weight: 600; color: var(--ink); margin-bottom: 0.25rem; }
.value-text p  { font-size: 0.82rem; color: var(--soft); line-height: 1.6; margin: 0; }

/* Price compare */
.price-ladder {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.price-rung {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--border);
}
.price-rung.ours {
  background: rgba(79,70,229,0.06);
  border-color: var(--accent);
}
.price-rung-label { flex: 1; font-size: 0.85rem; color: var(--soft); }
.price-rung.ours .price-rung-label { color: var(--ink); font-weight: 500; }
.price-rung-amount {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--soft);
  text-decoration: line-through;
}
.price-rung.ours .price-rung-amount {
  color: var(--accent);
  text-decoration: none;
  font-size: 1.4rem;
}

/* ── REPORT PAGES ── */
.report-stack {
  position: relative;
  padding: 1rem;
}
.report-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(26,26,46,0.06);
  margin-bottom: 1rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.report-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: rgba(79,70,229,0.15);
  line-height: 1;
  min-width: 2rem;
}
.report-card h3 { font-size: 0.95rem; font-weight: 600; color: var(--ink); margin-bottom: 0.35rem; }
.report-card p  { font-size: 0.82rem; color: var(--soft); line-height: 1.6; margin: 0; }

/* ── HONEST BOX ── */
.honest-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.honest-card {
  padding: 1.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.honest-card.yes { background: rgba(5,150,105,0.05); border-color: rgba(5,150,105,0.2); }
.honest-card.no  { background: rgba(180,83,9,0.05);  border-color: rgba(180,83,9,0.2); }
.honest-card-icon { font-size: 1.5rem; margin-bottom: 0.75rem; }
.honest-card h3 { font-size: 0.9rem; font-weight: 600; color: var(--ink); margin-bottom: 0.5rem; }
.honest-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.honest-card ul li { font-size: 0.82rem; color: var(--soft); line-height: 1.5; padding-left: 1rem; position: relative; }
.honest-card ul li::before { content: '·'; position: absolute; left: 0; color: var(--accent); }

/* ── REDNBLUE CTA ── */
.rednblue-banner {
  background: var(--ink);
  border-radius: 12px;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.rednblue-banner-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.rednblue-banner-text p { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.6; max-width: 440px; }
.rednblue-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.75rem;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.rednblue-btn:hover { background: #6366F1; }

@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split.reverse { direction: ltr; }
  .honest-split { grid-template-columns: 1fr; }
  .stat-trio { grid-template-columns: 1fr; }
  .rednblue-banner { flex-direction: column; text-align: center; }
}

/* Critical fix — ensure dark section text is always visible */
.story-section.dark * { color: inherit; }
.story-section.dark { color: rgba(240,244,255,0.85); }
.story-section.dark .story-title { color: #F0F4FF; }
.story-section.dark .story-eyebrow { color: #A5B4FC; }
.story-section.dark .anxiety-item { color: rgba(240,244,255,0.8); }

/* Reduce motion sensitivity — show content faster */
.reveal-left, .reveal-right, .reveal-up {
  transition-duration: 0.5s;
}

/* CRITICAL FIX: content visible by default, animation is enhancement only */
.reveal-left, .reveal-right, .reveal-up {
  opacity: 1 !important;
  transform: none !important;
}
@media (prefers-reduced-motion: no-preference) {
  .reveal-left:not(.visible) { opacity: 0 !important; transform: translateX(-50px) !important; }
  .reveal-right:not(.visible) { opacity: 0 !important; transform: translateX(50px) !important; }
  .reveal-up:not(.visible) { opacity: 0 !important; transform: translateY(30px) !important; }
  .reveal-left.visible, .reveal-right.visible, .reveal-up.visible {
    opacity: 1 !important; transform: none !important;
  }
}

/* NUCLEAR FIX: never hide content */
.reveal-left, .reveal-right, .reveal-up,
.reveal-left.visible, .reveal-right.visible, .reveal-up.visible {
  opacity: 1 !important;
  transform: none !important;
}
