/* ═══════════════════════════════════════════════════════
   Вжух Landing — style.css v2
   Marketing-optimized with template gallery, pain points,
   social proof, animated counters
   ═══════════════════════════════════════════════════════ */

:root {
  --primary-text-color: #18181b;
  --brand-color: #6366f1;
  --header-safe-offset: clamp(64px, 11vw, 82px);
  --nav-dot-inactive-color: rgba(0, 0, 0, 0.3);
  --nav-dot-active-color: #6366f1;
  --animation-duration-fast: 50ms;
  --animation-duration-medium: 300ms;
  --animation-duration-slow: 500ms;
  --animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  overscroll-behavior: none;
  background: #e0e7ff;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--primary-text-color);
  -webkit-font-smoothing: antialiased;
}

/* ── Animated gradient background ──── */
#gradient-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(45deg, #e0e7ff, #ddeaf6, #f0f0ff, #faf5ff);
  background-size: 220% 220%;
  animation: gradient-animation 10s ease infinite;
}
@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ── Utilities ──── */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.no-underline {
  text-decoration: none;
}

/* ── Preloader ──── */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #eef2ff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition:
    opacity 0.4s ease-out,
    visibility 0.4s ease-out;
  visibility: visible;
}
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(0, 0, 0, 0.1);
  border-top-color: var(--brand-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── Slide Container ──── */
#slide-container {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow-y: scroll;
  touch-action: pan-y;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
#slide-container::-webkit-scrollbar {
  display: none;
}

.slide {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 1rem;
  box-sizing: border-box;
  scroll-snap-align: start;
}
@media (min-width: 640px) {
  .slide {
    padding: 2rem;
  }
}

/* ── Scroll-scale animation ──── */
.slide .content-wrapper {
  transform-origin: center;
  will-change: transform;
}

/* ── Side navigation ──── */
#slide-nav {
  position: fixed;
  top: 50%;
  left: 2rem;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 10;
}
.nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: var(--nav-dot-inactive-color);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-dot.active {
  background-color: var(--nav-dot-active-color);
  height: 32px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ── Top navigation ──── */
header > nav {
  background-color: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.top-brand-icon {
  border-radius: 0.95rem;
  overflow: hidden;
  background: #eef2ff;
  border: 1px solid rgba(255, 255, 255, 0.75);
}
.top-nav-link {
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  transition:
    color var(--animation-duration-medium),
    background-color var(--animation-duration-medium),
    box-shadow var(--animation-duration-medium);
  font-weight: 500;
}
.top-nav-link.active {
  background-color: white;
  color: var(--primary-text-color);
  font-weight: 600;
  box-shadow:
    0 4px 10px -1px rgb(0 0 0 / 0.07),
    0 2px 6px -2px rgb(0 0 0 / 0.07);
}

.top-nav-menu-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.top-nav-menu-container::-webkit-scrollbar {
  display: none;
}
.top-nav-menu-container .top-nav-link {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── CTA nav button pulse ──── */
.cta-nav-btn {
  animation: cta-pulse 2s ease-in-out infinite;
}
@keyframes cta-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(99, 102, 241, 0);
  }
}

/* ── Fade in down animation ──── */
@keyframes fade-in-down {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fade-in-down {
  animation: fade-in-down 0.8s ease-out forwards;
}

/* ═══════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════ */

.hero-highlight {
  position: relative;
  color: #ef4444;
  text-decoration: line-through;
  text-decoration-color: #ef4444;
  text-decoration-thickness: 3px;
}

.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.2;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}
.hero-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.5);
}
@media (max-width: 640px) {
  .hero-cta-primary {
    font-size: 0.9rem;
    padding: 0.72rem 1.05rem;
    max-width: 92vw;
    white-space: normal;
  }
}

.hero-proof-badge {
  max-width: min(100%, 380px);
}

.hero-proof-text {
  white-space: nowrap;
}

.hero-subtitle {
  max-width: 38rem;
}

.template-heading-count {
  white-space: nowrap;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.8125rem;
  font-weight: 500;
  color: #374151;
}

/* ═══════════════════════════════════════════════════════
   TEMPLATE TICKER (Hero бегущая строка)
   ═══════════════════════════════════════════════════════ */

.template-ticker-wrapper {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.template-ticker {
  display: flex;
  gap: 12px;
  animation: ticker-scroll 30s linear infinite;
  width: max-content;
}

.template-ticker:hover {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.ticker-card {
  flex-shrink: 0;
  width: 140px;
  height: 100px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.ticker-card:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.ticker-card-title {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticker-card-text {
  font-size: 8px;
  line-height: 1.3;
  text-align: center;
  margin-top: 4px;
  opacity: 0.7;
}

.ticker-card-label {
  position: absolute;
  bottom: 6px;
  font-size: 7px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.5;
}

/* ═══════════════════════════════════════════════════════
   TEMPLATE GALLERY (Section 3)
   ═══════════════════════════════════════════════════════ */

.template-gallery-wrapper {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 5%,
    black 95%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 5%,
    black 95%,
    transparent
  );
}

.template-gallery-track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
}

.template-gallery-track[data-direction="left"] {
  animation: gallery-scroll-left 40s linear infinite;
}
.template-gallery-track[data-direction="right"] {
  animation: gallery-scroll-right 40s linear infinite;
}

.template-gallery-track:hover {
  animation-play-state: paused;
}

@keyframes gallery-scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes gallery-scroll-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.gallery-card {
  flex-shrink: 0;
  width: 180px;
  height: 225px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.gallery-card:hover {
  transform: scale(1.05) translateY(-4px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
}

.gallery-card-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.gallery-card-text {
  font-size: 9px;
  line-height: 1.4;
  text-align: center;
  margin-top: 8px;
  opacity: 0.7;
}

.gallery-card-name {
  position: absolute;
  bottom: 10px;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.5;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.1);
}

@media (max-width: 640px) {
  .gallery-card {
    width: 140px;
    height: 175px;
    padding: 12px 10px;
  }
  .gallery-card-title {
    font-size: 12px;
  }
  .gallery-card-text {
    font-size: 8px;
  }
  .ticker-card {
    width: 120px;
    height: 85px;
  }
}

/* ═══════════════════════════════════════════════════════
   PAIN SECTION
   ═══════════════════════════════════════════════════════ */

.pain-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 1.25rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}
.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}
.pain-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: rgba(99, 102, 241, 0.08);
  margin: 0 auto 0.75rem;
}
.pain-emoji {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.solution-bridge {
  text-align: center;
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.05),
    rgba(99, 102, 241, 0.1)
  );
  border: 1px dashed rgba(99, 102, 241, 0.3);
}
.solution-arrow {
  font-size: 1.5rem;
  color: var(--brand-color);
  margin-bottom: 0.5rem;
  animation: bounce-down 1.5s ease-in-out infinite;
}
@keyframes bounce-down {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

.pain-swiper {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* ═══════════════════════════════════════════════════════
   SOCIAL PROOF — STATS & TESTIMONIALS
   ═══════════════════════════════════════════════════════ */

.stat-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 1rem;
  padding: 1.25rem 1rem;
  text-align: center;
}
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-color);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-label {
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 500;
}
@media (min-width: 640px) {
  .stat-number {
    font-size: 2.5rem;
  }
  .stat-label {
    font-size: 0.875rem;
  }
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-swiper {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* ═══════════════════════════════════════════════════════
   DEMO CAROUSEL
   ═══════════════════════════════════════════════════════ */

.demo-carousel-container {
  overflow: visible;
}
.demo-slides-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 2rem;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-x pan-y;
  scrollbar-width: none;
}
.demo-slide-card {
  flex-shrink: 0;
  width: 280px;
  border-radius: 1rem;
  overflow: hidden;
  scroll-snap-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.demo-slide-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.18);
}
.demo-slide-card img {
  width: 100%;
  height: auto;
  display: block;
}

.demo-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: var(--nav-dot-inactive-color);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}
.demo-dots .dot.active {
  background-color: var(--brand-color);
  width: 24px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* ═══════════════════════════════════════════════════════
   STEPS (Как работает)
   ═══════════════════════════════════════════════════════ */

.step-card {
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}
@media (min-width: 768px) {
  .step-card {
    padding: 2rem;
    border-radius: 1.5rem;
  }
}
.step-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.step-card:nth-child(2) {
  transition-delay: 0.15s;
}
.step-card:nth-child(3) {
  transition-delay: 0.3s;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-color);
  opacity: 0.2;
  margin-bottom: 0.5rem;
  line-height: 1;
}
@media (min-width: 768px) {
  .step-number {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }
}

.steps-swiper {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* ═══════════════════════════════════════════════════════
   PHONE MOCKUP
   ═══════════════════════════════════════════════════════ */

.phone-mockup {
  position: relative;
  width: 240px;
  height: 490px;
  background: #1a1a1a;
  border-radius: 38px;
  padding: 10px;
  box-shadow:
    0 0 0 2px #333,
    0 0 0 4px #1a1a1a,
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(99, 102, 241, 0.1);
  touch-action: pan-y;
}
.phone-mockup.phone-mockup-lg {
  width: 56vw;
  max-width: 280px;
  height: auto;
  aspect-ratio: 9 / 19.2;
  padding: 2.5vw;
  border-radius: 10vw;
}
@media (min-width: 400px) {
  .phone-mockup.phone-mockup-lg {
    max-width: 300px;
    border-radius: 42px;
    padding: 11px;
  }
}
@media (min-width: 640px) {
  .phone-mockup {
    width: 260px;
    height: 530px;
    padding: 12px;
    border-radius: 42px;
  }
  .phone-mockup.phone-mockup-lg {
    max-width: 320px;
  }
}
@media (min-width: 768px) {
  .phone-mockup {
    width: 320px;
    height: 650px;
    padding: 16px;
    border-radius: 52px;
  }
}
.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #1a1a1a;
  border-radius: 0 0 14px 14px;
  z-index: 10;
}
.phone-mockup-lg .phone-notch {
  top: 2.5vw;
  width: 18vw;
  max-width: 80px;
  height: 5vw;
  max-height: 24px;
}
@media (min-width: 400px) {
  .phone-mockup-lg .phone-notch {
    top: 11px;
    width: 80px;
    height: 24px;
  }
}
@media (min-width: 640px) {
  .phone-notch {
    top: 12px;
    width: 90px;
    height: 26px;
  }
}
@media (min-width: 768px) {
  .phone-notch {
    top: 16px;
    width: 120px;
    height: 32px;
  }
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  position: relative;
}
@media (min-width: 640px) {
  .phone-screen {
    border-radius: 32px;
  }
}
@media (min-width: 768px) {
  .phone-screen {
    border-radius: 36px;
  }
}

.phone-carousel {
  width: 100%;
  height: 100%;
  position: relative;
}
.phone-carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(40px);
  pointer-events: none;
}
.phone-carousel-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.phone-carousel-slide.slide-out-left {
  opacity: 0;
  transform: translateX(-40px);
}
.phone-carousel-slide.slide-out-right {
  opacity: 0;
  transform: translateX(40px);
}

.phone-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: var(--nav-dot-inactive-color);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}
.phone-dot.active {
  background-color: var(--brand-color);
  width: 24px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* ═══════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════ */

.cta-card {
  position: relative;
  background: linear-gradient(135deg, #312e81, #4338ca, #6366f1);
  padding: 3rem 2rem;
  border-radius: 2rem;
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
  max-width: 56rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta-card {
    padding: 4rem 3rem;
  }
}

.cta-template-bg {
  position: absolute;
  inset: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  opacity: 0.06;
  pointer-events: none;
  overflow: hidden;
}

.cta-btn-final {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  background: white;
  color: var(--brand-color);
  font-weight: 700;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}
.cta-btn-final:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  background: #f0f0ff;
}

/* ═══════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════ */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.pricing-card {
  position: relative;
  min-height: 215px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 1.05rem;
  padding: 1.35rem;
  box-shadow: 0 14px 36px rgba(79, 70, 229, 0.08);
}

.pricing-card--pro {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 243, 255, 0.92));
  border-color: rgba(99, 102, 241, 0.46);
  box-shadow: 0 18px 48px rgba(99, 102, 241, 0.18);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  right: 16px;
  font-size: 0.68rem;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  border-radius: 999px;
  padding: 0.34rem 0.7rem;
  box-shadow: 0 10px 22px rgba(79, 70, 229, 0.24);
}

.pricing-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pricing-price-group {
  display: grid;
  justify-items: end;
  gap: 0.18rem;
  text-align: right;
}

.pricing-sale-ribbon {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  margin-bottom: 0.72rem;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.pricing-old-price {
  color: #94a3b8;
  font-size: 0.86em;
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.pricing-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: 0;
}

.pricing-subtitle {
  max-width: 12rem;
  margin-top: 0.32rem;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
}

.pricing-price {
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 0.95;
  color: #4f46e5;
  white-space: nowrap;
}

.pricing-price--free {
  font-size: 1.45rem;
}

.pricing-price span {
  font-size: 0.75rem;
  font-weight: 700;
  color: #6b7280;
  margin-left: 0.12rem;
}

.pricing-renewal {
  color: #6b7280;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.52rem;
}

.pricing-features li {
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.35;
  position: relative;
  padding-left: 1rem;
}

.pricing-features li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #6366f1;
  font-weight: 800;
}

.pricing-features li.pricing-muted {
  color: #9ca3af;
}

.pricing-features li.pricing-muted::before {
  color: #cbd5e1;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */

/* ── Showcase (визуальные карусели, разлетающиеся карточки) ── */
.showcase-square {
  position: absolute;
  top: 50%;
  left: 50%;
  will-change: transform, opacity;
  cursor: pointer;
  z-index: 10;
}

#showcase-title {
  z-index: 30;
  pointer-events: none;
  padding-inline: 1rem;
}
.showcase-square .showcase-img-wrapper {
  width: 10rem;
  height: 10rem;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.3s ease;
}
.showcase-square:hover .showcase-img-wrapper {
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.25);
}
.showcase-square .showcase-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (min-width: 768px) {
  .showcase-square .showcase-img-wrapper {
    width: 12rem;
    height: 12rem;
  }
}
#showcase-scroll-container {
  -webkit-overflow-scrolling: touch;
  scroll-padding: 0 1rem;
  scroll-snap-type: x mandatory;
  overscroll-behavior: contain;
  touch-action: pan-x pan-y;
  scrollbar-width: none;
}
#showcase-scroll-container::-webkit-scrollbar {
  display: none;
}
.showcase-mobile-card {
  flex-shrink: 0;
  width: 64vw;
  max-width: 280px;
  scroll-snap-align: center;
}
.showcase-mobile-card .showcase-mobile-img {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
}
.showcase-mobile-card .showcase-mobile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#showcase-nav .showcase-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: var(--nav-dot-inactive-color);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}
#showcase-nav .showcase-dot.active {
  background-color: var(--brand-color);
  width: 24px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

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

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  #slide-nav {
    display: none;
  }
  .nav-dot {
    width: 6px;
    height: 6px;
  }
  .nav-dot.active {
    height: 24px;
  }
  .slide {
    min-height: 100dvh;
    height: 100dvh;
    justify-content: center;
    padding: calc(var(--header-safe-offset) - 0.2rem) 0.65rem 0.65rem;
  }

  .slide .content-wrapper {
    width: 100%;
    max-height: none;
    overflow: visible;
  }

  #pricing .content-wrapper {
    max-height: calc(100dvh - var(--header-safe-offset) - 0.8rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
  }

  #pricing .content-wrapper::-webkit-scrollbar {
    display: none;
  }

  #home .content-wrapper {
    padding-top: 0.15rem !important;
  }

  header {
    padding: 0.35rem 0.5rem !important;
  }

  header > nav {
    padding: 0.3rem !important;
    border-radius: 0.95rem;
  }

  .cta-nav-btn {
    padding: 0.58rem 0.78rem !important;
    font-size: 0.78rem;
  }

  .hero-proof-badge {
    padding: 0.38rem 0.55rem;
    margin-bottom: 0.9rem;
  }

  .hero-proof-text {
    font-size: 0.74rem;
    line-height: 1.15;
    white-space: normal;
    text-align: left;
  }

  .hero-subtitle {
    font-size: 0.94rem;
    line-height: 1.38;
    margin-bottom: 0.95rem;
    max-width: 92%;
  }

  .template-heading {
    font-size: 1.2rem;
    line-height: 1.2;
  }

  .pricing-grid {
    gap: 0.68rem;
  }

  .pricing-card {
    min-height: auto;
    padding: 1rem 0.95rem;
    border-radius: 1rem;
  }

  .pricing-title {
    font-size: 0.92rem;
  }

  .pricing-price {
    font-size: 1.38rem;
  }

  .pricing-price--free {
    font-size: 1.18rem;
  }

  .pricing-subtitle,
  .pricing-renewal {
    font-size: 0.72rem;
  }

  .pricing-sale-ribbon {
    margin-bottom: 0.58rem;
    font-size: 0.62rem;
    padding: 0.28rem 0.52rem;
  }

  .pricing-features {
    gap: 0.3rem;
  }

  .pricing-features li {
    font-size: 0.79rem;
    line-height: 1.18;
    padding-left: 0.78rem;
  }

  .pricing-badge {
    top: -8px;
    right: 10px;
    font-size: 10px;
    padding: 3px 8px;
  }

  .pricing-cta {
    font-size: 0.9rem;
    padding: 0.72rem 1.05rem;
  }

  .top-nav-menu-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-grow: 1;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .top-nav-menu-container::-webkit-scrollbar {
    display: none;
  }
  .top-nav-menu-container .top-nav-link {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .demo-slide-card {
    width: 220px;
  }
}

@media (min-width: 768px) {
  .top-nav-menu-container {
    display: flex;
    position: static;
    flex-direction: row;
    background-color: transparent;
    border-radius: 1.25rem;
    padding: 0.25rem;
    gap: 0.25rem;
    overflow-x: auto;
    overflow-y: hidden;
  }
}

@media (max-width: 480px) {
  :root {
    --header-safe-offset: clamp(60px, 14vw, 74px);
  }

  .demo-slide-card {
    width: 180px;
  }
  .top-nav-link {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
  }

  .hero-proof-badge {
    max-width: 96%;
  }

  .hero-subtitle {
    font-size: 0.88rem;
    line-height: 1.32;
    margin-bottom: 0.8rem;
  }

  .template-heading {
    font-size: 1.1rem;
  }

  #pricing h2 {
    font-size: 1.32rem;
    line-height: 1.15;
  }

  #pricing .content-wrapper {
    padding-top: 0.2rem;
  }
}
