/* Барель ИИ — Dark Premium + Neon Pink (#FF2D8D) */
:root {
  --bg: #000000;
  --bg-2: #0b0b0f;
  --card: #1b1b1b;
  --border: #292929;
  --pink: #ff2d8d;
  --pink-dim: rgba(255, 45, 141, 0.14);
  --pink-glow: rgba(255, 45, 141, 0.35);
  --text: #ffffff;
  --muted: #808080;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Unbounded', var(--font);
  --max: 1160px;
  --header: 68px;
  --radius: 18px;
  --text-muted: var(--muted);
  --bg-card: var(--card);
  --bg-elevated: #141414;
  --pink-light: #ff6eb4;
  --pink-glow: rgba(255, 45, 141, 0.35);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% -15%, var(--pink-glow), transparent 55%),
    radial-gradient(circle at 85% 75%, rgba(255, 45, 141, 0.06), transparent 45%);
  pointer-events: none;
  z-index: 0;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--pink); text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }

.container { width: min(100% - 32px, var(--max)); margin-inline: auto; position: relative; z-index: 1; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header);
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--pink), #c026d3);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 0 28px var(--pink-glow);
}
.logo-sub { display: block; font-size: 0.62rem; color: var(--muted); font-family: var(--font); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.badge-18 {
  font-size: 9px;
  font-weight: 800;
  padding: 3px 6px;
  border: 1.5px solid var(--pink);
  border-radius: 6px;
  color: var(--pink);
}
.nav-main { display: flex; gap: 4px; list-style: none; }
.nav-main a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 10px;
}
.nav-main a:hover { color: var(--text); background: var(--pink-dim); }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.45rem;
  cursor: pointer;
  padding: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--pink), #e026a8);
  color: #fff;
  box-shadow: 0 10px 36px var(--pink-glow);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 44px rgba(255, 45, 141, 0.45); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--pink); color: var(--pink); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-icon::before { content: '✈'; font-size: 1.1em; }

.hero { padding: 56px 0 72px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--pink-dim);
  color: var(--pink);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.85rem, 5.5vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.hero h1 .accent { color: var(--pink); }
.hero-lead { color: var(--muted); font-size: 1.05rem; max-width: 520px; margin-bottom: 22px; }
.hero-answer {
  border: 1px solid var(--border);
  border-left: 3px solid var(--pink);
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 0.92rem;
  color: #c8c8c8;
  margin-bottom: 24px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 600;
  color: #b0b0b0;
}
.trust-chip strong { color: var(--text); font-weight: 700; }

.hero-visual { width: 100%; max-width: min(440px, 92vw); margin-inline: auto; }

.hero-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}
.hero-showcase-aura {
  position: absolute;
  inset: -12% -8% auto;
  height: 70%;
  background: radial-gradient(ellipse at 50% 40%, rgba(255, 45, 141, 0.35), transparent 68%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}
@keyframes hero-border-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes hero-border-breathe {
  0%, 100% { opacity: 0.65; filter: brightness(0.95); }
  50% { opacity: 1; filter: brightness(1.2); }
}
@keyframes hero-glow-pulse {
  0%, 100% { opacity: 0.38; filter: blur(14px); }
  50% { opacity: 0.92; filter: blur(22px); }
}
@keyframes hero-media-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 0 0 1px rgba(255, 45, 141, 0.1),
      0 4px 24px rgba(0, 0, 0, 0.35);
  }
  50% {
    transform: scale(1.014);
    box-shadow:
      0 0 0 1px rgba(255, 45, 141, 0.28),
      0 8px 32px rgba(255, 45, 141, 0.12),
      0 4px 24px rgba(0, 0, 0, 0.35);
  }
}
@keyframes hero-media-glow {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.55; }
}
@keyframes hero-trigger-pulse {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    box-shadow:
      0 10px 36px var(--pink-glow),
      0 0 0 0 rgba(255, 45, 141, 0.55),
      0 0 0 1px rgba(255, 255, 255, 0.14) inset;
  }
  50% {
    transform: translateX(-50%) scale(1.06);
    box-shadow:
      0 18px 56px rgba(255, 45, 141, 0.7),
      0 0 0 18px rgba(255, 45, 141, 0),
      0 0 36px rgba(192, 132, 252, 0.45),
      0 0 0 1px rgba(255, 255, 255, 0.14) inset;
  }
}

.hero-showcase-card {
  position: relative;
  z-index: 1;
  border-radius: 22px;
  padding: 12px;
  background: linear-gradient(155deg, rgba(255, 45, 141, 0.1), rgba(12, 12, 14, 0.97));
  border: none;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55);
  overflow: visible;
}
.hero-showcase-card::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 25px;
  padding: 3px;
  background: linear-gradient(
    120deg,
    #ff2d8d,
    #ff9ed6,
    #fff5fb,
    #c084fc,
    #5eead4,
    #ff7ec4,
    #ff2d8d
  );
  background-size: 300% 300%;
  will-change: background-position, opacity, filter;
  animation:
    hero-border-shimmer 3.6s ease-in-out infinite,
    hero-border-breathe 2.3s ease-in-out infinite;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}
.hero-showcase-card::after {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 32px;
  background: linear-gradient(
    120deg,
    rgba(255, 45, 141, 0.85),
    rgba(192, 132, 252, 0.55),
    rgba(255, 255, 255, 0.35),
    rgba(94, 234, 212, 0.4),
    rgba(255, 126, 196, 0.7),
    rgba(255, 45, 141, 0.85)
  );
  background-size: 300% 300%;
  will-change: background-position, opacity, filter;
  animation:
    hero-border-shimmer 4.4s ease-in-out infinite reverse,
    hero-glow-pulse 2.3s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}
.hero-showcase-card > * {
  position: relative;
  z-index: 1;
}
.hero-showcase-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-showcase-step { color: var(--muted); transition: color 0.4s; }
.hero-showcase-step.is-active { color: var(--pink); }
.hero-showcase-step--after.is-active { color: #fff; }
.hero-showcase-progress {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.hero-showcase-progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pink), #ff6eb5);
  transition: width 2.1s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-showcase.is-processing .hero-showcase-progress-fill {
  width: 100%;
  transition-duration: 0.55s;
}
.hero-showcase.is-reveal .hero-showcase-step--before { color: var(--muted); }
.hero-showcase.is-reveal .hero-showcase-step--before.is-active { color: var(--muted); }
.hero-showcase.is-reveal .hero-showcase-step--after { color: var(--pink); }
.hero-showcase-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 520 / 480;
  background: #0a0a0a;
  isolation: isolate;
  transform-origin: center center;
  will-change: transform, box-shadow;
  animation: hero-media-pulse 2.3s ease-in-out infinite;
}
.hero-showcase-media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(
    ellipse 85% 75% at 50% 45%,
    rgba(255, 45, 141, 0.22),
    transparent 68%
  );
  animation: hero-media-glow 2.3s ease-in-out infinite;
}
.hero-showcase.is-processing .hero-showcase-media,
.hero-showcase.is-loading .hero-showcase-media {
  animation: none;
  transform: scale(1);
}
.hero-showcase.is-processing .hero-showcase-media::before,
.hero-showcase.is-loading .hero-showcase-media::before {
  animation: none;
  opacity: 0;
}
.hero-showcase-photo,
.hero-showcase-gif {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero-showcase-photo {
  z-index: 1;
}
.hero-showcase-gif {
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
}
.hero-showcase.is-reveal .hero-showcase-gif {
  opacity: 1;
  pointer-events: auto;
}
@keyframes hero-btn-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes hero-btn-shine {
  0%, 28% { transform: translateX(-130%) skewX(-12deg); opacity: 0; }
  45% { opacity: 1; }
  72%, 100% { transform: translateX(130%) skewX(-12deg); opacity: 0; }
}
@keyframes hero-cta-handoff {
  0% {
    transform: scale(0.92) translateY(6px);
    box-shadow: 0 0 0 0 rgba(255, 45, 141, 0.55), 0 6px 24px rgba(255, 45, 141, 0.2);
  }
  55% {
    transform: scale(1.05) translateY(0);
    box-shadow: 0 0 0 16px rgba(255, 45, 141, 0), 0 16px 52px rgba(255, 45, 141, 0.55);
  }
  100% {
    transform: scale(1) translateY(0);
    box-shadow: 0 10px 36px var(--pink-glow);
  }
}

.hero-showcase-trigger {
  position: absolute;
  left: 50%;
  bottom: 14%;
  z-index: 6;
  transform: translateX(-50%) scale(1);
  padding: 14px 22px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  border: none;
  border-radius: 999px;
  font-family: var(--body);
  font-size: clamp(0.82rem, 3.2vw, 0.95rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(
    120deg,
    #ff2d8d 0%,
    #ff7ec4 22%,
    #c084fc 45%,
    #ff2d8d 68%,
    #ff9ed6 100%
  );
  background-size: 280% 280%;
  box-shadow: 0 10px 36px var(--pink-glow), 0 0 0 1px rgba(255, 255, 255, 0.14) inset;
  animation:
    hero-btn-gradient 2.8s ease infinite,
    hero-trigger-pulse 1.35s ease-in-out infinite;
  transition: opacity 0.35s ease;
}
.hero-showcase-trigger::before {
  content: '';
  position: absolute;
  inset: -20% -60%;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 62%
  );
  animation: hero-btn-shine 1.8s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}
.hero-showcase-trigger:hover { transform: translateX(-50%) scale(1.05); }
.hero-showcase-trigger:disabled { opacity: 0.65; cursor: wait; }
.hero-showcase.is-reveal .hero-showcase-trigger,
.hero-showcase.is-loading .hero-showcase-trigger {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  animation: none;
}
.hero-showcase-scan {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 45, 141, 0.15) 45%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 45, 141, 0.15) 55%,
    transparent 100%
  );
  transform: translateY(-110%);
}
.hero-showcase.is-processing .hero-showcase-scan {
  opacity: 1;
  animation: hero-scan 0.65s ease-in-out 1;
}
.hero-showcase.is-reveal .hero-showcase-scan { opacity: 0; animation: none; }
@keyframes hero-scan {
  0% { transform: translateY(-110%); }
  100% { transform: translateY(110%); }
}
.hero-showcase-caption {
  margin: 10px 4px 2px;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  min-height: 1.25em;
}
.hero-showcase-caption-after { display: none; color: #e8e8e8; }
.hero-showcase.is-reveal .hero-showcase-caption-before { display: none; }
.hero-showcase.is-reveal .hero-showcase-caption-after { display: inline; }
.hero-showcase-cta {
  width: 100%;
  justify-content: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.hero-showcase-cta.hero-showcase-cta--charged {
  background: linear-gradient(
    120deg,
    #ff2d8d 0%,
    #ff7ec4 22%,
    #c084fc 45%,
    #ff2d8d 68%,
    #ff9ed6 100%
  );
  background-size: 280% 280%;
  animation: hero-cta-handoff 0.85s cubic-bezier(0.34, 1.35, 0.64, 1) forwards,
    hero-btn-gradient 3.6s ease 0.85s infinite,
    pulse-glow 2s ease-in-out 0.85s infinite;
}
.hero-showcase-cta.hero-showcase-cta--charged::after {
  content: '';
  position: absolute;
  inset: -20% -60%;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 62%
  );
  animation: hero-btn-shine 2.6s ease-in-out 0.85s infinite;
  pointer-events: none;
}
.hero-showcase-cta.hero-showcase-cta--charged:hover {
  transform: translateY(-2px) scale(1.02);
  color: #fff;
}

.iphone { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.iphone-screen {
  position: relative;
  border-radius: 38px;
  padding: 10px 8px 8px;
  background: linear-gradient(165deg, #2a2a2e 0%, #0a0a0c 40%, #050506 100%);
  border: 2px solid #3a3a40;
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.65),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.iphone-status {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 2px 12px 8px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #f5f5f5;
  letter-spacing: 0.02em;
}
.iphone-time { justify-self: start; }
.iphone-island {
  width: 72px;
  height: 20px;
  border-radius: 999px;
  background: #000;
  box-shadow: inset 0 0 0 1px #222;
  justify-self: center;
}
.iphone-signal { justify-self: end; font-size: 0.58rem; opacity: 0.85; }
.iphone-home {
  width: 96px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  margin: 6px auto 2px;
}
.iphone-cta {
  width: 100%;
  padding: 14px 20px;
  font-size: 0.92rem;
}
@media (min-width: 901px) {
  .iphone-cta { display: none; }
}

.tg-mock {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  display: flex;
  flex-direction: column;
  height: clamp(300px, 42vh, 380px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.tg-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(28, 28, 30, 0.94);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: saturate(180%) blur(12px);
}
.tg-back {
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 300;
  color: #0a84ff;
  width: 24px;
  margin-left: -2px;
}
.tg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), #9333ea);
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.tg-top-meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.tg-top-name { font-size: 0.8rem; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-top-status { font-size: 0.65rem; color: #0a84ff; font-weight: 500; }
.tg-wallpaper {
  position: absolute;
  inset: 40px 0 36px;
  z-index: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 45, 141, 0.06), transparent 50%),
    #0e0e12;
}
.tg-body {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  padding: 8px 8px 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: flex-end;
  overflow: hidden;
}
.tg-row { display: flex; width: 100%; }
.tg-row--out { justify-content: flex-end; }
.tg-row--in { justify-content: flex-start; }
.tg-stack-in {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: 88%;
  align-items: flex-start;
}
.tg-tap {
  text-decoration: none;
  color: inherit;
  max-width: 82%;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.tg-tap:active { transform: scale(0.98); filter: brightness(1.05); }
.tg-row--out .tg-tap { margin-left: auto; }
.tg-media {
  position: relative;
  overflow: hidden;
  background: #1c1c1e;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.tg-media--out {
  border-radius: 18px 18px 4px 18px;
  background: #8774e1;
  padding: 2px;
}
.tg-media--bot {
  border-radius: 4px 18px 18px 18px;
  border: 1px solid rgba(255, 45, 141, 0.35);
  display: block;
}
.tg-media img {
  width: 100%;
  max-height: 118px;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: inherit;
}
.tg-media--out img { border-radius: 16px 16px 2px 16px; }
.tg-media--bot img { border-radius: 3px 16px 16px 16px; }
.tg-media-cap {
  display: block;
  padding: 6px 10px 8px;
  font-size: 0.72rem;
  color: #fff;
  line-height: 1.3;
}
.tg-media-time {
  position: absolute;
  right: 8px;
  bottom: 28px;
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}
.tg-media--out .tg-media-time { bottom: 8px; }
.tg-tap-hint {
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-size: 0.58rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 45, 141, 0.92);
  padding: 4px 8px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(255, 45, 141, 0.4);
}
.bubble {
  border-radius: 18px;
  font-size: 0.72rem;
  line-height: 1.35;
}
.bubble--bot {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  background: rgba(28, 28, 30, 0.95);
  border: 1px solid rgba(255, 45, 141, 0.25);
  border-bottom-left-radius: 4px;
  color: #e8e8e8;
}
.bubble-sub {
  font-size: 0.65rem;
  color: #9a9a9a;
  line-height: 1.4;
}
.bubble-sub strong { color: var(--pink); font-weight: 700; }
.bubble .tag {
  display: block;
  margin-top: 4px;
  font-size: 0.62rem;
  color: var(--pink);
  font-weight: 700;
}
.tg-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  padding: 8px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--pink), #e026a8);
  color: #fff !important;
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 6px 20px var(--pink-glow);
}
.tg-compose {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 8px;
  background: rgba(28, 28, 30, 0.96);
  border-top: 0.5px solid rgba(255, 255, 255, 0.08);
}
.tg-compose-icon { font-size: 0.85rem; opacity: 0.5; }
.tg-compose-field {
  flex: 1;
  font-size: 0.72rem;
  color: #8e8e93;
  padding: 8px 12px;
  border-radius: 18px;
  background: #1c1c1e;
  border: 0.5px solid rgba(255, 255, 255, 0.06);
}
.tg-compose-send {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0a84ff;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.section { padding: 64px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.section-head p { color: var(--muted); font-size: 0.95rem; }
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--pink-dim);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 14px;
}
.card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.9rem; }

.steps { counter-reset: step; display: grid; gap: 14px; max-width: 720px; margin: 0 auto; }
.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 22px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--pink-dim);
  color: var(--pink);
  font-family: var(--display);
  font-weight: 700;
  display: grid;
  place-items: center;
}
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.88rem; }

.encrypt-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 32px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255, 45, 141, 0.08), rgba(11, 11, 15, 0.9));
}
.encrypt-list { list-style: none; display: grid; gap: 12px; }
.encrypt-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: #c5c5c5;
}
.encrypt-list li::before {
  content: '◆';
  color: var(--pink);
  font-size: 0.65rem;
  margin-top: 6px;
}
.mono {
  font-family: ui-monospace, 'Cascadia Code', monospace;
  font-size: 0.78rem;
  color: var(--pink);
  background: #0b0b0f;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  line-height: 1.5;
  word-break: break-all;
}

.landing-section { padding: 64px 0; }
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pink);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(1.45rem, 3.2vw, 2.1rem);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-desc { color: var(--muted); max-width: 640px; margin-bottom: 32px; font-size: 0.95rem; }
.section-cta-center { text-align: center; margin-top: 20px; }
.hero-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.hero-stats .stat-num { font-size: 1.45rem; font-weight: 800; color: var(--pink); line-height: 1; display: block; }
.hero-stats .stat-label { font-size: 0.75rem; color: var(--muted); margin-top: 4px; display: block; }
.hero-lead strong { color: var(--pink-light); }
.btn-pulse { animation: pulse-glow 2s ease-in-out infinite; }
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 10px 36px var(--pink-glow); }
  50% { box-shadow: 0 10px 48px rgba(255, 45, 141, 0.55), 0 0 0 8px rgba(255, 45, 141, 0.08); }
}

.video-demo-section {
  padding: 48px 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.video-demo-section.is-visible { opacity: 1; transform: none; }
.video-demo {
  position: relative;
  max-width: 720px;
  margin: 0 auto 16px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  aspect-ratio: 16 / 9;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}
.video-demo-poster {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
  border: none;
  padding: 0;
  width: 100%;
  background:
    linear-gradient(145deg, rgba(255, 45, 141, 0.1), rgba(0, 0, 0, 0.88)),
    center / cover no-repeat url('../media/hero/hero-result.jpg');
  display: grid;
  place-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.video-demo-poster.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.video-demo-poster-inner { text-align: center; padding: 20px; }
.video-play-icon {
  display: block;
  width: 68px;
  height: 68px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), #e026a8);
  box-shadow: 0 8px 32px var(--pink-glow);
  position: relative;
  animation: ba-play-pulse 1.8s ease-out infinite;
}
.video-play-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-38%, -50%);
  border: 11px solid transparent;
  border-left: 18px solid #fff;
}
.video-poster-text { display: block; font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.video-poster-hint { display: block; font-size: 0.78rem; color: var(--muted); max-width: 280px; margin: 0 auto; }
.video-demo-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.video-demo-player.is-playing { opacity: 1; }
.video-demo.is-loading .video-demo-poster-inner { opacity: 0.55; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}
.service-card:hover { border-color: rgba(255, 45, 141, 0.4); transform: translateY(-3px); }
.service-card--featured { grid-column: span 2; flex-direction: row; }
.service-card-img { aspect-ratio: 4 / 3; overflow: hidden; flex-shrink: 0; background: #0a0a0a; }
.service-card--featured .service-card-img { width: 42%; aspect-ratio: auto; min-height: 200px; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.service-card-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.service-card-body h3 { font-size: 1.05rem; }
.service-card-body p { font-size: 0.88rem; color: var(--muted); flex: 1; line-height: 1.5; }
.service-card-body .btn { align-self: flex-start; margin-top: auto; font-size: 0.85rem; padding: 10px 18px; }
.service-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 45, 141, 0.14);
  color: var(--pink-light);
  width: fit-content;
}
.service-badge--gold { background: rgba(234, 179, 8, 0.12); color: #fbbf24; }

.cta-band {
  text-align: center;
  padding: 48px 32px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--card);
  margin: 48px 0 0;
}
.cta-band h2 { font-family: var(--display); font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 10px; }
.cta-band p { color: var(--muted); margin-bottom: 22px; max-width: 480px; margin-inline: auto; }

.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--bg-2); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq-q::after { content: '+'; color: var(--pink); font-size: 1.3rem; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 20px 18px; color: var(--muted); font-size: 0.9rem; }
.faq-item.open .faq-a { display: block; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 28px;
  margin-top: 40px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.82rem;
  color: var(--muted);
}
.disclaimer { max-width: 560px; line-height: 1.55; font-size: 0.76rem; }

.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, 0.94);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.mobile-bar .btn { width: 100%; }

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.age-gate.hidden { display: none; }
.age-gate-box {
  max-width: 420px;
  width: 100%;
  text-align: center;
  padding: 36px 28px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--card);
}
.age-gate-box h2 { font-family: var(--display); margin-bottom: 10px; }
.age-gate-box p { color: var(--muted); font-size: 0.88rem; margin-bottom: 20px; }
.age-gate-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Promo widget (admin) */
.br-promo {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  max-width: 320px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s, transform 0.35s;
}
.br-promo.is-visible { opacity: 1; transform: none; }
.br-promo__card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}
.br-promo__close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.2rem;
}
.br-promo__title { font-weight: 800; margin: 8px 0; }
.br-promo__desc { font-size: 0.82rem; color: var(--muted); margin-bottom: 12px; }
.br-promo__btn {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 12px;
  background: var(--pink);
  color: #fff;
  font-weight: 700;
}

@media (max-width: 900px) {
  .service-card--featured { grid-column: span 1; flex-direction: column; }
  .service-card--featured .service-card-img { width: 100%; min-height: 0; aspect-ratio: 4 / 3; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: min(400px, 94vw); }
  .hero { padding: 28px 0 20px; }
  .hero-answer { display: none; }
  .hero-actions { display: none; }
  .hero-lead { font-size: 0.92rem; margin-bottom: 14px; }
  .hero h1 { font-size: clamp(1.35rem, 5vw, 1.85rem); margin-bottom: 12px; }
  .trust-row { gap: 6px; }
  .trust-chip { font-size: 0.7rem; padding: 6px 10px; }
  .grid-3 { grid-template-columns: 1fr; }
  .encrypt-panel { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .tg-mock { height: clamp(280px, 38vh, 340px); }
  .tg-media img { max-height: 100px; }
  .hero-visual { max-width: min(360px, 96vw); }
  .trust-row { display: none; }
  .menu-toggle { display: block; }
  .nav-main {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 12px;
  }
  .nav-main.open { display: flex; }
  .header-cta { display: none; }
  .mobile-bar { display: block; }
  body { padding-bottom: 80px; }
  .br-promo { right: 8px; left: 8px; max-width: none; bottom: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  /* Hero-демо: перелив и пульс оставляем — иначе блок выглядит «мертвым» */
  .hero-showcase-card::before {
    animation: hero-border-shimmer 3.6s ease-in-out infinite, hero-border-breathe 2.3s ease-in-out infinite !important;
  }
  .hero-showcase-card::after {
    animation: hero-border-shimmer 4.4s ease-in-out infinite reverse, hero-glow-pulse 2.3s ease-in-out infinite !important;
  }
  .hero-showcase-trigger {
    animation: hero-btn-gradient 2.8s ease infinite, hero-trigger-pulse 1.35s ease-in-out infinite !important;
  }
  .hero-showcase-trigger::before {
    animation: hero-btn-shine 1.8s ease-in-out infinite !important;
  }
  .hero-showcase-media {
    animation: hero-media-pulse 2.3s ease-in-out infinite !important;
  }
  .hero-showcase-media::before {
    animation: hero-media-glow 2.3s ease-in-out infinite !important;
  }
}
