/* ============================================================
   Vela AI — landing styles
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

:root {
  /* Brand */
  --c-primary: #0F766E;
  --c-primary-light: #14B8A6;
  --c-primary-dark: #0D9488;
  --c-coral: #F97066;
  --c-coral-light: #FFB4AD;
  --c-gold: #F59E0B;

  /* Dark (default) */
  --bg-0: #0E2431;
  --bg-1: #133040;
  --bg-2: #1C4157;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.22);
  --text: #FFFFFF;
  --text-dim: #B4C7D6;
  --text-mute: #8FA3B5;

  /* Type */
  --font-body: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: "Unbounded", "Manrope", system-ui, sans-serif;

  /* Radius */
  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 36px;

  /* Shadow */
  --shadow-soft: 0 14px 40px -16px rgba(15, 118, 110, 0.35);
  --shadow-glow: 0 0 0 1px rgba(20, 184, 166, 0.30),
                 0 24px 60px -22px rgba(20, 184, 166, 0.45);
}

html[data-theme="light"] {
  --bg-0: #E6FBF8;
  --bg-1: #ECFDF9;
  --bg-2: #FFFFFF;
  --surface: rgba(15, 23, 42, 0.03);
  --surface-strong: rgba(15, 23, 42, 0.05);
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.16);
  --text: #0F172A;
  --text-dim: #475569;
  --text-mute: #64748B;
  --shadow-soft: 0 14px 40px -16px rgba(15, 118, 110, 0.30);
  --shadow-glow: 0 0 0 1px rgba(20, 184, 166, 0.30),
                 0 24px 60px -22px rgba(20, 184, 166, 0.40);
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.55;
  transition: background .5s ease, color .5s ease;
  min-height: 100vh;
  position: relative;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--c-primary-light);
  color: #051A18;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   LOADER
   ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg-0);
  display: grid;
  place-items: center;
  gap: 30px;
  transition: opacity .3s ease, visibility .3s ease;
  /* страховка: если JS не загрузился — экран уйдёт сам через 2.6с */
  animation: loaderFailsafe 0s linear 1.1s forwards;
}
@keyframes loaderFailsafe {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader__sail {
  width: 110px;
  height: 110px;
  filter: drop-shadow(0 0 30px rgba(20, 184, 166, 0.4));
}
.loader__sail svg {
  width: 100%;
  height: 100%;
}
.loader__mast {
  transform-origin: 50% 50%;
  animation: mastGrow .55s ease-out forwards;
}
.loader__sail-path {
  transform-origin: 50% 50%;
  transform: scale(0.6);
  opacity: 0;
  animation: sailIn .38s .05s cubic-bezier(.2,.9,.2,1.05) forwards;
}
.loader__orb-outer {
  transform: scale(0);
  animation: orbPop .3s .3s cubic-bezier(.34,1.56,.64,1) forwards;
}
@keyframes mastGrow {
  0% { transform: scaleY(0); }
  100% { transform: scaleY(1); }
}
@keyframes sailIn {
  to { transform: scale(1); opacity: 1; }
}
@keyframes orbPop {
  to { transform: scale(1); }
}
.loader__bar {
  width: 180px;
  height: 3px;
  border-radius: 4px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.loader__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #14B8A6, #F97066);
  border-radius: 4px;
  animation: loaderBar .6s ease-out forwards;
}
@keyframes loaderBar {
  to { width: 100%; }
}

/* ============================================================
   BG — animated mesh, grid, orbs, stars
   ============================================================ */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.bg__mesh {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(60% 50% at 18% 22%, rgba(20,184,166,.30), transparent 60%),
    radial-gradient(50% 50% at 82% 18%, rgba(249,112,102,.22), transparent 60%),
    radial-gradient(50% 60% at 80% 90%, rgba(245,158,11,.16), transparent 60%),
    radial-gradient(60% 60% at 10% 90%, rgba(20,184,166,.20), transparent 60%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 50%, var(--bg-0) 100%);
  filter: blur(0px) saturate(115%);
  animation: meshShift 22s ease-in-out infinite alternate;
}
@keyframes meshShift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-2%, 1%, 0) scale(1.10); }
}

/* Conic gradient — крутится, но приглушённый */
.bg__conic {
  position: absolute;
  width: 120vmax;
  height: 120vmax;
  left: -10vmax;
  top: -10vmax;
  background: conic-gradient(
    from 0deg,
    rgba(20,184,166,.06) 0deg,
    rgba(249,112,102,.06) 90deg,
    rgba(245,158,11,.05) 180deg,
    rgba(20,184,166,.06) 270deg,
    rgba(249,112,102,.06) 360deg
  );
  filter: blur(80px);
  mix-blend-mode: screen;
  opacity: .35;
  animation: conicSpin 60s linear infinite;
}
@keyframes conicSpin {
  to { transform: rotate(360deg); }
}

/* Aurora — более прозрачная */
.bg__aurora {
  position: absolute;
  inset: -20% -20%;
  background:
    linear-gradient(110deg,
      transparent 0%,
      transparent 40%,
      rgba(20,184,166,.10) 48%,
      rgba(94,234,212,.08) 52%,
      rgba(20,184,166,.10) 56%,
      transparent 65%,
      transparent 100%);
  filter: blur(60px);
  mix-blend-mode: screen;
  animation: auroraDrift 16s ease-in-out infinite alternate;
}
@keyframes auroraDrift {
  0%   { transform: translate3d(-10%, -10%, 0) rotate(0deg); }
  100% { transform: translate3d(10%, 10%, 0)  rotate(8deg); }
}

/* Затемнение под текстом — чтобы буквы не сливались с яркими зонами */
.bg__dim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 25% 35%, rgba(6, 18, 27, 0.42), transparent 75%),
    radial-gradient(ellipse 60% 40% at 75% 30%, rgba(6, 18, 27, 0.26), transparent 75%),
    linear-gradient(180deg, rgba(6, 18, 27, 0.10) 0%, transparent 30%, transparent 70%, rgba(6, 18, 27, 0.10) 100%);
  pointer-events: none;
  mix-blend-mode: normal;
}

.bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  opacity: .5;
  animation: gridFloat 30s linear infinite;
}
@keyframes gridFloat {
  0%   { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}
.bg__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .04;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.bg__orbs .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .35;                 /* было .60 — приглушаем */
  mix-blend-mode: screen;
}
.orb--1 { width: 600px; height: 600px; left: -160px; top: -140px; background: radial-gradient(circle, #14B8A6, transparent 60%); animation: floatA 18s ease-in-out infinite; }
.orb--2 { width: 540px; height: 540px; right: -140px; top: 8%;    background: radial-gradient(circle, #F97066, transparent 60%); animation: floatB 22s ease-in-out infinite; }
.orb--3 { width: 520px; height: 520px; left: 30%; bottom: -160px; background: radial-gradient(circle, #F59E0B, transparent 65%); animation: floatC 26s ease-in-out infinite; }
.orb--4 { width: 440px; height: 440px; left: 55%; top: 55%;        background: radial-gradient(circle, #14B8A6, transparent 65%); opacity: .22; animation: floatA 30s ease-in-out infinite reverse; }
.orb--5 { width: 480px; height: 480px; right: 8%; bottom: -200px;  background: radial-gradient(circle, #F97066, transparent 70%); opacity: .20; animation: floatB 36s ease-in-out infinite; }
.orb--6 { width: 360px; height: 360px; left: 18%; top: 28%;         background: radial-gradient(circle, #5EEAD4, transparent 65%); opacity: .25; animation: floatC 40s ease-in-out infinite reverse; }
@keyframes floatA {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(60px, -50px, 0); }
}
@keyframes floatB {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(-70px, 80px, 0); }
}
@keyframes floatC {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(50px, 60px, 0); }
}

.bg__stars {
  position: absolute;
  inset: 0;
}
.bg__stars span {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(255,255,255,.6);
  box-shadow: 0 0 6px rgba(255,255,255,.5);
  animation: twinkle 4s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: .2; }
  50% { opacity: 1; }
}

/* Animated SVG-waves внизу фона */
.bg__waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 28vh;
  min-height: 160px;
  pointer-events: none;
  opacity: .50;
}
.wave {
  fill: none;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
}
.wave--1 { stroke: rgba(20,184,166,.30); animation: waveDrift 18s ease-in-out infinite alternate; }
.wave--2 { stroke: rgba(94,234,212,.22); animation: waveDrift 22s ease-in-out infinite alternate-reverse; }
.wave--3 { stroke: rgba(249,112,102,.18); animation: waveDrift 26s ease-in-out infinite alternate; }
@keyframes waveDrift {
  0%   { transform: translateX(-30px); }
  100% { transform: translateX(30px); }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background .3s, padding .3s, backdrop-filter .3s;
}
.nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(20,184,166,.55) 30%,
    rgba(94,234,212,.65) 50%,
    rgba(249,112,102,.45) 70%,
    transparent 100%);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity .35s;
  animation: navBreath 6s ease-in-out infinite;
}
.nav.is-sticky::after { opacity: 1; }
@keyframes navBreath {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.nav.is-sticky {
  background: rgba(6, 18, 27, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.5px;
}
.nav__brand img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 12px rgba(20,184,166,.4));
}
.nav__brand em {
  font-style: normal;
  background: linear-gradient(135deg, var(--c-primary-light), var(--c-coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-left: 2px;
}
.nav__menu {
  display: flex;
  gap: 22px;
  flex: 1;
  justify-content: center;
}
.nav__menu a {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text-dim);
  position: relative;
  padding: 6px 2px;
  transition: color .25s;
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--c-primary-light), var(--c-coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
  border-radius: 2px;
}
.nav__menu a:hover {
  color: var(--text);
}
.nav__menu a:hover::after {
  transform: scaleX(1);
}
.nav__actions {
  display: flex;
  gap: 10px;
}

@media (max-width: 980px) {
  .nav__menu { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14.5px;
  border-radius: 14px;
  padding: 12px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  letter-spacing: -.1px;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn__inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  /* magnetic transform target — не наследует transform от .btn */
  will-change: transform;
  pointer-events: none;     /* чтоб курсор не «застревал» на inner */
}
.btn > * { pointer-events: auto; }
.btn--mini { padding: 10px 14px; font-size: 13.5px; border-radius: 12px; }
.btn--lg { padding: 16px 26px; font-size: 15.5px; border-radius: 16px; }

.btn--primary {
  background: linear-gradient(135deg, var(--c-primary-light) 0%, var(--c-primary) 100%);
  color: #fff;
  box-shadow:
    0 12px 30px -12px rgba(20,184,166,.7),
    inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.3), transparent 50%);
  opacity: 0;
  transition: opacity .3s;
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 40px -12px rgba(20,184,166,.85),
    inset 0 1px 0 rgba(255,255,255,.4);
}
.btn--primary:hover::before { opacity: 1; }

.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: var(--surface-strong);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 13px;
  color: var(--text-dim);
  backdrop-filter: blur(10px);
}
.chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-primary-light);
  box-shadow: 0 0 8px var(--c-primary-light);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: .6; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 0 80px;
  overflow: hidden;
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__copy {
  position: relative;
  z-index: 3;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 84px);
  line-height: .98;
  letter-spacing: -.04em;
  margin: 22px 0 22px;
  background: linear-gradient(180deg, #fff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,.55));
}
.grad {
  background: linear-gradient(135deg, #5EEAD4 0%, #2DD4BF 35%, #F97066 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(20,184,166,.35));
}
.hero__subtitle {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 540px;
}
.grad {
  background: linear-gradient(135deg, #14B8A6 0%, #2DD4BF 35%, #F97066 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__cta {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero__metrics {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 520px;
  gap: 18px;
}
.hero__metrics li {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border);
  padding-left: 14px;
}
.hero__metrics li:first-child { border-left: none; padding-left: 0; }
.hero__metrics strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--text);
  letter-spacing: -.5px;
}
.hero__metrics span {
  font-size: 12.5px;
  color: var(--text-mute);
  font-weight: 600;
}

/* Visual area */
.hero__visual {
  position: relative;
  height: 620px;
  perspective: 1400px;
}
.hero__layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__layer--far { z-index: 0; }
.hero__layer--mid { z-index: 1; }
.hero__sail-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.hero__sail-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__sail-curve {
  position: absolute;
  bottom: -8%;
  right: -8%;
  width: 90%;
  height: auto;
  filter: blur(2px);
  z-index: 0;
  transform-origin: bottom right;
  animation: floatCurve 6s ease-in-out infinite;
}
@keyframes floatCurve {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

.hero__sail-logo {
  position: absolute;
  width: 380px;
  height: 380px;
  top: 30px;
  right: -30px;
  z-index: 1;
  animation: floatLogo 8s ease-in-out infinite;
  filter: drop-shadow(0 30px 80px rgba(20,184,166,.45));
}
@keyframes floatLogo {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}
.hero__sail-logo img {
  width: 100%;
  height: auto;
}

/* Phone device */
.hero__device {
  position: relative;
  z-index: 2;
  width: 320px;
  height: 640px;
  margin: 30px auto 0;
}
.device {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(150deg, #1E293B 0%, #0F172A 100%);
  border-radius: 46px;
  box-shadow:
    0 60px 120px -30px rgba(0,0,0,.65),
    inset 0 0 0 2px rgba(255,255,255,.08),
    inset 0 0 0 4px rgba(0,0,0,.4);
  padding: 16px;
  transform-style: preserve-3d;
  transition: transform .25s ease;
}
.device__notch {
  width: 120px;
  height: 28px;
  background: #06121B;
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.device__screen {
  width: 100%;
  height: calc(100% - 38px);
  background:
    radial-gradient(120% 80% at 50% 0%, #1F3140, #0F172A),
    linear-gradient(180deg, #1a2538, #0F172A);
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  margin-top: -2px;
}

/* App UI mockup */
.app {
  padding: 18px 18px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #fff;
  position: relative;
}
.app__topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.app__hello small {
  display: block;
  font-size: 11px;
  color: #94A3B8;
  margin-top: 12px;
  margin-bottom: 1px;
}
.app__hello strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -.5px;
}
.app__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #14B8A6, #F97066);
  box-shadow: 0 6px 18px -2px rgba(20,184,166,.55);
}
.app__hero-card {
  background:
    linear-gradient(135deg, rgba(20,184,166,.20), rgba(249,112,102,.10)),
    rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 24px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}
.app__hero-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(255,255,255,.20), transparent 50%);
  border-radius: inherit;
  pointer-events: none;
}
.app__hero-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.app__hero-row small {
  font-size: 12px;
  color: #94A3B8;
}
.app__chip {
  background: rgba(20,184,166,.18);
  color: #5EEAD4;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 11px;
}
.app__hero-amount {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.6px;
  margin: 6px 0 12px;
  color: #fff;
}
.app__hero-amount em {
  font-style: normal;
  color: #94A3B8;
  font-weight: 600;
  font-size: 18px;
}
.app__hero-bar {
  height: 6px;
  background: rgba(255,255,255,.1);
  border-radius: 6px;
  overflow: hidden;
}
.app__hero-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #14B8A6, #F97066);
  border-radius: inherit;
  animation: barAnim 4s ease-out infinite alternate;
}
@keyframes barAnim {
  0% { width: 50%; }
  100% { width: 70%; }
}
.app__hero-foot {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #94A3B8;
  margin-top: 8px;
}

.app__cards { display: flex; flex-direction: column; gap: 10px; }
.app__card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07);
}
.app__card-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  display: grid;
  place-items: center;
  font-size: 18px;
}
.app__card--coral .app__card-icon {
  background: linear-gradient(135deg, rgba(249,112,102,.35), rgba(249,112,102,.15));
}
.app__card--teal .app__card-icon {
  background: linear-gradient(135deg, rgba(20,184,166,.35), rgba(20,184,166,.15));
}
.app__card--gold .app__card-icon {
  background: linear-gradient(135deg, rgba(245,158,11,.35), rgba(245,158,11,.15));
}
.app__card-title { font-weight: 700; font-size: 13px; }
.app__card-meta { font-size: 11px; color: #94A3B8; }

.app__nav {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 10px 6px;
  background: rgba(255,255,255,.05);
  border-radius: 18px;
  font-size: 11px;
  color: #94A3B8;
  text-align: center;
}
.app__nav span {
  padding: 6px 4px;
  border-radius: 10px;
}
.app__nav span.active {
  background: linear-gradient(135deg, #14B8A6, #0F766E);
  color: #fff;
  font-weight: 700;
}

/* Hero decorative chips — orbit вокруг phone, не перекрывая UI */
.hero__chip {
  position: absolute;
  padding: 8px 14px 8px 10px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  z-index: 4;
  white-space: nowrap;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.55),
              inset 0 1px 0 rgba(255,255,255,.06);
  animation: chipFloat 6s ease-in-out infinite;
}
.hero__chip-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  font-size: 13px;
}
.hero__chip-label { letter-spacing: -.2px; }

/* Орбита вокруг устройства — все чипы за пределами mock-телефона */
.hero__chip--tl { top: 4%;   left: -2%;  animation-delay: .2s; }
.hero__chip--tr { top: 4%;   right: -4%; animation-delay: 1.4s; }
.hero__chip--br { bottom: 6%; right: -2%; animation-delay: 2.6s; }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* На узких — прячем лишние чипы, оставляем только 1 над phone */
@media (max-width: 1180px) {
  .hero__chip--br { display: none; }
}
@media (max-width: 880px) {
  .hero__chip--tl,
  .hero__chip--tr { display: none; }
}

/* Rings */
.hero__rings {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 0;
}
.hero__rings span {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.06);
}
.hero__rings span:nth-child(1) { width: 320px; height: 320px; }
.hero__rings span:nth-child(2) { width: 520px; height: 520px; }
.hero__rings span:nth-child(3) { width: 760px; height: 760px; }
.hero__grid-deco {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 70%);
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-mute);
}
.scroll-cue span {
  width: 2px;
  height: 40px;
  background: linear-gradient(180deg, transparent, var(--c-primary-light));
  border-radius: 2px;
  animation: scrollPulse 1.5s ease-in-out infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
.scroll-cue small { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }

@media (max-width: 1024px) {
  .hero { padding: 110px 0 60px; }
  .hero__inner { grid-template-columns: 1fr; gap: 30px; }
  .hero__visual { height: 560px; }
  .hero__sail-logo { width: 260px; height: 260px; right: 0; }
}
@media (max-width: 560px) {
  .hero__device { width: 280px; height: 560px; }
  .hero__metrics { grid-template-columns: 1fr 1fr; }
  .hero__metrics li:nth-child(3) { border-left: none; padding-left: 0; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  overflow: hidden;
  padding: 30px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(20,184,166,.06), transparent);
  position: relative;
  z-index: 2;
}
.marquee__track {
  display: flex;
  gap: 30px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 56px);
  letter-spacing: -.03em;
  color: transparent;
  -webkit-text-stroke: 1px var(--text-dim);
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee__track span {
  display: inline-block;
  padding: 0 14px;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   SECTIONS — common
   ============================================================ */
section[id] { scroll-margin-top: 100px; }

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.kicker {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--c-primary-light);
  border-radius: 999px;
  background: rgba(20,184,166,.12);
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.05;
  letter-spacing: -.035em;
  margin: 0 0 18px;
  text-wrap: balance;
}
.section-sub {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--text-dim);
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features {
  padding: 130px 0 110px;
  position: relative;
  z-index: 2;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.feature {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  overflow: hidden;
  transition: border-color .25s, background .25s, transform .25s;
  will-change: transform;
  transform-style: preserve-3d;
}
.feature h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -.3px;
  margin: 18px 0 8px;
}
.feature p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.55;
}
.feature__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
}
.feature__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  z-index: -2;
}
.feature__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.35), transparent 60%);
  z-index: -1;
}
.feature__icon img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}
.feature__shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.10), transparent 60%);
  transform: translateX(-100%);
  transition: transform .7s ease;
  pointer-events: none;
}
.feature:hover {
  border-color: var(--border-strong);
  background: var(--surface-strong);
}
.feature:hover .feature__shine {
  transform: translateX(100%);
}

/* ============================================================
   SHOWCASE
   ============================================================ */
.showcase {
  position: relative;
  padding: 130px 0;
  z-index: 2;
  overflow: hidden;
}
.showcase__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.showcase__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  mix-blend-mode: screen;
  opacity: .55;
}
.showcase__orb--a {
  width: 640px;
  height: 640px;
  right: -180px;
  top: -10%;
  background: radial-gradient(circle, rgba(20,184,166,.55), transparent 60%);
  animation: floatOrb 24s ease-in-out infinite alternate;
}
.showcase__orb--b {
  width: 540px;
  height: 540px;
  left: -160px;
  bottom: -20%;
  background: radial-gradient(circle, rgba(249,112,102,.40), transparent 60%);
  animation: floatOrb 30s ease-in-out infinite alternate-reverse;
}
@keyframes floatOrb {
  0%   { transform: translate(0, 0)     scale(1); }
  100% { transform: translate(60px, 40px) scale(1.12); }
}
.showcase__grid-deco {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at 70% 50%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 50%, black 30%, transparent 75%);
  opacity: .8;
}
.showcase__sparkles span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5EEAD4;
  box-shadow: 0 0 12px #5EEAD4, 0 0 24px rgba(94,234,212,.5);
  animation: sparkle 3s ease-in-out infinite;
}
@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(.5); }
  50%      { opacity: 1; transform: scale(1); }
}

.showcase__grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 50px;
  align-items: center;
  position: relative;
}
.showcase__copy p {
  color: var(--text-dim);
  font-size: 16px;
  margin-bottom: 30px;
  max-width: 460px;
}
.showcase__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}
.showcase__list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.showcase__list strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 2px;
}
.showcase__list small {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.5;
}
.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
  box-shadow: 0 0 16px currentColor;
}
.dot--teal { background: var(--c-primary-light); color: var(--c-primary-light); }
.dot--coral { background: var(--c-coral); color: var(--c-coral); }
.dot--gold { background: var(--c-gold); color: var(--c-gold); }

.showcase__deck {
  position: relative;
  width: 100%;
  height: 600px;
  perspective: 1400px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.deck {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Многослойные свечения вокруг телефона */
.deck__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  mix-blend-mode: screen;
  pointer-events: none;
}
.deck__glow--a {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(20,184,166,.55), transparent 60%);
  top: 5%;
  left: 8%;
  animation: floatOrb 14s ease-in-out infinite alternate;
}
.deck__glow--b {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(249,112,102,.45), transparent 60%);
  bottom: 5%;
  right: 8%;
  animation: floatOrb 16s ease-in-out infinite alternate-reverse;
}
.deck__glow--c {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(245,158,11,.30), transparent 60%);
  top: 35%;
  left: 50%;
  transform: translateX(-50%);
  animation: floatOrb 20s ease-in-out infinite alternate;
  opacity: .6;
}

/* Главный phone с дашбордом — точно по центру */
.deck__phone {
  position: relative;
  width: 280px;
  height: 560px;
  border-radius: 38px;
  background: linear-gradient(150deg, #1E293B, #06121B);
  box-shadow:
    0 50px 100px -30px rgba(0,0,0,.75),
    inset 0 0 0 2px rgba(255,255,255,.08),
    inset 0 0 0 4px rgba(0,0,0,.4),
    0 0 0 1px rgba(20,184,166,.25),
    0 0 60px -10px rgba(20,184,166,.35);
  padding: 12px;
  transition: transform .5s cubic-bezier(.22,1,.36,1);
  z-index: 3;
  animation: phoneBreath 6s ease-in-out infinite;
  margin: 0 auto;
}
.deck__phone--main {
  z-index: 3;
}
@keyframes phoneBreath {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.phone-mock {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  background: linear-gradient(180deg, #0F172A 0%, #06121B 100%);
  display: flex;
  flex-direction: column;
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 0;
}
.phone-mock--dashboard { padding: 0; gap: 0; }

/* ======== Dashboard mock ======== */
.dash__status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 22px 0;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}
.dash__icons {
  display: flex;
  align-items: center;
  gap: 6px;
}
.dash__icons svg { color: #fff; }
.dash__battery {
  width: 22px;
  height: 10px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 3px;
  position: relative;
  padding: 1px;
}
.dash__battery::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 3px;
  width: 2px;
  height: 4px;
  background: rgba(255,255,255,.55);
  border-radius: 0 1px 1px 0;
}
.dash__battery span {
  display: block;
  width: 80%;
  height: 100%;
  background: #5EEAD4;
  border-radius: 1px;
}

.dash__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px 0;
}
.dash__top small {
  display: block;
  font-size: 11px;
  color: #94A3B8;
  margin-bottom: 2px;
}
.dash__top strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -.3px;
}
.dash__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #14B8A6, #F97066);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  box-shadow: 0 6px 14px -2px rgba(20,184,166,.4);
}

.dash__balance {
  margin: 12px 14px 0;
  padding: 12px 13px;
  background:
    linear-gradient(135deg, rgba(20,184,166,.18), rgba(249,112,102,.10)),
    rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}
.dash__balance::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15), transparent 50%);
  pointer-events: none;
  border-radius: inherit;
}
.dash__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dash__row small {
  font-size: 10.5px;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.dash__chip {
  background: rgba(20,184,166,.18);
  color: #5EEAD4;
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 10px;
}
.dash__amount {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.5px;
  margin: 4px 0 7px;
}
.dash__amount em {
  font-style: normal;
  color: #94A3B8;
  font-size: 13px;
  font-weight: 600;
}
.dash__bar {
  height: 5px;
  background: rgba(255,255,255,.10);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 6px;
}
.dash__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #14B8A6, #F97066);
  border-radius: inherit;
  animation: dashBar 4s ease-out infinite alternate;
}
@keyframes dashBar {
  0% { width: 50%; }
  100% { width: 70%; }
}
.dash__foot {
  display: flex;
  justify-content: space-between;
  font-size: 9.5px;
  color: #94A3B8;
  font-weight: 500;
  gap: 6px;
}

.dash__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 10px 14px 0;
}
.dash__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 11px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  min-width: 0;
  overflow: hidden;
}
.dash__stat-head {
  display: flex;
  align-items: center;
  gap: 6px;
}
.dash__stat small {
  display: block;
  font-size: 9.5px;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: .4px;
  font-weight: 600;
}
.dash__stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  color: #fff;
  letter-spacing: -.3px;
  white-space: nowrap;
  min-width: 0;
  /* Без ellipsis: значение типа «68 000 ₽» должно быть видно целиком,
     а не превращаться в «68 0…». Ширина плитки фиксирована макетом телефона. */
  overflow: visible;
}
.dash__stat-icon {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 12px;
  flex-shrink: 0;
}
.dash__stat--teal   .dash__stat-icon { background: linear-gradient(135deg, rgba(20,184,166,.40), rgba(20,184,166,.15)); }
.dash__stat--coral  .dash__stat-icon { background: linear-gradient(135deg, rgba(249,112,102,.40), rgba(249,112,102,.15)); }
.dash__stat--gold   .dash__stat-icon { background: linear-gradient(135deg, rgba(245,158,11,.40), rgba(245,158,11,.15)); }
.dash__stat--violet .dash__stat-icon { background: linear-gradient(135deg, rgba(139,92,246,.40), rgba(139,92,246,.15)); }

.dash__ai {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 10px 14px 0;
  padding: 10px 12px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(139,92,246,.15), rgba(20,184,166,.10)),
    rgba(255,255,255,.03);
  border: 1px solid rgba(139,92,246,.35);
  flex-shrink: 0;
}
.dash__ai-icon {
  font-size: 18px;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, #8B5CF6, #14B8A6);
  display: grid;
  place-items: center;
  font-size: 13px;
  margin-top: 1px;
}
.dash__ai strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  margin-bottom: 2px;
  background: linear-gradient(135deg, #C4B5FD, #5EEAD4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dash__ai p {
  margin: 0;
  font-size: 10.5px;
  line-height: 1.4;
  color: #CBD5E1;
}

.dash__nav {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 8px 8px;
  margin: 12px 10px 10px;
  background: rgba(255,255,255,.04);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.06);
  font-size: 9.5px;
  color: #94A3B8;
  text-align: center;
}
.dash__nav span {
  padding: 6px 2px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-weight: 600;
  letter-spacing: -.2px;
  transition: background .2s, color .2s;
}
.dash__nav span svg {
  width: 16px;
  height: 16px;
  display: block;
}
.dash__nav span.active {
  background: linear-gradient(135deg, #14B8A6, #0F766E);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 12px -2px rgba(20,184,166,.5);
}
.dash__nav span:not(.active) svg { stroke: #94A3B8; }
.dash__nav span.active svg { stroke: #fff; }

@media (max-width: 1024px) {
  .showcase__grid { grid-template-columns: 1fr; gap: 30px; }
  .showcase__deck { height: 580px; }
}
@media (max-width: 720px) {
  .showcase__deck { height: 540px; }
  .deck__phone { width: 240px; height: 480px; }
}
@media (max-width: 480px) {
  .showcase__deck { height: 500px; }
  .deck__phone { width: 220px; height: 440px; }
}

/* ============================================================
   WHY
   ============================================================ */
.why {
  padding: 110px 0 80px;
  position: relative;
  z-index: 2;
}
.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.why__card {
  padding: 30px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  text-align: center;
  transition: border-color .25s, background .25s;
  will-change: transform;
  transform-style: preserve-3d;
  overflow: hidden;            /* чтобы «100%» не вылезал за край */
  min-width: 0;
}
.why__card:hover {
  border-color: var(--border-strong);
  background: var(--surface-strong);
}
.why__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(42px, 5vw, 64px);
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #14B8A6, #F97066);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
}
.why__num-suffix {
  font-size: 0.5em;
  margin-left: 2px;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 800;
}
.why__num-dollar {
  font-size: 0.5em;
  margin-left: 2px;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 800;
}
.why__card small {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.4;
  display: block;
}

/* ============================================================
   DOWNLOAD
   ============================================================ */
.download {
  padding: 130px 0 130px;
  position: relative;
  z-index: 2;
}
.download__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 18px;
}
.download__card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 18px;
  row-gap: 6px;
  align-items: center;
  padding: 22px 22px;
  min-height: 128px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform .25s ease, border-color .25s, background .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
  will-change: transform;
  transform-style: preserve-3d;
}
.download__card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.08), transparent 60%);
  transform: translateX(-100%);
  transition: transform .6s ease;
  pointer-events: none;
}
.download__card:hover {
  border-color: var(--border-strong);
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
}
.download__card:hover::before { transform: translateX(100%); }

.download__card--primary {
  background: linear-gradient(135deg, rgba(20,184,166,.20), rgba(15,118,110,.12));
  border-color: rgba(20,184,166,.50);
  box-shadow: 0 18px 50px -22px rgba(20,184,166,.45);
}
.download__card--primary:hover {
  background: linear-gradient(135deg, rgba(20,184,166,.28), rgba(15,118,110,.16));
  border-color: rgba(20,184,166,.70);
}

/* Карточка недоступной платформы: приглушена, но остаётся кликабельной
   для лида — на неё ведёт якорь на форму обратной связи. */
.download__card--muted {
  background: var(--surface);
  border-color: var(--border);
  border-style: dashed;
  opacity: .68;
}
.download__card--muted:hover {
  opacity: 1;
  background: var(--surface-strong);
  border-color: var(--border-strong);
  box-shadow: none;
}
.download__card--muted .download__store {
  filter: grayscale(1);
  opacity: .7;
}
.download__card--muted .download__arrow {
  opacity: .5;
}

.download__store {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #14B8A6, #0F766E);
  box-shadow: 0 14px 30px -8px rgba(20,184,166,.45),
              inset 0 1px 0 rgba(255,255,255,.30);
}
.download__store--play { background: linear-gradient(135deg, #4285F4, #1A73E8); }
.download__store--ru   { background: transparent; box-shadow: none; }

.download__store img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
}
/* RuStore: иконка уже синяя и содержит свой фон — не инвертируем */
.download__store--ru img {
  filter: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 24px -6px rgba(10,132,232,.5);
}
.download__store--android img { filter: none; }

.download__meta {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-width: 0;            /* позволяем тексту сжиматься */
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.download__meta small {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--text-dim);
}
.download__meta h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  margin: 0;
  letter-spacing: -.3px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.download__meta span {
  font-size: 13px;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.download__arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  color: var(--text);
  transition: transform .25s, background .25s, color .25s;
}
.download__card:hover .download__arrow {
  background: linear-gradient(135deg, var(--c-primary-light), var(--c-primary));
  color: #fff;
  border-color: transparent;
  transform: translate(2px, -2px);
}
.download__card--primary .download__arrow {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.25);
  color: #fff;
}
.download__card--primary:hover .download__arrow {
  background: #fff;
  color: var(--c-primary);
}

.download__notes {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.download__notes li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
}
.badge {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: .5px;
  white-space: nowrap;      /* «Open Beta» не должно ломаться на две строки */
  flex-shrink: 0;
  display: inline-block;
  line-height: 1.4;
}
.badge--teal { background: rgba(20,184,166,.18); color: #5EEAD4; }
.badge--coral { background: rgba(249,112,102,.20); color: #FFB4AD; }
.badge--gold { background: rgba(245,158,11,.20); color: #FBBF24; }

@media (max-width: 560px) {
  .download__card { padding: 18px; }
  .download__meta h3 { font-size: 16px; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 110px 0;
  position: relative;
  z-index: 2;
}
.faq__list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color .25s, background .25s;
}
.faq__item[open] {
  border-color: rgba(20,184,166,.4);
  background: var(--surface-strong);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -.3px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.faq__chev::before,
.faq__chev::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 1px;
  transition: transform .3s;
}
.faq__chev::before { top: 50%; left: 2px; right: 2px; height: 2px; transform: translateY(-50%); }
.faq__chev::after {
  left: 50%;
  top: 2px;
  bottom: 2px;
  width: 2px;
  transform: translateX(-50%);
}
.faq__item[open] .faq__chev::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq__body {
  padding: 0 26px 22px;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.55;
}
.faq__body p { margin: 0; }
.faq__body a {
  color: var(--c-primary-light);
  font-weight: 700;
  border-bottom: 1px solid rgba(20,184,166,.3);
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  padding: 30px 0 130px;
  position: relative;
  z-index: 2;
}
.cta__card {
  background:
    radial-gradient(60% 100% at 0% 0%, rgba(20,184,166,.20), transparent 60%),
    radial-gradient(50% 80% at 100% 100%, rgba(249,112,102,.18), transparent 60%),
    rgba(15, 23, 42, .6);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}
.cta__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.06), transparent 60%);
  pointer-events: none;
}
.cta__copy { min-width: 0; }
.cta__copy h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -.04em;
  line-height: 1.05;
  margin: 0 0 6px;
}
.cta__copy p {
  margin: 0;
  color: var(--text-dim);
  font-size: 16px;
}
.cta__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 720px) {
  /* карточка призыва: на узких — в столбик, иначе текст не сжимается */
  .cta__card {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 22px;
    padding: 32px 22px;
  }
  .cta__copy { min-width: 0; }
  .cta__buttons { width: 100%; flex-direction: column; }
  .cta__buttons .btn { flex: 1 1 auto; width: 100%; }
}

/* ============================================================
   COMPARE / WHY TOP 1
   ============================================================ */
.compare {
  position: relative;
  padding: 140px 0 130px;
  z-index: 2;
  overflow: hidden;
}
.compare__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
.compare__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  mix-blend-mode: screen;
}
.compare__orb--a {
  width: 720px; height: 720px;
  left: -200px; top: -20%;
  background: radial-gradient(circle, rgba(20,184,166,.45), transparent 60%);
  animation: floatOrb 22s ease-in-out infinite alternate;
}
.compare__orb--b {
  width: 620px; height: 620px;
  right: -180px; bottom: -10%;
  background: radial-gradient(circle, rgba(249,112,102,.40), transparent 60%);
  animation: floatOrb 28s ease-in-out infinite alternate-reverse;
}
.compare__grid-deco {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  opacity: .5;
}
.compare__scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(20,184,166,.06) 45%,
    rgba(20,184,166,.10) 50%,
    rgba(20,184,166,.06) 55%,
    transparent 100%);
  height: 200%;
  top: -50%;
  animation: scan 14s linear infinite;
  mix-blend-mode: screen;
  pointer-events: none;
}
@keyframes scan {
  0%   { transform: translateY(0); }
  100% { transform: translateY(50%); }
}

/* Killer-points */
.compare__killers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 60px;
}
.killer {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 26px 26px;
  background:
    radial-gradient(80% 100% at 0% 0%, rgba(20,184,166,.12), transparent 60%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  will-change: transform;
  transform-style: preserve-3d;
}
.killer::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.10) 50%, transparent 65%);
  transform: translateX(-110%);
  transition: transform .8s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}
.killer:hover::after { transform: translateX(110%); }
.killer:hover { border-color: rgba(20,184,166,.45); }
.killer__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -.04em;
  background: linear-gradient(135deg, #14B8A6, #5EEAD4 40%, #F97066);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  flex-shrink: 0;
  min-width: 110px;
}
.killer__num span {
  display: inline-block;
  font-size: 0.55em;
  font-weight: 700;
  vertical-align: super;
  margin-left: 2px;
}
.killer__body {
  min-width: 0;              /* иначе флекс-элемент не даёт сжаться и текст лезет наружу */
  flex: 1 1 auto;
}
.killer__body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.3px;
  margin: 0 0 4px;
}
.killer__body p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.5;
}

/* Comparison table */
.compare__table {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--border-strong);
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.ctable {
  display: block;
}
.ctable__row {
  display: grid;
  grid-template-columns: 1.4fr repeat(5, 1fr);
  border-bottom: 1px solid var(--border);
}
.ctable__row:last-child { border-bottom: none; }
/* Скругляем крайние ряды, чтобы выглядело как таблица */
.ctable__row:first-child .ctable__cell:first-child {
  border-top-left-radius: calc(var(--r-xl) - 2px);
}
.ctable__row:first-child .ctable__cell:last-child {
  border-top-right-radius: calc(var(--r-xl) - 2px);
}
.ctable__row:last-child .ctable__cell:first-child {
  border-bottom-left-radius: calc(var(--r-xl) - 2px);
}
.ctable__row:last-child .ctable__cell:last-child {
  border-bottom-right-radius: calc(var(--r-xl) - 2px);
}
.ctable__row--head {
  position: sticky;
  top: 70px;                       /* под sticky-nav */
  z-index: 6;
  background: linear-gradient(180deg, rgba(6,18,27,.96), rgba(15,23,42,.96));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.ctable__row--head .ctable__cell {
  padding: 18px 14px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.2px;
  text-align: center;
}
.ctable__row--head .ctable__cell strong { display: block; font-size: 13px; line-height: 1.15; }
.ctable__row--head .ctable__cell small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10.5px;
  color: var(--text-mute);
  margin-top: 4px;
  letter-spacing: .2px;
  text-transform: none;
}
.ctable__cell {
  padding: 18px 14px;
  font-size: 14px;
  text-align: center;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.ctable__cell:last-child { border-right: none; }
.ctable__cell--feature {
  text-align: left;
  align-items: flex-start;
}
.ctable__cell--feature strong {
  display: block;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--text);
  margin-bottom: 2px;
}
.ctable__cell--feature small {
  font-size: 12px;
  color: var(--text-mute);
  line-height: 1.35;
}
.ctable__cell--vela {
  position: relative;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(20,184,166,.20), transparent 60%),
    linear-gradient(180deg, rgba(20,184,166,.10), rgba(15,118,110,.04));
  flex-direction: row;
  gap: 8px;
  border-right: 2px solid rgba(20,184,166,.40);
}
.ctable__row--head .ctable__cell--vela {
  flex-direction: row;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}
.ctable__row--head .ctable__cell--vela img {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 10px rgba(20,184,166,.45));
}
.ctable__row--head .ctable__cell--vela > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.1;
}
.ctable__row--head .ctable__cell--vela > div small {
  font-size: 10px;
  color: var(--c-primary-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 800;
  margin-top: 2px;
}
.ctable__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-primary-light);
  box-shadow: 0 0 8px var(--c-primary-light);
  margin-left: auto;
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* Marks */
.mark {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  font-family: var(--font-display);
  white-space: nowrap;
}
.mark--yes {
  background: rgba(20,184,166,.18);
  color: #5EEAD4;
  box-shadow: inset 0 0 0 1px rgba(20,184,166,.4), 0 0 18px rgba(20,184,166,.35);
}
.mark--no {
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.25);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.mark--warn {
  background: rgba(245,158,11,.16);
  color: #FBBF24;
  box-shadow: inset 0 0 0 1px rgba(245,158,11,.4);
  font-size: 13px;
  letter-spacing: -.2px;
}

/* Price cell */
.price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -.4px;
  padding: 8px 14px;
  border-radius: 999px;
  display: inline-block;
  white-space: nowrap;
}
.price--free {
  background: linear-gradient(135deg, var(--c-primary-light), var(--c-primary));
  color: #fff;
  box-shadow: 0 8px 22px -8px rgba(20,184,166,.6);
}
.price--paid {
  background: rgba(255,255,255,.05);
  color: var(--text-dim);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

/* CTA row */
.ctable__row--cta .ctable__cell { padding: 22px 16px; }
.ctable__install {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  background: linear-gradient(135deg, var(--c-primary-light), var(--c-primary));
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 8px 22px -8px rgba(20,184,166,.6);
  transition: transform .25s;
}
.ctable__install:hover { transform: translateY(-2px); }
.ctable__note {
  font-size: 12px;
  color: var(--text-mute);
  font-weight: 600;
  letter-spacing: -.1px;
}

.compare__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 18px 4px 0;
  font-size: 13px;
  color: var(--text-mute);
}
.compare__legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.compare__sources {
  margin: 10px 4px 0;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: rgba(20,184,166,.05);
  border-left: 3px solid rgba(20,184,166,.5);
  font-size: 12.5px;
  color: var(--text-mute);
  line-height: 1.5;
}

/* Trust strip */
.compare__trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 36px;
}
.trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 14px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.trust__item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 40%, rgba(20,184,166,.10), transparent 60%);
  transform: translateX(-110%);
  transition: transform .6s;
}
.trust__item:hover::before { transform: translateX(110%); }
.trust__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.3px;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #14B8A6, #F97066);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.trust__item small {
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.4;
}

/* Mobile fallback */
@media (max-width: 920px) {
  .ctable__row {
    grid-template-columns: 1.4fr repeat(5, 0.9fr);
  }
  .ctable__cell { padding: 14px 10px; }
  .ctable__cell--feature strong { font-size: 13px; }
  .ctable__cell--feature small { font-size: 11px; }
  .ctable__row--head .ctable__cell { font-size: 11px; }
  .mark { width: 26px; height: 26px; font-size: 14px; }
  .price { font-size: 14px; padding: 6px 10px; }
}
@media (max-width: 720px) {
  .ctable__row { grid-template-columns: 1.3fr repeat(5, 0.7fr); }
  .ctable__cell { padding: 12px 6px; font-size: 12px; }
  .ctable__cell--feature small { display: none; }
  .ctable__row--head .ctable__cell small { display: none; }
  .ctable__row--head .ctable__cell--vela { flex-direction: column; gap: 4px; }
  .ctable__row--head .ctable__cell--vela > div { align-items: center; text-align: center; }
  .mark { width: 22px; height: 22px; font-size: 12px; }
}
@media (max-width: 560px) {
  .compare__table { overflow-x: auto; }
  .ctable { min-width: 600px; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  position: relative;
  padding: 130px 0 110px;
  z-index: 2;
  overflow: hidden;
}
.contact__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
.contact__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  mix-blend-mode: screen;
}
.contact__orb--a {
  width: 540px; height: 540px;
  left: -160px; top: -10%;
  background: radial-gradient(circle, rgba(20,184,166,.45), transparent 60%);
  animation: floatOrb 18s ease-in-out infinite alternate;
}
.contact__orb--b {
  width: 460px; height: 460px;
  right: -120px; top: 25%;
  background: radial-gradient(circle, rgba(249,112,102,.40), transparent 60%);
  animation: floatOrb 22s ease-in-out infinite alternate-reverse;
}
.contact__orb--c {
  width: 380px; height: 380px;
  left: 40%; bottom: -10%;
  background: radial-gradient(circle, rgba(245,158,11,.30), transparent 60%);
  animation: floatOrb 26s ease-in-out infinite;
}
.contact__grid-deco {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  opacity: .55;
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 20px;
}
.contact__card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 28px 30px;
  overflow: hidden;
  will-change: transform;
  transform-style: preserve-3d;
  transition: border-color .25s, background .25s;
  isolation: isolate;
}
.contact__card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(20,184,166,.50), rgba(249,112,102,.30), rgba(20,184,166,0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .35;
  pointer-events: none;
  transition: opacity .35s ease;
}
.contact__card:hover::before { opacity: 1; }
.contact__card:hover {
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
}

.contact__card--primary {
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(249,112,102,.16), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}
.contact__card--primary::before {
  background: linear-gradient(140deg, rgba(249,112,102,.7), rgba(245,158,11,.45), rgba(249,112,102,0));
}

.contact__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  position: relative;
  margin-bottom: 20px;
  isolation: isolate;
}
.contact__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: -1;
}
.contact__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.35), transparent 60%);
  z-index: -1;
}
.contact__icon svg { width: 26px; height: 26px; color: #fff; }
.contact__icon--coral::before { background: linear-gradient(135deg, #F97066, #EA580C); }
.contact__icon--teal::before  { background: linear-gradient(135deg, #14B8A6, #0F766E); }
.contact__icon--tg::before   { background: linear-gradient(135deg, #2AABEE, #229ED9); }

.contact__card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -.3px;
  margin: 0 0 10px;
}
.contact__card p {
  margin: 0 0 22px;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.55;
}
.btn--full {
  width: 100%;
  justify-content: center;
  font-size: 14px;
  letter-spacing: -.1px;
  padding: 14px 16px;
}
.btn__soon {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(20,184,166,.18);
  color: #5EEAD4;
  text-transform: uppercase;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 70px 0 30px;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,.18);
  position: relative;
  z-index: 2;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}
.footer__brand p {
  margin: 16px 0 0;
  color: var(--text-dim);
  font-size: 14px;
  max-width: 340px;
  line-height: 1.5;
}
.footer h6 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 800;
  margin: 0 0 16px;
  color: var(--text);
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.footer ul a {
  color: var(--text-dim);
  font-size: 14px;
  transition: color .2s;
}
.footer ul a:hover { color: var(--text); }

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  color: var(--text-mute);
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 800px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MOBILE SAFETY NET
   Без min-width:0 грид-элемент не сжимается уже своего
   контента — колонка раздувается за viewport, и overflow:hidden
   просто срезает страницу.
   ============================================================ */
.hero__inner > *,
.hero__copy,
.hero__visual,
.nav__inner > * { min-width: 0; }

.hero__title,
.section-title,
.hero__subtitle,
h1, h2, h3 {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

@media (max-width: 720px) {
  .container,
  .hero__inner { padding-left: 18px; padding-right: 18px; }

  .hero { padding: 104px 0 64px; min-height: 0; }
  .hero__title { font-size: clamp(30px, 9.5vw, 44px); line-height: 1.02; }
  .section-title { font-size: clamp(26px, 7.5vw, 36px); }
  .hero__subtitle { font-size: 15.5px; }

  /* кнопки героя — во всю ширину, стопкой */
  .hero__cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero__cta .btn { width: 100%; }

  /* метрики — строкой, чтобы длинные подписи не резались */
  .hero__metrics { grid-template-columns: 1fr; gap: 0; max-width: 100%; }
  .hero__metrics li,
  .hero__metrics li:nth-child(3) {
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border);
    padding-top: 12px;
  }
  .hero__metrics li:first-child { border-top: none; padding-top: 0; }
  .hero__metrics strong { font-size: 22px; }
  .hero__metrics span { font-size: 13px; }

  .hero__visual { height: auto; }
  .hero__device { width: 100%; max-width: 300px; height: 600px; }
  .scroll-cue { display: none; }

  .download__grid { grid-template-columns: 1fr; }
  .faq__item { break-inside: avoid; }
}

@media (max-width: 560px) {
  .nav__inner { padding: 0 14px; gap: 10px; }
  .nav__brand { font-size: 17px; gap: 8px; }
  .nav__brand img { width: 30px; height: 30px; }
  .nav__actions .btn--ghost { display: none; }
  .nav__actions .btn--mini { padding: 9px 12px; font-size: 13px; border-radius: 11px; }

  .chip { font-size: 12px; padding: 7px 12px; }
  .hero__title { font-size: clamp(28px, 9vw, 40px); }

  .btn { padding: 12px 18px; }
  .btn--lg { padding: 15px 20px; font-size: 15px; }

  /* карточки «почему Vela» — номер сверху, текст под ним */
  .killer { flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px 20px; }
  .killer__num { font-size: clamp(38px, 12vw, 54px); min-width: 0; }
  .killer__body { min-width: 0; }
  .killer__body h3 { font-size: 18px; }
}

/* ============================================================
   PERFORMANCE
   6 орбов с blur(110px) + conic-слой 120vmax + overlay-шум
   + 11 backdrop-filter держат мобильный GPU в постоянном фризе.
   На тач-устройствах и узких экранах оставляем дешёвые слои.
   ============================================================ */
@media (max-width: 900px), (hover: none), (pointer: coarse) {

  /* самые дорогие слои — выключаем целиком */
  .bg__conic,
  .bg__noise,
  .bg__aurora { display: none !important; }

  /* орбы: 2 вместо 6 и дешевле blur */
  .bg__orbs .orb { filter: blur(60px); opacity: .26; mix-blend-mode: normal; }
  .bg__orbs .orb--3,
  .bg__orbs .orb--4,
  .bg__orbs .orb--5,
  .bg__orbs .orb--6 { display: none; }

  /* backdrop-filter — главный убийца кадров на мобильном.
     Но навигация без размытия становится просвечивающей —
     поэтому даём ей непрозрачный фон вместо блюра. */
  .nav.is-sticky,
  .nav { background: rgba(14, 36, 49, .97); }

  .nav,
  .nav.is-sticky,
  .btn--ghost,
  .killer,
  .cta__card,
  .compare__table,
  .ctable__row--head,
  .faq__item,
  .download__card,
  .contact__card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* параллакс глубины — только мышь, на тач она просто жрёт кадры */
  [data-parallax] { transform: none !important; }
}

/* ============================================================
   Motion preferences
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
