/* ============================================================
   KELPARO — the Aurin film: the command centre in its own design
   (lavender canvas, violet gradients, dark voice cards), in motion.
   ============================================================ */
.film { padding: clamp(110px, 11vw, 160px) 0 0; }
.film__head { max-width: 860px; margin-bottom: 40px; }
.film__head .h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; margin-top: 14px; }
.film__stage { position: relative; }
.aur { --v1: #8a6bff; --v2: #5738e0; --vd: #1d1838; --lav: #f1eefc;
  font-family: 'Plus Jakarta Sans', var(--font-body); background: linear-gradient(160deg, #f4f1fd, #ece8fb 60%, #f6f4fd); border: 1px solid #e3ddf7;
  box-shadow: 0 2px 4px rgba(60,40,140,.05), 0 70px 140px -60px rgba(80,50,200,.45), 0 0 0 8px rgba(120,90,255,.05); }
.aur__top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; }
.aur__btn { width: 30px; height: 30px; border-radius: 9px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.aur__logo { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: #1a1630; }
.aur__logo i { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--v1), var(--v2)); box-shadow: inset 0 0 0 6px rgba(255,255,255,0), 0 4px 10px -4px var(--v2); }
.aur__ch { display: flex; }
.aur__ch i { width: 20px; height: 20px; border-radius: 50%; background: var(--c); border: 2px solid #f1eefc; margin-left: -5px; }
.aur__search { margin: 0 auto; flex: 0 1 380px; height: 34px; border-radius: 999px; background: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-size: 12.5px; color: #8b86a3; }
.aur__search kbd { font: 500 10px var(--font-mono); color: #a7a2bd; }
.aur__cred { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 6px 0 12px; border-radius: 999px; background: #fff; font-size: 12px; color: #6b6585; }
.aur__cred b { color: #1a1630; }
.aur__cred em { font-style: normal; background: #1a1630; color: #fff; border-radius: 999px; padding: 4px 10px; font-weight: 600; }
.aur__av { width: 32px; height: 32px; border-radius: 10px; background: #e6e0fb; color: #5738e0; font-size: 11.5px; font-weight: 600; display: grid; place-items: center; }
.aur .win__tag { margin-left: 0; }
.aur__body { height: clamp(500px, 46vw, 600px); background: transparent; }
.aur .scene { padding: 6px 18px 18px; }
.aur__grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 14px; height: 100%; }
.aur__grid--3 { grid-template-columns: 0.75fr 1.25fr 1fr; }
.aur__grid--talk { grid-template-columns: 1.6fr 1fr; }
.aur__grid--inbox { grid-template-columns: 0.8fr 1.6fr; }
.aur__grid--perf { grid-template-columns: 1.6fr 1fr; height: auto; }
.aur__card { background: #fff; border-radius: 20px; padding: 20px; box-shadow: 0 1px 2px rgba(40,20,120,.05); }
.aur__card h4 { font-size: 15px; font-weight: 600; color: #1a1630; margin-bottom: 12px; letter-spacing: -0.01em; }
.aur__k { font: 500 10.5px var(--font-mono); letter-spacing: .14em; color: #8b86a3; }
.aur__build h3 { font-size: clamp(22px, 2.4vw, 34px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.08; color: #15122a; margin: 10px 0 8px; max-width: 16ch; }
.aur__build p { font-size: 13.5px; color: #6b6585; max-width: 46ch; }
.aur__tabs { display: flex; gap: 6px; margin: 16px 0 12px; }
.aur__tabs span { font-size: 12.5px; padding: 7px 13px; border-radius: 999px; border: 1px solid #e7e3f4; color: #3d3856; }
.aur__tabs span.on { background: #15122a; color: #fff; border-color: #15122a; }
.aur__box { border: 1px solid #e7e3f4; border-radius: 16px; padding: 14px; font-size: 13.5px; color: #3d3856; min-height: 120px; display: flex; flex-direction: column; background: #fbfaff; }
.aur__box .caret { display: inline-block; width: 1px; height: 15px; background: #15122a; animation: caret 1s steps(1) infinite; vertical-align: middle; }
.aur__boxfoot { margin-top: auto; display: flex; gap: 6px; align-items: center; padding-top: 14px; }
.aur__chip { font-size: 11.5px; padding: 5px 10px; border-radius: 999px; border: 1px solid #e7e3f4; }
.aur__go { margin-left: auto; color: #fff; font-weight: 600; font-size: 12.5px; padding: 9px 14px; border-radius: 12px; background: linear-gradient(135deg, var(--v1), var(--v2)); box-shadow: 0 10px 22px -10px var(--v2); transition: transform .15s; }
.aur__go.press { transform: scale(.95); }
.aur__astra { background: linear-gradient(170deg, #ece7ff, #f6f3ff); }
.aur__astra small { font-size: 12px; color: #6d4dff; }
.aur__astra h4 { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; margin: 2px 0 14px; }
.aur__sug { background: #fff; border-radius: 12px; padding: 11px 12px; font-size: 12.5px; color: #3d3856; margin-bottom: 8px; }
.aur__ask { margin-top: 12px; border-radius: 999px; background: #fff; padding: 11px 14px; font-size: 12px; color: #a7a2bd; }
.aur__steps li { list-style: none; display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: #8b86a3; padding: 8px 0; }
.aur__steps li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #ddd7f0; flex: none; transition: all .35s; }
.aur__steps li.ok { color: #1a1630; }
.aur__steps li.ok::before { background: #16a34a; border-color: #16a34a; box-shadow: inset 0 0 0 4px #fff; }
.aur__steps li.now:not(.ok) { color: #5738e0; font-weight: 600; }
.aur__steps li.now:not(.ok)::before { border-color: #6d4dff; box-shadow: 0 0 0 4px #ece7ff; }
.aur__obj { font-size: 13px; color: #3d3856; padding: 11px 12px; border: 1px solid #efebf8; border-radius: 12px; margin-bottom: 8px; }
.aur__pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.aur__pills span { font-size: 11.5px; padding: 6px 10px; border-radius: 999px; background: #efeafd; color: #5738e0; }
.aur__dark { border-radius: 22px; background: radial-gradient(120% 90% at 85% 0%, #3a2b8c 0%, #1d1838 55%); color: #fff; padding: 22px; display: flex; flex-direction: column; gap: 6px; position: relative; overflow: hidden; }
.aur__dark small { font: 500 10px var(--font-mono); letter-spacing: .14em; color: #a99cff; }
.aur__dark b { font-size: 17px; font-weight: 600; }
.aur__dark span { font-size: 12.5px; color: #b9b2d8; }
.aur__dark em { margin-top: auto; align-self: flex-start; font-style: normal; font-size: 12.5px; font-weight: 600; background: #fff; color: #1d1838; padding: 9px 14px; border-radius: 12px; }
.aur__wave { height: 52px; margin: 14px 0; gap: 4px; }
.aur__wave i { width: 4px; background: linear-gradient(#b7a4ff, #6d4dff); }
.aur__call { align-items: center; text-align: center; justify-content: center; }
.aur__ready { position: absolute; left: 18px; top: 16px; font: 500 10.5px var(--font-mono) !important; letter-spacing: .1em; background: rgba(255,255,255,.08); padding: 5px 10px; border-radius: 999px; color: #c9c1f2 !important; }
.aur__orb { width: 96px; height: 96px; border-radius: 30px; background: linear-gradient(135deg, var(--v1), var(--v2)); display: grid; place-items: center; margin: 10px 0 8px; box-shadow: 0 0 0 10px rgba(138,107,255,.15), 0 20px 40px -10px rgba(87,56,224,.8); animation: orbPulse 2.4s ease-in-out infinite; }
.aur__orb i { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.75); }
@keyframes orbPulse { 50% { box-shadow: 0 0 0 18px rgba(138,107,255,.08), 0 20px 40px -10px rgba(87,56,224,.8); } }
.aur__wave--big { height: 70px; }
.aur__call em { margin: 6px auto 0; align-self: center; background: rgba(255,255,255,.1); color: #d8d1fb; font-weight: 500; }
.aur__tx p { font-size: 13px; color: #3d3856; line-height: 1.5; margin-bottom: 12px; }
.aur__tx small { display: block; font: 500 10px var(--font-mono); letter-spacing: .1em; color: #a7a2bd; margin-bottom: 3px; }
.aur__h { font-size: clamp(20px, 2vw, 28px); font-weight: 700; letter-spacing: -0.03em; color: #15122a; margin: 6px 0 16px; }
.aur__h small { font-size: 13px; font-weight: 500; color: #8b86a3; margin-left: 10px; letter-spacing: 0; }
.aur__emps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.aur__emp { background: #fff; border-radius: 22px; padding: 20px; position: relative; }
.aur__emp > i { display: block; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--c1), var(--c2)); margin-bottom: 14px; box-shadow: 0 10px 20px -10px var(--c2); }
.aur__emp > b { font-size: 16px; font-weight: 600; color: #15122a; }
.aur__emp > small { display: block; font-size: 12.5px; color: #8b86a3; margin-top: 2px; }
.aur__badge { position: absolute; right: 18px; top: 20px; font: 600 10px var(--font-mono); letter-spacing: .08em; color: #16a34a; background: #e7f7ee; padding: 4px 8px; border-radius: 6px; }
.aur__badge--soft { color: #8b86a3; background: #f1eff7; transition: all .4s; }
.aur__badge--soft.live { color: #16a34a; background: #e7f7ee; }
.aur__nums { display: flex; gap: 18px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #f0edf7; }
.aur__nums span { font-size: 11.5px; color: #8b86a3; }
.aur__nums b { display: block; font-size: 24px; font-weight: 700; color: #15122a; letter-spacing: -0.03em; }
.aur__row { padding: 11px 10px; border-radius: 12px; }
.aur__row b { display: block; font-size: 13px; color: #15122a; font-weight: 600; }
.aur__row small { font-size: 11.5px; color: #8b86a3; }
.aur__row.on { background: #f3f0fd; }
.aur__thread { display: flex; flex-direction: column; gap: 10px; }
.aur__thread .bub { max-width: 82%; font-size: 13px; }
.aur__out { margin-left: auto; background: linear-gradient(135deg, var(--v1), var(--v2)); color: #fff; border-radius: 14px; border-bottom-right-radius: 4px; padding: 10px 13px; }
.aur__astrabar { margin-top: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 12px; border-radius: 14px; background: #f6f3ff; font-size: 12px; }
.aur__astrabar b { color: #5738e0; font-weight: 600; margin-right: 6px; }
.aur__astrabar span { background: #fff; border-radius: 999px; padding: 6px 11px; color: #3d3856; }
.aur__ask2 { max-width: 880px; margin: 0 auto; text-align: center; }
.aur__ask2 h3 { font-size: clamp(24px, 2.8vw, 40px); font-weight: 700; letter-spacing: -0.04em; color: #15122a; margin: 8px 0 18px; }
.aur__prev { font-style: normal; background: #fff1d6; color: #9a5b00; border-radius: 4px; padding: 2px 6px; margin-left: 6px; }
.aur__prompt { display: flex; align-items: center; gap: 12px; text-align: left; background: #fff; border-radius: 18px; padding: 10px 10px 10px 18px; font-size: 13.5px; color: #15122a; box-shadow: 0 10px 30px -18px rgba(80,50,200,.5); }
.aur__prompt span { flex: 1; min-height: 20px; }
.aur__prompt b { flex: none; color: #fff; background: linear-gradient(135deg, var(--v1), var(--v2)); border-radius: 12px; padding: 10px 16px; font-size: 13px; }
.aur__tree { position: relative; text-align: left; margin: 18px auto 0; max-width: 720px; background: #fff; border-radius: 20px; padding: 16px 20px; }
.aur__tree::before { content: ''; position: absolute; left: 31px; top: 30px; bottom: 30px; width: 2px; background: #efebf8; }
.aur__tree li { list-style: none; position: relative; padding: 8px 0 8px 36px; opacity: .35; transition: opacity .4s; }
.aur__tree li::before { content: ''; position: absolute; left: 3px; top: 12px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #ddd7f0; background: #fff; transition: all .35s; }
.aur__tree li.done { opacity: 1; }
.aur__tree li.done::before { background: #6d4dff; border-color: #6d4dff; box-shadow: 0 0 0 5px #ece7ff; }
.aur__tree b { display: block; font-size: 13.5px; color: #15122a; font-weight: 600; }
.aur__tree span { font-size: 12px; color: #8b86a3; }
.aur__kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 14px; }
.aur__kpis > div { background: #fff; border-radius: 16px; padding: 14px 16px; }
.aur__kpis small { font-size: 11.5px; color: #8b86a3; }
.aur__kpis b { display: block; font-size: 24px; font-weight: 700; letter-spacing: -0.03em; color: #15122a; margin-top: 4px; }
.aur__cols { display: flex; align-items: flex-end; gap: 7px; height: 200px; }
.aur__cols i { flex: 1; display: flex; flex-direction: column-reverse; gap: 5px; }
.aur__cols i b { display: block; width: 9px; height: 9px; border-radius: 50%; margin: 0 auto; background: #6d4dff; opacity: 0; transform: translateY(10px); transition: all .4s var(--ease-out); }
.aur__cols i b.g { background: #5fd1a5; }
.scene.is-on .aur__cols i b { opacity: 1; transform: none; }
.aur__funnel > div { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 12px; color: #6b6585; margin-bottom: 10px; }
.aur__funnel i { grid-column: 1 / -1; order: 3; height: 8px; border-radius: 4px; background: #f1eff7; position: relative; overflow: hidden; }
.aur__funnel i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--v1), var(--v2)); border-radius: 4px; transition: width 1.2s var(--ease-out) .3s; }
.scene.is-on .aur__funnel i::after { width: var(--w); }
.aur__funnel b { color: #15122a; font-weight: 600; }

/* controls: play/pause and chapter progress */
.film__ctrl { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.film__play { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 11px; cursor: pointer; flex: none; }
.film__chapters { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.film__chapters button { border: 0; background: none; text-align: left; cursor: pointer; padding: 0; font: 500 12.5px var(--font-body); color: var(--ink-3); }
.film__chapters button i { display: block; height: 3px; border-radius: 2px; background: var(--line); margin-bottom: 8px; overflow: hidden; position: relative; }
.film__chapters button i::after { content: ''; position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.film__chapters button.done i::after { transform: scaleX(1); }
.film__chapters button.on { color: var(--ink); }
.film__chapters button.on i::after { animation: chapFill var(--dur, 6s) linear forwards; }
.film__stage.paused .film__chapters button.on i::after { animation-play-state: paused; }
@keyframes chapFill { to { transform: scaleX(1); } }

@media (max-width: 900px) {
  .aur__top .aur__search, .aur__top .aur__cred, .aur__ch { display: none; }
  .aur__body { height: 560px; }
  .aur__grid, .aur__grid--3, .aur__grid--talk, .aur__grid--inbox, .aur__grid--perf { grid-template-columns: 1fr; }
  .aur__astra, .aur__steps, .aur__tx, .aur__list, .aur__funnel { display: none; }
  .aur__emps { grid-template-columns: 1fr; } .aur__emp:nth-child(n+3) { display: none; }
  .aur__kpis { grid-template-columns: repeat(2, 1fr); } .aur__kpis > div:nth-child(n+5) { display: none; }
  .film__chapters button { font-size: 0; }
}

/* hero window in the Aurin look */
.v3-hero__win .aur__body { height: clamp(440px, 40vw, 540px); }
.v3-hero__win .aur .scene { padding-top: 4px; }

/* exploded view, amplified with the Aurin design */
.explode .ex__stack { font-family: 'Plus Jakarta Sans', var(--font-body); }
.explode .ex__l0 { background: linear-gradient(160deg, #f4f1fd, #ece8fb 60%, #f6f4fd); border-color: #e3ddf7; }
.explode .ex__l0 .win__bar { background: transparent; border-color: #e6e1f6; }
.explode .ex__l0 .side { background: rgba(255,255,255,.55); border-color: #e6e1f6; }
.explode .ex__l0 .side a.on { box-shadow: 0 1px 2px rgba(60,40,140,.08), 0 0 0 1px #e3ddf7; color: #5738e0; }
.explode .ex__l0 .side__org i { background: linear-gradient(135deg, #8a6bff, #5738e0); }
.explode .ex__layer:not(.ex__l0) { border-color: #ebe6fa; border-radius: 18px; box-shadow: 0 1px 2px rgba(60,40,140,.06), 0 18px 40px -24px rgba(80,50,200,.35); }
.explode .kpi2 { border-color: #efebf8; border-radius: 14px; }
.explode .kpi2 b { font-weight: 700; color: #15122a; }
.explode .pill--blue { background: #efeafd; color: #5738e0; }
.explode .summary { background: #f6f3ff; border-color: #e6defe; color: #3d2f8a; }
.explode .summary b { color: #6d4dff; }
.explode .ex__l4 { background: radial-gradient(120% 120% at 85% 0%, #3a2b8c 0%, #1d1838 60%); border-color: #1d1838 !important; color: #fff; }
.explode .ex__l4 small { color: #b9b2d8; }
.explode .ex__l4 .wave i { background: #b7a4ff; }
.explode .ex__l4 .av { background: linear-gradient(135deg, #8a6bff, #5738e0) !important; }
.explode .ex__layer.lit { border-color: #8a6bff; box-shadow: 0 0 0 4px #ece7ff, 0 40px 70px -30px rgba(87,56,224,.45); }

/* exploded view: each step lifts its layer, dims the rest and plays its contents */
.explode .ex__stack { transition: translate .8s cubic-bezier(.2,.8,.2,1); }
.explode .ex__layer { transition: translate .7s cubic-bezier(.2,.8,.2,1), opacity .5s, filter .5s, box-shadow .5s, border-color .4s; }
.explode .ex__stack.focus .ex__layer { opacity: .32; filter: saturate(.4); }
.explode .ex__stack.focus .ex__l0 { opacity: .55; }
.explode .ex__stack.focus .ex__layer.lit { opacity: 1; filter: none; translate: 0 0 150px; }
.explode .ex__stack.focus .ex__l0.lit { translate: 0 0 40px; }
.explode .ex__tag { position: absolute; left: 14px; top: -34px; padding: 6px 11px; border-radius: 9px; font: 600 12px/1 'Plus Jakarta Sans', var(--font-body); font-style: normal;
  color: #fff; background: linear-gradient(135deg, #8a6bff, #5738e0); box-shadow: 0 10px 24px -10px rgba(87,56,224,.7); white-space: nowrap;
  opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; pointer-events: none; z-index: 2; }
.explode .ex__l0 .ex__tag { top: 52px; left: 210px; }
.explode .ex__layer.lit .ex__tag { opacity: 1; transform: none; }
.explode .ex__l0, .explode .ex__l0.lit { overflow: visible; }
.explode .ex__l0 .side a { transition: background .25s, color .25s, box-shadow .25s; }
.explode .ex__l2.play .tbl tr { animation: exRow .55s cubic-bezier(.2,.8,.2,1) both; }
.explode .ex__l2.play .tbl tr:nth-child(2) { animation-delay: .25s; }
.explode .ex__l2.play .tbl tr:nth-child(3) { animation-delay: .5s; }
@keyframes exRow { from { opacity: 0; transform: translateX(-18px); } }
.explode .ex__l3.play .bub { animation: exRow .5s cubic-bezier(.2,.8,.2,1) both; }
.explode .ex__l3.play .summary { animation: exPop .5s .55s cubic-bezier(.2,.8,.2,1) both; }
@keyframes exPop { from { opacity: 0; transform: scale(.94); } }
.explode .ex__l4.play { animation: exPulse 1.6s ease-out 2; }
@keyframes exPulse { 0% { box-shadow: 0 0 0 0 rgba(138,107,255,.55), 0 40px 70px -30px rgba(87,56,224,.45); } 100% { box-shadow: 0 0 0 22px rgba(138,107,255,0), 0 40px 70px -30px rgba(87,56,224,.45); } }
.explode .ex__l1.play .kpi2 { animation: exPop .5s cubic-bezier(.2,.8,.2,1) both; }
.explode .ex__l1.play .kpi2:nth-child(2) { animation-delay: .08s; } .explode .ex__l1.play .kpi2:nth-child(3) { animation-delay: .16s; }
.explode .ex__l1.play .kpi2:nth-child(4) { animation-delay: .24s; } .explode .ex__l1.play .kpi2:nth-child(5) { animation-delay: .32s; }
@media (max-width: 900px) { .explode .ex__tag { display: none; } }
