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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Onest', sans-serif;
  background: #0a0a1a;
  color: #e0e0f0;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* === Фоновое свечение === */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 25% 20%, rgba(139, 92, 246, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 55% at 75% 70%, rgba(219, 100, 180, 0.14) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(168, 85, 247, 0.10) 0%, transparent 60%);
  pointer-events: none;
  animation: glowShift 12s ease-in-out infinite alternate;
}

@keyframes glowShift {
  0%   { opacity: 1; filter: hue-rotate(0deg); }
  50%  { opacity: 0.85; filter: hue-rotate(-8deg); }
  100% { opacity: 1; filter: hue-rotate(6deg); }
}

/* === Частицы (фон) === */
#tsparticles {
  position: fixed;
  inset: 0;
  z-index: 1;
}

/* === Обёртка контента === */
.page-wrapper {
  position: relative;
  z-index: 2;
}

/* === Header === */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: 1280px;
  width: 100%;
  margin: 16px auto 0;
  background: rgba(15, 15, 35, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  border: 1px solid rgba(100, 140, 255, 0.12);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: #e0e0f0;
  transition: opacity 0.2s ease;
}
.logo:hover { opacity: 0.8; }

.logo-icon {
  width: 32px;
  height: 32px;
  background: #7C5CFC;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-icon svg { width: 18px; height: 18px; fill: #fff; }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: rgba(200, 210, 240, 0.65);
  transition: color 0.2s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #8aa4ff;
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}
.nav a:hover { color: #8aa4ff; }
.nav a:hover::after { transform: scaleX(1); }

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.link-contact {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: rgba(200, 210, 240, 0.65);
  transition: color 0.2s ease;
}
.link-contact::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #8aa4ff;
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}
.link-contact:hover { color: #8aa4ff; }
.link-contact:hover::after { transform: scaleX(1); }

.btn-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #5b7cfa, #8b5cf6);
  border: none;
  border-radius: 24px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(91, 124, 250, 0.35);
}
.btn-register:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(91, 124, 250, 0.5);
}

.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #8aa4ff;
  background: transparent;
  border: 1px solid rgba(138, 164, 255, 0.3);
  border-radius: 24px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn-login:hover {
  transform: translateY(-1px);
  background: rgba(138, 164, 255, 0.1);
  box-shadow: 0 4px 12px rgba(91, 124, 250, 0.2);
  color: #fff;
}

/* === Hero === */
.hero-screen {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px 0px;
}

.hero-badge {
  position: relative;
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border: none;
  border-radius: 100px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8aa4ff;
  background: rgba(10, 10, 26, 0.95);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease both;
  z-index: 0;
}

.hero-badge::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: inherit;
  background: conic-gradient(from var(--badge-angle, 0deg), #5b7cfa, #c084fc, #8b5cf6, #8aa4ff, #5b7cfa);
  z-index: -2;
  animation: badgeRotate 4s linear infinite;
}

.hero-badge::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: rgba(10, 10, 26, 0.93);
  z-index: -1;
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, #fff 0%, #8aa4ff 25%, #c084fc 50%, #8aa4ff 75%, #fff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  animation: fadeUp 0.8s 0.15s ease both, gradientFlow 6s ease-in-out infinite;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(200, 210, 240, 0.65);
  max-width: 720px;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s 0.3s ease both;
  min-height: 1.6em;
}

/* Typed-курсор */
.typing-cursor::after {
  content: '|';
  display: inline-block;
  color: #8aa4ff;
  font-weight: 300;
  animation: blink 0.7s step-end infinite;
  margin-left: 2px;
}

.typing-cursor--hidden::after {
  display: none;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

.btn-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  background: linear-gradient(135deg, #5b7cfa, #8b5cf6);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 24px rgba(91, 124, 250, 0.3);
  margin-bottom: 40px;
  animation: fadeUp 0.8s 0.45s ease both;
  overflow: hidden;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(91, 124, 250, 0.45);
}

/* Пульсирующий ореол CTA */
.btn-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.4), 0 0 60px rgba(91, 124, 250, 0.15);
  opacity: 0;
  animation: ctaGlow 3s 1.5s ease-in-out infinite;
  pointer-events: none;
}

/* Бегущий блик CTA */
.btn-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  animation: shimmer 4s 2s ease-in-out infinite;
  pointer-events: none;
}

/* === Группа кнопок hero === */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hero-actions .btn-cta {
  margin-bottom: 0;
}

.hero-actions .btn-pwa-install {
  margin-top: 0;
}

/* === Features row === */
.features-row {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.8s 0.6s ease both;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(200, 210, 240, 0.75);
  animation: checkPulse 2.5s ease-in-out infinite;
}

.feature-check {
  width: 18px;
  height: 18px;
  background: #22C55E;
  clip-path: polygon(
    50% 0%, 65.3% 13%, 85.4% 14.6%, 87% 34.7%,
    100% 50%, 87% 65.3%, 85.4% 85.4%, 65.3% 87%,
    50% 100%, 34.7% 87%, 14.6% 85.4%, 13% 65.3%,
    0% 50%, 13% 34.7%, 14.6% 14.6%, 34.7% 13%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-item:nth-child(2) { animation-delay: 0.4s; }
.feature-item:nth-child(3) { animation-delay: 0.8s; }

.feature-check svg {
  width: 9px;
  height: 9px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* === Info-блоки === */
.info-block {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 48px;
}
.info-block--reverse { flex-direction: row-reverse; }

.info-block__content {
  flex: 1;
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.info-block__title {
  font-size: 36px;
  font-weight: 700;
  color: #e0e0f0;
  line-height: 1.25;
  margin-bottom: 20px;
}

.info-block__text {
  font-size: 17px;
  font-weight: 400;
  color: rgba(200, 210, 240, 0.6);
  line-height: 1.7;
}

.info-block__image {
  flex: 1;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease 0.15s, transform 0.8s ease 0.15s;
  perspective: 800px;
}

.info-block__image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(100, 140, 255, 0.12);
  transition: transform 0.3s ease, box-shadow 0.8s ease 0.3s, border-color 0.8s ease 0.3s;
  will-change: transform;
}

/* Scroll Reveal: направления для reverse-блока */
.info-block--reverse .info-block__content { transform: translateX(60px); }
.info-block--reverse .info-block__image { transform: translateX(-60px); }

/* Scroll Reveal: видимое состояние */
.info-block.is-visible .info-block__content,
.info-block.is-visible .info-block__image {
  opacity: 1;
  transform: translateX(0);
}

/* Glow-свечение картинок при появлении */
.info-block.is-visible .info-block__image img {
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(91, 124, 250, 0.35),
    0 0 60px rgba(139, 92, 246, 0.15);
}

/* 3D Tilt: усиленная тень при наведении */
.info-block__image img:hover {
  box-shadow:
    0 16px 48px rgba(91, 124, 250, 0.25),
    0 0 30px rgba(139, 92, 246, 0.1);
}

/* === Секция счётчиков === */
.stats-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 64px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 48px 32px;
}

.stat-item {
  text-align: center;
}

.stat-number,
.stat-plus {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(135deg, #fff 0%, #8aa4ff 25%, #c084fc 50%, #8aa4ff 75%, #fff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 6s ease-in-out infinite;
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(200, 210, 240, 0.55);
  letter-spacing: 0.02em;
}

/* === Прайс-секции === */
.pricing-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 48px 80px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.pricing-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pricing-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 0%, #8aa4ff 25%, #c084fc 50%, #8aa4ff 75%, #fff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 6s ease-in-out infinite;
}

.pricing-subtitle {
  text-align: center;
  font-size: 16px;
  color: rgba(200, 210, 240, 0.55);
  margin-bottom: 48px;
}

.pricing-grid {
  display: grid;
  gap: 24px;
}

.pricing-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.pricing-grid--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 860px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  background: rgba(15, 15, 35, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(100, 140, 255, 0.12);
  border-radius: 20px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(91, 124, 250, 0.15);
  border-color: rgba(100, 140, 255, 0.25);
}

/* Выделенная карточка (рекомендуемый тариф) */
.pricing-card--featured {
  border: none;
  z-index: 0;
}

.pricing-card--featured::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: inherit;
  background: conic-gradient(from var(--badge-angle, 0deg), #5b7cfa, #c084fc, #8b5cf6, #8aa4ff, #5b7cfa);
  z-index: -2;
  animation: badgeRotate 4s linear infinite;
}

.pricing-card--featured::after {
  content: '';
  position: absolute;
  inset: 1.5px;
  border-radius: 19px;
  background: rgba(15, 15, 35, 0.92);
  z-index: -1;
}

.pricing-card--featured:hover {
  box-shadow: 0 12px 48px rgba(139, 92, 246, 0.25), 0 0 30px rgba(91, 124, 250, 0.1);
}

.pricing-card__badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #5b7cfa, #8b5cf6);
  border-radius: 100px;
  margin-bottom: 16px;
}

.pricing-card--featured .pricing-card__badge {
  position: absolute;
  top: 36px;
  right: 28px;
  margin-bottom: 0;
}

.pricing-card__name {
  font-size: 22px;
  font-weight: 700;
  color: #e0e0f0;
  margin-bottom: 8px;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.pricing-card__amount {
  font-size: 40px;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, #8aa4ff 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.pricing-card__period {
  font-size: 14px;
  color: rgba(200, 210, 240, 0.5);
}

.pricing-card__desc {
  font-size: 14px;
  color: rgba(200, 210, 240, 0.5);
  margin-bottom: 24px;
  line-height: 1.5;
}

.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(200, 210, 240, 0.75);
  line-height: 1.4;
}

.pricing-card__check {
  width: 18px;
  height: 18px;
  min-width: 18px;
  background: #22C55E;
  clip-path: polygon(
    50% 0%, 65.3% 13%, 85.4% 14.6%, 87% 34.7%,
    100% 50%, 87% 65.3%, 85.4% 85.4%, 65.3% 87%,
    50% 100%, 34.7% 87%, 14.6% 85.4%, 13% 65.3%,
    0% 50%, 13% 34.7%, 14.6% 14.6%, 34.7% 13%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pricing-card__check svg {
  width: 9px;
  height: 9px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pricing-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 24px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: rgba(91, 124, 250, 0.12);
  border: 1px solid rgba(91, 124, 250, 0.25);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card__btn:hover {
  background: rgba(91, 124, 250, 0.22);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(91, 124, 250, 0.2);
}

.pricing-card--featured .pricing-card__btn {
  background: linear-gradient(135deg, #5b7cfa, #8b5cf6);
  border: none;
  box-shadow: 0 4px 12px rgba(91, 124, 250, 0.35);
}

.pricing-card--featured .pricing-card__btn:hover {
  box-shadow: 0 8px 24px rgba(91, 124, 250, 0.5);
}

/* === Общие стили секций === */
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 0%, #8aa4ff 25%, #c084fc 50%, #8aa4ff 75%, #fff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 6s ease-in-out infinite;
}

.section-subtitle {
  text-align: center;
  font-size: 16px;
  color: rgba(200, 210, 240, 0.55);
  margin-bottom: 48px;
}

/* === Как это работает === */
.how-it-works {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 48px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.how-it-works.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.how-it-works__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: flex-start;
}

.how-it-works__step {
  position: relative;
  background: rgba(15, 15, 35, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(100, 140, 255, 0.12);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.how-it-works.is-visible .how-it-works__step {
  animation: fadeUpScale 0.6s ease forwards;
}

.how-it-works.is-visible .how-it-works__step:nth-child(1) { animation-delay: 0.2s; }
.how-it-works.is-visible .how-it-works__step:nth-child(3) { animation-delay: 0.4s; }
.how-it-works.is-visible .how-it-works__step:nth-child(5) { animation-delay: 0.6s; }

.how-it-works__step:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(91, 124, 250, 0.2);
  border-color: rgba(100, 140, 255, 0.3);
}

.how-it-works__step:hover .how-it-works__icon {
  transform: scale(1.1);
}

.how-it-works__number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 48px;
  font-weight: 700;
  color: rgba(138, 164, 255, 0.08);
  line-height: 1;
}

.how-it-works__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5b7cfa, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: transform 0.3s ease;
}

.how-it-works__icon svg {
  width: 36px;
  height: 36px;
  fill: #fff;
}

.how-it-works__step-title {
  font-size: 20px;
  font-weight: 700;
  color: #e0e0f0;
  margin-bottom: 10px;
}

.how-it-works__step-text {
  font-size: 14px;
  color: rgba(200, 210, 240, 0.6);
  line-height: 1.6;
}

.how-it-works__connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  padding-top: 60px;
}

.how-it-works__connector svg {
  width: 60px;
  height: 2px;
}

.how-it-works__connector svg line {
  stroke: rgba(138, 164, 255, 0.3);
  stroke-width: 2;
  stroke-dasharray: 6 4;
  animation: dashFlow 1s linear infinite;
}

/* === Почему Habiti === */
.why-us {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 48px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.why-us.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-us__card {
  background: rgba(15, 15, 35, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(100, 140, 255, 0.12);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.why-us.is-visible .why-us__card {
  animation: fadeUpScale 0.6s ease forwards;
}

.why-us.is-visible .why-us__card:nth-child(1) { animation-delay: 0.1s; }
.why-us.is-visible .why-us__card:nth-child(2) { animation-delay: 0.2s; }
.why-us.is-visible .why-us__card:nth-child(3) { animation-delay: 0.3s; }
.why-us.is-visible .why-us__card:nth-child(4) { animation-delay: 0.4s; }
.why-us.is-visible .why-us__card:nth-child(5) { animation-delay: 0.5s; }
.why-us.is-visible .why-us__card:nth-child(6) { animation-delay: 0.6s; }

.why-us__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(91, 124, 250, 0.15);
  border-color: rgba(100, 140, 255, 0.25);
}

.why-us__card:hover .why-us__icon {
  background: linear-gradient(135deg, #5b7cfa, #8b5cf6);
}

.why-us__card:hover .why-us__icon svg {
  fill: #fff;
}

.why-us__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(91, 124, 250, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: background 0.3s ease;
}

.why-us__icon svg {
  width: 28px;
  height: 28px;
  fill: #8aa4ff;
  transition: fill 0.3s ease;
}

.why-us__card-title {
  font-size: 18px;
  font-weight: 700;
  color: #e0e0f0;
  margin-bottom: 8px;
}

.why-us__card-text {
  font-size: 14px;
  color: rgba(200, 210, 240, 0.6);
  line-height: 1.6;
}

/* === Популярные привычки === */
.popular-habits {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 48px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.popular-habits.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.habits-scroll-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.habits-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.habits-scroll-inner {
  display: flex;
  gap: 20px;
}

.habit-card {
  flex: 0 0 260px;
  background: rgba(15, 15, 35, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(100, 140, 255, 0.12);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  opacity: 0;
  transform: translateX(40px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.popular-habits.is-visible .habit-card {
  animation: slideInFromRight 0.6s ease forwards;
}

.popular-habits.is-visible .habit-card:nth-child(1) { animation-delay: 0.1s; }
.popular-habits.is-visible .habit-card:nth-child(2) { animation-delay: 0.2s; }
.popular-habits.is-visible .habit-card:nth-child(3) { animation-delay: 0.3s; }
.popular-habits.is-visible .habit-card:nth-child(4) { animation-delay: 0.4s; }
.popular-habits.is-visible .habit-card:nth-child(5) { animation-delay: 0.5s; }
.popular-habits.is-visible .habit-card:nth-child(6) { animation-delay: 0.6s; }

.habit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(91, 124, 250, 0.15);
  border-color: rgba(100, 140, 255, 0.25);
}

.habit-card__emoji {
  font-size: 48px;
  display: block;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.habit-card:hover .habit-card__emoji {
  transform: scale(1.2) rotate(10deg);
}

.habit-card__name {
  font-size: 18px;
  font-weight: 700;
  color: #e0e0f0;
  margin-bottom: 8px;
}

.habit-card__desc {
  font-size: 13px;
  color: rgba(200, 210, 240, 0.6);
  line-height: 1.5;
  margin-bottom: 12px;
}

.habit-card__users {
  font-size: 12px;
  color: rgba(138, 164, 255, 0.7);
  font-weight: 600;
}

/* === Живое демо Streak === */
.streak-demo {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 48px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.streak-demo.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.streak-demo__card {
  background: rgba(15, 15, 35, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(100, 140, 255, 0.12);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
}

.streak-demo__counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.streak-demo__number {
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, #5b7cfa, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.streak-demo__flame {
  font-size: 48px;
  animation: flameFlicker 1.5s ease-in-out infinite;
}

.streak-demo__label {
  font-size: 16px;
  color: rgba(200, 210, 240, 0.6);
  margin-bottom: 32px;
}

.streak-demo__calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  max-width: 500px;
  margin: 0 auto 24px;
}

.streak-demo__day {
  aspect-ratio: 1;
  border-radius: 8px;
  background: rgba(91, 124, 250, 0.08);
  border: 1px solid rgba(100, 140, 255, 0.1);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.streak-demo__day.is-filled {
  background: linear-gradient(135deg, #5b7cfa, #8b5cf6);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 12px rgba(91, 124, 250, 0.3);
}

.streak-demo__message {
  font-size: 15px;
  color: rgba(200, 210, 240, 0.5);
  font-style: italic;
  margin-top: 16px;
}

/* === Отзывы === */
.testimonials {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 48px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.testimonials.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: rgba(15, 15, 35, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(100, 140, 255, 0.12);
  border-radius: 20px;
  padding: 32px 28px;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.testimonials.is-visible .testimonial-card {
  animation: fadeUpScale 0.6s ease forwards;
}

.testimonials.is-visible .testimonial-card:nth-child(1) { animation-delay: 0.2s; }
.testimonials.is-visible .testimonial-card:nth-child(2) { animation-delay: 0.4s; }
.testimonials.is-visible .testimonial-card:nth-child(3) { animation-delay: 0.6s; }

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(91, 124, 250, 0.15);
  border-color: rgba(100, 140, 255, 0.25);
}

.testimonial-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-card__star {
  font-size: 18px;
  color: #FFB800;
}

.testimonial-card__text {
  font-size: 15px;
  color: rgba(200, 210, 240, 0.7);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5b7cfa, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-size: 15px;
  font-weight: 600;
  color: #e0e0f0;
}

.testimonial-card__period {
  font-size: 13px;
  color: rgba(200, 210, 240, 0.5);
}

/* === FAQ === */
.faq {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 48px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.faq.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(15, 15, 35, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(100, 140, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(100, 140, 255, 0.25);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #e0e0f0;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  transition: color 0.2s ease;
}

.faq-item__question:hover {
  color: #8aa4ff;
}

.faq-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(91, 124, 250, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  color: #8aa4ff;
  transition: transform 0.3s ease, background 0.3s ease;
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
  background: linear-gradient(135deg, #5b7cfa, #8b5cf6);
  color: #fff;
}

.faq-item__answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.faq-item.is-open .faq-item__answer {
  max-height: 500px;
  opacity: 1;
}

.faq-item__answer-inner {
  padding: 0 24px 20px;
  font-size: 15px;
  color: rgba(200, 210, 240, 0.6);
  line-height: 1.7;
}

/* === CTA перед футером === */
.final-cta {
  max-width: 1280px;
  margin: 0 auto 80px;
  padding: 0 48px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.final-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.final-cta__card {
  position: relative;
  background: linear-gradient(135deg, rgba(91, 124, 250, 0.15), rgba(139, 92, 246, 0.15));
  border: 1px solid rgba(100, 140, 255, 0.2);
  border-radius: 32px;
  padding: 80px 48px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(91, 124, 250, 0.1), 0 0 120px rgba(139, 92, 246, 0.05);
}

.final-cta__circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  pointer-events: none;
}

.final-cta__circle--1 {
  width: 200px;
  height: 200px;
  background: #5b7cfa;
  top: -60px;
  left: -40px;
  animation: floatCircle 8s ease-in-out infinite;
}

.final-cta__circle--2 {
  width: 150px;
  height: 150px;
  background: #8b5cf6;
  bottom: -40px;
  right: -30px;
  animation: floatCircle 10s ease-in-out infinite reverse;
}

.final-cta__circle--3 {
  width: 120px;
  height: 120px;
  background: #c084fc;
  top: 50%;
  left: 60%;
  animation: floatCircle 12s ease-in-out infinite 2s;
}

.final-cta__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #fff 0%, #8aa4ff 25%, #c084fc 50%, #8aa4ff 75%, #fff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 6s ease-in-out infinite;
}

.final-cta__subtitle {
  font-size: 17px;
  color: rgba(200, 210, 240, 0.6);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.btn-cta-large {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.8rem;
  background: linear-gradient(135deg, #5b7cfa, #8b5cf6);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 24px rgba(91, 124, 250, 0.35);
  z-index: 1;
  overflow: hidden;
}

.btn-cta-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(91, 124, 250, 0.5);
}

.btn-cta-large::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  animation: shimmer 4s 2s ease-in-out infinite;
  pointer-events: none;
}

.final-cta__note {
  font-size: 13px;
  color: rgba(200, 210, 240, 0.4);
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

/* === Футер === */
.footer {
  background: rgba(10, 10, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 64px 48px 32px;
  border-top: 1px solid rgba(100, 140, 255, 0.1);
}

.footer__inner {
  display: flex;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto;
}

.footer__brand { flex: 1.5; }

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer__logo-icon {
  width: 32px;
  height: 32px;
  background: #7C5CFC;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer__logo-icon svg { width: 18px; height: 18px; fill: #fff; }

.footer__desc {
  font-size: 14px;
  color: #9CA3AF;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer__socials { display: flex; gap: 12px; }

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.footer__social-link:hover { background: #7C5CFC; }
.footer__social-link svg {
  width: 18px;
  height: 18px;
  fill: #9CA3AF;
  transition: fill 0.2s ease;
}
.footer__social-link:hover svg { fill: #fff; }

.footer__col { flex: 1; }

.footer__col-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.footer__col-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__col-list a {
  font-size: 14px;
  color: #9CA3AF;
  transition: color 0.2s ease;
}
.footer__col-list a:hover { color: #8aa4ff; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__copy { font-size: 13px; color: #6B7280; }

.footer__legal { display: flex; gap: 24px; }
.footer__legal a {
  font-size: 13px;
  color: #6B7280;
  transition: color 0.2s ease;
}
.footer__legal a:hover { color: #8aa4ff; }

/* === Анимации === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* === Плавающие цитаты === */
.floating-quotes {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.fq {
  position: absolute;
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
  max-width: 320px;
  line-height: 1.5;
  will-change: transform, opacity;
}

.fq-author {
  display: block;
  font-size: 13px;
  font-style: normal;
  opacity: 1;
  margin-top: 6px;
}

.fq-1 {
  top: 18%;
  left: 5%;
  font-size: 22px;
  color: #8aa4ff;
  animation: fqDrift1 18s ease-in-out infinite alternate;
}

.fq-2 {
  top: 12%;
  left: 68%;
  font-size: 18px;
  color: #c084fc;
  animation: fqDrift2 22s ease-in-out infinite alternate;
}

.fq-3 {
  top: 48%;
  left: 8%;
  font-size: 21px;
  color: #8aa4ff;
  animation: fqDrift3 20s ease-in-out infinite alternate;
}

.fq-4 {
  top: 72%;
  left: 62%;
  font-size: 19px;
  color: #c084fc;
  animation: fqDrift4 24s ease-in-out infinite alternate;
}

.fq-5 {
  top: 42%;
  left: 75%;
  font-size: 20px;
  color: #8aa4ff;
  animation: fqDrift5 19s ease-in-out infinite alternate;
}

@keyframes fqDrift1 {
  0%   { transform: translate(0, 0) rotate(0deg); opacity: 0.32; }
  50%  { transform: translate(60px, -45px) rotate(2.5deg); opacity: 0.45; }
  100% { transform: translate(120px, -80px) rotate(-2.5deg); opacity: 0.32; }
}

@keyframes fqDrift2 {
  0%   { transform: translate(0, 0) rotate(0deg); opacity: 0.28; }
  50%  { transform: translate(-50px, 35px) rotate(-2deg); opacity: 0.40; }
  100% { transform: translate(-100px, 65px) rotate(2deg); opacity: 0.28; }
}

@keyframes fqDrift3 {
  0%   { transform: translate(0, 0) rotate(0deg); opacity: 0.30; }
  50%  { transform: translate(-55px, -50px) rotate(3deg); opacity: 0.43; }
  100% { transform: translate(-110px, -90px) rotate(-3deg); opacity: 0.30; }
}

@keyframes fqDrift4 {
  0%   { transform: translate(0, 0) rotate(0deg); opacity: 0.28; }
  50%  { transform: translate(45px, 60px) rotate(-2.5deg); opacity: 0.42; }
  100% { transform: translate(85px, 110px) rotate(2.5deg); opacity: 0.28; }
}

@keyframes fqDrift5 {
  0%   { transform: translate(0, 0) rotate(0deg); opacity: 0.29; }
  50%  { transform: translate(-40px, 50px) rotate(2deg); opacity: 0.41; }
  100% { transform: translate(-75px, 90px) rotate(-2deg); opacity: 0.29; }
}

/* === Новые анимации === */

/* Анимация CSS custom property для вращения обводки badge */
@property --badge-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes badgeRotate {
  to { --badge-angle: 360deg; }
}

@keyframes gradientFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes ctaGlow {
  0%, 100% { opacity: 0; }
  50%      { opacity: 1; }
}

@keyframes shimmer {
  0%   { left: -100%; }
  40%  { left: 150%; }
  100% { left: 150%; }
}

@keyframes checkPulse {
  0%, 100% { filter: drop-shadow(0 0 3px rgba(34, 197, 94, 0.3)); }
  50%      { filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.6)) drop-shadow(0 0 20px rgba(34, 197, 94, 0.2)); }
}

@keyframes fadeUpScale {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes slideInFromRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes flameFlicker {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  25%      { transform: scale(1.1) rotate(-3deg); filter: brightness(1.2); }
  50%      { transform: scale(0.95) rotate(2deg); filter: brightness(0.9); }
  75%      { transform: scale(1.08) rotate(-2deg); filter: brightness(1.15); }
}

@keyframes floatCircle {
  0%, 100% { transform: translate(0, 0); }
  33%      { transform: translate(20px, -15px); }
  66%      { transform: translate(-15px, 10px); }
}

@keyframes dashFlow {
  to { stroke-dashoffset: -10; }
}

/* === Адаптивность === */
@media (max-width: 768px) {
  .header {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 12px;
    border-radius: 12px;
    margin: 8px auto 0;
  }

  .nav { display: none; }

  .hero-title { font-size: 36px; }
  .hero-subtitle { font-size: 16px; }
  .features-row { gap: 20px; }

  .info-block {
    flex-direction: column;
    padding: 40px 20px;
    gap: 32px;
  }
  .info-block--reverse { flex-direction: column; }
  .info-block__title { font-size: 26px; }
  .info-block__text { font-size: 15px; }

  .footer { padding: 48px 20px 24px; }
  .footer__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .footer__brand { grid-column: 1 / -1; }
  .footer__desc { max-width: 100%; }
  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .footer__legal { gap: 16px; }

  /* Scroll Reveal: на мобильных элементы появляются снизу */
  .info-block__content,
  .info-block--reverse .info-block__content {
    transform: translateY(40px);
  }
  .info-block__image,
  .info-block--reverse .info-block__image {
    transform: translateY(40px);
  }

  .stats-row {
    gap: 32px;
    padding: 32px 20px 24px;
  }

  /* Прайс-секции */
  .pricing-section {
    padding: 48px 20px;
  }

  .pricing-subtitle {
    margin-bottom: 32px;
  }

  .pricing-grid--3 {
    grid-template-columns: 1fr;
  }

  .pricing-grid--2 {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    padding: 28px 22px;
  }

  .pricing-card--featured .pricing-card__badge {
    top: 28px;
    right: 22px;
  }

  .pricing-card__amount {
    font-size: 32px;
  }

  /* Как это работает — мобильная */
  .how-it-works {
    padding: 48px 20px;
  }

  .how-it-works__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .how-it-works__connector {
    display: none;
  }

  /* Почему Habiti — мобильная */
  .why-us {
    padding: 48px 20px;
  }

  .why-us__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Популярные привычки — мобильная */
  .popular-habits {
    padding: 48px 20px;
  }

  .habit-card {
    flex: 0 0 220px;
  }

  /* Streak demo — мобильная */
  .streak-demo {
    padding: 48px 20px;
  }

  .streak-demo__card {
    padding: 32px 20px;
  }

  .streak-demo__number {
    font-size: 48px;
  }

  .streak-demo__flame {
    font-size: 36px;
  }

  .streak-demo__calendar {
    gap: 6px;
  }

  /* Отзывы — мобильная */
  .testimonials {
    padding: 48px 20px;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* FAQ — мобильная */
  .faq {
    padding: 48px 20px;
  }

  .faq-item__question {
    padding: 16px 20px;
    font-size: 15px;
  }

  .faq-item__answer-inner {
    padding: 0 20px 16px;
    font-size: 14px;
  }

  /* CTA — мобильная */
  .final-cta {
    padding: 0 20px;
    margin-bottom: 48px;
  }

  .final-cta__card {
    padding: 48px 24px;
    border-radius: 24px;
  }

  .btn-cta-large {
    font-size: 16px;
    padding: 0.9rem 2rem;
  }

  .fq-2, .fq-4 { display: none; }
  .fq-1 { font-size: 19px; top: 15%; left: 3%; }
  .fq-3 { font-size: 18px; top: 45%; left: 5%; }
  .fq-5 { font-size: 17px; top: 75%; left: 10%; }

  .btn-pwa-install { font-size: 14px; padding: 10px 20px; }
  .btn-pwa-install-cta { font-size: 14px; padding: 10px 20px; }
}

/* === PWA кнопка установки (Hero) === */
.btn-pwa-install {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 28px;
  background: rgba(124, 92, 252, 0.2);
  border: 1px solid rgba(124, 92, 252, 0.4);
  color: #c4b5fd;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  backdrop-filter: blur(8px);
}
.btn-pwa-install:hover {
  background: rgba(124, 92, 252, 0.35);
  border-color: rgba(124, 92, 252, 0.6);
  transform: translateY(-1px);
}
.btn-pwa-install svg {
  flex-shrink: 0;
}

/* === PWA кнопка установки (CTA секция) === */
.btn-pwa-install-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e0e0f0;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  position: relative;
  z-index: 1;
}
.btn-pwa-install-cta:hover {
  background: rgba(124, 92, 252, 0.25);
  border-color: rgba(124, 92, 252, 0.5);
  transform: translateY(-1px);
}
.btn-pwa-install-cta svg {
  flex-shrink: 0;
}

/* === iOS PWA баннер === */
.pwa-ios-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 16px;
  animation: slideUpBanner 0.4s ease-out;
}
.pwa-ios-banner__content {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 480px;
  margin: 0 auto;
  padding: 16px 20px;
  background: rgba(20, 20, 40, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(124, 92, 252, 0.3);
  border-radius: 16px;
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.4);
}
.pwa-ios-banner__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(124, 92, 252, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pwa-ios-banner__text {
  flex: 1;
  font-size: 14px;
  color: rgba(200, 210, 240, 0.8);
  line-height: 1.5;
}
.pwa-ios-banner__text strong {
  color: #fff;
  font-size: 15px;
}
.pwa-ios-banner__close {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 8px;
  color: #9CA3AF;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.pwa-ios-banner__close:hover {
  background: rgba(255, 255, 255, 0.15);
}

@keyframes slideUpBanner {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
