/* ============================================================
   EE-Partner Advisory Board — Slide Deck Styles
   ============================================================ */

/* --- Password Gate --- */
.password-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.password-gate.hidden {
  display: none;
}

.password-gate__card {
  text-align: center;
  width: 100%;
  max-width: 380px;
  padding: 48px 32px;
}

.password-gate__logo {
  width: 180px;
  height: auto;
  margin: 0 auto 32px;
  display: block;
  clip-path: inset(28% 5% 28% 5%);
  margin-bottom: 0;
  filter: invert(1);
  mix-blend-mode: lighten;
}

.password-gate__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.password-gate__subtitle {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 32px;
}

.password-gate__field {
  display: flex;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.password-gate__input {
  flex: 1;
  padding: 14px 18px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  border: 1px solid rgba(255,255,255,0.1);
  border-right: none;
  border-radius: 12px 0 0 12px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.password-gate__input::placeholder {
  color: rgba(255,255,255,0.3);
}

.password-gate__input:focus {
  border-color: #4f46e5;
  background: rgba(255,255,255,0.1);
}

.password-gate__btn {
  padding: 14px 20px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  border: none;
  border-radius: 0 12px 12px 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}

.password-gate__btn:hover {
  opacity: 0.85;
}

.password-gate__error {
  font-size: 0.8rem;
  color: #f87171;
  margin-top: 16px;
  transition: opacity 0.2s;
}

.password-gate__error.hidden {
  visibility: hidden;
}

.password-gate__input.shake {
  animation: shake 0.4s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #f0f2f5;
  --color-surface: #ffffff;
  --color-primary: #0f172a;
  --color-accent: #4f46e5;
  --color-accent-rgb: 79, 70, 229;
  --color-accent-light: #eef2ff;
  --color-accent-hover: #4338ca;
  --color-accent-glow: rgba(79, 70, 229, 0.15);
  --color-accent-secondary: #7c3aed;
  --color-text: #1e293b;
  --color-text-secondary: #475569;
  --color-text-muted: #94a3b8;
  --color-border: #e2e8f0;
  --color-border-light: #f1f5f9;
  --color-success: #059669;
  --color-lock: #cbd5e1;
  --color-kpi-bg: #f8fafc;
  --color-sidebar: #0f172a;
  --color-sidebar-text: #94a3b8;
  --color-sidebar-active: #ffffff;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --stepper-width: 280px;
  --nav-height: 64px;
  --slide-max-width: 960px;
  --transition-speed: 0.3s;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  --gradient-accent: linear-gradient(135deg, #4f46e5, #7c3aed);
  --gradient-accent-soft: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #7c3aed 100%);
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow: hidden;
  height: 100vh;
  display: flex;
}

/* --- Stepper (dark sidebar) --- */
.stepper {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--stepper-width);
  height: 100vh;
  background: var(--color-sidebar);
  padding: 28px 0;
  display: flex;
  flex-direction: column;
  z-index: 100;
  overflow-y: auto;
}

.stepper__logo {
  padding: 12px 24px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stepper__logo-img {
  width: 100%;
  height: auto;
  display: block;
  margin: -30% -10%;
  clip-path: inset(28% 5% 28% 5%);
  filter: invert(1);
  mix-blend-mode: lighten;
}

.stepper__list {
  list-style: none;
  padding: 0 12px;
  flex: 1;
}

.stepper__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition-speed), transform var(--transition-speed);
  position: relative;
  margin-bottom: 2px;
}

.stepper__item:hover:not(.stepper__item--locked) {
  background: rgba(255,255,255,0.06);
  transform: translateX(2px);
}

.stepper__item--active {
  background: rgba(79,70,229,0.15);
}

.stepper__item--active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: var(--gradient-accent);
  border-radius: 0 3px 3px 0;
}

.stepper__item--active .stepper__number {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(var(--color-accent-rgb), 0.4);
}

.stepper__item--completed .stepper__number {
  background: var(--color-success);
  color: #fff;
}

.stepper__item--locked {
  opacity: 0.3;
  cursor: not-allowed;
}

.stepper__item--locked:hover {
  background: transparent;
  transform: none;
}

.stepper__number {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(255,255,255,0.1);
  color: var(--color-sidebar-text);
  transition: all var(--transition-speed);
}

.stepper__item--locked .stepper__number {
  background: rgba(255,255,255,0.06);
  color: transparent;
  font-size: 0;
}

.stepper__item--locked .stepper__number::after {
  content: '';
  display: block;
  width: 10px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20' fill='%23475569'%3E%3Cpath d='M13 7h-1V5A4 4 0 004 5v2H3a2 2 0 00-2 2v8a2 2 0 002 2h10a2 2 0 002-2V9a2 2 0 00-2-2zM6 5a2 2 0 114 0v2H6V5z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.stepper__label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-sidebar-text);
  line-height: 1.4;
  padding-top: 4px;
  transition: color var(--transition-speed);
}

.stepper__item--active .stepper__label {
  color: var(--color-sidebar-active);
  font-weight: 600;
}

/* --- Mobile progress bar --- */
.mobile-progress {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 52px;
  background: var(--color-sidebar);
  z-index: 100;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
}

.mobile-progress-bar {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.mobile-progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--gradient-accent);
  border-radius: 2px;
  transition: width var(--transition-speed);
  width: var(--progress-pct, 0%);
}

.mobile-progress__logo {
  width: 90px;
  height: auto;
  flex-shrink: 0;
  clip-path: inset(28% 5% 28% 5%);
  margin: -12px -4px -12px 0;
  filter: invert(1);
  mix-blend-mode: lighten;
}

.mobile-progress-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
}

/* --- Slide viewport --- */
.slide-viewport {
  margin-left: var(--stepper-width);
  flex: 1;
  height: 100vh;
  padding-bottom: var(--nav-height);
  overflow: hidden;
  position: relative;
  background: var(--color-bg);
}

.slide-container {
  width: 100%;
  height: 100%;
  position: relative;
}

/* --- Individual slide --- */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 48px 56px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.slide--active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 2;
}

.slide--exit-left {
  opacity: 0;
  transform: translateY(-16px);
}

.slide--blurred {
  filter: blur(10px) saturate(0.5);
  pointer-events: none;
  user-select: none;
}

.slide__inner {
  max-width: var(--slide-max-width);
  width: 100%;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* --- Slide header --- */
.slide__overline {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.slide__title {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-primary);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.slide__subtitle {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin-bottom: 6px;
  max-width: 680px;
}

.slide__subtitle--secondary {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.slide__subtitle + .slide__divider,
.slide__subtitle + .slide__body,
.slide__subtitle + .slide__recipient {
  margin-top: 26px;
}

.slide__subtitle--secondary + .slide__divider,
.slide__subtitle--secondary + .slide__body,
.slide__subtitle--secondary + .slide__recipient {
  margin-top: 0;
}

.slide__recipient {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 32px;
  padding: 18px 22px;
  background: var(--color-surface);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  max-width: 340px;
  box-shadow: var(--shadow-sm);
}

.slide__recipient-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.slide__recipient-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
}

.slide__divider {
  width: 56px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 2px;
  margin-bottom: 32px;
}

/* --- Content body --- */
.slide__body {
  flex: 1;
}

/* --- KPI Cards --- */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.kpi-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 3px solid transparent;
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition-speed);
  position: relative;
  overflow: hidden;
}

.kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition-speed);
}

.kpi-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: transparent;
}

.kpi-card:hover::before {
  opacity: 1;
}

.kpi-card__value {
  font-size: 1.9rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.kpi-card__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: 2px;
}

.kpi-card__sublabel {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* --- KPI Highlight (standalone row) --- */
.kpi-highlight {
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-speed);
}

.kpi-highlight::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-accent);
}

.kpi-highlight:hover {
  border-color: rgba(79,70,229,0.25);
  box-shadow: var(--shadow-md);
}

.kpi-highlight__text {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-shrink: 0;
}

.kpi-highlight__value {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.kpi-highlight__label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-primary);
}

.kpi-highlight__sublabel {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  border-left: 1px solid var(--color-border);
  padding-left: 24px;
}

/* --- Two-column layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.two-col__block h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.two-col__subtitle {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  font-style: italic;
}

.two-col__block--card .two-col__subtitle {
  font-size: 0.82rem;
  font-weight: 600;
  font-style: normal;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.two-col__block p {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* Card variant */
.two-col__block--card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all var(--transition-speed);
  position: relative;
  overflow: hidden;
}

.two-col__block--card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition-speed);
}

.two-col__block--card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: transparent;
}

.two-col__block--card:hover::before {
  opacity: 1;
}

.two-col__block--card h3 {
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.two-col__block--card .bullet-list {
  margin-bottom: 0;
}

.two-col__block--card .bullet-list li {
  font-size: 0.8rem;
  margin-bottom: 7px;
}

/* --- Bullet list --- */
.bullet-list {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}

.bullet-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-accent);
  opacity: 0.7;
  transition: all 0.2s ease;
}

.bullet-list li:hover::before {
  opacity: 1;
  transform: scale(1.3);
}

/* --- Flow diagram --- */
.flow {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 32px;
  overflow-x: auto;
  padding: 12px 0;
}

.flow__stage {
  flex: 1;
  min-width: 130px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  text-align: center;
  position: relative;
  transition: all var(--transition-speed);
  overflow: hidden;
}

.flow__stage::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
}

.flow__stage:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.flow__stage-number {
  font-size: 0.6rem;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.flow__stage-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.flow__stage-desc {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Highlighted flow stage */
.flow__stage--highlight {
  background: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 4px 16px rgba(79,70,229,0.3);
}

.flow__stage--highlight::before {
  background: linear-gradient(135deg, #818cf8, #a78bfa);
}

.flow__stage--highlight .flow__stage-number {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: rgba(255,255,255,0.7);
  background-clip: unset;
}

.flow__stage--highlight .flow__stage-title {
  color: #fff;
}

.flow__stage--highlight .flow__stage-desc {
  color: rgba(255,255,255,0.75);
}

.flow__stage--highlight:hover {
  box-shadow: 0 6px 24px rgba(79,70,229,0.45);
}

.flow__arrow {
  flex-shrink: 0;
  width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  opacity: 0.5;
}

.flow__arrow svg {
  width: 18px;
  height: 18px;
}

/* --- Journey timeline --- */
.journey {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 32px 28px 28px;
  margin-bottom: 32px;
  overflow: hidden;
}

.journey__header {
  margin-bottom: 32px;
}

.journey__heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.journey__heading::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 22px;
  background: var(--gradient-accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.journey__desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
  max-width: 680px;
}

.journey__timeline {
  position: relative;
  padding-top: 16px;
}

/* Horizontal gradient track */
.journey__track {
  position: absolute;
  top: 60px;
  left: 32px;
  right: 32px;
  height: 3px;
  background: linear-gradient(90deg, rgba(79,70,229,0.15) 0%, var(--color-accent) 50%, var(--color-accent-secondary) 100%);
  border-radius: 2px;
  z-index: 0;
}

.journey__track::after {
  content: '';
  position: absolute;
  right: -6px;
  top: -4px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-accent-secondary);
  border-top: 2px solid var(--color-accent-secondary);
  transform: rotate(45deg);
  opacity: 0.7;
}

.journey__groups {
  display: flex;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.journey__group {
  flex: 1;
  position: relative;
}

.journey__group-label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  text-align: center;
  margin-bottom: 14px;
  padding: 4px 12px;
  background: rgba(79,70,229,0.06);
  border-radius: 20px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.journey__group:nth-child(2) .journey__group-label {
  color: var(--color-accent-secondary);
  background: rgba(124,58,237,0.06);
}

.journey__stages {
  display: flex;
  gap: 4px;
}

.journey__stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 4px;
}

.journey__node {
  position: relative;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.journey__circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(79,70,229,0.3);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.journey__stage:hover .journey__circle {
  transform: scale(1.15);
  box-shadow: 0 4px 20px rgba(79,70,229,0.45);
}

.journey__icon {
  font-size: 1.1rem;
  margin-top: 8px;
  line-height: 1;
}

.journey__info {
  padding: 12px 6px 4px;
}

.journey__stage-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 3px;
  line-height: 1.3;
}

.journey__stage-desc {
  font-size: 0.68rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Group 2 circles use secondary accent */
.journey__group:nth-child(2) .journey__circle {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  box-shadow: 0 2px 12px rgba(124,58,237,0.3);
}

.journey__group:nth-child(2) .journey__stage:hover .journey__circle {
  box-shadow: 0 4px 20px rgba(124,58,237,0.45);
}

/* --- Callout / highlight --- */
.callout {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 5px solid;
  border-image: var(--gradient-accent) 1;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 26px 30px;
  margin-bottom: 28px;
  transition: all var(--transition-speed);
  position: relative;
}

.callout:hover {
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.callout__text {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.65;
  font-style: italic;
}

.callout__attribution {
  font-size: 0.68rem;
  color: var(--color-accent);
  margin-top: 10px;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

/* --- Section heading within a slide --- */
.section-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 14px;
  margin-top: 32px;
  position: relative;
  padding-left: 18px;
}

.section-heading:first-child {
  margin-top: 0;
}

.section-heading::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 4px;
  height: 1.1em;
  background: var(--gradient-accent);
  border-radius: 2px;
}

/* --- Paragraph --- */
.slide-paragraph {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 720px;
}

/* --- Compare Bars --- */
.compare-bars {
  margin-bottom: 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.compare-bars__row {
  display: grid;
  grid-template-columns: 90px 1fr;
  grid-template-rows: auto auto;
  gap: 4px 16px;
  align-items: center;
  margin-bottom: 20px;
}

.compare-bars__row:last-of-type {
  margin-bottom: 0;
}

.compare-bars__label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  grid-column: 1;
  grid-row: 1;
}

.compare-bars__track-wrap {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 14px;
}

.compare-bars__track {
  flex: 1;
  height: 32px;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}

.compare-bars__fill {
  height: 100%;
  background: var(--gradient-accent);
  border-radius: var(--radius-sm);
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  min-width: 0;
  position: relative;
}

.compare-bars__fill--primary {
  background: linear-gradient(90deg, #cbd5e1, #94a3b8);
}

.compare-bars__value {
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  min-width: 48px;
  letter-spacing: -0.02em;
}

.compare-bars__row:first-child .compare-bars__value {
  background: none;
  -webkit-text-fill-color: var(--color-text-muted);
  font-weight: 700;
}

.compare-bars__note {
  grid-column: 2;
  grid-row: 2;
  font-size: 0.73rem;
  color: var(--color-text-muted);
  margin-top: -2px;
}

.compare-bars__caption {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  font-style: italic;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-light);
  line-height: 1.5;
}

/* --- NDA Slide --- */
.nda-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  max-width: 560px;
  box-shadow: var(--shadow-md);
}

.nda-form__field {
  margin-bottom: 20px;
}

.nda-form__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.nda-form__input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: 0.9rem;
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
  background: var(--color-kpi-bg);
}

.nda-form__input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.nda-form__checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.nda-form__checkbox-row input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--color-accent);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.nda-form__checkbox-label {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  cursor: pointer;
}

.nda-form__date {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.nda-form__signature-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.nda-form__signature-pad {
  width: 100%;
  height: 80px;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-kpi-bg);
  cursor: crosshair;
  touch-action: none;
  transition: border-color var(--transition-speed);
}

.nda-form__signature-pad:hover {
  border-color: var(--color-accent);
}

.nda-form__signature-hint {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  margin-top: 4px;
  margin-bottom: 20px;
}

.nda-form__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gradient-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-speed);
}

.nda-form__btn:hover:not(:disabled) {
  box-shadow: 0 4px 16px rgba(var(--color-accent-rgb), 0.4);
  transform: translateY(-1px);
}

.nda-form__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.nda-form__confirmed {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--color-success);
  font-weight: 600;
}

.nda-form__confirmed svg {
  flex-shrink: 0;
}

/* --- NDA text content area --- */
.nda-text {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  margin-bottom: 28px;
  max-height: 300px;
  overflow-y: auto;
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  box-shadow: var(--shadow-sm);
}

.nda-text h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
  margin-top: 18px;
}

.nda-text h4:first-child {
  margin-top: 0;
}

.nda-text ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 12px;
}

.nda-text ul li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 5px;
}

.nda-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
}

.nda-text p {
  margin-bottom: 8px;
}

.nda-text p:last-child {
  margin-bottom: 0;
}

/* --- NDA overlay for locked slides --- */
.nda-overlay {
  position: fixed;
  top: 0;
  left: var(--stepper-width);
  right: 0;
  bottom: var(--nav-height);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nda-overlay.hidden {
  display: none;
}

.nda-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.3);
  backdrop-filter: blur(6px);
}

/* --- Navigation controls --- */
.nav-controls {
  position: fixed;
  bottom: 0;
  left: var(--stepper-width);
  right: 0;
  height: var(--nav-height);
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  z-index: 100;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  font-family: var(--font-family);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-speed);
}

.nav-btn:hover:not(:disabled) {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-light);
}

.nav-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.nav-btn:active:not(:disabled) {
  transform: scale(0.97);
}

.nav-btn--next {
  background: var(--gradient-accent);
  border-color: transparent;
  color: #fff;
}

.nav-btn--next:hover:not(:disabled) {
  box-shadow: 0 4px 14px rgba(var(--color-accent-rgb), 0.35);
  border-color: transparent;
  color: #fff;
}

.nav-indicator {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* --- Title slide special layout --- */
.title-slide {
  justify-content: flex-start;
  text-align: left;
  padding-top: 56px;
}

.title-slide .slide__title {
  font-size: 2.4rem;
}

.title-slide .slide__subtitle {
  font-size: 1.1rem;
  max-width: 600px;
}

.title-slide .slide__subtitle--secondary {
  font-size: 0.92rem;
}

/* --- Closing slide --- */
.closing-slide {
  justify-content: center;
  align-items: center;
  text-align: center;
}

.closing-slide .slide__inner {
  align-items: center;
}

.closing-slide .slide__subtitle {
  max-width: 480px;
  text-align: center;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  background: var(--gradient-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-speed);
  margin-top: 16px;
}

.cta-btn:hover {
  box-shadow: 0 8px 24px rgba(var(--color-accent-rgb), 0.35);
  transform: translateY(-2px);
}

.cta-btn:active {
  transform: translateY(0);
}

/* --- Info tag list --- */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--color-accent-light);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* ============================================================
   Responsive: Tablet
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --stepper-width: 220px;
  }

  .stepper__logo-img {
    width: 100%;
    margin: -30% -10%;
    clip-path: inset(28% 5% 28% 5%);
  }

  .slide {
    padding: 36px 36px;
  }

  .slide__title {
    font-size: 1.7rem;
  }

  .title-slide .slide__title {
    font-size: 2rem;
  }

  .two-col {
    gap: 16px;
  }

  .flow__stage {
    min-width: 110px;
    padding: 16px 10px;
  }
}

/* ============================================================
   Responsive: Mobile
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --stepper-width: 0px;
    --nav-height: 56px;
  }

  .stepper {
    display: none;
  }

  .mobile-progress {
    display: flex;
  }

  .slide-viewport {
    margin-left: 0;
    padding-top: 52px;
  }

  .slide {
    padding: 24px 20px;
  }

  .slide__title {
    font-size: 1.4rem;
  }

  .title-slide .slide__title {
    font-size: 1.7rem;
  }

  .slide__subtitle {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .kpi-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .kpi-card {
    padding: 16px 12px;
  }

  .kpi-card__value {
    font-size: 1.5rem;
  }

  .flow {
    flex-direction: column;
    align-items: stretch;
  }

  .flow__arrow {
    transform: rotate(90deg);
    width: auto;
    height: 24px;
  }

  .flow__stage {
    min-width: auto;
  }

  .journey {
    padding: 24px 16px 20px;
  }

  .journey__track {
    display: none;
  }

  .journey__groups {
    flex-direction: column;
    gap: 20px;
  }

  .journey__stages {
    flex-direction: column;
    gap: 12px;
  }

  .journey__stage {
    flex-direction: row;
    text-align: left;
    gap: 14px;
  }

  .journey__node {
    margin-bottom: 0;
    flex-direction: row;
    gap: 8px;
  }

  .journey__icon {
    margin-top: 0;
  }

  .journey__info {
    padding: 0;
  }

  .nav-controls {
    left: 0;
    padding: 0 16px;
  }

  .nda-overlay {
    left: 0;
    bottom: var(--nav-height);
    top: 52px;
  }

  .nda-form {
    padding: 24px 20px;
  }

  .nda-text {
    max-height: 200px;
    padding: 16px 18px;
  }

  .title-slide {
    padding-top: 24px;
  }

  .compare-bars {
    padding: 20px 16px;
  }
}

/* --- Scrollbar styling --- */
.slide::-webkit-scrollbar,
.nda-text::-webkit-scrollbar {
  width: 5px;
}

.slide::-webkit-scrollbar-track,
.nda-text::-webkit-scrollbar-track {
  background: transparent;
}

.slide::-webkit-scrollbar-thumb,
.nda-text::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 3px;
}

.slide::-webkit-scrollbar-thumb:hover,
.nda-text::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-muted);
}

/* ============================================================
   Animations & Visual Effects
   ============================================================ */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes drawLine {
  from { width: 0; }
  to   { width: 56px; }
}

/* --- Staggered entrance for content blocks --- */
.slide--active .slide__body > * {
  opacity: 0;
  animation: fadeInUp 0.45s ease forwards;
}

.slide--active .slide__body > *:nth-child(1)  { animation-delay: 0.06s; }
.slide--active .slide__body > *:nth-child(2)  { animation-delay: 0.12s; }
.slide--active .slide__body > *:nth-child(3)  { animation-delay: 0.18s; }
.slide--active .slide__body > *:nth-child(4)  { animation-delay: 0.24s; }
.slide--active .slide__body > *:nth-child(5)  { animation-delay: 0.30s; }
.slide--active .slide__body > *:nth-child(6)  { animation-delay: 0.35s; }
.slide--active .slide__body > *:nth-child(7)  { animation-delay: 0.40s; }
.slide--active .slide__body > *:nth-child(8)  { animation-delay: 0.45s; }
.slide--active .slide__body > *:nth-child(9)  { animation-delay: 0.50s; }
.slide--active .slide__body > *:nth-child(10) { animation-delay: 0.54s; }
.slide--active .slide__body > *:nth-child(11) { animation-delay: 0.58s; }
.slide--active .slide__body > *:nth-child(12) { animation-delay: 0.62s; }

/* --- Header entrance --- */
.slide--active .slide__overline   { animation: fadeInUp 0.4s ease 0.03s both; }
.slide--active .slide__title      { animation: fadeInUp 0.45s ease 0.08s both; }
.slide--active .slide__subtitle   { animation: fadeInUp 0.45s ease 0.14s both; }
.slide--active .slide__recipient  { animation: fadeInUp 0.45s ease 0.2s both; }
.slide--active .slide__divider    { animation: drawLine 0.5s ease 0.22s both; overflow: hidden; }

/* --- KPI card stagger --- */
.slide--active .kpi-card { animation: fadeInScale 0.4s ease both; }
.slide--active .kpi-grid .kpi-card:nth-child(1) { animation-delay: 0.08s; }
.slide--active .kpi-grid .kpi-card:nth-child(2) { animation-delay: 0.15s; }
.slide--active .kpi-grid .kpi-card:nth-child(3) { animation-delay: 0.22s; }
.slide--active .kpi-grid .kpi-card:nth-child(4) { animation-delay: 0.29s; }

/* --- Reduce motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
}
