/* ========================================
   🎨 RESHАI - PARENT LANDING PAGE
   Mobile-First Responsive Design
   ======================================== */

/* === RESET & BASE === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-primary);
  background: var(--color-bg-darker);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
  height: 100dvh;
}

/* Scroll Wrapper - отдельный контейнер для скролла */
.scroll-wrapper {
  height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Все основные секции - snap targets */
.hero,
.problems,
.solution,
.how-it-works,
.statistics,
.testimonials,
.audience,
.pricing,
.cta-final {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

:root {
  /* Colors */
  --color-primary: #a78bfa;
  --color-secondary: #06b6d4;
  --color-accent: #10b981;
  --color-purple: #8b5cf6;
  --color-cyan: #06b6d4;
  --color-pink: #ec4899;

  /* Dark Theme */
  --color-bg-dark: #0f0f1e;
  --color-bg-darker: #070712;
  --color-surface: #1a1a2e;
  --color-surface-light: #252540;

  /* Text */
  --color-text-primary: #f8fafc;
  --color-text-secondary: #cbd5e1;
  --color-text-muted: #94a3b8;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
  --gradient-secondary: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  --gradient-accent: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-neon: 0 0 20px rgba(139, 92, 246, 0.5);
  --shadow-glow: 0 4px 30px rgba(139, 92, 246, 0.4);

  /* Spacing - Mobile first */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 3rem;
  --spacing-xl: 3rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 50px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: rgba(139, 92, 246, 0.3);
}

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

/* === TYPOGRAPHY === */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  background: rgba(139, 92, 246, 0.1);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--spacing-sm);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 52px;
  text-align: center;
  width: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 40px rgba(139, 92, 246, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-icon {
  font-size: 1.125rem;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
}

.btn-hero {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1.0625rem;
  margin: 0.4rem 0;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--spacing-lg) 0 var(--spacing-md);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  animation: float 20s infinite ease-in-out;
}

.orb-1 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
  top: -5%;
  left: -10%;
}

.orb-2 {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
  top: 40%;
  right: -5%;
  animation-delay: 7s;
}

.orb-3 {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, #10b981 0%, transparent 70%);
  bottom: 10%;
  left: 10%;
  animation-delay: 14s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(20px, -20px) scale(1.05);
  }
  50% {
    transform: translate(-15px, 15px) scale(0.95);
  }
  75% {
    transform: translate(15px, 10px) scale(1.02);
  }
}

.hero > .container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: var(--spacing-md);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero-text {
  text-align: center;
  animation: fadeInUp 0.8s ease-out;
  width: 100%;
}

/* Hero CTA - мобильная версия прижата к низу */
.hero-cta-wrapper--mobile {
  position: absolute;
  bottom: var(--spacing-xs);
  left: 0;
  right: 0;
  padding: 0 var(--spacing-sm);
  z-index: 10;
}

/* Десктопная inline версия - скрыта на мобильных */
.hero-cta-wrapper--inline {
  display: none;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 0.375rem 0.75rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}

.hero-title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--spacing-sm);
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-md);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* Hero Demo - Анимированный чат в стиле reshAi-web */
.hero-demo {
  width: 100%;
  max-width: 340px;
  margin: var(--spacing-sm) auto;
  margin-top: 0;
  padding: var(--spacing-sm);
  background: rgba(15, 15, 30, 0.9);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(139, 92, 246, 0.15);
  backdrop-filter: blur(10px);
  box-shadow:
    0 0 20px rgba(139, 92, 246, 0.08),
    0 0 40px rgba(139, 92, 246, 0.05);
  overflow-y: auto;
  /* Адаптивная высота: не более 35% экрана на мобильных */
  max-height: min(300px, 35dvh);
}

.chat-demo {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chat-message {
  display: flex;
  opacity: 0;
  transform: translateY(10px);
  animation: chatFadeIn 0.4s ease-out forwards;
  animation-delay: var(--delay, 0s);
}

.chat-message--user {
  justify-content: flex-end;
}

.chat-message--bot {
  justify-content: flex-start;
}

/* Typing indicator скрывается после появления следующего сообщения */
.chat-message--typing {
  animation:
    chatFadeIn 0.4s ease-out forwards,
    chatFadeOut 0.3s ease-out 1.6s forwards;
}

@keyframes chatFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes chatFadeOut {
  to {
    opacity: 0;
    height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
  }
}

.chat-bubble {
  max-width: 88%;
  padding: 0.5rem 0.875rem;
  border-radius: 12px;
  font-size: 0.8125rem;
  line-height: 1.4;
  word-wrap: break-word;
}

.chat-message--user .chat-bubble {
  background: linear-gradient(135deg, #6d28d9 0%, #0e7490 100%);
  color: #ffffff;
  border-bottom-right-radius: 0;
  box-shadow:
    0 0 20px rgba(139, 92, 246, 0.08),
    0 0 40px rgba(139, 92, 246, 0.08);
}

.chat-message--bot .chat-bubble {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-primary);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-bottom-left-radius: 0;
  backdrop-filter: blur(10px);
  box-shadow:
    0 0 20px rgba(139, 92, 246, 0.08),
    0 0 40px rgba(139, 92, 246, 0.08);
}

.chat-bubble strong {
  color: #a78bfa;
  font-weight: 600;
}

/* Success message */
.chat-message--success .chat-bubble {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
}

.chat-message--success .chat-bubble strong {
  color: #10b981;
}

/* Typing indicator */
.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 4px 0;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background: rgba(167, 139, 250, 0.6);
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.hero-cta {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero-subtext {
  margin-top: var(--spacing-xs);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-align: center;
}

.btn-telegram-hint {
  display: block;
  font-size: 0.6875rem;
  font-weight: 400;
  opacity: 0.8;
  margin-top: 2px;
}

/* Phone Mockup - скрыт на мобильных */
.hero-visual {
  display: none;
}

.phone-mockup {
  position: relative;
  filter: drop-shadow(0 20px 40px rgba(139, 92, 246, 0.25));
}

.phone-frame {
  background: linear-gradient(145deg, #1e1e30, #0a0a12);
  border-radius: 32px;
  padding: 5px;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.phone-screen {
  width: 200px;
  height: 400px;
  background: #0a0a12;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Scroll Indicator - скрыта на мобильных */
.scroll-indicator {
  display: none;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

/* ========================================
   PROBLEMS SECTION
   ======================================== */
.problems {
  height: 100dvh;
  padding: var(--spacing-lg) 0;
  background: var(--color-bg-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.problems > .container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  overflow-y: auto;
}

.problems-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-sm);
}

.problem-card {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.problem-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(139, 92, 246, 0.2);
}

.problem-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

.problem-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0.9);
}

.problem-text {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.problem-text strong {
  color: var(--color-text-primary);
  font-weight: 600;
}

.problems-cta {
  text-align: center;
  margin-top: var(--spacing-lg);
  font-size: 1rem;
  color: var(--color-text-secondary);
}

.problems-cta strong {
  color: var(--color-primary);
}

/* ========================================
   SOLUTION SECTION
   ======================================== */
.solution {
  height: 100dvh;
  padding: var(--spacing-lg) 0;
  background: var(--color-bg-darker);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.solution > .container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  overflow-y: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

.feature-card {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: rgba(139, 92, 246, 0.08);
  transform: translateY(-2px);
}

.feature-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
  color: var(--color-text-primary);
}

.feature-description {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
.how-it-works {
  height: 100dvh;
  padding: var(--spacing-lg) 0;
  background: var(--color-bg-dark);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.how-it-works > .container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.how-it-works .section-header {
  flex-shrink: 0;
  margin-bottom: 0;
}

.how-it-works .section-title {
  font-size: 1.5rem;
}

.steps {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--spacing-xl);
}

.step {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  box-shadow: var(--shadow-neon);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}

.step-description {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* ========================================
   STATISTICS SECTION
   ======================================== */
.statistics {
  height: 100dvh;
  padding: var(--spacing-lg) 0 0;
  background: var(--color-bg-darker);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.statistics > .container {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.statistics .section-header {
  margin-bottom: var(--spacing-md);
}

.statistics-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stats-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  text-align: left;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
}

.stat-check {
  color: var(--color-accent);
  font-size: 1.125rem;
  font-weight: bold;
}

.statistics-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
  margin-top: var(--spacing-md);
  min-height: 0;
}

.statistics-visual .phone-mockup {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.statistics-visual .phone-frame {
  border-radius: 28px 28px 0 0;
  padding: 4px 4px 0 4px;
  max-height: 100%;
  overflow: hidden;
}

.statistics-visual .phone-screen {
  width: 260px;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
}

.statistics-visual .phone-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
  height: 100dvh;
  padding: var(--spacing-lg) 0;
  background: var(--color-bg-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.testimonials > .container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  overflow-y: auto;
}

.testimonials-grid {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.testimonial-card {
  padding: var(--spacing-md);
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: var(--radius-lg);
  text-align: center;
}

.testimonial-stars {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: var(--spacing-md);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.author-name {
  font-weight: 600;
  color: var(--color-text-primary);
}

.author-desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ========================================
   AUDIENCE SECTION
   ======================================== */
.audience {
  height: 100dvh;
  padding: var(--spacing-lg) 0;
  background: var(--color-bg-darker);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.audience > .container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.audience .section-header {
  flex-shrink: 0;
  margin-bottom: 0;
}

.audience .section-title {
  font-size: 1.5rem;
}

.audience-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--spacing-md);
}

.audience-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-lg);
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.audience-item:hover {
  background: rgba(139, 92, 246, 0.12);
}

.audience-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
}

.audience-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.audience-text {
  font-size: 1rem;
  color: var(--color-text-primary);
  font-weight: 500;
  line-height: 1.4;
}

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing {
  height: 100dvh;
  padding: var(--spacing-md) 0;
  background: var(--color-bg-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.pricing > .container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pricing .section-header {
  margin-bottom: var(--spacing-sm);
}

.pricing .section-title {
  font-size: 1.375rem;
}

.pricing-comparison {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  max-width: 500px;
  margin: 0 auto;
}

.pricing-card {
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  position: relative;
}

.pricing-card--old {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.8;
}

.pricing-card--free {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.pricing-card--new {
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.15) 0%,
    rgba(6, 182, 212, 0.15) 100%
  );
  border: 2px solid rgba(139, 92, 246, 0.4);
}

.pricing-badge {
  position: absolute;
  top: -10px;
  right: var(--spacing-sm);
  background: var(--gradient-primary);
  color: white;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
}

.pricing-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
  margin-bottom: var(--spacing-xs);
}

.price-old {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.price-new {
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-free {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-accent);
}

.price-period {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}

.feature-item::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
}

.feature-item--positive::before {
  content: "✓";
  background: rgba(16, 185, 129, 0.2);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: bold;
}

.feature-item--negative::before {
  content: "✕";
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: bold;
}

.feature-item--neutral::before {
  content: "–";
  background: rgba(148, 163, 184, 0.2);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: bold;
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */
.cta-final {
  height: 100dvh;
  padding: var(--spacing-lg) 0;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.1) 0%,
    rgba(6, 182, 212, 0.1) 100%
  );
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.cta-final > .container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 0;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
}

.cta-description {
  font-size: 1rem;
  color: var(--color-text-secondary);
  margin-bottom: 0;
  line-height: 1.6;
}

/* CTA Free Block - бесплатные возможности */
.cta-free-block {
  margin-top: var(--spacing-lg);
  padding: var(--spacing-md);
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-lg);
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

.cta-free-badge {
  display: inline-block;
  background: var(--gradient-accent);
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--spacing-md);
}

.cta-free-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-sm);
}

.cta-free-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
  height: 4rem;
}

.cta-free-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.cta-free-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.cta-free-text {
  font-size: 0.8125rem;
  color: var(--color-text-primary);
  font-weight: 500;
  line-height: 1.3;
}

.cta-free-note {
  margin-top: var(--spacing-sm);
  font-size: 0.75rem;
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* CTA Buttons - внутри контейнера */
.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: var(--spacing-lg);
}

.cta-buttons .btn {
  width: 100%;
  max-width: 320px;
  margin: 0.4rem 0;
}

.cta-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.guarantee-icon {
  font-size: 1.25rem;
}

/* ========================================
   FOOTER - внутри последней snap-секции
   ======================================== */
.footer {
  padding: var(--spacing-sm) 0;
  background: transparent;
  text-align: center;
  flex-shrink: 0;
}

.footer-text {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ========================================
   SCROLL PROGRESS INDICATOR
   ======================================== */

/* Progress bar for mobile - fixed at top */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(139, 92, 246, 0.2);
  z-index: 1000;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gradient-primary);
  transition: width 0.15s ease-out;
}

/* Dots navigation for desktop - hidden on mobile */
.scroll-dots {
  display: none;
}

/* ========================================
   SMALL MOBILE FIX (высота < 700px)
   ======================================== */
@media (max-height: 700px) {
  /* Уменьшаем spacing */
  :root {
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
  }

  .section-header {
    margin-bottom: var(--spacing-md);
  }

  .section-label {
    font-size: 0.625rem;
    padding: 0.25rem 0.5rem;
    margin-bottom: 0.375rem;
  }

  .section-title {
    font-size: 1.375rem;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-description {
    font-size: 0.8125rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
  }

  .badge {
    font-size: 0.625rem;
    padding: 0.25rem 0.5rem;
  }

  /* Problem cards */
  .problem-card {
    padding: var(--spacing-sm);
  }

  .problem-icon {
    width: 36px;
    height: 36px;
  }

  .problem-text {
    font-size: 1.25rem;
  }

  /* Features */
  .feature-card {
    padding: var(--spacing-sm);
    gap: var(--spacing-sm);
  }

  .feature-icon {
    width: 40px;
    height: 40px;
  }

  .feature-title {
    font-size: 1.25rem;
  }

  .feature-description {
    font-size: 0.9rem;
  }

  /* Steps */
  .steps {
    gap: 3rem;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .step-title {
    font-size: 1.25rem;
  }

  .step-description {
    font-size: 0.9rem;
  }

  /* Stats */
  .stat-item {
    font-size: 1rem;
    gap: 0.5rem;
  }

  .stat-check {
    font-size: 1rem;
  }

  .phone-mockup--stats .phone-screen {
    width: 140px;
    height: 280px;
  }

  /* Testimonials */
  .testimonial-card {
    padding: var(--spacing-sm);
  }

  .testimonial-stars {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .testimonial-text {
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
  }

  /* Audience */
  .audience-item {
    padding: 0.75rem;
  }

  .audience-icon {
    width: 32px;
    height: 32px;
  }

  .audience-text {
    font-size: 1.25rem;
  }

  /* Pricing */
  .pricing-card {
    padding: var(--spacing-md);
  }

  .price-old {
    font-size: 1.5rem;
  }

  .price-new {
    font-size: 2rem;
  }

  .feature-item {
    font-size: 0.8125rem;
  }

  /* CTA */
  .cta-title {
    font-size: 1.375rem;
  }

  .cta-description {
    font-size: 0.875rem;
  }
}

/* ========================================
   TABLET BREAKPOINT (768px+)
   ======================================== */
@media (min-width: 768px) {
  :root {
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
  }

  .container {
    padding: 0 var(--spacing-md);
  }

  .section-title {
    font-size: 2.25rem;
  }

  /* Buttons */
  .btn {
    width: auto;
    min-width: 200px;
  }

  /* Hero */
  .hero {
    padding: var(--spacing-xl) 0;
  }

  .hero-content {
    gap: var(--spacing-lg);
  }

  .badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }

  .badge-dot {
    width: 8px;
    height: 8px;
  }

  .hero-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
  }

  .hero-description {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
  }

  .btn-hero {
    width: 75%;
    max-width: 400px;
    font-size: 1.25rem;
    padding: 1.125rem 2rem;
    margin: 0.4rem 0;
  }

  .hero-cta {
    width: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  /* Hero Demo - больше места на планшетах */
  .hero-demo {
    max-height: min(350px, 40dvh);
    padding: var(--spacing-md);
  }

  /* Phone - показываем на планшетах */
  .hero-visual {
    display: block;
    animation: fadeInUp 0.8s ease-out 0.2s both;
  }

  .phone-screen {
    width: 240px;
    height: 480px;
  }

  .phone-frame {
    border-radius: 36px;
    padding: 6px;
  }

  /* Scroll indicator */
  .scroll-indicator {
    display: flex;
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
    animation: bounce 2s infinite;
  }

  @keyframes bounce {
    0%,
    100% {
      transform: translateX(-50%) translateY(0);
    }
    50% {
      transform: translateX(-50%) translateY(10px);
    }
  }

  /* Problems */
  .problems-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }

  .problem-card {
    padding: var(--spacing-lg);
  }

  /* Features */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }

  /* Testimonials */
  .testimonials-grid {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .testimonial-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
  }

  /* Statistics */
  .statistics-content {
    flex-direction: row;
    justify-content: center;
  }

  .statistics-visual .phone-screen {
    width: 300px;
    max-height: 50dvh;
  }

  /* Pricing */
  .pricing-comparison {
    flex-direction: row;
    max-width: 900px;
  }

  .pricing-card {
    flex: 1;
  }

  /* CTA */
  .cta-title {
    font-size: 2.25rem;
  }

  .cta-buttons .btn {
    width: auto;
    min-width: 280px;
  }
}

/* ========================================
   DESKTOP BREAKPOINT (1024px+)
   ======================================== */
@media (min-width: 1024px) {
  :root {
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
  }

  /* Hide mobile progress bar on desktop */
  .scroll-progress {
    display: none;
  }

  /* Show dots navigation on desktop */
  .scroll-dots {
    display: flex;
    flex-direction: column;
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    gap: 12px;
    z-index: 1000;
  }

  .scroll-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.3);
    border: 2px solid rgba(139, 92, 246, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
  }

  .scroll-dot:hover {
    background: rgba(139, 92, 246, 0.5);
    transform: scale(1.2);
  }

  .scroll-dot.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.6);
  }

  /* Tooltip for dots */
  .scroll-dot::before {
    content: attr(data-label);
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-surface);
    color: var(--color-text-primary);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    border: 1px solid rgba(139, 92, 246, 0.3);
  }

  .scroll-dot:hover::before {
    opacity: 1;
  }

  .section-title {
    font-size: 2.75rem;
  }

  /* Hero */
  .hero {
    padding: 0;
  }

  .hero > .container {
    justify-content: center;
    padding-top: 0;
  }

  .hero-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-xl);
  }

  .hero-text {
    text-align: left;
    flex: 1;
    max-width: 620px;
  }

  .hero-title {
    font-size: 3.25rem;
  }

  .hero-description {
    margin-left: 0;
    margin-right: 0;
    max-width: 540px;
  }

  .hero-cta {
    max-width: none;
  }

  .hero-subtext {
    text-align: left;
  }

  /* Hero Demo на десктопе скрыт, показываем phone mockup */
  .hero-demo {
    display: none;
  }

  .hero-visual {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .phone-screen {
    width: 260px;
    height: 520px;
  }

  .phone-frame {
    border-radius: 40px;
    padding: 6px;
  }

  .phone-screen {
    border-radius: 34px;
  }

  .phone-mockup--stats .phone-screen {
    width: 260px;
    height: 520px;
  }

  /* Problems & Features */
  .problem-icon {
    width: 56px;
    height: 56px;
  }

  .problem-text {
    font-size: 1rem;
  }

  .feature-icon {
    width: 64px;
    height: 64px;
  }

  .feature-title {
    font-size: 1.25rem;
  }

  .feature-description {
    font-size: 0.9375rem;
  }

  /* Steps */
  .step-number {
    width: 56px;
    height: 56px;
    font-size: 1.75rem;
  }

  .step-title {
    font-size: 1.25rem;
  }

  /* CTA */
  .cta-title {
    font-size: 2.75rem;
  }

  .cta-description {
    font-size: 1.125rem;
  }

  /* Hero CTA - на десктопе показываем inline версию под текстом */
  .hero-cta-wrapper--mobile {
    display: none;
  }

  .hero-cta-wrapper--inline {
    display: block;
    position: static;
    padding: 0;
    margin-top: var(--spacing-lg);
  }

  .hero-cta {
    text-align: left;
    align-items: flex-start;
  }
}

/* ========================================
   LARGE DESKTOP (1280px+)
   ======================================== */
@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }

  .hero-text {
    max-width: 680px;
  }

  .hero-title {
    font-size: 3.75rem;
  }

  .hero-description {
    max-width: 580px;
  }

  .section-title {
    font-size: 3rem;
  }

  .phone-screen {
    width: 280px;
    height: 560px;
  }

  .phone-frame {
    border-radius: 44px;
    padding: 8px;
  }

  .phone-mockup--stats .phone-screen {
    width: 300px;
    height: 600px;
  }
}

/* ========================================
   PERFORMANCE & ACCESSIBILITY
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Hardware acceleration */
.feature-card,
.problem-card,
.testimonial-card,
.audience-item,
.pricing-card,
.btn,
.phone-mockup {
  will-change: transform;
  transform: translateZ(0);
}

/* Focus states for accessibility */
.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .btn-primary {
    border: 2px solid white;
  }

  .problem-card,
  .feature-card,
  .testimonial-card,
  .audience-item {
    border-width: 2px;
  }
}
