/* ──────────────────────────────────────────────
   BotMan Mobile — landing styles
   self-contained, не пересекается с / index
   ────────────────────────────────────────────── */

:root {
  --m-blue-900: #00256B;
  --m-blue-700: #0040B3;
  --m-blue-500: #0066FF;
  --m-blue-400: #2A85FF;
  --m-blue-300: #4F8CFF;
  --m-ink:      #0A1124;
  --m-ink-2:    #2C3553;
  --m-ink-3:    #5C6685;
  --m-line:     #E4EAF5;
  --m-bg:       #F4F7FC;
  --m-white:    #FFFFFF;

  --m-radius-sm: 12px;
  --m-radius:    20px;
  --m-radius-lg: 28px;

  --m-shadow-sm: 0 6px 14px rgba(10, 17, 36, .06);
  --m-shadow:    0 20px 40px -12px rgba(10, 17, 36, .18);
  --m-shadow-lg: 0 32px 80px -20px rgba(0, 64, 179, .35);

  --m-ease:      cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--m-ink);
  background: var(--m-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

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

/* ── Reveal animations (IntersectionObserver) ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--m-ease), transform .7s var(--m-ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
}

/* ── Eyebrow ── */
.m-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.m-eyebrow__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #36F0A0;
  box-shadow: 0 0 0 0 rgba(54, 240, 160, .6);
  animation: pulse-dot 2s var(--m-ease) infinite;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0   rgba(54, 240, 160, .55); }
  70%  { box-shadow: 0 0 0 10px rgba(54, 240, 160, 0); }
  100% { box-shadow: 0 0 0 0   rgba(54, 240, 160, 0); }
}
.m-eyebrow--center {
  display: inline-flex;
  margin: 0 auto 16px;
  background: rgba(0, 102, 255, .08);
  border: 1px solid rgba(0, 102, 255, .18);
  color: var(--m-blue-700);
}

/* ── Headings ── */
.m-h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 16px;
  color: var(--m-ink);
}
.m-h2-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--m-ink-3);
  margin: 0 0 48px;
  max-width: 620px;
}

/* ── NAV ── */
.m-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid rgba(228, 234, 245, .6);
}
.m-nav__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.m-nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -.01em;
}
.m-nav__logo-icon { border-radius: 8px; }
.m-nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.m-nav__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--m-ink-2);
  transition: color .15s;
}
.m-nav__link:hover { color: var(--m-blue-500); }
.m-nav__cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--m-ink);
  color: #fff !important;
  font-weight: 600;
  font-size: 14px;
  transition: transform .2s var(--m-ease), background .2s;
}
.m-nav__cta:hover { background: var(--m-blue-500); transform: translateY(-1px); }
.m-nav__burger {
  display: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid var(--m-line);
  background: #fff;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0;
}
.m-nav__burger span {
  width: 18px;
  height: 2px;
  background: var(--m-ink);
  border-radius: 2px;
  transition: transform .25s var(--m-ease), opacity .15s;
}
.m-nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.m-nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.m-nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.m-nav__mobile {
  display: none;
  flex-direction: column;
  padding: 0 24px 20px;
  gap: 4px;
  border-top: 1px solid var(--m-line);
  background: #fff;
}
.m-nav__mobile.is-open { display: flex; }
.m-nav__mobile-link {
  padding: 14px 4px;
  border-bottom: 1px solid var(--m-line);
  font-weight: 500;
}
.m-nav__mobile-cta {
  margin-top: 12px;
  padding: 14px;
  border-radius: 14px;
  background: var(--m-ink);
  color: #fff;
  text-align: center;
  font-weight: 600;
}

@media (max-width: 880px) {
  .m-nav__links { display: none; }
  .m-nav__burger { display: flex; }
}

/* ──────────────────────────────────────────────
   HERO
   ────────────────────────────────────────────── */
.m-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #0040B3 0%, #0066FF 60%, #2A85FF 100%);
  padding: 80px 0 100px;
}
.m-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.m-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  animation: blob 22s ease-in-out infinite alternate;
}
.m-blob--1 {
  width: 540px; height: 540px;
  background: radial-gradient(circle, #4F8CFF 0%, transparent 70%);
  top: -120px; left: -120px;
}
.m-blob--2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #00C2FF 0%, transparent 70%);
  bottom: -80px; right: 8%;
  animation-delay: -6s;
}
.m-blob--3 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, #8AB6FF 0%, transparent 70%);
  top: 40%; right: 38%;
  animation-delay: -12s;
}
@keyframes blob {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(40px, 60px, 0) scale(1.1); }
  100% { transform: translate3d(-30px, 20px, 0) scale(.95); }
}

.m-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.m-hero__copy { max-width: 580px; }
.m-hero__title {
  font-size: clamp(40px, 5.6vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin: 22px 0 18px;
}
.m-grad {
  background: linear-gradient(120deg, #B5DAFF 0%, #FFFFFF 50%, #B5DAFF 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine {
  to { background-position: 200% 0; }
}
.m-hero__lead {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(255, 255, 255, .88);
  margin: 0 0 30px;
  max-width: 540px;
}
.m-hero__check {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, .85);
}
.m-hero__check li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ── Store badges ── */
.m-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.m-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  min-height: 56px;
  border-radius: 14px;
  background: #0a1124;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .12);
  transition: transform .25s var(--m-ease), box-shadow .25s var(--m-ease), background .2s;
  cursor: pointer;
  text-decoration: none;
}
.m-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .35);
  background: #131a3a;
}
.m-badge__txt {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.m-badge__small {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .75;
}
.m-badge__big {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.m-badge--soon {
  cursor: not-allowed;
  background: rgba(10, 17, 36, .55);
  border-color: rgba(255, 255, 255, .15);
}
.m-badge--soon:hover {
  transform: none;
  box-shadow: none;
  background: rgba(10, 17, 36, .55);
}
.m-badge__pill {
  position: absolute;
  top: -8px; right: -8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--m-ink);
  background: #FFD43B;
  padding: 3px 8px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
}

/* ── Hero phone stage ── */
.m-hero__visual {
  position: relative;
  height: 620px;
}
.m-stage {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.m-phone {
  position: absolute;
  transition: transform .6s var(--m-ease);
  will-change: transform;
}
.m-phone--front {
  z-index: 3;
  width: 280px;
  animation: float-y 5.5s ease-in-out infinite;
  /* base transform — JS-driven tilt composes via CSS vars (set by mousemove) */
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
}
.m-phone--side {
  z-index: 1;
  width: 240px;
  opacity: .92;
  filter: brightness(.92);
}
.m-phone--left  { transform: translate(-180px, 30px) rotate(-10deg); animation: float-y 6s ease-in-out infinite; animation-delay: -1.5s; }
.m-phone--right { transform: translate(180px,  30px) rotate(10deg);  animation: float-y 6.5s ease-in-out infinite; animation-delay: -3s; }
@keyframes float-y {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -12px; }
}
.m-phone--left  { animation-name: float-left; }
.m-phone--right { animation-name: float-right; }
@keyframes float-left {
  0%, 100% { transform: translate(-180px, 30px) rotate(-10deg); }
  50%      { transform: translate(-180px, 18px) rotate(-10deg); }
}
@keyframes float-right {
  0%, 100% { transform: translate(180px, 30px) rotate(10deg); }
  50%      { transform: translate(180px, 18px) rotate(10deg); }
}

.m-phone__frame {
  position: relative;
  border-radius: 38px;
  padding: 8px;
  background: linear-gradient(160deg, #2A2F44, #0E1226);
  box-shadow:
    0 50px 90px -20px rgba(0, 18, 60, .55),
    0 0 0 2px rgba(255, 255, 255, .04) inset;
  overflow: hidden;
}
/* Скриншоты содержат нативный iOS-чром (Dynamic Island, статус-бар), поэтому
   собственная фейковая «чёлка» не нужна — она перекрывает реальный UI. */
.m-phone__frame img {
  border-radius: 30px;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 588 / 1280;
  object-fit: cover;
}

/* push card on hero front phone */
.m-push {
  position: absolute;
  top: 80px;
  left: -32px;
  right: -32px;
  display: flex;
  gap: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, .96);
  color: var(--m-ink);
  border-radius: 16px;
  box-shadow: 0 24px 40px -10px rgba(0, 0, 0, .35);
  backdrop-filter: blur(10px);
  font-size: 13px;
  z-index: 5;
  animation: push-in 8s var(--m-ease) infinite;
}
.m-push__icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--m-blue-500);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.m-push__icon img { width: 36px; height: 36px; }
.m-push__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}
.m-push__row strong { font-weight: 700; }
.m-push__time { font-size: 11px; color: var(--m-ink-3); }
.m-push__msg {
  color: var(--m-ink-2);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.m-push__body { min-width: 0; flex: 1; }
@keyframes push-in {
  0%, 8%   { opacity: 0; transform: translateY(-12px) scale(.96); }
  14%, 65% { opacity: 1; transform: translateY(0) scale(1); }
  72%, 100%{ opacity: 0; transform: translateY(-8px) scale(.98); }
}

/* channel icons row — independent floating "school of fish" effect */
.m-channels {
  position: absolute;
  bottom: 4px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 14px;
  z-index: 4;
}
.m-chan {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .25);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  /* one-time entrance from below + perpetual gentle drift */
  animation:
    chan-rise 1s cubic-bezier(.22, 1, .36, 1) backwards,
    chan-drift 5.5s ease-in-out infinite;
  animation-delay:
    calc(var(--d, 0s) + 0.6s),  /* rise */
    var(--d, 0s);                /* drift */
  transition: transform .25s var(--m-ease), background .25s, border-color .25s;
}
.m-chan:hover {
  background: rgba(255, 255, 255, .28);
  border-color: rgba(255, 255, 255, .45);
  transform: translateY(-4px) scale(1.08);
}
@keyframes chan-rise {
  0%   { opacity: 0; transform: translateY(36px) scale(.7); }
  100% { opacity: 1; transform: translateY(0)    scale(1); }
}
@keyframes chan-drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); box-shadow: 0 6px 16px rgba(0,0,0,.18); }
  25%      { transform: translate(var(--x, 0), -8px) rotate(-2deg); box-shadow: 0 14px 24px rgba(0,0,0,.22); }
  50%      { transform: translate(0, -3px) rotate(0deg); }
  75%      { transform: translate(calc(var(--x, 0) * -1), -10px) rotate(2deg); box-shadow: 0 16px 26px rgba(0,0,0,.22); }
}

/* ──────────────────────────────────────────────
   SCROLL-PINNED TOUR (Apple-style)
   ────────────────────────────────────────────── */
.m-tour {
  background: var(--m-bg);
  position: relative;
  scroll-margin-top: 80px;
}
.m-tour__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.m-tour__pin {
  position: sticky;
  top: 96px;                   /* below sticky nav */
  height: calc(100vh - 120px);
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
}
.m-tour__phone-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-height: 100%;
}
.m-phone--tour {
  position: relative;
  /* Phone fits viewport: width capped at 300px OR computed from available height
     (588/1280 ≈ 0.459 — width = height × ratio).
     Reserved 200px for nav (96) + dots (18) + gap (18) + padding (~70). */
  width: min(300px, calc((100vh - 200px) * 0.459));
  aspect-ratio: 588 / 1280;
}
.m-phone--tour .m-phone__frame {
  width: 100%;
  height: 100%;
  padding: 6px;
  box-shadow: 0 50px 100px -24px rgba(0, 18, 60, .35);
}
/* Two stacked imgs — incoming layer crossfades on top of outgoing.
   No blur, no «dark» moment — old screen visible until new is fully on. */
.m-phone--tour .m-phone__frame {
  position: relative;
  overflow: hidden;
}
.m-phone--tour .m-phone__frame img.m-tour__img {
  position: absolute;
  inset: 6px;                  /* match the .m-phone--tour __frame padding */
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  object-fit: cover;
  border-radius: 28px;
  opacity: 0;
  transform: translateY(10px) scale(1.015);
  transition: opacity .55s var(--m-ease), transform .55s var(--m-ease);
  pointer-events: none;
}
.m-phone--tour .m-phone__frame img.m-tour__img.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
/* progress dots under the phone */
.m-tour__progress {
  display: flex;
  gap: 8px;
}
.m-tour__progress span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 18, 60, .15);
  transition: width .3s var(--m-ease), background .3s;
}
.m-tour__progress span.is-active {
  width: 24px;
  background: var(--m-blue-500);
}

/* right column: long-scroll text steps */
.m-tour__content {
  display: flex;
  flex-direction: column;
  padding: 25vh 0;
  gap: 40vh;
}
.m-tour__step {
  opacity: .35;
  transition: opacity .4s var(--m-ease), transform .4s var(--m-ease);
  transform: translateY(8px);
}
.m-tour__step.is-active {
  opacity: 1;
  transform: translateY(0);
}
.m-tour__num {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--m-blue-500);
  margin-bottom: 14px;
  font-feature-settings: 'tnum';
}
.m-tour__step h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 0 0 16px;
}
.m-tour__step p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--m-ink-2);
  margin: 0 0 18px;
}
.m-tour__step code {
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 14px;
  background: rgba(0, 102, 255, .08);
  color: var(--m-blue-700);
  padding: 1px 6px;
  border-radius: 4px;
}
.m-tour__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.m-tour__bullets li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: var(--m-ink-3);
}
.m-tour__bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 8px;
  border-left: 2px solid var(--m-blue-500);
  border-bottom: 2px solid var(--m-blue-500);
  transform: rotate(-45deg);
}

/* Inline phone — hidden on desktop, visible on small phones (<640) */
.m-tour__inline-phone {
  display: none;
  width: min(220px, 60%);
  aspect-ratio: 588 / 1280;
  margin: 18px auto 22px;
}
.m-tour__inline-phone .m-phone__frame {
  width: 100%;
  height: 100%;
  padding: 5px;
  box-shadow: 0 24px 50px -16px rgba(0, 18, 60, .3);
  position: relative;
  overflow: hidden;
}
.m-tour__inline-phone .m-phone__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
}

/* Tablet (640–980px): keep sticky but make phone smaller and squeeze layout */
@media (max-width: 980px) {
  .m-tour {
    padding: 80px 0;
  }
  .m-tour__inner {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .m-tour__pin {
    position: sticky;
    top: 72px;
    height: auto;
    min-height: 0;
    padding: 12px 0;
    background: linear-gradient(180deg, var(--m-bg) 70%, rgba(244,247,252,0));
    z-index: 5;
  }
  .m-tour__phone-wrap { gap: 12px; }
  .m-phone--tour {
    width: min(200px, 38vh);
  }
  .m-tour__progress span { width: 6px; height: 6px; }
  .m-tour__progress span.is-active { width: 18px; }
  .m-tour__content {
    padding: 0;
    gap: 56px;
  }
  .m-tour__step { opacity: 1; transform: none; }
}

/* Phone (<640px): drop sticky entirely, show inline phone per step */
@media (max-width: 640px) {
  .m-tour__pin { display: none; }
  .m-tour__inline-phone { display: block; }
  .m-tour__content { gap: 80px; padding-top: 16px; }
  .m-tour__step h2 { font-size: 26px; }
  .m-tour__step p { font-size: 15px; }
}

/* ──────────────────────────────────────────────
   CHANNEL ORBIT (around hero front phone)
   ────────────────────────────────────────────── */
.m-orbits {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 4;
}
.m-orbit {
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 0;
  animation: orbit-rotate 24s linear infinite;
  animation-delay: var(--delay, 0s);
}
.m-orbit .m-chan {
  position: absolute;
  /* radius: 220px → ellipse-ish via different x/y in keyframes (looks more 3D) */
  left: 220px;
  top: -22px;
  width: 44px;
  height: 44px;
  /* counter-rotate so icons stay upright */
  animation: orbit-counter 24s linear infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes orbit-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes orbit-counter {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}
@media (max-width: 980px) {
  /* on mobile orbit becomes too cramped — show static below */
  .m-orbits { display: none; }
}

/* ──────────────────────────────────────────────
   HERO TILT — composes with float via @property
   ────────────────────────────────────────────── */
@property --rx {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
@property --ry {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
.m-stage { perspective: 1400px; }
.m-phone {
  transition: --rx .25s ease-out, --ry .25s ease-out;
}

/* ──────────────────────────────────────────────
   FEATURES
   ────────────────────────────────────────────── */
.m-feats {
  background: var(--m-bg);
  padding: 100px 0;
  text-align: center;
  scroll-margin-top: 80px;
}
.m-play, .m-tricks, .m-faq { scroll-margin-top: 80px; }
.m-feats__grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  text-align: left;
}
.m-feat {
  background: #fff;
  border-radius: var(--m-radius);
  padding: 24px;
  box-shadow: var(--m-shadow-sm);
  transition: transform .35s var(--m-ease), box-shadow .35s var(--m-ease);
  display: flex;
  flex-direction: column;
}
.m-feat:hover {
  transform: translateY(-6px);
  box-shadow: var(--m-shadow);
}
.m-feat__img {
  margin: -6px -6px 18px;
  border-radius: var(--m-radius-sm);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: stretch;
  background: linear-gradient(135deg, #0040B3, #2A85FF);
}
.m-feat__img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .8s var(--m-ease);
}
.m-feat:hover .m-feat__img img { transform: scale(1.04); }
.m-feat__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 0 0 6px;
}
.m-feat__text {
  font-size: 15px;
  color: var(--m-ink-3);
  margin: 0;
}

/* ──────────────────────────────────────────────
   SCREENS CAROUSEL
   ────────────────────────────────────────────── */
.m-screens {
  padding: 80px 0;
  background: #fff;
  text-align: center;
  overflow-x: hidden;          /* prevent page-level horizontal scroll */
}
.m-carousel {
  position: relative;
  margin-top: 32px;
  /* track is a child — give carousel space to host horizontal scroll */
}
.m-carousel__track {
  display: flex;
  gap: 24px;
  padding: 24px max(24px, calc((100% - 1240px) / 2)) 32px;
  overflow-x: auto;
  overflow-y: hidden;          /* explicit, avoids implicit auto */
  scroll-snap-type: x mandatory;
  scroll-padding-left: max(24px, calc((100% - 1240px) / 2));
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}
.m-carousel__track:active { cursor: grabbing; }
.m-carousel__track::-webkit-scrollbar { display: none; }
.m-screen {
  flex: 0 0 240px;
  width: 240px;
  min-width: 0;
  scroll-snap-align: start;
  margin: 0;
  text-align: center;
}
.m-screen figcaption {
  display: block;
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--m-ink-3);
  word-wrap: break-word;
  hyphens: auto;
}
.m-phone--card {
  position: relative;          /* override .m-phone {position:absolute} from hero */
  width: 240px;
  aspect-ratio: 588 / 1280;    /* match real screenshot ratio */
}
.m-phone--card .m-phone__frame {
  box-shadow: 0 24px 50px -16px rgba(0, 18, 60, .35);
  padding: 5px;
  width: 100%;
  height: 100%;
}
.m-phone--card .m-phone__frame img {
  border-radius: 28px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--m-line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  color: var(--m-ink);
  box-shadow: var(--m-shadow-sm);
  transition: background .2s, transform .2s var(--m-ease);
}
.m-carousel__nav:hover { background: var(--m-blue-500); color: #fff; transform: translateY(-50%) scale(1.05); }
.m-carousel__nav--prev { left: 16px; }
.m-carousel__nav--next { right: 16px; }
@media (max-width: 700px) {
  .m-carousel__nav { display: none; }
}

/* ──────────────────────────────────────────────
   PLAYGROUND (interactive)
   ────────────────────────────────────────────── */
.m-play {
  padding: 100px 0;
  background: var(--m-bg);
  text-align: center;
}
.m-play__inner {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  text-align: left;
}
.m-play__stage {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 540px;
}
.m-phone--play {
  position: relative;
  width: 280px;
  aspect-ratio: 588 / 1280;
}
.m-phone--play .m-phone__frame {
  width: 100%;
  height: 100%;
  padding: 6px;
  box-shadow: 0 40px 80px -20px rgba(0, 18, 60, .3);
}
.m-phone--play .m-phone__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  transition: opacity .25s ease;
}
.m-phone--play .m-phone__frame.is-swapping img { opacity: 0; }

.m-play__push {
  position: absolute;
  top: 6%;
  left: 50%;
  width: 320px;
  max-width: calc(100% - 32px);
  display: flex;
  gap: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, .96);
  color: var(--m-ink);
  border-radius: 16px;
  box-shadow: 0 24px 40px -10px rgba(0, 0, 0, .35);
  font-size: 13px;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -140%);
  transition: opacity .35s var(--m-ease), transform .45s var(--m-ease);
}
.m-play__push.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.m-play__controls {
  max-width: 460px;
}
.m-play__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--m-ink-3);
  margin: 0 0 14px;
}
.m-play__list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 8px;
}
.m-play__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #fff;
  border: 1.5px solid var(--m-line);
  border-radius: 14px;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s, transform .2s var(--m-ease), box-shadow .2s;
  font-family: inherit;
}
.m-play__btn:hover {
  border-color: rgba(0, 102, 255, .35);
  transform: translateX(4px);
}
.m-play__btn.is-active {
  border-color: var(--m-blue-500);
  box-shadow: 0 6px 18px -6px rgba(0, 102, 255, .35);
  background: linear-gradient(180deg, #fff, #F0F6FF);
}
.m-play__btn-ico {
  font-size: 22px;
  flex-shrink: 0;
}
.m-play__btn-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.m-play__btn-txt strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--m-ink);
}
.m-play__btn-txt span {
  font-size: 13px;
  color: var(--m-ink-3);
}
.m-play__push-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--m-ink);
  color: #fff;
  border: 0;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s, transform .2s var(--m-ease), box-shadow .2s;
}
.m-play__push-btn:hover {
  background: var(--m-blue-500);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(0, 102, 255, .55);
}
.m-play__push-ico { font-size: 18px; }

/* ──────────────────────────────────────────────
   TRICKS — feature gallery with micro-animations
   ────────────────────────────────────────────── */
.m-tricks {
  padding: 100px 0;
  background: #fff;
  text-align: center;
}
.m-tricks__grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  text-align: left;
}
.m-trick {
  background: #fff;
  border: 1px solid var(--m-line);
  border-radius: 22px;
  padding: 24px;
  transition: transform .35s var(--m-ease), box-shadow .35s var(--m-ease), border-color .25s;
  display: flex;
  flex-direction: column;
}
.m-trick:hover {
  transform: translateY(-6px);
  box-shadow: var(--m-shadow);
  border-color: rgba(0, 102, 255, .25);
}
.m-trick__visual {
  position: relative;
  height: 120px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #F4F7FC, #E8F0FF);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.m-trick h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 0 0 6px;
}
.m-trick p {
  font-size: 14px;
  color: var(--m-ink-3);
  line-height: 1.5;
  margin: 0;
}
.m-trick code {
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 12px;
  background: rgba(0, 102, 255, .08);
  color: var(--m-blue-700);
  padding: 1px 6px;
  border-radius: 4px;
}

/* — Swipe-actions visual (iOS-style: row slides left, actions emerge from underneath) — */
.m-trick__visual--swipe {
  padding: 0;
  overflow: hidden;
  align-items: stretch;
}
.m-swipe-actions {
  position: absolute;
  top: 22px;
  bottom: 22px;
  right: 0;
  display: flex;
  /* Spans 0…right edge — row covers it when at rest, exposes when swiped */
}
.m-swipe-act {
  width: 56px;
  height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.m-swipe-act--pin   { background: #FFB020; }
.m-swipe-act--read  { background: #36C26B; }
.m-swipe-act--close { background: #FF5765; border-top-right-radius: 10px; border-bottom-right-radius: 10px; }
/* Row sits ON TOP of actions; sliding it left reveals them. */
.m-swipe-row {
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,18,60,.06);
  animation: swipe-loop 4.5s var(--m-ease) infinite;
}
@keyframes swipe-loop {
  0%, 25%   { transform: translateX(0); }
  45%, 80%  { transform: translateX(-168px); }   /* expose 3 × 56px buttons */
  100%      { transform: translateX(0); }
}
.m-swipe-row__avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #36C26B, #1F8E48);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  flex-shrink: 0;
}
.m-swipe-row__txt { flex: 1; min-width: 0; }
.m-swipe-row__name {
  font-size: 12px; font-weight: 700; color: var(--m-ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.m-swipe-row__msg {
  font-size: 11px; color: var(--m-ink-3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* — Theme toggle visual — */
.m-theme-toggle {
  position: relative;
  width: 110px; height: 40px;
  border-radius: 999px;
  background: linear-gradient(90deg, #FFE9A8 0%, #FFE9A8 50%, #2C3553 50%, #131a3a 100%);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px;
  font-size: 18px;
}
.m-theme-toggle__sun { color: #FFB020; }
.m-theme-toggle__moon { color: #B5DAFF; }
.m-theme-toggle__knob {
  position: absolute;
  top: 4px; left: 4px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,.18);
  animation: theme-knob 4s var(--m-ease) infinite;
}
@keyframes theme-knob {
  0%, 40%   { transform: translateX(0); }
  50%, 90%  { transform: translateX(70px); }
  100%      { transform: translateX(0); }
}

/* — Voice waveform visual — */
.m-trick__visual--voice {
  gap: 10px;
  padding: 0 16px;
}
.m-voice-play {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--m-blue-500);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.m-voice-bars {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 36px;
}
.m-voice-bars span {
  flex: 1;
  background: var(--m-blue-500);
  border-radius: 2px;
  animation: voice-pulse 1.4s var(--m-ease) infinite;
  opacity: .4;
}
.m-voice-bars span:nth-child(2n)  { animation-delay: -.15s; }
.m-voice-bars span:nth-child(3n)  { animation-delay: -.30s; }
.m-voice-bars span:nth-child(5n)  { animation-delay: -.45s; }
.m-voice-bars span:nth-child(7n)  { animation-delay: -.60s; }
@keyframes voice-pulse {
  0%, 100% { height: 8px;  opacity: .4; }
  50%      { height: 28px; opacity: 1; }
}
.m-voice-time {
  font-size: 12px;
  color: var(--m-ink-3);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

/* — Offline visual — */
.m-trick__visual--offline {
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}
.m-offline {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,18,60,.08);
  display: flex; align-items: center; justify-content: center;
}
.m-offline__icon {
  position: absolute;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .4s;
}
.m-offline__icon--off { color: #FF5765; animation: offline-flash 4s ease-in-out infinite; }
.m-offline__icon--on  { color: #36C26B; opacity: 0; animation: offline-on 4s ease-in-out infinite; }
@keyframes offline-flash {
  0%, 60%, 100% { opacity: 1; }
  70%, 90%      { opacity: 0; }
}
@keyframes offline-on {
  0%, 60%, 100% { opacity: 0; transform: scale(.6); }
  70%, 90%      { opacity: 1; transform: scale(1); }
}
.m-offline__bubble {
  font-size: 11px;
  color: var(--m-ink-2);
  text-align: center;
  line-height: 1.35;
  background: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,18,60,.06);
}

/* — Templates visual — */
.m-trick__visual--tpl {
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  font-size: 12px;
}
.m-tpl-line {
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  box-shadow: 0 2px 6px rgba(0,18,60,.06);
  color: var(--m-ink);
  white-space: nowrap;
}
.m-tpl-var {
  background: rgba(0, 102, 255, .14);
  color: var(--m-blue-700);
  padding: 0 4px;
  border-radius: 3px;
  font-family: 'SF Mono', Menlo, monospace;
  font-size: 11px;
  animation: tpl-blink 3s ease-in-out infinite;
}
.m-tpl-name {
  color: var(--m-blue-500);
  font-weight: 600;
  animation: tpl-fadein 3s ease-in-out infinite;
}
.m-tpl-arrow {
  font-size: 14px;
  color: var(--m-blue-500);
  animation: tpl-down 3s ease-in-out infinite;
}
.m-tpl-line--out { animation: tpl-fadein 3s ease-in-out infinite; }
@keyframes tpl-blink {
  0%, 40%, 100% { background: rgba(0, 102, 255, .14); }
  20%           { background: rgba(0, 102, 255, .35); }
}
@keyframes tpl-down {
  0%, 40%, 100% { transform: translateY(0); opacity: .6; }
  60%           { transform: translateY(2px); opacity: 1; }
}
@keyframes tpl-fadein {
  0%, 50% { opacity: 0; transform: translateY(-4px); }
  60%, 100% { opacity: 1; transform: translateY(0); }
}

/* — Media (photos/files) visual — */
.m-media-stack {
  position: relative;
  width: 110px;
  height: 90px;
}
.m-media-stack__item {
  position: absolute;
  width: 70px; height: 70px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,18,60,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--m-blue-500);
  transition: transform .4s var(--m-ease);
}
.m-media-stack__item--1 { top: 8px;  left: 0;   transform: rotate(-6deg); }
.m-media-stack__item--2 { top: 4px;  left: 22px; }
.m-media-stack__item--3 { top: 8px;  left: 44px; transform: rotate(6deg); }
.m-trick:hover .m-media-stack__item--1 { transform: rotate(-12deg) translateX(-4px); }
.m-trick:hover .m-media-stack__item--3 { transform: rotate(12deg)  translateX(4px); }

/* — Assignment visual — */
.m-trick__visual--assign {
  flex-direction: column;
  gap: 8px;
}
.m-assign {
  display: flex; align-items: center; gap: 12px;
}
.m-assign__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(0,18,60,.12);
}
.m-assign__avatar--from { background: #FF7A45; }
.m-assign__avatar--to   { background: #6B5BFF; }
.m-assign__arrow {
  font-size: 18px;
  color: var(--m-blue-500);
  animation: assign-arrow 2.4s ease-in-out infinite;
}
@keyframes assign-arrow {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(4px); }
}
.m-assign__pill {
  background: rgba(54, 194, 107, .14);
  color: #1F8E48;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

/* — Biometric visual — */
.m-bio {
  color: var(--m-blue-500);
}
.m-bio__ring {
  transform-origin: 40px 40px;
  animation: bio-spin 4s linear infinite;
}
@keyframes bio-spin {
  to { transform: rotate(360deg); }
}

/* ──────────────────────────────────────────────
   STATS strip (numbers)
   ────────────────────────────────────────────── */
.m-stats {
  padding: 64px 0;
  background: linear-gradient(135deg, #0040B3 0%, #0066FF 60%, #2A85FF 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.m-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(255, 255, 255, .12), transparent 40%),
    radial-gradient(circle at 85% 50%, rgba(255, 255, 255, .08), transparent 50%);
  pointer-events: none;
}
.m-stats__inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px 24px;
}
.m-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.m-stat__num {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  background: linear-gradient(180deg, #fff, #B5DAFF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.m-stat__lbl {
  font-size: 14px;
  color: rgba(255, 255, 255, .85);
  line-height: 1.4;
  max-width: 280px;
  margin: 0 auto;
}

/* responsive collapse */
@media (max-width: 880px) {
  .m-play__inner { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .m-play__stage { order: -1; min-height: 0; }
  .m-play__controls { max-width: none; }
  .m-play__btn { text-align: left; }
}

/* ──────────────────────────────────────────────
   USE-CASES (storytelling cards) — устарело
   ────────────────────────────────────────────── */
.m-uses {
  padding: 100px 0;
  background: var(--m-bg);
  text-align: center;
}
.m-uses__grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  text-align: left;
}
.m-use {
  position: relative;
  padding: 32px 26px 28px;
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--m-shadow-sm);
  overflow: hidden;
  transition: transform .35s var(--m-ease), box-shadow .35s var(--m-ease);
}
.m-use::after {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,102,255,.08), transparent 70%);
  transition: transform .8s var(--m-ease);
}
.m-use:hover {
  transform: translateY(-6px);
  box-shadow: var(--m-shadow);
}
.m-use:hover::after {
  transform: translate(-20px, -20px) scale(1.4);
}
.m-use__num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--m-blue-500);
  margin-bottom: 18px;
}
.m-use h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 0 0 8px;
}
.m-use p {
  font-size: 15px;
  color: var(--m-ink-3);
  line-height: 1.5;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ──────────────────────────────────────────────
   TRUST STRIP (compact "we keep your data safe")
   ────────────────────────────────────────────── */
.m-trust {
  padding: 36px 0;
  background: #fff;
  border-top: 1px solid var(--m-line);
  border-bottom: 1px solid var(--m-line);
}
.m-trust__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 22px 32px;
}
.m-trust__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--m-ink-2);
}
.m-trust__item svg {
  color: var(--m-blue-500);
  flex-shrink: 0;
}

/* ──────────────────────────────────────────────
   INSIDE PILLS  (deprecated — kept for safety)
   ────────────────────────────────────────────── */
.m-inside {
  padding: 100px 0;
  background: var(--m-bg);
  text-align: center;
}
.m-inside__grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  text-align: left;
}
.m-pill {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: border-color .25s, transform .25s var(--m-ease), box-shadow .25s;
}
.m-pill:hover {
  border-color: rgba(0, 102, 255, .25);
  transform: translateY(-3px);
  box-shadow: var(--m-shadow-sm);
}
.m-pill__ico {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}
.m-pill h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 2px;
}
.m-pill p {
  font-size: 13px;
  color: var(--m-ink-3);
  margin: 0;
}

/* ──────────────────────────────────────────────
   SECURITY
   ────────────────────────────────────────────── */
.m-sec {
  padding: 100px 0;
  background: linear-gradient(135deg, #0A1124 0%, #131a3a 100%);
  color: #fff;
}
.m-sec__inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: center;
}
.m-sec .m-h2 { color: #fff; }
.m-sec .m-eyebrow {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
  color: #fff;
  margin-bottom: 16px;
}
.m-sec__list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 16px;
}
.m-sec__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  color: rgba(255, 255, 255, .85);
  line-height: 1.5;
}
.m-sec__list svg {
  color: #36F0A0;
  flex-shrink: 0;
  margin-top: 2px;
}
.m-sec__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.m-shield {
  width: 280px;
  filter: drop-shadow(0 30px 60px rgba(79, 140, 255, .4));
  animation: shield-bob 5s ease-in-out infinite;
}
@keyframes shield-bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-10px) rotate(2deg); }
}

/* ──────────────────────────────────────────────
   FAQ
   ────────────────────────────────────────────── */
.m-faq {
  padding: 100px 0;
  background: #fff;
  text-align: center;
}
.m-faq__list {
  max-width: 760px;
  margin: 16px auto 0;
  text-align: left;
  display: grid;
  gap: 12px;
}
.m-faq__item {
  border: 1px solid var(--m-line);
  border-radius: var(--m-radius-sm);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.m-faq__item[open] {
  border-color: rgba(0, 102, 255, .35);
  box-shadow: var(--m-shadow-sm);
}
.m-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.m-faq__item summary::-webkit-details-marker { display: none; }
.m-faq__chev {
  width: 24px; height: 24px;
  position: relative;
  flex-shrink: 0;
  transition: transform .25s var(--m-ease);
}
.m-faq__chev::before, .m-faq__chev::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 2px;
  background: var(--m-ink-2);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .25s var(--m-ease);
}
.m-faq__chev::after { transform: translate(-50%, -50%) rotate(90deg); }
.m-faq__item[open] .m-faq__chev::after { transform: translate(-50%, -50%) rotate(0); }
.m-faq__body {
  padding: 0 22px 20px;
  color: var(--m-ink-3);
  line-height: 1.6;
}
.m-faq__body a { color: var(--m-blue-500); border-bottom: 1px solid rgba(0, 102, 255, .35); }

/* ──────────────────────────────────────────────
   FINAL CTA
   ────────────────────────────────────────────── */
.m-final {
  padding: 100px 0;
  background: linear-gradient(135deg, #0040B3 0%, #0066FF 70%, #2A85FF 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 80px;     /* compensate for sticky nav when anchored */
}
.m-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(255, 255, 255, .15), transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(255, 255, 255, .1), transparent 50%);
  pointer-events: none;
}
.m-final__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.m-final__title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 14px;
  line-height: 1.1;
}
.m-final__lead {
  font-size: 18px;
  color: rgba(255, 255, 255, .88);
  margin: 0 0 28px;
}
.m-stores--final {
  flex-wrap: wrap;
}
.m-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.m-qr__inner {
  padding: 14px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, .35);
  transform: rotate(-3deg);
  transition: transform .4s var(--m-ease);
}
.m-qr__inner:hover { transform: rotate(0); }
.m-qr__inner img {
  display: block;
  width: 160px;
  height: 160px;
  border-radius: 8px;
}
.m-qr__hint {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, .75);
}
@media (max-width: 700px) {
  .m-qr { display: none; }
}

/* ──────────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────────── */
.m-foot {
  padding: 36px 0;
  background: #0a1124;
  color: rgba(255, 255, 255, .6);
}
.m-foot__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.m-foot__logo {
  font-weight: 800;
  font-size: 18px;
  color: #fff;
}
.m-foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 14px;
}
.m-foot__links a:hover { color: #fff; }
.m-foot__copy {
  font-size: 13px;
  margin: 0;
}

/* ──────────────────────────────────────────────
   STICKY BAR (mobile only)
   ────────────────────────────────────────────── */
.m-stickybar {
  position: fixed;
  left: 12px; right: 12px;
  bottom: 12px;
  z-index: 70;
  display: none;
  gap: 8px;
  padding: 10px;
  background: rgba(10, 17, 36, .92);
  backdrop-filter: blur(14px);
  border-radius: 16px;
  box-shadow: 0 18px 40px -8px rgba(0, 0, 0, .4);
  transform: translateY(140%);
  transition: transform .35s var(--m-ease);
}
.m-stickybar.is-visible { transform: translateY(0); }
.m-stickybar__btn {
  flex: 1;
  text-align: center;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}
.m-stickybar__btn--primary { background: var(--m-blue-500); color: #fff; }
.m-stickybar__btn--ghost   { background: rgba(255,255,255,.1); color: #fff; }
@media (max-width: 720px) {
  .m-stickybar { display: flex; }
}

/* ──────────────────────────────────────────────
   RESPONSIVE
   ────────────────────────────────────────────── */
@media (max-width: 980px) {
  .m-hero { padding: 64px 0 80px; }
  .m-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .m-hero__copy { margin: 0 auto; }
  .m-hero__lead { margin-left: auto; margin-right: auto; }
  .m-hero__check { justify-content: center; }
  .m-stores { justify-content: center; }
  .m-hero__visual { height: 540px; margin-top: 24px; }
  .m-sec__inner { grid-template-columns: 1fr; text-align: center; }
  .m-sec__list li { justify-content: flex-start; }
  .m-sec__visual { order: -1; }
  .m-shield { width: 200px; }
  .m-final__inner { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 640px) {
  .m-feats, .m-screens, .m-inside, .m-sec, .m-faq, .m-final { padding: 72px 0; }
  .m-phone--front { width: 220px; }
  .m-phone--side  { width: 180px; }
  .m-phone--left  { transform: translate(-130px, 30px) rotate(-10deg); }
  .m-phone--right { transform: translate(130px,  30px) rotate(10deg); }
  @keyframes float-left  { 0%,100% { transform: translate(-130px, 30px) rotate(-10deg); } 50% { transform: translate(-130px, 18px) rotate(-10deg); } }
  @keyframes float-right { 0%,100% { transform: translate( 130px, 30px) rotate( 10deg); } 50% { transform: translate( 130px, 18px) rotate( 10deg); } }
  .m-hero__visual { height: 500px; }
  .m-push { left: -8px; right: -8px; }
  .m-screen, .m-phone--card { width: 240px; }
  body { padding-bottom: 80px; } /* room for sticky bar */
}
