/* PRIME · Final dashboard — dark premium mode */

.final-shell {
  background:
    radial-gradient(1200px 800px at 80% -10%, rgba(197, 167, 110, 0.10), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(123, 165, 217, 0.10), transparent 60%),
    linear-gradient(180deg, var(--blue-deep-1) 0%, var(--blue-deep-2) 60%, #1A2B4D 100%);
  color: rgba(244, 247, 251, 0.92);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.final-shell .app-header {
  background: rgba(10, 24, 48, 0.65);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
.final-shell .brand-lockup__tagline { color: rgba(244, 247, 251, 0.55); }
.final-shell .app-header__right,
.final-shell .app-header__time { color: rgba(244, 247, 251, 0.65); }
.final-shell .app-footer {
  background: rgba(10, 24, 48, 0.45);
  border-top-color: rgba(255, 255, 255, 0.06);
  color: rgba(244, 247, 251, 0.55);
}
.final-shell .app-footer__col h4 { color: rgba(244, 247, 251, 0.45); }
.final-shell .app-footer__col a { color: rgba(244, 247, 251, 0.65); }
.final-shell .app-footer__col a:hover { color: var(--accent-1); }

.final-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px var(--sp-5);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* === Section header (numbered "FINAL X · Title") === */
.fin-section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.fin-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-1);
}
.fin-section-num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(197, 167, 110, 0.15);
  display: grid;
  place-items: center;
  font-size: 12px;
}
.fin-section-title {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: rgba(244, 247, 251, 0.96);
  line-height: 1.15;
}
.fin-section-sub {
  font-size: 16px;
  color: rgba(244, 247, 251, 0.62);
  max-width: 580px;
  line-height: 1.55;
}

/* === Dark card primitives === */
.fin-card {
  background: linear-gradient(180deg, rgba(31, 53, 89, 0.55) 0%, rgba(31, 53, 89, 0.35) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.fin-card__title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 247, 251, 0.55);
  margin-bottom: 14px;
}
.fin-card--accent {
  background: linear-gradient(135deg, rgba(197, 167, 110, 0.18) 0%, rgba(31, 53, 89, 0.55) 100%);
  border-color: rgba(197, 167, 110, 0.25);
}

/* "What if" interactive block */
.fin4-whatif {
  background: linear-gradient(180deg, rgba(31, 53, 89, 0.55) 0%, rgba(31, 53, 89, 0.25) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.fin4-whatif__head { margin-bottom: 28px; }
.fin4-whatif__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.fin4-whatif__controls {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.wi-control {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wi-control__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.wi-control__label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(244, 247, 251, 0.82);
}
.wi-control__value {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-1);
  font-variant-numeric: tabular-nums;
}
.wi-control__hint {
  font-size: 12px;
  color: rgba(244, 247, 251, 0.50);
  line-height: 1.45;
}
.wi-reset {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: rgba(15, 31, 61, 0.40);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(244, 247, 251, 0.65);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 200ms ease;
}
.wi-reset:hover {
  background: rgba(15, 31, 61, 0.70);
  border-color: rgba(255, 255, 255, 0.20);
  color: rgba(244, 247, 251, 0.92);
}

.fin4-whatif__result {
  background: linear-gradient(135deg, rgba(197, 167, 110, 0.16) 0%, rgba(31, 53, 89, 0.60) 100%);
  border: 1px solid rgba(197, 167, 110, 0.22);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.fin4-whatif__result::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(40px);
  opacity: 0.30;
  pointer-events: none;
}
.wi-result__caption {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 247, 251, 0.55);
  position: relative; z-index: 2;
}
.wi-result__big {
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
  position: relative; z-index: 2;
}
.wi-result__unit {
  font-size: 0.45em;
  font-weight: 600;
  color: rgba(244, 247, 251, 0.55);
  -webkit-text-fill-color: rgba(244, 247, 251, 0.55);
  letter-spacing: 0;
}
.wi-result__year {
  font-size: 13px;
  color: rgba(244, 247, 251, 0.65);
  position: relative; z-index: 2;
}
.wi-result__delta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative; z-index: 2;
}
.wi-result__delta-label {
  font-size: 12px;
  color: rgba(244, 247, 251, 0.65);
}
.wi-result__delta {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.wi-result__delta--up { color: var(--positive); }
.wi-result__delta--down { color: var(--accent-1); }
.wi-result__breakdown {
  display: flex; flex-direction: column;
  gap: 4px;
  position: relative; z-index: 2;
}
.wi-result__brow {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 5px 0;
}
.wi-result__brow span:first-child { color: rgba(244, 247, 251, 0.65); }
.wi-result__brow span:last-child { color: rgba(244, 247, 251, 0.92); font-weight: 600; font-variant-numeric: tabular-nums; }

@media (max-width: 720px) {
  .fin4-whatif__grid { grid-template-columns: 1fr; }
}
.fin4-whatif .slider {
  background: linear-gradient(to right,
    var(--accent-2) 0%, var(--accent-2) var(--val, 0%),
    rgba(244, 247, 251, 0.12) var(--val, 0%), rgba(244, 247, 251, 0.12) 100%);
}
.fin4-whatif .slider::-webkit-slider-thumb {
  background: var(--accent-1);
  border-color: #FFFFFF;
}
.fin4-whatif .slider::-moz-range-thumb {
  background: var(--accent-1);
  border-color: #FFFFFF;
}

/* === Vladimir video slot (Final 4) === */
.vladimir-slot {
  display: grid;
  grid-template-columns: 56px 1fr 48px;
  gap: 18px;
  align-items: center;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(31, 53, 89, 0.65) 0%, rgba(15, 31, 61, 0.40) 100%);
  border: 1px solid rgba(197, 167, 110, 0.20);
  cursor: pointer;
  transition: all 220ms ease;
  position: relative;
  overflow: hidden;
}
.vladimir-slot:hover {
  border-color: rgba(197, 167, 110, 0.45);
  transform: translateY(-1px);
}
.vladimir-slot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at 90% 50%, var(--accent-soft), transparent 70%);
  pointer-events: none;
  opacity: 0.50;
}
.vladimir-slot__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
  display: grid; place-items: center;
  color: #1B1107;
  position: relative; z-index: 2;
  box-shadow: 0 6px 20px var(--accent-soft);
}
.vladimir-slot__avatar svg { width: 28px; height: 28px; }
.vladimir-slot__body { position: relative; z-index: 2; }
.vladimir-slot__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 6px;
}
.vladimir-slot__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #FF4D4D;
  box-shadow: 0 0 8px rgba(255, 77, 77, 0.65);
  animation: dot-pulse 1.4s ease-in-out infinite;
}
.vladimir-slot__title {
  font-size: 17px; font-weight: 600;
  color: rgba(244, 247, 251, 0.96);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  line-height: 1.3;
}
.vladimir-slot__sub {
  font-size: 12.5px; color: rgba(244, 247, 251, 0.55);
}
.vladimir-slot__play {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(244, 247, 251, 0.10);
  display: grid; place-items: center;
  color: #F4F7FB;
  position: relative; z-index: 2;
  transition: all 200ms ease;
}
.vladimir-slot:hover .vladimir-slot__play {
  background: var(--accent-1);
  color: #1B1107;
  transform: scale(1.06);
}
.vladimir-slot__play svg { width: 18px; height: 18px; margin-left: 2px; }

@media (max-width: 600px) {
  .vladimir-slot { grid-template-columns: 1fr; text-align: left; }
  .vladimir-slot__play { display: none; }
}

/* === Curator booking widget (Final 6) === */
.curator-booking {
  background: linear-gradient(135deg, rgba(91, 192, 158, 0.10) 0%, rgba(31, 53, 89, 0.55) 100%);
  border: 1px solid rgba(91, 192, 158, 0.25);
  border-radius: var(--radius-xl);
  padding: 36px;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.curator-booking--booked {
  align-items: center;
  text-align: center;
  padding: 48px 36px;
}
.curator-booking__success {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(91, 192, 158, 0.18);
  display: grid; place-items: center;
  color: var(--positive);
  box-shadow: 0 0 24px var(--positive-soft);
}
.curator-booking__head { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.curator-booking__title { font-size: 24px; font-weight: 600; letter-spacing: -0.015em; color: rgba(244, 247, 251, 0.96); }
.curator-booking__sub { font-size: 14px; color: rgba(244, 247, 251, 0.65); line-height: 1.55; max-width: 540px; }
.curator-booking__slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 760px) { .curator-booking__slots { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .curator-booking__slots { grid-template-columns: 1fr; } }
.curator-day {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(15, 31, 61, 0.45);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.curator-day__label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(244, 247, 251, 0.55);
}
.curator-day__times { display: flex; flex-direction: column; gap: 6px; }
.curator-slot {
  font-family: inherit;
  font-size: 14px; font-weight: 600;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(244, 247, 251, 0.04);
  color: rgba(244, 247, 251, 0.85);
  cursor: pointer;
  letter-spacing: -0.005em;
  transition: all 200ms ease;
}
.curator-slot:hover {
  background: rgba(91, 192, 158, 0.12);
  border-color: rgba(91, 192, 158, 0.35);
  color: rgba(244, 247, 251, 0.96);
}
.curator-slot--on {
  background: linear-gradient(135deg, var(--positive) 0%, #1F8E66 100%);
  border-color: transparent;
  color: #0A1830;
  box-shadow: 0 4px 14px rgba(91, 192, 158, 0.30);
}
.curator-booking__cta { display: flex; justify-content: flex-end; }
.curator-booking__cta .btn--primary[disabled] {
  background: rgba(244, 247, 251, 0.10);
  color: rgba(244, 247, 251, 0.45);
  box-shadow: none;
}
.curator-booking__cta .btn--primary[disabled]::after { display: none; }

/* === Certificate modal === */
.cert-modal {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(10, 24, 48, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
  padding: 32px;
  overflow-y: auto;
}
.cert-modal__inner {
  background: linear-gradient(180deg, rgba(31, 53, 89, 0.95) 0%, rgba(15, 31, 61, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 36px;
  max-width: 540px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cert-modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: rgba(244, 247, 251, 0.65);
  cursor: pointer;
  display: grid; place-items: center;
  transition: all 200ms ease;
}
.cert-modal__close:hover { background: rgba(255, 255, 255, 0.12); color: #F4F7FB; }
.cert-modal__title {
  font-size: 22px; font-weight: 600;
  color: rgba(244, 247, 251, 0.96);
  letter-spacing: -0.01em;
  margin-right: 36px;
}
.cert-modal__preview {
  background: #0A1830;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1080 / 1920;
  max-height: 60vh;
  display: grid; place-items: center;
  width: fit-content;
  margin: 0 auto;
}
.cert-modal__preview svg { width: 100%; height: 100%; display: block; }
.cert-modal__actions { display: flex; flex-direction: column; gap: 10px; }

@media (max-width: 540px) {
  .cert-modal { padding: 16px; }
  .cert-modal__inner { padding: 24px 20px; }
  .cert-modal__preview { max-height: 50vh; }
}

/* === FINAL — Side nav (6 dots) === */
.fin-sidenav {
  position: fixed;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 8px;
  background: rgba(10, 24, 48, 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}
.fin-sidenav__dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(244, 247, 251, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 200ms ease;
  padding: 0;
}
.fin-sidenav__dot:hover {
  background: rgba(244, 247, 251, 0.16);
  transform: scale(1.06);
}
.fin-sidenav__dot--on {
  background: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-3) 100%);
  border-color: transparent;
  box-shadow: 0 0 14px var(--accent-glow);
}
.fin-sidenav__num {
  font-size: 11px;
  font-weight: 700;
  color: rgba(244, 247, 251, 0.55);
  letter-spacing: -0.005em;
}
.fin-sidenav__dot--on .fin-sidenav__num { color: #1B1107; }

@media (max-width: 760px) {
  .fin-sidenav { display: none; }
}

/* === FINAL 1: Hero result === */
.fin1 {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.fin1__gauge { display: flex; justify-content: center; }
.fin1__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fin1__name {
  font-size: 13px;
  color: rgba(244, 247, 251, 0.62);
  letter-spacing: 0.02em;
}
.fin1__score {
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: subtle-breathe 4.5s ease-in-out infinite;
}
@keyframes subtle-breathe {
  0%, 100% { filter: drop-shadow(0 0 12px var(--accent-soft)); }
  50%      { filter: drop-shadow(0 0 24px var(--accent-glow)); }
}
.fin6-big__val--accent {
  background: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-3) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: subtle-breathe 5s ease-in-out infinite;
}
.fin1__level {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(244, 247, 251, 0.96);
}
.fin1__level-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.fin1__next {
  font-size: 14px;
  color: rgba(244, 247, 251, 0.55);
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 880px) {
  .fin1 { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .fin1__info { align-items: center; }
}

/* === FINAL 2: Radar chart === */
.fin2 {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.fin2-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: -12px;
}
.fin2-toggle__btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  background: rgba(31, 53, 89, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(244, 247, 251, 0.75);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 200ms ease;
}
.fin2-toggle__btn:hover {
  background: rgba(31, 53, 89, 0.85);
  border-color: rgba(123, 165, 217, 0.35);
}
.fin2-toggle__btn--on {
  background: rgba(123, 165, 217, 0.18);
  border-color: rgba(123, 165, 217, 0.40);
  color: #A6E8FF;
}
.fin2-toggle__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  transition: background 200ms ease;
}
.fin2__radar {
  display: flex;
  justify-content: center;
  position: relative;
}
.fin2__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fin2-row {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.fin2-row__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.fin2-row__title {
  font-size: 15px;
  color: rgba(244, 247, 251, 0.92);
}
.fin2-row__pct {
  font-size: 15px;
  font-weight: 700;
  color: rgba(244, 247, 251, 0.96);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 880px) {
  .fin2 { grid-template-columns: 1fr; }
}

/* === FINAL 3: Strengths + zones === */
.fin3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.fin3__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fin3__col-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.fin3__col--strong .fin3__col-head { color: var(--positive); }
.fin3__col--weak .fin3__col-head { color: var(--accent-1); }
.fin3__col-sub {
  font-size: 13px;
  color: rgba(244, 247, 251, 0.55);
  line-height: 1.5;
  margin-bottom: 8px;
}
.fin3-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  background: rgba(31, 53, 89, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
}
.fin3-bar__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.fin3-bar__title { font-size: 15px; font-weight: 500; color: rgba(244, 247, 251, 0.92); }
.fin3-bar__pct { font-size: 18px; font-weight: 700; color: rgba(244, 247, 251, 0.96); font-variant-numeric: tabular-nums; }
.fin3-bar__track {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-pill);
  overflow: hidden;
  position: relative;
}
.fin3-bar__fill {
  height: 100%;
  border-radius: inherit;
}
.fin3-bar--strong .fin3-bar__fill {
  background: linear-gradient(90deg, var(--positive) 0%, #34BE8A 100%);
  box-shadow: 0 0 12px var(--positive-soft);
}
.fin3-bar--weak .fin3-bar__fill {
  background: linear-gradient(90deg, var(--accent-1) 0%, var(--accent-3) 100%);
  box-shadow: 0 0 12px var(--accent-soft);
}
.fin3-bar__loss {
  font-size: 13px;
  color: var(--accent-1);
  font-weight: 600;
}
@media (max-width: 720px) {
  .fin3 { grid-template-columns: 1fr; }
}

/* === FINAL 4 — FLAGSHIP === */
.fin4 { display: flex; flex-direction: column; gap: 48px; }

.fin4-tripblock {
  background: linear-gradient(180deg, rgba(31, 53, 89, 0.45) 0%, rgba(31, 53, 89, 0.25) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.fin4-tripblock--amber { border-color: rgba(197, 167, 110, 0.18); }
.fin4-tripblock--emerald { border-color: rgba(91, 192, 158, 0.18); }
.fin4-tripblock--gold { border-color: rgba(217, 180, 89, 0.18); }
.fin4-tripblock::before {
  content: "";
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  top: -200px; right: -200px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(40px);
  opacity: 0.18;
  pointer-events: none;
}
.fin4-tripblock--emerald::before { background: radial-gradient(circle, var(--positive-soft) 0%, transparent 70%); opacity: 0.30; }

.fin4-trip {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.fin4-trip__giant {
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  animation: glow-breathe 4s ease-in-out infinite;
}
@keyframes glow-breathe {
  0%, 100% { filter: drop-shadow(0 0 26px var(--accent-glow)); }
  50%      { filter: drop-shadow(0 0 42px var(--accent-glow)); }
}
.fin4-trip__giant--amber {
  background: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 60%, var(--accent-3) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px var(--accent-glow));
}
.fin4-trip__giant--emerald {
  color: var(--positive);
  filter: drop-shadow(0 0 30px var(--positive-soft));
}
.fin4-trip__giant--gold {
  background: linear-gradient(135deg, #F2D88A 0%, #D9B459 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(217, 180, 89, 0.4));
}
.fin4-trip__subline {
  font-size: 16px;
  color: rgba(244, 247, 251, 0.65);
  margin-top: 12px;
  line-height: 1.55;
}
.fin4-trip__sub-strong {
  font-weight: 700;
  color: rgba(244, 247, 251, 0.92);
  font-size: 20px;
  letter-spacing: -0.01em;
}
.fin4-trip__caption {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 247, 251, 0.55);
  margin-bottom: 6px;
}

/* Compare bars (right side of triptych) */
.fin4-compare {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 18px;
  min-height: 280px;
  padding: 0 8px 30px;
}
.fin4-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 90px;
  position: relative;
}
.fin4-bar__col {
  width: 100%;
  flex-shrink: 0;
  background: rgba(244, 247, 251, 0.18);
  border-radius: 8px 8px 0 0;
  position: relative;
  min-height: 4px;
}
.fin4-bar--accent .fin4-bar__col {
  background: linear-gradient(180deg, var(--accent-1) 0%, var(--accent-3) 100%);
  box-shadow: 0 0 18px var(--accent-glow);
}
.fin4-bar--emerald .fin4-bar__col {
  background: linear-gradient(180deg, var(--positive) 0%, #2BA277 100%);
  box-shadow: 0 0 18px var(--positive-soft);
}
.fin4-bar__val {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 700;
  color: rgba(244, 247, 251, 0.92);
  white-space: nowrap;
}
.fin4-bar__lbl {
  font-size: 11px;
  color: rgba(244, 247, 251, 0.55);
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

/* Loss breakdown ring */
.fin4-ring-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.fin4-ring-legend {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fin4-legend-row {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  background: rgba(15, 31, 61, 0.30);
  border-radius: 10px;
}
.fin4-legend-row__dot {
  width: 12px; height: 12px;
  border-radius: 4px;
}
.fin4-legend-row__title {
  font-size: 13px;
  color: rgba(244, 247, 251, 0.85);
  line-height: 1.45;
}
.fin4-legend-row__sum {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-1);
  font-variant-numeric: tabular-nums;
}

/* Sphere visualization */
.fin4-sphere {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.fin4-orbits {
  display: grid; place-items: center;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 320px;
  margin: 0 auto;
}

/* Forecast line chart (4Г) */
.fin4-line {
  background: linear-gradient(180deg, rgba(31, 53, 89, 0.55) 0%, rgba(31, 53, 89, 0.25) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: 40px;
}

/* Funnel block (4Д) */
.fin4-funnel-block {
  background: linear-gradient(180deg, rgba(31, 53, 89, 0.55) 0%, rgba(31, 53, 89, 0.25) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.funnel-stage {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  background: rgba(15, 31, 61, 0.40);
  margin-bottom: 8px;
  transition: all 250ms ease;
}
.funnel-stage__title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(244, 247, 251, 0.55);
}
.funnel-stage__value {
  font-size: 28px;
  font-weight: 700;
  color: rgba(244, 247, 251, 0.96);
  letter-spacing: -0.02em;
}
.funnel-stage__sub {
  font-size: 13px;
  color: rgba(244, 247, 251, 0.55);
  margin-top: 4px;
}
.funnel-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
}
.funnel-arrow__conv {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-1);
  background: var(--accent-soft);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}
.funnel-arrow__line {
  width: 2px;
  height: 16px;
  background: linear-gradient(180deg, rgba(197, 167, 110, 0.40) 0%, transparent 100%);
}
.funnel-comment {
  font-size: 13px;
  color: rgba(244, 247, 251, 0.55);
  line-height: 1.55;
  padding: 8px 24px 0;
  font-style: italic;
}

/* High goal warning */
.fin4-warn {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(229, 181, 104, 0.18) 0%, rgba(217, 91, 91, 0.10) 100%);
  border: 1px solid rgba(229, 181, 104, 0.30);
  border-radius: var(--radius-lg);
  font-size: 14px;
  line-height: 1.55;
  color: rgba(244, 247, 251, 0.88);
}
.fin4-warn__icon {
  width: 32px; height: 32px;
  background: rgba(229, 181, 104, 0.20);
  color: var(--warn);
  border-radius: 50%;
  display: grid; place-items: center;
}

@media (max-width: 880px) {
  .fin4-trip { grid-template-columns: 1fr; }
  .fin4-ring-block { grid-template-columns: 1fr; }
  .fin4-sphere { grid-template-columns: 1fr; }
}

/* === FINAL 5 — Roadmap === */
.fin5-timeline {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  position: relative;
}
.fin5-timeline::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 8%; right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-1) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  opacity: 0.30;
}
.fin5-period {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 2;
}
.fin5-period > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fin5-period__head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.fin5-period__dot {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-3) 100%);
  display: grid; place-items: center;
  color: #1B1107;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 24px var(--accent-glow);
  position: relative;
}
.fin5-period__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-1);
}
.fin5-period__income {
  font-size: 18px;
  font-weight: 700;
  color: rgba(244, 247, 251, 0.96);
  letter-spacing: -0.01em;
}

/* Material card */
.mat-card {
  background: linear-gradient(180deg, rgba(31, 53, 89, 0.55) 0%, rgba(31, 53, 89, 0.30) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 250ms ease;
}
.mat-card:hover { transform: translateY(-2px); border-color: rgba(197, 167, 110, 0.30); }
.mat-card__thumb {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.mat-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 130px;
}
.mat-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mat-card__type {
  position: absolute;
  top: 10px; left: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.40);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: rgba(244, 247, 251, 0.92);
}
.mat-card__in-sub {
  position: absolute;
  top: 10px; right: 10px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
  color: #1B1107;
}
.mat-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}
.mat-card__title {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(244, 247, 251, 0.92);
}
.mat-card__cta {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.02em;
  padding: 8px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.mat-card__cta:hover { color: #F4D7A1; }

@media (max-width: 880px) {
  .fin5-timeline { grid-template-columns: 1fr; gap: 32px; }
  .fin5-timeline::before { display: none; }
}

/* === FINAL 6 — Actions + share === */
.fin6 {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
}
.fin6__checklist {
  background: linear-gradient(180deg, rgba(31, 53, 89, 0.55) 0%, rgba(31, 53, 89, 0.30) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.fin6__check-head {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-1);
}
.fin6-task {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  user-select: none;
}
.fin6-task:last-child { border-bottom: 0; }
.fin6-task__box {
  width: 28px; height: 28px;
  border-radius: 9px;
  border: 1.5px solid rgba(255, 255, 255, 0.20);
  display: grid; place-items: center;
  transition: all 200ms ease;
  background: rgba(15, 31, 61, 0.30);
}
.fin6-task--done .fin6-task__box {
  background: linear-gradient(135deg, var(--positive) 0%, #1F8E66 100%);
  border-color: transparent;
}
.fin6-task__check {
  width: 14px; height: 14px;
  color: #FFFFFF;
  opacity: 0;
  transform: scale(0.4);
  transition: all 200ms ease;
}
.fin6-task--done .fin6-task__check { opacity: 1; transform: scale(1); }
.fin6-task__label {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(244, 247, 251, 0.92);
}
.fin6-task--done .fin6-task__label {
  color: rgba(244, 247, 251, 0.55);
  text-decoration: line-through;
}

.fin6__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fin6-action {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(31, 53, 89, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all 200ms ease;
  font-family: inherit;
  color: inherit;
  text-align: left;
}
.fin6-action:hover {
  border-color: rgba(197, 167, 110, 0.30);
  transform: translateY(-1px);
}
.fin6-action__icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent-1);
}
.fin6-action__title { font-size: 15px; font-weight: 600; color: rgba(244, 247, 251, 0.96); }
.fin6-action__sub { font-size: 12px; color: rgba(244, 247, 251, 0.55); margin-top: 2px; }

.fin6-curator {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(91, 192, 158, 0.16) 0%, rgba(31, 53, 89, 0.40) 100%);
  border: 1px solid rgba(91, 192, 158, 0.20);
  margin-top: 16px;
}
.fin6-curator__dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--positive);
  box-shadow: 0 0 14px var(--positive);
  margin-top: 6px;
  animation: dot-pulse 2.2s ease-in-out infinite;
  align-self: start;
}
.fin6-curator__title { font-size: 15px; font-weight: 600; color: rgba(244, 247, 251, 0.96); margin-bottom: 4px; }
.fin6-curator__body { font-size: 13.5px; color: rgba(244, 247, 251, 0.65); line-height: 1.55; }

/* Bottom big numbers */
.fin6__big-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 36px;
  background: linear-gradient(135deg, rgba(31, 53, 89, 0.60) 0%, rgba(31, 53, 89, 0.30) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  margin-top: 24px;
}
.fin6-big {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}
.fin6-big__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 247, 251, 0.55);
}
.fin6-big__val {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: rgba(244, 247, 251, 0.96);
  letter-spacing: -0.02em;
}
.fin6-big__val--accent {
  background: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-3) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: subtle-breathe 5s ease-in-out infinite;
}
/* The earlier .fin6-big__val--accent rule overrides — remove duplicate */

@media (max-width: 880px) {
  .fin6 { grid-template-columns: 1fr; }
  .fin6__big-strip { grid-template-columns: 1fr; gap: 16px; }
}

/* Legend pill on Final 4 (Goal too high / low) */
.fin4-marker {
  padding: 18px 22px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  border-left: 3px solid;
}
.fin4-marker--high {
  border-left-color: var(--warn);
  background: linear-gradient(135deg, rgba(229, 181, 104, 0.10) 0%, transparent 100%);
}
.fin4-marker--low {
  border-left-color: var(--info-blue);
  background: linear-gradient(135deg, rgba(123, 165, 217, 0.10) 0%, transparent 100%);
}
.fin4-marker__title { font-size: 14px; font-weight: 600; margin-bottom: 4px; color: rgba(244, 247, 251, 0.96); }
.fin4-marker__title svg { vertical-align: -2px; margin-right: 6px; }
.fin4-marker__body { font-size: 14px; color: rgba(244, 247, 251, 0.75); line-height: 1.55; }
