/* ==========================================================================
   LightScreen Recorder — landing page (an altnik.com product)
   Dark + gold altnik brand, 3D interactive hero, free-forever messaging.
   ========================================================================== */

:root {
  --bg: #0b0b10;
  --bg-2: #101018;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f5f7;
  --muted: #9b9bab;
  --gold: #ffd60a;
  --gold-2: #ffb800;
  --red: #ff3b30;
  --purple: #6c6ce0;
  --radius: 18px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: #111; }

img, svg { display: block; }
a { color: inherit; }
button { font-family: inherit; }

/* ---------- utilities ---------- */

.section { padding: 110px clamp(20px, 6vw, 80px); max-width: 1240px; margin: 0 auto; }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2,
.contact-copy h2,
.free-title {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 18px 0 14px;
}
.section-head p { color: var(--muted); font-size: 1.05rem; max-width: 54ch; }

.gold { color: var(--gold); font-style: normal; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gold);
  background: rgba(255, 214, 10, 0.07);
  border: 1px solid rgba(255, 214, 10, 0.25);
  border-radius: 999px;
  padding: 8px 16px;
}
.pill-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: pill-blink 1.6s infinite;
}
@keyframes pill-blink { 50% { opacity: 0.35; } }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-gold {
  background: linear-gradient(180deg, #ffe14d, var(--gold) 55%, var(--gold-2));
  color: #14100a;
  box-shadow: 0 10px 34px rgba(255, 214, 10, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(255, 214, 10, 0.38), inset 0 1px 0 rgba(255,255,255,0.5); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 34px rgba(255, 59, 48, 0.3);
}
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(255, 59, 48, 0.42); }

.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-nav { padding: 11px 20px; font-size: 0.85rem; border-radius: 11px; }
.btn-block { width: 100%; }

.ic { width: 18px; height: 18px; }
.yt-ic { width: 24px; height: 17px; }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 16px clamp(20px, 6vw, 80px);
  transition: background 0.25s ease, border-color 0.25s ease, padding 0.25s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 11, 16, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  padding-block: 10px;
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 26px;
}
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: radial-gradient(circle at 30% 30%, #8a8aff, var(--purple) 60%, #4444b8);
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(108, 108, 224, 0.35);
  flex-shrink: 0;
}
.logo-dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--red);
  border: 2.5px solid #fff;
  animation: rec-pulse 2s infinite;
}
@keyframes rec-pulse { 50% { box-shadow: 0 0 0 5px rgba(255, 59, 48, 0.25); } }
.logo-text {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  line-height: 1.05;
  display: flex; flex-direction: column;
}
.logo-text small {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.logo-sm .logo-mark { width: 30px; height: 30px; }

.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--gold); }

.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-burger span {
  display: block; width: 22px; height: 2px; background: var(--text);
  margin: 5px 0; border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 170px clamp(20px, 6vw, 80px) 90px;
  max-width: 1240px;
  margin: 0 auto;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: center;
}
/* The 3D demo contains wide unbreakable mock content — let it shrink
   instead of stretching the grid track on small screens. */
.hero-inner > * { min-width: 0; }
.hero-demo, .scene, .mockup, .zoom-stage, .fake-ui, .fake-main { min-width: 0; }
.hero-copy h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 22px 0 20px;
}
.hero-copy p { color: var(--muted); font-size: 1.08rem; max-width: 50ch; }
.hero-copy p b { color: var(--text); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 22px; }

.trust-row {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  list-style: none;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}
.trust-row li { color: #c9c9d6; }

.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.orb-gold { width: 480px; height: 480px; right: -6%; top: -12%; background: rgba(255, 214, 10, 0.16); }
.orb-purple { width: 420px; height: 420px; left: -10%; bottom: -18%; background: rgba(108, 108, 224, 0.2); }
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 60% at 50% 35%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 35%, #000 30%, transparent 75%);
}

/* ---------- 3D demo scene ---------- */

.hero-demo { perspective: 1400px; }
.scene { position: relative; transform-style: preserve-3d; }

.mockup {
  border-radius: 20px;
  background: linear-gradient(180deg, #17171f, #101017);
  border: 1px solid var(--border-strong);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 30px 80px rgba(255, 214, 10, 0.06);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.25s ease-out;
  cursor: crosshair;
}

.mockup-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid var(--border);
}
.mdot { width: 11px; height: 11px; border-radius: 50%; }
.mdot.r { background: #ff5f57; } .mdot.y { background: #febc2e; } .mdot.g { background: #28c840; }
.mockup-url {
  margin-left: 12px;
  flex: 1;
  max-width: 340px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 11.5px;
  padding: 5px 14px;
  border-radius: 8px;
}
.rec-badge {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em;
  color: #ff6b62;
  background: rgba(255, 59, 48, 0.12);
  border: 1px solid rgba(255, 59, 48, 0.35);
  padding: 4px 10px;
  border-radius: 999px;
}
.rec-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: pill-blink 1s infinite; }

.mockup-body { position: relative; }

/* the zoom stage — content that zooms on click */
.zoom-stage {
  position: relative;
  height: 380px;
  overflow: hidden;
  transition: transform 0.65s cubic-bezier(0.22, 0.9, 0.3, 1);
  will-change: transform;
}
.zoom-stage.zoomed { transition-duration: 0.55s; }

.fake-ui { display: flex; height: 100%; }
.fake-side {
  width: 58px;
  border-right: 1px solid var(--border);
  padding: 18px 12px;
  display: flex; flex-direction: column; gap: 14px;
  background: rgba(255, 255, 255, 0.02);
}
.fake-side span { height: 9px; border-radius: 5px; background: rgba(255, 255, 255, 0.1); }
.fake-side .w2 { width: 70%; } .fake-side .w3 { width: 85%; }

.fake-main { flex: 1; padding: 22px 26px; }
.fake-title-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.ft1 { width: 34%; height: 15px; border-radius: 6px; background: rgba(255, 255, 255, 0.22); }
.ft2 { width: 70px; height: 26px; border-radius: 8px; background: rgba(255, 214, 10, 0.85); }

.fake-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.fake-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
  padding: 14px;
}
.kpi { display: block; width: 30px; height: 30px; border-radius: 9px; background: rgba(108, 108, 224, 0.5); margin-bottom: 10px; }
.kpi.k2 { background: rgba(255, 214, 10, 0.55); }
.kpi.k3 { background: rgba(255, 59, 48, 0.45); }
.fake-card b { display: block; width: 55%; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, 0.28); margin-bottom: 8px; }
.fake-card small { display: block; width: 80%; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); }

.fake-chart {
  display: flex; align-items: flex-end; gap: 10px;
  height: 92px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
  padding: 14px;
  margin-bottom: 18px;
}
.fake-chart span {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, rgba(255, 214, 10, 0.9), rgba(255, 184, 0, 0.35));
  transform-origin: bottom;
  animation: bar-grow 1.1s cubic-bezier(0.2, 0.8, 0.3, 1) both;
}
.fake-chart span:nth-child(even) { background: linear-gradient(180deg, rgba(108, 108, 224, 0.95), rgba(108, 108, 224, 0.3)); }
@keyframes bar-grow { from { transform: scaleY(0); } }

.fake-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fake-btn {
  border: 1px solid var(--border-strong);
  background: var(--panel-2);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.fake-btn:hover { background: rgba(255, 255, 255, 0.12); }
.fake-btn.gold { background: var(--gold); color: #14100a; border-color: transparent; }
.fake-btn.gold:hover { filter: brightness(1.08); }

/* fake cursor */
.fake-cursor {
  position: absolute;
  left: 20%; top: 55%;
  width: 22px; height: 22px;
  z-index: 5;
  pointer-events: none;
  transition: left 0.7s cubic-bezier(0.3, 0.8, 0.3, 1), top 0.7s cubic-bezier(0.3, 0.8, 0.3, 1);
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
}
.fake-cursor svg { width: 100%; height: 100%; }
.fake-cursor.click .ripple { animation: none; }

/* click ripple */
.click-ripple {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2.5px solid var(--gold);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 4;
  animation: ripple 0.6s ease-out forwards;
}
@keyframes ripple {
  from { opacity: 0.9; width: 14px; height: 14px; }
  to { opacity: 0; width: 90px; height: 90px; }
}

/* camera bubble — outside the zoom stage, stays fixed */
.cam-bubble {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 84px; height: 84px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #7a7aff, #4a4ac0 70%);
  border: 3px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
  display: grid; place-items: center;
  z-index: 6;
}
.cam-face { width: 38px; height: 38px; opacity: 0.95; }
.cam-live {
  position: absolute;
  top: -8px; left: 50%;
  transform: translateX(-50%);
  font-size: 8px; font-weight: 800; letter-spacing: 0.12em;
  color: #fff;
  background: var(--red);
  padding: 2px 7px;
  border-radius: 999px;
}

/* floating chips around the mockup */
.chip {
  position: absolute;
  z-index: 7;
  background: rgba(20, 20, 28, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
  will-change: transform;
}
.chip-1 { top: -16px; left: -24px; }
.chip-2 { bottom: 34px; left: -40px; }
.chip-3 { top: 42%; right: -30px; color: var(--gold); border-color: rgba(255, 214, 10, 0.35); }

.demo-hint {
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 26px;
}

/* ---------- marquee ---------- */

.marquee {
  border-block: 1px solid var(--border);
  background: var(--bg-2);
  overflow: hidden;
  padding: 18px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee-track span {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: rgba(245, 245, 247, 0.85);
  white-space: nowrap;
}
.marquee-track i { color: var(--gold); font-style: normal; font-size: 0.8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- feature cards ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.card:hover {
  background: var(--panel-2);
  border-color: rgba(255, 214, 10, 0.3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(255, 214, 10, 0.05);
}
.card-ic {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 20px;
  transform: translateZ(30px);
}
.card-ic svg { width: 26px; height: 26px; fill: none; stroke: #111; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.gold-ic { background: linear-gradient(160deg, #ffe66b, var(--gold-2)); box-shadow: 0 10px 24px rgba(255, 214, 10, 0.25); }
.red-ic { background: linear-gradient(160deg, #ff7a70, #e02a20); box-shadow: 0 10px 24px rgba(255, 59, 48, 0.25); }
.red-ic svg { stroke: #fff; }
.purple-ic { background: linear-gradient(160deg, #9a9aff, #5050c8); box-shadow: 0 10px 24px rgba(108, 108, 224, 0.3); }
.purple-ic svg { stroke: #fff; }

.card h3 { font-size: 1.18rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- free forever band ---------- */

.free-band { position: relative; max-width: none; }
.free-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 45%, rgba(255, 214, 10, 0.09), transparent 70%),
    linear-gradient(180deg, transparent, rgba(255, 214, 10, 0.02));
  pointer-events: none;
}
.free-inner { position: relative; max-width: 900px; margin: 0 auto; text-align: center; }
.free-title { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.free-title em {
  font-style: normal;
  background: linear-gradient(180deg, #ffe66b, var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.free-sub { color: var(--muted); font-size: 1.08rem; max-width: 62ch; margin: 18px auto 40px; }
.free-sub a, .free-note a { color: var(--gold); font-weight: 700; text-decoration: none; }
.free-sub a:hover, .free-note a:hover { text-decoration: underline; }

.free-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 860px;
  margin: 0 auto 30px;
}
.free-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 14px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.free-card:hover { transform: translateY(-4px); border-color: rgba(255, 214, 10, 0.35); }
.free-card b {
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff, #c9c9d6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.free-card span { color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.free-note { color: var(--muted); font-size: 0.95rem; }

/* ---------- steps ---------- */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  overflow: hidden;
}
.step::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), transparent);
}
.step-num {
  display: block;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 214, 10, 0.55);
  margin-bottom: 14px;
}
.step h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- support ---------- */

.support-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 40px;
  align-items: center;
  background:
    radial-gradient(ellipse 70% 90% at 85% 20%, rgba(255, 59, 48, 0.12), transparent 60%),
    linear-gradient(180deg, #16161f, #101017);
  border: 1px solid var(--border-strong);
  border-radius: 26px;
  padding: clamp(30px, 5vw, 64px);
}
.support-copy h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 18px 0 14px;
}
.support-copy p { color: var(--muted); margin-bottom: 26px; max-width: 54ch; }

.support-tv { display: grid; place-items: center; }
.tv { display: grid; place-items: center; gap: 0; }
.tv-screen {
  width: clamp(150px, 16vw, 210px);
  aspect-ratio: 16/10;
  background: var(--red);
  border-radius: 18px;
  display: grid; place-items: center;
  box-shadow: 0 30px 70px rgba(255, 59, 48, 0.35), inset 0 0 0 6px rgba(0, 0, 0, 0.18);
  animation: tv-float 4.5s ease-in-out infinite;
}
.tv-screen svg { width: 46%; }
.tv-stand {
  width: 90px; height: 12px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 4px 4px 10px 10px;
}
@keyframes tv-float { 50% { transform: translateY(-12px); } }

/* ---------- contact ---------- */

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 60px;
  align-items: start;
}
.contact-copy p { color: var(--muted); max-width: 46ch; margin-bottom: 26px; }
.contact-meta { display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 0.95rem; }
.contact-meta a { color: var(--gold); font-weight: 700; text-decoration: none; }
.contact-meta a:hover { text-decoration: underline; }

.contact-form {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: clamp(24px, 3.4vw, 40px);
  display: grid;
  gap: 18px;
}
.field { display: grid; gap: 8px; }
.field label { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.field input,
.field select,
.field textarea {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.98rem;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 21px) 55%, calc(100% - 16px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select:invalid { color: var(--muted); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 214, 10, 0.15);
}
.field input::placeholder, .field textarea::placeholder { color: #5b5b68; }
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.form-status { font-size: 0.92rem; font-weight: 600; min-height: 1.4em; text-align: center; }
.form-status.ok { color: #4ade80; }
.form-status.err { color: #ff8a84; }

/* ---------- footer ---------- */

.footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 44px clamp(20px, 6vw, 80px); }
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.88rem; font-weight: 600; }
.footer-links a:hover { color: var(--gold); }
.footer-note { width: 100%; color: #62626f; font-size: 0.82rem; margin-top: 8px; }

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%) translateY(20px);
  background: #1c1c26;
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 200;
  max-width: 88vw;
  text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- download modal ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 5, 9, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.show { opacity: 1; pointer-events: auto; }

.modal {
  position: relative;
  width: min(480px, 100%);
  background: linear-gradient(180deg, #17171f, #101017);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: clamp(26px, 4vw, 40px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 60px rgba(255, 214, 10, 0.06);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.3, 1);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.modal-overlay.show .modal { transform: none; }

.modal h3 {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 14px 0 8px;
}
.modal-sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 20px; }
.modal-sub b { color: var(--text); }

.modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
}
.modal-close:hover { color: var(--text); background: var(--panel-2); }

.modal form { display: grid; gap: 14px; }

.dl-email-wrap { position: relative; }
.dl-mail-ic {
  position: absolute;
  left: 15px; top: 50%;
  transform: translateY(-50%);
  width: 19px; height: 19px;
  color: var(--muted);
  pointer-events: none;
}
#dlEmail {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: 13px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  padding: 14px 16px 14px 44px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
#dlEmail::placeholder { color: #5b5b68; }
#dlEmail:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 214, 10, 0.15); }
#dlEmail.invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.15); }

.dl-hint {
  font-size: 0.88rem;
  color: var(--gold);
  font-weight: 600;
}
.dl-fix {
  background: rgba(255, 214, 10, 0.12);
  border: 1px solid rgba(255, 214, 10, 0.4);
  color: var(--gold);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  border-radius: 8px;
  padding: 2px 10px;
  cursor: pointer;
}
.dl-fix:hover { background: rgba(255, 214, 10, 0.22); }

.modal-status { font-size: 0.9rem; font-weight: 600; min-height: 1.3em; text-align: center; }
.modal-status.error { color: #ff8a84; }
.modal-status.success { color: #4ade80; }

.modal-note {
  color: #62626f;
  font-size: 0.78rem;
  text-align: center;
  line-height: 1.5;
}

.hidden { display: none !important; }

.modal-stage.hidden { display: none; }

.dl-check {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  margin: 4px auto 6px;
  border-radius: 50%;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.35);
  animation: dl-pop 0.45s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}
.dl-check svg { width: 32px; height: 32px; }
@keyframes dl-pop { from { transform: scale(0.4); opacity: 0; } }

.dl-steps {
  margin: 0 0 18px;
  padding-left: 22px;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 0.93rem;
}
.dl-steps b { color: var(--text); }

.dl-done-actions { display: flex; gap: 12px; }
.dl-done-actions .btn { flex: 1; padding: 13px 18px; font-size: 0.92rem; }

body.modal-open { overflow: hidden; }

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 1060px) {
  .hero-inner { grid-template-columns: 1fr; gap: 70px; }
  .hero { padding-top: 140px; }
  .hero-copy { text-align: center; }
  .hero-copy p { margin: 0 auto; }
  .hero-cta, .trust-row { justify-content: center; }
  .feature-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .support-card { grid-template-columns: 1fr; }
  .support-tv { order: -1; }
}

@media (max-width: 700px) {
  .nav-links, .btn-nav {
    display: none;
  }
  .nav-burger { display: block; margin-left: auto; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(11, 11, 16, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 22px clamp(20px, 6vw, 80px);
    gap: 18px;
  }
  .nav.open .nav-links a { font-size: 1.05rem; }

  .feature-grid, .steps { grid-template-columns: 1fr; }
  .free-cards { grid-template-columns: repeat(2, 1fr); }
  .section { padding-block: 80px; }

  .chip-1 { left: -6px; top: -14px; }
  .chip-2 { left: -10px; }
  .chip-3 { right: -8px; }
  .zoom-stage { height: 300px; }
  .cam-bubble { width: 66px; height: 66px; }
  .mockup-url { max-width: none; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .fake-chart span { animation: none; }
  .tv-screen { animation: none; }
  .logo-dot, .rec-dot, .pill-dot { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .zoom-stage, .fake-cursor { transition: none; }
}
