/* Visi — единая дизайн-система лендинга.
   Визуальный язык: минимализм на slate-палитре, светлые заголовки,
   крупные скруглённые карточки, тёмные акцентные блоки. */

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

:root {
  --white: #ffffff;
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-50:  #f0fdf4;
  --red-500:   #ef4444;
  --red-50:    #fef2f2;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--slate-900);
  line-height: 1.5;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ============ NAV ============ */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--slate-100);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 50;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-brand img { height: 32px; width: auto; border-radius: 4px; display: block; }
.nav-links {
  display: none;
  gap: 32px;
  font-size: 12px;
  font-weight: 500;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.nav-links a { text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--slate-900); }
.nav-cta {
  padding: 10px 24px;
  background: var(--slate-900);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--slate-800); }
@media (min-width: 900px) {
  .nav { padding: 24px 48px; }
  .nav-links { display: flex; }
}

/* ============ ОБЩИЕ СЕКЦИИ ============ */
.section {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 64px 24px;
}
.section--narrow { max-width: 896px; }
.section--divided { border-top: 1px solid var(--slate-100); }

.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 {
  font-size: 30px;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-head p {
  font-size: 18px;
  font-weight: 300;
  color: var(--slate-500);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
}

/* ============ HERO ============ */
.hero {
  max-width: 896px;
  margin: 0 auto;
  padding: 80px 24px 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 24px;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-500);
  flex-shrink: 0;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.hero-eyebrow span {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--slate-400);
}
.hero h1 {
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  font-weight: 500;
  color: var(--slate-900);
}
.hero-lead {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 300;
  color: var(--slate-500);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 32px;
}

/* Теги площадок */
.platforms {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.platform-tag {
  padding: 6px 14px;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-500);
  transition: border-color 0.2s, color 0.2s;
}
.platform-tag:hover { border-color: var(--slate-900); color: var(--slate-900); }

/* Цифры под hero */
.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--slate-100);
  width: 100%;
}
.hero-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hero-stat-num {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--slate-900);
}
.hero-stat-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--slate-400);
}
@media (max-width: 600px) {
  .hero-stats { gap: 28px; }
  .hero-stat-num { font-size: 20px; }
}

/* ============ КНОПКИ ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
  text-align: center;
}
.btn-dark { background: var(--slate-900); color: #fff; border: 1px solid var(--slate-900); }
.btn-dark:hover { background: var(--slate-800); }
.btn-light {
  background: var(--slate-50);
  color: var(--slate-900);
  border: 1px solid var(--slate-200);
}
.btn-light:hover { background: var(--slate-100); }
.btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
/* Бейдж RuStore: официальная картинка, поэтому не перекрашиваем —
   только подгоняем высоту и скругление под соседние .btn */
.btn-rustore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0;
  border: none;
  background: none;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn-rustore:hover { opacity: 0.85; }
.btn-rustore img { height: 100%; width: auto; display: block; }
@media (max-width: 600px) {
  .btn-group { flex-direction: column; align-items: center; }
  .btn { width: 100%; }
}

/* ============ ПРОБЛЕМА / БОЛИ ============ */
.pain {
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: 16px;
  padding: 40px;
}
.pain-icon {
  width: 40px;
  height: 40px;
  background: var(--red-50);
  color: var(--red-500);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.pain h2 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 24px;
}
.pain-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.pain-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  font-weight: 300;
  color: var(--slate-500);
  line-height: 1.6;
}
.pain-list li::before {
  content: '';
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  margin-top: 10px;
  border-radius: 50%;
  background: var(--slate-900);
}
@media (max-width: 600px) { .pain { padding: 28px 24px; } }

/* ============ КАК ЭТО РАБОТАЕТ ============ */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
}
.steps-col { display: flex; flex-direction: column; gap: 32px; }
.step-num {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--slate-400);
  display: block;
  margin-bottom: 8px;
}
.step h3 { font-size: 17px; font-weight: 500; margin-bottom: 6px; }
.step p {
  font-size: 14px;
  font-weight: 300;
  color: var(--slate-500);
  line-height: 1.6;
}
.phone-wrap { display: flex; justify-content: center; }
.phone-wrap img {
  width: 200px;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  display: block;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .phone-wrap { display: none; }
}

/* ============ СКРИНШОТЫ ============ */
.shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.shot {
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
.shot--light { background: var(--slate-50); border: 1px solid var(--slate-100); }
.shot--dark  { background: var(--slate-900); border: 1px solid var(--slate-800); }
.shot h3 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 24px;
  text-align: center;
  width: 100%;
}
.shot--light h3 { color: var(--slate-400); }
.shot--dark h3  { color: var(--slate-500); }
.shot img {
  width: 100%;
  max-width: 260px;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  display: block;
}
@media (max-width: 700px) {
  .shots { grid-template-columns: 1fr; }
  .shot { padding: 28px 24px; }
}

/* ============ SEO-ТЕКСТ ============ */
.seo-text h2 {
  font-size: 30px;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 32px;
  text-align: center;
}
.seo-text p {
  font-size: 16px;
  font-weight: 300;
  color: var(--slate-500);
  line-height: 1.75;
  margin-bottom: 20px;
}
.seo-text p:last-child { margin-bottom: 0; }
.seo-text a {
  color: var(--slate-900);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--slate-300);
  transition: text-decoration-color 0.2s;
}
.seo-text a:hover { text-decoration-color: var(--slate-900); }

/* ============ ВОЗМОЖНОСТИ (карточки) ============ */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card {
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card--dark {
  background: var(--slate-900);
  border-color: var(--slate-800);
  color: #fff;
}
.card-icon {
  width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 18px;
  line-height: 1;
}
.card--dark .card-icon {
  background: var(--slate-800);
  border-color: var(--slate-700);
}
.card h3 { font-size: 17px; font-weight: 600; margin-bottom: 12px; line-height: 1.35; }
.card p {
  font-size: 14px;
  font-weight: 300;
  color: var(--slate-500);
  line-height: 1.65;
}
.card--dark p { color: var(--slate-400); }
.card-tag {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--slate-200);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--slate-400);
}
.card--dark .card-tag { border-top-color: var(--slate-800); color: var(--slate-500); }
@media (max-width: 1000px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .cards { grid-template-columns: 1fr; } .card { padding: 28px 24px; } }

/* ============ FAQ ============ */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--slate-100); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  color: var(--slate-900);
  line-height: 1.45;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--slate-500); }
.faq-arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-400);
  font-size: 14px;
  font-style: normal;
  transition: transform 0.25s ease;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  font-size: 16px;
  font-weight: 300;
  color: var(--slate-500);
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 24px; }
@media (max-width: 600px) { .faq-question { font-size: 16px; gap: 16px; } }

/* ============ ТАРИФЫ ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: stretch;
}
.plan {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.plan--featured {
  background: var(--slate-900);
  border-color: var(--slate-800);
  color: #fff;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  z-index: 1;
}
.plan-eyebrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--slate-400);
  margin-bottom: 16px;
  min-height: 22px;
}
.plan-eyebrow .badge {
  background: var(--slate-100);
  color: var(--slate-500);
  padding: 4px 8px;
  border-radius: 4px;
}
.plan--featured .plan-eyebrow .badge { background: #fff; color: var(--slate-900); }
.plan-name {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.plan-price {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 8px 0 24px;
}
.plan-price span {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0;
  color: var(--slate-400);
}
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  font-weight: 300;
  color: var(--slate-500);
  line-height: 1.5;
}
.plan-features li::before {
  content: '';
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--slate-900);
}
.plan--featured .plan-features li { color: var(--slate-300); }
.plan--featured .plan-features li::before { background: #fff; }
.plan-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 11px;
  border: 1px solid var(--slate-200);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
  text-decoration: none;
  color: var(--slate-900);
  background: #fff;
  transition: background 0.2s;
  margin-top: auto;
}
.plan-btn:hover { background: var(--slate-50); }
.plan-btn + .plan-btn { margin-top: 8px; }
.plan--featured .plan-btn {
  background: #fff;
  color: var(--slate-900);
  border-color: #fff;
}
.plan--featured .plan-btn:hover { background: var(--slate-200); }
@media (max-width: 1100px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .pricing-grid { grid-template-columns: 1fr; } }

/* ============ ФИНАЛЬНЫЙ CTA ============ */
.cta {
  max-width: 896px;
  margin: 0 auto;
  padding: 64px 24px 96px;
  text-align: center;
  border-top: 1px solid var(--slate-100);
}
.cta h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 24px;
}
.cta p {
  font-size: 18px;
  font-weight: 300;
  color: var(--slate-500);
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto 40px;
}

/* ============ FOOTER ============ */
.footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  padding: 32px 24px;
  border-top: 1px solid var(--slate-100);
  text-align: center;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-500);
}
.footer-links a { text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--slate-900); }
.footer-copy {
  font-size: 11px;
  font-weight: 300;
  color: var(--slate-400);
  line-height: 1.6;
}
@media (min-width: 900px) {
  .footer { flex-direction: row; justify-content: space-between; padding: 32px 48px; text-align: left; }
  .footer-copy { text-align: right; }
}

/* ============ АНИМАЦИИ ============ */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim-1 { animation: fadeUp 0.55s ease both; }
.anim-2 { animation: fadeUp 0.55s 0.08s ease both; }
.anim-3 { animation: fadeUp 0.55s 0.16s ease both; }
.anim-4 { animation: fadeUp 0.55s 0.24s ease both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
