/* =========================================
   1. VARIABLES & DESIGN TOKENS
   ========================================= */
:root {
  --color-telegram: #229ED9;
  --color-max: #7C3AED;
  --color-brand-gradient: linear-gradient(135deg, var(--color-telegram) 0%, var(--color-max) 100%);
  --bg-body: #F8FAFC;
  --bg-surface: #FFFFFF;
  --text-primary: #0F172A;
  --text-secondary: #64748B;
  --border-color: #E2E8F0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-full: 9999px;
  --bg-surface-hover: #F1F5F9;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --color-warning: #D97706;
  --color-warning-bg: #FEF3C7;
  --color-warning-text: #92400E;
  --color-success: #059669;
  --color-success-bg: #D1FAE5;
  --color-error: #DC2626;
  --color-error-bg: #FEE2E2;
}

/* =========================================
   2. BASE STYLES & RESET
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.5;
}

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- ГЛОБАЛЬНЫЕ КНОПКИ --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--color-brand-gradient);
  color: #fff;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4); }

.btn-outline {
  background: #fff;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.btn-outline:hover { background: var(--bg-body); border-color: var(--text-secondary); }

.btn-sm { padding: 6px 13px; font-size: 0.8rem; border-radius: var(--radius-sm); font-weight: 500; }

.btn-danger { background: var(--color-error-bg); color: var(--color-error); border: 1px solid transparent; }
.btn-danger:hover { background: var(--color-error); color: #fff; }

.text-gradient {
  background: var(--color-brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =========================================
   3. ЛЕНДИНГ — НАВИГАЦИЯ
   ========================================= */
.site-header-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

/* Scroll-to-top button */
#scroll-top {
  position: fixed;
  bottom: 32px;
  right: 28px;
  z-index: 200;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-max);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
}

#scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#scroll-top:hover {
  background: #6d28d9;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
}

.logo { font-size: 20px; font-weight: 800; letter-spacing: -0.5px; flex-shrink: 0; }
.logo-lockup { height: 36px; width: auto; display: block; max-width: none; }

.logo span {
  background: var(--color-brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links { display: flex; gap: 32px; align-items: center; font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--color-max); }
.nav-links .nav-cta { color: var(--color-max); font-weight: 600; }

/* Гамбургер */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 99;
}
.nav-overlay.open { display: block; }

/* =========================================
   4. ЛЕНДИНГ — HERO СЕКЦИЯ
   ========================================= */
.hero-section { padding: 80px 0 120px; position: relative; overflow: hidden; }

.hero-section::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 800px; height: 800px;
  background: var(--color-brand-gradient);
  filter: blur(150px);
  opacity: 0.15;
  border-radius: 50%;
  z-index: -1;
}

.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.badge {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(124,58,237,.1);
  color: #7c3aed;
  border-radius: var(--radius-full);
  font-size: .82rem;
  font-weight: 600;
  border: 1px solid rgba(124,58,237,.25);
  margin-bottom: 24px;
}

.hero-title { font-size: 56px; line-height: 1.1; font-weight: 800; margin-bottom: 24px; letter-spacing: -1px; }
.hero-subtitle { font-size: 18px; color: var(--text-secondary); margin-bottom: 40px; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; }
.hero-note { margin-top: 14px; font-size: 13px; color: var(--text-secondary); opacity: .75; }

/* Инфографика моста */
.integration-showcase {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-lg);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-card {
  width: 200px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.mockup-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; }
.tg-avatar  { background: var(--color-telegram); }
.max-avatar { background: var(--color-max); }
.mockup-info { display: flex; flex-direction: column; }
.mockup-name { font-size: 13px; font-weight: 600; }
.mockup-time { font-size: 11px; color: var(--text-secondary); }

.mockup-body {
  font-size: 11px;
  color: var(--text-secondary);
  background: var(--bg-body);
  padding: 8px;
  border-radius: 8px;
}

.bridge-animation {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 20px;
}

.pulse-line { position: absolute; width: 100%; height: 2px; background: var(--border-color); z-index: -1; }

.pulse-line::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40%; height: 100%;
  background: var(--color-brand-gradient);
  animation: data-flow 2s infinite linear;
}

@keyframes data-flow {
  0%   { left: -40%; opacity: 0; }
  50%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.transfer-icon {
  z-index: 1;
  background: #fff;
  border-radius: 50%;
  padding: 4px;
  box-shadow: var(--shadow-sm);
  color: var(--color-max);
}

/* =========================================
   4b. ЛЕНДИНГ — TRUST STATS
   ========================================= */
.trust-stats-section {
  padding: 40px 0;
  background: #fff;
  border-bottom: 1px solid var(--border-color);
}

.trust-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px 16px;
  text-align: center;
  border-right: 1px solid var(--border-color);
}

.trust-stat:last-child {
  border-right: none;
}

.trust-stat strong {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  background: var(--color-brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  min-width: 3ch;
}

.trust-stat span {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
  max-width: 160px;
}

/* =========================================
   5. ЛЕНДИНГ — ПРЕИМУЩЕСТВА
   ========================================= */
.features-section {
  padding: 80px 0;
  background: #fff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header { text-align: center; margin-bottom: 64px; }
.section-title { font-size: 36px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.5px; }
.section-subtitle { color: var(--text-secondary); font-size: 16px; }

.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

.feature-card {
  padding: 32px;
  background: var(--bg-body);
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.feature-icon {
  width: 48px; height: 48px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  color: var(--color-max);
}

.feature-title { font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.feature-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }

/* =========================================
   5b. ЛЕНДИНГ — ЧТО ПЕРЕНОСИТСЯ
   ========================================= */
.content-types-section {
  padding: 80px 0;
  background: var(--bg-body);
}

.content-types-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.content-card {
  padding: 32px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.content-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.content-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.content-card ul li {
  font-size: 15px;
  color: var(--text-secondary);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}

.content-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.content-card-yes {
  background: #fff;
}

.content-card-yes h3 {
  color: var(--color-success);
}

.content-card-yes ul li::before {
  background: var(--color-success);
}

.content-card-note {
  background: var(--color-warning-bg);
  border-color: #fde68a;
}

.content-card-note h3 {
  color: var(--color-warning);
}

.content-card-note ul li::before {
  background: var(--color-warning);
}

/* =========================================
   5c. ЛЕНДИНГ — КОМУ ПОДОЙДЁТ
   ========================================= */
.audience-section {
  padding: 80px 0;
  background: #fff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

/* =========================================
   6. ЛЕНДИНГ — КАК ЭТО РАБОТАЕТ
   ========================================= */
.steps-section { padding: 120px 0; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 64px; }

.step-card { text-align: center; position: relative; }

.step-number {
  width: 40px; height: 40px;
  background: var(--color-brand-gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  margin: 0 auto 24px;
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3);
}

.step-title { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.step-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

.archive-flow-note {
  margin-top: 48px;
  padding: 28px 32px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 16px;
}

.archive-flow-note h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0369a1;
  margin-bottom: 10px;
}

.archive-flow-note p {
  font-size: 15px;
  color: #0c4a6e;
  line-height: 1.6;
}

.steps-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.6;
}

/* =========================================
   6b. ЛЕНДИНГ — TRUST PROOF
   ========================================= */
.trust-proof-section {
  padding: 80px 0;
  background: var(--bg-body);
  border-top: 1px solid var(--border-color);
}

/* =========================================
   7. ЛЕНДИНГ — ТАРИФЫ
   ========================================= */
.pricing-section { padding: 80px 0; background: var(--bg-body); }

.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-grid-3 { max-width: 1120px; }

.pricing-sub {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 8px;
  line-height: 1.5;
}

.pricing-price-sm { font-size: 28px; white-space: nowrap; }

/* Tooltip */
.tooltip-wrap {
  display: inline-flex;
  align-items: center;
  position: relative;
  margin-left: 4px;
  vertical-align: middle;
}
.tooltip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--color-max);
  border: none;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  cursor: default;
  flex-shrink: 0;
}
.tooltip-text {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  background: #1e293b;
  color: #f1f5f9;
  font-size: 12px;
  line-height: 1.5;
  padding: 10px 12px;
  border-radius: 8px;
  z-index: 20;
  pointer-events: none;
  font-weight: 400;
}
.tooltip-text::after {
  content: '';
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #1e293b;
}
.tooltip-wrap:hover .tooltip-text { display: block; }

/* Калькулятор */
.calc-block {
  margin-top: 56px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.calc-header { margin-bottom: 28px; }
.calc-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.calc-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }
.calc-body { display: flex; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.calc-field { flex: 1; min-width: 200px; }
.calc-label { display: block; font-size: 13px; font-weight: 500; color: var(--text-secondary); margin-bottom: 10px; }
.calc-input-row { display: flex; align-items: center; gap: 12px; }
.calc-slider {
  flex: 1;
  height: 4px;
  accent-color: var(--color-max);
  cursor: pointer;
}
.calc-number {
  width: 72px;
  padding: 7px 10px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-family);
  background: var(--bg-body);
  color: var(--text-primary);
  text-align: center;
}
.calc-number:focus { outline: none; border-color: var(--color-max); box-shadow: 0 0 0 3px rgba(124,58,237,.1); }
.calc-hint { font-size: 12px; color: var(--text-secondary); margin-top: 8px; }
.calc-result { text-align: center; padding: 16px 24px; background: rgba(124,58,237,.06); border: 1px solid rgba(124,58,237,.15); border-radius: 12px; min-width: 140px; }
.calc-total-label { font-size: 12px; color: var(--text-secondary); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.calc-total-price { font-size: 28px; font-weight: 800; color: var(--color-max); }
.calc-footer-note { font-size: 13px; color: var(--text-secondary); margin-top: 20px; line-height: 1.6; }
.calc-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; }

.pricing-card {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease;
}

.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.pricing-pro {
  border: 2px solid var(--color-max);
  box-shadow: 0 10px 30px -5px rgba(124, 58, 237, 0.15);
}

.pro-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--color-brand-gradient);
  color: #fff;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.pricing-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
}

.pricing-name { font-size: 20px; font-weight: 600; margin-bottom: 16px; }
.pricing-price { font-size: 48px; font-weight: 800; margin-bottom: 16px; }
.price-period { font-size: 16px; font-weight: 500; color: var(--text-secondary); }

.feature-list { list-style: none; padding: 0; margin: 0; flex-grow: 1; margin-bottom: 40px; }

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  margin-bottom: 16px;
}

.feature-list li svg { width: 20px; height: 20px; flex-shrink: 0; }

.feature-disabled { color: var(--text-secondary) !important; text-decoration: line-through; opacity: 0.7; }

.pricing-action { margin-top: auto; }
.pricing-action .btn { width: 100%; }
.pricing-note { font-size: 12px; color: var(--text-secondary); margin-top: 10px; text-align: center; line-height: 1.5; }

/* =========================================
   FAQ
   ========================================= */
.faq-block {
  max-width: 720px;
  margin: 48px auto 0;
}
.faq-block > h3 {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--text-primary);
}
.faq-item {
  border-bottom: 1px solid var(--border-color);
}
.faq-item summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--color-max);
  flex-shrink: 0;
  line-height: 1;
  transition: transform .2s;
}
.faq-item[open] > summary::after { transform: rotate(45deg); }
.faq-answer {
  padding: 0 0 18px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* =========================================
   8. ЛЕНДИНГ — ФУТЕР
   ========================================= */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--border-color);
  padding: 64px 0 24px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo { font-size: 20px; font-weight: 800; letter-spacing: -0.5px; }

.footer-logo span {
  background: var(--color-brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-desc { font-size: 14px; color: var(--text-secondary); margin: 16px 0 24px; max-width: 320px; }

.footer-socials { display: flex; gap: 16px; }

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-body);
  color: var(--text-secondary);
  transition: all 0.2s;
}

.social-link:hover { background: var(--color-max); color: #fff; }

.footer-col-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 14px; color: var(--text-secondary); transition: color 0.2s; }
.footer-links a:hover { color: var(--color-max); }

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
}

/* =========================================
   9. СТРАНИЦА 404
   ========================================= */
.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--bg-body);
}

.error-container {
  text-align: center;
  padding: 40px 24px;
  max-width: 480px;
}

.error-code {
  font-size: 120px;
  font-weight: 800;
  line-height: 1;
  background: var(--color-brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

.bridge-broken {
  position: absolute;
  bottom: 8px; left: 50%;
  transform: translateX(-50%);
  width: 60%; height: 3px;
  background: var(--border-color);
}

.bridge-broken::before,
.bridge-broken::after {
  content: '';
  position: absolute;
  top: 0;
  width: 40%; height: 100%;
  background: var(--color-brand-gradient);
}

.bridge-broken::before { left: 0; }
.bridge-broken::after  { right: 0; }

.error-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.error-desc {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* =========================================
   10. СТРАНИЦА ПОЛИТИКИ (legal)
   ========================================= */
.legal-container {
  max-width: 720px;
  margin: 64px auto 80px;
}

.back-link {
  display: inline-block;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  transition: color 0.2s;
}

.back-link:hover { color: var(--color-max); }

.legal-header { margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--border-color); }

.legal-title { font-size: 36px; font-weight: 800; letter-spacing: -0.5px; }

.legal-content { font-size: 15px; line-height: 1.8; color: var(--text-secondary); }

.legal-content h2 { font-size: 20px; font-weight: 600; color: var(--text-primary); margin: 32px 0 12px; }

.legal-content p { margin-bottom: 16px; }

/* =========================================
   АДАПТИВНОСТЬ (MOBILE)
   ========================================= */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-title { font-size: 36px; }
  .hero-subtitle { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .integration-showcase { display: none; }
  .trust-stats-grid { grid-template-columns: 1fr; }
  .trust-stat { border-right: none; border-bottom: 1px solid var(--border-color); }
  .trust-stat:last-child { border-bottom: none; }
  .content-types-grid { grid-template-columns: 1fr; }
  .features-grid, .steps-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 28px; }
  .pricing-grid { flex-direction: column; }
  .calc-block { padding: 24px; }
  .calc-body { flex-direction: column; gap: 20px; }
  .calc-result { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-desc { margin: 16px auto 24px; }
  .footer-socials { justify-content: center; }
}

@media (max-width: 700px) {
  /* Навигация — гамбургер */
  .nav-burger { display: flex; }
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: fixed;
    top: 0; right: 0;
    width: min(280px, 80vw);
    height: 100vh;
    background: var(--bg-surface);
    box-shadow: -4px 0 24px rgba(0,0,0,.12);
    padding: 72px 28px 32px;
    z-index: 100;
    transform: translateX(100%);
    transition: transform .28s cubic-bezier(.4,0,.2,1);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a {
    width: 100%;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links a:last-child { border-bottom: none; margin-top: 16px; }
  .nav-links .nav-cta {
    display: inline-block;
    padding: 12px 20px;
    background: var(--color-brand-gradient);
    color: #fff !important;
    border-radius: 10px;
    text-align: center;
    width: 100%;
  }

  #scroll-top { bottom: 20px; right: 16px; }

  /* Hero */
  .hero-section { padding: 48px 0 64px; }
  .hero-title { font-size: 28px; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; text-align: center; }

  /* Секции */
  .section-title { font-size: 24px; }
  .pricing-card { padding: 28px 20px; }
}
