/* The T180 demonstration uses the reference's restrained motion and white space. */
.t180-motion { --motion-duration: 15200ms; --motion-ease: cubic-bezier(.2,0,0,1); --t180-purple: #302669; position: relative; width: 100%; max-width: 566px; margin: auto; color: #302a36; font-family: 'Google Sans', Roboto, sans-serif; }
/* Match the reference hero: generous white space around a calm, compact demo. */
@media (min-width: 1100px) {
  #m2 .Template5050Hero_featureImage .t180-motion { width: 92%; max-width: 500px; margin-inline: auto; }
}
.t180-stage { position: relative; width: 100%; aspect-ratio: 566 / 392; }
.t180-space { width: 566px; height: 392px; position: absolute; inset: 0 auto auto 0; transform: scale(var(--motion-scale, 1)); transform-origin: top left; }
.t180-space svg { width: 24px; height: 24px; fill: currentColor; }
.t180-symbols { position: absolute; width: 0!important; height: 0!important; }
.t180-orbit { position: absolute; display: grid; place-items: center; width: 45px; height: 45px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px #3122390d, 0 0 0 1px #f6f3f8; animation: t180-orbit-cycle var(--motion-duration) var(--motion-ease) infinite; z-index: 5; }
.t180-orbit-one { left: 83px; top: 115px; color: #302669; --orbit-x: 55px; --orbit-y: 25px; }
.t180-orbit-two { left: 429px; top: 61px; color: #279c78; width: 31px; height: 31px; --orbit-x: -28px; --orbit-y: 35px; }
.t180-orbit-two svg { width: 17px; height: 17px; }
.t180-orbit-three { left: 98px; top: 300px; color: #4a86d6; width: 35px; height: 35px; --orbit-x: 55px; --orbit-y: -45px; }
.t180-orbit-three svg { width: 18px; height: 18px; }
.t180-orbit-four { left: 450px; top: 275px; color: #ddab3c; width: 36px; height: 36px; --orbit-x: -45px; --orbit-y: -25px; }
.t180-orbit-four svg { width: 18px; height: 18px; }
.t180-core { position: absolute; top: 16px; left: 273px; height: 42px; width: 42px; border-radius: 50%; background: #302669; color: #fff; display: grid; place-items: center; z-index: 7; animation: t180-core-cycle var(--motion-duration) var(--motion-ease) infinite; }
.t180-assistant { box-sizing: border-box; position: absolute; top: 77px; left: 171px; width: 250px; height: 280px; padding: 18px 16px; border: 1px solid #f0edf3; border-radius: 15px; background: #fff; box-shadow: 0 2px 5px #20112e0c,0 8px 24px #20112e03; z-index: 4; animation: t180-assistant-cycle var(--motion-duration) var(--motion-ease) infinite; }
.t180-assistant-title { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.t180-assistant-title svg { width: 17px; height: 17px; color: #302669; }
.t180-assistant-title b { font-weight: 500; }
.t180-assistant-title > span { margin-right: auto; font-size: 14px; color: #b4a5c7; }
.t180-person { width: 23px; height: 23px; display: grid; place-items: center; background: #ece3f7; color: #302669; border-radius: 50%; font-size: 11px; margin-top: 25px; }
.t180-question { white-space: nowrap; overflow: hidden; position: relative; font-size: 12px; line-height: 24px; margin: 4px 0 18px; }
.t180-question span { display: inline-block; clip-path: inset(0 0 0 100%); animation: t180-type var(--motion-duration) linear infinite; }
.t180-question i { display: inline-block; width: 1px; height: 13px; background: #302669; vertical-align: middle; margin-right: 2px; animation: t180-type-caret var(--motion-duration) linear infinite; }
.t180-space .t180-answer-spark { width: 16px; height: 16px; color: #9868c5; margin-bottom: 9px; animation: t180-spark-cycle var(--motion-duration) linear infinite; }
.t180-shimmer { display: grid; gap: 6px; position: absolute; top: 165px; right: 16px; left: 16px; animation: t180-shimmer-cycle var(--motion-duration) linear infinite; }
.t180-shimmer i { display: block; height: 8px; border-radius: 3px; background: linear-gradient(100deg,#e7dbf4 10%,#e8e7fd 40%,#d8e8ff 65%,#eee4f8); background-size: 200% 100%; animation: t180-shimmer-flow 1.6s linear infinite; }
.t180-shimmer i:nth-child(2) { width: 91%; }
.t180-shimmer i:nth-child(3) { width: 64%; }
.t180-answer { opacity: 0; font-size: 12px; line-height: 24px; animation: t180-answer-cycle var(--motion-duration) var(--motion-ease) infinite; }
.t180-answer strong { font-weight: 400; color: #302669; }
.t180-assistant-input { position: absolute; bottom: 12px; left: 12px; right: 12px; border-radius: 24px; padding: 12px 13px; background: #f4f1f8; color: #8e8796; font-size: 11px; display: flex; align-items: center; justify-content: space-between; }
.t180-assistant-input span { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: #e9e1f1; color: #806093; font-size: 17px; }
.t180-dashboard { box-sizing: border-box; position: absolute; top: 64px; left: 47px; width: 474px; height: 307px; overflow: hidden; border: 1px solid #ece9f0; background: #fff; border-radius: 13px; box-shadow: 0 5px 24px #33214209; animation: t180-dashboard-cycle var(--motion-duration) var(--motion-ease) infinite; z-index: 3; }
.t180-app-header { display: flex; align-items: center; gap: 23px; height: 37px; padding: 0 12px; background: #faf8fc; border-bottom: 1px solid #f0edf3; }
.t180-mini-brand { display: flex; align-items: center; gap: 3px; direction: ltr; }
.t180-mini-brand .tkco-logo-mask { width: 48px; height: 11px; }
.t180-mini-brand b { color: #302669; font: 500 11px 'Google Sans',Roboto,sans-serif; }
.t180-app-search { display: flex; align-items: center; justify-content: space-between; width: 185px; padding: 4px 8px; border: 1px solid #eee9f3; background: #fff; border-radius: 5px; color: #99919f; font-size: 7px; }
.t180-app-search span { font: 12px Roboto,sans-serif; }
.t180-mini-avatar { width: 18px; height: 18px; margin-right: auto; display: grid; place-items: center; border-radius: 50%; background: #eee4f5; color: #302669; font-size: 8px; }
.t180-app-sidebar { position: absolute; top: 38px; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 12px; padding: 14px 9px; width: 31px; align-items: center; background: #faf8fc; border-left: 1px solid #f0edf3; }
.t180-app-sidebar span { display: grid; place-items: center; width: 28px; height: 25px; color: #b8afc0; border-radius: 5px; }
.t180-app-sidebar .t180-side-active { background: #eae1f5; color: #302669; }
.t180-app-sidebar svg { width: 12px; height: 12px; }
.t180-app-content { padding: 14px 13px 9px; margin-right: 49px; }
.t180-app-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.t180-app-heading b { display: block; font-size: 13px; font-weight: 500; }
.t180-app-heading span { display: block; font-size: 7px; color: #9a919f; margin-top: 4px; }
.t180-app-heading > small { display: flex; align-items: center; gap: 13px; font-size: 7px; border: 1px solid #eee8f3; border-radius: 4px; padding: 5px 8px; }
.t180-app-heading i { font-style: normal; }
.t180-metrics { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 7px; }
.t180-metrics > div { position: relative; border: 1px solid #eae5f1; border-radius: 6px; padding: 8px 9px; }
.t180-metrics span { display: block; font-size: 7px; color: #8c8295; }
.t180-metrics b { display: block; font: 500 19px 'Google Sans',Roboto,sans-serif; margin: 5px 0 4px; }
.t180-metrics b small { font-size: 8px; }
.t180-metrics em { display: block; font: 7px 'Google Sans',Roboto,sans-serif; color: #27866d; }
.t180-metrics em.t180-neutral { color: #b0a6b7; }
.t180-chart-card { margin-top: 8px; border: 1px solid #eee9f3; border-radius: 6px; padding: 8px 10px 5px; }
.t180-chart-card > div:first-child { display: flex; align-items: center; justify-content: space-between; font-size: 7px; margin-bottom: 5px; }
.t180-chart-card b { font-weight: 500; }
.t180-chart-card > div > span { display: flex; align-items: center; gap: 3px; color: #b0a5b9; }
.t180-chart-card i { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: #302669; }
.t180-chart-card > svg { display: block; width: 100%; height: 68px; fill: none; }
.t180-chart-line { stroke-dasharray: 420; animation: t180-draw-chart var(--motion-duration) var(--motion-ease) infinite; }
.t180-chart-point { animation: t180-point-cycle var(--motion-duration) linear infinite; }
.t180-chart-area { animation: t180-area-cycle var(--motion-duration) linear infinite; }
.t180-chart-labels { display: flex; justify-content: space-between; font-size: 5px; color: #b0a5b9; }
.t180-table-row { display: flex; align-items: center; gap: 8px; font-size: 6px; margin-top: 8px; }
.t180-table-icon { color: #302669; background: #f1ebf7; border-radius: 4px; width: 21px; height: 21px; display: grid; place-items: center; }
.t180-table-icon svg { width: 11px; height: 11px; }
.t180-table-row small { display: block; margin-top: 3px; font-size: 5px; color: #b1a7b8; }
.t180-table-row > b { margin-right: auto; font: 500 8px 'Google Sans',Roboto,sans-serif; }
.t180-table-row > i { background: #edf8f2; color: #379174; padding: 3px 7px; border-radius: 10px; font-size: 5px; font-style: normal; }
.t180-invoice { box-sizing: border-box; width: 217px; position: absolute; top: 157px; left: 29px; z-index: 6; padding: 16px; border: 1px solid #eee9f2; border-radius: 13px; background: #fff; box-shadow: 0 4px 16px #38274812; animation: t180-invoice-cycle var(--motion-duration) var(--motion-ease) infinite; }
.t180-invoice-top { display: flex; gap: 9px; align-items: center; margin-bottom: 18px; }
.t180-invoice-top > span { width: 29px; height: 33px; display: grid; place-items: center; color: #302669; border-radius: 7px; background: #f2ebf8; }
.t180-invoice-top svg { width: 19px; height: 19px; }
.t180-invoice-top b { display: block; font-size: 12px; font-weight: 500; }
.t180-invoice-top small { display: block; margin-top: 5px; color: #a69bad; font: 7px 'Google Sans',Roboto,sans-serif; }
.t180-invoice-top > i { margin-right: auto; color: #b5a9bf; font-style: normal; }
.t180-invoice-line { display: flex; justify-content: space-between; font-size: 8px; margin-bottom: 10px; color: #988a9f; }
.t180-invoice-line b { font: 8px 'Google Sans',Roboto,sans-serif; color: #766580; }
.t180-invoice-total { border-top: 1px solid #f1ebf6; padding-top: 13px; display: flex; align-items: center; justify-content: space-between; font-size: 9px; }
.t180-invoice-total b { color: #302669; font: 500 20px 'Google Sans',Roboto,sans-serif; }
.t180-invoice-total small { font: 8px 'Google Sans',Roboto,sans-serif; }
.t180-invoice-button { display: flex; align-items: center; justify-content: center; margin-top: 14px; padding: 8px; border-radius: 6px; font-size: 10px; background: #302669; color: #fff; animation: t180-invoice-button-cycle var(--motion-duration) linear infinite; }
.t180-invoice-button svg { width: 14px; height: 14px; margin-right: 5px; }
.t180-invoice-ready { position: absolute; bottom: 16px; left: 16px; right: 16px; background: #e8f5ee; color: #338668; border-radius: 6px; font-size: 9px; padding: 8px; display: flex; gap: 5px; align-items: center; justify-content: center; animation: t180-ready-cycle var(--motion-duration) linear infinite; }
.t180-invoice-ready svg { width: 14px; height: 14px; }
.t180-notification { display: flex; align-items: center; gap: 10px; position: absolute; top: 33px; left: 163px; z-index: 8; padding: 12px 17px; border-radius: 11px; background: #fff; border: 1px solid #f0eaf4; box-shadow: 0 3px 12px #3723440c; animation: t180-notification-cycle var(--motion-duration) var(--motion-ease) infinite; }
.t180-notification > span { display: grid; place-items: center; width: 27px; height: 27px; background: #edf8f2; color: #3a9676; border-radius: 50%; }
.t180-notification svg { width: 16px; height: 16px; }
.t180-notification b { display: block; font-size: 11px; font-weight: 500; }
.t180-notification small { display: block; margin-top: 5px; font-size: 8px; color: #a392ae; }
.t180-space .t180-cursor { position: absolute; width: 26px; height: 30px; z-index: 9; animation: t180-cursor-cycle var(--motion-duration) var(--motion-ease) infinite; }
.t180-click-ripple { position: absolute; left: 124px; top: 325px; width: 16px; height: 16px; border-radius: 50%; background: #30266926; z-index: 8; animation: t180-ripple-cycle var(--motion-duration) linear infinite; }
.t180-motion-footer { display: flex; align-items: center; justify-content: center; height: 51px; position: relative; margin-top: 9px; }
.t180-scene-controls { display: flex; gap: 0; padding: 3px 7px; border-radius: 30px; }
.t180-scene-controls button { appearance: none; width: 26px; height: 28px; background: none; border: 0; padding: 9px 3px; cursor: pointer; display: grid; place-items: center; }
.t180-scene-controls span { width: 6px; height: 6px; border-radius: 8px; background: #e4dced; transition: width .3s,background .3s; }
.t180-scene-controls button[aria-pressed="true"] span { width: 18px; background: #302669; }
.t180-play-toggle { appearance: none; position: absolute; right: 0; top: 4px; width: 43px; height: 43px; display: grid; place-items: center; border: 0; background: #fff; border-radius: 50%; color: #302669; cursor: pointer; padding: 0; }
.t180-play-toggle:hover { background: #faf7fd; }
.t180-play-toggle .t180-ring { position: absolute; inset: 0; width: 43px; height: 43px; fill: none; transform: rotate(-90deg); }
.t180-ring circle { stroke: #f0eaf5; stroke-width: 3; }
.t180-ring .t180-ring-progress { stroke: #302669; stroke-dasharray: 100; stroke-dashoffset: 0; animation: t180-progress var(--motion-duration) linear infinite; }
.t180-pause-icon, .t180-play-icon { width: 19px; height: 19px; fill: currentColor; }
.t180-play-icon { display: none; }
.t180-motion[data-paused] .t180-pause-icon { display: none; }
.t180-motion[data-paused] .t180-play-icon { display: block; }
.t180-motion[data-paused] *, .t180-motion[data-offscreen] * { animation-play-state: paused!important; }
.t180-demo-label { display: block; text-align: center; color: #baafc2; font: 8px 'Google Sans',Roboto,sans-serif; margin-top: -4px; }
.t180-motion button:focus-visible { outline: 2px solid #b08cd1; outline-offset: 3px; border-radius: 20px; }
@keyframes t180-assistant-cycle { 0% { opacity:0;transform:translateY(14px) scale(.95) } 5%,29% { opacity:1;transform:translateY(0) scale(1) } 36%,95% { opacity:0;transform:translate(-65px,20px) scale(.85) } 100% { opacity:0;transform:translateY(14px) scale(.95) } }
@keyframes t180-dashboard-cycle { 0%,29% { opacity:0;transform:translate(40px,13px) scale(.82) } 38%,62% { opacity:1;transform:translate(0,0) scale(1) } 69%,91% { opacity:.55;transform:translate(18px,-4px) scale(.93) } 97%,100% { opacity:0;transform:translate(20px,10px) scale(.85) } }
@keyframes t180-orbit-cycle { 0% { opacity:0;transform:translate(var(--orbit-x),var(--orbit-y)) scale(.5) } 7% { opacity:1;transform:translate(0,0) scale(1) } 25% { opacity:1;transform:translate(0,-7px) scale(1) } 35%,93% { opacity:0;transform:translate(var(--orbit-x),var(--orbit-y)) scale(.7) } 100% { opacity:0;transform:translate(var(--orbit-x),var(--orbit-y)) scale(.5) } }
@keyframes t180-core-cycle { 0% { opacity:0;transform:translateY(22px) scale(.6) } 6%,27% { opacity:1;transform:translateY(0) scale(1) } 34%,100% { opacity:0;transform:translateY(70px) scale(.5) } }
@keyframes t180-type { 0%,8% { clip-path:inset(0 0 0 100%) } 18%,100% { clip-path:inset(0 0 0 0) } }
@keyframes t180-type-caret { 0%,8%,19%,100% { opacity:0 } 9%,18% { opacity:1 } }
@keyframes t180-shimmer-cycle { 0%,18% { opacity:0 } 20%,25% { opacity:1 } 28%,100% { opacity:0 } }
@keyframes t180-shimmer-flow { from { background-position:200% 0 } to { background-position:0 0 } }
@keyframes t180-spark-cycle { 0%,18% { opacity:0;transform:scale(.5) } 21%,30% { opacity:1;transform:scale(1) } 35%,100% { opacity:0 } }
@keyframes t180-answer-cycle { 0%,25% { opacity:0;transform:translateY(4px) } 28%,100% { opacity:1;transform:translateY(0) } }
@keyframes t180-draw-chart { 0%,37% { stroke-dashoffset:420 } 53%,100% { stroke-dashoffset:0 } }
@keyframes t180-point-cycle { 0%,49% { opacity:0 } 54%,100% { opacity:1 } }
@keyframes t180-area-cycle { 0%,41% { opacity:0 } 55%,100% { opacity:1 } }
@keyframes t180-invoice-cycle { 0%,61% { opacity:0;transform:translate(20px,35px) scale(.9) } 69%,91% { opacity:1;transform:translate(0,0) scale(1) } 97%,100% { opacity:0;transform:translateY(15px) scale(.95) } }
@keyframes t180-cursor-cycle { 0%,69% { opacity:0;transform:translate(290px,350px) } 72% { opacity:1;transform:translate(250px,330px) } 78%,82% { opacity:1;transform:translate(129px,323px) } 87%,100% { opacity:0;transform:translate(180px,350px) } }
@keyframes t180-ripple-cycle { 0%,78% { opacity:0;transform:scale(.5) } 79% { opacity:1;transform:scale(1) } 83%,100% { opacity:0;transform:scale(3.8) } }
@keyframes t180-invoice-button-cycle { 0%,80% { opacity:1 } 82%,100% { opacity:0 } }
@keyframes t180-ready-cycle { 0%,80% { opacity:0;transform:translateY(3px) } 84%,100% { opacity:1;transform:translateY(0) } }
@keyframes t180-notification-cycle { 0%,82% { opacity:0;transform:translateY(7px) scale(.95) } 86%,91% { opacity:1;transform:translateY(0) scale(1) } 97%,100% { opacity:0;transform:translateY(-5px) scale(.95) } }
@keyframes t180-progress { from { stroke-dashoffset:100 } to { stroke-dashoffset:0 } }
@media (prefers-reduced-motion: reduce) { .t180-motion * { animation-play-state: paused; } }
