/* RealStudio landing — "Viewfinder".
   The page opens inside a camera: real AI footage full-bleed, a camera HUD on top,
   and a prompt console that drives what you see. Everything below is hands-on. */

@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

body.landing { background: #060708; overflow-x: clip; }
.landing .wrap { max-width: 1320px; }
.grain { position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 33% { transform: translate(-3%, 2%); } 66% { transform: translate(2%, -3%); } 100% { transform: translate(0, 0); } }

/* top bar floats over the viewfinder, turns to glass after scrolling */
.landing .topbar { position: fixed; left: 0; right: 0; top: 0; z-index: 50; padding: 16px 32px; background: transparent; border-bottom: 1px solid transparent; backdrop-filter: none; transition: background .3s, border-color .3s, padding .3s; }
.landing .topbar.solid { background: rgba(8,9,11,.72); backdrop-filter: blur(18px) saturate(1.4); border-bottom-color: rgba(255,255,255,.08); padding: 10px 32px; }
.lnav { display: flex; gap: 28px; margin-left: 26px; }
.lnav a { color: rgba(243,238,230,.72); font-size: 14px; font-weight: 550; }
.lnav a:hover { color: #fff; text-decoration: none; }
.guest { display: flex; gap: 8px; flex: none; }
.landing .lang { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }

/* ---------------- 1. viewfinder hero ---------------- */
.vf { position: relative; height: 100svh; min-height: 680px; overflow: hidden; isolation: isolate; color: #fff; }
.vf-media { position: absolute; inset: 0; z-index: -2; background: #000; }
.vf-media > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.1s ease, transform 7s linear, filter 1.1s ease; filter: blur(14px) brightness(.4); }
.vf-media > .on { opacity: 1; transform: scale(1); filter: none; }
.vf-media img.pos-top, .vf-media video.pos-top { object-position: center 22%; }
.vf-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4,5,6,.78) 0%, rgba(4,5,6,0) 24%),
    linear-gradient(90deg, rgba(4,5,6,.88) 0%, rgba(4,5,6,.55) 38%, rgba(4,5,6,0) 70%),
    linear-gradient(0deg, rgba(4,5,6,.95) 0%, rgba(4,5,6,0) 45%),
    radial-gradient(120% 90% at 70% 40%, transparent 50%, rgba(0,0,0,.55)); }

.hud { position: absolute; inset: 84px 28px 28px; pointer-events: none; font-stretch: 80%; letter-spacing: .06em; font-size: 12px; font-weight: 650; color: rgba(255,255,255,.86); }
.corner { position: absolute; width: 34px; height: 34px; border: 0 solid rgba(255,255,255,.7); }
.corner.tl { left: 0; top: 0; border-top-width: 2px; border-left-width: 2px; }
.corner.tr { right: 0; top: 0; border-top-width: 2px; border-right-width: 2px; }
.corner.bl { left: 0; bottom: 0; border-bottom-width: 2px; border-left-width: 2px; }
.corner.br { right: 0; bottom: 0; border-bottom-width: 2px; border-right-width: 2px; }
.hud-top { position: absolute; left: 50px; right: 50px; top: 8px; display: flex; align-items: center; gap: 10px; }
.hud-sp { flex: 1; }
.rec { display: inline-flex; align-items: center; gap: 7px; }
.rec b { width: 9px; height: 9px; border-radius: 50%; background: #ff4d3d; box-shadow: 0 0 12px #ff4d3d; animation: recb 1.1s steps(2) infinite; }
@keyframes recb { 50% { opacity: .2; } }
.tc { font-variant-numeric: tabular-nums; color: rgba(255,255,255,.7); }
.chip { padding: 3px 8px; border: 1px solid rgba(255,255,255,.35); border-radius: 5px; }
.reticle { position: absolute; left: 0; top: 0; width: 132px; height: 96px; transform: translate(-200px, -200px); transition: border-color .2s; }
.reticle i { position: absolute; width: 16px; height: 16px; border: 0 solid rgba(255,255,255,.85); transition: border-color .25s, inset .25s; }
.reticle i:nth-child(1) { left: 0; top: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.reticle i:nth-child(2) { right: 0; top: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.reticle i:nth-child(3) { left: 0; bottom: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.reticle i:nth-child(4) { right: 0; bottom: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.reticle.lock i { border-color: var(--accent); }
.hud-side { position: absolute; right: 50px; bottom: 10px; display: grid; justify-items: end; gap: 8px; }
.meter { width: 160px; height: 4px; background: rgba(255,255,255,.18); border-radius: 4px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), #ffd28a); }

.vf-copy { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: 64px; }
.vf-title { margin: 0; font-weight: 800; font-stretch: 125%; letter-spacing: -.05em; line-height: .9; font-size: clamp(46px, 8.6vw, 150px); text-wrap: balance; }
.vf-title span { display: block; }
.vf-title .l2 { color: transparent; -webkit-text-stroke: 1.6px rgba(255,255,255,.9); }
.vf-title span { opacity: 0; transform: translateY(40px); animation: rise .9s cubic-bezier(.2,.8,.2,1) forwards; }
.vf-title .l2 { animation-delay: .12s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.vf-sub { max-width: 58ch; margin: 22px 0 26px; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.55; color: rgba(243,238,230,.84); opacity: 0; animation: rise .9s .25s cubic-bezier(.2,.8,.2,1) forwards; }

.console { display: flex; align-items: center; gap: 12px; max-width: 760px; padding: 8px 8px 8px 16px; border-radius: 18px;
  background: rgba(14,14,16,.55); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 20px 60px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08); opacity: 0; animation: rise .9s .35s cubic-bezier(.2,.8,.2,1) forwards; }
.console-ic svg { width: 22px; height: 22px; fill: var(--accent); display: block; }
.console-text { flex: 1; min-width: 0; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; background: var(--accent); vertical-align: -3px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.console-cost { font-weight: 750; color: var(--accent); white-space: nowrap; font-variant-numeric: tabular-nums; font-size: 15px; }
.console-go { flex: none; background: var(--accent); color: var(--accent-ink); font-weight: 750; padding: 13px 20px; border-radius: 12px; white-space: nowrap; box-shadow: 0 0 0 0 rgba(240,164,58,.6); animation: pulse 2.6s 2s infinite; }
.console-go:hover { text-decoration: none; filter: brightness(1.08); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(240,164,58,.55); } 70% { box-shadow: 0 0 0 16px rgba(240,164,58,0); } 100% { box-shadow: 0 0 0 0 rgba(240,164,58,0); } }
.vf-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: 22px; flex-wrap: wrap; }
.assure { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: rgba(243,238,230,.75); font-size: 14px; }
.assure li { display: inline-flex; align-items: center; gap: 8px; }
.assure li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.scenes { display: flex; gap: 8px; }
.scenes button { position: relative; width: 64px; height: 44px; border-radius: 9px; overflow: hidden; border: 1px solid rgba(255,255,255,.22); padding: 0; cursor: pointer; background: #111 center/cover no-repeat; opacity: .6; transition: opacity .2s, transform .2s; }
.scenes button[aria-selected="true"] { opacity: 1; border-color: rgba(255,255,255,.7); transform: translateY(-2px); }
.scenes button i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--accent); }

/* ---------------- 2. specs ---------------- */
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.specs div { padding: 34px 24px 34px 0; border-right: 1px solid rgba(255,255,255,.08); }
.specs div + div { padding-left: 28px; }
.specs div:last-child { border-right: 0; }
.specs b { display: block; font-weight: 800; font-stretch: 125%; letter-spacing: -.04em; font-size: clamp(34px, 3.6vw, 54px); line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff, #b9b2a7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.specs span { color: var(--muted); font-size: 14px; }

/* ---------------- shared section bits ---------------- */
.sect { padding-top: 120px; }
.sect-head { margin-bottom: 40px; max-width: 780px; }
.h2 { font-size: clamp(32px, 4.2vw, 60px); line-height: 1; font-weight: 800; font-stretch: 122%; letter-spacing: -.045em; margin: 0 0 16px; overflow-wrap: break-word; hyphens: auto; }
.big { font-size: 18px; line-height: 1.6; margin: 0; max-width: 56ch; }
.kicker { margin: 0 0 14px; color: var(--accent); font-weight: 700; font-size: 15px; }
.promptline { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); font-size: 15px; color: #e9e3d9; }
.promptline::before { content: ''; width: 16px; height: 16px; flex: none; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l1.8 4.7L18.5 9.5l-4.7 1.8L12 16l-1.8-4.7L5.5 9.5l4.7-1.8z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l1.8 4.7L18.5 9.5l-4.7 1.8L12 16l-1.8-4.7L5.5 9.5l4.7-1.8z'/%3E%3C/svg%3E") center/contain no-repeat; }
.hint-line { color: var(--dim); font-size: 13px; margin: 14px 0 0; }

.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.split.rev .split-copy { order: 2; }

/* ---------------- 3. compare slider ---------------- */
.compare { position: relative; aspect-ratio: 4 / 5; max-height: 720px; justify-self: center; width: 100%; max-width: 600px; border-radius: 26px; overflow: hidden; background: #000; user-select: none; touch-action: pan-y;
  box-shadow: 0 40px 100px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare .c-after { clip-path: inset(0 0 0 var(--pos)); }
.c-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 20px rgba(255,255,255,.6); pointer-events: none; }
.c-line b { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(10,10,12,.55); border: 2px solid #fff; backdrop-filter: blur(8px); }
.c-line b::before, .c-line b::after { content: ''; position: absolute; top: 50%; width: 0; height: 0; margin-top: -6px; border: 6px solid transparent; }
.c-line b::before { left: 9px; border-right-color: #fff; }
.c-line b::after { right: 9px; border-left-color: #fff; }
.c-tag { position: absolute; top: 18px; padding: 6px 12px; border-radius: 9px; background: rgba(10,10,12,.6); backdrop-filter: blur(8px); font-size: 13px; font-weight: 650; }
.c-tag.l { left: 18px; } .c-tag.r { right: 18px; }
.compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare input[type=range]:focus-visible + * { outline: none; }
.compare:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--accent), 0 40px 100px rgba(0,0,0,.6); }

/* ---------------- 4. photo → video ---------------- */
.p2v { display: grid; grid-template-columns: .72fr auto 1fr; gap: 18px; align-items: center; }
.p2v figure { margin: 0; position: relative; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.p2v-still { aspect-ratio: 3 / 4; filter: saturate(.85) brightness(.85); }
.p2v-video { aspect-ratio: 3 / 4; box-shadow: 0 40px 100px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.12) !important; }
.p2v img, .p2v video { width: 100%; height: 100%; object-fit: cover; display: block; }
.p2v figcaption { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; border-radius: 9px; background: rgba(10,10,12,.6); backdrop-filter: blur(8px); font-size: 13px; font-weight: 650; }
.dotrec { width: 8px; height: 8px; border-radius: 50%; background: #ff4d3d; box-shadow: 0 0 10px #ff4d3d; animation: recb 1.1s steps(2) infinite; }
.p2v-arrow svg { width: 48px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: block; }
.timeline { position: absolute; left: 14px; right: 14px; bottom: 14px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.25); overflow: hidden; }
.timeline i { display: block; height: 100%; width: 0; background: #fff; }

/* ---------------- 5. bento tools ---------------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 300px 300px; gap: 16px; }
.btile { position: relative; border-radius: 24px; overflow: hidden; background: #0e0f11; color: #fff; isolation: isolate; transform-style: preserve-3d; transition: transform .25s ease; will-change: transform; }
.btile:hover { text-decoration: none; }
.btile::before { /* light that runs around the border on hover */
  content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 70%, var(--accent) 80%, #fff 85%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s; }
.btile::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); pointer-events: none; }
.btile:hover::before { opacity: 1; animation: spin 2.4s linear infinite; }
@keyframes spin { to { --ang: 360deg; } }
.btile > img, .btile > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.btile:hover > img, .btile:hover > video { transform: scale(1.05); }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; z-index: 1; background: linear-gradient(0deg, rgba(5,5,6,.92), rgba(5,5,6,.6) 60%, transparent); }
.btile h3 { margin: 0 0 6px; font-size: 22px; font-weight: 750; font-stretch: 115%; letter-spacing: -.02em; }
.btile p { margin: 0; color: rgba(243,238,230,.72); font-size: 14px; max-width: 48ch; }
.tprice { position: absolute; right: 16px; top: 16px; z-index: 1; padding: 7px 12px; border-radius: 11px; background: rgba(10,10,12,.62); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.14); font-size: 13px; color: rgba(243,238,230,.8); white-space: nowrap; }
.tprice b { color: #fff; font-size: 15px; margin: 0 3px; }
.tprice.free b { color: var(--teal); }
.t-create { grid-column: 1 / 3; grid-row: 1 / 3; }
.t-create h3 { font-size: 30px; }
.t-edit { grid-column: 3 / 5; grid-row: 1; }
.t-video { grid-column: 3 / 4; grid-row: 2; }
.t-tools { grid-column: 4 / 5; grid-row: 2; background: radial-gradient(120% 100% at 100% 0%, rgba(111,193,180,.18), transparent 60%), #0e0f11; }
.mini-compare { position: absolute; inset: 0; z-index: -2; }
.mini-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mini-compare .after { clip-path: inset(0 0 0 50%); animation: sweep 6s ease-in-out infinite alternate; }
@keyframes sweep { from { clip-path: inset(0 0 0 85%); } to { clip-path: inset(0 0 0 15%); } }
.toolchips { position: absolute; left: 22px; right: 22px; top: 64px; display: flex; flex-wrap: wrap; gap: 8px; }
.toolchips span { padding: 7px 11px; border-radius: 10px; border: 1px solid rgba(111,193,180,.35); color: #cfeee8; font-size: 13px; font-weight: 600; background: rgba(111,193,180,.07); }

/* ---------------- 6. wall marquee ---------------- */
.wall { display: grid; gap: 14px; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.row { display: flex; gap: 14px; width: max-content; animation: marquee 70s linear infinite; }
.row.r2 { animation-direction: reverse; animation-duration: 85s; }
.wall:hover .row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.row figure { margin: 0; height: 320px; border-radius: 18px; overflow: hidden; position: relative; background: #111; flex: none; }
.row figure.p { width: 240px; } .row figure.l { width: 520px; } .row figure.s { width: 320px; }
.row img, .row video { width: 100%; height: 100%; object-fit: cover; display: block; }
.row figcaption { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 8px; background: rgba(10,10,12,.66); font-size: 12px; font-weight: 650; }

/* ---------------- 7. steps ---------------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.steps::before { content: ''; position: absolute; left: 22px; right: 22px; top: 22px; height: 1px; background: linear-gradient(90deg, var(--accent), rgba(255,255,255,.15) 60%); }
.steps li { position: relative; padding-right: 32px; }
.steps .n { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #0e0f11; border: 1px solid rgba(255,255,255,.18); font-weight: 750; margin-bottom: 20px; }
.steps li:first-child .n { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); box-shadow: 0 0 30px rgba(240,164,58,.5); }
.steps h3 { margin: 0 0 8px; font-size: 21px; font-weight: 750; font-stretch: 112%; }
.steps p { margin: 0; color: var(--muted); }

/* ---------------- pricing ---------------- */
.landing .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.landing .plans:has(> .plan:nth-child(5)) { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.landing .plan .days { font-size: 12px; color: var(--muted); margin: 6px 0 10px; }
.landing .plan .days.pass { color: var(--accent); font-weight: 600; }
.landing .plan { position: relative; padding: 28px 24px; gap: 8px; align-content: start; border-radius: 22px; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); border: 1px solid rgba(255,255,255,.09); }
.landing .plan .lbl { font-size: 15px; color: var(--text); font-weight: 650; }
.landing .plan .btn { margin-top: 12px; }
.landing .plan .meta-l { color: var(--muted); font-size: 13px; line-height: 1.55; }
.landing .plan.hl { border-color: transparent; background: linear-gradient(180deg, rgba(240,164,58,.12), rgba(240,164,58,.02)) padding-box, linear-gradient(#0c0d0f, #0c0d0f) padding-box, conic-gradient(from var(--ang), rgba(240,164,58,.2), var(--accent), #ffe2b0, var(--accent), rgba(240,164,58,.2)) border-box; border: 1.5px solid transparent; animation: spin 6s linear infinite; box-shadow: 0 30px 80px rgba(240,164,58,.12); }
.paybar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; color: var(--muted); font-size: 14px; }
.paymethods { display: flex; gap: 8px; flex-wrap: wrap; }
.paymethods span { padding: 7px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 9px; color: var(--text); font-weight: 600; font-size: 13px; background: rgba(255,255,255,.03); }

/* trust + faq */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust > div { padding: 26px; border-radius: 20px; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.08); }
.trust svg { width: 28px; height: 28px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.trust h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.trust p { margin: 0; color: var(--muted); font-size: 14px; }
.faq { display: grid; max-width: 880px; border-top: 1px solid rgba(255,255,255,.08); }
.faq details { border-bottom: 1px solid rgba(255,255,255,.08); padding: 20px 2px; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin: 12px 0 0; max-width: 72ch; }

/* final */
.final { position: relative; margin-top: 140px; padding: 150px 0; overflow: hidden; isolation: isolate; }
.final-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: brightness(.45) saturate(1.1); }
.final::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #060708, rgba(6,7,8,.35) 30%, rgba(6,7,8,.35) 70%, #060708); }
.final-in { display: grid; justify-items: start; gap: 22px; }
.final-t { margin: 0; font-weight: 800; font-stretch: 125%; letter-spacing: -.05em; line-height: .95; font-size: clamp(38px, 6vw, 96px); max-width: 15ch; overflow-wrap: break-word; hyphens: auto; }
.lead { font-size: 19px; color: rgba(243,238,230,.85); margin: 0; }
.btn.glow { box-shadow: 0 0 40px rgba(240,164,58,.45); }
.foot { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; padding-top: 40px; padding-bottom: 48px; font-size: 14px; border-top: 1px solid rgba(255,255,255,.06); }
.foot a { color: var(--muted); }

/* reveal on scroll — sections slide up once */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- responsive ---------------- */
@media (max-width: 1100px) {
  .landing .plans, .landing .plans:has(> .plan:nth-child(5)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing .plans:has(> .plan:nth-child(5)) > .plan.pass { grid-column: 1 / -1; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 380px 280px 280px; }
  .t-create { grid-column: 1 / 3; grid-row: 1; }
  .t-edit { grid-column: 1 / 3; grid-row: 2; }
  .t-video { grid-column: 1 / 2; grid-row: 3; }
  .t-tools { grid-column: 2 / 3; grid-row: 3; }
}
@media (max-width: 960px) {
  .landing .topbar, .landing .topbar.solid { padding: 10px 14px; }
  .hud { inset: 70px 12px 12px; }
  .hud-side, .reticle, .chip { display: none; }
  .hud-top { left: 40px; right: 40px; }
  .vf-copy { padding-bottom: 28px; }
  .vf-shade { background: linear-gradient(180deg, rgba(4,5,6,.8) 0%, rgba(4,5,6,0) 22%), linear-gradient(0deg, rgba(4,5,6,.96) 0%, rgba(4,5,6,.7) 45%, rgba(4,5,6,.1) 80%); }
  .console { flex-wrap: wrap; padding: 12px; }
  .console-text { flex-basis: calc(100% - 40px); font-size: 15px; }
  .console-cost { margin-right: auto; }
  .vf-foot { margin-top: 16px; }
  .scenes { display: none; }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .specs div { padding: 22px 12px 22px 0; }
  .specs div:nth-child(2) { border-right: 0; }
  .specs div:nth-child(3) { padding-left: 0; }
  .specs div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.08); }
  .sect { padding-top: 80px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .split.rev .split-copy { order: 0; }
  .p2v { grid-template-columns: 1fr auto 1fr; gap: 10px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps::before { left: 22px; right: auto; top: 22px; bottom: 22px; width: 1px; height: auto; background: linear-gradient(180deg, var(--accent), rgba(255,255,255,.15)); }
  .steps li { padding-left: 64px; padding-right: 0; }
  .steps .n { position: absolute; left: 0; top: 0; }
  .row figure { height: 220px; } .row figure.p { width: 165px; } .row figure.l { width: 360px; } .row figure.s { width: 220px; }
  .final { margin-top: 90px; padding: 100px 0; }
}
@media (max-width: 560px) {
  .landing .topbar, .landing .topbar.solid { flex-wrap: nowrap; gap: 8px; }
  .landing .lang { width: 92px; min-width: 0; font-size: 13px; }
  .landing .topbar .btn.sm { white-space: nowrap; padding-inline: 12px; }
  .landing .plans, .trust { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 300px; }
  .t-create, .t-edit, .t-video, .t-tools { grid-column: auto; grid-row: auto; }
  .p2v-arrow { display: none; }
  .p2v { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .row, .mini-compare .after, .btile:hover::before, .landing .plan.hl, .console-go { animation: none !important; }
  .vf-title span, .vf-sub, .console { animation: none; opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .vf-media > * { transition: opacity .3s; transform: none !important; }
}

/* fixes after review */
.landing .guest .btn.ghost { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(0,0,0,.25); }
.hud-side { top: 44px; bottom: auto; }

/* ---------------- 4b. story ---------------- */
.story-steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; counter-reset: st; }
.story-steps li { position: relative; padding-left: 40px; color: var(--muted); line-height: 1.45; }
.story-steps li::before { counter-increment: st; content: counter(st); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: var(--accent); background: rgba(240,164,58,.14); }
.phone { position: relative; justify-self: center; width: min(340px, 82vw); aspect-ratio: 9 / 16; border-radius: 36px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 9px #1b1a18, 0 0 0 10px rgba(255,255,255,.14), 0 50px 110px rgba(0,0,0,.65); }
.phone video { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone-sound { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; background: rgba(10,10,12,.6); backdrop-filter: blur(8px); cursor: pointer; }
.phone-sound.on svg path:nth-child(n+2) { display: none; }
.phone-sound:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* акция: бонусные кредиты */
.bonus-note { margin: 0 0 18px; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(240,164,58,.45); background: rgba(240,164,58,.10); color: var(--text); font-weight: 600; }
.plan .ribbon.bonus { background: #ff5a3c; color: #fff; }
.plan .cr .plus { color: var(--accent); }

/* Cat Barista premiere card */
.premiere { position: fixed; left: 16px; bottom: 16px; z-index: 80; display: flex; align-items: flex-start; gap: 4px; max-width: 370px; padding: 10px 6px 10px 10px; border-radius: 18px;
  background: rgba(20,18,16,.94); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 24px 60px rgba(0,0,0,.55); backdrop-filter: blur(14px);
  transform: translateY(24px); opacity: 0; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .45s; }
.premiere.on { transform: none; opacity: 1; }
.premiere-link { display: flex; gap: 12px; align-items: center; color: var(--text); text-decoration: none; }
.premiere-link:hover { text-decoration: none; }
.premiere img { width: 54px; height: 96px; object-fit: cover; border-radius: 10px; flex: none; }
.premiere-txt { display: grid; gap: 2px; font-size: 14px; line-height: 1.35; }
.premiere-txt b { font-size: 16px; }
.premiere-txt #premLine { color: var(--muted); font-variant-numeric: tabular-nums; }
.premiere-cta { color: var(--accent); font-weight: 650; }
.premiere-x { flex: none; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; }
.premiere-x:hover { color: var(--text); background: rgba(255,255,255,.08); }
@media (max-width: 520px) { .premiere { left: 8px; right: 8px; bottom: 8px; max-width: none; } }
@media (prefers-reduced-motion: reduce) { .premiere { transition: none; } }

/* Telegram-бот: пункт меню и кнопка рядом с главным призывом */
.lnav .tg-nav { color: #7cc4f0; }
.final-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: inherit; }
.tg-cta { background: #2aabee; color: #fff; border-color: #2aabee; }
.tg-cta:hover { background: #229ed9; border-color: #229ed9; }

/* ---------------- патч 50: «Скажи — и готово» ---------------- */
.landing .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.console-field { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; }
.console-field input { width: 100%; min-width: 0; background: transparent; border: 0; padding: 10px 0; color: #fff; font: inherit; font-size: 17px; outline: none; position: relative; z-index: 1; }
.console-field .console-text { position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none; color: rgba(255,255,255,.62); }
.console.typing .console-text { opacity: 0; }
.console.typing .console-cost { display: none; }
.console:focus-within { border-color: rgba(240,164,58,.7); }
.console-go { border: 0; font: inherit; font-weight: 750; cursor: pointer; }
.ask-ex { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; max-width: 900px; opacity: 0; animation: rise .9s .45s cubic-bezier(.2,.8,.2,1) forwards; }
.ask-ex button { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(14,14,16,.45); backdrop-filter: blur(12px); color: rgba(255,255,255,.88); font: inherit; font-size: 14px; cursor: pointer; min-height: 38px; }
.ask-ex button:hover { border-color: var(--accent); color: #fff; }
.ask-ex button:focus-visible, .console-go:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* как это работает: один разговор */
.say-stage { display: grid; grid-template-columns: 220px minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.say-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.say-steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; line-height: 1.4; color: rgba(243,238,230,.88); }
.say-steps b { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); font-size: 15px; }
.say-steps li:first-child b { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.say-chat { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 24px; background: #0e0f11; border: 1px solid rgba(255,255,255,.08); }
.say-me { align-self: flex-end; max-width: 460px; display: flex; gap: 10px; align-items: center; background: #1c1814; border-radius: 18px 18px 4px 18px; padding: 13px 16px; font-size: 16px; line-height: 1.45; }
.say-mic { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.say-ai p { margin: 0 0 12px; font-size: 16px; color: rgba(243,238,230,.9); }
.say-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.say-opt { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.12); background: #131417; }
.say-opt.best { border-color: var(--accent); background: #1b160f; }
.say-opt i { align-self: flex-start; font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 6px; background: rgba(255,255,255,.08); color: var(--muted); }
.say-opt.best i { background: rgba(240,164,58,.16); color: var(--accent); }
.say-opt b { font-size: 15px; }
.say-opt span { font-size: 13px; color: var(--muted); line-height: 1.4; flex: 1; }
.say-opt em { font-style: normal; text-align: center; margin-top: 6px; padding: 8px; border-radius: 9px; font-size: 13px; font-weight: 700; border: 1px solid rgba(255,255,255,.16); }
.say-opt.best em { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.say-result { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 9 / 16; background: #0e0f11; border: 1px solid rgba(255,255,255,.08); }
.say-result video { width: 100%; height: 100%; object-fit: cover; display: block; }
.say-badge { position: absolute; left: 12px; top: 12px; padding: 6px 10px; border-radius: 8px; background: rgba(8,9,11,.72); backdrop-filter: blur(8px); font-size: 13px; font-weight: 700; color: #fff; }
.say-badge::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); margin-right: 7px; vertical-align: 1px; }
/* одна сцена появления, когда блок попал в кадр */
.say-stage .say-me, .say-stage .say-ai, .say-stage .say-result { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.say-stage.play .say-me { opacity: 1; transform: none; }
.say-stage.play .say-ai { opacity: 1; transform: none; transition-delay: .7s; }
.say-stage.play .say-result { opacity: 1; transform: none; transition-delay: 1.5s; }

/* что умеет студия */
.can { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 300px; gap: 16px; }
.can .c-story { grid-row: span 2; }
.btile .new { display: inline-block; margin-bottom: 8px; padding: 3px 8px; border-radius: 6px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 750; }
.c-voice { background: radial-gradient(120% 90% at 30% 20%, #2a1d0e 0%, #0e0f11 60%); }
.wave { position: absolute; left: 28px; right: 28px; top: 46px; height: 120px; display: flex; align-items: center; gap: 6px; z-index: -1; }
.wave i { flex: 1; border-radius: 4px; background: var(--accent); opacity: .85; height: 30%; animation: wave 1.4s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -.3s; height: 70%; } .wave i:nth-child(3n+1) { animation-delay: -.7s; height: 45%; } .wave i:nth-child(4n) { animation-delay: -1s; height: 90%; opacity: .6; }
@keyframes wave { 50% { transform: scaleY(.35); } }
@media (max-width: 1100px) {
  .say-stage { grid-template-columns: minmax(0, 1fr) 260px; }
  .say-steps { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 960px) {
  .can { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 260px; }
  .can .c-story { grid-row: span 1; }
}
@media (max-width: 720px) {
  .say-stage { grid-template-columns: minmax(0, 1fr); }
  .say-steps { flex-direction: column; gap: 14px; }
  .say-opts { grid-template-columns: minmax(0, 1fr); }
  .say-result { max-width: 320px; justify-self: center; width: 100%; }
  .say-chat { padding: 16px; }
  .can { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 240px; }
  .console-field input { font-size: 16px; }
  .ask-ex button { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .wave i { animation: none; }
  .say-stage .say-me, .say-stage .say-ai, .say-stage .say-result { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 960px) { .console-field { flex-basis: calc(100% - 40px); } .console-go { flex: 1; } }
@media (prefers-reduced-motion: reduce) { .ask-ex { animation: none; opacity: 1; } }
.can .c-video { grid-column: 1 / -1; }
@media (max-width: 960px) { .can .c-video { grid-column: auto; } }
@media (max-width: 720px) {
  .ask-ex { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -20px; padding-right: 20px; }
  .ask-ex::-webkit-scrollbar { display: none; }
  .ask-ex button { flex: none; }
}

/* видео-инструкция */
.tut { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #0d0c0a; border: 1px solid rgba(255,255,255,.08); }
.tut iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tut-face { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.tut-face img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.tut-face:hover img { transform: scale(1.015); }
.tut-btn { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; display: grid; place-items: center;
  background: #f2a43a; color: #0d0c0a; box-shadow: 0 10px 40px rgba(242,164,58,.35); transition: transform .2s ease; }
.tut-btn svg { margin-left: 4px; }
.tut-face:hover .tut-btn, .tut-face:focus-visible .tut-btn { transform: scale(1.08); }
.tut-face:focus-visible { outline: 2px solid #f2a43a; outline-offset: -4px; }
@media (max-width: 640px) { .tut-btn { width: 58px; height: 58px; margin: -29px 0 0 -29px; } .tut { border-radius: 12px; } }
.howto #tutLanding { max-width: 980px; }
.tut-yt { margin-top: 14px; font-size: 14px; }
.tut-yt a { color: var(--muted, #a89e8f); }
