/* SaaS-FX product page */

/* ---------- Hero ---------- */
.hero{padding:48px 0 56px;position:relative;overflow:hidden}
.hero::before{content:"";position:absolute;inset:-120px 0 auto 0;height:720px;background:radial-gradient(55% 60% at 75% 35%,rgba(10,132,255,.16),transparent 70%),radial-gradient(40% 50% at 12% 8%,rgba(94,92,230,.10),transparent 70%);pointer-events:none;z-index:-1}
.hero__grid{display:grid;grid-template-columns:1.02fr 1fr;gap:48px;align-items:center}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--blue-2);background:var(--blue-soft);padding:6px 12px;border-radius:999px;margin-bottom:20px}
.dot{width:7px;height:7px;border-radius:50%;background:var(--blue);box-shadow:0 0 0 4px rgba(10,132,255,.18)}
.hero h1{font-size:clamp(38px,4.6vw,60px);margin-bottom:18px}
.hero .hero__title{white-space:nowrap;font-size:clamp(52px,5.7vw,86px);font-weight:800;letter-spacing:-.05em;line-height:.98;margin-bottom:14px}
.hero__title .grad{padding-right:.04em}
.hero__tagline{font-size:clamp(21px,1.85vw,27px);font-weight:700;letter-spacing:-.025em;line-height:1.2;color:var(--ink);margin-bottom:12px}
.lead{font-size:clamp(17px,1.5vw,20px);color:var(--ink-2);max-width:34em}

.price{display:flex;align-items:baseline;gap:12px;margin:28px 0 14px;flex-wrap:wrap}
.price__now{font-size:44px;font-weight:800;letter-spacing:-.03em}
.price__was{font-size:22px}
.price__save{font-size:13px;font-weight:800;color:var(--lime-ink);background:var(--lime);padding:5px 11px;border-radius:999px;align-self:center;box-shadow:var(--lime-glow)}
.price--center{justify-content:center}

/* Lime countdown with rolling digits */
.countdown{position:relative;display:inline-block;border-radius:18px;padding:10px 16px 11px;margin:-4px 0 26px 2px;transform:rotate(-2.5deg);transform-origin:0 50%;
  background:linear-gradient(135deg,#e8ff5a 0%,#d4fb2c 45%,#b9f01e 100%);color:#0d0f05;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55),inset 0 -1px 0 rgba(60,90,0,.18),0 14px 30px -14px rgba(120,170,0,.75)}
.countdown__label{font-size:10.5px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:rgba(13,15,5,.7);margin-bottom:4px;display:flex;align-items:center;gap:7px}
.countdown__label::before{content:"";width:6px;height:6px;border-radius:50%;background:#0d0f05;box-shadow:0 0 0 3px rgba(13,15,5,.15);animation:pulse 1.6s ease-in-out infinite}
@keyframes pulse{50%{box-shadow:0 0 0 6px rgba(13,15,5,0)}}
.countdown__grid{display:grid;grid-template-columns:repeat(4,auto);gap:0 18px;justify-content:start}
.cd{position:relative;text-align:center}
.cd+.cd::before{content:":";position:absolute;left:-12px;top:1px;font-size:22px;font-weight:800;line-height:1.1;color:rgba(13,15,5,.35)}
.cd__num{display:flex;justify-content:center;font-size:26px;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-.02em;line-height:1.1;color:#0d0f05}
.cd__unit{display:block;font-size:8.5px;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:rgba(13,15,5,.55);margin-top:1px}
.dg{position:relative;display:inline-block;overflow:hidden;padding:.06em 0;margin:-.06em 0}
.dg>span{display:block}
.dg>.dg__out,.dg>.dg__in{animation-duration:.6s;animation-timing-function:cubic-bezier(.34,1.35,.64,1);animation-fill-mode:both}
.dg>.dg__out{position:absolute;left:0;right:0;top:.06em;animation-name:dgOut}
.dg>.dg__in{animation-name:dgIn}
@keyframes dgOut{from{transform:translateY(0)}to{transform:translateY(100%)}}
@keyframes dgIn{from{transform:translateY(-100%)}to{transform:translateY(0)}}
@media (prefers-reduced-motion:reduce){.dg>.dg__in,.dg>.dg__out{animation:none}.dg>.dg__out{display:none}}

.hero__cta{display:flex;gap:12px;flex-wrap:wrap}
.facts{list-style:none;padding:0;margin:24px 0 0;display:flex;flex-wrap:wrap;gap:10px 20px;font-size:14px;color:var(--ink-2)}
.facts li{display:flex;align-items:center;gap:6px}
.facts svg{width:16px;height:16px;fill:none;stroke:var(--blue);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}

/* ---------- 3D panel ---------- */
.stage3d{position:relative;perspective:1400px;perspective-origin:50% 40%;display:flex;justify-content:center;padding:10px 0 70px;touch-action:pan-y}
.stage3d__inner{position:relative;width:min(100%,440px);perspective:1400px;perspective-origin:50% 40%}
.p3d{position:relative;width:100%;transform-origin:50% 50%;backface-visibility:hidden}
/* live HTML panel: crisp text; depth = machined slab underneath + layered shadow */
.panel.panel--live{box-shadow:
  inset 0 1px 0 rgba(255,255,255,.12),inset 0 0 0 1px rgba(255,255,255,.06),
  0 1px 0 #19191b,0 2px 0 #151517,0 3px 0 #131315,0 4px 0 #111113,0 5px 0 #0f0f11,0 6px 0 #0e0e10,0 7px 0 #0d0d0f,0 8px 0 #0c0c0d,0 9px 0 #0b0b0c,0 10px 0 #0a0a0b,
  0 11px 1px rgba(0,0,0,.35),0 30px 50px -18px rgba(0,0,0,.5),0 60px 90px -40px rgba(10,20,50,.55)}
.panel--live::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(180deg,rgba(255,255,255,.05),transparent 22%);z-index:0}

/* floating Apply button — sits in front of the panel */
.apply-float{position:absolute;right:-34px;bottom:-40px;z-index:3;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.apply3d{--tilt:perspective(700px) rotateY(-18deg) rotateX(6deg) rotateZ(2deg);position:relative;overflow:hidden;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;height:58px;min-width:168px;padding:0 40px;border:0;border-radius:29px;cursor:pointer;
  font:700 20px/1 var(--font);letter-spacing:-.01em;color:#fff;background:linear-gradient(135deg,#3aa0ff 0%,#0a84ff 50%,#0a6cf0 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 10px 24px -8px rgba(10,108,240,.65),0 26px 44px -22px rgba(0,30,90,.45);
  transform:var(--tilt);transition:transform .35s cubic-bezier(.34,1.56,.64,1),box-shadow .35s ease,filter .35s ease}
.apply3d:hover{transform:var(--tilt) translateY(-3px) scale(1.04);filter:brightness(1.07);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 14px 30px -8px rgba(10,108,240,.75),0 32px 50px -22px rgba(0,30,90,.45)}
.apply3d:active{transform:var(--tilt) translateY(1px) scale(.97);transition-duration:.1s;box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 6px 14px -6px rgba(10,108,240,.6)}
.apply3d:focus-visible{outline:3px solid rgba(10,132,255,.45);outline-offset:4px}
.apply3d__txt,.apply3d__done{position:relative;transition:opacity .3s,transform .3s}
.apply3d__done{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:7px;opacity:0;transform:translateY(8px)}
.apply3d__done svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.apply3d.is-done .apply3d__txt{opacity:0;transform:translateY(-8px)}
.apply3d.is-done .apply3d__done{opacity:1;transform:none}
.apply3d .ripple{position:absolute;border-radius:50%;background:rgba(255,255,255,.45);transform:scale(0);animation:ripple .6s ease-out forwards;pointer-events:none}
@keyframes ripple{to{transform:scale(1);opacity:0}}
.apply-cursor{position:absolute;right:30px;bottom:-14px;width:30px;height:30px;fill:#1d1d1f;stroke:#fff;stroke-width:1.5;stroke-linejoin:round;filter:drop-shadow(0 4px 6px rgba(0,0,0,.35));pointer-events:none;transition:opacity .3s,transform .4s cubic-bezier(.2,.7,.2,1)}
.apply-float:hover .apply-cursor,.apply-float.is-used .apply-cursor{opacity:0;transform:translate(10px,10px)}
.panel.is-flash .panel__sheen{transition:none}
.p3d__shadow{position:absolute;left:0;right:0;margin:0 auto;bottom:-62px;width:min(80%,370px);height:58px;border-radius:50%;background:radial-gradient(closest-side,rgba(10,20,40,.55),rgba(10,20,40,.22) 55%,transparent);filter:blur(12px);pointer-events:none;will-change:transform,opacity}
.panel{position:relative;border-radius:26px;padding:14px 14px 16px;background:linear-gradient(160deg,#2a2a2d 0%,#1d1d1f 45%,#161618 100%);box-shadow:0 1px 0 rgba(255,255,255,.08) inset,0 0 0 1px rgba(255,255,255,.06) inset,0 40px 80px -30px rgba(0,0,0,.55),0 18px 36px -18px rgba(0,0,0,.45);overflow:hidden;color:#f5f5f7;user-select:none;-webkit-user-select:none}
.panel__head{display:flex;align-items:center;gap:12px;padding:12px 12px 12px 12px;border-radius:18px;background:linear-gradient(180deg,#323235,#28282b);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 0 0 1px rgba(255,255,255,.05);margin-bottom:6px}
.panel__app{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(160deg,#48484a,#2c2c2e);box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 4px 10px rgba(0,0,0,.35)}
.panel__app svg{width:24px;height:24px;fill:none;stroke:#fff;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.panel__title{font-size:22px;font-weight:800;letter-spacing:-.02em;line-height:1.05}
.panel__title b{color:#0a84ff;font-weight:800}
.panel__ver{font-size:11px;font-weight:600;color:#8e8e93;margin-left:6px;letter-spacing:0;vertical-align:3px}
.panel__tag{font-size:12px;color:#98989d;margin-top:3px}
.panel__toggle{margin-left:auto;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#3a3a3c;box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}
.panel__toggle svg{width:18px;height:18px;fill:none;stroke:#0a84ff;stroke-width:2;stroke-linecap:round}
.panel__cat{display:flex;align-items:center;gap:10px;margin:12px 2px 8px;font-size:14px;font-weight:700}
.panel__cat::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,rgba(255,255,255,.12),transparent)}
.panel__cat i{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;background:linear-gradient(180deg,#2997ff,#0a6cf0);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 4px 10px -4px rgba(10,132,255,.7)}
.panel__cat svg{width:14px;height:14px;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.panel__cat svg.fill{fill:#fff;stroke:none}
.panel__grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.pbtn{display:flex;align-items:center;gap:9px;padding:7px 9px;border-radius:13px;background:linear-gradient(180deg,#2e2e31,#262628);box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 0 0 1px rgba(255,255,255,.05);font-size:13px;font-weight:600;color:#f2f2f7;white-space:nowrap}
.pbtn i{flex:none;width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:#3a3a3c;box-shadow:inset 0 1px 0 rgba(255,255,255,.07)}
.pbtn svg{width:15px;height:15px;fill:none;stroke:#0a84ff;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.pbtn svg.fill{fill:#0a84ff;stroke:none}
.pbtn::after{content:"";margin-left:auto;width:6px;height:6px;border-right:1.6px solid #6e6e73;border-top:1.6px solid #6e6e73;transform:rotate(45deg);flex:none;margin-right:3px}
.pbtn.is-active{background:linear-gradient(180deg,#2997ff,#0a6cf0);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 8px 18px -8px rgba(10,132,255,.8)}
.pbtn.is-active i{background:rgba(255,255,255,.95)}
.pbtn.is-active::after{border-color:rgba(255,255,255,.8)}
/* light effects */
.panel__glare,.panel__sheen,.panel__rim{position:absolute;inset:0;pointer-events:none;border-radius:inherit}
.panel__glare{background:radial-gradient(60% 50% at var(--gx,30%) var(--gy,20%),rgba(255,255,255,.34),rgba(255,255,255,.08) 42%,transparent 72%);mix-blend-mode:screen;opacity:var(--glare,.35)}
.panel__sheen{background:linear-gradient(115deg,transparent 0%,transparent calc(var(--sx,-40%) - 14%),rgba(255,255,255,.0) calc(var(--sx,-40%) - 10%),rgba(255,255,255,.42) var(--sx,-40%),rgba(255,255,255,0) calc(var(--sx,-40%) + 10%),transparent 100%);mix-blend-mode:screen;opacity:var(--sheen,0)}
.panel__rim{box-shadow:inset 0 1px 0 rgba(255,255,255,var(--rim,.1)),inset 1px 0 0 rgba(255,255,255,calc(var(--rim,.1) * .6))}
.stage3d__hint{position:absolute;bottom:6px;left:0;right:0;text-align:center;font-size:12px;color:var(--muted)}

/* ---------- Video window ---------- */
.window{position:relative;border-radius:18px;background:#1c1c1e;box-shadow:var(--shadow-lg);overflow:hidden;max-width:1040px;margin:0 auto}
.window__bar{height:34px;display:flex;align-items:center;gap:7px;padding:0 14px;background:#2a2a2d}
.window__bar i{width:11px;height:11px;border-radius:50%;background:#ff5f57}
.window__bar i:nth-child(2){background:#febc2e}
.window__bar i:nth-child(3){background:#28c840}
.window__bar span{margin-left:10px;font-size:12px;color:#a1a1a6}
.window__video{display:block;width:100%;aspect-ratio:1920/996;object-fit:cover;background:#111}
.sound-toggle{position:absolute;right:14px;bottom:14px;width:42px;height:42px;border-radius:50%;border:0;background:rgba(255,255,255,.9);display:grid;place-items:center;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.25)}
.sound-toggle svg{width:20px;height:20px;fill:none;stroke:var(--ink);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sound-toggle .ic-on{display:none}
.sound-toggle[aria-pressed="true"] .ic-on{display:block}
.sound-toggle[aria-pressed="true"] .ic-off{display:none}

/* ---------- Before / After ---------- */
.ba{display:grid;grid-template-columns:1fr auto 1fr;gap:22px;align-items:stretch}
.ba__card{position:relative;border-radius:28px;padding:26px 26px 24px;display:flex;flex-direction:column;gap:16px;overflow:hidden}
.ba__card--before{background:linear-gradient(180deg,#fbfbfd,#f1f1f4);box-shadow:inset 0 0 0 1px rgba(0,0,0,.06),0 18px 40px -26px rgba(16,40,90,.3)}
.ba__card--after{color:#f5f5f7;background:radial-gradient(90% 70% at 85% 0%,rgba(10,132,255,.32),transparent 60%),radial-gradient(70% 60% at 0% 100%,rgba(122,92,255,.22),transparent 65%),linear-gradient(160deg,#232326,#161618);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),inset 0 0 0 1px rgba(255,255,255,.06),0 34px 70px -30px rgba(10,60,160,.6)}
.ba__top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.ba__pill{font-size:12.5px;font-weight:700;letter-spacing:.02em;padding:6px 12px;border-radius:999px;background:rgba(0,0,0,.06);color:var(--muted)}
.ba__pill--blue{background:rgba(255,255,255,.1);color:#fff}
.ba__pill--blue b{color:#4aa3ff}
.ba__time{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:700;color:#d14b2f;font-variant-numeric:tabular-nums}
.ba__time svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.ba__time--blue{color:#fff;background:var(--grad-blue);padding:6px 12px 6px 9px;border-radius:999px;box-shadow:0 8px 20px -8px rgba(10,132,255,.8)}
.ba__time--blue svg{fill:#fff;stroke:none;width:16px;height:16px}
.ba__card h3{font-size:clamp(26px,2.6vw,34px);letter-spacing:-.03em}
.ba__card--before h3{color:var(--ink-2)}
.tl{display:grid;gap:7px;padding:14px;border-radius:18px;position:relative}
.tl--busy{background:#fff;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)}
.tl--clean{background:rgba(0,0,0,.28);box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
.tl__row{display:grid;grid-template-columns:78px 1fr;align-items:center;gap:10px;height:22px}
.tl__name{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600;white-space:nowrap;color:var(--muted)}
.tl--clean .tl__name{color:#a1a1a6}
.tl__name i{width:8px;height:8px;border-radius:3px;flex:none}
.tl__track{position:relative;height:100%;border-radius:7px;background:repeating-linear-gradient(90deg,rgba(0,0,0,.05) 0 1px,transparent 1px 10%)}
.tl--clean .tl__track{background:repeating-linear-gradient(90deg,rgba(255,255,255,.05) 0 1px,transparent 1px 10%)}
.tl__track b{position:absolute;top:50%;width:9px;height:9px;margin:-4.5px 0 0 -4.5px;transform:rotate(45deg);border-radius:1.5px}
.tl--busy .tl__track b{background:#8e8e93;box-shadow:0 0 0 1.5px #fff}
.tl--busy .tl__row:nth-child(2n) .tl__track b:nth-child(3n){background:#d14b2f}
.tl--clean .tl__track b{background:#fff;box-shadow:0 0 0 2px #0a84ff,0 0 10px rgba(10,132,255,.8)}
.tl__track em{position:absolute;top:50%;height:4px;margin-top:-2px;border-radius:2px;background:linear-gradient(90deg,#0a84ff,#7a5cff);opacity:.85}
.ba__list{list-style:none;margin:auto 0 0;padding:0;display:grid;gap:8px;font-size:15px;color:var(--ink-2)}
.ba__list li{display:flex;align-items:center;gap:10px}
.ba__list li::before{content:"";width:18px;height:18px;flex:none;border-radius:50%;background:rgba(209,75,47,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M6 6l6 6M12 6l-6 6' stroke='%23d14b2f' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/18px no-repeat}
.ba__apply{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 12px 12px 14px;border-radius:18px;background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
.ba__chip{display:inline-flex;align-items:center;gap:9px;font-size:14px;font-weight:600}
.ba__chip svg{width:26px;height:26px;padding:5px;border-radius:8px;background:#3a3a3c;fill:none;stroke:#0a84ff;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.ba__btn{font-size:15px;font-weight:700;color:#fff;padding:11px 26px;border-radius:999px;background:linear-gradient(180deg,#3d9dff,#0a7af5);box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 3px 0 #0558b6,0 12px 24px -8px rgba(10,132,255,.8);animation:baPulse 2.4s ease-in-out infinite}
@keyframes baPulse{0%,70%,100%{transform:none}80%{transform:translateY(2px) scale(.97)}}
.ba__arrow{align-self:center;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:var(--surface);box-shadow:var(--shadow)}
.ba__arrow svg{width:22px;height:22px;fill:none;stroke:var(--blue);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:860px){
  .ba{grid-template-columns:1fr;gap:14px}
  .ba__arrow{justify-self:center;transform:rotate(90deg)}
  .ba__card{padding:22px 18px 20px;border-radius:24px}
  .tl{padding:12px}
  .tl__row{grid-template-columns:66px 1fr}
}
@media (prefers-reduced-motion:reduce){.ba__btn{animation:none}}
.frame{margin:0;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-lg);background:#fff}

/* ---------- Tools ---------- */
.cats{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.cat{background:var(--bg);border-radius:var(--radius-sm);padding:18px}
.section:not(.section--alt) .cat{background:var(--surface);box-shadow:var(--shadow)}
.cat h3{font-size:16px;display:flex;align-items:center;gap:10px;margin-bottom:12px;letter-spacing:-.01em}
.cat__ic{width:26px;height:26px;border-radius:8px;background:var(--grad-blue);color:#fff;display:grid;place-items:center}
.cat__ic svg{width:14px;height:14px;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.cat__ic svg.fill{fill:#fff;stroke:none}
.cat ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.cat li{font-size:14px;color:var(--ink-2)}

/* ---------- Interactive demos ---------- */
.demo{background:var(--surface);border-radius:28px;box-shadow:var(--shadow-lg);overflow:hidden;margin-bottom:40px}
.demo:last-child{margin-bottom:0}
.demo__top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 26px 0;flex-wrap:wrap}
.demo__title{display:flex;align-items:center;gap:12px}
.demo__title h3{font-size:24px}
.demo__title i{width:34px;height:34px;border-radius:10px;background:var(--grad-blue);display:grid;place-items:center;box-shadow:0 6px 14px -6px rgba(10,108,240,.7)}
.demo__title svg{width:18px;height:18px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.demo__desc{font-size:15px;color:var(--muted)}
.live{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:var(--green);background:#e7f6ea;padding:5px 10px;border-radius:999px;text-transform:uppercase;letter-spacing:.06em}
.live::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.demo__stage{position:relative;margin:18px;border-radius:20px;background:linear-gradient(180deg,#fbfbfd 0%,#ececf0 100%);box-shadow:inset 0 0 0 1px rgba(0,0,0,.05);overflow:hidden}

/* Hover demo */
.hover-stage{height:420px;display:grid;place-items:center;cursor:default;touch-action:pan-y}
.hgrid{display:grid;grid-template-columns:repeat(3,72px);grid-auto-rows:72px;gap:34px}
.hsq{border-radius:18px;background:linear-gradient(180deg,#2a95ff,#0a74f5);box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 10px 24px -12px rgba(10,108,240,.8);will-change:transform;transform-origin:50% 50%}
.chip{position:absolute;right:22px;top:22px;display:flex;flex-direction:column;align-items:flex-end;gap:10px;padding:10px;border-radius:18px;background:rgba(210,210,215,.55);box-shadow:0 10px 30px -14px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.6);pointer-events:none}
.chip__row{display:flex;align-items:center;gap:10px;background:#fff;border-radius:12px;padding:8px 18px 8px 8px;font-size:13px;font-weight:500;box-shadow:0 2px 6px rgba(0,0,0,.08)}
.chip__row i{width:28px;height:28px;border-radius:8px;background:var(--blue-soft);display:grid;place-items:center}
.chip__row svg{width:15px;height:15px;fill:none;stroke:var(--blue);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.chip__apply{font-size:12px;font-weight:600;color:#fff;background:linear-gradient(180deg,#2a8dff,#0a6cf0);padding:5px 16px;border-radius:999px}
.ghost-cursor{position:absolute;left:0;top:0;width:26px;height:26px;pointer-events:none;opacity:0;transition:opacity .4s;will-change:transform;z-index:5}
.ghost-cursor.is-on{opacity:1}
.ghost-cursor svg{width:26px;height:26px;filter:drop-shadow(0 2px 3px rgba(0,0,0,.3))}
.stage-hint{position:absolute;left:0;right:0;bottom:16px;text-align:center;font-size:13px;color:var(--muted);pointer-events:none}

/* Carousel demo */
.car-stage{height:480px;touch-action:pan-y}
.car-item{position:absolute;left:0;top:0;opacity:0;width:var(--cw,120px);aspect-ratio:4/5;border-radius:16px;overflow:hidden;box-shadow:0 18px 30px -16px rgba(0,0,0,.45),0 0 0 1px rgba(255,255,255,.4) inset;will-change:transform,opacity;background:#ddd}
.car-item img{width:100%;height:100%;object-fit:cover;pointer-events:none;user-select:none;-webkit-user-drag:none}
.car-svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2000;overflow:visible}
.car-svg path{fill:none;stroke:#0a84ff;stroke-width:2;stroke-dasharray:6 6;opacity:.85}
.car-svg .guide{stroke:#0a84ff;stroke-width:1;stroke-dasharray:3 4;opacity:.35}
.pin{position:absolute;left:0;top:0;width:44px;height:44px;margin:-22px 0 0 -22px;border-radius:50%;display:grid;place-items:center;cursor:grab;z-index:2100;touch-action:none}
.pin::before{content:"";width:16px;height:16px;border-radius:50%;background:#fff;border:3px solid #0a84ff;box-shadow:0 4px 10px rgba(10,108,240,.35)}
.pin--mid::before{width:24px;height:24px;background:#0a84ff;border-color:#fff;box-shadow:0 0 0 6px rgba(10,132,255,.18),0 6px 14px rgba(10,108,240,.45)}
.pin:active,.pin.is-drag{cursor:grabbing}
.pin.is-drag::before{transform:scale(1.15)}
.car-stage[data-mode="curved"] .car-svg,.car-stage[data-mode="curved"] .pin{display:grid}
.car-svg,.pin{display:none}
.car-stage[data-mode="curved"] .car-svg{display:block}

.controls{display:flex;align-items:center;justify-content:space-between;gap:16px 24px;flex-wrap:wrap;padding:4px 26px 24px}
.seg{display:inline-flex;background:var(--bg);border-radius:999px;padding:4px;gap:2px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.04)}
.seg button{border:0;background:transparent;padding:9px 16px;border-radius:999px;font-size:14px;font-weight:600;color:var(--ink-2);cursor:pointer;transition:background .2s,color .2s,box-shadow .2s}
.seg button[aria-pressed="true"]{background:var(--surface);color:var(--ink);box-shadow:0 2px 8px rgba(0,0,0,.1)}
.ctl{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.ctl[hidden]{display:none}
.slider{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;color:var(--ink-2)}
.slider output{font-variant-numeric:tabular-nums;min-width:44px;color:var(--blue-2);font-weight:700}
.slider input{-webkit-appearance:none;appearance:none;width:160px;height:6px;border-radius:999px;background:linear-gradient(90deg,#2997ff var(--fill,50%),#e3e3e8 var(--fill,50%));outline:none;cursor:pointer}
.slider input::-webkit-slider-thumb{-webkit-appearance:none;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.25),0 0 0 1px rgba(0,0,0,.05)}
.slider input::-moz-range-thumb{width:22px;height:22px;border:0;border-radius:50%;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.25)}
.ctl__note{font-size:14px;color:var(--muted)}
.play-btn{background:var(--bg)}

/* ---------- Showcase ---------- */
.showcase{display:grid;grid-template-columns:1.35fr 1fr;gap:56px;align-items:center;margin-bottom:96px}
.showcase:last-child{margin-bottom:0}
.showcase--flip{grid-template-columns:1fr 1.35fr}
.showcase--flip .showcase__media{order:2}
.showcase__media{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-lg);background:#f0f0f2}
.showcase__media video{width:100%;aspect-ratio:900/506;object-fit:cover}
.num{display:inline-block;font-size:13px;font-weight:700;color:var(--blue);background:var(--blue-soft);padding:4px 10px;border-radius:999px;margin-bottom:14px;font-variant-numeric:tabular-nums}
.showcase__copy h3{font-size:clamp(28px,3vw,40px);margin-bottom:12px}
.showcase__copy p{font-size:18px;color:var(--ink-2);max-width:26em}

/* ---------- Player / specs / FAQ / final ---------- */
.player{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-lg);background:#111;max-width:1040px;margin:0 auto}
.player video{width:100%;aspect-ratio:16/9;background:#111}
.specs{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.spec{background:var(--surface);border-radius:var(--radius-sm);padding:24px;box-shadow:var(--shadow)}
.spec__k{font-size:13px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:6px}
.spec__v{font-size:18px;font-weight:600;letter-spacing:-.01em}
.faq{display:grid;gap:12px}
.faq details{background:var(--bg);border-radius:var(--radius-sm);padding:0 22px}
.faq summary{list-style:none;cursor:pointer;padding:20px 32px 20px 0;font-weight:600;font-size:18px;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";position:absolute;right:4px;top:50%;width:10px;height:10px;border-right:2px solid var(--ink-2);border-bottom:2px solid var(--ink-2);transform:translateY(-70%) rotate(45deg);transition:transform .25s}
.faq details[open] summary::after{transform:translateY(-30%) rotate(-135deg)}
.faq details p{padding:0 0 22px;color:var(--ink-2)}
.final{padding:110px 0}
.final__card{background:var(--surface);border-radius:32px;box-shadow:var(--shadow-lg);overflow:hidden;display:grid;grid-template-columns:1fr 1.1fr;align-items:center}
.final__copy{padding:56px;text-align:center}
.final__copy h2{font-size:clamp(34px,4.4vw,56px)}
.final__copy .price{margin:22px 0 8px}
.final__timer{color:var(--ink-2);margin-bottom:22px;font-variant-numeric:tabular-nums}
.final__btns{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.final__note{font-size:14px;color:var(--muted);margin-top:16px}
.final__img{width:100%;height:100%;object-fit:cover;aspect-ratio:1/1}

/* Mobile buy bar */
.buybar{position:fixed;left:12px;right:12px;bottom:12px;z-index:60;display:none;align-items:center;justify-content:space-between;gap:12px;padding:10px 10px 10px 18px;background:rgba(255,255,255,.92);-webkit-backdrop-filter:saturate(180%) blur(18px);backdrop-filter:saturate(180%) blur(18px);border-radius:999px;box-shadow:0 10px 30px -8px rgba(0,0,0,.25),inset 0 0 0 1px var(--line);transform:translateY(160%);transition:transform .35s ease}
.buybar.is-visible{transform:none}
.buybar__price{font-size:15px;line-height:1.2;display:flex;flex-wrap:wrap;gap:0 8px;align-items:baseline}
.buybar__price strong{font-size:18px}
.buybar__price span{flex-basis:100%;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}

@media (max-width:1080px){
  .cats{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:980px){
  .hero__grid,.showcase,.showcase--flip,.final__card{grid-template-columns:1fr}
  .hero{padding-top:32px}
  .hero__grid{gap:24px}
  .showcase{gap:24px;margin-bottom:72px}
  .showcase--flip .showcase__media{order:0}
  .specs{grid-template-columns:1fr 1fr}
  .final__copy{padding:40px 24px}
  .final__img{order:-1}
  .final{padding:80px 0}
}
@media (max-width:720px){
  .buybar{display:flex}
  .footer{padding-bottom:110px}
  .nav .nav__buy{display:none}
  .cats{grid-template-columns:1fr 1fr}
  .specs{grid-template-columns:1fr}
  .cd__num{font-size:24px}
  .hero__cta .btn{flex:1 1 100%}
  .price__now{font-size:38px}
  .faq summary{font-size:16px}
  .panel{padding:10px 10px 12px;border-radius:22px}
  .pbtn{font-size:12px;padding:6px 7px;gap:7px}
  .pbtn i{width:24px;height:24px}
  .panel__title{font-size:19px}
  .stage3d{padding-bottom:56px}
  .stage3d__inner{width:min(100%,400px)}
  .apply-float{right:2px;bottom:-36px}
  .apply3d{height:52px;min-width:140px;padding:0 30px;font-size:18px}
  .hero .hero__title{font-size:clamp(48px,14.5vw,68px)}
  .demo{border-radius:22px}
  .demo__top{padding:18px 18px 0}
  .demo__stage{margin:14px}
  .hover-stage{height:340px}
  .hgrid{grid-template-columns:repeat(3,56px);grid-auto-rows:56px;gap:26px}
  .chip{display:none}
  .car-stage{height:380px}
  .controls{padding:0 18px 20px}
  .seg{width:100%}
  .seg button{flex:1;padding:9px 6px;font-size:13px}
  .slider input{width:120px}
}
@media (prefers-reduced-motion:reduce){
  .countdown__label::before{animation:none}
  .countdown{transform:none}
}

/* ---------- Text Animation demo ---------- */
.ta-stage{height:300px;display:grid;place-items:center;padding:24px;overflow:hidden}
.ta-text{font-size:clamp(40px,7vw,78px);font-weight:800;letter-spacing:-.035em;color:var(--ink);white-space:pre;text-align:center;line-height:1.1}
.ta-text span{display:inline-block;will-change:transform,opacity,filter}
.ta-panel{padding:4px 26px 24px;display:grid;gap:18px}
.ta-styles{display:flex;flex-wrap:wrap;gap:8px}
.ta-styles button{border:0;cursor:pointer;font:600 14px var(--font);padding:9px 16px;border-radius:999px;background:var(--bg);color:var(--ink-2);box-shadow:inset 0 0 0 1px rgba(0,0,0,.05);transition:background .2s,color .2s,box-shadow .2s,transform .15s}
.ta-styles button:hover{color:var(--ink)}
.ta-styles button[aria-pressed="true"]{background:var(--grad-blue);color:#fff;box-shadow:0 6px 16px -8px rgba(10,108,240,.8)}
.ta-styles button:active{transform:scale(.97)}
.ta-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px 22px}
.ta-sl{display:grid;gap:8px;font-size:13px;font-weight:600;color:var(--ink-2)}
.ta-sl span{display:flex;justify-content:space-between;gap:8px}
.ta-sl output{color:var(--blue-2);font-variant-numeric:tabular-nums}
.ta-sl input{-webkit-appearance:none;appearance:none;width:100%;height:6px;border-radius:999px;background:linear-gradient(90deg,#2997ff var(--fill,50%),#e3e3e8 var(--fill,50%));outline:none;cursor:pointer}
.ta-sl input::-webkit-slider-thumb{-webkit-appearance:none;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.25),0 0 0 1px rgba(0,0,0,.05)}
.ta-sl input::-moz-range-thumb{width:20px;height:20px;border:0;border-radius:50%;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.25)}
.ta-sl[hidden]{display:none}
.ta-foot{display:flex;gap:10px;align-items:center}
.ta-input{flex:1;min-width:0;height:40px;border-radius:12px;border:0;background:var(--bg);box-shadow:inset 0 0 0 1px rgba(0,0,0,.06);padding:0 14px;font:600 15px var(--font);color:var(--ink);outline:none;transition:box-shadow .2s}
.ta-input:focus{box-shadow:inset 0 0 0 2px rgba(10,132,255,.6)}
@media (max-width:980px){.ta-grid{grid-template-columns:1fr 1fr}}
@media (max-width:720px){.ta-stage{height:220px}.ta-panel{padding:0 18px 20px}.ta-grid{grid-template-columns:1fr}.ta-styles button{padding:8px 13px;font-size:13px}}
.nw{white-space:nowrap}

/* ---------- Square interactive previews ---------- */
.demo__stage.hover-stage,.demo__stage.car-stage,.demo__stage.ta-stage{height:auto;aspect-ratio:1/1}
.ta-text{white-space:pre-wrap;font-size:clamp(38px,5.2vw,68px)}
.demo__note{padding:4px 26px 26px;color:var(--ink-2);font-size:16px}
.demo__pts{list-style:none;padding:0;margin:16px 0 0;display:grid;gap:10px;font-size:15px}
.demo__pts li{display:flex;align-items:center;gap:10px}
.demo__pts li::before{content:"";width:20px;height:20px;flex:none;border-radius:50%;background:var(--dc-soft,var(--blue-soft)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6' fill='none' stroke='%235e5ce6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat}
/* Stacked layout everywhere: title on top, preview, options below */
.demo{max-width:640px;margin-left:auto;margin-right:auto}
@media (min-width:981px){
  .demo__top{padding:28px 30px 0}
  .demo__stage{margin:20px 22px}
  .demo>.ta-panel,.demo>.controls,.demo>.demo__note{padding:4px 30px 30px}
  .demo .ta-grid{grid-template-columns:1fr 1fr}
}
/* extra accent colors (blue stays the main color) */
.demo--violet .demo__title i{background:linear-gradient(135deg,#8e7bff,#5e5ce6 55%,#7a3df5);box-shadow:0 6px 14px -6px rgba(94,92,230,.75)}
.demo--violet .live{color:#5e5ce6;background:#eeedff}
.demo--violet{--dc-soft:#eeedff}
.demo--teal .demo__title i{background:linear-gradient(135deg,#5ee0ff,#14b8d9 50%,#0a84ff);box-shadow:0 6px 14px -6px rgba(20,184,217,.75)}
.demo--teal .live{color:#0a8fb0;background:#e3f8fd}
.num--02{color:#0a8fb0;background:#e3f8fd}
.num--03{color:#e06a00;background:#fff1e3}
.num--04{color:#5e5ce6;background:#eeedff}
.num--05{color:#1a9e45;background:#e7f6ea}

/* ---------- "5 of 13+" card ---------- */
.more{display:grid;grid-template-columns:1fr 1.15fr;gap:40px;align-items:center;margin-top:96px;padding:44px;border-radius:32px;background:var(--surface);box-shadow:var(--shadow-lg);position:relative;overflow:hidden;isolation:isolate}
.more::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(50% 70% at 100% 0%,rgba(122,92,255,.12),transparent 70%),radial-gradient(45% 60% at 0% 100%,rgba(10,132,255,.1),transparent 70%)}
.more__count{font-size:15px;font-weight:700;color:var(--muted);margin-bottom:10px}
.more__count span{font-size:22px;font-weight:800;color:var(--ink)}
.more__count .grad{color:transparent}
.more h3{font-size:clamp(28px,3vw,40px);letter-spacing:-.03em;margin-bottom:10px}
.more__copy>p:not(.more__count){font-size:18px;color:var(--ink-2);margin-bottom:24px}
.more__tools{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.more__tools li{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:16px;background:var(--bg);font-size:14.5px;font-weight:600;box-shadow:inset 0 0 0 1px rgba(0,0,0,.04);transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s}
.more__tools li:hover{transform:translateY(-2px);box-shadow:inset 0 0 0 1px rgba(0,0,0,.04),0 10px 24px -14px rgba(16,40,90,.4)}
.more__tools svg{flex:none;width:32px;height:32px;padding:7px;border-radius:10px;color:#fff;background:linear-gradient(160deg,var(--c1),var(--c2));fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 6px 12px -6px var(--c2)}
.more__tools svg.fill{fill:#fff;stroke:none}
.more__plus{justify-content:center;color:var(--blue-2);background:var(--blue-soft)!important}
@media (max-width:980px){.more{grid-template-columns:1fr;padding:32px 24px;gap:28px;margin-top:72px}}
@media (max-width:720px){.more__tools{grid-template-columns:1fr 1fr}.more .btn{width:100%}}

/* ---------- Dark & Light modes (matches the real SaaS-FX panel) ---------- */
.modes{display:grid;grid-template-columns:1fr 1fr;gap:40px;max-width:980px;margin:0 auto;align-items:start}
.mode{margin:0;display:flex;flex-direction:column;align-items:center;gap:22px}
.mode__label{display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:600;color:var(--ink-2)}
.mode__label svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.mp{--bg:#1c1c1e;--head:#2a2a2d;--btn:#2a2a2d;--edge:rgba(255,255,255,.08);--txt:#f5f5f7;--sub:#98989d;--ver:#8e8e93;--chev:#636366;--line:rgba(255,255,255,.12);
  --app:#2c2c2e;--app-ink:#ffffff;--tog:#3a3a3c;--tog-ink:#0a84ff;--tile:linear-gradient(180deg,#f5f5f7,#d8d8dd);--tile-edge:rgba(255,255,255,.35);--glyph:#1d1d1f;
  width:100%;max-width:440px;padding:12px 12px 14px;border-radius:24px;background:var(--bg);color:var(--txt);user-select:none;-webkit-user-select:none;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.05),0 40px 80px -30px rgba(0,0,0,.5),0 18px 36px -18px rgba(0,0,0,.35)}
.mp--light{--bg:#f0f0f5;--head:#ffffff;--btn:#ffffff;--edge:rgba(0,0,0,.05);--txt:#1d1d1f;--sub:#6e6e73;--ver:#8e8e93;--chev:#c7c7cc;--line:rgba(0,0,0,.1);
  --app:#f2f2f7;--app-ink:#1d1d1f;--tog:#ffffff;--tog-ink:#0a84ff;--tile:#f2f2f7;--tile-edge:rgba(0,0,0,.05);--glyph:#0a84ff;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.04),0 40px 80px -30px rgba(16,40,90,.32),0 18px 36px -18px rgba(16,40,90,.2)}
.mp svg{display:block;width:16px;height:16px}
.mp svg.st{fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.mp svg.st .f{fill:currentColor}
.mp svg.fl{fill:currentColor;stroke:none}
.mp svg.tx{fill:currentColor;font-family:var(--font)}
.mp__head{display:flex;align-items:center;gap:12px;padding:12px;border-radius:18px;background:var(--head);box-shadow:inset 0 0 0 1px var(--edge),0 2px 8px -4px rgba(0,0,0,.18);margin-bottom:6px}
.mp__app{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;background:var(--app);color:var(--app-ink);box-shadow:inset 0 0 0 1px var(--edge),0 3px 8px -3px rgba(0,0,0,.3)}
.mp__app svg{width:24px;height:24px}
.mp__title{font-size:22px;font-weight:800;letter-spacing:-.02em;line-height:1.05}
.mp__title b{color:#0a84ff;font-weight:800}
.mp__title span{font-size:11px;font-weight:700;color:var(--ver);margin-left:6px;letter-spacing:0;vertical-align:5px}
.mp__tag{font-size:12px;color:var(--sub);margin-top:3px}
.mp__toggle{margin-left:auto;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--tog);color:var(--tog-ink);box-shadow:inset 0 0 0 1px var(--edge),0 3px 8px -3px rgba(0,0,0,.25)}
.mp__toggle svg{width:18px;height:18px}
.mp__cat{display:flex;align-items:center;gap:10px;margin:12px 2px 8px;font-size:14px;font-weight:700}
.mp__cat::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,var(--line),transparent)}
.mp__cat i{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;color:#fff;background:linear-gradient(180deg,#2997ff,#0a6cf0);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 4px 10px -4px rgba(10,132,255,.7)}
.mp__cat svg{width:14px;height:14px}
.mp__cat svg.st{stroke-width:2.2}
.mp__grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.mp__btn{display:flex;align-items:center;gap:9px;padding:7px 9px;border-radius:13px;background:var(--btn);box-shadow:inset 0 0 0 1px var(--edge),0 1px 3px rgba(0,0,0,.06);font-size:13px;font-weight:600;color:var(--txt);white-space:nowrap}
.mp__btn i{flex:none;width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:var(--tile);color:var(--glyph);box-shadow:inset 0 0 0 1px var(--tile-edge)}
.mp__btn i svg{width:18px;height:18px}
.mp__btn i svg.tx{width:20px;height:20px}
.mp__btn::after{content:"";margin-left:auto;width:6px;height:6px;border-right:1.6px solid var(--chev);border-top:1.6px solid var(--chev);transform:rotate(45deg);flex:none;margin-right:3px}
@media (max-width:860px){
  .modes{grid-template-columns:1fr;gap:44px}
  .mp{max-width:400px}
}
@media (max-width:420px){
  .mp{padding:10px 10px 12px;border-radius:22px}
  .mp__btn{font-size:12px;padding:6px 7px;gap:7px}
  .mp__btn i{width:24px;height:24px}
  .mp__title{font-size:19px}
}

/* ---------- Text Animation preview: wide, not square ---------- */
.demo__stage.ta-stage{aspect-ratio:auto;height:240px}
@media (max-width:720px){.demo__stage.ta-stage{height:190px}}

/* ---------- "Play with the effects" in dark mode ---------- */
#try .demo{background:linear-gradient(180deg,#1f1f22,#18181a);color:#f5f5f7;box-shadow:inset 0 0 0 1px rgba(255,255,255,.06),0 30px 80px -24px rgba(0,0,0,.45)}
#try .demo__desc{color:#98989d}
#try .demo__stage{background:linear-gradient(180deg,#2a2a2d 0%,#141416 100%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
#try .live{color:#30d158;background:rgba(48,209,88,.14)}
#try .demo--violet .live{color:#a5a3ff;background:rgba(94,92,230,.2)}
#try .demo--teal .live{color:#5ee0ff;background:rgba(20,184,217,.16)}
#try .ta-text{color:#f5f5f7}
#try .ta-styles button{background:#2c2c2e;color:#d1d1d6;box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
#try .ta-styles button:hover{color:#fff}
#try .ta-styles button[aria-pressed="true"]{background:var(--grad-blue);color:#fff;box-shadow:0 6px 16px -8px rgba(10,132,255,.8)}
#try .ta-sl,#try .slider{color:#d1d1d6}
#try .ta-sl output,#try .slider output{color:#4aa3ff}
#try .ta-sl input,#try .slider input{background:linear-gradient(90deg,#2997ff var(--fill,50%),#3a3a3c var(--fill,50%))}
#try .ta-input{background:#2c2c2e;color:#f5f5f7;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
#try .ta-input:focus{box-shadow:inset 0 0 0 2px rgba(10,132,255,.7)}
#try .btn--ghost{background:#2c2c2e;color:#f5f5f7;box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)}
#try .btn--ghost:hover{box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
#try .seg{background:#2c2c2e;box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
#try .seg button{color:#aeaeb2}
#try .seg button[aria-pressed="true"]{background:#48484a;color:#fff;box-shadow:0 2px 8px rgba(0,0,0,.4)}
#try .ctl__note,#try .stage-hint{color:#8e8e93}
#try .play-btn{background:#2c2c2e;color:#f5f5f7}
#try .play-btn:hover{background:#3a3a3c;color:#fff}
#try .demo__note{color:#d1d1d6}
#try .demo__pts li::before{background-color:rgba(94,92,230,.22)}
#try .car-item{box-shadow:0 18px 30px -16px rgba(0,0,0,.8),0 0 0 1px rgba(255,255,255,.12) inset;background:#2c2c2e}
#try .car-svg path{stroke:#4aa3ff}

/* Dark section background: clean grid + glow that follows the cursor */
#try{position:relative;overflow:hidden;isolation:isolate;background:#0a0a0c;color:#f5f5f7;--mx:50%;--my:30%;--glow:0}
#try::before,#try::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:-1}
#try::before{background-image:linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);background-size:48px 48px;background-position:center top;
  -webkit-mask-image:radial-gradient(120% 90% at 50% 40%,#000 40%,transparent 100%);mask-image:radial-gradient(120% 90% at 50% 40%,#000 40%,transparent 100%)}
#try::after{opacity:var(--glow);transition:opacity .45s ease;
  background:radial-gradient(420px circle at var(--mx) var(--my),rgba(10,132,255,.30),rgba(94,92,230,.16) 40%,transparent 70%),
    linear-gradient(rgba(90,170,255,.55) 1px,transparent 1px) center top/48px 48px,linear-gradient(90deg,rgba(90,170,255,.55) 1px,transparent 1px) center top/48px 48px;
  -webkit-mask-image:radial-gradient(260px circle at var(--mx) var(--my),#000,transparent 75%);mask-image:radial-gradient(260px circle at var(--mx) var(--my),#000,transparent 75%)}
#try .section__head h2{color:#f5f5f7}
#try .section__head .sub{color:#a1a1a6}
#try .kicker{color:#4aa3ff}
#try .demo{background:linear-gradient(180deg,rgba(32,32,36,.92),rgba(22,22,25,.92));-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 30px 80px -30px rgba(0,0,0,.8)}
@media (hover:none){#try::after{display:none}}


/* Hero panel: smaller, same proportions (Apply button keeps its size) */
.stage3d__inner{width:min(100%,360px)}
.p3d{zoom:.82}
@media (max-width:720px){.stage3d__inner{width:min(100%,318px)}}

/* "there's more" line at the end of the live demos */
.more-note{text-align:center;max-width:820px;margin:72px auto 0}
.more-note__big{font-size:clamp(34px,5.2vw,64px);font-weight:800;letter-spacing:-.04em;line-height:1.04}
.more-note__sub{margin:18px auto 0;max-width:560px;font-size:clamp(16px,1.4vw,19px);color:#a1a1a8}


/* softer, smoother panel light */
.panel__glare{background:radial-gradient(90% 75% at var(--gx,30%) var(--gy,20%),rgba(255,255,255,.26),rgba(255,255,255,.07) 45%,transparent 78%)}
.panel__sheen{background:linear-gradient(115deg,transparent calc(var(--sx,-40%) - 36%),rgba(255,255,255,.05) calc(var(--sx,-40%) - 18%),rgba(255,255,255,.2) var(--sx,-40%),rgba(255,255,255,.05) calc(var(--sx,-40%) + 18%),transparent calc(var(--sx,-40%) + 36%))}
