/* ═══════════════ TOKENS ═══════════════ */
:root {
  --lime: #8eff01; --violet: #8b53fe;
  --dark: #0e1118; --navy: #1d2331; --navy2: #252d3d;
  --surf: rgba(29,35,49,.72);
  --bdr: rgba(142,255,1,.12); --bdrv: rgba(139,83,254,.18);
  --t1: #fff; --t2: rgba(255,255,255,.55); --t3: rgba(255,255,255,.28);
  --r: 22px; --rs: 14px;
  --ff: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth }
body {
  font-family: var(--ff); font-weight: 300;
  background: var(--dark); color: var(--t1);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100% }
a { color: inherit; text-decoration: none }
ul { list-style: none }

/* ═══════════════ UTILS ═══════════════ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px }
.section { padding: 110px 0 }
.grad-text {
  background: linear-gradient(90deg, var(--lime) 0%, var(--violet) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-header { margin-bottom: 64px }
.section-label {
  display: inline-block; font-size: 11px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--lime);
  margin-bottom: 16px; padding: 4px 16px;
  border: 1px solid var(--bdr); border-radius: 99px;
}
.section-label-sm {
  display: inline-block; font-size: 11px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--lime);
  margin-bottom: 12px;
}
.section-header h2, .section-header h3 {
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300;
  line-height: 1.12; margin-bottom: 16px;
}
.section-header p { font-size: 1.05rem; color: var(--t2); line-height: 1.7 }

/* ═══════════════ BUTTONS ═══════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 99px; font-family: var(--ff); font-weight: 400;
  font-size: 1rem; cursor: pointer; border: none;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  padding: 14px 32px; text-decoration: none;
}
.btn--primary {
  background: linear-gradient(135deg, var(--lime) 0%, var(--violet) 100%);
  color: #0e1118; font-weight: 500;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(142,255,1,.28) }
.btn--ghost {
  background: transparent; color: var(--t1);
  border: 1px solid rgba(255,255,255,.22);
}
.btn--ghost:hover { border-color: rgba(255,255,255,.5); transform: translateY(-2px) }
.btn--sm  { padding: 10px 22px; font-size: .88rem }
.btn--md  { padding: 14px 36px }
.btn--lg  { padding: 18px 44px; font-size: 1.05rem }

/* ═══════════════ NAV ═══════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 28px; transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(14,17,24,.88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-color: var(--bdr);
}
.nav__inner {
  max-width: 1200px; margin: 0 auto; height: 68px;
  display: flex; align-items: center; gap: 40px;
}
.nav__logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.05rem; font-weight: 500; flex-shrink: 0;
}
.nav__logo img {
  width: 32px; height: 32px; object-fit: cover;
  border-radius: 10px;
}
.nav__links { display: flex; gap: 32px; flex: 1 }
.nav__links a { font-size: .9rem; color: var(--t2); transition: color .15s }
.nav__links a:hover { color: var(--t1) }

/* ═══════════════ SCENE SECTION ═══════════════ */
.scene-section { height: 560vh; position: relative; background: #000 }
.scene-sticky {
  position: sticky; top: 0; height: 100svh; overflow: hidden; background: #000;
}
/* WebGL displays frames from the paused video; the video remains the fallback. */
.hero-media-surface {
  position: absolute; inset: 0; z-index: 0;
  background: #000; will-change: opacity;
}
.hero-webgl-canvas,
.hero-video-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero-webgl-canvas {
  z-index: 1; opacity: 0; pointer-events: none;
}
.scene-section.webgl-ready .hero-webgl-canvas { opacity: 1 }
.scene-section.webgl-ready .hero-video-bg { opacity: 0 }
.scene-section.webgl-failed .hero-webgl-canvas { display: none }
.scene-section.webgl-failed .hero-video-bg { opacity: 1 }
.hero-video-bg {
  z-index: 0;
}
/* The supplied video ends on black; this keeps the handoff deterministic. */
.hero-darken {
  position: absolute; inset: 0; z-index: 1;
  background: #000; opacity: 0; pointer-events: none;
}

/* ─── HERO CONTENT (left-aligned) ─── */
.hero-content {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 0 80px;
  max-width: 1200px; margin: 0 auto; left: 0; right: 0;
  padding-left: 28px; padding-right: 28px;
  width: 100%;
  /* left half only */
}
.hero-badge {
  display: inline-block; font-size: .8rem; font-weight: 400;
  letter-spacing: .08em; color: var(--lime);
  border: 1px solid var(--bdr); border-radius: 99px;
  padding: 6px 20px; margin-bottom: 24px;
  background: rgba(142,255,1,.06);
  width: fit-content;
}
.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 5rem); font-weight: 300;
  line-height: 1.06; margin-bottom: 22px; letter-spacing: -.015em;
  max-width: 560px;
}
.hero-sub {
  font-size: clamp(.95rem, 1.5vw, 1.12rem); color: var(--t2);
  line-height: 1.75; margin-bottom: 36px; max-width: 480px;
}
.br-lg { display: block }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px }
.hero-stats {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  padding: 18px 32px;
  background: var(--surf); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--bdr); border-radius: var(--r);
  width: fit-content;
}
.stat { text-align: left }
.stat-n {
  display: block; font-size: 1.7rem; font-weight: 400; line-height: 1; margin-bottom: 3px;
  background: linear-gradient(90deg, var(--lime), var(--violet));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-l { font-size: .75rem; color: var(--t2) }
.stat-div { width: 1px; height: 30px; background: var(--bdr) }

/* ─── SCROLL ARROW ─── */
.scroll-arrow {
  display: flex; align-items: center; gap: 12px; margin-top: 40px;
  color: var(--t3); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
}
.scroll-arrow svg {
  animation: arrowBounce 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); opacity: .5 }
  50%       { transform: translateY(5px); opacity: 1 }
}

/* ═══════════════ SCROLL TRANSITION CARDS ═══════════════ */
.scene-cards {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
}
.scene-card {
  position: absolute;
  width: min(34vw, 480px);
  height: 236px;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px;
  background: rgba(13,17,25,.82);
  box-shadow: 0 22px 60px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  will-change: transform, opacity;
}
.scene-card img {
  width: 100%; height: 100%;
  min-width: 0; min-height: 0;
  max-width: none;
  object-fit: cover;
}
.scene-card__body {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  align-content: center;
  min-width: 0;
  padding: 20px 22px;
}
.scene-card__body span {
  color: var(--lime); font-size: .75rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 8px;
}
.scene-card__body strong {
  color: #fff; font-size: 1.14rem; font-weight: 600; line-height: 1.25;
}
.scene-card__body p {
  align-self: start;
  margin: 9px 0 0;
  color: rgba(255,255,255,.68);
  font-size: .78rem;
  line-height: 1.45;
}
.scene-card__meta {
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.scene-card__meta b {
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: rgba(255,255,255,.76);
  background: rgba(255,255,255,.05);
  font-size: .62rem;
  font-weight: 500;
}
.scene-card--1 { top: 13%; left: 4vw }
.scene-card--2 { top: 29%; right: 4vw }
.scene-card--3 { top: 54%; left: 5vw }
.scene-card--4 { top: 70%; right: 5vw }

/* ═══════════════ EYE SHOWCASE ═══════════════ */
.eye-showcase {
  position: absolute; top: 0; bottom: 0; z-index: 4;
  display: flex; align-items: center; justify-content: flex-start;
  width: 100%; max-width: 1200px; padding: 0 28px;
  left: 50%; right: auto; transform: translateX(-50%);
  opacity: 0; pointer-events: none;
}
.eye-showcase.visible { pointer-events: all }
.eye-showcase-inner { max-width: 680px }
.eye-showcase-title {
  font-size: clamp(3rem, 6vw, 5.4rem); font-weight: 300;
  line-height: 1.1; margin-bottom: 16px;
}
.eye-showcase-sub { color: var(--t2); font-size: 1rem; margin-bottom: 28px }
.eye-showcase .btn { white-space: nowrap }
.scene-section--video-error .hero-media-surface { display: none }
.scene-section--reduced { height: 100svh }
.scene-section--reduced .eye-showcase { display: none }

/* ═══════════════ PROPS ═══════════════ */
.props, .showcase, .models { background: #000 }
.props-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px;
}
.prop {
  padding: 30px 26px;
  background: var(--surf); border: 1px solid var(--bdr); border-radius: var(--r);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform .22s, border-color .22s;
}
.prop:hover { transform: translateY(-4px); border-color: rgba(142,255,1,.3) }
.prop-icon {
  width: 44px; height: 44px; border-radius: 11px;
  background: rgba(142,255,1,.07);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.prop h3 { font-size: .95rem; font-weight: 500; margin-bottom: 9px }
.prop p  { font-size: .86rem; color: var(--t2); line-height: 1.65 }

/* ═══════════════ SHOWCASE ═══════════════ */
.showcase-row {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px;
  align-items: center; margin-bottom: 100px;
}
.showcase-row--rev { direction: rtl }
.showcase-row--rev > * { direction: ltr }

.sc-badge {
  display: inline-flex; align-items: center;
  font-size: .78rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 99px; margin-bottom: 18px;
  color: var(--bc, var(--lime));
  border: 1px solid color-mix(in srgb, var(--bc, var(--lime)) 30%, transparent);
  background: color-mix(in srgb, var(--bc, var(--lime)) 8%, transparent);
}
.showcase-info h3 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem); font-weight: 300;
  line-height: 1.18; margin-bottom: 16px;
}
.showcase-info p { color: var(--t2); line-height: 1.7; margin-bottom: 18px; font-size: 1.02rem }
.sc-chips { display: flex; flex-wrap: wrap; gap: 7px }
.sc-chips span {
  font-size: .82rem; color: var(--t2);
  background: var(--surf); border: 1px solid var(--bdr);
  border-radius: 99px; padding: 5px 14px;
}

/* ─── COLLAGE ─── */
.showcase-collage { display: flex; flex-direction: column; gap: 8px }
.collage-top {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.collage-top img, .collage-top video {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;   /* 1:1 square */
  border-radius: 14px;
  transition: transform .25s;
  object-position: center 20%;   /* bias toward faces (upper portion) */
}
.collage-top img:hover, .collage-top video:hover { transform: scale(1.02) }
.collage-bottom img, .collage-bottom video {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;  /* landscape, less aggressive crop */
  border-radius: 14px;
  transition: transform .25s;
  object-position: center 25%;   /* show upper face/subject area */
}
.collage-bottom img:hover, .collage-bottom video:hover { transform: scale(1.015) }

/* Tools */
.tools-demo { margin-top: 40px }
.tool-videos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 38px }
.tool-card {
  border-radius: var(--rs); overflow: hidden; background: var(--navy);
  border: 1px solid var(--bdr); transition: transform .22s, border-color .22s;
  position: relative;
}
.tool-card:hover { transform: translateY(-4px); border-color: rgba(142,255,1,.3) }
.tool-card video, .tool-card img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;  /* 1:1 square */
  display: block;
}
.tool-card span {
  display: block; padding: 12px 14px; font-size: .8rem; color: var(--t2);
}

/* ═══════════════ MODELS ═══════════════ */
.model-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px;
}
.model-tab {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 20px;
  border-radius: 99px; background: var(--surf); border: 1px solid var(--bdr);
  color: var(--t2); font-family: var(--ff); font-size: .87rem; cursor: pointer;
  transition: all .18s;
}
.model-tab:hover { color: var(--t1) }
.model-tab.active { background: rgba(142,255,1,.1); border-color: var(--lime); color: var(--lime) }
.model-panel { display: none }
.model-panel.active { display: block }
.model-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(195px, 1fr)); gap: 11px }
.model-card {
  display: flex; align-items: center; gap: 11px; padding: 13px 15px;
  background: var(--surf); border: 1px solid var(--bdr); border-radius: var(--rs);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--t1); font-family: var(--ff); text-align: left; cursor: pointer;
  opacity: 0; transform: translateY(14px);
  transition: transform .18s, border-color .18s, opacity .4s, translate .4s;
}
.model-card.in-view { opacity: 1; transform: translateY(0) }
.model-card:hover { transform: translateY(-3px); border-color: rgba(139,83,254,.4) }
.model-logo {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: transparent;
}
.model-logo img,
.model-logo svg { width: 100%; height: 100%; display: block; object-fit: contain }
.model-logo img[src$="openai.svg"] {
  filter: invert(48%) sepia(82%) saturate(488%) hue-rotate(116deg) brightness(88%) contrast(91%);
}
.model-logo img[src$="suno.svg"],
.model-logo img[src$="elevenlabs.svg"] { filter: invert(1) }
.model-name { font-size: .81rem; color: var(--t1); line-height: 1.3 }
.model-arrow { margin-left: auto; color: var(--t3) }

/* ═══════════════ TOOLS CHIPS ═══════════════ */
.chips-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px }
.chip {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  background: var(--surf); border: 1px solid var(--bdr); border-radius: var(--rs);
  font-size: .84rem; color: var(--t2);
  opacity: 0; transform: translateY(10px);
  transition: color .18s, border-color .18s, opacity .35s, transform .35s;
}
.chip.in-view { opacity: 1; transform: translateY(0) }
.chip:hover { color: var(--t1); border-color: rgba(142,255,1,.28) }
.chip-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); flex-shrink: 0 }
.tool-chip {
  min-height: 96px; padding: 18px; border: 1px solid var(--bdr);
  border-radius: var(--r); background: var(--surf); color: var(--t1);
  font-family: var(--ff); text-align: left; cursor: pointer;
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  transition: transform .18s, border-color .18s, background .18s;
}
.tool-chip:hover {
  transform: translateY(-3px); border-color: rgba(142,255,1,.34);
  background: rgba(35,43,58,.88);
}
.tool-chip span { font-size: .92rem; font-weight: 500 }
.tool-chip small { color: var(--t2); font-size: .76rem; line-height: 1.45 }

/* ═══════════════ PRICING ═══════════════ */
.period-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px }
.period-tab {
  padding: 9px 22px; border-radius: 99px; background: var(--surf);
  border: 1px solid var(--bdr); color: var(--t2); font-family: var(--ff);
  font-size: .87rem; cursor: pointer; transition: all .18s;
  display: flex; align-items: center; gap: 8px;
}
.period-tab:hover { color: var(--t1) }
.period-tab.active { background: rgba(139,83,254,.12); border-color: var(--violet); color: var(--violet) }
.badge-save { font-size: .69rem; background: rgba(142,255,1,.1); color: var(--lime); padding: 2px 8px; border-radius: 99px }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-bottom: 52px }
.plan-card {
  position: relative; padding: 34px 28px;
  background: var(--surf); border: 1px solid var(--bdr); border-radius: var(--r);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform .22s, border-color .22s; overflow: hidden;
}
.plan-card::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--r); opacity: 0;
  background: linear-gradient(135deg, rgba(142,255,1,.05), rgba(139,83,254,.05));
  transition: opacity .22s; pointer-events: none;
}
.plan-card:hover::before { opacity: 1 }
.plan-card:hover { transform: translateY(-4px) }
.plan-card > h3 { margin-bottom: 10px; font-size: 1.2rem; font-weight: 500 }
.plan-card > p { min-height: 54px; margin-bottom: 24px; color: var(--t2); line-height: 1.55 }
.plan-card > strong { display: block; margin-bottom: 7px; font-size: 2rem; font-weight: 400 }
.plan-card > small { display: block; min-height: 34px; margin-bottom: 22px; color: var(--t3) }
.plan-card > .btn { width: 100% }
.plan-card--popular { border-color: rgba(139,83,254,.48); background: rgba(139,83,254,.08) }
.plan-popular {
  position: absolute; top: 16px; right: 16px;
  padding: 4px 10px; border-radius: 99px;
  color: var(--lime); background: rgba(142,255,1,.1);
  border: 1px solid rgba(142,255,1,.22); font-size: .68rem;
}
.plan-card--featured { border-color: var(--violet); background: rgba(139,83,254,.08) }
.plan-card--featured::after {
  content: 'Популярный'; position: absolute; top: 16px; right: 16px;
  font-size: .69rem; font-weight: 500; color: var(--violet);
  background: rgba(139,83,254,.15); border: 1px solid rgba(139,83,254,.3);
  border-radius: 99px; padding: 3px 10px;
}
.plan-name { font-size: .95rem; font-weight: 500; margin-bottom: 6px }
.plan-tokens { font-size: .8rem; color: var(--t2); margin-bottom: 20px }
.plan-tokens span { color: var(--lime); font-weight: 400 }
.plan-price { font-size: 2.2rem; font-weight: 300; line-height: 1; margin-bottom: 3px }
.plan-price sub { font-size: .85rem; color: var(--t2); vertical-align: baseline }
.plan-period { font-size: .76rem; color: var(--t3); margin-bottom: 22px }
.plan-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px }
.plan-features li { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--t2) }
.plan-features li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); flex-shrink: 0 }
.plan-cta {
  display: block; text-align: center; padding: 11px; border-radius: 99px;
  font-family: var(--ff); font-size: .86rem; font-weight: 400;
  border: 1px solid var(--bdr); background: transparent; color: var(--t1);
  cursor: pointer; transition: all .18s; width: 100%;
}
.plan-card--featured .plan-cta {
  background: linear-gradient(135deg, var(--lime), var(--violet));
  color: #0e1118; border: none; font-weight: 500;
}
.plan-cta:hover { opacity: .84 }
/* payment */
.payment-methods { text-align: left; margin-bottom: 52px }
.payment-label { font-size: .78rem; color: var(--t3); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .1em }
.payment-list { display: flex; flex-wrap: wrap; gap: 8px }
.payment-item {
  display: flex; align-items: center; gap: 8px; padding: 7px 16px;
  background: var(--surf); border: 1px solid var(--bdr); border-radius: 99px; font-size: .81rem;
}
.payment-item--base  { border-color: rgba(142,255,1,.3); color: var(--lime) }
.payment-item--admin { border-color: rgba(139,83,254,.3); color: var(--violet) }
.pnote { font-size: .7rem; color: var(--t3) }
.payment-item--base  .pnote { color: rgba(142,255,1,.6) }
.payment-item--admin .pnote { color: rgba(139,83,254,.6) }
/* price detail */
.price-detail {
  background: var(--surf); border: 1px solid var(--bdr); border-radius: var(--r);
  padding: 32px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.price-detail-title { font-size: 1.1rem; font-weight: 400; margin-bottom: 20px }
.price-cat-tabs { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 22px }
.pct {
  padding: 7px 16px; border-radius: 99px; background: transparent;
  border: 1px solid var(--bdr); color: var(--t2);
  font-family: var(--ff); font-size: .81rem; cursor: pointer; transition: all .15s;
}
.pct.active { border-color: var(--lime); color: var(--lime); background: rgba(142,255,1,.07) }
.pcp { display: none }
.pcp.active { display: block }
.price-table { width: 100%; border-collapse: collapse; font-size: .84rem }
.price-table th {
  text-align: left; padding: 9px 12px; color: var(--t3); font-weight: 400;
  font-size: .73rem; text-transform: uppercase; letter-spacing: .08em;
  border-bottom: 1px solid var(--bdr);
}
.price-table td { padding: 10px 12px; color: var(--t2); border-bottom: 1px solid rgba(255,255,255,.04) }
.price-table tr:last-child td { border-bottom: none }
.price-table td:first-child { color: var(--t1) }
.price-table .tok { color: var(--lime); font-weight: 400 }

/* ═══════════════ CTA ═══════════════ */
.cta-banner { padding: 60px 0 100px }
.cta-card {
  position: relative; overflow: hidden; border-radius: var(--r);
  border: 1px solid var(--bdrv); padding: 80px 40px;
  background: rgba(139,83,254,.05);
}
.cta-content { position: relative; z-index: 1 }
.cta-content h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 300; margin-bottom: 14px }
.cta-content p  { color: var(--t2); margin-bottom: 32px; font-size: 1.02rem }

/* ═══════════════ FOOTER ═══════════════ */
.footer { border-top: 1px solid var(--bdr); padding: 40px 0 108px }
.footer-inner { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 22px 48px }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 500 }
.footer-brand img { width: 24px; height: 24px; object-fit: contain }
.footer-nav,
.footer-legal { display: flex; flex-wrap: wrap; gap: 12px 22px }
.footer-nav a,
.footer-legal a { font-size: .83rem; color: var(--t2); transition: color .15s }
.footer-nav a:hover,
.footer-legal a:hover { color: var(--t1) }
.footer-legal { grid-column: 2; }
.footer-copy { grid-column: 2; font-size: .78rem; color: var(--t3) }

/* ═══════════════ FAQ ═══════════════ */
.faq { background: #090b11 }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  max-width: 1040px;
  margin: 34px auto 0;
}
.faq-item {
  min-height: 82px;
  padding: 0 26px;
  border: 1px solid var(--bdr);
  border-radius: 24px;
  background: rgba(19, 24, 34, .9);
}
.faq-item summary {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--t1);
  font-size: .96rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none }
.faq-item summary::after {
  content: "+";
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(151, 238, 72, .35);
  border-radius: 50%;
  color: var(--lime);
  font-size: 1.15rem;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg) }
.faq-item p {
  max-width: 880px;
  padding: 2px 56px 28px 0;
  color: var(--t2);
  font-size: .92rem;
  line-height: 1.75;
}

.cookie-notice {
  position: fixed;
  z-index: 1200;
  left: max(18px, env(safe-area-inset-left));
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 18px;
  border: 1px solid rgba(139, 83, 254, .34);
  border-radius: 22px;
  background: rgba(14, 17, 24, .96);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  gap: 18px;
}
.cookie-notice[hidden] { display: none }
.cookie-notice__text { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; min-width: 0 }
.cookie-notice__text strong { color: var(--t1); font-size: .9rem }
.cookie-notice__text span { color: var(--t2); font-size: .8rem; line-height: 1.5 }
.cookie-notice__text a { color: var(--lime); font-size: .8rem; white-space: nowrap }
.cookie-notice__button {
  min-width: 108px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(132, 244, 43, .65);
  border-radius: 999px;
  color: #0b1008;
  background: var(--lime);
  font-weight: 700;
  cursor: pointer;
}

/* ═══════════════ REVEAL ═══════════════ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease }
.reveal.in-view { opacity: 1; transform: translateY(0) }

/* ═══════════════ REDUCED MOTION ═══════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important }
  .reveal, .model-card, .chip { opacity: 1; transform: none }
  .hero-content { opacity: 1 !important }
  .scene-cards { display: none }
  .scroll-arrow svg { animation: none }
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 960px) {
  .scene-section { height: 480vh }
  .scene-card {
    width: min(44vw, 400px);
    height: 220px;
    grid-template-columns: 132px minmax(0, 1fr);
  }
  .scene-card__body { padding: 18px }
  .scene-card__body strong { font-size: 1rem }
  .showcase-row { grid-template-columns: 1fr; gap: 32px; margin-bottom: 70px }
  .showcase-row--rev { direction: ltr }
  .tool-videos { grid-template-columns: 1fr 1fr }
  .nav__links { display: none }
  .br-lg { display: none }
}
@media (max-width: 600px) {
  .scene-section { height: 420vh }
  .section { padding: 70px 0 }
  .hero-content {
    justify-content: flex-start;
    padding-top: 112px; padding-bottom: 28px;
  }
  .hero-badge {
    max-width: 100%; margin-bottom: 18px;
    font-size: .72rem; line-height: 1.35;
  }
  .hero-title { font-size: 2.5rem; margin-bottom: 18px }
  .hero-sub { line-height: 1.55; margin-bottom: 26px }
  .hero-cta {
    width: 100%; flex-direction: column; align-items: flex-start;
    gap: 12px; margin-bottom: 30px;
  }
  .hero-cta .btn { width: min(100%, 320px); white-space: nowrap }
  .hero-stats {
    width: min(100%, 330px);
    justify-content: space-between;
    gap: 10px; padding: 14px 18px;
    flex-wrap: nowrap;
  }
  .stat-div { height: 34px }
  .scroll-arrow { display: none }
  .scene-card {
    width: calc(100% - 24px);
    height: 184px;
    grid-template-columns: 110px minmax(0, 1fr);
    border-radius: 24px;
  }
  .scene-card__body { padding: 13px }
  .scene-card__body span { font-size: .61rem; margin-bottom: 5px }
  .scene-card__body strong { font-size: .88rem }
  .scene-card__body p { margin-top: 6px; font-size: .68rem; line-height: 1.35 }
  .scene-card__meta { margin-top: 8px; gap: 4px }
  .scene-card__meta b { padding: 4px 6px; font-size: .54rem }
  .scene-card--1 { top: 10%; left: 12px }
  .scene-card--2 { top: 35%; right: 12px }
  .scene-card--3 { top: 60%; left: 12px }
  .scene-card--4 { top: 79%; right: 12px }
  .eye-showcase {
    align-items: center;
    padding: 0 28px;
  }
  .eye-showcase-inner { width: 100%; max-width: 100% }
  .eye-showcase-title {
    font-size: clamp(3rem, 14vw, 3.55rem);
    max-width: 330px;
  }
  .eye-showcase-sub { font-size: 1.05rem }
  .eye-showcase .btn {
    width: auto; min-width: 190px;
    padding-left: 26px; padding-right: 26px;
  }
  .model-grid { grid-template-columns: 1fr 1fr }
  .chips-grid { grid-template-columns: 1fr 1fr }
  .tool-videos { grid-template-columns: 1fr }
  .pricing-grid { grid-template-columns: 1fr }
  .faq-grid { grid-template-columns: 1fr }
  .price-detail { padding: 20px 14px }
  .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center }
  .footer-legal,
  .footer-copy { grid-column: 1 }
  .footer-nav,
  .footer-legal { justify-content: center }
  .cookie-notice { align-items: stretch; flex-direction: column; gap: 12px }
  .cookie-notice__button { width: 100% }
  .collage-top img, .collage-top video { aspect-ratio: 4/3 }
}

/* ═══════════════════════════════════════════════════════
   AUTH MODAL
═══════════════════════════════════════════════════════ */
@media (max-height: 560px) and (min-width: 601px) {
  .hero-content {
    justify-content: flex-start;
    padding-top: 76px;
    padding-bottom: 16px;
  }
  .hero-badge {
    margin-bottom: 8px;
    padding: 4px 12px;
    font-size: .65rem;
  }
  .hero-title {
    max-width: 440px;
    margin-bottom: 8px;
    font-size: 2rem;
    line-height: 1;
  }
  .hero-sub {
    max-width: 410px;
    margin-bottom: 10px;
    font-size: .8rem;
    line-height: 1.35;
  }
  .hero-cta { margin-bottom: 10px }
  .hero-cta .btn {
    min-height: 40px;
    padding: 10px 20px;
    white-space: nowrap;
  }
  .hero-stats {
    padding: 8px 18px;
    gap: 16px;
  }
  .stat-n { font-size: 1.2rem }
  .stat-l { font-size: .65rem }
  .scroll-arrow { display: none }
  .scene-card {
    width: min(31vw, 260px);
    height: 72px;
    grid-template-columns: 72px minmax(0, 1fr);
    border-radius: 20px;
  }
  .scene-card__body { padding: 10px }
  .scene-card__body span { margin-bottom: 4px; font-size: .56rem }
  .scene-card__body strong { font-size: .78rem }
  .scene-card__body p,
  .scene-card__meta { display: none }
  .scene-card--1 { top: 20% }
  .scene-card--2 { top: 39% }
  .scene-card--3 { top: 58% }
  .scene-card--4 { top: 77% }
}

.auth-overlay {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8, 10, 16, 0.82);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.32s cubic-bezier(.4,0,.2,1);
}
.auth-overlay.open { opacity: 1; pointer-events: all }

.auth-modal {
  position: relative;
  display: grid; grid-template-columns: 420px 1fr;
  width: 100%; max-width: 1060px;
  border-radius: 28px; overflow: hidden;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 40px 120px rgba(0,0,0,.7);
  transform: scale(.93) translateY(20px);
  transition: transform 0.36s cubic-bezier(.34,1.28,.64,1);
}
.auth-overlay.open .auth-modal { transform: scale(1) translateY(0) }

.auth-left {
  position: relative; padding: 36px 36px 32px;  /* all horizontal = same 36px as buttons/inputs */
  display: flex; flex-direction: column;
  background: var(--dark); overflow-y: auto;
}
.auth-close {
  position: absolute; z-index: 12; top: 18px; right: 18px;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(5,7,11,.66); border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.78); cursor: pointer;
  backdrop-filter: blur(12px);
  transition: background .18s, color .18s;
}
.auth-close:hover { background: rgba(255,255,255,.14); color: #fff }

.auth-logo-wrap {
  display: flex; flex-direction: column; align-items: center; margin-bottom: 24px;
}
.auth-logo-icon {
  width: 68px; height: 68px; border-radius: 20px;
  background: linear-gradient(145deg, #1d2331, #252d3d);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center; margin-bottom: 10px;
}
.auth-logo-icon img { width: 52px; height: 52px; object-fit: cover; border-radius: 15px }
.auth-account-label {
  font-size: .7rem; letter-spacing: .14em; color: var(--t2);
  text-transform: uppercase; font-weight: 500;
}
.auth-title {
  font-size: 1.7rem; font-weight: 500; text-align: center;
  margin-bottom: 10px; line-height: 1.2;
}
.auth-subtitle {
  font-size: .86rem; color: var(--t2); text-align: center;
  line-height: 1.6; margin-bottom: 28px;
}

.auth-btns { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px }
.auth-btn {
  display: flex; align-items: center; gap: 13px;
  width: 100%; padding: 14px 20px;
  border-radius: 14px; font-size: .95rem; font-weight: 600;
  color: #fff; cursor: pointer; border: none;
  transition: transform .18s, box-shadow .18s, filter .18s;
  position: relative; overflow: hidden; font-family: inherit;
}
.auth-btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,.09), transparent);
  pointer-events: none;
}
.auth-btn:hover { transform: translateY(-2px); filter: brightness(1.08) }
.auth-btn:active { transform: translateY(0) }

.auth-btn--tg {
  background: linear-gradient(135deg, #29c5f6 0%, #1a9ed4 55%, #0a78b0 100%);
  box-shadow: 0 4px 24px rgba(41,197,246,.28);
}
.auth-btn--tg:hover { box-shadow: 0 6px 32px rgba(41,197,246,.45) }

.auth-btn--vk {
  background: linear-gradient(135deg, #5c9ee5 0%, #4281d4 55%, #2d66c8 100%);
  box-shadow: 0 4px 24px rgba(66,129,212,.28);
}
.auth-btn--vk:hover { box-shadow: 0 6px 32px rgba(66,129,212,.45) }
.auth-status {
  min-height: 42px; margin: 2px 0 16px; color: #93e8ff;
  font-size: .8rem; line-height: 1.45; text-align: center;
}
.auth-status.error { color: #ff9caf }

.auth-btn--google {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  color: var(--t1);
}
.auth-btn--google:hover { background: rgba(255,255,255,.12) }

.auth-divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--t2); font-size: .8rem; margin-bottom: 16px;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.10);
}

.auth-email-form { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px }
.auth-input {
  width: 100%; padding: 13px 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; color: #fff; font-size: .92rem;
  font-family: inherit; outline: none; box-sizing: border-box;
  transition: border-color .18s, background .18s;
}
.auth-input::placeholder { color: var(--t2) }
.auth-input:focus { border-color: rgba(142,255,1,.4); background: rgba(142,255,1,.04) }

.auth-continue {
  width: 100%; padding: 14px;
  background: linear-gradient(135deg, rgba(142,255,1,.15), rgba(139,83,254,.15));
  border: 1px solid rgba(142,255,1,.25);
  border-radius: 12px; color: #fff; font-size: .95rem; font-weight: 600;
  cursor: pointer; font-family: inherit;
  transition: background .18s, border-color .18s, transform .15s;
}
.auth-continue:hover {
  background: linear-gradient(135deg, rgba(142,255,1,.28), rgba(139,83,254,.28));
  border-color: rgba(142,255,1,.5); transform: translateY(-1px);
}

.auth-legal {
  font-size: .74rem; color: var(--t2); text-align: center;
  line-height: 1.65; margin-top: auto; padding-top: 12px;
}
.auth-legal a { color: rgba(255,255,255,.5); text-decoration: underline }
.auth-legal a:hover { color: var(--lime) }

/* Right panel — fills full modal height, images fill with object-fit */
.auth-right {
  position: relative; overflow: hidden; background: #08090e;
  align-self: stretch;   /* stretch to full modal height */
}
.auth-slides {
  position: absolute; inset: 0;  /* fill right panel exactly */
  width: 100%; height: 100%;
}

.auth-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 0.7s ease;
}
.auth-slide.active { opacity: 1; z-index: 1 }

.slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.07); filter: brightness(.68);
  transition: transform 7s ease-out;
}
.auth-slide.active .slide-bg { transform: scale(1.0) }

.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,10,16,.96) 0%, rgba(8,10,16,.5) 42%, rgba(8,10,16,.12) 100%);
}

.slide-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 32px 54px }

.slide-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 12px 4px 8px; border-radius: 99px; margin-bottom: 12px; border: 1px solid;
}
.slide-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700;
  line-height: 1.12; margin-bottom: 8px; color: #fff;
}
.slide-desc {
  font-size: .87rem; color: rgba(255,255,255,.68);
  line-height: 1.55; margin-bottom: 16px;
}
.slide-models { display: flex; flex-wrap: wrap; gap: 6px }
.slide-model-chip {
  font-size: .7rem; color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.11);
  border-radius: 99px; padding: 3px 10px;
}

/* ── Reels progress bars — thin like Instagram Stories ── */
.reels-bars {
  position: absolute; top: 10px; left: 10px; right: 10px;
  display: flex; gap: 4px; z-index: 5;
  pointer-events: none;
}
.reels-bar {
  flex: 1; height: 2px; border-radius: 2px;   /* thin line, no radius illusion */
  background: rgba(255,255,255,.35); overflow: hidden;
  cursor: pointer; pointer-events: all;
}
.reels-bar-fill {
  height: 100%; width: 0%;
  background: rgba(255,255,255,.92);
}
.reels-bar.done .reels-bar-fill { width: 100%; transition: none }

.slide-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(0,0,0,.50); border: 1px solid rgba(255,255,255,.14);
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .18s; font-size: 15px; line-height: 1;
}
.slide-nav:hover { background: rgba(0,0,0,.75) }
.slide-nav--prev { left: 14px }
.slide-nav--next { right: 14px }

.slide-dots {
  position: absolute;
  z-index: 6;
  right: 30px;
  bottom: 22px;
  left: 30px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.slide-dots button {
  position: relative;
  min-width: 0;
  padding: 12px 0 0;
  overflow: hidden;
  border: 0;
  color: rgba(255,255,255,.45);
  background: transparent;
  font: inherit;
  font-size: .66rem;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.slide-dots button::before,
.slide-dots button::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  border-radius: 999px;
}

.slide-dots button::before {
  background: rgba(255,255,255,.24);
}

.slide-dots button::after {
  width: 0;
  right: auto;
  background: #fff;
}

.slide-dots button.done::after {
  width: 100%;
}

.slide-dots button.active {
  color: #fff;
}

.slide-dots button.active::after {
  animation: authSlideProgress 5s linear forwards;
}

@keyframes authSlideProgress {
  from { width: 0 }
  to { width: 100% }
}

@media (max-width: 700px) {
  .auth-modal { grid-template-columns: 1fr }
  .auth-right  { display: none }
  .auth-left   { padding: 32px 24px 28px }
  .auth-close  { top: 14px; right: 14px }
}
