/* =========================================================================
   Visuals: scenes (include/scenes.php)
   Loaded after app.css. Numbers in scenes are illustrative UI content.
   ========================================================================= */

.scene { position: relative; width: 100%; aspect-ratio: 6 / 5; min-height: 420px; border-radius: 28px; overflow: hidden; background: linear-gradient(160deg, #0d1528, #070b16); border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); font-size: 13px; line-height: 1.45; color: #e6ebf5; isolation: isolate; }
.page-hero .scene { box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .8); }
.scene .bg-grid { -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 80%); mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 80%); }
.scene__glow { position: absolute; inset: -30%; z-index: -1; background: radial-gradient(closest-side at 70% 30%, var(--glow, rgba(99, 102, 241, .45)), transparent), radial-gradient(closest-side at 20% 80%, rgba(40, 206, 124, .25), transparent); animation: glow-drift 14s ease-in-out infinite alternate; }
.scene--green { --glow: rgba(40, 206, 124, .42); }
.scene--cyan { --glow: rgba(34, 211, 238, .4); }
.scene--indigo { --glow: rgba(99, 102, 241, .5); }
.scene--violet { --glow: rgba(139, 92, 246, .45); }
@keyframes glow-drift { to { transform: translate(6%, 4%) scale(1.08); } }

.sc-panel { position: absolute; z-index: 2; padding: 14px; border-radius: 16px; background: rgba(17, 25, 44, .74); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .7); animation: sc-in .8s var(--ease) both; }
.sc-panel:nth-of-type(2) { animation-delay: .12s; }
.sc-panel:nth-of-type(3) { animation-delay: .24s; }
.sc-panel:nth-of-type(4) { animation-delay: .36s; }
.sc-panel--flat { background: rgba(255, 255, 255, .05); }
.sc-panel--code { background: rgba(8, 12, 24, .92); }
@keyframes sc-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.sc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; font-size: 12px; font-weight: 700; color: #fff; }
.sc-head em { font-style: normal; font-weight: 600; color: #8a94ab; font-size: 11px; white-space: nowrap; }

.sc-pill { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 700; white-space: nowrap; }
.sc-pill--green { background: rgba(40, 206, 124, .16); color: #6ee7a8; }
.sc-pill--amber { background: rgba(245, 158, 11, .16); color: #fbbf24; }
.sc-pill--indigo { background: rgba(99, 102, 241, .2); color: #a5b4fc; }
.sc-pill--red { background: rgba(239, 68, 68, .16); color: #fca5a5; }
.sc-pill--cyan { background: rgba(34, 211, 238, .16); color: #67e8f9; }
.sc-dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; }
.sc-dot--green { background: #28ce7c; box-shadow: 0 0 0 3px rgba(40, 206, 124, .2); }
.sc-dot--amber { background: #f59e0b; }
.sc-dot--indigo { background: #818cf8; }
.sc-dot--red { background: #f87171; }
.sc-dot--cyan { background: #22d3ee; }

.sc-rows li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.sc-rows li:first-child { border-top: 0; padding-top: 2px; }
.sc-rows li > span:not(.sc-pill) { flex: 1; min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-rows small { display: block; font-size: 10.5px; font-weight: 500; color: #8a94ab; }
.sc-rows b { font-weight: 700; color: #fff; white-space: nowrap; }

.sc-bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: 10px; }
.sc-bars span { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #22d3ee, rgba(99, 102, 241, .45)); transform-origin: bottom; animation: bar-grow 1s var(--ease) both; }
.sc-bars span:nth-child(odd) { background: linear-gradient(180deg, #28ce7c, rgba(40, 206, 124, .3)); }
.sc-line { display: block; width: 100%; height: 86px; }
.sc-line__stroke { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.8s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.sc-kpi strong { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: #fff; line-height: 1.1; }
.sc-kpi span { display: block; font-size: 11.5px; color: #8a94ab; font-weight: 600; }
.sc-kpi em { display: inline-block; margin-top: 4px; font-style: normal; font-size: 11px; font-weight: 700; color: #6ee7a8; }
.sc-progress { margin-top: 10px; }
.sc-progress div { display: flex; justify-content: space-between; font-size: 11.5px; font-weight: 600; margin-bottom: 5px; }
.sc-progress i { display: block; height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.sc-progress s { display: block; height: 100%; border-radius: 99px; background: var(--grad); animation: grow-x 1.4s var(--ease) both; transform-origin: left; }
@keyframes grow-x { from { transform: scaleX(0); } }

.sc-flow { display: flex; align-items: center; gap: 6px; }
.sc-flow__step { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; white-space: nowrap; color: #8a94ab; }
.sc-flow__step span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.sc-flow__step svg { width: 12px; height: 12px; }
.sc-flow__step--done, .sc-flow__step--active { color: #fff; }
.sc-flow__step--done span { background: #28ce7c; color: #04120a; }
.sc-flow__step--active span { background: rgba(34, 211, 238, .2); color: #22d3ee; }
.sc-flow__step--active svg { animation: spin 1.4s linear infinite; }
.sc-flow__line { flex: 1; min-width: 10px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .1); }
.sc-flow__line--done, .sc-flow__line--active { background: linear-gradient(90deg, #28ce7c, #22d3ee); }

.sc-toast { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; background: #fff; color: #0b1220; font-size: 12.5px; font-weight: 700; line-height: 1.3; box-shadow: 0 24px 40px -14px rgba(0, 0, 0, .6); animation: sc-in .8s .5s var(--ease) both, float 6s 1.3s ease-in-out infinite; }
.sc-toast > span { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 10px; background: var(--grad); color: #fff; }
.sc-toast svg { width: 18px; height: 18px; }
.sc-toast small { display: block; font-size: 11px; font-weight: 600; color: #6b7489; }
.sc-avatar { display: inline-grid; place-items: center; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; font-style: normal; font-weight: 800; font-size: 12px; color: #04120a; }
.sc-avatar--green { background: #6ee7a8; }
.sc-avatar--indigo { background: #a5b4fc; }
.sc-avatar--cyan { background: #67e8f9; }

.sc-btn { display: inline-flex; align-items: center; justify-content: center; padding: 7px 12px; border-radius: 9px; background: #28ce7c; color: #04120a; font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.sc-btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .2); }
.sc-btn--block { display: flex; margin-top: 10px; }
.sc-total { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 10px; border-top: 1px dashed rgba(255, 255, 255, .15); font-weight: 700; }
.sc-total b { color: #fff; font-size: 15px; }

/* product, listing, room */
.sc-product__img, .sc-listing__img { position: relative; height: 120px; margin-bottom: 12px; border-radius: 12px; background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .35), transparent 45%), linear-gradient(135deg, #1e3a5f, #312e81); overflow: hidden; }
.sc-product__img span { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; border: 10px solid #0b1220; box-shadow: 0 0 0 4px rgba(255, 255, 255, .25); }
.sc-product b, .sc-listing b, .sc-room b { display: block; font-size: 14px; color: #fff; }
.sc-product small, .sc-listing small, .sc-room small { display: block; color: #8a94ab; margin: 2px 0 10px; }
.sc-product__buy { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sc-product strong, .sc-listing strong, .sc-room strong { font-size: 18px; font-weight: 800; color: #fff; }
.sc-listing__img { background: linear-gradient(160deg, #38bdf8 0%, #6366f1 55%, #0f172a 56%, #1e293b 100%); }
.sc-listing__img::after { content: ""; position: absolute; left: 22%; bottom: 0; width: 56%; height: 58%; background: linear-gradient(90deg, rgba(255, 255, 255, .85) 0 30%, rgba(226, 232, 240, .9) 30% 100%); clip-path: polygon(0 30%, 50% 0, 100% 30%, 100% 100%, 0 100%); }
.sc-listing__img span { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 3px 9px; border-radius: 999px; background: #28ce7c; color: #04120a; font-size: 10.5px; font-weight: 800; }
.sc-listing__img--room { height: 90px; background: linear-gradient(180deg, #fcd34d 0 35%, #f97316 35% 36%, #1e293b 36% 100%); }
.sc-listing__img--room::after { left: 15%; width: 70%; height: 40%; clip-path: none; border-radius: 8px 8px 0 0; background: linear-gradient(90deg, #f8fafc, #e2e8f0); }

/* phone inside scenes */
.sc-phone { position: absolute; z-index: 2; width: 38%; max-width: 230px; aspect-ratio: 9 / 18.5; padding: 8px; border-radius: 32px; background: #05080f; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 40px 70px -24px rgba(0, 0, 0, .8); animation: sc-in .8s var(--ease) both; }
.sc-phone__screen { position: relative; height: 100%; border-radius: 25px; overflow: hidden; background: linear-gradient(180deg, #111a30, #0b1222); padding: 30px 12px 12px; }
.sc-phone__screen::before { content: ""; position: absolute; top: 8px; left: 50%; width: 64px; height: 18px; margin-left: -32px; border-radius: 10px; background: #000; }
.sc-app__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 13px; color: #fff; }
.sc-app__hero { padding: 12px; border-radius: 14px; background: var(--grad); color: #04120a; margin-bottom: 10px; }
.sc-app__hero small { display: block; font-size: 10px; font-weight: 700; opacity: .75; }
.sc-app__hero strong { display: block; font-size: 26px; font-weight: 800; line-height: 1.1; }
.sc-app__hero span { font-size: 10.5px; font-weight: 700; }
.sc-app .sc-rows li { padding: 7px 0; font-size: 11.5px; }
.sc-app__fab { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; background: #28ce7c; color: #04120a; font-size: 22px; font-weight: 800; box-shadow: 0 10px 20px -6px rgba(40, 206, 124, .7); }
.sc-widget { display: flex; align-items: center; gap: 12px; padding: 12px; margin-bottom: 10px; border-radius: 16px; background: rgba(255, 255, 255, .06); }
.sc-widget small { display: block; font-size: 10px; color: #8a94ab; font-weight: 700; }
.sc-widget strong { font-size: 16px; color: #fff; }
.sc-ring, .sc-donut { position: relative; width: 56px; height: 56px; flex: 0 0 auto; }
.sc-donut { width: 70px; height: 70px; margin-top: 10px; }
.sc-ring svg, .sc-donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.sc-ring__bg { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 4; }
.sc-ring__fg { fill: none; stroke: url(#sc-stroke); stroke-width: 4; stroke-linecap: round; }
.sc-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; color: #fff; }
.sc-store { display: flex; align-items: center; gap: 10px; }
.sc-store svg { width: 26px; height: 26px; color: #fff; flex: 0 0 auto; }
.sc-store div { flex: 1; }
.sc-store b { display: block; color: #fff; }
.sc-store small { color: #8a94ab; }

/* code */
.sc-code, .sc-json { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: 11.5px; line-height: 1.75; color: #c9d4f0; white-space: nowrap; overflow: hidden; }
.sc-code { margin-top: 8px; }
.sc-code .k { color: #c792ea; }
.sc-code .f { color: #82aaff; }
.sc-code .s, .sc-json .s { color: #7cf0b5; }
.sc-code .c { color: #5f6b85; }
.sc-json .n { color: #f78c6c; }
.sc-json { margin-bottom: 10px; }
.sc-code--old { color: #fca5a5; text-decoration: line-through; text-decoration-color: rgba(252, 165, 165, .5); }
.sc-arrow { position: absolute; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; margin-left: -22px; border-radius: 50%; background: var(--grad); color: #04120a; box-shadow: 0 10px 24px -8px rgba(34, 211, 238, .7); }
.sc-arrow svg { width: 20px; height: 20px; }

/* design */
.sc-swatches { display: flex; gap: 8px; margin-bottom: 14px; }
.sc-swatches i { flex: 1; height: 38px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .12); }
.sc-type { display: flex; align-items: center; gap: 12px; }
.sc-type b { font-size: 40px; font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sc-type strong { display: block; color: #fff; }
.sc-type small { color: #8a94ab; }
.sc-comps { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sc-toggle { position: relative; width: 38px; height: 22px; border-radius: 99px; background: #28ce7c; }
.sc-toggle i { position: absolute; right: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.sc-input { flex: 1 1 100%; padding: 8px 10px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .15); color: #8a94ab; font-size: 11.5px; }
.sc-cursor { position: absolute; z-index: 4; display: flex; align-items: flex-start; gap: 4px; animation: cursor-move 6s ease-in-out infinite; }
.sc-cursor svg { width: 22px; height: 22px; color: #a78bfa; }
.sc-cursor span { margin-top: 16px; padding: 3px 9px; border-radius: 6px; background: #8b5cf6; color: #fff; font-size: 11px; font-weight: 700; }
@keyframes cursor-move { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-40px, 26px); } }

/* nodes / automation */
.sc-nodes { position: absolute; inset: 6% 5% 42% 5%; }
.sc-nodes > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sc-wire { fill: none; stroke: url(#sc-stroke); stroke-width: 2; stroke-dasharray: 6 6; vector-effect: non-scaling-stroke; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.sc-node { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: rgba(17, 25, 44, .88); border: 1px solid rgba(255, 255, 255, .12); font-weight: 700; white-space: nowrap; animation: sc-in .8s var(--ease) both; }
.sc-node svg { width: 18px; height: 18px; color: #22d3ee; }
.sc-node--main { background: var(--grad); color: #04120a; border: 0; box-shadow: 0 16px 30px -10px rgba(34, 211, 238, .6); }
.sc-node--main svg { color: #04120a; }

/* saas */
.sc-plans { position: absolute; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sc-plan { position: relative; padding: 14px; border-radius: 14px; background: rgba(17, 25, 44, .82); border: 1px solid rgba(255, 255, 255, .1); animation: sc-in .8s var(--ease) both; }
.sc-plan small { display: block; color: #8a94ab; font-weight: 700; }
.sc-plan strong { font-size: 24px; font-weight: 800; color: #fff; }
.sc-plan span { color: #8a94ab; }
.sc-plan .sc-pill { position: absolute; top: 12px; right: 10px; }
.sc-plan--pro { border-color: rgba(40, 206, 124, .5); background: linear-gradient(180deg, rgba(40, 206, 124, .16), rgba(17, 25, 44, .88)); transform: translateY(-6px); }

/* servers / uptime */
.sc-servers { position: absolute; z-index: 2; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.sc-server { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 12px; border-radius: 12px; background: rgba(17, 25, 44, .82); border: 1px solid rgba(255, 255, 255, .1); animation: sc-in .8s var(--ease) both; }
.sc-server b { color: #fff; }
.sc-server small { flex: 1 1 100%; color: #8a94ab; }
.sc-uptime { display: flex; gap: 4px; }
.sc-uptime i { flex: 1; height: 30px; border-radius: 4px; background: #28ce7c; opacity: .85; }
.sc-uptime i.w { background: #f59e0b; }

/* roadmap / matrix */
.sc-roadmap div { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.sc-roadmap b { flex: 0 0 24px; color: #8a94ab; font-size: 11px; }
.sc-roadmap span { padding: 6px 10px; border-radius: 8px; background: linear-gradient(90deg, rgba(40, 206, 124, .35), rgba(99, 102, 241, .4)); font-weight: 700; font-size: 11.5px; white-space: nowrap; color: #fff; }
.sc-matrix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.sc-matrix i { height: 26px; border-radius: 6px; background: rgba(255, 255, 255, .06); }
.sc-matrix i.l { background: rgba(40, 206, 124, .45); }
.sc-matrix i.m { background: rgba(245, 158, 11, .5); }
.sc-matrix i.h { background: rgba(239, 68, 68, .55); }

/* discovery */
.sc-notes { position: absolute; z-index: 2; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.sc-notes span { padding: 14px; min-height: 70px; border-radius: 6px; color: #1f2937; font-weight: 700; font-size: 12.5px; line-height: 1.35; box-shadow: 0 14px 24px -12px rgba(0, 0, 0, .6); }
.sc-notes span:nth-child(odd) { transform: rotate(-2deg); }
.sc-notes span:nth-child(even) { transform: rotate(2deg); }
.sc-persona { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.sc-persona b { display: block; color: #fff; }
.sc-persona small { color: #8a94ab; }
.sc-quote { margin: 0; color: #c6cede; font-style: italic; line-height: 1.5; }

/* marketing */
.sc-serp { position: relative; padding-right: 44px; }
.sc-serp small { color: #6ee7a8; font-size: 11px; }
.sc-serp b { display: block; margin: 4px 0; color: #93c5fd; font-size: 14px; }
.sc-serp p { margin: 0; color: #8a94ab; font-size: 11.5px; line-height: 1.5; }
.sc-serp span { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #04120a; font-weight: 800; }

/* health */
.sc-ecg svg { width: 100%; height: 50px; }
.sc-ecg path { fill: none; stroke: #f87171; stroke-width: 2; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 2.4s linear infinite; vector-effect: non-scaling-stroke; }

/* fintech card */
.sc-card { position: absolute; z-index: 2; width: 46%; aspect-ratio: 1.586; padding: 18px; border-radius: 18px; background: linear-gradient(135deg, #6366f1, #22d3ee 60%, #28ce7c); color: #04120a; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 30px 50px -20px rgba(99, 102, 241, .7); transform: rotate(-6deg); }
.sc-card__chip { width: 38px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #fde68a, #f59e0b); }
.sc-card span { font-family: ui-monospace, Menlo, monospace; font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.sc-card small { display: block; font-size: 9px; font-weight: 700; opacity: .7; text-transform: uppercase; }
.sc-card b { font-size: 13px; }

/* map / route */
.sc-map, .sc-route { position: absolute; z-index: 2; aspect-ratio: 1.2; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); background: linear-gradient(transparent 49%, rgba(255, 255, 255, .06) 50%, transparent 51%) 0 0 / 40px 40px, linear-gradient(90deg, transparent 49%, rgba(255, 255, 255, .06) 50%, transparent 51%) 0 0 / 40px 40px, radial-gradient(circle at 30% 70%, rgba(40, 206, 124, .25), transparent 40%), #0e1a2e; animation: sc-in .8s var(--ease) both; }
.sc-map i { position: absolute; width: 22px; height: 22px; margin: -22px 0 0 -11px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #22d3ee; box-shadow: 0 8px 14px -4px rgba(0, 0, 0, .6); }
.sc-map i.hot { background: #28ce7c; animation: pin-bounce 1.6s ease-in-out infinite; }
@keyframes pin-bounce { 50% { margin-top: -30px; } }
.sc-route > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sc-route__path { fill: none; stroke: url(#sc-stroke); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 10 8; vector-effect: non-scaling-stroke; animation: dash 1.2s linear infinite; }
.sc-route i { position: absolute; width: 16px; height: 16px; border-radius: 50%; border: 3px solid #fff; }
.sc-route i.a { background: #22d3ee; }
.sc-route i.b { background: #28ce7c; box-shadow: 0 0 0 6px rgba(40, 206, 124, .25); }
.sc-truck { position: absolute; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: #0b1220; box-shadow: 0 10px 20px -6px rgba(0, 0, 0, .6); animation: float 4s ease-in-out infinite; }
.sc-truck svg { width: 22px; height: 22px; }

/* hospitality calendar */
.sc-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.sc-cal i { display: grid; place-items: center; height: 26px; border-radius: 7px; font-style: normal; font-size: 11px; font-weight: 600; color: #c6cede; background: rgba(255, 255, 255, .04); }
.sc-cal i.in { background: rgba(40, 206, 124, .25); color: #fff; }
.sc-cal i.edge { background: #28ce7c; color: #04120a; font-weight: 800; }
.sc-cal i.off { color: #4b5568; text-decoration: line-through; }

/* education + chips */
.sc-q { margin: 0 0 10px; font-weight: 700; color: #fff; line-height: 1.4; }
.sc-options { display: grid; gap: 6px; }
.sc-options span { padding: 7px 10px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .12); font-weight: 600; }
.sc-options span.ok { border-color: #28ce7c; background: rgba(40, 206, 124, .15); color: #6ee7a8; }
.sc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-chips span { padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, .07); font-weight: 600; font-size: 11.5px; }

/* At-a-glance card (overview section) */
.glance { position: relative; overflow: hidden; padding: 36px; border-radius: 28px; background: var(--dark); color: var(--dark-text); }
.glance .orb { width: 260px; height: 260px; opacity: .4; }
.glance > * { position: relative; }
.glance > .orb { position: absolute; }
.glance h3 { color: #fff; font-size: 22px; margin-bottom: 18px; }
.glance__list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--dark-line); }
.glance__list li:first-child { border-top: 0; }
.glance__list .icon-badge { flex: 0 0 auto; width: 40px; height: 40px; margin: 0; border-radius: 12px; background: rgba(40, 206, 124, .12); color: #7cf0b5; border-color: rgba(40, 206, 124, .25); }
.glance__list .icon-badge svg { width: 20px; height: 20px; }
.glance__list strong { display: block; color: #fff; font-size: 16px; }
.glance__list span { font-size: 14px; color: var(--dark-muted); }
.glance .btn { margin-top: 22px; }

@media (max-width: 1024px) {
    .page-hero__visual--scene { display: block; max-width: 620px; width: 100%; margin: 0 auto; }
}
@media (max-width: 720px) {
    .glance { padding: 26px; }
}
@media (max-width: 560px) {
    .page-hero__visual--scene { display: none; }
}


/* =========================================================================
   AI scenes (include/scenes-ai.php)
   ========================================================================= */
.sc-chat { display: flex; flex-direction: column; gap: 8px; }
.sc-msg { max-width: 88%; padding: 9px 12px; border-radius: 14px; font-size: 12px; line-height: 1.45; animation: sc-in .6s var(--ease) both; }
.sc-msg--me { align-self: flex-end; background: #6366f1; color: #fff; border-bottom-right-radius: 4px; }
.sc-msg--ai { align-self: flex-start; background: rgba(255, 255, 255, .08); color: #e6ebf5; border-bottom-left-radius: 4px; animation-delay: .35s; }
.sc-msg--ai b { color: #fff; }
.sc-msg--tool { align-self: flex-start; padding: 5px 10px; border-radius: 8px; background: rgba(40, 206, 124, .12); color: #6ee7a8; font-family: ui-monospace, Menlo, monospace; font-size: 11px; animation-delay: .2s; }
.sc-cite { display: inline-block; margin: 6px 6px 0 0; padding: 2px 8px; border-radius: 6px; background: rgba(34, 211, 238, .15); color: #67e8f9; font-size: 10px; font-weight: 700; }
.sc-prompt { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding: 9px 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); color: #8a94ab; font-size: 12px; }
.sc-prompt i { width: 24px; height: 24px; border-radius: 8px; background: var(--grad); }
.sc-promptbox { padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px dashed rgba(255, 255, 255, .18); font-size: 12px; color: #c6cede; }
.sc-output { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: linear-gradient(135deg, rgba(139, 92, 246, .18), rgba(34, 211, 238, .1)); font-size: 12px; line-height: 1.5; color: #e6ebf5; }
.sc-output b { color: #fff; }
.sc-output--sm { font-size: 11.5px; }
.sc-caret { display: inline-block; width: 2px; height: 13px; margin-left: 2px; vertical-align: -2px; background: #22d3ee; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.sc-text { margin: 0 0 10px; color: #c6cede; font-size: 12px; line-height: 1.5; }
.sc-btn--ai { background: linear-gradient(120deg, #8b5cf6, #22d3ee); color: #fff; }
.sc-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.sc-tiles i { aspect-ratio: 1; border-radius: 10px; }
.sc-tile-loading { background: linear-gradient(90deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .15), rgba(255, 255, 255, .05)) 0 0 / 200% 100%; animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.sc-flags p { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .06); font-weight: 600; font-size: 12px; }
.sc-flags p:first-child { border-top: 0; padding-top: 0; }
.sc-toggle--off { background: rgba(255, 255, 255, .15); }
.sc-toggle--off i { right: auto; left: 3px; }
.sc-widget-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.sc-widget-head b { display: block; color: #fff; font-size: 13px; }
.sc-widget-head small { color: #6ee7a8; font-size: 11px; }
.sc-chips--light span { background: rgba(255, 255, 255, .1); }
.sc-doc { position: absolute; z-index: 2; width: 32%; padding: 16px; border-radius: 10px; background: #f8fafc; color: #0b1220; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .7); transform: rotate(-4deg); animation: sc-in .8s var(--ease) both; }
.sc-doc > b { display: block; margin-bottom: 12px; font-size: 13px; letter-spacing: .1em; }
.sc-doc > i { display: block; height: 7px; margin-bottom: 8px; border-radius: 4px; background: #cbd5e1; }
.sc-doc > i.s { width: 60%; }
.sc-doc__total { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 10px; border-top: 2px solid #0b1220; font-size: 12px; }
.sc-doc__total b { font-size: 14px; }
.sc-ring--lg { width: 96px; height: 96px; margin: 4px auto 8px; }
.sc-ring--lg b { font-size: 24px; }
.sc-sub { display: block; text-align: center; color: #8a94ab; font-size: 11px; }
.sc-scatter { position: relative; height: 130px; border-left: 1px solid rgba(255, 255, 255, .15); border-bottom: 1px solid rgba(255, 255, 255, .15); }
.sc-scatter i { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: #22d3ee; box-shadow: 0 0 0 5px rgba(34, 211, 238, .15); }
.sc-scatter i.g { background: #28ce7c; box-shadow: 0 0 0 5px rgba(40, 206, 124, .2); }
.sc-scatter i.a { background: #f59e0b; box-shadow: 0 0 0 5px rgba(245, 158, 11, .15); }
.sc-scatter i.r { background: #f87171; box-shadow: 0 0 0 5px rgba(248, 113, 113, .15); }
.sc-scatter span { position: absolute; font-size: 10px; color: #8a94ab; font-weight: 600; }
.sc-scatter .x { right: 0; bottom: -18px; }
.sc-scatter .y { left: 6px; top: 0; }
.sc-pipeline { position: absolute; z-index: 2; display: flex; align-items: center; gap: 4px; }
.sc-pipeline .sc-node { position: relative; flex-direction: column; gap: 6px; padding: 12px 10px; font-size: 11.5px; }
.sc-pipe { flex: 1; height: 2px; min-width: 8px; background: linear-gradient(90deg, #28ce7c, #22d3ee); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }

/* =========================================================================
   Testimonials slider (wc_testimonials)
   ========================================================================= */
.tslider { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.tslider__intro .lead { margin-bottom: 28px; }
.tslider__people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tslider__person { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: left; cursor: pointer; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.section--muted .tslider__person { border-color: transparent; box-shadow: var(--shadow-sm); }
.tslider__person:hover { transform: translateY(-2px); }
.tslider__person.is-active { border-color: rgba(40, 206, 124, .5); box-shadow: 0 12px 28px -14px rgba(11, 18, 32, .35); }
.tslider__thumb { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--grad); color: #04120a; display: grid; place-items: center; font-weight: 800; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.tslider__person.is-active .tslider__thumb, .tslider__person:hover .tslider__thumb { filter: none; opacity: 1; }
.tslider__who { min-width: 0; line-height: 1.3; }
.tslider__who strong { display: block; font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tslider__who small { display: block; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tslider__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.tslider.is-running .tslider__person.is-active .tslider__bar { animation: tslider-progress var(--interval, 7000ms) linear forwards; }
.tslider.is-paused .tslider__person.is-active .tslider__bar { animation-play-state: paused; }
@keyframes tslider-progress { to { transform: scaleX(1); } }

.tslider__stage { position: relative; overflow: hidden; padding: 48px 48px 32px; border-radius: 28px; background: linear-gradient(160deg, #0f1830, #070b16); color: var(--dark-text); box-shadow: var(--shadow-lg); isolation: isolate; touch-action: pan-y; }
.tslider__stage .orb { width: 340px; height: 340px; z-index: -1; opacity: .45; }
.tslider__slides { display: grid; }
.tslide { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateX(28px); transition: opacity .6s var(--ease), transform .6s var(--ease), visibility 0s .6s; }
.tslide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease), visibility 0s; }
.tslide.is-leaving { transform: translateX(-28px); }
.tslide__mark { display: block; height: 64px; margin-bottom: 4px; font: 800 120px/1 Georgia, serif; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tslide blockquote { margin: 0; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.6; font-weight: 500; color: #fff; letter-spacing: -.005em; }
.tslide figcaption { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.tslide__avatar { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255, 255, 255, .14); background: var(--grad); color: #04120a; display: grid; place-items: center; font-weight: 800; font-size: 22px; }
.tslide figcaption strong { display: block; font-size: 18px; color: #fff; }
.tslide figcaption span { display: block; font-size: 14px; color: var(--dark-muted); }
.tslider__controls { display: flex; align-items: center; justify-content: space-between; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--dark-line); }
.tslider__count { font-size: 14px; font-weight: 700; color: var(--dark-muted); letter-spacing: .08em; }
.tslider__count b { color: #fff; font-size: 18px; }
.tslider__nav { display: flex; gap: 10px; }
.tslider__btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04); color: #fff; cursor: pointer; transition: background-color .2s, border-color .2s, transform .2s var(--ease); }
.tslider__btn:hover { background: var(--brand); border-color: var(--brand); color: #04120a; transform: translateY(-2px); }
.tslider__btn svg { width: 20px; height: 20px; }
.tslider__btn[data-prev] svg { transform: rotate(180deg); }

@media (max-width: 1024px) {
    .tslider { grid-template-columns: 1fr; gap: 28px; }
    .tslider__intro { text-align: center; }
    .tslider__intro .lead { margin-left: auto; margin-right: auto; }
    .tslider__people { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .tslider__people::-webkit-scrollbar { display: none; }
    .tslider__person { flex: 0 0 auto; scroll-snap-align: start; }
    .tslider__who small { max-width: 140px; }
}
@media (max-width: 720px) {
    .tslider__stage { padding: 30px 22px 22px; border-radius: 22px; }
    .tslide__mark { height: 46px; font-size: 90px; }
    .tslide blockquote { font-size: 16.5px; }
    .tslide figcaption { margin-top: 22px; }
    .tslide__avatar { width: 52px; height: 52px; }
    .tslider__controls { margin-top: 22px; padding-top: 16px; }
    .tslider__btn { width: 44px; height: 44px; }
    .tslider__person { padding: 8px 10px; }
    .tslider__who strong { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .tslide, .tslide.is-active { transform: none; transition: none; }
    .tslider__person.is-active .tslider__bar { animation: none; transform: scaleX(1); }
}
.tslider > * { min-width: 0; }
.tslide blockquote { overflow-wrap: anywhere; }

/* =========================================================================
   Technology marquee (homepage, wc_marquee)
   ========================================================================= */
.tech-marquee { position: relative; overflow: hidden; padding: 30px 0 34px; background: linear-gradient(180deg, var(--dark) 0%, #0a1020 100%); border-top: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); }
.tech-marquee::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 160px at 50% 0%, rgba(99, 102, 241, .16), transparent 70%); pointer-events: none; }
.tech-marquee__label { position: relative; margin: 0 0 18px; text-align: center; font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--dark-muted); }
.tech-row { position: relative; overflow: hidden; padding: 6px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tech-row + .tech-row { margin-top: 6px; }
.tech-track { display: flex; width: max-content; animation: tech-scroll 60s linear infinite; }
.tech-row--reverse .tech-track { animation-direction: reverse; animation-duration: 66s; }
.tech-row:hover .tech-track { animation-play-state: paused; }
@keyframes tech-scroll { to { transform: translateX(-50%); } }
.tech-list { display: flex; gap: 14px; padding-right: 14px; margin: 0; list-style: none; }
.tech-chip { display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 16px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .08); color: #e6ebf5; font-size: 15px; font-weight: 700; white-space: nowrap; transition: transform .25s var(--ease), border-color .25s, background-color .25s, box-shadow .25s; }
.tech-chip:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .08); border-color: color-mix(in srgb, var(--c) 60%, transparent); box-shadow: 0 14px 30px -16px var(--c); }
.tech-chip__icon { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .6); }
.tech-chip__icon svg { width: 22px; height: 22px; }
.tech-chip__icon .tech-chip__fallback { color: var(--c); }
@media (max-width: 720px) {
    .tech-marquee { padding: 22px 0 24px; }
    .tech-marquee__label { margin-bottom: 12px; font-size: 11px; }
    .tech-chip { gap: 10px; padding: 6px 14px 6px 6px; font-size: 14px; border-radius: 14px; }
    .tech-chip__icon { width: 34px; height: 34px; border-radius: 10px; }
    .tech-chip__icon svg { width: 19px; height: 19px; }
    .tech-list { gap: 10px; padding-right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .tech-track { animation: none; }
    .tech-row { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}
