/* ============================================================
   Делорум — стили лендинга и pSEO-страниц
   (вынесено из inline <style> в index.html для переиспользования)
   ============================================================ */
    /* ---- Лендинг: собственные стили ---- */
    body { overflow-x: hidden; }

    /* ============ ХЕДЕР ============ */
    .site-header {
      position: fixed;
      top: 0; left: 0; right: 0;
      height: 68px;
      z-index: 90;
      display: flex;
      align-items: center;
      padding: 0 5%;
      transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
    }
    .site-header.scrolled {
      background: rgba(248,249,252,0.85);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      box-shadow: 0 1px 0 var(--border);
    }
    [data-theme="dark"] .site-header.scrolled {
      background: rgba(15,15,20,0.85);
    }

    .site-logo {
      font-size: 22px;
      font-weight: 900;
      color: var(--accent);
      letter-spacing: -0.5px;
      text-decoration: none;
      margin-right: auto;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .site-logo svg { width: 32px; height: 32px; }

    .header-nav {
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .header-nav a {
      color: var(--text-secondary);
      font-size: 14px;
      font-weight: 500;
      padding: 8px 14px;
      border-radius: var(--radius);
      transition: color var(--transition), background var(--transition);
      text-decoration: none;
    }
    .header-nav a:hover {
      color: var(--text);
      background: var(--bg-hover);
      opacity: 1;
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-left: 20px;
    }

    .theme-btn {
      width: 38px;
      height: 38px;
      border-radius: var(--radius);
      background: transparent;
      border: 1.5px solid var(--border);
      color: var(--text-secondary);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all var(--transition);
      font-size: 18px;
    }
    .theme-btn:hover {
      background: var(--bg-hover);
      color: var(--text);
      border-color: var(--text-secondary);
    }

    /* ============ HERO ============ */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      text-align: center;
      padding: 100px 5% 80px;
      position: relative;
      overflow: hidden;
    }

    /* Фоновые градиентные пятна */
    .hero-blob {
      position: absolute;
      border-radius: 50%;
      filter: blur(80px);
      opacity: 0.15;
      pointer-events: none;
      z-index: 0;
      animation: blobFloat 8s ease-in-out infinite alternate;
    }
    .hero-blob-1 {
      width: 600px; height: 600px;
      background: radial-gradient(circle, #7C3AED, #4F46E5);
      top: -100px; left: -150px;
      animation-delay: 0s;
    }
    .hero-blob-2 {
      width: 500px; height: 500px;
      background: radial-gradient(circle, #0EA5E9, #06B6D4);
      top: 50px; right: -100px;
      animation-delay: 3s;
    }
    .hero-blob-3 {
      width: 400px; height: 400px;
      background: radial-gradient(circle, #EC4899, #F43F5E);
      bottom: -50px; left: 30%;
      animation-delay: 1.5s;
    }

    @keyframes blobFloat {
      from { transform: translate(0, 0) scale(1); }
      to   { transform: translate(30px, 20px) scale(1.05); }
    }

    .hero-content { position: relative; z-index: 1; max-width: 820px; }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--accent-light);
      color: var(--accent-text);
      border: 1px solid rgba(124,58,237,0.2);
      border-radius: var(--radius-full);
      padding: 8px 18px;
      font-size: 13px;
      font-weight: 600;
      margin-bottom: 28px;
      animation: fadeUp 0.6s ease both;
    }
    .hero-badge-dot {
      width: 6px; height: 6px;
      background: var(--accent);
      border-radius: 50%;
      animation: pulse 2s infinite;
    }
    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50%       { opacity: 0.5; transform: scale(1.3); }
    }

    .hero-title {
      font-size: clamp(42px, 7vw, 80px);
      font-weight: 900;
      line-height: 1.05;
      letter-spacing: -2px;
      color: var(--text);
      margin-bottom: 24px;
      animation: fadeUp 0.6s 0.1s ease both;
    }

    .hero-title-accent {
      background: linear-gradient(135deg, #7C3AED 0%, #0EA5E9 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-subtitle {
      font-size: clamp(17px, 2.5vw, 22px);
      color: var(--text-secondary);
      line-height: 1.6;
      max-width: 580px;
      margin: 0 auto 40px;
      animation: fadeUp 0.6s 0.2s ease both;
    }

    .hero-buttons {
      display: flex;
      gap: 14px;
      justify-content: center;
      flex-wrap: wrap;
      animation: fadeUp 0.6s 0.3s ease both;
    }

    .hero-social-proof {
      margin-top: 48px;
      color: var(--text-muted);
      font-size: 13px;
      animation: fadeUp 0.6s 0.4s ease both;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
    .hero-social-proof span { color: var(--text-secondary); font-weight: 600; }

    /* Живая демо-доска */
    .hero-demo {
      position: relative;
      z-index: 1;
      margin-top: 64px;
      width: 100%;
      max-width: 900px;
      animation: fadeUp 0.8s 0.5s ease both;
    }

    .demo-board {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow-lg), 0 0 0 1px rgba(124,58,237,0.05);
      overflow: hidden;
    }

    .demo-header {
      padding: 16px 20px;
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: center;
      gap: 12px;
      background: var(--bg-hover);
    }
    .demo-dot { width: 12px; height: 12px; border-radius: 50%; }
    .demo-dot:nth-child(1) { background: #FF5F57; }
    .demo-dot:nth-child(2) { background: #FEBC2E; }
    .demo-dot:nth-child(3) { background: #28C840; }
    .demo-title {
      font-size: 13px;
      color: var(--text-secondary);
      margin-left: 8px;
      font-weight: 500;
    }

    .demo-cols {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1px;
      background: var(--border);
      min-height: 280px;
    }

    .demo-col {
      background: var(--bg);
      padding: 16px 12px;
    }

    .demo-col-header {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text-muted);
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .demo-col-count {
      background: var(--border);
      color: var(--text-secondary);
      padding: 2px 7px;
      border-radius: var(--radius-full);
      font-size: 11px;
      font-weight: 700;
    }

    .demo-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 10px 12px;
      margin-bottom: 8px;
      font-size: 13px;
      color: var(--text);
      font-weight: 500;
      box-shadow: var(--shadow-sm);
      transition: transform 0.2s, box-shadow 0.2s;
      cursor: grab;
      position: relative;
    }
    .demo-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

    .demo-card-label {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      font-size: 10px;
      font-weight: 600;
      padding: 2px 7px;
      border-radius: var(--radius-full);
      margin-bottom: 6px;
    }
    .demo-card-label.purple { background: var(--accent-light); color: var(--accent-text); }
    .demo-card-label.blue   { background: #DBEAFE; color: #1E40AF; }
    .demo-card-label.green  { background: #D1FAE5; color: #065F46; }
    [data-theme="dark"] .demo-card-label.blue  { background: #1E3A5F; color: #93C5FD; }
    [data-theme="dark"] .demo-card-label.green { background: #064E3B; color: #6EE7B7; }

    .demo-card-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 8px;
    }
    .demo-mini-avatar {
      width: 20px; height: 20px;
      border-radius: 50%;
      font-size: 9px;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      flex-shrink: 0;
    }
    .demo-card-date { font-size: 11px; color: var(--text-muted); }

    .demo-card.moving {
      animation: cardMove 2s 1s ease infinite;
    }
    @keyframes cardMove {
      0%, 85%, 100% { transform: none; box-shadow: var(--shadow-sm); }
      10%           { transform: scale(1.04) rotate(-1deg); box-shadow: var(--shadow-md); }
      15%, 80%      { transform: scale(1.04) rotate(-1deg) translateX(4px); box-shadow: var(--shadow-md); }
    }

    /* Таймер в карточке */
    .demo-timer {
      display: flex;
      align-items: center;
      gap: 5px;
      font-size: 11px;
      color: var(--accent);
      font-weight: 700;
    }
    .demo-timer-dot {
      width: 6px; height: 6px;
      border-radius: 50%;
      background: var(--accent);
      animation: pulse 1s infinite;
    }

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

    /* ============ БОЛЬ И РЕШЕНИЕ ============ */
    .section { padding: 96px 5%; }
    .section-center { text-align: center; }

    .section-tag {
      display: inline-block;
      background: var(--accent-light);
      color: var(--accent-text);
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      padding: 6px 14px;
      border-radius: var(--radius-full);
      margin-bottom: 16px;
    }

    .section-title {
      font-size: clamp(28px, 4vw, 44px);
      font-weight: 800;
      letter-spacing: -1px;
      color: var(--text);
      line-height: 1.15;
      margin-bottom: 16px;
    }

    .section-subtitle {
      font-size: 18px;
      color: var(--text-secondary);
      max-width: 580px;
      margin: 0 auto;
      line-height: 1.6;
    }

    .problems-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
      margin-top: 56px;
    }

    .problem-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-xl);
      padding: 28px;
      box-shadow: var(--shadow-sm);
      transition: transform var(--transition), box-shadow var(--transition);
    }
    .problem-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
    }

    .problem-icon {
      font-size: 36px;
      margin-bottom: 16px;
      display: block;
    }

    .problem-q {
      font-size: 15px;
      color: var(--text-secondary);
      margin-bottom: 12px;
      font-style: italic;
      padding-left: 12px;
      border-left: 3px solid var(--border);
    }

    .problem-a {
      display: flex;
      align-items: flex-start;
      gap: 10px;
    }
    .problem-check {
      width: 20px; height: 20px;
      border-radius: 50%;
      background: var(--accent);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      flex-shrink: 0;
      margin-top: 2px;
    }
    .problem-answer {
      font-size: 15px;
      color: var(--text);
      font-weight: 500;
      line-height: 1.5;
    }

    /* ============ ВОЗМОЖНОСТИ ============ */
    .features-section {
      padding: 96px 5%;
      background: var(--bg-card);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }

    .features-tabs {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: 48px;
      margin-bottom: 40px;
      justify-content: center;
    }

    .feature-tab {
      padding: 10px 20px;
      border-radius: var(--radius-full);
      font-size: 14px;
      font-weight: 600;
      border: 1.5px solid var(--border);
      background: transparent;
      color: var(--text-secondary);
      cursor: pointer;
      transition: all var(--transition);
    }
    .feature-tab:hover {
      border-color: var(--accent);
      color: var(--accent);
      background: var(--accent-light);
    }
    .feature-tab.active {
      background: var(--accent);
      border-color: var(--accent);
      color: #fff;
    }

    .feature-content {
      display: none;
      animation: fadeIn 0.3s ease;
    }
    .feature-content.active { display: grid; }

    .feature-grid {
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
      max-width: 960px;
      margin: 0 auto;
    }

    .feature-text h3 {
      font-size: 28px;
      font-weight: 800;
      letter-spacing: -0.5px;
      color: var(--text);
      margin-bottom: 16px;
      line-height: 1.2;
    }

    .feature-text p {
      font-size: 16px;
      color: var(--text-secondary);
      line-height: 1.7;
      margin-bottom: 24px;
    }

    .feature-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .feature-list li {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 15px;
      color: var(--text);
    }

    .feature-list li::before {
      content: '✓';
      width: 22px; height: 22px;
      background: var(--accent-light);
      color: var(--accent);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      font-weight: 700;
      flex-shrink: 0;
      margin-top: 1px;
    }

    .feature-visual {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius-xl);
      padding: 24px;
      min-height: 280px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      position: relative;
    }

    /* ============ ДЛЯ КОГО ============ */
    .personas-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 20px;
      margin-top: 56px;
    }

    .persona-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-xl);
      padding: 28px 24px;
      text-align: center;
      transition: all var(--transition);
      cursor: default;
    }
    .persona-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-md);
      border-color: var(--accent);
    }

    .persona-emoji { font-size: 48px; margin-bottom: 16px; display: block; }
    .persona-role {
      font-size: 16px;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 10px;
    }
    .persona-desc {
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.6;
    }

    /* ============ ТАРИФЫ ============ */
    .pricing-section { padding: 96px 5%; }

    .billing-toggle {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      margin: 32px 0 48px;
      font-size: 14px;
      color: var(--text-secondary);
      font-weight: 500;
    }

    .toggle-switch {
      width: 48px; height: 26px;
      background: var(--border);
      border-radius: var(--radius-full);
      position: relative;
      cursor: pointer;
      transition: background var(--transition);
      border: none;
    }
    .toggle-switch.active { background: var(--accent); }
    .toggle-knob {
      position: absolute;
      top: 3px; left: 3px;
      width: 20px; height: 20px;
      background: #fff;
      border-radius: 50%;
      transition: transform var(--transition);
      box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    }
    .toggle-switch.active .toggle-knob { transform: translateX(22px); }

    .billing-save {
      background: #D1FAE5;
      color: #065F46;
      padding: 3px 10px;
      border-radius: var(--radius-full);
      font-size: 12px;
      font-weight: 700;
    }
    [data-theme="dark"] .billing-save { background: #064E3B; color: #6EE7B7; }

    .plans-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 20px;
      max-width: 1060px;
      margin: 0 auto;
    }

    .plan-card {
      background: var(--bg-card);
      border: 1.5px solid var(--border);
      border-radius: var(--radius-xl);
      padding: 28px 24px;
      position: relative;
      transition: all var(--transition);
      display: flex;
      flex-direction: column;
      height: 100%;
    }
    .plan-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

    .plan-card.featured {
      border-color: var(--accent);
      box-shadow: 0 0 0 1px var(--accent), var(--shadow-accent);
    }
    .plan-card.featured:hover { box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg); }

    .plan-badge {
      position: absolute;
      top: -12px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--accent);
      color: #fff;
      font-size: 12px;
      font-weight: 700;
      padding: 4px 14px;
      border-radius: var(--radius-full);
      white-space: nowrap;
    }

    .plan-name {
      font-size: 13px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text-muted);
      margin-bottom: 12px;
    }

    .plan-price {
      font-size: 40px;
      font-weight: 900;
      letter-spacing: -2px;
      color: var(--text);
      line-height: 1;
      margin-bottom: 4px;
      min-height: 40px;
    }
    .plan-price sup { font-size: 20px; vertical-align: super; font-weight: 700; }
    .plan-price-note {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 20px;
      white-space: nowrap;
    }

    .plan-calc {
      font-size: 13px;
      color: var(--accent);
      font-weight: 600;
      margin-bottom: 24px;
      background: var(--accent-light);
      padding: 8px 12px;
      border-radius: var(--radius);
      display: none;
    }

    .plan-divider {
      height: 1px;
      background: var(--border);
      margin: 20px 0;
    }

    .plan-features {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 4px;
      margin-bottom: 24px;
    }
    /* Кнопка тарифа всегда прижата к низу карточки — выравнивание по всем тарифам */
    .plan-card > .btn { margin-top: auto; }
    /* Фиксированная высота строки: пункты в 1 и 2 строки занимают одинаковую высоту,
       поэтому ✓ выравниваются по всем 4 тарифам, даже если текст переносится */
    .plan-features li {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 14px;
      line-height: 1.3;
      color: var(--text-secondary);
      text-align: left;
      min-height: 40px;
      padding-top: 2px;
    }
    .plan-features li .check {
      color: #10B981;
      font-size: 14px;
      flex-shrink: 0;
      font-weight: 700;
      margin-top: 1px;
    }
    .plan-features li .x {
      color: var(--text-muted);
      font-size: 14px;
      flex-shrink: 0;
    }
    .plan-users {
      font-size: 13px;
      color: var(--text-secondary);
      font-weight: 500;
      margin-bottom: 6px;
      white-space: nowrap;
    }
    .plan-storage {
      font-size: 13px;
      color: var(--text-secondary);
      white-space: nowrap;
    }

    /* Калькулятор */
    .pricing-calc {
      max-width: 600px;
      margin: 48px auto 0;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-xl);
      padding: 28px;
      text-align: center;
    }
    .calc-title {
      font-size: 16px;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 20px;
    }
    .calc-slider {
      width: 100%;
      margin: 16px 0;
      accent-color: var(--accent);
    }
    .calc-labels {
      display: flex;
      justify-content: space-between;
      font-size: 12px;
      color: var(--text-muted);
      margin-bottom: 24px;
    }
    .calc-result {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }
    .calc-plan {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 16px;
    }
    .calc-plan.active {
      border-color: var(--accent);
      background: var(--accent-light);
    }
    .calc-plan-name {
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--text-muted);
      margin-bottom: 8px;
    }
    .calc-plan.active .calc-plan-name { color: var(--accent-text); }
    .calc-amount {
      font-size: 24px;
      font-weight: 800;
      color: var(--text);
    }
    .calc-plan.active .calc-amount { color: var(--accent); }
    .calc-per { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

    .pricing-note {
      text-align: center;
      margin-top: 32px;
      font-size: 14px;
      color: var(--text-secondary);
    }
    .pricing-note strong { color: var(--text); }

    /* ============ FAQ ============ */
    .faq-section { padding: 96px 5%; }

    .faq-list {
      max-width: 720px;
      margin: 48px auto 0;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .faq-item {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      transition: border-color var(--transition);
    }
    .faq-item.open { border-color: var(--accent); }

    .faq-q {
      padding: 20px 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      cursor: pointer;
      font-size: 15px;
      font-weight: 600;
      color: var(--text);
      list-style: none;
      transition: background var(--transition);
    }
    .faq-q:hover { background: var(--bg-hover); }

    .faq-icon {
      width: 24px; height: 24px;
      border-radius: 50%;
      background: var(--bg-hover);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      font-size: 18px;
      transition: transform var(--transition), background var(--transition);
      color: var(--text-secondary);
    }
    .faq-item.open .faq-icon {
      transform: rotate(45deg);
      background: var(--accent-light);
      color: var(--accent);
    }

    .faq-a {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.35s ease, padding 0.2s ease;
    }
    .faq-item.open .faq-a { max-height: 300px; }

    .faq-a-inner {
      padding: 0 24px 20px;
      font-size: 15px;
      color: var(--text-secondary);
      line-height: 1.7;
    }

    /* ============ CTA ============ */
    .cta-section {
      padding: 96px 5%;
      background: linear-gradient(135deg, var(--accent) 0%, #4F46E5 50%, #0EA5E9 100%);
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .cta-section::before {
      content: '';
      position: absolute;
      inset: 0;
      background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }

    .cta-content { position: relative; max-width: 640px; margin: 0 auto; }
    .cta-title {
      font-size: clamp(32px, 5vw, 52px);
      font-weight: 900;
      color: #fff;
      letter-spacing: -1.5px;
      margin-bottom: 16px;
      line-height: 1.1;
    }
    .cta-subtitle {
      font-size: 18px;
      color: rgba(255,255,255,0.8);
      margin-bottom: 40px;
      line-height: 1.6;
    }
    .cta-buttons {
      display: flex;
      gap: 14px;
      justify-content: center;
      flex-wrap: wrap;
    }
    .btn-white {
      background: #fff;
      color: var(--accent);
      border-color: #fff;
    }
    .btn-white:hover {
      background: rgba(255,255,255,0.9);
      box-shadow: 0 8px 24px rgba(0,0,0,0.2);
      transform: translateY(-2px);
    }
    .btn-outline-white {
      background: transparent;
      color: #fff;
      border-color: rgba(255,255,255,0.5);
    }
    .btn-outline-white:hover {
      background: rgba(255,255,255,0.1);
      border-color: #fff;
    }

    /* ============ ФУТЕР ============ */
    .site-footer {
      background: var(--bg-card);
      border-top: 1px solid var(--border);
      padding: 48px 5% 32px;
    }

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

    .footer-brand .site-logo {
      margin-bottom: 12px;
      display: inline-flex;
    }
    .footer-desc {
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.7;
      margin-bottom: 20px;
      max-width: 300px;
    }

    .social-buttons {
      display: flex;
      gap: 10px;
    }
    .social-btn {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 8px 14px;
      border-radius: var(--radius);
      border: 1.5px solid var(--border);
      color: var(--text-secondary);
      font-size: 13px;
      font-weight: 600;
      text-decoration: none;
      transition: all var(--transition);
    }
    .social-btn:hover {
      border-color: var(--accent);
      color: var(--accent);
      background: var(--accent-light);
      opacity: 1;
    }
    .social-btn svg { width: 18px; height: 18px; }

    .footer-col h4 {
      font-size: 13px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text-muted);
      margin-bottom: 16px;
    }
    .footer-col a {
      display: block;
      font-size: 14px;
      color: var(--text-secondary);
      text-decoration: none;
      margin-bottom: 10px;
      transition: color var(--transition);
    }
    .footer-col a:hover { color: var(--text); opacity: 1; }

    .footer-bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
      padding-top: 24px;
      border-top: 1px solid var(--border);
      font-size: 13px;
      color: var(--text-muted);
    }

    .footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
    .footer-legal a { color: var(--text-muted); text-decoration: none; }
    .footer-legal a:hover { color: var(--text-secondary); opacity: 1; }
    .footer-rf {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    /* ============ АДАПТИВ ============ */
    @media (max-width: 900px) {
      .demo-cols { grid-template-columns: repeat(2, 1fr); }
      .demo-col:nth-child(3),
      .demo-col:nth-child(4) { display: none; }
      .feature-grid { grid-template-columns: 1fr; }
      .feature-visual { min-height: 200px; }
      .footer-top { grid-template-columns: 1fr; gap: 32px; }
    }

    @media (max-width: 768px) {
      .section { padding: 64px 5%; }
      .hero { padding: 88px 5% 64px; }
      .header-nav { display: none; }
      .demo-cols { grid-template-columns: 1fr 1fr; }
      .plans-grid { grid-template-columns: 1fr; max-width: 380px; }
      .calc-result { grid-template-columns: 1fr; }
      .social-buttons { flex-wrap: wrap; }
      .footer-bottom { flex-direction: column; align-items: flex-start; }
    }

    /* Scroll reveal */
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.visible {
      opacity: 1;
      transform: none;
    }
    .reveal:nth-child(2) { transition-delay: 0.1s; }
    .reveal:nth-child(3) { transition-delay: 0.2s; }
    .reveal:nth-child(4) { transition-delay: 0.3s; }

    /* ============ КАК ЭТО РАБОТАЕТ ============ */
    .how-section {
      padding: 96px 5%;
      text-align: center;
    }

    .steps-grid {
      display: flex;
      align-items: stretch;
      justify-content: center;
      gap: 0;
      margin-top: 56px;
    }

    .step-card {
      flex: 1;
      max-width: 280px;
      padding: 36px 28px;
      text-align: center;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow-sm);
      transition: transform var(--transition), box-shadow var(--transition);
    }
    .step-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
    }

    .step-num {
      width: 52px;
      height: 52px;
      background: linear-gradient(135deg, var(--accent), #4F46E5);
      color: #fff;
      border-radius: 50%;
      font-size: 22px;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px;
      box-shadow: 0 4px 14px rgba(124,58,237,0.35);
    }

    .step-title {
      font-size: 17px;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 10px;
      line-height: 1.3;
    }

    .step-desc {
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.65;
    }

    .step-divider {
      flex-shrink: 0;
      width: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-muted);
    }
    .step-divider svg {
      width: 24px;
      height: 24px;
      opacity: 0.35;
    }

    @media (max-width: 768px) {
      .steps-grid {
        flex-direction: column;
        align-items: center;
        gap: 16px;
      }
      .step-divider { display: none; }
      .step-card { max-width: 100%; width: 100%; }
    }

/* ============================================================
   pSEO-страницы (/dlya/*, /alternativa/*, /resheniya)
   ============================================================ */
.pseo-hero { min-height: auto; padding: 140px 5% 72px; }
.pseo-lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--text-secondary); max-width: 720px; margin: 20px auto 0; line-height: 1.6; }
.pseo-intro { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.75; color: var(--text-secondary); }
.pseo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 48px; text-align: left; }
.pseo-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 26px; }
.pseo-card-icon { font-size: 28px; line-height: 1; }
.pseo-card h3 { font-size: 17px; font-weight: 700; margin: 14px 0 8px; color: var(--text); }
.pseo-card p { font-size: 14.5px; line-height: 1.6; color: var(--text-secondary); margin: 0; }
.pseo-compare { max-width: 760px; margin: 40px auto 0; border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; background: var(--bg-card); }
.pseo-compare-row { display: grid; grid-template-columns: 1fr 110px 110px; align-items: center; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--border); font-size: 14.5px; text-align: left; }
.pseo-compare-row:first-child { border-top: 0; background: var(--bg); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); }
.pseo-compare-feature { color: var(--text); }
.pseo-compare-col { text-align: center; font-weight: 700; }
.pseo-yes { color: #10B981; }
.pseo-no { color: var(--text-muted); }
.pseo-related { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.pseo-related a { display: inline-flex; padding: 10px 18px; border: 1px solid var(--border); border-radius: 99px; background: var(--bg-card); color: var(--text); font-size: 14px; font-weight: 600; transition: all .15s; }
.pseo-related a:hover { border-color: var(--accent); color: var(--accent); }
.pseo-hub-group { margin-top: 44px; text-align: left; }
.pseo-hub-group > h2 { font-size: 22px; font-weight: 800; color: var(--text); margin: 0 0 18px; }
.pseo-hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.pseo-hub-card { display: block; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 24px; transition: all .15s; }
.pseo-hub-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.pseo-hub-card h3 { font-size: 16px; font-weight: 700; color: var(--text); margin: 0 0 6px; }
.pseo-hub-card p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.5; margin: 0; }
@media (max-width: 600px) {
  .pseo-hero { padding: 110px 5% 56px; }
  .pseo-compare-row { grid-template-columns: 1fr 60px 60px; padding: 12px 14px; font-size: 13.5px; gap: 8px; }
}

/* ── pSEO: визуальные блоки (чипы, факты, шаги, фичи, mid-CTA) ──── */
.pseo-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.pseo-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border: 1px solid var(--border); border-radius: var(--radius-full); background: var(--bg-card); font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.pseo-split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; max-width: 1000px; margin: 0 auto; align-items: start; text-align: left; }
.pseo-split .pseo-intro { margin: 0; max-width: none; font-size: 16.5px; }
.pseo-facts { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 24px 26px; }
.pseo-facts h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin: 0 0 16px; font-weight: 700; }
.pseo-facts ul { list-style: none; display: flex; flex-direction: column; gap: 13px; margin: 0; padding: 0; }
.pseo-facts li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-secondary); line-height: 1.45; }
.pseo-facts li b { color: var(--text); }
.pseo-facts .ic { color: var(--accent); flex-shrink: 0; font-weight: 700; }
.pseo-feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; max-width: 1000px; margin: 40px auto 0; text-align: left; }
.pseo-feat > div { display: flex; gap: 13px; align-items: flex-start; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 17px 18px; }
.pseo-feat .e { font-size: 22px; line-height: 1; flex-shrink: 0; }
.pseo-feat b { display: block; font-size: 14.5px; color: var(--text); margin-bottom: 3px; }
.pseo-feat span { font-size: 13px; color: var(--text-secondary); line-height: 1.45; }
.pseo-cta-band { max-width: 900px; margin: 0 auto; background: linear-gradient(135deg, var(--accent) 0%, #4F46E5 100%); border-radius: var(--radius-xl); padding: 40px 32px; text-align: center; color: #fff; }
.pseo-cta-band h3 { font-size: clamp(20px, 3vw, 27px); font-weight: 800; margin: 0 0 8px; color: #fff; letter-spacing: -0.5px; }
.pseo-cta-band p { opacity: .92; margin: 0 0 22px; font-size: 15px; color: #fff; }
.pseo-section { padding: 64px 5%; }
@media (max-width: 760px) {
  .pseo-split { grid-template-columns: 1fr; gap: 24px; }
  .pseo-section { padding: 48px 5%; }
}
