/**
 * BigBen CRM — Story page styles
 * "Один день вашей школы" — 8-slide interactive scroll-snap experience
 */

/* ═══ CSS VARIABLES (story-specific) ═══ */
:root {
    --pr: #ed538a;
    --pr-pale: #fef6f9;
    --tx: #1a1a2e;
    --tx-l: #6b7280;
    --inv: #f0f0f5;
    --inv-l: rgba(240,240,245,0.55);
    --fd: 'PT Serif', Georgia, serif;
    --fb: 'Manrope', -apple-system, sans-serif;
    --ease: cubic-bezier(0.4,0,0.2,1);
}

/* ═══ STORY GLOBAL OVERRIDES ═══ */
html { scroll-snap-type: y mandatory; }
body { overflow-x: hidden; background: #0e0e1a; }
.nav { display: none !important; }
.mobile-menu { display: none !important; }
.footer { display: none !important; }
main { padding: 0; }

.ico { display: inline-flex; align-items: center; justify-content: center; width: 1em; height: 1em; flex-shrink: 0; }
.ico svg { width: 100%; height: 100%; fill: currentColor; }

/* ═══ PARTICLES ═══ */
.dust { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.dust i { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.15); animation: float linear infinite; }
@keyframes float {
    0% { transform: translateY(110vh) translateX(0) scale(1); opacity: 0; }
    5% { opacity: var(--o, 0.15); }
    95% { opacity: var(--o, 0.15); }
    100% { transform: translateY(-10vh) translateX(var(--dx, 30px)) scale(var(--s, 1)); opacity: 0; }
}

/* ═══ SIDEBAR ═══ */
.side { position: fixed; left: 0; top: 0; bottom: 0; width: 72px; z-index: 70; display: flex; flex-direction: column; align-items: center; padding: 1.5rem 0; background: rgba(14,14,26,0.6); backdrop-filter: blur(24px); border-right: 1px solid rgba(255,255,255,0.05); }
.side__logo { display: flex; align-items: center; justify-content: center; width: 44px; margin-bottom: 1.5rem; text-decoration: none; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); opacity: 0.9; }
.side__logo img { width: 100%; height: auto; filter: brightness(0) invert(1); }
.side__logo:hover { transform: scale(1.1); opacity: 1; }
.side__clock { font-family: var(--fd); font-size: 0.95rem; color: white; opacity: 0.85; writing-mode: vertical-rl; text-orientation: mixed; letter-spacing: 0.08em; margin-bottom: 1rem; transition: all 0.5s var(--ease); }
.side__track { flex: 1; width: 2px; background: rgba(255,255,255,0.06); position: relative; border-radius: 1px; }
.side__fill { position: absolute; top: 0; left: 0; width: 100%; border-radius: 1px; background: linear-gradient(180deg,var(--pr),#c084fc); transition: height 0.6s var(--ease); height: 0%; }
.side__dots { position: absolute; left: 50%; top: 0; bottom: 0; transform: translateX(-50%); display: flex; flex-direction: column; justify-content: space-between; padding: 4px 0; }
.side__dot { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.15); background: transparent; transition: all 0.4s var(--ease); }
.side__dot.active { border-color: var(--pr); background: var(--pr); box-shadow: 0 0 8px rgba(237,83,138,0.4); }

/* ═══ SCROLL HINT ═══ */
.scroll-hint { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; z-index: 10; animation: scrollFade 2.5s ease infinite; }
.scroll-hint__text { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); }
.scroll-hint__arrow { width: 20px; height: 20px; border-right: 2px solid rgba(255,255,255,0.3); border-bottom: 2px solid rgba(255,255,255,0.3); transform: rotate(45deg); }
@keyframes scrollFade { 0%,100% { opacity: 0.4; transform: translateX(-50%) translateY(0); } 50% { opacity: 1; transform: translateX(-50%) translateY(8px); } }
.scroll-hint.hidden { opacity: 0; transition: opacity 0.5s; pointer-events: none; }

/* ═══ SOCIAL PROOF (intro) ═══ */
.social-proof { display: flex; align-items: center; gap: 0.75rem; margin-top: 2rem; justify-content: center; opacity: 0; transform: translateY(10px); transition: all 0.6s 0.6s var(--ease); }
.sl.on .social-proof { opacity: 1; transform: translateY(0); }
.avatar-stack { display: flex; }
.avatar-stack img { width: 36px; height: 36px; border-radius: 50%; border: 2px solid rgba(14,14,26,0.8); margin-left: -10px; object-fit: cover; }
.avatar-stack img:first-child { margin-left: 0; }
.social-proof__text { font-size: 0.78rem; color: rgba(255,255,255,0.5); line-height: 1.35; }
.social-proof__text strong { color: rgba(255,255,255,0.75); }

/* ═══ TESTIMONIAL CARD ═══ */
.story-quote { display: flex; gap: 0.85rem; align-items: flex-start; padding: 1rem 1.25rem; border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); backdrop-filter: blur(12px); margin-top: 1.5rem; opacity: 0; transform: translateY(12px); transition: all 0.6s 1s var(--ease); }
.sl.on .story-quote { opacity: 1; transform: translateY(0); }
.story-quote--light { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.06); backdrop-filter: none; }
.story-quote__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.story-quote__body { flex: 1; min-width: 0; }
.story-quote__text { font-size: 0.82rem; line-height: 1.55; font-style: italic; margin-bottom: 0.4rem; color: rgba(255,255,255,0.9); }
.story-quote--light .story-quote__text { color: var(--tx); }
.story-quote__author { font-size: 0.68rem; font-weight: 600; color: rgba(255,255,255,0.55); }
.story-quote--light .story-quote__author { color: var(--tx-l); }

/* ═══ MOBILE TOP BAR ═══ */
.mobile-bar { display: none; }

/* ═══ AVATAR ROW (CTA) ═══ */
.cta-avatars { display: flex; align-items: center; justify-content: center; gap: 0.6rem; margin-bottom: 1.5rem; }
.cta-avatars img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.1); object-fit: cover; }
.cta-avatars__count { font-size: 0.78rem; color: rgba(255,255,255,0.5); font-weight: 500; }

/* ═══ SLIDE ═══ */
.sl { min-height: 100vh; scroll-snap-align: start; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; padding: 2rem 2rem 2rem 92px; }
.sl__bg { position: absolute; inset: 0; z-index: 0; }
.sl__orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0; transition: opacity 1.5s ease, transform 1.5s ease; }
.sl.on .sl__orb { opacity: 1; }
.sl::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.03; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.sl__in { max-width: 1000px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; position: relative; z-index: 5; }
.sl__in--c { grid-template-columns: 1fr; text-align: center; max-width: 700px; }
.sl__tx { opacity: 0; transform: translateY(25px); transition: all 0.6s 0.1s var(--ease); }
.sl.on .sl__tx { opacity: 1; transform: translateY(0); }
.badge { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; padding: 0.35rem 0.85rem; border-radius: 100px; margin-bottom: 1.25rem; }
.badge--d { background: var(--pr-pale); color: var(--pr); }
.badge--l { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); }
.sl h2 { font-family: var(--fd); font-size: clamp(1.8rem,3.5vw,2.5rem); line-height: 1.15; margin-bottom: 0.75rem; }
.sl p.desc { font-size: 1rem; line-height: 1.7; margin-bottom: 0; max-width: 420px; }

/* Time-spent hint */
.time-hint { display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 1rem; padding: 0.3rem 0.7rem; border-radius: 6px; font-size: 0.72rem; font-weight: 600; opacity: 0; transform: translateY(5px); transition: all 0.5s 0.8s var(--ease); }
.time-hint--light { background: rgba(52,211,153,0.08); color: #059669; }
.time-hint--dark { background: rgba(52,211,153,0.1); color: #34d399; }
.sl.on .time-hint { opacity: 1; transform: translateY(0); }

/* ═══ SCENE CARD ═══ */
.card { background: white; border-radius: 20px; padding: 1.75rem; box-shadow: 0 12px 48px rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.04); opacity: 0; transform: translateY(20px) scale(0.96); transition: all 0.6s 0.2s var(--ease); }
.sl.on .card { opacity: 1; transform: translateY(0) scale(1); }
.card--glass { background: rgba(255,255,255,0.05); backdrop-filter: blur(20px); border-color: rgba(255,255,255,0.08); color: var(--inv); box-shadow: 0 12px 48px rgba(0,0,0,0.2); }

/* ═══ BUTTON ═══ */
.ibtn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.85rem; border-radius: 8px; border: none; font-family: var(--fb); font-size: 0.75rem; font-weight: 600; cursor: pointer; transition: all 0.25s var(--ease); }
.ibtn:active { transform: scale(0.95); }
.ibtn--pr { background: var(--pr); color: white; }
.ibtn--pr:hover { background: #e0427a; box-shadow: 0 4px 16px rgba(237,83,138,0.3); }
.ibtn--ghost { background: rgba(237,83,138,0.08); color: var(--pr); border: 1px solid rgba(237,83,138,0.15); }
.ibtn--ghost:hover { background: rgba(237,83,138,0.15); }
.ibtn--green { background: rgba(52,211,153,0.12); color: #059669; border: 1px solid rgba(52,211,153,0.15); }
.ibtn:disabled { opacity: 0.5; cursor: default; transform: none; }
.ibtn .ico { font-size: 0.85em; }

/* ═══ TOAST ═══ */
.toast { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(30px); background: #1a1a2e; color: white; padding: 0.75rem 1.5rem; border-radius: 12px; font-size: 0.82rem; font-weight: 600; z-index: 100; box-shadow: 0 8px 32px rgba(0,0,0,0.3); opacity: 0; transition: all 0.4s var(--ease); pointer-events: none; display: flex; align-items: center; gap: 0.5rem; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ═══ DASHBOARD ═══ */
.d-row { display: flex; align-items: center; gap: 0.55rem; padding: 0.6rem 0; border-bottom: 1px solid rgba(0,0,0,0.04); font-size: 0.82rem; opacity: 0; transform: translateX(-20px); }
.d-row:last-of-type { border-bottom: none; }
.d-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; transition: background 0.4s; }
.d-name { font-weight: 600; white-space: nowrap; }
.d-desc { flex: 1; color: var(--tx-l); font-size: 0.75rem; }
.d-tag { font-size: 0.68rem; font-weight: 600; padding: 0.2rem 0.55rem; border-radius: 5px; transform: scale(0); transition: transform 0.3s var(--ease); }
.d-tag--g { color: #059669; background: #d1fae5; }
.d-tag--b { color: #2563eb; background: #dbeafe; }
.d-tag--y { color: #d97706; background: #fef3c7; }
.d-new { display: flex; align-items: center; gap: 0.55rem; padding: 0.6rem 0; font-size: 0.82rem; font-weight: 600; color: #059669; opacity: 0; transform: translateY(15px); border-top: 1px dashed rgba(52,211,153,0.3); }
.d-actions { display: flex; gap: 0.5rem; margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid rgba(0,0,0,0.06); opacity: 0; transition: opacity 0.4s; }

/* ═══ ATTENDANCE ═══ */
.a-row { display: flex; align-items: center; padding: 0.5rem 0.25rem; border-bottom: 1px solid rgba(0,0,0,0.04); font-size: 0.82rem; }
.a-row__name { flex: 1; font-weight: 500; }
.a-row__actions { display: flex; align-items: center; gap: 0.3rem; margin-left: auto; }
.a-mark { width: 24px; height: 24px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.75rem; opacity: 0; transform: scale(0); transition: all 0.3s var(--ease); }
.a-mark--y { background: #d1fae5; color: #059669; }
.a-mark--n { background: #fee2e2; color: #ef4444; }
.a-sticker-btn { width: 24px; height: 24px; border-radius: 7px; border: 1.5px dashed #c9a200; background: transparent; color: #c9a200; font-size: 0.7rem; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(0); transition: all 0.3s var(--ease); }
.a-sticker-btn:hover { background: #fffbe6; border-style: solid; }
.a-sticker-btn.awarded { background: linear-gradient(135deg,#fff9e6,#ffeaa0); border: none; animation: starPop 0.5s var(--ease); cursor: default; }
.a-sticker-btn.off { opacity: 0.25 !important; pointer-events: none; border-color: #ccc; color: #ccc; }
.a-stat { padding-top: 0.5rem; font-size: 0.75rem; color: var(--tx-l); opacity: 0; transition: opacity 0.4s; }
.a-stat strong { color: var(--tx); }
.a-toast { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.5rem; padding: 0.4rem 0.65rem; background: linear-gradient(135deg,#fff9e6,#fff3cd); border-radius: 8px; font-size: 0.72rem; font-weight: 600; color: #8a6d00; opacity: 0; transform: scale(0.8) translateY(5px); transition: all 0.4s var(--ease); }
.a-toast.show { opacity: 1; transform: scale(1) translateY(0); }
.a-toast__ico { width: 16px; height: 16px; animation: starPop 0.5s var(--ease); }
@keyframes starPop {
    0% { transform: scale(0) rotate(-180deg); }
    60% { transform: scale(1.3) rotate(10deg); }
    100% { transform: scale(1) rotate(0); }
}

/* ═══ CHAT ═══ */
.c-msg { display: none; gap: 0.5rem; margin-bottom: 0.65rem; max-width: 88%; transform: translateY(8px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.c-msg--r { margin-left: auto; flex-direction: row-reverse; max-width: 78%; }
.c-msg.visible { display: flex; opacity: 0; }
.c-msg.shown { opacity: 1; transform: translateY(0); }
.c-ava { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 0.55rem; font-weight: 700; color: white; }
.c-ava--parent { background: var(--pr); }
.c-ava--teacher { background: #059669; }
.c-bub { padding: 0.6rem 0.85rem; border-radius: 16px; font-size: 0.78rem; line-height: 1.45; background: #f3f4f6; }
.c-msg--r .c-bub { background: var(--pr-pale); }
.c-typing-wrap { display: none; gap: 0.5rem; max-width: 88%; padding: 0 0; }
.c-typing-wrap.visible { display: flex; }
.c-typing { display: flex; gap: 3px; padding: 0.6rem 0.85rem; border-radius: 16px; background: #f3f4f6; }
.c-typing i { width: 6px; height: 6px; border-radius: 50%; background: #b0b0b0; animation: typeDot 1.2s infinite; }
.c-typing i:nth-child(2) { animation-delay: 0.2s; }
.c-typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes typeDot {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-3px); }
}

/* Report card in chat */
.c-report { display: none; margin: 0.5rem 0 0.65rem 2rem; background: white; border-radius: 14px; border: 1px solid rgba(0,0,0,0.06); overflow: hidden; max-width: 240px; box-shadow: 0 4px 16px rgba(0,0,0,0.06); transform: translateY(10px) scale(0.95); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.c-report.visible { display: block; opacity: 0; }
.c-report.shown { opacity: 1; transform: translateY(0) scale(1); }
.c-report__hdr { padding: 0.5rem 0.65rem; background: linear-gradient(135deg,var(--pr),#c084fc); color: white; font-size: 0.68rem; font-weight: 700; display: flex; align-items: center; justify-content: space-between; }
.c-report__body { padding: 0.5rem 0.65rem; font-size: 0.68rem; color: var(--tx); }
.c-report__row { display: flex; justify-content: space-between; align-items: center; padding: 0.25rem 0; border-bottom: 1px solid rgba(0,0,0,0.04); }
.c-report__row:last-child { border-bottom: none; }
.c-report__label { color: var(--tx-l); }
.c-report__val { font-weight: 700; }
.c-report__val--g { color: #059669; }
.c-report__val--b { color: #2563eb; }
.c-report__val--y { color: #c9a200; }
.c-report__chart { display: flex; align-items: flex-end; gap: 2px; height: 32px; margin: 0.3rem 0; padding: 0.2rem 0; }
.c-report__bar { flex: 1; border-radius: 2px 2px 0 0; transition: height 0.6s var(--ease); height: 0; }
.c-report__bar--a { background: #34d399; }
.c-report__bar--b { background: #fca5a5; }
.c-report__chart-label { display: flex; justify-content: space-between; font-size: 0.55rem; color: var(--tx-l); margin-bottom: 0.2rem; }
.c-report__section { font-size: 0.6rem; font-weight: 700; color: var(--pr); text-transform: uppercase; letter-spacing: 0.06em; margin: 0.35rem 0 0.1rem; padding-top: 0.25rem; border-top: 1px solid rgba(0,0,0,0.04); }
.c-report__section:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.c-report__badges { display: flex; gap: 0.2rem; margin: 0.15rem 0; }
.c-report__badge { width: 20px; height: 20px; border-radius: 5px; background: linear-gradient(135deg,#fff9e6,#ffeaa0); display: flex; align-items: center; justify-content: center; }
.c-report__badge svg { width: 12px; height: 12px; }
.c-report__progress { height: 4px; border-radius: 2px; background: #f0f0f0; margin: 0.15rem 0; overflow: hidden; }
.c-report__progress-bar { height: 100%; border-radius: 2px; transition: width 0.8s var(--ease); width: 0; }

/* ═══ ANALYTICS ═══ */
.bars { display: flex; align-items: flex-end; gap: 6px; height: 100px; }
.bar { flex: 1; border-radius: 5px 5px 0 0; height: 0; transition: height 0.8s var(--ease); }
.bar--l { background: rgba(255,255,255,0.08); }
.bar--h { background: var(--pr); }
.bar-note { text-align: right; margin-top: 0.6rem; font-size: 0.9rem; font-weight: 700; opacity: 0; transform: translateY(5px); transition: all 0.4s; }
.an-tabs { display: flex; gap: 0.4rem; margin-bottom: 1rem; }
.an-tab { padding: 0.35rem 0.75rem; border-radius: 8px; border: none; font-family: var(--fb); font-size: 0.72rem; font-weight: 600; cursor: pointer; transition: all 0.25s var(--ease); background: rgba(255,255,255,0.06); color: var(--inv-l); display: inline-flex; align-items: center; gap: 0.3rem; }
.an-tab .ico { font-size: 0.8em; }
.an-tab.active { background: var(--pr); color: white; }
.an-tab:hover:not(.active) { background: rgba(255,255,255,0.12); }
.an-panel { display: none; }
.an-panel.active { display: block; }
.an-donut-wrap { display: flex; align-items: center; gap: 1.2rem; }
.an-donut { width: 90px; height: 90px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.an-donut__inner { width: 62px; height: 62px; border-radius: 50%; background: rgba(19,14,30,0.95); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.95rem; color: white; }
.an-donut-legend { font-size: 0.72rem; line-height: 1.8; }
.an-donut-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 0.35rem; }
.an-line-wrap { position: relative; height: 80px; margin: 0.5rem 0; }
.an-line-bg { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; }
.an-line-bg span { display: block; height: 1px; background: rgba(255,255,255,0.05); }
.an-line-svg { width: 100%; height: 100%; }
.an-line-labels { display: flex; justify-content: space-between; font-size: 0.6rem; color: var(--inv-l); margin-top: 0.25rem; }

/* ═══ SALARY ═══ */
.sal-hdr { display: flex; gap: 0.5rem; padding-bottom: 0.5rem; margin-bottom: 0.5rem; border-bottom: 2px solid rgba(0,0,0,0.06); font-size: 0.68rem; font-weight: 600; color: var(--tx-l); text-transform: uppercase; letter-spacing: 0.05em; }
.sal-hdr span:first-child { flex: 1; }
.sal-hdr span { width: 60px; text-align: right; }
.sal-hdr span:last-child { width: 70px; }
.s-row { display: flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0; border-bottom: 1px solid rgba(0,0,0,0.04); font-size: 0.85rem; opacity: 0; transition: opacity 0.4s; }
.s-row span:first-child { flex: 1; color: var(--tx-l); }
.s-num { font-weight: 700; font-variant-numeric: tabular-nums; }
.s-detail { width: 60px; text-align: right; font-size: 0.75rem; color: var(--tx-l); }
.s-total { padding-top: 0.6rem; margin-top: 0.3rem; text-align: right; font-size: 0.95rem; border-top: 2px solid rgba(0,0,0,0.06); opacity: 0; transition: opacity 0.5s; }
.s-total strong { color: var(--pr); font-size: 1.2rem; }
.sal-actions { display: flex; gap: 0.5rem; margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid rgba(0,0,0,0.06); opacity: 0; transition: opacity 0.4s; }
.sal-result { display: flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; font-weight: 600; color: #059669; opacity: 0; transition: all 0.4s; }

/* ═══ CHURN ═══ */
.churn-top { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 0.5rem; }
.churn-top__info { line-height: 1.5; }
.ring { width: 90px; height: 90px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.ring::before { content: attr(data-val); width: 68px; height: 68px; border-radius: 50%; background: rgba(19,14,30,0.95); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; color: #34d399; }
.churn-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.65rem 0.75rem; margin-bottom: 0.5rem; background: rgba(255,255,255,0.03); border-radius: 10px; border: 1px solid rgba(255,255,255,0.05); opacity: 0; transform: translateX(-15px); transition: all 0.4s var(--ease); }
.churn-row__status { width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.8rem; }
.churn-row__info { flex: 1; font-size: 0.82rem; }
.churn-row__info strong { display: block; color: var(--inv); margin-bottom: 0.1rem; }
.churn-row__info span { font-size: 0.72rem; color: var(--inv-l); }
.churn-row__action { font-size: 0.68rem; font-weight: 600; padding: 0.25rem 0.65rem; border-radius: 6px; background: rgba(52,211,153,0.12); color: #34d399; white-space: nowrap; cursor: pointer; border: none; font-family: var(--fb); transition: all 0.25s var(--ease); }
.churn-row__action:hover { background: rgba(52,211,153,0.25); }
.churn-row__action.done { background: rgba(52,211,153,0.2); cursor: default; }
.churn-status-change { margin-top: 0.5rem; padding: 0.5rem 0.75rem; border-radius: 8px; background: rgba(52,211,153,0.08); border: 1px solid rgba(52,211,153,0.15); font-size: 0.72rem; color: #34d399; opacity: 0; transform: translateY(5px); transition: all 0.4s var(--ease); }
.churn-status-change.show { opacity: 1; transform: translateY(0); }

/* ═══ PHONE MOCKUP ═══ */
.phone-mock { width: 280px; margin: 0 auto; background: #1a1a2e; border-radius: 36px; padding: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.15); position: relative; }
.pm-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; background: #1a1a2e; border-radius: 0 0 14px 14px; z-index: 10; }
.pm-screen { background: white; border-radius: 28px; overflow: hidden; min-height: 420px; display: flex; flex-direction: column; }
.pm-header { background: var(--pr); color: white; padding: 2.25rem 1rem 0.75rem; font-weight: 700; font-size: 0.85rem; text-align: center; }
.pm-body { flex: 1; padding: 0.75rem; background: #f8f9fa; overflow: hidden; }
.pm-body--chat { background: #fff; padding: 0.75rem 0.5rem; overflow-y: auto; max-height: 370px; scroll-behavior: smooth; }

/* ═══ DESKTOP MOCKUP ═══ */
.desk-mock { background: white; border-radius: 14px; overflow: hidden; box-shadow: 0 16px 48px rgba(0,0,0,0.08); border: 1px solid rgba(0,0,0,0.06); }
.desk-mock--dark { background: rgba(255,255,255,0.04); backdrop-filter: blur(16px); border-color: rgba(255,255,255,0.08); color: var(--inv); box-shadow: 0 12px 48px rgba(0,0,0,0.2); }
.dm-bar { padding: 0.6rem 1rem; background: #f3f4f6; border-bottom: 1px solid rgba(0,0,0,0.06); font-size: 0.72rem; font-weight: 600; color: var(--tx-l); display: flex; align-items: center; gap: 0.5rem; }
.dm-bar--dark { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.06); color: var(--inv-l); }
.dm-body { padding: 1.25rem; }

/* ═══ PHOTO BG ═══ */
.sl__photo { position: absolute; inset: 0; z-index: 0; }
.sl__photo img { width: 100%; height: 100%; object-fit: cover; }
.sl__photo-ov { position: absolute; inset: 0; }

/* ═══ FINALE (two-column) ═══ */
.finale-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; text-align: left; }
.finale-left__badge { margin-bottom: 1rem; }
.finale-hero { margin: 0.5rem 0 1rem; }
.finale-hero__pre { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--pr); margin-bottom: 0.15rem; }
.finale-hero__num { font-family: var(--fd); font-size: clamp(5rem,12vw,8rem); line-height: 1; color: var(--pr); text-shadow: 0 0 60px rgba(237,83,138,0.3); }
.finale-hero__sub { font-size: 1rem; color: rgba(255,255,255,0.6); font-weight: 500; margin-top: 0.3rem; }
.finale-left__desc { font-size: 0.95rem; color: var(--inv-l); line-height: 1.7; margin-top: 1rem; max-width: 380px; }

/* System stats card */
.finale-card { background: rgba(255,255,255,0.04); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; padding: 1.5rem; opacity: 0; transform: translateY(15px); transition: all 0.6s 0.3s var(--ease); }
.sl.on .finale-card { opacity: 1; transform: translateY(0); }
.finale-card__title { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--inv-l); margin-bottom: 1rem; }
.finale-sys { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1.5rem; }
.finale-sys__item { opacity: 0; transform: translateY(8px); transition: all 0.4s var(--ease); }
.finale-sys__num { font-family: var(--fd); font-size: 1.6rem; color: white; line-height: 1; }
.finale-sys__label { font-size: 0.65rem; color: var(--inv-l); margin-top: 0.1rem; }

/* Day bar */
.finale-daybar { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.06); opacity: 0; transition: opacity 0.6s; }
.finale-daybar__track { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.08); position: relative; overflow: hidden; }
.finale-daybar__fill { position: absolute; left: 0; top: 0; height: 100%; border-radius: 3px; background: linear-gradient(90deg,var(--pr),#c084fc); transition: width 1.5s var(--ease); width: 0; }
.finale-daybar__labels { display: flex; justify-content: space-between; font-size: 0.6rem; color: var(--inv-l); margin-top: 0.3rem; }
.finale-daybar__labels span:nth-child(2) { font-weight: 600; color: rgba(255,255,255,0.45); }

/* CTA section */
.sl--cta { background: #0e0e1a; min-height: auto; padding-top: 3rem; padding-bottom: 4rem; }
.cta-wrap { text-align: center; }
.cta-line { width: 50px; height: 2px; margin: 0 auto 2rem; background: linear-gradient(90deg,transparent,rgba(255,255,255,0.2),transparent); }
.finale-btn { display: inline-block; padding: 1rem 2.5rem; background: white; color: var(--tx); font-size: 1rem; font-weight: 700; font-family: var(--fb); border-radius: 14px; text-decoration: none; transition: all 0.3s var(--ease); box-shadow: 0 8px 32px rgba(255,255,255,0.15); }
.finale-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(255,255,255,0.25); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
    .side { display: none; }
    .mobile-bar { display: flex; position: fixed; top: 0; left: 0; right: 0; z-index: 80; height: 48px; background: rgba(14,14,26,0.85); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.06); align-items: center; padding: 0 1rem; gap: 0.75rem; }
    .mobile-bar__logo { width: 32px; height: 32px; display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
    .mobile-bar__logo img { width: 100%; height: auto; filter: brightness(0) invert(1); opacity: 0.9; }
    .mobile-bar__clock { font-family: var(--fd); font-size: 0.82rem; color: white; opacity: 0.85; font-weight: 600; min-width: 40px; }
    .mobile-bar__track { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.08); overflow: hidden; }
    .mobile-bar__fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--pr), #c084fc); transition: width 0.6s var(--ease); width: 0; }
    .sl { padding: 1.5rem; padding-top: 60px; }
    .sl__in { grid-template-columns: 1fr; gap: 2rem; }
    .phone-mock { width: 240px; }
    .desk-mock { font-size: 0.85em; }
    .finale-grid { grid-template-columns: 1fr; text-align: center; }
    .finale-left__desc { margin: 1rem auto; }
    .finale-hero__num { font-size: 4rem; text-shadow: 0 0 40px rgba(237,83,138,0.3); }
    .sl--cta { padding-top: 2rem; padding-bottom: 3rem; }
    .scroll-hint { bottom: 1.5rem; }
    .social-proof { flex-direction: column; gap: 0.5rem; }
    .story-quote { flex-direction: column; gap: 0.5rem; text-align: center; }
    .story-quote__avatar { margin: 0 auto; }
}
