/* ==========================================================================
   Vino Technologies - Vino Flex (flex/*.php). Loads after base.css + shop.css and reuses their tokens, so light / dark come for free.
   Typography = Montserrat (self-hosted variable font, Latin) for every Vino Flex page. No other fonts.
   0 Typography + static header · 1 Base · 2 Hero · 3 System · 4 Video · 5 Feature showcase · 6 Pricing · 7 Price capsule · 8 Live demos
   9 Add-ons step · 10 Step pages (progress) · 11 States · 12 Review + checkout · 13 Wider screens · 14 Footer · 15 Motion
   Mobile-first. No inline styles (strict CSP).
   ========================================================================== */

/* 0 - Typography (Montserrat) + static header */
@font-face{font-family:'Montserrat';font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/montserrat-latin-wght-normal.woff2) format('woff2')}
.fx-body{--font-h:'Montserrat',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;--font-b:'Montserrat',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif}
html:has(body.fx-body){scroll-padding-top:12px}
/* The header is NOT fixed and NOT sticky here: it sits at the top of the page in normal flow and scrolls away with it. */
.fx-body .site-header{position:relative;top:auto;left:auto;right:auto;z-index:20;padding:calc(12px + var(--safe-t)) 10px 0}
.fx-body .mobile-menu{position:absolute;top:calc(80px + var(--safe-t))}      /* opens under the header, in the page (scrolls with it) */
@media (min-width:600px){.fx-body .site-header{padding-top:calc(16px + var(--safe-t))}.fx-body .mobile-menu{top:calc(88px + var(--safe-t))}}

/* 1 - Base */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.fx-body .btn,.fx-body .btn-line,.fx-body .btn-ghost{text-decoration:none}
.fx-btn-sm{min-height:44px;padding:9px 20px;font-size:14px}
.fx-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.fx-actions-col{flex-direction:column;align-items:stretch}
.fx-eyebrow{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:600;color:var(--red-text);margin-bottom:10px}
.fx-eyebrow .i{width:16px;height:16px}
.fx-kicker{font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--red-text);margin-bottom:10px}
.fx-sec{padding:30px 0 10px}
.fx-fhead{max-width:44em;margin-bottom:34px}
.fx-fhead h2{font-size:clamp(28px,5.4vw,46px);letter-spacing:-.025em;margin-bottom:12px}
.fx-fhead p:not(.fx-kicker){color:var(--text-dim);font-size:clamp(16px,2vw,18px);line-height:1.55}
.fx-notice{display:none;margin:0 0 20px;padding:12px 16px;border-radius:14px;background:var(--red-tint);font-size:14px;font-weight:600}
.fx-notice.is-on{display:block}
.fx-step-hero .fx-notice,.fx-hero .fx-notice{margin-inline:auto;max-width:560px}
/* subtle reveal (JS only marks elements that are below the fold, so nothing is ever hidden without JS) */
.fx-pre{opacity:0;transform:translateY(18px)}
.fx-pre.fx-in{opacity:1;transform:none;transition:opacity .6s ease,transform .7s cubic-bezier(.2,.7,.2,1)}

/* 2 - Hero: text on the left, the picture in its own frame on the right. Nothing is ever drawn behind the text. */
.fx-hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(180deg,var(--bg) 0,var(--bg-soft) 100%);border-bottom:1px solid var(--card-border)}
.fx-hero::before{content:'';position:absolute;z-index:-1;top:-35%;right:-12%;width:min(760px,90vw);aspect-ratio:1;background:radial-gradient(closest-side,var(--red-glow),transparent);pointer-events:none}
.fx-hero-in{display:grid;gap:28px;padding-top:28px;padding-bottom:40px}
.fx-hero-copy{min-width:0}
.fx-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:13px;color:var(--text-dim);margin-bottom:20px}
.fx-crumbs a{color:var(--text-dim)}
.fx-crumbs span[aria-current]{color:var(--text);font-weight:600}
@media (hover:hover){.fx-crumbs a:hover{color:var(--text)}}
.fx-hero .fx-eyebrow{padding:6px 14px 6px 10px;border-radius:999px;background:var(--red-tint);margin-bottom:14px}
.fx-hero h1{font-size:clamp(34px,8.4vw,60px);line-height:1.06;letter-spacing:-.03em;max-width:12em;margin-bottom:14px;text-wrap:balance}
.fx-lead{color:var(--text-dim);font-size:clamp(16px,2.2vw,18px);line-height:1.65;max-width:33em}
.fx-hero-price{margin-top:24px}
.fx-hero-price-l{display:block;font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--text-dim);margin-bottom:6px}
.fx-hero .fx-actions{margin-top:24px}
.fx-hero-frame{position:relative;aspect-ratio:16/10;border-radius:24px;overflow:hidden;background:var(--bg-alt);border:1px solid var(--card-border);box-shadow:0 30px 60px -36px rgba(30,15,15,.5)}
.fx-hero-img{display:block;width:100%;height:100%;object-fit:cover}
.fx-hero-frame.is-icon{display:grid;place-items:center;background:linear-gradient(135deg,var(--red-tint),var(--bg-alt))}
.fx-hero-ico{color:var(--red-text);opacity:.55}.fx-hero-ico .i{width:96px;height:96px;stroke-width:1}

/* price block (hero, pricing card): the amount to pay is prominent, the original price is struck through, always LKR */
.fx-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px}
.fx-price-now{display:inline-flex;align-items:baseline;gap:6px;font-variant-numeric:tabular-nums}
.fx-price-now small{font-size:15px;font-weight:700;color:var(--text-dim);letter-spacing:.04em}
.fx-price-now strong{font:800 clamp(34px,7vw,46px)/1 var(--font-h);letter-spacing:-.035em}
.fx-price-was{font-size:17px;font-weight:600;color:var(--text-dim);font-variant-numeric:tabular-nums;text-decoration-thickness:2px}
.fx-price-save{display:inline-flex;align-items:center;padding:4px 12px;border-radius:999px;background:rgba(18,122,74,.12);color:var(--ok);font-size:13px;font-weight:700}
.fx-price.is-big{padding:6px 0 18px;margin-bottom:18px;border-bottom:1px solid var(--card-border)}
.fx-price.is-big .fx-price-now strong{font-size:clamp(44px,9vw,58px)}

/* 3 - The system */
.fx-system{padding:64px 0 32px;background:var(--bg)}
.fx-system-in{display:grid;gap:36px;align-items:center}
.fx-system-t h2{font-size:clamp(28px,5.4vw,48px);letter-spacing:-.025em;margin-bottom:16px;text-wrap:balance}
.fx-sys-lead{font-size:clamp(17px,2.2vw,20px);line-height:1.55;margin-bottom:14px}
.fx-sys-p{color:var(--text-dim);font-size:16px;line-height:1.7;margin-bottom:12px;max-width:40em}
.fx-stats{display:flex;flex-wrap:wrap;gap:22px 40px;margin-top:26px;padding-top:22px;border-top:1px solid var(--card-border)}
.fx-stats div{display:flex;flex-direction:column-reverse}
.fx-stats dt{font-size:13px;color:var(--text-dim)}
.fx-stats dd{font:700 clamp(28px,4vw,38px)/1.1 var(--font-h);font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.fx-sys-frame{position:relative;aspect-ratio:16/11;border-radius:26px;overflow:hidden;background:var(--bg-alt);box-shadow:0 30px 70px -28px rgba(30,15,15,.45),0 0 0 1px var(--card-border)}
.fx-sys-img{display:block;width:100%;height:100%;object-fit:cover}
.fx-system.no-img .fx-system-t{max-width:760px}

/* 4 - Video showcase */
.fx-video{background:#140f10;color:#fff;padding:64px 0 72px;margin-top:32px}
.fx-vhead{margin-bottom:26px}
.fx-vhead h2{font-size:clamp(28px,5vw,44px);letter-spacing:-.025em}
.fx-video .fx-kicker{color:#ff8a93}
.fx-vframe{position:relative;aspect-ratio:16/9;border-radius:20px;overflow:hidden;background:#000;box-shadow:0 40px 90px -30px rgba(0,0,0,.8),0 0 0 1px rgba(255,255,255,.08)}
.fx-vposter{position:absolute;inset:0;background:radial-gradient(60% 80% at 70% 20%,rgba(225,29,46,.35),transparent 70%),linear-gradient(135deg,#2a1519,#0e0a0b)}
.fx-vposter-img{display:block;width:100%;height:100%;object-fit:cover}
.fx-vposter-img[hidden]{display:none}
.fx-vposter::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05) 40%,rgba(0,0,0,.6));pointer-events:none}
.fx-bigplay{position:absolute;inset:0;display:grid;place-items:center;width:100%;height:100%;cursor:pointer;color:#fff}
.fx-bigplay-ring{display:grid;place-items:center;width:76px;height:76px;border-radius:50%;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.5);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 14px 40px rgba(0,0,0,.45);transition:transform .25s,background .25s}
.fx-bigplay-ring .i{width:28px;height:28px;fill:currentColor;stroke:none;margin-left:4px}
@media (hover:hover){.fx-bigplay:hover .fx-bigplay-ring{transform:scale(1.08);background:var(--red);border-color:var(--red)}}
.fx-bigplay:focus-visible{outline:3px solid #fff;outline-offset:-6px}
.fx-vcap{position:absolute;left:16px;bottom:14px;right:16px;display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:600;pointer-events:none;text-shadow:0 1px 8px rgba(0,0,0,.6)}
.fx-vcap .i{width:14px;height:14px;fill:currentColor;stroke:none;flex:none}
.fx-vcap span{margin-left:auto;font-size:12px;padding:3px 10px;border-radius:999px;background:rgba(255,255,255,.16);text-shadow:none}
.fx-player{position:absolute;inset:0;display:block;width:100%;height:100%;border:0;background:#000;object-fit:contain}
.fx-vlink{position:absolute;left:16px;top:16px;z-index:2;padding:10px 16px;border-radius:999px;background:#fff;color:#161314;font-weight:600;font-size:14px}

/* 5 - Feature showcase */
.fx-features{padding:72px 0 24px;background:var(--bg)}
.fx-gnav{position:sticky;top:0;z-index:40;margin:0 0 6px;background:var(--glass);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-block:1px solid var(--card-border)}
.fx-gnav-in{display:flex;gap:8px;overflow-x:auto;padding:10px 0;scrollbar-width:none;scroll-snap-type:x proximity}
.fx-gnav-in::-webkit-scrollbar{display:none}
.fx-gnav a{flex:none;scroll-snap-align:start;display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border-radius:999px;font-size:14px;font-weight:600;color:var(--text-dim);white-space:nowrap;text-decoration:none;transition:background .2s,color .2s}
@media (hover:hover){.fx-gnav a:hover{color:var(--text);background:var(--bg-alt)}}
.fx-gnav a.is-on{background:var(--text);color:var(--bg)}
.fx-groups{padding-bottom:12px}
.fx-grp{padding:56px 0 8px;scroll-margin-top:64px}
.fx-grp+.fx-grp{border-top:1px solid var(--card-border);margin-top:32px}
.fx-grp.is-plain{padding-top:20px}
.fx-grp-h{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 16px;margin-bottom:34px}
.fx-grp-n{font:700 14px var(--font-h);color:var(--red-text);font-variant-numeric:tabular-nums;letter-spacing:.06em}
.fx-grp-h h3{font-size:clamp(26px,4.6vw,42px);letter-spacing:-.025em;flex:1 1 auto;min-width:0}
.fx-grp-c{font-size:14px;color:var(--text-dim)}
.fx-blocks{display:grid;gap:56px}
.fx-media{position:relative;aspect-ratio:16/10;border-radius:22px;overflow:hidden;background:var(--bg-alt);box-shadow:0 24px 60px -30px rgba(30,15,15,.45),0 0 0 1px var(--card-border)}
.fx-fimg{display:block;width:100%;height:100%;object-fit:cover}
.fx-vstage{position:absolute;inset:0;background:linear-gradient(135deg,#2a1519,#0e0a0b)}
.fx-vid{display:block;width:100%;height:100%;object-fit:cover;background:#0e0a0b}
.fx-vstage.is-playing .fx-vid{object-fit:contain}
.fx-vplay{position:absolute;inset:0;display:grid;place-items:center;width:100%;height:100%;color:#fff;cursor:pointer;background:linear-gradient(180deg,rgba(0,0,0,0) 50%,rgba(0,0,0,.35))}
.fx-vplay .i{width:64px;height:64px;padding:20px 18px 20px 22px;border-radius:50%;fill:currentColor;stroke:none;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.5);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 10px 30px rgba(0,0,0,.4);transition:transform .25s,background .25s}
@media (hover:hover){.fx-vplay:hover .i{transform:scale(1.08);background:var(--red);border-color:var(--red)}}
.fx-vplay:focus-visible{outline:3px solid #fff;outline-offset:-6px}
.fx-ft{font-size:clamp(21px,3vw,28px);line-height:1.2;letter-spacing:-.015em;margin-bottom:10px;text-wrap:balance}
.fx-fd{color:var(--text-dim);font-size:clamp(16px,1.8vw,17.5px);line-height:1.65}
.fx-tag{display:inline-block;margin-top:12px;padding:4px 12px;border-radius:999px;background:var(--bg-alt);color:var(--text-dim);font-size:12.5px;font-weight:600}
.fx-split{display:grid;gap:22px;align-items:center}
.fx-split-t{max-width:30em}
.fx-wide{display:grid;gap:20px}
.fx-wide .fx-media{aspect-ratio:16/9;border-radius:26px}
.fx-wide-t{max-width:44em}
.fx-duo{display:grid;gap:36px 28px}
.fx-dcard{display:grid;gap:18px;align-content:start}
.fx-mini-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:0 48px}
.fx-mini{padding:20px 0;border-top:1px solid var(--card-border)}
.fx-mini .fx-ft{font-size:18px;margin-bottom:6px}
.fx-mini .fx-fd{font-size:15px;line-height:1.55}

/* 6 - Pricing: one clear price (original struck through, discounted prominent) and the way forward */
.fx-form{display:block}
.fx-pricing{padding:60px 0 68px;background:var(--bg-soft);border-block:1px solid var(--card-border)}
.fx-pricing-in{display:grid;gap:30px;align-items:center}
.fx-pricing-t h2{font-size:clamp(28px,5.2vw,44px);letter-spacing:-.025em;margin-bottom:12px;text-wrap:balance}
.fx-pricing-t p:not(.fx-kicker){color:var(--text-dim);font-size:clamp(16px,2vw,17.5px);line-height:1.65;max-width:30em}
.fx-pricecard{width:100%;max-width:520px;padding:26px 22px 22px;background:var(--surface);border:1px solid var(--card-border);border-radius:28px;box-shadow:var(--shadow)}
.fx-pricecard-eye{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:600;color:var(--red-text);margin-bottom:6px}
.fx-pricecard-eye .i{width:16px;height:16px}
.fx-incl{display:grid;gap:11px;margin-bottom:22px}
.fx-incl li{display:flex;gap:10px;align-items:flex-start;font-size:15px;line-height:1.45}
.fx-incl .i{width:18px;height:18px;flex:none;margin-top:1px;color:var(--ok);stroke-width:3}
.fx-incl .is-more{color:var(--text-dim)}.fx-incl .is-more .i{color:var(--text-dim);stroke-width:2.4}
.fx-pricecard-go{width:100%;min-height:52px}
.fx-pricecard .fx-fine{text-align:center}

/* 7 - Price / action bar (server-rendered: on screen from the first paint, stays while the page scrolls).
   PHONES (default): a docked, app-style bar. Total on the left, one large button on the right. No labels, no secondary actions: only the price and the next step.
     Safe-area insets keep it clear of the iOS home indicator, the Android gesture bar and landscape notches; the footer reserves the room under it.
   FROM 600px: the floating glass capsule with the product name and the note. */
@keyframes fx-spin{to{transform:rotate(360deg)}}
.fx-capsule{position:fixed;left:0;right:0;bottom:0;z-index:60;width:auto;transform:none}
.fx-cap-in{display:flex;align-items:center;gap:12px;min-width:0;padding:10px max(14px,env(safe-area-inset-right,0px)) calc(10px + var(--safe-b)) max(16px,env(safe-area-inset-left,0px));border-radius:22px 22px 0 0;color:var(--text);background:rgba(255,255,255,.88);-webkit-backdrop-filter:blur(20px) saturate(1.7);backdrop-filter:blur(20px) saturate(1.7);border:1px solid var(--card-border);border-bottom:0;box-shadow:0 -10px 30px rgba(20,10,10,.12)}
:root[data-theme="dark"] .fx-cap-in{background:rgba(40,33,35,.9);border-color:rgba(255,255,255,.14);box-shadow:0 -10px 30px rgba(0,0,0,.45)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.fx-cap-in{background:var(--surface)}}
.fx-cap-sum{display:none;min-width:0;flex:1}
.fx-cap-pkg{font-weight:700;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fx-cap-sub{font-size:12px;color:var(--text-dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fx-cap-sub:empty{display:none}
.fx-cap-total{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;flex:1 1 auto;min-width:0;line-height:1.1}
.fx-cap-was{font-size:12px;font-weight:600;color:var(--text-dim);font-variant-numeric:tabular-nums;text-decoration-thickness:1.5px;white-space:nowrap}
.fx-cap-now{display:inline-flex;align-items:baseline;gap:4px;white-space:nowrap}
.fx-cap-now small{font-size:11px;font-weight:700;color:var(--text-dim);letter-spacing:.06em}
.fx-cap-now strong{font:800 clamp(18px,5.8vw,24px)/1.05 var(--font-h);font-variant-numeric:tabular-nums;letter-spacing:-.03em}
.fx-cap-go{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 22px;font-size:16px;font-weight:700;white-space:nowrap}
.fx-cap-go[disabled]{opacity:.55;cursor:not-allowed}
.fx-cap-skip{flex:none;min-height:46px;padding:10px 16px;display:inline-flex;align-items:center}
.fx-cap-back{flex:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:46px;min-width:46px;padding:0 8px;font-weight:600;font-size:14px;color:var(--text-dim)}
.fx-cap-back .i{width:18px;height:18px}
.fx-cap-back span{display:none}
.fx-l-short{display:inline}.fx-l-long{display:none}
/* a skip link next to a price would crowd a narrow phone: the main button already continues without add-ons */
.fx-capsule:not(.fx-actbar) .fx-cap-skip{display:none}
/* steps with no price (Maintenance & Support): back (icon) + Skip + Continue share the bar */
.fx-actbar .fx-cap-in{gap:10px}
.fx-actbar .fx-cap-skip,.fx-actbar .fx-cap-go{flex:1 1 0;justify-content:center;min-height:52px;padding:0 14px}
.fx-actbar .fx-cap-go{flex-grow:1.5}
.fx-actbar .fx-cap-pkg{font-weight:600;font-size:13.5px}
/* loading: a short spinner, never a dead-looking button */
.fx-cap-go.is-loading,.fx-go.is-loading:not(.vn-submit),.fp-go.is-loading{pointer-events:none;opacity:.85}
.fx-cap-go.is-loading::after,.fx-go.is-loading:not(.vn-submit)::after{content:"";flex:none;width:16px;height:16px;border-radius:50%;border:2.5px solid rgba(255,255,255,.45);border-top-color:#fff;animation:fx-spin .7s linear infinite}
.fx-cap-go.is-loading .i,.fx-go.is-loading:not(.vn-submit) .i{display:none}
@media (max-width:420px){.fx-cap-go .i{display:none}}
@media (max-width:359px){.fx-cap-in{gap:8px}.fx-cap-go{padding:0 16px;font-size:15px}.fx-actbar .fx-cap-go,.fx-actbar .fx-cap-skip{padding:0 10px}}
@media (max-width:759px){
  html.fx-kb .fx-capsule{display:none}                                       /* the on-screen keyboard would sit on top of it */
  .fx-has-capsule .fp-go,.fx-has-capsule .fx-co-btn{display:none}             /* the bar carries the button on phones: one primary action, not two */
}
@media (min-width:600px){
  .fx-capsule{left:50%;right:auto;bottom:calc(14px + var(--safe-b));width:min(680px,100% - 24px);transform:translateX(-50%)}
  .fx-cap-in{gap:18px;padding:9px 9px 9px 26px;border-radius:999px;border:1px solid rgba(255,255,255,.8);background:rgba(255,255,255,.72);box-shadow:0 14px 40px rgba(20,10,10,.2),inset 0 1px 0 rgba(255,255,255,.85)}
  :root[data-theme="dark"] .fx-cap-in{background:rgba(48,40,42,.7);border-color:rgba(255,255,255,.16);box-shadow:0 14px 40px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.12)}
  .fx-cap-sum{display:grid}
  .fx-cap-total{align-items:flex-end;flex:none}
  .fx-cap-now strong{font-size:24px}
  .fx-cap-go{min-height:46px;padding:10px 22px;font-size:inherit}
  .fx-capsule:not(.fx-actbar) .fx-cap-skip{display:inline-flex}
  .fx-cap-back span{display:inline}
  .fx-l-long{display:inline}.fx-l-short{display:none}
  .fx-actbar .fx-cap-skip,.fx-actbar .fx-cap-go{flex:none;min-height:46px;padding:10px 22px}
}
@media (min-width:760px){.fx-capsule.is-pay,.fx-capsule.is-co{display:none}}        /* wide screens: the button sits in the card, no second bar needed */
/* the footer's bottom padding reserves the room under the last section, so the bar never covers content or the footer text */
.fx-has-capsule .fx-foot{padding-bottom:calc(112px + var(--safe-b))}
@media (max-width:820px){.fx-has-capsule .fx-foot{padding-bottom:calc(156px + var(--safe-b))}}   /* phones: also clears the floating assistant above the bar */
@media (min-width:760px){.fx-has-capsule.fx-checkout-page .fx-foot,.fx-has-capsule.fp-page .fx-foot{padding-bottom:calc(26px + var(--safe-b))}}

/* 8 - Live demos */
.fx-demos-sec{padding:76px 0 88px;background:var(--bg)}
.fx-demos{display:grid;grid-template-columns:minmax(0,1fr);gap:40px 28px}
.fx-demo{min-width:0}
.fx-demo-media{position:relative;display:block;aspect-ratio:16/10;border-radius:24px;overflow:hidden;background:var(--bg-alt);box-shadow:0 30px 60px -32px rgba(30,15,15,.5),0 0 0 1px var(--card-border)}
.fx-demo-img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
@media (hover:hover){.fx-demo-media:hover .fx-demo-img{transform:scale(1.04)}}
.fx-demo-ph{display:grid;place-items:center;width:100%;height:100%;color:var(--red-text);background:linear-gradient(135deg,var(--red-tint),var(--bg-alt))}.fx-demo-ph .i{width:48px;height:48px;opacity:.7}
.fx-demo-chip{position:absolute;left:14px;bottom:14px;display:inline-flex;align-items:center;gap:7px;padding:8px 14px;border-radius:999px;background:rgba(14,9,10,.62);color:#fff;font-size:13px;font-weight:600;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.fx-demo-chip .i{width:14px;height:14px}
.fx-demo-media:focus-visible{outline:3px solid var(--red);outline-offset:3px}
.fx-demo-body{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding-top:18px}
.fx-demo-body h3{font-size:clamp(20px,2.6vw,26px);letter-spacing:-.015em}
.fx-demo-body p{color:var(--text-dim);font-size:15.5px;line-height:1.6;max-width:36em}
.fx-demo-body .btn{margin-top:8px}
.fx-demo-body .btn .i{width:16px;height:16px}

/* 9 - Add-ons step */
.fx-check{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.fx-check:focus-visible + .fx-ad-in{outline:3px solid var(--red);outline-offset:3px}
.fx-addons-sec{padding:30px 0 40px}
.fx-adgrid{border:0;min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
.fx-ad{position:relative;display:block;cursor:pointer;min-width:0}
.fx-ad-in{display:flex;flex-direction:column;height:100%;border-radius:24px;background:var(--surface);border:1px solid var(--card-border);overflow:hidden;box-shadow:var(--shadow);transition:box-shadow .25s,border-color .25s,transform .25s}
@media (hover:hover){.fx-ad:hover .fx-ad-in{transform:translateY(-3px);box-shadow:var(--shadow-hover)}}
.fx-ad-media{display:block;aspect-ratio:16/10;background:var(--bg-alt);overflow:hidden}
.fx-ad-img{display:block;width:100%;height:100%;object-fit:cover}
.fx-ad-body{display:flex;flex-direction:column;gap:8px;padding:20px 22px 22px;flex:1}
.fx-ad-name{font:700 19px/1.25 var(--font-h);letter-spacing:-.01em}
.fx-ad-name em,.fx-req{font-style:normal;font-size:11.5px;font-weight:700;margin-left:6px;padding:2px 9px;border-radius:999px;background:var(--red-tint);color:var(--red-text);vertical-align:middle;font-family:var(--font-b)}
.fx-ad-desc{color:var(--text-dim);font-size:15px;line-height:1.55}
.fx-ad-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:14px}
.fx-ad-price{font:700 18px var(--font-h);font-variant-numeric:tabular-nums}
.fx-ad-btn{display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:0 18px;border-radius:999px;border:1px solid var(--btn-border);font-weight:600;font-size:14px;background:var(--surface);transition:background .2s,color .2s,border-color .2s}
.fx-ad-btn .i{width:16px;height:16px;stroke-width:2.6}
.fx-ad-off,.fx-ad-on{display:inline-flex;align-items:center;gap:7px}
.fx-ad-on{display:none}
.fx-check:checked + .fx-ad-in{border-color:var(--red);box-shadow:0 0 0 2px var(--red),0 26px 50px -28px rgba(225,29,46,.5)}
.fx-check:checked + .fx-ad-in .fx-ad-btn{background:var(--red);border-color:var(--red);color:#fff}
.fx-check:checked + .fx-ad-in .fx-ad-off{display:none}
.fx-check:checked + .fx-ad-in .fx-ad-on{display:inline-flex}
.fx-check:disabled + .fx-ad-in{cursor:default}
.fx-ad.is-req{cursor:default}
.fx-addons-help{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 20px;margin-top:30px;color:var(--text-dim);font-size:14px}
.fx-addons-help a{display:inline-flex;align-items:center;gap:6px}
.fx-addons-help .i{width:16px;height:16px}

/* 10 - Step pages (add-ons, review, checkout) */
.fx-step-hero{padding:36px 0 8px;text-align:center}
.fx-step-hero h1{font-size:clamp(30px,6.4vw,50px);letter-spacing:-.03em;margin-bottom:10px}
.fx-step-hero .fx-lead{margin-inline:auto}
.fx-step-hero .fx-eyebrow{justify-content:center}
.fx-progress{display:flex;justify-content:center;flex-wrap:wrap;gap:6px;margin-bottom:20px}
.fx-progress li{font-size:12.5px;font-weight:600;padding:6px 14px;border-radius:999px;border:1px solid var(--card-border);color:var(--text-dim);background:var(--surface)}
.fx-progress li.is-done{color:var(--text)}
.fx-progress li.is-now{background:var(--red);border-color:var(--red);color:#fff}

/* 11 - States (Coming Soon, empty, errors) */
.fx-state{padding:36px 0 48px}
.fx-state-card{max-width:620px;margin:0 auto;text-align:center;padding:28px 20px;background:var(--surface);border:1px solid var(--card-border);border-radius:24px;box-shadow:var(--shadow)}
.fx-state-card.fx-inline{padding:24px 18px}
.fx-state-ico{display:inline-grid;place-items:center;width:68px;height:68px;border-radius:50%;background:var(--red-tint);color:var(--red-text);margin-bottom:12px}
.fx-state-ico .i{width:32px;height:32px}
.fx-state-card h1,.fx-state-card h2{font-size:clamp(23px,6vw,32px);margin-bottom:10px}
.fx-state-card p{color:var(--text-dim);margin:0 auto 8px;max-width:34em}
.fx-state-card .fx-eyebrow{justify-content:center}
.fx-state-note{font-size:14.5px}
.fx-state-card .fx-actions{justify-content:center}
.fx-problems{display:grid;gap:8px;margin:12px 0 4px;text-align:left}
.fx-problems li{display:flex;gap:10px;align-items:flex-start;padding:10px 14px;border-radius:12px;background:var(--red-tint);font-size:14.5px}
.fx-problems .i{width:18px;height:18px;flex:none;margin-top:2px;color:var(--red-text)}

/* 12 - Review + checkout placeholder */
.fx-review{display:grid;gap:16px}
.fx-review-sec{padding-top:24px;padding-bottom:30px}
.fx-rv-main{display:grid;gap:16px;align-content:start}
.fx-card{background:var(--surface);border:1px solid var(--card-border);border-radius:24px;box-shadow:var(--shadow);padding:20px}
.fx-card h2{font-size:21px}
.fx-card-eye{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:600;color:var(--red-text);margin-bottom:8px}.fx-card-eye .i{width:16px;height:16px}
.fx-rv-pkg{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:flex-start;padding-bottom:14px;border-bottom:1px solid var(--card-border)}
.fx-rv-pkg p{color:var(--text-dim);font-size:14.5px;margin-top:4px;max-width:36em}
.fx-rv-price{display:flex;flex-direction:column;align-items:flex-end}
.fx-rv-price strong{font:700 24px var(--font-h);font-variant-numeric:tabular-nums}.fx-rv-price s{color:var(--text-dim);font-size:13.5px}
.fx-rv-h{display:flex;align-items:center;gap:8px;font-size:16px;margin:18px 0 8px}
.fx-rv-h .i{width:18px;height:18px;color:var(--ok);stroke-width:3}
.fx-rv-h.is-out .i{color:var(--text-dim)}
.fx-rv-h span{font:600 12px var(--font-b);padding:2px 9px;border-radius:999px;background:var(--bg-alt);color:var(--text-dim)}
.fx-rv-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:0 28px}
.fx-rv-list li{display:flex;gap:10px;align-items:flex-start;padding:9px 0;border-bottom:1px solid var(--card-border);font-size:15px}
.fx-rv-list .i{width:18px;height:18px;flex:none;margin-top:2px}
.fx-rv-list.is-in .i{color:var(--ok);stroke-width:3}
.fx-rv-list.is-out{color:var(--text-dim)}
.fx-rv-list.is-out .i{color:var(--text-dim)}
.fx-rv-list small{display:block;color:var(--text-dim);font-size:13px;margin-top:2px}
.fx-rv-list em{font-style:normal;font-size:12px;font-weight:600;padding:2px 8px;border-radius:999px;background:var(--bg-alt);margin-left:8px;white-space:nowrap}
.fx-fine{font-size:12.5px;color:var(--text-dim);margin-top:10px}
.fx-empty{color:var(--text-dim);font-size:14.5px;margin-top:10px}
.fx-count{font:600 12px var(--font-b);padding:2px 9px;border-radius:999px;background:var(--bg-alt);color:var(--text-dim);vertical-align:middle;margin-left:6px}
.fx-rv-add{display:grid;margin-top:8px}
.fx-rv-add li{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid var(--card-border)}
.fx-rv-add li:last-child{border-bottom:0}
.fx-rv-add-t{display:grid;gap:2px;min-width:0}.fx-rv-add-t small{color:var(--text-dim);font-size:13px}
.fx-rv-add-p{font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.fx-sum h2{margin-bottom:10px}
.fx-sum-rows{display:grid;gap:8px;padding-bottom:12px;border-bottom:1px solid var(--card-border)}
.fx-sum-rows>div{display:flex;justify-content:space-between;gap:14px;font-size:15px;color:var(--text-dim)}
.fx-sum-rows dd{color:var(--text);font-weight:600;font-variant-numeric:tabular-nums;text-align:right}
.fx-sum-rows .is-sub{padding-top:8px;border-top:1px dashed var(--card-border)}
.fx-sum-rows .is-disc dd{color:var(--ok)}
.fx-total{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding-top:14px;font-weight:600}
.fx-total strong{font:700 clamp(26px,7vw,32px) var(--font-h);font-variant-numeric:tabular-nums}
.fx-co{margin-top:14px}
.fx-go{min-height:50px}
.fx-co .fx-go,.fx-back{width:100%}
.fx-back{margin-top:10px}
.fx-co-wrap{max-width:560px}

/* 13 - Wider screens */
@media (min-width:760px){
  .fx-foot{padding-top:56px}
  .fx-foot-main{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:64px;align-items:start}
  .fx-foot-col a{min-height:36px}
}
@media (min-width:600px){
  .fx-sec{padding-top:40px}
  .fx-bigplay-ring{width:96px;height:96px}.fx-bigplay-ring .i{width:34px;height:34px}
  .fx-vframe{border-radius:28px}
  .fx-vplay .i{width:76px;height:76px;padding:24px 22px 24px 26px}
  .fx-adgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fx-duo{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fx-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fx-state-card{padding:40px 36px}
  .fx-card{padding:26px}
  .fx-pricecard{padding:30px 30px 26px}
}
@media (min-width:960px){
  .fx-hero-in{grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);align-items:center;gap:56px;padding-top:36px;padding-bottom:72px}
  .fx-hero h1{font-size:clamp(46px,4.6vw,62px)}
}
@media (min-width:700px){
  .fx-demos.n2,.fx-demos.n3{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:900px){
  .fx-system{padding-top:88px}
  .fx-system-in{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:72px}
  .fx-system.no-img .fx-system-in{grid-template-columns:minmax(0,1fr)}
  .fx-video{padding:96px 0 104px;margin-top:56px}
  .fx-features{padding-top:96px}
  .fx-grp{padding-top:80px}
  .fx-blocks{gap:88px}
  .fx-split{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:64px}
  .fx-split.is-flip .fx-media{order:2}
  .fx-wide .fx-media{aspect-ratio:21/9}
  .fx-wide-t{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:0 48px;max-width:none;align-items:start}
  .fx-wide-t .fx-ft{margin-bottom:0}
  .fx-wide-t .fx-tag{grid-column:2;justify-self:start}
  .fx-duo{gap:48px 40px}
  .fx-mini-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .fx-mini-grid.is-dense{grid-template-columns:repeat(3,minmax(0,1fr))}
  .fx-pricing{padding:96px 0 104px}
  .fx-pricing-in{grid-template-columns:minmax(0,1fr) minmax(0,520px);gap:72px}
  .fx-pricecard{justify-self:end}
  .fx-adgrid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .fx-demos-sec{padding:104px 0 120px}
  .fx-demos.n1 .fx-demo{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:0 56px;align-items:center}
  .fx-demos.n1 .fx-demo-body{padding-top:0}
  .fx-review{grid-template-columns:minmax(0,1fr) 380px;align-items:start}
  .fx-rv-side{position:sticky;top:24px}
  .fx-capsule.is-rv{display:none}                /* the order summary beside the review is already sticky here */
  .fx-review-page.fx-has-capsule .fx-foot{padding-bottom:calc(26px + var(--safe-b))}
}
@media (min-width:1100px){
  .fx-demos.n3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .fx-mini-grid.is-dense{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* 14 - Footer: brand statement + two short link groups + one slim copyright row */
.fx-foot{background:var(--bg-soft);border-top:1px solid var(--card-border);padding:44px 0 calc(26px + var(--safe-b))}
.fx-foot-main{display:grid;gap:30px}
.fx-foot-logo{display:inline-flex;align-items:center;gap:10px;min-height:var(--tap);font:700 18px var(--font-h);letter-spacing:-.01em;color:var(--text);white-space:nowrap}
.fx-foot-logo .logo-mark{width:28px;height:28px;border-radius:9px}
.fx-foot-note{max-width:27em;margin:4px 0 12px;color:var(--text-dim);font-size:15px;line-height:1.65}
.fx-foot-mail{display:inline-flex;align-items:center;gap:9px;min-height:var(--tap);font-size:15px;font-weight:600;color:var(--text);overflow-wrap:anywhere}
.fx-foot-i{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;color:var(--red-text)}
.fx-foot-nav{display:grid;grid-template-columns:1fr 1fr;gap:20px 28px;align-content:start}
.fx-foot-col{display:flex;flex-direction:column}
.fx-foot-col h2{display:flex;align-items:center;min-height:24px;margin-bottom:6px;font:700 12px var(--font-h);letter-spacing:.14em;text-transform:uppercase;color:var(--text)}
.fx-foot-col a{display:flex;align-items:center;width:fit-content;max-width:100%;min-height:var(--tap);font-size:15px;color:var(--text-dim);border-radius:6px;transition:color .2s}
.fx-foot a:focus-visible{outline:2px solid var(--red);outline-offset:3px}
@media (hover:hover){.fx-foot-col a:hover,.fx-foot-mail:hover{color:var(--red-text)}}
.fx-foot-bar{margin-top:26px;padding-top:18px;border-top:1px solid var(--card-border);font-size:13px;line-height:1.5;color:var(--text-dim)}

/* 15 - Motion */
@media (prefers-reduced-motion:reduce){
  .fx-pre,.fx-pre.fx-in{opacity:1;transform:none;transition:none}
  .fx-demo-img,.fx-ad-in,.fx-capsule,.fx-bigplay-ring,.fx-vplay .i,.fx-foot-col a{transition:none}
  .fx-demo-media:hover .fx-demo-img{transform:none}
}
