/* Video Slider page: the live layouts, the studio in screenshots, use cases with live demos, the privacy counter, the guide. */

/* Read by screen readers, not shown. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Screenshots in frames (click to enlarge) ---- */
.shot { position: relative; overflow: hidden; border-radius: 16px; background: #eceef2; box-shadow: 0 30px 70px -30px rgba(10, 8, 12, .55), 0 0 0 1px rgba(255, 255, 255, .08); }
.shot img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #f3f0ec; }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ddd5cc; }
.shot-bar span { margin-left: 8px; padding: 2px 12px; border-radius: 99px; background: #fff; color: #8a817a; font-size: 12px; }
.app-icon { display: block; width: 76px; height: 76px; margin-bottom: 14px; border-radius: 18px; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .3)); }
.zoom { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 3vw; background: rgba(8, 7, 9, .9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); cursor: zoom-out; }
.zoom[hidden] { display: none; }
.zoom img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 40px 90px rgba(0, 0, 0, .6); }

/* ---- Hero: the gallery changes its layout by itself ---- */
/* A fixed height, so the page does not jump when the layout changes; what does not fit fades out below. */
.hero-demo .demo-stage { height: clamp(300px, 26vw, 370px); overflow: hidden; -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.hero-demo .demo-stage.is-swapping { opacity: 0; transform: translateY(8px) scale(.985); }
.hero-demo .demo-stage .vsfy { --vsfy-card-min: 140px; --vsfy-short-min: 110px; }
.hero-demo .demo-stage .vsfy--portrait .vsfy-track { --vsfy-per: 3.4; }
.ticker { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.ticker button { position: relative; overflow: hidden; padding: 7px 13px; border: 0; border-radius: 99px; background: var(--glass-2); color: var(--muted); font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; transition: color .2s, background .2s; }
.ticker button:hover { color: #fff; }
.ticker button[aria-pressed="true"] { background: rgba(255, 138, 31, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 138, 31, .45); }
/* The time until the next layout, as a thin line under the active one. */
.ticker button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.is-cycling .ticker button[aria-pressed="true"]::after { animation: tick var(--cycle, 6s) linear forwards; }
@keyframes tick { to { transform: scaleX(1); } }

/* ---- Numbers ---- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: -40px; }
.stat { padding: 24px 22px; border-radius: 20px; background: rgba(16, 15, 18, .82); box-shadow: inset 0 0 0 1px var(--line); text-align: center; }
.stat strong { display: block; font-size: clamp(30px, 3.4vw, 42px); font-weight: 850; letter-spacing: -.03em; background: linear-gradient(100deg, #fff, #ffd2b3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; } }

/* ---- Layout explorer: every layout, live ---- */
.explorer-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 auto 18px; padding: 6px; width: max-content; max-width: 100%; border-radius: 16px; background: rgba(16, 15, 18, .82); box-shadow: inset 0 0 0 1px var(--line); }
.explorer-bar button { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border: 0; border-radius: 11px; background: none; color: var(--ink-2); font: inherit; font-size: 14.5px; font-weight: 650; cursor: pointer; transition: background .2s, color .2s; }
.explorer-bar button:hover { color: #fff; background: var(--glass-2); }
.explorer-bar button[aria-pressed="true"] { background: rgba(255, 138, 31, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 138, 31, .45); }
.explorer-bar .icon { width: 16px; height: 16px; color: var(--accent); }
.explorer-bar .tag { padding: 1px 6px; border-radius: 6px; background: var(--accent); color: #170b04; font-size: 10.5px; font-weight: 800; }
.explorer-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 1040px; margin: 0 auto 16px; }
.explorer-note { margin: 0; color: var(--ink-2); font-size: 16px; min-height: 1.5em; }
.explorer-note strong { color: #fff; }
.devices { display: inline-flex; gap: 2px; padding: 4px; border-radius: 12px; background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--line); }
.devices button { display: grid; place-items: center; width: 38px; height: 32px; border: 0; border-radius: 9px; background: none; color: var(--muted); cursor: pointer; }
.devices button[aria-pressed="true"] { background: #fff; color: #17151a; }
.devices .icon { width: 17px; height: 17px; }
.explorer-stage { max-width: 1040px; margin: 0 auto; padding: 30px; border-radius: 24px; background: linear-gradient(180deg, rgba(27, 24, 28, .9), rgba(20, 18, 22, .9)); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line); transition: max-width .5s var(--ease), padding .5s var(--ease), border-radius .5s; }
.explorer-stage > div { transition: opacity .25s; }
.explorer-stage.is-swapping > div { opacity: 0; }
.explorer-stage .vsfy { margin: 0; }
/* The phone: a narrow frame with a notch. */
.explorer-stage.is-phone { max-width: 410px; padding: 44px 12px 26px; border-radius: 44px; box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line), inset 0 0 0 9px #0d0c0e, inset 0 0 0 10px rgba(255, 255, 255, .12); position: relative; }
.explorer-stage.is-phone::before { content: ""; position: absolute; left: 50%; top: 18px; width: 86px; height: 18px; margin-left: -43px; border-radius: 99px; background: #0d0c0e; }
.explorer-foot { margin-top: 18px; text-align: center; color: var(--muted); font-size: 14px; }
/* On a phone: the layouts as a row to swipe, no computer/phone switch (it is a phone already). */
@media (max-width: 700px) {
	.explorer-bar, .tabs-list { flex-wrap: nowrap; justify-content: flex-start; width: auto; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
	.explorer-bar::-webkit-scrollbar, .tabs-list::-webkit-scrollbar { display: none; }
	.explorer-bar button, .tabs-list button { flex: none; }
	.devices { display: none; }
	.explorer-stage, .pane-demo { padding: 14px; border-radius: 18px; }
}

/* ---- Tabs (studio, use cases) ---- */
.tabs-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 auto 30px; padding: 6px; width: max-content; max-width: 100%; border-radius: 16px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); }
.tabs-list button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 0; border-radius: 11px; background: none; color: var(--ink-2); font: inherit; font-size: 15px; font-weight: 650; cursor: pointer; transition: background .2s, color .2s; }
.tabs-list button:hover { color: #fff; background: var(--glass-2); }
.tabs-list button[aria-selected="true"] { background: rgba(255, 138, 31, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 138, 31, .45); }
.tabs-list .icon { width: 17px; height: 17px; color: var(--accent); }
.pane { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 40px; align-items: center; animation: pane .45s var(--ease); }
.pane[hidden] { display: none; }
@keyframes pane { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pane > div:not(.pane-demo) h3 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
/* Only the text beside a demo – the gallery in .pane-demo keeps its own colours. */
.pane > div:not(.pane-demo) p { margin-top: 12px; color: var(--ink-2); }
.pane .checklist { margin-top: 20px; }
.checklist .pill { margin-left: 4px; padding: 1px 8px; font-size: 11px; vertical-align: 1px; }
.pane > div:not(.pane-demo) p.who { margin-top: 18px; color: var(--muted); font-size: 14px; }
.pane .who strong { color: var(--ink-2); }
.pane-demo { padding: 24px; border-radius: 22px; background: linear-gradient(180deg, rgba(27, 24, 28, .9), rgba(20, 18, 22, .9)); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line); }
.pane-demo .vsfy { margin: 0; }
.keys { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.keys span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13.5px; }
kbd { display: inline-block; min-width: 24px; padding: 2px 7px; border-radius: 7px; background: var(--glass-2); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .4), inset 0 0 0 1px var(--line-2); color: #fff; font: 650 12px/1.6 ui-monospace, Consolas, monospace; text-align: center; }
@media (max-width: 900px) { .pane { grid-template-columns: minmax(0, 1fr); gap: 22px; } }

/* ---- Privacy: what really left the page ---- */
.privacy-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: stretch; margin-top: 28px; }
.counter { display: flex; flex-direction: column; padding: 28px; border-radius: 22px; background: rgba(16, 15, 18, .86); box-shadow: inset 0 0 0 1px var(--line); }
.counter h3 { font-size: 18px; }
.counter-n { display: flex; align-items: baseline; gap: 12px; margin: 14px 0 6px; }
.counter-n strong { font-size: 64px; font-weight: 850; line-height: 1; letter-spacing: -.04em; color: var(--green); transition: color .3s; }
.counter.is-used .counter-n strong { color: var(--accent); }
.counter-n span { color: var(--muted); }
.counter ol { margin: 14px 0 0; padding: 14px 0 0; list-style: none; display: grid; gap: 8px; border-top: 1px solid var(--line); font: 13px/1.5 ui-monospace, Consolas, monospace; color: var(--muted); }
.counter li b { color: var(--green); font-weight: 600; }
.counter li.is-new { animation: pane .4s var(--ease); }
.counter li.is-new b { color: var(--accent-2); }
.counter .pane-demo { margin-top: 22px; padding: 16px; }
.counter-demo .vsfy-track { --vsfy-per: 2; }
.cmp { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cmp span { padding: 6px 12px; border-radius: 99px; background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); font-size: 13.5px; font-weight: 600; }
.privacy-text { padding: 28px; border-radius: 22px; background: rgba(16, 15, 18, .86); box-shadow: inset 0 0 0 1px var(--line); }
.privacy-text h3 { font-size: 18px; }
.privacy-text p { margin-top: 10px; color: var(--ink-2); }
@media (max-width: 900px) { .privacy-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- Details: small cards ---- */
.details { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.detail { padding: 26px 20px 24px; border-radius: 18px; background: rgba(16, 15, 18, .82); box-shadow: inset 0 0 0 1px var(--line); text-align: center; transition: transform .25s var(--ease), box-shadow .25s; }
.detail:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 50px -30px rgba(0, 0, 0, .9); }
/* The icon in a tile of its own, centred above the title. */
.detail > .icon { display: block; box-sizing: border-box; width: 54px; height: 54px; margin: 0 auto; padding: 14px; border-radius: 16px; background: linear-gradient(145deg, rgba(255, 138, 31, .22), rgba(138, 42, 6, .24)); box-shadow: inset 0 0 0 1px rgba(255, 138, 31, .25); color: var(--accent); transition: transform .25s var(--ease); }
.detail:hover > .icon { transform: scale(1.06) rotate(-4deg); }
.detail h3 { margin-top: 16px; font-size: 16px; }
.detail p { margin-top: 5px; color: var(--muted); font-size: 14.5px; }
.detail .tag { margin-left: 6px; padding: 1px 6px; border-radius: 6px; background: var(--accent); color: #170b04; font-size: 10.5px; font-weight: 800; vertical-align: 2px; }
@media (max-width: 1000px) { .details { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .details { grid-template-columns: minmax(0, 1fr); } }

/* ---- The guide: long text with a table of contents ---- */
.guide { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.guide-toc { position: sticky; top: 100px; padding: 20px; border-radius: 18px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); }
.guide-toc h4 { margin: 0 0 12px; color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.guide-toc ol { margin: 0; padding: 0 0 0 18px; display: grid; gap: 7px; color: var(--muted); font-size: 14px; }
.guide-toc a { color: var(--ink-2); text-decoration: none; }
.guide-toc a:hover { color: var(--accent); }
.guide-body { max-width: 760px; }
.guide-body h2 { margin: 56px 0 14px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; scroll-margin-top: 100px; }
.guide-body h2:first-child { margin-top: 0; }
.guide-body h3 { margin: 30px 0 8px; font-size: 20px; font-weight: 750; }
.guide-body p { margin: 0 0 14px; color: var(--ink-2); font-size: 17px; line-height: 1.75; }
.guide-body ul, .guide-body ol { margin: 0 0 16px; padding-left: 22px; color: var(--ink-2); line-height: 1.75; }
.guide-body li { margin-bottom: 4px; }
.guide-body strong { color: #fff; }
.guide-body code { padding: 1px 6px; border-radius: 6px; background: var(--glass-2); color: var(--accent-2); font-size: .9em; }
.guide-body .shot { margin: 24px 0 28px; }
.guide-note { padding: 16px 20px; border-radius: 14px; background: rgba(255, 138, 31, .08); box-shadow: inset 0 0 0 1px rgba(255, 138, 31, .25); }
@media (max-width: 960px) { .guide { grid-template-columns: minmax(0, 1fr); gap: 26px; } .guide-toc { position: static; } }

/* ---- Pricing: yearly or lifetime, 1, 5 or 25 websites ---- */
.billing-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 26px; }
.billing { display: inline-flex; gap: 2px; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.billing button { padding: 9px 16px; border: 0; border-radius: 10px; background: transparent; font: 650 14px/1 system-ui, sans-serif; color: rgba(255, 255, 255, .7); cursor: pointer; }
.billing button[aria-pressed="true"] { background: #fff; color: #17151a; box-shadow: 0 2px 8px -2px rgba(0, 0, 0, .2); }
.billing button:disabled { opacity: .35; cursor: default; }

@media (prefers-reduced-motion: reduce) {
	.pane, .counter li.is-new { animation: none; }
	.hero-demo .demo-stage, .explorer-stage { transition: none; }
}
