/* Motion layer: retain the site's original palette and Bootstrap layout. */
html { scroll-behavior: smooth; }
:root { --ink: #102536; --ink-soft: #526b7c; --surface: #f5f9fc; --line: #dce8ef; --blue-bright: #42b4f5; --navy-deep: #071725; --radius-lg: 28px; }
body { overflow-x: hidden; background: #fff; color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
main { overflow: clip; }
h1, h2, h3, h4, h5 { letter-spacing: -.025em; }
.container { width: min(100% - 32px, 1200px); }
.skip-link { position: fixed; z-index: 2000; left: 16px; top: 12px; padding: 10px 16px; border-radius: 10px; color: #fff; background: #071725; transform: translateY(-150%); transition: transform .2s ease; }
.skip-link:focus { transform: none; }
.site-progress { position: fixed; z-index: 1100; left: 0; top: 0; width: 100%; height: 2px; pointer-events: none; }
.site-progress span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, #7dd3fc, #3498db); transform: scaleX(var(--site-progress, 0)); transform-origin: left; box-shadow: 0 0 10px #7dd3fc; }
.utility-bar { position: relative; z-index: 1020; color: #c9dbe7; background: #071725; font-size: .7rem; letter-spacing: .02em; }
.utility-bar .container { min-height: 34px; display: flex; justify-content: space-between; align-items: center; }
.utility-bar i { color: #64c3f7; margin-right: 6px; }
.utility-bar a { color: #fff; text-decoration: none; }
.utility-bar a i { margin: 0 0 0 7px; transition: transform .25s ease; }
.utility-bar a:hover i { transform: translateX(4px); }
.site-nav { position: sticky !important; top: 0; z-index: 1000; min-height: 76px; padding: 0; background: linear-gradient(110deg, #102b40f5, #1672a8f2) !important; backdrop-filter: blur(18px); box-shadow: 0 10px 35px #06131f1f !important; transition: min-height .3s ease, background .3s ease, box-shadow .3s ease; }
.site-nav.is-scrolled { min-height: 66px; background: #0c2639f5 !important; box-shadow: 0 14px 35px #06131f38 !important; }
.brand-lockup { display: flex; align-items: center; gap: 11px; }
.brand-lockup .navbar-logo { height: 38px !important; }
.brand-lockup > span { display: flex; flex-direction: column; color: #fff; line-height: 1; }
.brand-lockup strong { font-size: 1.05rem; letter-spacing: -.025em; }
.brand-lockup small { margin-top: 5px; color: #b8d4e4; font-size: .58rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
.site-nav .navbar-nav { gap: 3px; }
.site-nav .nav-link { display: flex; align-items: center; min-height: 44px; padding-inline: 14px !important; border-radius: 12px; color: #d9ebf5 !important; font-size: .87rem; font-weight: 600; }
.site-nav .nav-link:hover, .site-nav .nav-link.active, .site-nav .nav-link.show { color: #fff !important; background: #ffffff0e; transform: none; }
.site-nav .nav-link.active::after { transform: scaleX(1); }
.service-menu { width: min(680px, calc(100vw - 32px)); margin-top: 12px !important; padding: 12px; border: 1px solid #d7e5ed; border-radius: 22px; background: #f8fbfd; box-shadow: 0 28px 70px #07172538; overflow: hidden; }
.service-menu.show { animation: menu-in .3s cubic-bezier(.2,.75,.25,1); }
.service-menu-intro { display: flex; flex-direction: column; padding: 24px; border-radius: 15px; color: #fff; background: linear-gradient(145deg, #173c5b, #0a1d2d); }
.service-menu-intro > span { color: #7bcaf7; font-size: .61rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.service-menu-intro > strong { max-width: 350px; margin: 10px 0 20px; font-size: 1.35rem; line-height: 1.2; }
.service-menu-intro a { color: #fff; font-size: .75rem; text-decoration: none; }
.service-menu-intro a i { margin-left: 7px; }
.service-menu-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding-top: 10px; }
.service-menu-links > a { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; min-width: 0; padding: 13px 10px; border-radius: 13px; color: #183348; text-decoration: none; transition: background .25s ease, transform .25s ease; }
.service-menu-links > a:hover { background: #eaf4fa; transform: translateY(-2px); }
.service-menu-links > a > i:first-child { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #278fc9; background: #dff1fb; }
.service-menu-links span { min-width: 0; display: flex; flex-direction: column; }
.service-menu-links strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .74rem; }
.service-menu-links small { margin-top: 3px; color: #7890a0; font-size: .61rem; line-height: 1.25; }
.service-menu-links > a > i:last-child { color: #8ba0ad; font-size: .6rem; }
.navbar-toggler { border: 1px solid #ffffff45; border-radius: 12px; }
.hero-section { margin-bottom: 0 !important; }
.interior-page main > section:not(.hero-section) { padding-top: 45px; padding-bottom: 45px; margin-bottom: 0 !important; }
.interior-page main > section.hero-section + section { padding-top: 90px; }
.card { border: 1px solid #e0eaf0; border-radius: 22px; box-shadow: 0 14px 40px #1632490d; }
.card:hover { box-shadow: 0 24px 55px #1632491c; }
.card.bg-light { background: linear-gradient(145deg, #f8fbfd, #edf5f9); }
.card.bg-primary { background: linear-gradient(135deg, #183e5c, #258dcc) !important; }
.card.bg-success { background: linear-gradient(135deg, #126f56, #26a97e) !important; }
.btn { border-radius: 999px; font-weight: 700; }
.btn-primary { background: linear-gradient(135deg, #258dcc, #42b4f5); box-shadow: 0 10px 24px #3498db26; }
.btn-outline-primary { border-color: #3498db; color: #247eaf; }
.btn-outline-primary:hover { background: #247eaf; }
.text-primary { color: #258dcc !important; }
.site-footer { margin-top: 0; padding: 90px 0 25px; color: #d7e7f0; background: #071725; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding-bottom: 45px; border-bottom: 1px solid #ffffff16; }
.footer-brand { display: flex; align-items: center; gap: 17px; }
.footer-mark { display: grid; place-items: center; flex: 0 0 auto; width: 50px; height: 50px; border: 1px solid #5bc0f655; border-radius: 15px; color: #79cffc; background: #3498db18; }
.footer-brand h2 { margin: 0 0 7px; color: #fff; font-size: 1.25rem; }
.footer-brand p { max-width: 540px; margin: 0; color: #7893a5; font-size: .86rem; }
.footer-cta { display: inline-flex; align-items: center; gap: 12px; padding: 14px 20px; border: 1px solid #ffffff28; border-radius: 30px; color: #fff; text-decoration: none; white-space: nowrap; background: #ffffff08; transition: background .25s ease, transform .25s ease; }
.footer-cta:hover { color: #fff; background: #ffffff12; transform: translateY(-2px); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.3fr 1fr 1.5fr; gap: 45px; padding: 55px 0; }
.footer-grid > div { display: flex; flex-direction: column; gap: 10px; }
.footer-grid span { margin-bottom: 7px; color: #fff; font-size: .68rem; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.footer-grid a { color: #819aaa; text-decoration: none; font-size: .82rem; transition: color .25s ease, transform .25s ease; }
.footer-grid a:hover { color: #fff; transform: translateX(3px); }
.footer-grid small { color: #819aaa; }
.footer-promise p { color: #819aaa; font-size: .82rem; line-height: 1.65; }
.footer-promise > div { display: flex; align-items: center; gap: 8px; color: #8bbca8; font-size: .7rem; }
.footer-promise > div i { width: 7px; height: 7px; border-radius: 50%; background: #58d68d; box-shadow: 0 0 0 5px #58d68d12; }
.footer-bottom { display: grid; grid-template-columns: 1fr auto 40px; align-items: center; gap: 25px; padding-top: 22px; border-top: 1px solid #ffffff10; color: #607b8c; font-size: .7rem; }
.footer-bottom p { margin: 0; }.footer-bottom > div { display: flex; gap: 20px; }.footer-bottom a { color: #7892a3; text-decoration: none; }
.back-to-top { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #ffffff1f; border-radius: 50%; color: #fff; background: #ffffff08; transition: transform .25s ease, background .25s ease; }
.back-to-top:hover { transform: translateY(-3px); background: #ffffff12; }
.value-ribbon { position: relative; z-index: 5; color: #dcecf5; background: #071725; }
.value-ribbon .container { display: grid; grid-template-columns: repeat(3, 1fr); }
.value-ribbon .container > div { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 14px; padding: 27px 25px; border-left: 1px solid #ffffff12; transition: background .3s ease; }
.value-ribbon .container > div:last-child { border-right: 1px solid #ffffff12; }
.value-ribbon .container > div:hover { background: #ffffff08; }
.value-ribbon i { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #61bef155; border-radius: 13px; color: #75ccfa; background: #3498db14; }
.value-ribbon span { display: flex; flex-direction: column; }
.value-ribbon strong { color: #fff; font-size: .82rem; }
.value-ribbon small { margin-top: 3px; color: #7893a5; font-size: .68rem; line-height: 1.45; }
.process-card { position: relative; min-height: 290px; padding-top: 70px !important; }
.process-card > span { position: absolute; right: 22px; top: 18px; color: #dce8ef; font-size: 2.8rem; font-weight: 800; letter-spacing: -.08em; }
.process-card > i { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 25px; border-radius: 15px; color: #258dcc; background: #e6f4fb; font-size: 1.15rem; transition: transform .4s cubic-bezier(.2,.8,.25,1); }
.process-card:hover > i { transform: translateY(-6px) rotate(-7deg); }
.process-card h3 { font-size: 1.35rem; }
.process-card p { color: #6b7f8c; font-size: .9rem; line-height: 1.7; }
.vision-roadmap { padding-top: 80px !important; padding-bottom: 90px !important; }
.roadmap-track { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.roadmap-track::before { content: ''; position: absolute; left: 12%; right: 12%; top: 58px; height: 1px; background: linear-gradient(90deg, #3498db22, #3498db, #3498db22); }
.roadmap-track article { position: relative; min-height: 320px; padding: 30px; border: 1px solid #dce8ef; border-radius: 24px; background: #fff; box-shadow: 0 16px 45px #1632490d; transition: transform .35s ease, box-shadow .35s ease; }
.roadmap-track article:hover { transform: translateY(-8px); box-shadow: 0 26px 60px #1632491c; }
.roadmap-track article > span { color: #3498db; font-size: .64rem; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.roadmap-track article > i { position: relative; z-index: 2; display: grid; place-items: center; width: 58px; height: 58px; margin: 28px 0; border: 1px solid #b9dff3; border-radius: 50%; color: #268cC5; background: #edf8fd; box-shadow: 0 0 0 10px #fff; }
.roadmap-track h3 { font-size: 1.35rem; }
.roadmap-track p { color: #687d8b; font-size: .88rem; line-height: 1.7; }
.resource-tools { margin-bottom: 36px; padding: 24px; border: 1px solid #dbe8ef; border-radius: 22px; background: linear-gradient(145deg, #f8fbfd, #edf6fa); box-shadow: 0 15px 45px #1632490b; }
.resource-tools > label { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; color: #416074; font-size: .72rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.resource-tools > label i { color: #3498db; }
.resource-tools > div { position: relative; }
.resource-tools input { width: 100%; min-height: 58px; padding: 0 55px 0 18px; border: 1px solid #cfe0e9; border-radius: 15px; outline: none; color: #183348; background: #fff; font: inherit; transition: border-color .25s ease, box-shadow .25s ease; }
.resource-tools input:focus { border-color: #3498db; box-shadow: 0 0 0 4px #3498db16; }
.resource-tools kbd { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); padding: 4px 8px; border: 1px solid #d6e2e9; color: #78909e; background: #f4f8fa; box-shadow: none; }
.resource-tools > p { margin: 11px 2px 0; color: #78909e; font-size: .72rem; }
.resource-tools > p span { color: #258dcc; font-weight: 750; }
[data-resource-card] { transition: opacity .25s ease, transform .25s ease; }
[data-resource-card].is-filtered { display: none; }
.resource-empty { padding: 80px 20px; text-align: center; }
.resource-empty i { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 22px; border-radius: 50%; color: #3498db; background: #e8f5fc; font-size: 1.3rem; }
.resource-empty h2 { font-size: 1.35rem; }.resource-empty p { color: #728794; }

/* Scroll-driven choreography */
.scroll-reveal { opacity: 0; transform: translate3d(0, 54px, 0) scale(.975); filter: blur(5px); transition: opacity .85s var(--scroll-delay, 0ms) ease, transform .85s var(--scroll-delay, 0ms) cubic-bezier(.2,.75,.25,1), filter .75s var(--scroll-delay, 0ms) ease; will-change: opacity, transform; }
.scroll-reveal[data-scroll-direction="left"] { transform: translate3d(-55px, 20px, 0) scale(.98); }
.scroll-reveal[data-scroll-direction="right"] { transform: translate3d(55px, 20px, 0) scale(.98); }
.scroll-reveal[data-scroll-direction="scale"] { transform: scale(.92); }
.scroll-reveal.scroll-in-view { opacity: 1; transform: none; filter: blur(0); }
.scroll-reveal.scroll-in-view .story-points > div, .scroll-reveal.scroll-in-view .service-features li, .scroll-reveal.scroll-in-view .vision-pillars > div { animation: child-step .55s both cubic-bezier(.2,.75,.25,1); }
.scroll-reveal.scroll-in-view .story-points > div:nth-child(2), .scroll-reveal.scroll-in-view .service-features li:nth-child(2), .scroll-reveal.scroll-in-view .vision-pillars > div:nth-child(2) { animation-delay: .12s; }
.scroll-reveal.scroll-in-view .story-points > div:nth-child(3), .scroll-reveal.scroll-in-view .service-features li:nth-child(3), .scroll-reveal.scroll-in-view .vision-pillars > div:nth-child(3) { animation-delay: .22s; }
[data-scroll-parallax] { will-change: transform; }
.dashboard-demo:not(.scroll-in-view) .lesson-ring, .dashboard-demo:not(.scroll-in-view) .upload-zone > i, .dashboard-demo:not(.scroll-in-view) .upload-line span { animation-play-state: paused; }
.navbar { position: relative; z-index: 100; }
.navbar::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, #ffffff55, transparent); transform: scaleX(0); animation: nav-line 1.1s .25s ease-out forwards; }
.navbar-logo { transition: transform .5s cubic-bezier(.2,.8,.25,1), filter .5s ease; }
.navbar-brand:hover .navbar-logo { transform: rotate(-7deg) scale(1.08); filter: drop-shadow(0 8px 10px #0005); }
.nav-link { position: relative; }
.nav-link::after { content: ''; position: absolute; left: .5rem; right: .5rem; bottom: 3px; height: 1px; background: #fff; transform: scaleX(0); transform-origin: right; transition: transform .35s ease; }
.nav-link:hover::after, .nav-link:focus-visible::after { transform: scaleX(1); transform-origin: left; }

/* Shared interior-page motion and depth */
.page-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 360px; display: flex; align-items: center; }
.page-hero::before, .page-hero::after { content: ''; position: absolute; z-index: -1; border: 1px solid #ffffff17; border-radius: 50%; pointer-events: none; }
.page-hero::before { width: 520px; height: 520px; right: -130px; top: -260px; box-shadow: 0 0 0 75px #ffffff08, 0 0 0 150px #ffffff05; animation: interior-orbit 14s ease-in-out infinite alternate; }
.page-hero::after { width: 360px; height: 360px; left: -170px; bottom: -260px; box-shadow: 0 0 80px #3498db66; animation: interior-orbit 11s -5s ease-in-out infinite alternate-reverse; }
.page-hero .container { position: relative; z-index: 2; transform: translate3d(var(--hero-shift-x, 0), var(--hero-shift-y, 0), 0); transition: transform .25s ease-out; }
.page-hero h1 { text-wrap: balance; text-shadow: 0 14px 35px #0514214d; }
.page-hero h1, .page-hero .lead, .page-hero .container > p:last-child { animation: interior-title .85s cubic-bezier(.2,.75,.25,1) both; }
.page-hero .lead { animation-delay: .1s; }.page-hero .container > p:last-child { animation-delay: .18s; }
.interior-page main > section:not(.hero-section), .interior-page main > .container { position: relative; }
.interior-page main > section:not(.hero-section):nth-of-type(even)::before { content: ''; position: absolute; inset: -30px 0; z-index: -1; background: linear-gradient(90deg, transparent, #3498db08, transparent); pointer-events: none; }
.interactive-card { --card-x: 50%; --card-y: 50%; position: relative; overflow: hidden; isolation: isolate; }
.interactive-card::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; background: radial-gradient(350px circle at var(--card-x) var(--card-y), #3498db17, transparent 45%); transition: opacity .35s ease; pointer-events: none; }
.interactive-card:hover::before { opacity: 1; }
.interactive-card > .card-body { position: relative; z-index: 1; }
.interior-page .card .fa-5x, .interior-page .card .fa-6x { animation: icon-hover 4s ease-in-out infinite alternate; filter: drop-shadow(0 12px 18px #3498db25); }
.interior-page .row > [class*='col-'] { --reveal-delay: 0ms; }
.page-reveal-pending { opacity: 0; transform: translateY(34px) scale(.985); }
.page-reveal-visible { animation: page-reveal .8s var(--reveal-delay, 0ms) cubic-bezier(.2,.75,.25,1) both; }
.reading-progress { position: fixed; z-index: 999; top: 0; left: 0; width: 100%; height: 3px; transform: scaleX(var(--reading-progress, 0)); transform-origin: left; background: linear-gradient(90deg, #3498db, #8ed7ff); box-shadow: 0 0 12px #3498db; pointer-events: none; }
.resource-card-index { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 18px; border: 1px solid #3498db33; border-radius: 50%; color: #3498db; font-size: .65rem; font-weight: 700; }
.resource-card-arrow { position: absolute; right: 24px; bottom: 24px; color: #3498db; opacity: 0; transform: translateX(-8px); transition: opacity .3s ease, transform .3s ease; }
.resources-motion-card:hover .resource-card-arrow { opacity: 1; transform: none; }
.legal-motion-card .card-body > .mb-5 { position: relative; padding-left: 28px; border-left: 1px solid #dce6ec; }
.legal-motion-card .card-body > .mb-5::before { content: ''; position: absolute; left: -5px; top: 7px; width: 9px; height: 9px; border: 2px solid #3498db; border-radius: 50%; background: #fff; transition: transform .3s ease, background .3s ease; }
.legal-motion-card .card-body > .mb-5:hover::before { transform: scale(1.5); background: #3498db; }
.footer { position: relative; overflow: hidden; }
.footer::before { content: ''; position: absolute; width: 420px; height: 420px; right: -180px; top: -300px; border: 1px solid #ffffff12; border-radius: 50%; box-shadow: 0 0 0 70px #ffffff08, 0 0 0 140px #ffffff04; animation: interior-orbit 16s ease-in-out infinite alternate; }
.footer .container { position: relative; z-index: 1; }
.home-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(90px, 12vw, 170px) 0 68px;
}
.hero-atmosphere { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-orb { position: absolute; border-radius: 50%; animation: atmosphere-drift 18s ease-in-out infinite alternate; }
.hero-orb-one { width: 650px; height: 650px; top: -330px; right: -160px; background: radial-gradient(circle, #78caff55, #3498db00 70%); }
.hero-orb-two { width: 550px; height: 550px; bottom: -300px; left: -130px; background: radial-gradient(circle, #3498db88, #3498db00 70%); animation-delay: -9s; }
.hero-orbit { position: absolute; width: 640px; height: 640px; border: 1px solid #ffffff14; border-radius: 50%; right: -290px; top: -80px; animation: orbit-breathe 12s ease-in-out infinite alternate; }
.hero-orbit::after { content: ''; position: absolute; width: 9px; height: 9px; background: #c2e7ff; border-radius: 50%; left: 88px; top: 88px; box-shadow: 0 0 24px #d1edff99; }
.hero-orbit-two { width: 790px; height: 790px; right: -365px; top: -155px; animation-delay: -6s; }
html:not(.motion-ready) .hero-orb, html:not(.motion-ready) .hero-orbit { animation: none; }
.hero-content { max-width: 1000px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; margin-bottom: 30px; border: 1px solid #ffffff40; border-radius: 30px; font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; background: #ffffff08; }
.hero-eyebrow span { width: 6px; height: 6px; background: #b5e1ff; border-radius: 50%; }
.home-hero h1 { font-size: clamp(2.5rem, 5.5vw, 4.8rem); letter-spacing: -.045em; line-height: 1.12; text-wrap: balance; }
.home-hero .lead { font-size: clamp(1.15rem, 2.3vw, 1.6rem); color: #e3f2ff; }
.hero-mark { display: inline-block; font-size: .72em; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.hero-actions .btn { margin: 0 !important; border-radius: 30px; padding: 13px 28px; }
.hero-explore { display: inline-flex; align-items: center; gap: 14px; margin-top: 65px; color: #e3f2ff; font-size: .85rem; text-decoration: none; }
.hero-explore:hover { color: white; }
.hero-explore i { transition: transform .3s ease; }
.hero-explore:hover i { transform: translateY(4px); }
.motion-toggle { position: absolute; right: 20px; bottom: 16px; background: #20374b99; border: 1px solid #ffffff55; border-radius: 20px; padding: 5px 12px; color: #fff; font: inherit; font-size: .72rem; }
#projects { scroll-margin-top: 30px; }
.service-explorer { position: relative; padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; background: #f4f8fb; }
.service-explorer::before { content: ''; position: absolute; inset: 0; opacity: .45; pointer-events: none; background-image: linear-gradient(#2c3e500a 1px, transparent 1px), linear-gradient(90deg, #2c3e500a 1px, transparent 1px); background-size: 58px 58px; -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); }
.service-heading { position: relative; max-width: 760px; margin: 0 auto 48px; }
.section-kicker { color: var(--secondary-color); margin-bottom: 12px; font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.service-heading h2 { letter-spacing: -.035em; }
.service-heading .lead { color: #64798a; }
.service-stage { position: relative; display: grid; grid-template-columns: minmax(220px, .75fr) minmax(0, 2.25fr); min-height: 610px; border: 1px solid #fff; border-radius: 30px; background: #fff9; box-shadow: 0 35px 80px #21384c1a; overflow: hidden; }
.service-tabs { display: flex; flex-direction: column; padding: 22px; gap: 8px; background: #eef4f8; border-right: 1px solid #dce7ee; }
.service-tab { position: relative; display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 10px; width: 100%; min-height: 76px; padding: 12px 14px; color: #597082; text-align: left; background: transparent; border: 1px solid transparent; border-radius: 18px; font: inherit; font-weight: 650; transition: color .3s ease, background .3s ease, transform .3s ease, box-shadow .3s ease; }
.service-tab-index { font-size: .68rem; letter-spacing: .08em; opacity: .65; }
.service-tab > i { font-size: .75rem; opacity: 0; transform: translateX(-8px); transition: opacity .3s ease, transform .3s ease; }
.service-tab.is-active { color: var(--primary-color); background: #fff; border-color: #dce8ef; box-shadow: 0 12px 30px #233b4f12; transform: translateX(5px); }
.service-tab.is-active > i { opacity: 1; transform: none; }
.service-tab:focus-visible { outline-offset: 2px; }
.service-panels { position: relative; min-width: 0; background: #0b1725; }
.service-panel { --tilt-x: 0deg; --tilt-y: 0deg; --pointer-x: 50%; --pointer-y: 50%; position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .92fr); align-items: center; gap: clamp(24px, 4vw, 70px); padding: clamp(38px, 5vw, 76px); color: #fff; background: radial-gradient(650px circle at var(--pointer-x) var(--pointer-y), #3498db28, transparent 42%), linear-gradient(135deg, #173b5d 0%, #0b1725 62%); isolation: isolate; overflow: hidden; }
.service-panel[hidden] { display: none; }
.service-panel.is-entering { animation: panel-enter .62s cubic-bezier(.2,.75,.25,1) both; }
.service-panel::after { content: ''; position: absolute; width: 500px; height: 500px; right: -200px; bottom: -300px; border: 1px solid #ffffff12; border-radius: 50%; box-shadow: 0 0 0 80px #ffffff08, 0 0 0 160px #ffffff05; z-index: -1; }
.service-sheen { position: absolute; inset: 0; z-index: 5; pointer-events: none; background: radial-gradient(500px circle at var(--pointer-x) var(--pointer-y), #ffffff12, transparent 45%); }
.service-copy { position: relative; z-index: 4; }
.service-meta { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; color: #acd9f6; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.service-live { display: inline-flex; align-items: center; gap: 7px; color: #bfe8d1; }
.service-live i { width: 7px; height: 7px; border-radius: 50%; background: #58d68d; box-shadow: 0 0 0 5px #58d68d1c; animation: status-pulse 2s ease-in-out infinite; }
.service-copy h3 { margin-bottom: 22px; font-size: clamp(2.2rem, 4.6vw, 4.8rem); line-height: .98; letter-spacing: -.055em; }
.service-copy > p { max-width: 600px; color: #c2d3df; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.75; }
.service-features { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 30px 0 34px; list-style: none; }
.service-features li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid #ffffff18; border-radius: 30px; color: #d9e7ef; background: #ffffff08; font-size: .78rem; }
.service-features i { color: #72c5fa; font-size: .65rem; }
.service-visit { display: inline-flex; align-items: center; gap: 13px; padding-bottom: 7px; color: #fff; border-bottom: 1px solid #ffffff55; text-decoration: none; font-weight: 650; }
.service-visit:hover { color: #c6eaff; border-color: #c6eaff; }
.service-visit i { font-size: .75rem; transition: transform .3s ease; }
.service-visit:hover i { transform: translate(3px, -3px); }
.service-visual { position: relative; display: grid; place-items: center; min-height: 430px; perspective: 1100px; transform: translateY(var(--parallax-y, 0px)); transform-style: preserve-3d; }
.service-device { position: relative; z-index: 2; width: min(290px, 78%); aspect-ratio: .7; padding: 9px; border: 1px solid #ffffff33; border-radius: 32px; background: linear-gradient(145deg, #172433, #050a10); box-shadow: 0 40px 60px #0009, inset 0 1px 2px #fff4; transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); transform-style: preserve-3d; transition: transform .2s ease-out; }
.device-bar { display: flex; gap: 5px; padding: 9px 8px 11px; }
.device-bar i { width: 5px; height: 5px; border-radius: 50%; background: #ffffff33; }
.device-content { display: flex; flex-direction: column; align-items: center; height: calc(100% - 25px); padding: 30px 24px; border-radius: 24px; background: radial-gradient(circle at 50% 20%, #3498db33, transparent 35%), #0c1928; box-shadow: inset 0 0 30px #0008; }
.device-app-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 25px; border: 1px solid #7bc8f855; border-radius: 18px; color: #82cdfa; background: linear-gradient(145deg, #3498db35, #3498db08); box-shadow: inset 0 1px #ffffff22, 0 15px 35px #0006; font-size: 1.35rem; }
.device-label { color: #77bfe9; font-size: .63rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.device-content strong { margin-top: 8px; font-size: clamp(2.2rem, 3vw, 3.4rem); letter-spacing: -.06em; }
.device-content small { color: #8ca3b2; }
.device-progress { width: 100%; height: 7px; margin: 35px 0; overflow: hidden; border-radius: 10px; background: #ffffff10; }
.device-progress span { display: block; width: var(--progress); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #3498db, #8bd3ff); box-shadow: 0 0 16px #3498db; animation: progress-in 1s .3s cubic-bezier(.2,.8,.25,1) both; }
.device-rows { width: 100%; }
.device-rows i { display: block; height: 42px; margin-top: 9px; border: 1px solid #ffffff09; border-radius: 12px; background: linear-gradient(90deg, #ffffff0d, #ffffff05); }
.floating-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; padding: 11px 15px; border: 1px solid #ffffff20; border-radius: 14px; color: #e9f6ff; background: #172b3dcc; backdrop-filter: blur(14px); box-shadow: 0 18px 40px #0007; font-size: .72rem; font-weight: 650; animation: chip-float 4.5s ease-in-out infinite alternate; }
.chip-top { top: 55px; left: 0; }
.chip-bottom { right: -8px; bottom: 78px; animation-delay: -2.2s; }
.chip-bottom span { width: 7px; height: 7px; border-radius: 50%; background: #58d68d; box-shadow: 0 0 10px #58d68d; }
.visual-orbit { position: absolute; width: 360px; height: 360px; border: 1px solid #ffffff12; border-radius: 50%; animation: orbit-breathe 9s ease-in-out infinite alternate; }
.orbit-b { width: 440px; height: 440px; animation-delay: -4s; }
.service-hint { position: relative; margin: 20px 0 0; color: #778b99; text-align: center; font-size: .72rem; }
.service-hint i { margin-right: 8px; }
.service-fallback { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 20px; background: #0b1725; }
.service-fallback a { color: #fff; }

/* Detailed service stories */
.feature-stories { padding: clamp(90px, 11vw, 155px) 0; background: #fff; }
.feature-intro { max-width: 780px; margin-bottom: 80px; }
.feature-intro h2 { letter-spacing: -.04em; }
.feature-intro > p:last-child { max-width: 650px; color: #687c8b; font-size: 1.08rem; }
.feature-story { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: clamp(45px, 7vw, 100px); align-items: center; margin-bottom: clamp(120px, 15vw, 210px); }
.feature-story:last-child { margin-bottom: 0; }
.story-reverse .feature-image-wrap { order: 2; }
.story-reverse .feature-story-copy { order: 1; }
.feature-image-wrap { position: relative; min-width: 0; border-radius: 28px; overflow: hidden; box-shadow: 0 35px 75px #1a334827; transform: translateY(var(--parallax-y, 0px)) perspective(1200px) rotateY(var(--depth-y, 0deg)) rotateX(var(--depth-x, 0deg)); transition: transform .25s ease-out; }
.feature-image-wrap img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transform: scale(1.035); transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.feature-story:hover .feature-image-wrap img { transform: scale(1.08); }
.image-wash { position: absolute; inset: 0; background: linear-gradient(160deg, transparent 50%, #0713219c); pointer-events: none; }
.image-caption { position: absolute; left: 24px; bottom: 20px; color: #fff; font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.feature-story-copy h3 { margin-bottom: 20px; font-size: clamp(2.2rem, 4vw, 4.1rem); line-height: 1; letter-spacing: -.055em; }
.feature-story-copy > p { color: #637887; font-size: 1.05rem; line-height: 1.8; }
.story-points { margin: 30px 0 32px; border-top: 1px solid #dce5eb; }
.story-points > div { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid #dce5eb; }
.story-points > div > span { color: #3498db; font-size: .68rem; letter-spacing: .1em; padding-top: 3px; }
.story-points p { display: flex; flex-direction: column; gap: 3px; margin: 0; }
.story-points strong { color: #263d50; font-size: .92rem; }
.story-points small { color: #748794; line-height: 1.55; }
.story-link, .vision-link { display: inline-flex; align-items: center; gap: 13px; color: var(--primary-color); text-decoration: none; font-weight: 700; }
.story-link i, .vision-link i { transition: transform .3s ease; }
.story-link:hover i, .vision-link:hover i { transform: translateX(5px); }
.dashboard-demo { grid-column: 1 / -1; position: relative; width: min(920px, 88%); min-height: 360px; margin: -72px auto 0; border: 1px solid #ffffff42; border-radius: 24px; overflow: hidden; color: #e9f6ff; background: #0a1724e8; backdrop-filter: blur(22px); box-shadow: 0 32px 75px #0b1d2e61, inset 0 1px #ffffff25; z-index: 4; }
.story-reverse .dashboard-demo { transform: translateX(-3%); }
.dashboard-topbar { display: flex; justify-content: space-between; align-items: center; min-height: 54px; padding: 0 22px; border-bottom: 1px solid #ffffff10; color: #badcf1; font-size: .76rem; font-weight: 700; }
.dashboard-topbar > span i { margin-right: 9px; color: #67bced; }
.dashboard-topbar > div { display: flex; gap: 6px; }
.dashboard-topbar > div i { width: 7px; height: 7px; border-radius: 50%; background: #ffffff2b; }
.learning-dashboard, .portfolio-dashboard, .print-dashboard { display: grid; grid-template-columns: 1fr .7fr 1.15fr; align-items: center; gap: 28px; min-height: 305px; padding: 30px; background: radial-gradient(circle at 35% 45%, #3498db18, transparent 35%); }
.dash-welcome, .portfolio-total { display: flex; flex-direction: column; }
.dash-welcome small, .portfolio-total small { color: #7090a5; text-transform: uppercase; letter-spacing: .14em; font-size: .58rem; }
.dash-welcome strong, .portfolio-total strong { margin: 8px 0 16px; font-size: 1.45rem; }
.dash-welcome span, .portfolio-total span { color: #77c5ef; font-size: .74rem; }
.lesson-ring { display: grid; place-items: center; width: 140px; height: 140px; margin: auto; border-radius: 50%; background: conic-gradient(#3498db 0 68%, #ffffff12 68%); box-shadow: 0 0 35px #3498db21; animation: ring-breathe 3s ease-in-out infinite; }
.lesson-ring::before { content: ''; grid-area: 1 / 1; width: 112px; height: 112px; border-radius: 50%; background: #0b1927; }
.lesson-ring span { grid-area: 1 / 1; z-index: 1; font-size: 2rem; font-weight: 800; }
.lesson-ring small { color: #7aa6bf; font-size: .75rem; }
.lesson-list { display: flex; flex-direction: column; gap: 9px; }
.lesson-list > div { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border: 1px solid #ffffff0d; border-radius: 12px; color: #7792a5; background: #ffffff05; }
.lesson-list > div.active { color: #fff; border-color: #3498db55; background: #3498db18; transform: translateX(-8px); }
.lesson-list i { width: 24px; text-align: center; color: #69bdec; }
.lesson-list span { display: flex; flex-direction: column; font-size: .75rem; }
.lesson-list small { color: #648197; }
.portfolio-dashboard { grid-template-columns: .8fr 1.4fr .75fr; }
.portfolio-total span i { margin-right: 6px; color: #58d68d; }
.chart-bars { display: flex; align-items: flex-end; gap: 9px; height: 170px; padding: 18px; border-bottom: 1px solid #ffffff1a; }
.chart-bars i { flex: 1; height: var(--bar); border-radius: 5px 5px 0 0; background: linear-gradient(#79ccfb, #237bb1); transform-origin: bottom; animation: bar-rise 2s cubic-bezier(.2,.8,.25,1) infinite alternate; animation-delay: calc(var(--bar) * -20ms); }
.allocation { display: flex; flex-direction: column; gap: 12px; }
.allocation > div { display: grid; grid-template-columns: 10px 1fr auto; gap: 9px; align-items: center; color: #8da5b5; font-size: .7rem; }
.allocation strong { color: #fff; }
.dot { width: 7px; height: 7px; border-radius: 50%; }
.equity { background: #3498db; }.funds { background: #58d68d; }.cash { background: #d7e7f0; }
.portfolio-chart { min-width: 0; }
.chart-axis { display: flex; justify-content: space-between; margin-bottom: 14px; color: #718c9e; font-size: .58rem; text-transform: uppercase; letter-spacing: .1em; }
.portfolio-chart svg { width: 100%; height: 145px; overflow: visible; }
.chart-area { fill: url(#portfolio-fill); opacity: 0; transition: opacity .8s ease; }
.chart-line { fill: none; stroke: #69c7fa; stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-dasharray: 650; stroke-dashoffset: 650; filter: drop-shadow(0 0 7px #3498db88); }
.portfolio-chart circle { fill: #b4e5ff; stroke: #3498db; stroke-width: 3; opacity: 0; }
.scroll-in-view .chart-line, .dashboard-demo.scroll-in-view .chart-line { animation: chart-draw 1.8s .25s ease-out forwards; }
.scroll-in-view .chart-area, .dashboard-demo.scroll-in-view .chart-area { opacity: 1; transition-delay: .8s; }
.scroll-in-view .portfolio-chart circle, .dashboard-demo.scroll-in-view .portfolio-chart circle { animation: point-in .45s 1.75s ease-out forwards; }
.portfolio-widgets { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.portfolio-widgets > div { display: grid; grid-template-columns: 34px 1fr auto; gap: 11px; align-items: center; padding: 10px 13px; border: 1px solid #ffffff0e; border-radius: 12px; background: #ffffff05; }
.portfolio-widgets i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: #73c7f5; background: #3498db17; }
.portfolio-widgets span { display: flex; flex-direction: column; font-size: .68rem; }.portfolio-widgets small { color: #668296; }
.portfolio-widgets strong { color: #a4daf6; font-size: .72rem; }
.print-dashboard { grid-template-columns: 1.2fr .9fr .9fr; }
.upload-zone { display: flex; flex-direction: column; align-items: center; padding: 30px; border: 1px dashed #3498db66; border-radius: 18px; background: #3498db0c; }
.upload-zone > i { margin-bottom: 12px; color: #72c7f7; font-size: 2.2rem; animation: upload-float 2.2s ease-in-out infinite alternate; }
.upload-zone small, .print-options small, .print-status small { color: #6f8a9d; }
.upload-line { width: 100%; height: 4px; margin-top: 20px; border-radius: 4px; background: #ffffff12; overflow: hidden; }
.upload-line span { display: block; height: 100%; background: #3498db; animation: upload-progress 3s ease-in-out infinite; }
.print-options { display: flex; flex-direction: column; gap: 10px; }
.print-options > span { display: flex; flex-direction: column; padding: 15px; border: 1px solid #ffffff0f; border-radius: 13px; font-size: .78rem; background: #ffffff05; }
.print-options i { margin-right: 7px; color: #74c4f1; }
.print-status { display: flex; gap: 12px; align-items: center; }
.print-status > i { color: #58d68d; font-size: 1.7rem; }
.print-status p { display: flex; flex-direction: column; margin: 0; font-size: .74rem; }

/* Animated product reels */
.product-reels { padding: clamp(80px, 10vw, 140px) 0; color: #fff; background: #08131f; }
.reels-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 50px; }
.reels-heading h2 { letter-spacing: -.04em; }
.reels-heading > p { max-width: 380px; color: #829bab; }
.reel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.motion-reel { min-width: 0; }
.reel-media { position: relative; aspect-ratio: .82; border: 1px solid #ffffff19; border-radius: 24px; overflow: hidden; background: #102234; }
.reel-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, #06101ed9); pointer-events: none; }
.reel-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) brightness(.72); transform: scale(1.08); }
.motion-reel.is-playing .reel-media img { animation: reel-zoom 8s ease-in-out infinite alternate; }
.reel-scan { position: absolute; z-index: 2; left: 0; right: 0; top: -30%; height: 28%; background: linear-gradient(transparent, #8bd5ff2c, transparent); }
.motion-reel.is-playing .reel-scan { animation: reel-scan 4s linear infinite; }
.reel-frame { position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; max-width: 80%; padding: 10px 13px; border: 1px solid #ffffff27; border-radius: 12px; color: #fff; background: #0a1a29c9; backdrop-filter: blur(12px); font-size: .7rem; opacity: 0; }
.frame-one { left: 20px; top: 24px; }.frame-two { right: 20px; bottom: 66px; }
.motion-reel.is-playing .frame-one { animation: reel-caption 8s ease-in-out infinite; }
.motion-reel.is-playing .frame-two { animation: reel-caption 8s 3.5s ease-in-out infinite; }
.reel-control { position: absolute; z-index: 5; left: 20px; bottom: 18px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #ffffff3b; border-radius: 50%; color: #fff; background: #07131f99; }
.reel-progress { position: absolute; z-index: 4; left: 66px; right: 20px; bottom: 33px; height: 2px; background: #ffffff2b; overflow: hidden; }
.reel-progress span { display: block; width: 100%; height: 100%; background: #76c8f7; transform-origin: left; }
.motion-reel.is-playing .reel-progress span { animation: reel-progress 8s linear infinite; }
.reel-copy { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 20px 5px; }
.reel-copy > span { color: #4f7086; font-size: .66rem; }
.reel-copy h3 { margin: 0 0 4px; font-size: 1rem; }
.reel-copy p { margin: 0; color: #7891a2; font-size: .78rem; }

/* Vision */
.vision-section { position: relative; min-height: 780px; display: flex; align-items: center; overflow: hidden; color: #fff; background: linear-gradient(130deg, #173b5c, #08131f 68%); }
.vision-grid { position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(#ffffff0a 1px, transparent 1px), linear-gradient(90deg, #ffffff0a 1px, transparent 1px); background-size: 70px 70px; -webkit-mask-image: radial-gradient(circle at 70% 50%, #000, transparent 65%); mask-image: radial-gradient(circle at 70% 50%, #000, transparent 65%); }
.vision-content { position: relative; z-index: 2; padding-block: 100px; }
.vision-content > * { max-width: 720px; }
.vision-content h2 { font-size: clamp(3rem, 6.6vw, 7rem); line-height: .93; letter-spacing: -.065em; text-wrap: balance; }
.vision-content h2 em { color: #7bcaf7; font-family: Georgia, serif; font-weight: 400; }
.vision-content > p:not(.section-kicker) { margin: 35px 0; color: #adbfcb; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.8; }
.vision-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 40px; }
.vision-pillars > div { display: flex; flex-direction: column; padding: 18px; border: 1px solid #ffffff15; border-radius: 16px; background: #ffffff08; backdrop-filter: blur(10px); }
.vision-pillars span { color: #5ba9d5; font-size: .6rem; }
.vision-pillars strong { margin: 8px 0 5px; }
.vision-pillars small { color: #8098a8; line-height: 1.5; }
.vision-link { color: #fff; }
.vision-sphere { position: absolute; right: -8vw; top: 50%; width: min(46vw, 650px); aspect-ratio: 1; transform: translateY(calc(-50% + var(--parallax-y, 0px))); }
.vision-sphere > i { position: absolute; inset: 0; border: 1px solid #63b8e838; border-radius: 50%; animation: sphere-spin 14s linear infinite; }
.vision-sphere > i:nth-child(2) { transform: rotateX(68deg); animation-duration: 18s; }
.vision-sphere > i:nth-child(3) { transform: rotateY(68deg); animation-duration: 22s; }
.vision-sphere > span { position: absolute; inset: 25%; display: grid; place-items: center; border: 1px solid #80cdf84d; border-radius: 50%; color: #9bd9fb; background: radial-gradient(circle, #3498db42, #3498db08 60%, transparent 70%); box-shadow: 0 0 80px #3498db38; font-size: 3.5rem; animation: ring-breathe 4s ease-in-out infinite; }
.project-card { position: relative; border: 1px solid #2c3e500c; transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.project-number { display: flex; align-items: center; gap: 15px; color: #58758a; font-size: .75rem; letter-spacing: .1em; margin-bottom: 24px; }
.project-number span { height: 1px; background: linear-gradient(90deg, #3498db66, transparent); flex: 1; }
.home-cta { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--primary-color), var(--secondary-color)) !important; }
.home-cta .btn { align-self: center; border-radius: 30px; padding-inline: 30px; }
.btn { transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease; }
a:focus-visible, button:focus-visible { outline: 3px solid #3498db; outline-offset: 5px; }
.hero-section a:focus-visible, .motion-toggle:focus-visible, .navbar a:focus-visible { outline-color: white; }
@media (hover: hover) {
    .project-card:hover { transform: translateY(-7px); border-color: #3498db55; box-shadow: 0 16px 36px #2c3e501c; }
    .card .fa-3x { transition: transform .35s ease; }
    .card:hover .fa-3x { transform: translateY(-4px) rotate(-5deg); }
    .btn:not(:disabled):hover { transform: translateY(-3px); }
}
/* Content remains visible if JavaScript is unavailable. Only upcoming elements hide. */
.motion-pending { opacity: 0; transform: translateY(24px); }
.motion-visible { animation: reveal-in .75s cubic-bezier(.2,.65,.3,1) both; animation-delay: var(--reveal-delay, 0ms); }
.motion-pending:focus-within { opacity: 1; transform: none; }
@keyframes reveal-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes atmosphere-drift { to { transform: translate(65px, 35px) scale(1.15); } }
@keyframes orbit-breathe { to { transform: rotate(24deg) scale(1.07); } }
@keyframes panel-enter { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes progress-in { from { width: 0; } }
@keyframes chip-float { to { transform: translateY(-12px); } }
@keyframes status-pulse { 50% { box-shadow: 0 0 0 9px #58d68d00; } }
@keyframes ring-breathe { 50% { transform: scale(1.04); filter: brightness(1.18); } }
@keyframes bar-rise { from { transform: scaleY(.25); opacity: .45; } to { transform: scaleY(1); opacity: 1; } }
@keyframes upload-float { to { transform: translateY(-7px); } }
@keyframes upload-progress { 0% { width: 0; } 55%, 100% { width: 100%; } }
@keyframes reel-zoom { to { transform: scale(1.16) translate3d(-1.5%, -1%, 0); } }
@keyframes reel-scan { to { transform: translateY(470%); } }
@keyframes reel-caption { 0%, 10%, 48%, 100% { opacity: 0; transform: translateY(10px); } 18%, 40% { opacity: 1; transform: none; } }
@keyframes reel-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes sphere-spin { to { rotate: 360deg; } }
@keyframes nav-line { to { transform: scaleX(1); } }
@keyframes interior-orbit { to { transform: translate3d(35px, 24px, 0) rotate(18deg) scale(1.06); } }
@keyframes interior-title { from { opacity: 0; transform: translateY(24px); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes page-reveal { from { opacity: 0; transform: translateY(34px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes icon-hover { to { transform: translateY(-7px) rotate(-3deg); } }
@keyframes menu-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes chart-draw { to { stroke-dashoffset: 0; } }
@keyframes point-in { from { opacity: 0; transform: scale(0); transform-origin: center; } to { opacity: 1; transform: scale(1); } }
@keyframes child-step { from { opacity: 0; transform: translateY(13px); } to { opacity: 1; transform: none; } }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }
.motion-paused .motion-pending, .motion-paused .motion-visible { opacity: 1; transform: none; animation: none; }
.motion-paused { scroll-behavior: auto; }
.motion-paused .card, .motion-paused .btn, .motion-paused .project-card, .motion-paused .fa-3x, .motion-paused .nav-link, .motion-paused .hero-explore i { transition: none; transform: none; }
@media (max-width: 575px) {
    .home-hero { padding: 80px 0 65px; }
    .hero-explore { margin-top: 42px; }
    .hero-orbit { right: -500px; }
    .hero-orbit-two { right: -575px; }
    .home-hero h1 .hero-mark { display: block; margin: 0 0 20px !important; }
}
@media (max-width: 991px) {
    .site-nav { min-height: 70px; }
    .site-nav .navbar-collapse { margin: 10px 0 16px; padding: 14px; border: 1px solid #ffffff1c; border-radius: 18px; background: #091b29e8; }
    .site-nav .navbar-nav { align-items: stretch !important; }
    .service-menu { width: 100%; margin: 5px 0 !important; }
    .service-menu-links { grid-template-columns: 1fr; }
    .service-menu-intro { padding: 18px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .value-ribbon .container { grid-template-columns: 1fr; }
    .value-ribbon .container > div { border-right: 1px solid #ffffff12; border-bottom: 1px solid #ffffff12; }
    .roadmap-track { grid-template-columns: 1fr; }
    .roadmap-track::before { display: none; }
    .service-stage { display: block; min-height: auto; }
    .service-tabs { flex-direction: row; padding: 12px; overflow-x: auto; border-right: 0; border-bottom: 1px solid #dce7ee; scrollbar-width: thin; }
    .service-tab { flex: 0 0 auto; min-height: 58px; grid-template-columns: 24px auto; padding: 10px 14px; }
    .service-tab > i { display: none; }
    .service-tab.is-active { transform: none; }
    .service-panels { min-height: 810px; }
    .service-panel { grid-template-columns: 1fr; gap: 5px; padding: 38px; }
    .service-copy { align-self: end; }
    .service-visual { min-height: 370px; }
    .service-device { width: 220px; }
    .device-content { padding: 20px; }
    .device-progress { margin: 20px 0; }
    .device-rows i { height: 28px; }
    .feature-story, .feature-story.story-reverse { grid-template-columns: 1fr; gap: 36px; }
    .story-reverse .feature-image-wrap, .story-reverse .feature-story-copy { order: initial; }
    .dashboard-demo, .story-reverse .dashboard-demo { width: 94%; margin-top: -55px; transform: none; }
    .reel-grid { grid-template-columns: repeat(2, 1fr); }
    .vision-sphere { opacity: .28; right: -25vw; width: 90vw; }
}
@media (max-width: 575px) {
    .utility-bar .container > span { display: none; }
    .utility-bar .container { justify-content: center; }
    .brand-lockup small { display: none; }
    .brand-lockup .navbar-logo { height: 34px !important; }
    .service-menu-intro { display: none; }
    .footer-top { align-items: flex-start; flex-direction: column; }
    .footer-cta { white-space: normal; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { grid-template-columns: 1fr auto; }
    .footer-bottom > div { grid-row: 2; grid-column: 1 / -1; }
    .service-explorer { padding: 75px 0; }
    .service-heading { margin-bottom: 30px; }
    .service-stage { border-radius: 22px; }
    .service-panels { min-height: 790px; }
    .service-panel { padding: 30px 22px; }
    .service-copy h3 { font-size: 2.6rem; }
    .service-features { margin-block: 22px; }
    .service-visual { min-height: 330px; }
    .service-device { width: 190px; border-radius: 25px; }
    .device-content { border-radius: 18px; }
    .device-content strong { font-size: 2.2rem; }
    .floating-chip { font-size: .63rem; }
    .chip-top { left: -5px; }
    .chip-bottom { right: -5px; }
    .service-hint { display: none; }
    .feature-intro { margin-bottom: 52px; }
    .feature-story { margin-bottom: 110px; }
    .feature-image-wrap { border-radius: 20px; }
    .dashboard-demo { width: calc(100% - 20px); min-height: auto; margin-top: -45px; }
    .learning-dashboard, .portfolio-dashboard, .print-dashboard { grid-template-columns: 1fr; min-height: auto; padding: 22px; }
    .lesson-ring, .chart-bars, .allocation, .print-options { display: none; }
    .lesson-list > div.active { transform: none; }
    .reels-heading { display: block; }
    .reel-grid { grid-template-columns: 1fr; }
    .reel-media { aspect-ratio: 1.15; }
    .vision-section { min-height: auto; }
    .vision-pillars { grid-template-columns: 1fr; }
    .vision-sphere { right: -55vw; width: 120vw; }
    .page-hero { min-height: 300px; padding: 72px 0; }
    .legal-motion-card .card-body { padding: 28px !important; }
    .legal-motion-card .card-body > .mb-5 { padding-left: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-orb, .hero-orbit, .visual-orbit, .floating-chip, .service-live i, .device-progress span, .lesson-ring, .chart-bars i, .upload-zone > i, .upload-line span, .reel-media img, .reel-scan, .reel-frame, .reel-progress span, .vision-sphere *, .navbar::after, .page-hero::before, .page-hero::after, .page-hero *, .footer::before, .interior-page .card .fa-5x, .interior-page .card .fa-6x, .page-reveal-visible, .motion-visible { animation: none !important; }
    .motion-pending, .motion-visible { opacity: 1; transform: none; }
    .card, .btn, .project-card, .nav-link, .card .fa-3x, .hero-explore i, .page-hero .container, .navbar-logo { transition: none !important; transform: none !important; }
    .page-reveal-pending, .page-reveal-visible { opacity: 1; transform: none; }
    .scroll-reveal, .scroll-reveal.scroll-in-view { opacity: 1; transform: none; filter: none; transition: none; }
    [data-scroll-parallax] { transform: none !important; }
}
