/* ==========================================================================
   StockAttributor PRO — Light, Friendly & Clean Styles (landing_4/styles.css)
   ========================================================================== */

:root {
  --bg-page: #f6f8fb;
  --bg-section: #eef2f7;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --border-light: #e2e8f0;
  --sky-accent: #0284c7;
  --emerald-accent: #10b981;
  --amber-accent: #f59e0b;
  --purple-accent: #7c3aed;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-page);
  color: var(--text-main);
}

body {
  font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

/* Полоса прогресса прокрутки сверху */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, #0284c7 0%, #10b981 55%, #f59e0b 100%);
  z-index: 100;
  transition: width 0.08s linear;
}

/* Липкая светлая шапка */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
}

/* Кнопка Скачать для Windows */
.btn-windows {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-windows:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -5px rgba(2, 132, 199, 0.52);
  filter: brightness(1.05);
}

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

/* Переключатель языка RU / EN */
.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 14px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lang-switch-btn:hover {
  border-color: #94a3b8;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.lang-pill {
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  color: #64748b;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.lang-pill.active {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35);
}

/* Универсальные светлые карточки */
.clean-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  box-shadow: 0 8px 24px -6px rgba(15, 23, 42, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.clean-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 14px 32px -8px rgba(15, 23, 42, 0.09);
}

/* Презентационная карточка программы в Hero */
.hero-showcase-shell {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  box-shadow: 0 20px 50px -12px rgba(15, 23, 42, 0.08);
}

/* Презентационные миниатюры 4 типов контента (Фото, ИИ фото, Видео, ИИ видео) */
.media-preview-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.thumb-box {
  height: 92px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.thumb-box > svg.thumb-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.play-badge {
  position: relative;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.22);
}

/* ==========================================================================
   ТАРИФНАЯ СЕТКА (5 КАРТОЧЕК КАК НА СКРИНШОТЕ)
   ========================================================================== */
.tariff-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 22px;
  padding: 22px 18px 18px;
  box-shadow: 0 10px 24px -8px rgba(15, 23, 42, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.tariff-card:hover {
  transform: translateY(-4px);
  border-color: #94a3b8;
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.12);
}

/* Хит продаж ($20) */
.tariff-card.hit {
  background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 45%);
  border: 2px solid #10b981;
  box-shadow: 0 16px 36px -8px rgba(16, 185, 129, 0.22);
}

/* Максимальная выгода ($50) */
.tariff-card.max-value {
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 45%);
  border: 2px solid #f59e0b;
  box-shadow: 0 16px 36px -8px rgba(245, 158, 11, 0.22);
}

/* Внутренний блок "Получите на баланс" */
.balance-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px 12px;
  text-align: center;
}

.tariff-card.hit .balance-box {
  background: #d1fae5;
  border-color: #6ee7b7;
}

.tariff-card.max-value .balance-box {
  background: #fef3c7;
  border-color: #fcd34d;
}

/* Яркий бейдж бонуса (+ $1 / + $3 / + $10 BONUS) с подсветкой */
.bonus-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.55);
}

/* Анимация плавного появления */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

/* Аккордеон частых вопросов */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.28s ease, opacity 0.22s ease;
}

.faq-item.open .faq-answer {
  max-height: 260px;
  opacity: 1;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: #0284c7;
}
