/* Zem Studios premium motion/layout pass v2 */

.brand-logo{display:inline-flex;align-items:center;height:46px;max-width:190px}.brand-logo img{height:100%;width:auto;max-width:190px;object-fit:contain}.footer-logo-image{height:58px;max-width:220px}.footer-logo-image img{max-width:220px}.brand{letter-spacing:0}.scroll-progress{position:absolute;left:0;right:0;bottom:-1px;height:2px;overflow:hidden;pointer-events:none}.scroll-progress span{display:block;width:100%;height:100%;background:linear-gradient(90deg,var(--brand),var(--brand-2),var(--cyan));transform:scaleX(0);transform-origin:left center;will-change:transform}

/* Transform-only scroll motion primitives. */
[data-scroll-depth]{--scroll-y:0px;--scroll-rx:0deg;--scroll-scale:1;transform:translate3d(0,var(--scroll-y),0) rotateX(var(--scroll-rx)) scale(var(--scroll-scale));transform-style:preserve-3d;will-change:transform;transition:box-shadow .35s var(--ease),border-color .35s var(--ease)}
.tilt{--tilt-x:0deg;--tilt-y:0deg;transform:perspective(1100px) translate3d(0,var(--scroll-y,0px),0) rotateX(calc(var(--scroll-rx,0deg) + var(--tilt-x))) rotateY(var(--tilt-y)) scale(var(--scroll-scale,1));transform-style:preserve-3d;will-change:transform}

/* Hero gains controlled scroll depth without hijacking native scrolling. */
.hero-stage{transform:translate3d(0,calc(var(--hero-scroll,0) * -18px),0) scale(calc(1 - max(var(--hero-scroll,0),0) * .015));transform-style:preserve-3d;will-change:transform}.hero-stage .device-card.one{translate:0 calc(var(--hero-scroll,0) * -28px)}.hero-stage .device-card.two{translate:0 calc(var(--hero-scroll,0) * 18px)}.hero-stage .device-card.three{translate:0 calc(var(--hero-scroll,0) * 36px)}

/* Signature story: copy and visual are separate columns. This fixes the previous overlap. */
.story{isolation:isolate;background:radial-gradient(circle at 78% 35%,rgba(81,72,209,.14),transparent 34%),linear-gradient(180deg,#070910,#090c14 65%,#080b12)}
.story-wrap{min-height:245vh}
.story-sticky{position:sticky;top:0;height:100svh;min-height:680px;overflow:hidden;display:grid;grid-template-columns:minmax(0,.78fr) minmax(520px,1.22fr);gap:clamp(44px,6vw,96px);align-items:center;width:min(var(--max),calc(100% - 64px));margin:auto;padding:96px 0 56px}
.story-copy{position:relative;z-index:4;top:auto;width:auto;max-width:540px;text-align:left;align-self:center}.story-copy .h2{font-size:clamp(40px,4.5vw,68px);line-height:.98}.story-copy p{font-size:clamp(16px,1.5vw,20px);line-height:1.7;color:#aab3c7;max-width:470px;margin:22px 0 0}.story-copy .eyebrow{margin-bottom:20px}
.story-steps{display:grid;gap:8px;margin-top:30px}.story-step{display:grid;grid-template-columns:28px 1fr;gap:12px;align-items:center;color:#69748a;font-size:13px;font-weight:700;transition:.35s var(--ease)}.story-step:before{content:attr(data-number);width:28px;height:28px;border:1px solid rgba(255,255,255,.14);border-radius:50%;display:grid;place-items:center;font-size:10px;color:#8993a8}.story-step.active{color:#fff;transform:translateX(7px)}.story-step.active:before{background:#fff;color:#0b1020;border-color:#fff}
.story-visual{width:100%;height:min(62vh,600px);min-height:470px;border-radius:38px;background:linear-gradient(145deg,#151b2d,#080b13);border:1px solid rgba(255,255,255,.12);box-shadow:0 70px 150px rgba(0,0,0,.48);position:relative;overflow:hidden;transform-origin:center center;will-change:transform;align-self:center}.story-visual:before{content:"";position:absolute;inset:-18%;background:radial-gradient(circle at 26% 25%,rgba(159,92,255,.42),transparent 27%),radial-gradient(circle at 80% 78%,rgba(55,185,255,.18),transparent 26%);transform:translate3d(calc((var(--story-p,0) - .5) * 7%),calc((.5 - var(--story-p,0)) * 7%),0);will-change:transform}.story-window{position:absolute;inset:9%;border-radius:26px;background:#f8f9fd;color:#0d1120;padding:24px;display:grid;grid-template-columns:minmax(120px,28%) 1fr;gap:20px;box-shadow:inset 0 1px 0 rgba(255,255,255,.9);transform:translateZ(50px)}.story-sidebar{border-radius:18px;background:linear-gradient(180deg,#eceef5,#e6e9f1);position:relative;overflow:hidden}.story-sidebar:after{content:"";position:absolute;left:18px;right:18px;top:26px;height:9px;border-radius:20px;background:#d3d7e3;box-shadow:0 28px 0 #d8dce6,0 56px 0 #d8dce6,0 84px 0 #d8dce6}.story-main{display:grid;grid-template-rows:.72fr 1.28fr;gap:18px}.story-block{min-height:0!important;height:auto!important;border-radius:18px;background:#fff;border:1px solid #e2e6ef;position:relative;overflow:hidden}.story-block:first-child:before{content:"";position:absolute;left:22px;top:24px;width:36%;height:12px;border-radius:20px;background:#e2e5ed;box-shadow:0 28px 0 #f0f1f5}.story-block:last-child{background:linear-gradient(180deg,#fff,#f3f3ff)}.story-block:last-child:before{content:"";position:absolute;left:26px;right:26px;bottom:24px;height:44%;border-radius:18px;background:linear-gradient(180deg,rgba(91,79,246,.08),rgba(91,79,246,.22));clip-path:polygon(0 70%,14% 50%,28% 62%,46% 25%,62% 45%,77% 12%,100% 30%,100% 100%,0 100%)}

/* Latest releases area: tighter, intentional composition. */
.latest-strip{grid-template-columns:minmax(300px,.82fr) minmax(0,1.18fr);gap:clamp(42px,6vw,86px);align-items:center}.latest-strip>.reveal:first-child{max-width:490px}.release-row{position:relative;overflow:hidden}.release-row:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(91,79,246,.045),transparent);translate:-105% 0;transition:translate .6s var(--ease)}.release-row:hover:before{translate:105% 0}

/* Products page gets a more dimensional catalog without sacrificing readability. */
body[data-page="products"] .page-hero{position:relative;overflow:hidden;background:radial-gradient(circle at 82% 24%,rgba(159,92,255,.12),transparent 30%),radial-gradient(circle at 12% 84%,rgba(55,185,255,.08),transparent 28%)}
body[data-page="products"] .page-hero:after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;right:-150px;bottom:-300px;border:1px solid rgba(91,79,246,.12);box-shadow:0 0 0 70px rgba(91,79,246,.025),0 0 0 140px rgba(91,79,246,.015);pointer-events:none}
.catalog-grid{perspective:1400px}.catalog-card{transform-origin:center center;backface-visibility:hidden}.catalog-card .catalog-media{transform:translateZ(18px)}.catalog-card .catalog-icon{transform:translateZ(36px);transition:transform .45s var(--ease),box-shadow .45s var(--ease)}.catalog-card:hover .catalog-icon{transform:translateZ(50px) scale(1.055);box-shadow:0 24px 62px rgba(48,45,150,.18)}.catalog-card:hover{box-shadow:0 30px 78px rgba(30,39,64,.11);border-color:#c8cfde}.catalog-toolbar{position:sticky;top:82px;z-index:20;padding:14px;border:1px solid rgba(214,220,232,.88);border-radius:22px;background:rgba(246,247,251,.86);backdrop-filter:blur(18px);box-shadow:0 14px 40px rgba(22,29,48,.055);margin-bottom:18px}.filter-row{position:relative;z-index:19;margin-bottom:38px}.catalog-status{display:flex;justify-content:space-between;align-items:center;gap:16px;color:var(--muted);font-size:12px;margin:10px 2px 22px}.catalog-status strong{color:var(--ink)}.catalog-api-badge{display:inline-flex;align-items:center;gap:7px}.catalog-api-badge:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 5px rgba(22,163,107,.09)}

/* API error card should not look like the primary content state. */
.empty-state.api-error{background:#fff;border-style:solid;border-color:#e4e7ef}.empty-state.api-error .retry-actions{display:flex;gap:10px;justify-content:center;margin-top:18px;flex-wrap:wrap}

@media(max-width:1120px){.story-sticky{grid-template-columns:minmax(0,.88fr) minmax(430px,1.12fr);gap:44px;width:min(var(--max),calc(100% - 40px))}.story-copy .h2{font-size:clamp(38px,5vw,58px)}.story-visual{min-height:440px}.latest-strip{grid-template-columns:1fr 1fr}}
@media(max-width:860px){.brand-logo{height:40px;max-width:155px}.brand-logo img{max-width:155px}.story-wrap{min-height:auto}.story-sticky{position:relative;top:auto;height:auto;min-height:0;display:grid;grid-template-columns:1fr;padding:92px 0;gap:48px;overflow:visible}.story-copy{max-width:680px}.story-visual{width:100%;height:min(70vw,520px);min-height:390px;transform:none!important}.story-steps{grid-template-columns:repeat(3,1fr)}.story-step{grid-template-columns:1fr;align-items:start}.story-step.active{transform:none}.latest-strip{grid-template-columns:1fr}.catalog-toolbar{top:74px}}
@media(max-width:560px){.story-sticky{width:min(100% - 28px,var(--max));padding:76px 0}.story-copy .h2{font-size:clamp(38px,11vw,52px)}.story-copy p{font-size:16px}.story-steps{grid-template-columns:1fr}.story-step{grid-template-columns:28px 1fr}.story-visual{height:360px;min-height:360px;border-radius:28px}.story-window{inset:7%;padding:16px;grid-template-columns:1fr}.story-sidebar{display:none}.catalog-toolbar{position:relative;top:auto;padding:10px}.footer-logo-image{height:48px}}
@media(prefers-reduced-motion:reduce){[data-scroll-depth],.tilt,.hero-stage,.story-visual{transform:none!important;translate:none!important}.scroll-progress{display:none}}

/* Catalog cards enter with a restrained stagger, then hand control to scroll depth/tilt. */
.catalog-enter{animation:catalogEnter .68s var(--ease) both;animation-delay:calc(min(var(--card-i,0),8) * 55ms)}
@keyframes catalogEnter{from{opacity:0;translate:0 22px}to{opacity:1;translate:0 0}}
body[data-page="products"] .page-hero .shell{will-change:transform}
@media(prefers-reduced-motion:reduce){.catalog-enter{animation:none!important}}

/* v2.3 Hero 3D composition correction: keep the scene inside its column and viewport. */
@media(min-width:1025px){
  .hero-inner{grid-template-columns:minmax(0,1.08fr) minmax(480px,.92fr);gap:clamp(34px,4vw,64px);padding:88px 0 64px}
  .hero-copy{position:relative;z-index:3;min-width:0}
  .hero-stage{height:540px;width:min(100%,610px);justify-self:end;align-self:center;isolation:isolate;perspective:1500px;transform-origin:50% 50%}
  .stage-orb{inset:11% 8% 9%;border-radius:46%;box-shadow:0 55px 90px rgba(63,52,180,.20)}
  .device-card.one{width:51%;height:48%;left:2%;top:16%;border-radius:27px;transform:rotateY(14deg) rotateX(7deg) rotateZ(-5deg) translateZ(18px)}
  .device-card.two{width:45%;height:54%;right:1%;top:24%;border-radius:29px;transform:rotateY(-16deg) rotateX(5deg) rotateZ(5deg) translateZ(32px)}
  .device-card.three{width:54%;height:15%;left:23%;bottom:7%;border-radius:20px;transform:translateZ(52px) rotateX(67deg);opacity:.78}
  .mock-top{height:36px}.mock-body{padding:15px}.mock-title{font-size:24px}.mock-chart{height:72px;margin-top:16px}.mock-list{margin-top:14px;gap:7px}
}
@media(min-width:1280px) and (max-height:860px){
  .hero{min-height:760px}
  .hero-inner{padding-top:74px;padding-bottom:48px}
  .hero-stage{height:500px;width:min(100%,575px)}
  .stage-orb{inset:12% 9% 10%}
  .display{font-size:clamp(64px,6.7vw,96px)}
  .hero-copy p{margin:22px 0 28px}
  .trust-row{margin-top:28px}
}
@media(max-width:1024px){
  .hero-stage{width:min(100%,620px);overflow:visible}
  .stage-orb{inset:13% 9% 10%}
}
@media(max-width:780px){
  .hero-stage{width:min(100%,520px)}
  .device-card.one{left:4%;top:13%;width:55%;height:52%;transform:rotateY(11deg) rotateX(5deg) rotateZ(-4deg)}
  .device-card.two{right:4%;top:23%;width:48%;height:56%;transform:rotateY(-12deg) rotateX(4deg) rotateZ(4deg)}
  .device-card.three{left:22%;bottom:4%;width:56%;height:17%}
}
@media(max-width:430px){
  .stage-orb{inset:14% 7% 11%}
  .device-card.one{left:2%;width:56%}
  .device-card.two{right:2%;width:48%}
  .device-card.three{left:20%;width:60%}
}

/* ===== FINAL PREMIUM PASS: nav, catalog motion, product showcase, gallery ===== */
.nav-icon-btn{position:relative;display:grid;place-items:center;overflow:visible}
.nav-icon-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .28s var(--ease),stroke-width .28s ease}
.nav-icon-btn:hover svg{transform:scale(1.08);stroke-width:2.1}
.cart-toggle-btn .cart-badge{position:absolute;right:-3px;top:-4px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:linear-gradient(135deg,#5b4ff6,#8b5cff);color:#fff;border:2px solid rgba(255,255,255,.96);font-size:10px;font-weight:800;line-height:14px;display:grid;place-items:center;box-shadow:0 5px 16px rgba(91,79,246,.34)}
.cart-toggle-btn .cart-badge[hidden]{display:none}

/* Catalog hero and motion */
.catalog-page-hero{position:relative;overflow:hidden;isolation:isolate;padding-bottom:72px}
.catalog-page-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 79% 20%,rgba(107,84,255,.10),transparent 28%),linear-gradient(180deg,#fafbff 0%,#f5f7fb 100%);z-index:-2}
.catalog-hero-orb{position:absolute;right:-6vw;top:18%;width:min(38vw,560px);aspect-ratio:1;border-radius:42% 58% 60% 40%/47% 42% 58% 53%;background:linear-gradient(145deg,rgba(91,79,246,.12),rgba(89,188,255,.07));filter:blur(.1px);transform:rotate(18deg);z-index:-1}
.catalog-page-hero .shell{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:72px;align-items:end}
.catalog-hero-copy{max-width:760px}.catalog-hero-copy .h1{max-width:760px}
.catalog-hero-rail{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;align-content:end;padding-bottom:9px}
.catalog-hero-rail span{min-height:70px;border:1px solid rgba(151,161,184,.24);border-radius:20px;background:rgba(255,255,255,.62);backdrop-filter:blur(14px);display:flex;align-items:flex-end;padding:16px 18px;font-size:13px;font-weight:800;color:#5b6476;letter-spacing:.02em;transition:transform .35s var(--ease),background .35s ease,box-shadow .35s ease}
.catalog-hero-rail span:nth-child(2){transform:translateY(-16px)}
.catalog-hero-rail span:nth-child(4){transform:translateY(-10px)}
.catalog-hero-rail span:hover{background:#fff;box-shadow:0 20px 55px rgba(37,43,63,.10);transform:translateY(-6px)}
.catalog-card.reveal{transition-delay:var(--reveal-delay,0ms)}
.catalog-card{will-change:transform;transform:perspective(1200px) translate3d(0,var(--scroll-y,0),0) rotateX(calc(var(--tilt-x,0deg) + var(--scroll-rx,0deg))) rotateY(var(--tilt-y,0deg)) scale(var(--scroll-scale,1));transition:box-shadow .42s var(--ease),border-color .42s ease,opacity .72s var(--ease),transform .72s var(--ease)}
.catalog-card.visible:hover{box-shadow:0 30px 90px rgba(26,32,52,.13);border-color:rgba(91,79,246,.22)}
.catalog-media{overflow:hidden}.catalog-media img{transition:transform .65s var(--ease),filter .65s ease}.catalog-card:hover .catalog-media img{transform:scale(1.035)}

/* Product showcase */
.product-view-page{background:#f6f7fb}
.product-showcase{position:relative;overflow:hidden;padding:calc(var(--header) + 78px) 0 100px;min-height:780px;display:flex;align-items:center;isolation:isolate}
.product-showcase:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 78% 18%,rgba(118,89,255,.18),transparent 27%),radial-gradient(circle at 15% 88%,rgba(66,178,255,.08),transparent 25%),linear-gradient(180deg,#fbfcff 0%,#f2f4f9 100%);z-index:-3}
.product-ambient{position:absolute;width:680px;height:680px;border-radius:46% 54% 63% 37%/53% 41% 59% 47%;background:linear-gradient(135deg,rgba(91,79,246,.10),rgba(49,174,255,.05));right:-250px;top:50px;filter:blur(1px);transform:rotate(22deg);z-index:-2}
.product-showcase-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(380px,.92fr);gap:clamp(52px,7vw,108px);align-items:center}
.product-visual-shell{position:relative;min-height:600px;border-radius:40px;border:1px solid rgba(143,151,174,.22);background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(230,233,244,.74));box-shadow:0 42px 120px rgba(28,34,54,.13);overflow:hidden;display:grid;place-items:center;transform:perspective(1500px) translate3d(0,var(--scroll-y,0),0) rotateX(calc(var(--tilt-x,0deg) + var(--scroll-rx,0deg))) rotateY(var(--tilt-y,0deg)) scale(var(--scroll-scale,1));transform-style:preserve-3d}
.product-visual-shell:before{content:"";position:absolute;inset:12%;border-radius:50%;background:radial-gradient(circle,rgba(109,83,255,.15),rgba(109,83,255,0) 66%);filter:blur(10px)}
.product-hero-art{position:relative;z-index:2;width:88%;height:88%;object-fit:contain;filter:drop-shadow(0 32px 45px rgba(25,31,51,.18));transform:translateZ(38px);transition:transform .55s var(--ease)}
.product-visual-shell:hover .product-hero-art{transform:translateZ(52px) scale(1.015)}
.product-art-fallback{width:180px;height:180px;border-radius:44px;background:linear-gradient(145deg,#141a2a,#6b52ff);color:#fff;font-size:64px;font-weight:900;display:grid;place-items:center;box-shadow:0 34px 80px rgba(66,48,213,.32);position:relative;z-index:2}
.product-visual-glow{position:absolute;left:15%;right:15%;bottom:5%;height:20%;background:radial-gradient(ellipse,rgba(88,72,246,.25),transparent 70%);filter:blur(22px)}
.product-floating-chip{position:absolute;left:24px;bottom:24px;z-index:4;padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.80);border:1px solid rgba(255,255,255,.85);backdrop-filter:blur(14px);font-size:12px;font-weight:800;color:#4f596e;box-shadow:0 10px 30px rgba(25,31,49,.09)}
.product-summary{max-width:620px}.product-detail-icon{width:88px;height:88px;border-radius:24px;margin-bottom:30px;background:#fff;border:1px solid rgba(150,160,183,.22);box-shadow:0 22px 60px rgba(30,36,56,.12);overflow:hidden;display:grid;place-items:center;font-size:32px;font-weight:900}
.product-detail-icon img{width:100%;height:100%;object-fit:cover}
.product-title{font-size:clamp(54px,6vw,92px);letter-spacing:-.065em;line-height:.92;margin:14px 0 26px;max-width:720px}
.product-tagline{font-size:clamp(18px,1.65vw,23px);line-height:1.55;color:#657087;max-width:620px;margin:0 0 26px}
.product-fact-row{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 28px}.product-fact-row span{padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.70);border:1px solid rgba(145,155,178,.22);font-size:12px;font-weight:800;color:#556075}
.product-primary-actions{margin-top:32px}.btn-lg{min-height:58px;padding:0 24px;font-size:15px}.product-primary-actions .btn span{display:inline-block;margin-left:8px;transition:transform .28s ease}.product-primary-actions .btn:hover span{transform:translate(3px,-2px)}
.product-trust-note{margin:18px 0 0;color:#8a93a7;font-size:12px}
.premium-empty{min-height:430px;display:grid;place-items:center;text-align:center;align-content:center;gap:13px}

/* Product story */
.product-story{background:#fff;border-top:1px solid rgba(145,155,178,.16)}
.product-story-head{max-width:780px;margin-bottom:48px}.product-story-head .h2{margin-top:10px}
.product-story-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.65fr);gap:28px;align-items:start}
.product-main-column{display:grid;gap:22px}.product-side-column{display:grid;gap:18px}
.premium-panel{border:1px solid rgba(145,155,178,.20);background:linear-gradient(180deg,#fff,#fbfcfe);border-radius:30px;padding:clamp(28px,3vw,42px);box-shadow:0 18px 65px rgba(29,36,56,.055);transform:translate3d(0,var(--scroll-y,0),0) rotateX(var(--scroll-rx,0deg)) scale(var(--scroll-scale,1));transform-origin:center center}
.panel-kicker{display:block;color:#6558ee;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.16em;margin-bottom:16px}.panel-heading h3,.gallery-heading h3{font-size:clamp(28px,3vw,42px);letter-spacing:-.045em;margin:4px 0 0}
.product-long-copy p{font-size:clamp(17px,1.5vw,20px);line-height:1.78;color:#606b82;margin:0 0 1.05em}.product-long-copy p:last-child{margin-bottom:0}
.premium-feature-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:26px}
.premium-feature-list li{display:grid;grid-template-columns:30px 1fr;gap:10px;align-items:start;background:#f7f8fb;border:1px solid rgba(145,155,178,.17);border-radius:18px;padding:18px;transition-delay:var(--reveal-delay,0ms)}
.feature-check{width:28px;height:28px;border-radius:10px;display:grid;place-items:center;background:rgba(91,79,246,.10);color:#5b4ff6;font-size:13px;font-weight:900}
.sticky-product-panel{position:sticky;top:calc(var(--header) + 22px)}
.release-facts{display:grid}.release-fact{display:flex;justify-content:space-between;gap:22px;padding:16px 0;border-bottom:1px solid rgba(145,155,178,.16)}.release-fact:last-child{border-bottom:0}.release-fact span{color:#8b94a6;font-size:13px}.release-fact strong{text-align:right;color:#172033;font-size:13px}
.publisher-mark{display:flex;align-items:center;gap:14px;margin:4px 0 18px}.publisher-mark img{width:54px;height:54px;border-radius:16px;object-fit:cover}.publisher-mark strong,.publisher-mark span{display:block}.publisher-mark span{margin-top:4px;color:#8a93a5;font-size:12px}.publisher-panel p{color:#667188;line-height:1.65}.text-link{display:inline-flex;gap:8px;align-items:center;font-weight:750;color:#4f43e9}.text-link span{transition:transform .25s ease}.text-link:hover span{transform:translate(3px,-2px)}

/* Screenshot gallery + lightbox */
.gallery-section{margin-top:18px;padding:22px 0 10px}.gallery-heading{display:flex;justify-content:space-between;align-items:end;gap:28px;margin-bottom:24px}.gallery-heading p{max-width:320px;color:#8891a4;font-size:13px;text-align:right}
.product-screenshot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.product-shot{position:relative;display:block;width:100%;min-height:280px;border:0;padding:0;border-radius:24px;overflow:hidden;background:#eef0f5;cursor:zoom-in;box-shadow:0 14px 44px rgba(28,34,52,.08);transition:transform .5s var(--ease),box-shadow .5s var(--ease);transition-delay:var(--reveal-delay,0ms);text-align:left}.product-shot:nth-child(3n){grid-column:1/-1;min-height:390px}.product-shot img{width:100%;height:100%;min-height:inherit;object-fit:cover;display:block;transition:transform .65s var(--ease),filter .65s ease}.product-shot:hover{transform:translateY(-6px);box-shadow:0 28px 75px rgba(25,31,49,.14)}.product-shot:hover img{transform:scale(1.025);filter:saturate(1.03)}
.shot-zoom-hint{position:absolute;right:14px;bottom:14px;display:flex;gap:8px;align-items:center;padding:9px 11px;border-radius:999px;background:rgba(10,13,23,.72);backdrop-filter:blur(12px);color:#fff;font-size:11px;font-weight:750;opacity:0;transform:translateY(6px);transition:.28s}.product-shot:hover .shot-zoom-hint{opacity:1;transform:none}.shot-zoom-hint svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.screenshot-lightbox{position:fixed;z-index:500;inset:0;display:none;place-items:center}.screenshot-lightbox.open{display:grid}.lightbox-backdrop{position:absolute;inset:0;border:0;background:rgba(5,7,13,.88);backdrop-filter:blur(18px);cursor:zoom-out}.lightbox-stage{position:relative;z-index:2;width:100%;height:100%;display:grid;place-items:center;padding:74px 86px 40px}.lightbox-toolbar{position:absolute;z-index:4;top:18px;left:24px;right:24px;display:flex;justify-content:space-between;align-items:center;color:#fff;font-size:12px;font-weight:800}.lightbox-toolbar>div{display:flex;gap:8px}.lightbox-icon-btn{height:38px;min-width:38px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.09);backdrop-filter:blur(12px);color:#fff;padding:0 12px;font-weight:800;cursor:pointer}.lightbox-icon-btn:hover{background:rgba(255,255,255,.16)}
.lightbox-image-wrap{max-width:100%;max-height:100%;overflow:auto;display:grid;place-items:center;border-radius:18px;scrollbar-width:thin}.lightbox-image-wrap img{max-width:min(88vw,1500px);max-height:82vh;object-fit:contain;transform-origin:center;transition:transform .22s ease;filter:drop-shadow(0 30px 80px rgba(0,0,0,.45));user-select:none}
.lightbox-nav{position:absolute;z-index:4;top:50%;transform:translateY(-50%);width:50px;height:50px;border-radius:50%;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);color:#fff;font-size:34px;line-height:1;cursor:pointer;backdrop-filter:blur(10px)}.lightbox-nav:hover{background:rgba(255,255,255,.16)}.lightbox-nav.prev{left:20px}.lightbox-nav.next{right:20px}
.product-next{background:#0d111d}.product-next .studio-cta{margin:0}.product-next .studio-cta .h2{max-width:780px}

/* Better global page polish */
.page-hero:not(.catalog-page-hero){background:radial-gradient(circle at 82% 10%,rgba(100,82,255,.08),transparent 30%),linear-gradient(180deg,#fafbff,#f6f7fb)}
.content-card,.pricing-card,.profile-card,.bento,.support-card,.legal-card{box-shadow:0 18px 60px rgba(27,34,54,.045)}
.btn{will-change:transform}.btn:hover{transform:translateY(-2px)}
.reveal{transition-delay:var(--reveal-delay,0ms)}

@media(max-width:1080px){
  .catalog-page-hero .shell{grid-template-columns:1fr;gap:38px}.catalog-hero-rail{grid-template-columns:repeat(5,1fr)}.catalog-hero-rail span{min-height:58px}.catalog-hero-rail span:nth-child(n){transform:none}
  .product-showcase-grid{grid-template-columns:1fr;gap:48px}.product-visual-shell{min-height:520px;max-width:820px;width:100%}.product-summary{max-width:800px}.product-story-grid{grid-template-columns:1fr}.sticky-product-panel{position:relative;top:auto}.product-side-column{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:780px){
  .nav-icon-btn svg{width:18px;height:18px}.cart-toggle-btn .cart-badge{right:-4px;top:-4px}
  .catalog-page-hero{padding-bottom:48px}.catalog-hero-rail{grid-template-columns:repeat(2,1fr)}.catalog-hero-rail span:last-child{grid-column:1/-1}
  .product-showcase{padding:calc(var(--header) + 46px) 0 70px;min-height:auto}.product-visual-shell{min-height:390px;border-radius:30px}.product-showcase-grid{gap:34px}.product-title{font-size:clamp(46px,15vw,72px)}.product-tagline{font-size:17px}.product-detail-icon{width:74px;height:74px;border-radius:20px;margin-bottom:22px}.product-fact-row{margin-bottom:22px}.product-primary-actions .btn{width:100%}.product-trust-note{text-align:center}
  .product-story-head{margin-bottom:32px}.premium-panel{border-radius:24px;padding:24px}.premium-feature-list{grid-template-columns:1fr}.product-side-column{grid-template-columns:1fr}.gallery-heading{display:block}.gallery-heading p{text-align:left;margin-top:10px}.product-screenshot-grid{grid-template-columns:1fr}.product-shot,.product-shot:nth-child(3n){grid-column:auto;min-height:250px;border-radius:19px}
  .lightbox-stage{padding:68px 18px 24px}.lightbox-nav{top:auto;bottom:20px}.lightbox-nav.prev{left:18px}.lightbox-nav.next{right:18px}.lightbox-image-wrap img{max-width:94vw;max-height:76vh}.lightbox-toolbar{left:14px;right:14px}.lightbox-toolbar #lightbox-counter{display:none}
}
@media(max-width:430px){
  .catalog-hero-rail{display:none}.product-visual-shell{min-height:320px}.product-floating-chip{left:14px;bottom:14px}.product-title{font-size:46px}.product-primary-actions{gap:8px}.product-story{padding-top:62px}.premium-panel{padding:21px}.publisher-mark img{width:48px;height:48px}.shot-zoom-hint{opacity:1;transform:none}
}
@media(prefers-reduced-motion:reduce){
  .catalog-card,.premium-panel,.product-visual-shell{transform:none!important}.product-shot:hover,.btn:hover{transform:none}.product-hero-art,.product-shot img{transition:none!important}
}

/* v2.5 hero text safety: keep headline above the 3D scene and avoid terminal-glyph crowding. */
.hero-copy{position:relative;z-index:8;isolation:isolate}
.hero-copy .display{position:relative;z-index:9;max-width:780px;overflow:visible;text-wrap:balance}
.hero-copy .gradient-text{position:relative;z-index:10;display:inline-block;letter-spacing:-.045em;padding-right:.075em;overflow:visible}
.hero-stage{z-index:1;pointer-events:none}
@media(min-width:1025px){
  .hero-inner{isolation:isolate}
  .hero-copy{padding-right:clamp(8px,1.2vw,20px)}
  .hero-copy .display{font-size:clamp(62px,6.45vw,94px);line-height:.96;letter-spacing:-.058em}
}
@media(max-width:1024px){
  .hero-copy .display{max-width:760px;margin-inline:auto}
}
@media(max-width:780px){
  .hero-copy .display{line-height:.98;letter-spacing:-.052em}
  .hero-copy .gradient-text{letter-spacing:-.035em;padding-right:.06em}
}
