/* ===== /start — Stories/Reels Animation Landing ===== */

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

.start-body {
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #0B0D11;
  color: #fff;
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ===== TOPBAR ===== */
.start-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  z-index: 100;
  background: linear-gradient(180deg, rgba(11,13,17,0.6) 0%, rgba(11,13,17,0) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.start-logo { display: inline-flex; align-items: center; }
.start-logo svg { display: block; }

.start-burger {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.18s;
}
.start-burger:hover { background: rgba(255,255,255,0.14); }
.start-burger span {
  width: 18px; height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* ===== BURGER DRAWER ===== */
.start-drawer { position: fixed; inset: 0; z-index: 200; }
.start-drawer-bg {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  animation: start-fade-in 0.25s ease-out;
}
.start-drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 80vw);
  background: #14171D;
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  gap: 4px;
  animation: start-slide-in-right 0.3s cubic-bezier(.2,.8,.3,1);
}
@keyframes start-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes start-slide-in-right { from { transform: translateX(100%); } to { transform: translateX(0); } }

.start-drawer-close {
  align-self: flex-end;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border: 0;
  color: #fff;
  border-radius: 10px;
  font-size: 24px;
  cursor: pointer;
  margin-bottom: 14px;
}

.start-drawer-link {
  display: block;
  padding: 14px 12px;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  border-radius: 10px;
  transition: 0.15s;
}
.start-drawer-link:hover { background: rgba(255,255,255,0.06); color: #fff; }

.start-drawer-cta {
  margin-top: auto;
  display: block;
  text-align: center;
  padding: 16px;
  background: linear-gradient(135deg, #FFCC00 0%, #F59E0B 100%);
  color: #111;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 14px;
  letter-spacing: 0.3px;
  box-shadow: 0 12px 32px rgba(245,158,11,0.4);
}

/* ===== STORIES PROGRESS ===== */
.start-progress {
  position: fixed;
  top: 64px; left: 12px; right: 12px;
  height: 3px;
  display: flex;
  gap: 4px;
  z-index: 90;
}
.start-progress-seg {
  flex: 1;
  height: 100%;
  background: rgba(255,255,255,0.18);
  border-radius: 2px;
  overflow: hidden;
}
.start-progress-fill {
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 2px;
  transition: width 0.35s cubic-bezier(.2,.8,.3,1);
}
.start-progress-seg.is-done .start-progress-fill { width: 100%; }
.start-progress-seg.is-active .start-progress-fill { width: 100%; }

/* ===== ARROWS ===== */
.start-arrow {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: 0.18s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.start-arrow:hover { background: rgba(255,255,255,0.2); }
.start-arrow-up { top: 84px; }
.start-arrow-down { bottom: 24px; animation: start-bounce-down 1.6s ease-in-out infinite; }
@keyframes start-bounce-down {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
@media (max-width: 540px) {
  .start-arrow-up, .start-arrow-down { display: none; }
}

/* ===== STAGE ===== */
.start-stage {
  position: fixed;
  inset: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}
.start-slide {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 32px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform 0.55s cubic-bezier(.4,.1,.2,1), opacity 0.4s ease-out;
}
.start-slide.is-active { transform: translateY(0); opacity: 1; pointer-events: auto; }
.start-slide.is-prev   { transform: translateY(-100%); opacity: 0; }

.start-slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.start-slide-content {
  position: relative;
  z-index: 2;
  max-width: 540px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* Backgrounds per slide */
.start-slide-bg-1 {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(255,204,0,0.18), transparent 60%),
    radial-gradient(ellipse at 70% 70%, rgba(249,115,22,0.14), transparent 60%),
    linear-gradient(180deg, #0B0D11 0%, #14171D 100%);
}
.start-slide-bg-2 {
  background:
    radial-gradient(ellipse at 50% 30%, rgba(139,92,246,0.22), transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(255,204,0,0.1), transparent 60%),
    linear-gradient(135deg, #14171D 0%, #1F1B2E 100%);
}
.start-slide-bg-3 {
  background:
    radial-gradient(ellipse at 20% 80%, rgba(59,130,246,0.22), transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(20,184,166,0.14), transparent 60%),
    linear-gradient(180deg, #0B0D11 0%, #0F1A24 100%);
}
.start-slide-bg-4 {
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255,107,53,0.22), transparent 60%),
    radial-gradient(ellipse at 30% 80%, rgba(255,204,0,0.18), transparent 60%),
    linear-gradient(180deg, #14171D 0%, #2A1A0E 100%);
}
.start-slide-bg-5 {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255,204,0,0.28), transparent 60%),
    linear-gradient(180deg, #14171D 0%, #0B0D11 100%);
}

/* ===== Common content styles ===== */
.start-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #fff;
  backdrop-filter: blur(8px);
}
.start-pill-purple { background: rgba(139,92,246,0.2); border-color: rgba(139,92,246,0.4); color: #DDD6FE; }
.start-pill-blue   { background: rgba(59,130,246,0.2); border-color: rgba(59,130,246,0.4); color: #BFDBFE; }
.start-pill-orange { background: rgba(255,107,53,0.2); border-color: rgba(255,107,53,0.4); color: #FED7AA; }
.start-pill-y      { background: rgba(255,204,0,0.2); border-color: rgba(255,204,0,0.5); color: #FEF3C7; }

.start-h1 {
  font-size: clamp(2rem, 8vw, 3.6rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: #fff;
}
.start-h1-y, .start-h2-y {
  background: linear-gradient(135deg, #FFCC00 0%, #F59E0B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.start-h2 {
  font-size: clamp(1.6rem, 7vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.2px;
  color: #fff;
}
.start-h2-final { font-size: clamp(1.8rem, 8vw, 3.2rem); }

.start-sub {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
  max-width: 480px;
  margin: 0 auto;
}

.start-cta {
  display: inline-block;
  padding: 18px 36px;
  background: linear-gradient(135deg, #FFCC00 0%, #F59E0B 100%);
  color: #111;
  border-radius: 100px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(245,158,11,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.start-cta:hover, .start-cta:active {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(245,158,11,0.55);
}
.start-cta-large { padding: 20px 44px; font-size: 1.15rem; }

.start-cta-ghost {
  display: inline-block;
  padding: 13px 28px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: 0.18s;
  backdrop-filter: blur(8px);
}
.start-cta-ghost:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.4); }

.start-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-top: 8px;
  font-weight: 500;
}

.start-hint-swipe {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  text-align: center;
  color: rgba(255,255,255,0.4);
  animation: start-bounce-up 1.8s ease-in-out infinite;
}
.start-hint-swipe span {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 2px;
}
.start-hint-swipe small {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.4px;
}
@keyframes start-bounce-up {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
  50% { transform: translateX(-50%) translateY(-8px); opacity: 0.8; }
}

/* Slide 2: AI demo */
.start-ai-demo {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.start-ai-demo-input {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.start-ai-demo-icon { color: #FFCC00; font-weight: 800; font-size: 1.2rem; }
.start-ai-demo-text { color: #fff; font-weight: 700; font-size: 1.05rem; }

.start-ai-demo-output {
  background: linear-gradient(135deg, rgba(255,204,0,0.1), rgba(245,158,11,0.06));
  border: 1.5px solid rgba(255,204,0,0.4);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
}
.start-ai-demo-spark { font-size: 1.2rem; flex-shrink: 0; line-height: 1.4; }
.start-ai-demo-output span:last-child {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.55;
  font-weight: 500;
}

/* Slide 3: Telegram card */
.start-tg-card {
  width: 100%;
  max-width: 380px;
  background: linear-gradient(180deg, #2A2D33 0%, #1E2025 100%);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 24px 56px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
  text-align: left;
}

.start-tg-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 14px;
}
.start-tg-card-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, #FFCC00, #F59E0B);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.start-tg-card-name { display: flex; flex-direction: column; gap: 2px; }
.start-tg-card-name strong { font-size: 0.95rem; color: #fff; font-weight: 700; }
.start-tg-card-name small { font-size: 0.78rem; color: rgba(255,255,255,0.5); }

.start-tg-line {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 6px;
  line-height: 1.45;
}
.start-tg-line:last-child { margin-bottom: 0; }
.start-tg-line strong { color: #fff; font-weight: 700; }
.start-tg-line span { color: rgba(255,255,255,0.7); }
.start-tg-total {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255,255,255,0.14);
  font-size: 1rem;
}
.start-tg-total strong { color: #FFCC00; font-weight: 800; font-size: 1.1rem; }

/* Slide 4: Demo tile */
.start-demo-tile {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(255,107,53,0.14), rgba(255,204,0,0.1));
  border: 1.5px solid rgba(255,107,53,0.4);
  border-radius: 18px;
  text-decoration: none;
  color: #fff;
  width: 100%;
  max-width: 420px;
  margin-top: 6px;
  transition: 0.2s;
}
.start-demo-tile:hover {
  transform: translateY(-2px);
  border-color: #FFCC00;
  box-shadow: 0 18px 40px rgba(255,107,53,0.3);
}

.start-demo-tile-thumb {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #F97316, #DC2626);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.start-demo-tile-emoji { font-size: 1.8rem; }
.start-demo-tile-body {
  flex: 1;
  text-align: left;
  min-width: 0;
}
.start-demo-tile-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}
.start-demo-tile-meta {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}
.start-demo-tile-arrow {
  font-size: 1.4rem;
  color: rgba(255,255,255,0.5);
  flex-shrink: 0;
}

/* Slide 5: stats */
.start-final-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 8px 0;
}
.start-final-stat { display: flex; flex-direction: column; gap: 2px; align-items: center; }
.start-final-stat strong {
  font-size: 1.6rem;
  font-weight: 900;
  color: #FFCC00;
  letter-spacing: -0.5px;
}
.start-final-stat span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.start-final-login {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 14px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.start-final-login:hover { color: #fff; }

/* Animations on slide enter */
.start-slide.is-active .start-slide-content > * {
  animation: start-content-in 0.6s ease-out backwards;
}
.start-slide.is-active .start-slide-content > *:nth-child(1) { animation-delay: 0.1s; }
.start-slide.is-active .start-slide-content > *:nth-child(2) { animation-delay: 0.2s; }
.start-slide.is-active .start-slide-content > *:nth-child(3) { animation-delay: 0.3s; }
.start-slide.is-active .start-slide-content > *:nth-child(4) { animation-delay: 0.4s; }
.start-slide.is-active .start-slide-content > *:nth-child(5) { animation-delay: 0.5s; }
.start-slide.is-active .start-slide-content > *:nth-child(6) { animation-delay: 0.6s; }
@keyframes start-content-in {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* iPhone safe areas */
@supports (padding: env(safe-area-inset-top)) {
  .start-topbar { padding-top: env(safe-area-inset-top); height: calc(56px + env(safe-area-inset-top)); }
  .start-progress { top: calc(64px + env(safe-area-inset-top)); }
}

@media (max-width: 540px) {
  .start-slide { padding: 100px 18px 80px; }
  .start-h1 { font-size: clamp(2rem, 11vw, 3rem); }
  .start-h2 { font-size: clamp(1.6rem, 9vw, 2.4rem); }
  .start-tg-card { padding: 14px; }
  .start-final-stats { gap: 16px; }
  .start-final-stat strong { font-size: 1.3rem; }
}
/* ===== /start v2 — Polish: smooth burger + premium effects ===== */

/* Tiny note под slides */
.start-tiny-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
  font-style: italic;
  letter-spacing: 0.2px;
}

/* === Премиальная плавность открытия Burger drawer === */
.start-drawer { animation: none !important; }
.start-drawer-bg {
  animation: start-bg-fade 0.45s cubic-bezier(.2,.8,.3,1);
}
@keyframes start-bg-fade {
  from { opacity: 0; backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); }
  to   { opacity: 1; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
}
.start-drawer-panel {
  animation: start-panel-slide 0.5s cubic-bezier(.2,.85,.25,1) !important;
  box-shadow: -24px 0 60px rgba(0,0,0,0.5);
}
@keyframes start-panel-slide {
  0%   { transform: translateX(110%) scale(0.96); opacity: 0; }
  60%  { opacity: 1; }
  100% { transform: translateX(0) scale(1); opacity: 1; }
}

/* Закрытие — плавно через is-closing */
.start-drawer.is-closing .start-drawer-bg { animation: start-bg-fade 0.35s cubic-bezier(.4,.1,.7,.6) reverse; }
.start-drawer.is-closing .start-drawer-panel { animation: start-panel-out 0.42s cubic-bezier(.4,.1,.7,.6) forwards !important; }
@keyframes start-panel-out {
  0%   { transform: translateX(0) scale(1); opacity: 1; }
  100% { transform: translateX(110%) scale(0.96); opacity: 0; }
}

/* Stagger fade-in для drawer links */
.start-drawer.is-open .start-drawer-link {
  animation: start-link-in 0.5s cubic-bezier(.2,.85,.25,1) backwards;
}
.start-drawer.is-open .start-drawer-link:nth-child(2) { animation-delay: 0.08s; }
.start-drawer.is-open .start-drawer-link:nth-child(3) { animation-delay: 0.14s; }
.start-drawer.is-open .start-drawer-link:nth-child(4) { animation-delay: 0.20s; }
.start-drawer.is-open .start-drawer-link:nth-child(5) { animation-delay: 0.26s; }
.start-drawer.is-open .start-drawer-link:nth-child(6) { animation-delay: 0.32s; }
.start-drawer.is-open .start-drawer-cta {
  animation: start-link-in 0.5s cubic-bezier(.2,.85,.25,1) 0.4s backwards;
}
@keyframes start-link-in {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* === Premium glow per slide === */
.start-slide-1 .start-slide-content::before,
.start-slide-2 .start-slide-content::before,
.start-slide-3 .start-slide-content::before,
.start-slide-4 .start-slide-content::before,
.start-slide-5 .start-slide-content::before {
  content: '';
  position: absolute;
  inset: -20% -10% -10% -10%;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(255,204,0,0.12), transparent 70%);
  opacity: 0;
  transition: opacity 1s ease-out;
  pointer-events: none;
}
.start-slide.is-active .start-slide-content::before { opacity: 1; }

/* === Scale-zoom effect when entering slide === */
.start-slide.is-active .start-slide-content {
  animation: start-content-zoom 0.7s cubic-bezier(.2,.85,.25,1);
}
@keyframes start-content-zoom {
  from { transform: scale(0.97); opacity: 0.6; }
  to   { transform: scale(1); opacity: 1; }
}

/* === Premium bg-floating particles на slide 1 === */
.start-slide-bg-1::before,
.start-slide-bg-1::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.4;
  pointer-events: none;
}
.start-slide-bg-1::before {
  width: 320px; height: 320px;
  background: radial-gradient(circle, #FFCC00, transparent 70%);
  top: 10%; left: 10%;
  animation: start-orb-1 14s ease-in-out infinite;
}
.start-slide-bg-1::after {
  width: 280px; height: 280px;
  background: radial-gradient(circle, #F97316, transparent 70%);
  bottom: 15%; right: 12%;
  animation: start-orb-2 16s ease-in-out infinite;
}
@keyframes start-orb-1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, -30px); }
}
@keyframes start-orb-2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-50px, 40px); }
}

/* Slide 2 — purple orbs */
.start-slide-bg-2::before, .start-slide-bg-2::after {
  content: ''; position: absolute; border-radius: 50%;
  filter: blur(50px); opacity: 0.35; pointer-events: none;
}
.start-slide-bg-2::before {
  width: 360px; height: 360px;
  background: radial-gradient(circle, #8B5CF6, transparent 70%);
  top: 5%; right: -10%;
  animation: start-orb-1 15s ease-in-out infinite;
}
.start-slide-bg-2::after {
  width: 240px; height: 240px;
  background: radial-gradient(circle, #FFCC00, transparent 70%);
  bottom: 10%; left: -5%;
  animation: start-orb-2 12s ease-in-out infinite;
}

/* Slide 3 — blue orbs */
.start-slide-bg-3::before, .start-slide-bg-3::after {
  content: ''; position: absolute; border-radius: 50%;
  filter: blur(45px); opacity: 0.35; pointer-events: none;
}
.start-slide-bg-3::before {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #3B82F6, transparent 70%);
  bottom: -10%; left: 20%;
  animation: start-orb-2 13s ease-in-out infinite;
}
.start-slide-bg-3::after {
  width: 280px; height: 280px;
  background: radial-gradient(circle, #14B8A6, transparent 70%);
  top: 5%; right: 5%;
  animation: start-orb-1 17s ease-in-out infinite;
}

/* Slide 4 — orange/red orbs */
.start-slide-bg-4::before, .start-slide-bg-4::after {
  content: ''; position: absolute; border-radius: 50%;
  filter: blur(50px); opacity: 0.4; pointer-events: none;
}
.start-slide-bg-4::before {
  width: 340px; height: 340px;
  background: radial-gradient(circle, #FF6B35, transparent 70%);
  top: 8%; left: -10%;
  animation: start-orb-1 16s ease-in-out infinite;
}
.start-slide-bg-4::after {
  width: 260px; height: 260px;
  background: radial-gradient(circle, #FFCC00, transparent 70%);
  bottom: 5%; right: 5%;
  animation: start-orb-2 14s ease-in-out infinite;
}

/* Slide 5 — golden glow centered */
.start-slide-bg-5::before {
  content: ''; position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.5; pointer-events: none;
  width: 500px; height: 500px;
  background: radial-gradient(circle, #FFCC00, transparent 60%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  animation: start-pulse-glow 4s ease-in-out infinite;
}
@keyframes start-pulse-glow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.7; }
}

/* === CTA premium polish — субтильное свечение === */
.start-cta {
  position: relative;
  overflow: hidden;
}
.start-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  pointer-events: none;
}
.start-cta:hover::before, .start-cta:active::before {
  width: 320px; height: 320px;
}
.start-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 24px 50px rgba(245,158,11,0.55);
}
.start-cta:active {
  transform: translateY(-1px) scale(0.98);
  transition: transform 0.1s;
}

/* Demo tile premium */
.start-demo-tile {
  background: linear-gradient(135deg, rgba(255,107,53,0.18), rgba(255,204,0,0.14));
  border-color: rgba(255,107,53,0.5);
  position: relative;
  overflow: hidden;
}
.start-demo-tile::after {
  content: '';
  position: absolute;
  top: -50%; right: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 70%, rgba(255,204,0,0.18), transparent 50%);
  pointer-events: none;
  animation: start-demo-shimmer 6s linear infinite;
}
@keyframes start-demo-shimmer {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-10%, -5%) rotate(45deg); }
}

/* Telegram card — pulse received */
.start-tg-card {
  position: relative;
}
.start-slide-3.is-active .start-tg-card {
  animation: start-tg-pulse 0.7s cubic-bezier(.2,.85,.25,1);
}
@keyframes start-tg-pulse {
  0% { transform: scale(0.9); opacity: 0; }
  60% { transform: scale(1.04); opacity: 1; }
  100% { transform: scale(1); }
}
.start-tg-card-avatar {
  animation: start-tg-bell 1.4s ease-in-out 0.6s infinite;
  transform-origin: top center;
}
@keyframes start-tg-bell {
  0%, 50%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(-12deg); }
  20% { transform: rotate(8deg); }
  30% { transform: rotate(-6deg); }
  40% { transform: rotate(3deg); }
}

/* Final stats — count-up vibe */
.start-final-stat strong {
  background: linear-gradient(135deg, #FFCC00 0%, #F59E0B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: 1.8rem;
  letter-spacing: -0.5px;
}
.start-final-stat:nth-child(3) strong { font-size: 1rem; }

@media (max-width: 540px) {
  .start-final-stat strong { font-size: 1.4rem; }
  .start-final-stat:nth-child(3) strong { font-size: 0.85rem; }
  .start-tg-card { max-width: 320px; }
}
/* === App Store / Google Play CTA === */
.app-cta {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-areas:
    "icon body"
    "buttons buttons";
  gap: 14px 14px;
  margin: 22px auto;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(255,204,0,0.08) 0%, rgba(245,158,11,0.06) 100%);
  border: 1px solid rgba(255, 204, 0, 0.24);
  border-radius: 18px;
  max-width: 540px;
}
[data-theme="light"] .app-cta { background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%); border-color: #FDE68A; }
[data-theme="dark"] .app-cta  { background: linear-gradient(135deg, rgba(255,107,53,0.10) 0%, rgba(255,107,53,0.04) 100%); border-color: rgba(255,107,53,0.3); }

.app-cta-icon {
  grid-area: icon;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #FFCC00, #F59E0B);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
[data-theme="dark"] .app-cta-icon { background: linear-gradient(135deg, var(--orange), var(--orange-2)); }

.app-cta-body {
  grid-area: body;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.app-cta-body strong { font-size: 0.92rem; font-weight: 800; color: var(--text); }
.app-cta-body small { font-size: 0.75rem; color: var(--text-2); line-height: 1.4; }

.app-cta-buttons {
  grid-area: buttons;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.app-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #111827;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  transition: 0.18s;
  position: relative;
  overflow: hidden;
}
.app-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.25);
}

.app-cta-btn svg { flex-shrink: 0; opacity: 0.95; }
.app-cta-btn-sub {
  font-size: 0.65rem;
  opacity: 0.65;
  margin-bottom: -3px;
  font-weight: 500;
  display: block;
}
.app-cta-btn-name {
  font-size: 0.92rem;
  font-weight: 800;
  display: block;
}
.app-cta-btn > span:first-of-type {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

@media (max-width: 540px) {
  .app-cta { padding: 14px 16px; gap: 10px; }
  .app-cta-body strong { font-size: 0.85rem; }
  .app-cta-body small { font-size: 0.7rem; }
  .app-cta-btn { padding: 9px 10px; gap: 6px; }
  .app-cta-btn-name { font-size: 0.82rem; }
  .app-cta-btn-sub { font-size: 0.6rem; }
}

/* === App pop-up (smart banner на iOS / Android) === */
.app-popup {
  position: fixed;
  top: 12px; left: 12px; right: 12px;
  max-width: 460px; margin: 0 auto;
  z-index: 99996;
  background: #fff;
  color: #111827;
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
  border: 1px solid #E5E7EB;
  transform: translateY(-150%);
  transition: transform .45s cubic-bezier(.2,.8,.3,1);
}
.app-popup.is-visible { transform: translateY(0); }
.app-popup-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #FFCC00, #F59E0B);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.app-popup-body { flex: 1; min-width: 0; }
.app-popup-body strong { display: block; font-size: 0.9rem; font-weight: 800; }
.app-popup-body small { display: block; font-size: 0.75rem; color: #6B7280; }
.app-popup-yes {
  padding: 8px 14px;
  background: #FFCC00;
  color: #111;
  border: 0;
  border-radius: 9px;
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}
.app-popup-no {
  width: 30px; height: 30px;
  background: #F3F4F6;
  border: 0;
  color: #374151;
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 1rem;
}

/* === Premium swipe controls (внизу анимационного лендинга) === */
.start-swipe-ctrl {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 100px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  animation: start-swipe-fade-in 0.6s ease-out 0.4s backwards;
}
@keyframes start-swipe-fade-in {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.start-swipe-btn {
  width: 36px; height: 36px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.18s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.start-swipe-btn:hover:not(:disabled) {
  background: rgba(255, 204, 0, 0.18);
  color: #FFCC00;
}
.start-swipe-btn:active:not(:disabled) { transform: scale(0.92); }
.start-swipe-btn:disabled { opacity: 0.25; cursor: not-allowed; }

.start-swipe-counter {
  padding: 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.4px;
  user-select: none;
}
.start-swipe-counter b { color: #FFCC00; font-weight: 800; }

/* Скрыть старые arrow-up/down если они были */
.start-arrow { display: none !important; }

/* На самом первом заходе — большая анимированная подсказка */
.start-swipe-tooltip {
  position: fixed;
  bottom: 78px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 89;
  padding: 10px 16px 10px 36px;
  background: linear-gradient(135deg, #FFCC00 0%, #F59E0B 100%);
  color: #111;
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: 100px;
  box-shadow: 0 14px 32px rgba(245, 158, 11, 0.5);
  letter-spacing: 0.3px;
  white-space: nowrap;
  animation: start-tooltip-pop 0.5s cubic-bezier(.2,.85,.25,1) 1s backwards, start-tooltip-bounce 1.6s ease-in-out 1.5s infinite;
  pointer-events: none;
}
.start-swipe-tooltip::before {
  content: "↑";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  font-weight: 900;
}
.start-swipe-tooltip::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: linear-gradient(135deg, #F59E0B, #FFCC00);
}
@keyframes start-tooltip-pop {
  from { opacity: 0; transform: translateX(-50%) translateY(20px) scale(0.85); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}
@keyframes start-tooltip-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-8px); }
}
.start-swipe-tooltip.is-hidden {
  animation: start-tooltip-out 0.35s forwards;
  pointer-events: none;
}
@keyframes start-tooltip-out {
  to { opacity: 0; transform: translateX(-50%) translateY(20px) scale(0.85); }
}

/* iPhone safe-area */
@supports (padding: env(safe-area-inset-bottom)) {
  .start-swipe-ctrl { bottom: calc(18px + env(safe-area-inset-bottom)); }
  .start-swipe-tooltip { bottom: calc(78px + env(safe-area-inset-bottom)); }
}

@media (max-width: 540px) {
  .start-swipe-tooltip { font-size: 0.72rem; padding: 9px 14px 9px 32px; }
  .start-swipe-counter { font-size: 0.74rem; padding: 0 8px; }
}

