/* Внимание: файл собран автоматически из отдельных таблиц стилей.
   Не редактировать вручную — правьте исходные файлы в css/ и пересоберите:
   python .content/build-css.py
   Состав: style.css, animations.css, icons.css, hero.css, pains.css, features.css, integration.css, benefits.css, calculator.css, compare.css */

/* ===== style.css ===== */
/* ============================================================
   SynkNow Landing Page — style.css
   Палитра и типографика синхронизированы с платформой (v1.1.0)
   Основной цвет: индиго #4f46e5
   Акцент: emerald #10b981
   Шрифт: Inter
   ============================================================ */

:root {
    /* Бренд — как в платформе */
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-soft: #eef2ff;
    --primary-soft-hover: #e0e7ff;

    /* Акцент — успех */
    --accent: #10b981;
    --accent-hover: #059669;
    --accent-soft: #d1fae5;

    /* Нейтральные — из дизайн-системы платформы */
    --text: #1a1f2a;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --bg-light: #ffffff;
    --bg-soft: #eef1f6;
    --surface-2: #f8fafc;
    --white: #ffffff;
    --border: #d5dae3;
    --border-strong: #b9c1ce;

    /* Семантика */
    --danger: #ef4444;
    --warning: #ffaa00;
    --info: #3b82f6;

    /* Тени */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);

    /* Скругления */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;

    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--bg-light);
    background-image: none;
    transition: background-color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    color: var(--primary);
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
}

p {
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.35);
}

.btn-ghost {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: none;
}

.btn-ghost:hover {
    background: var(--primary-soft);
    border-color: var(--primary);
    color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
}

.btn-large {
    padding: 15px 32px;
    font-size: 1.1rem;
}

/* Пульсация главной кнопки.
   Keyframes объявлены здесь, используется в animations.css
   (.hero .btn-primary { animation: pulse 2s infinite; }). */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(79, 70, 229, 0); }
    100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}

/* Шапка */
.site-header {
    background: #ffffff;
    color: var(--text);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
    text-decoration: none;
}

.logo img {
    display: block;
    height: 40px;
    width: auto;
}

.logo-text {
    color: var(--primary);
}

.main-nav {
    display: flex;
    gap: 25px;
}

.main-nav a {
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--primary);
}

.main-nav a.active {
    color: var(--primary);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 2px;
}

.header-actions {
    display: flex;
    gap: 12px;
}

.header-actions .btn {
    padding: 8px 18px;
    font-size: 0.9rem;
}

.header-actions .btn-ghost {
    border-color: var(--border);
    color: var(--text);
}

.header-actions .btn-ghost:hover {
    background: var(--bg-soft);
    border-color: var(--text-light);
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: #ffffff;
    padding: 20px;
    gap: 15px;
    border-top: 1px solid var(--border);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.mobile-menu a {
    color: var(--text);
    font-weight: 500;
    padding: 5px 0;
}

.mobile-menu .btn {
    text-align: center;
}

/* Главный экран */
.hero {
    background: linear-gradient(135deg, #eef2ff 0%, #ffffff 100%);
    color: var(--text);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: var(--primary);
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-buttons .btn-ghost {
    border-color: var(--primary);
    color: var(--primary);
}

.hero-buttons .btn-ghost:hover {
    background: var(--primary-soft);
    border-color: var(--primary);
    color: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
}

/* Бейджи в hero */
.hero-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(79, 70, 229, 0.06);
    border: 1px solid rgba(79, 70, 229, 0.2);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition);
    cursor: default;
}

.badge:hover {
    background: rgba(79, 70, 229, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 14px rgba(79, 70, 229, 0.2);
}

.badge-icon {
    font-size: 1.1rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.badge:hover .badge-icon {
    transform: scale(1.3) rotate(8deg);
}

/* Статистика в hero */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    padding: 25px 20px;
    border: 1px solid var(--border);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(4px);
}

.stat-item {
    flex: 1;
    min-width: 140px;
    padding: 0 15px;
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.stat-divider {
    width: 1px;
    background: var(--border);
    margin: 5px 0;
}

/* Возможности */
.features {
    padding: 80px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.features::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -20%;
    width: 50%;
    height: 80%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.section-description {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    position: relative;
    z-index: 1;
}

/* Базовая карточка модуля.
   Анимация появления и hover — в animations.css. */
.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

.feature-card h3 {
    color: var(--primary);
}

.feature-link {
    margin-top: auto;
    padding-top: 15px;
    color: var(--accent);
    font-weight: 600;
    transition: var(--transition);
    pointer-events: none;
}

.feature-link:hover {
    color: var(--accent-hover);
}

/* Интеграция */
.integration {
    padding: 80px 0;
    background: var(--bg-soft);
    position: relative;
    overflow: hidden;
}

.integration-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.integration-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius);
    background: #ffffff;
    border: 1px solid var(--border);
}

.integration-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.integration-item:hover .integration-icon {
    transform: scale(1.2);
}

.integration-item h3 {
    color: var(--primary);
}

/* Калькулятор */
.calculator {
    padding: 80px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.calculator-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.calc-tab {
    background: #ffffff;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.calc-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.calc-tab:hover:not(.active) {
    border-color: var(--primary);
    color: var(--primary);
}

.calculator-panels {
    position: relative;
}

.calc-panel {
    display: none;
}

.calc-panel.active {
    display: block;
}

.calculator-box {
    max-width: 700px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
}

.calculator-form .form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.calculator-form .form-group {
    flex: 1 1 200px;
}

.calculator-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-weight: 500;
}

.calculator-form input,
.calculator-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
    font-family: inherit;
    background: #ffffff;
    color: var(--text);
}

.calculator-form input:focus,
.calculator-form select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.calculator-result {
    margin-top: 30px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.result-item {
    text-align: center;
    flex: 1 1 150px;
    padding: 20px;
    background: var(--bg-soft);
    border-radius: var(--radius);
}

.result-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.result-label {
    font-size: 0.95rem;
    color: var(--text-light);
}

.calculator-total {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.calculator-total h3 {
    margin-bottom: 20px;
}

.calculator-note {
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
    line-height: 1.5;
}

/* Тарифы */
.pricing {
    padding: 80px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

/* Базовая карточка тарифа.
   Анимация появления и hover — в animations.css. */
.pricing-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 25px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    flex: 1 1 240px;
    max-width: 280px;
    min-width: 220px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.pricing-card.popular {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 20px 0;
    line-height: 1.2;
    overflow-wrap: break-word;
    word-break: break-word;
}

.price.custom-price {
    font-size: 1.8rem;
    white-space: nowrap;
}

.price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 25px;
    flex-grow: 1;
}

.pricing-card ul li {
    padding: 5px 0;
    color: var(--text-light);
    font-size: 0.95rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.pricing-card ul li.extra-seat {
    color: var(--accent);
    font-weight: 600;
}

.tariff-details {
    display: none;
}

.pricing-card .btn {
    width: 100%;
    margin-top: auto;
}

.tariff-hint {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 10px;
    text-align: center;
}

/* Преимущества */
.benefits {
    padding: 80px 0;
    background: var(--bg-soft);
    position: relative;
    overflow: hidden;
}

.benefits::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -20%;
    width: 50%;
    height: 80%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.benefits-base-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.benefit-base {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
}

.benefit-base:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.benefits-metrics-title {
    color: var(--primary);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 30px;
}

.benefits-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

/* Базовая карточка метрики.
   Анимация появления и hover — в animations.css. */
.benefit-metric-card {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    text-align: center;
}

.benefit-metric {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.2;
}

/* Как начать */
.start {
    padding: 80px 0;
    background: var(--bg-light);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.step {
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 15px;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.start-actions {
    text-align: center;
}

/* Скачать */
.download {
    padding: 80px 0;
    background: var(--bg-soft);
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 15px 25px;
    transition: var(--transition);
    color: var(--text);
    font-weight: 600;
}

.download-btn:hover:not(.disabled) {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.download-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.os-icon {
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.download-btn:hover:not(.disabled) .os-icon {
    transform: scale(1.2);
}

.os-name {
    font-size: 1.1rem;
}

.os-version {
    font-size: 0.8rem;
    color: var(--text-light);
}

.download-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* FAQ */
.faq {
    padding: 80px 0;
    background: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    text-align: left;
    transition: var(--transition);
    font-family: inherit;
}

.faq-question:hover {
    background: var(--bg-soft);
}

.faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: var(--transition);
    color: var(--accent);
}

/* Раскрытие FAQ. Transition — в animations.css. */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-light);
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

/* Контакты и форма */
.contact {
    padding: 80px 0;
    background: var(--bg-soft);
    color: var(--text);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(79, 70, 229, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact h2 {
    color: var(--primary);
}

.contact p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact .btn-ghost {
    border-color: var(--primary);
    color: var(--primary);
}

.contact .btn-ghost:hover {
    background: var(--primary-soft);
    border-color: var(--primary);
    color: var(--primary-hover);
}

/* Форма обратной связи */
.contact-form-wrapper {
    margin-top: 40px;
    background: #ffffff;
    border-radius: var(--radius);
    padding: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.contact-form-wrapper h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--text);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.form-status {
    margin-top: 15px;
    color: var(--accent);
    font-weight: 500;
    min-height: 1.5em;
}

.form-status.error {
    color: var(--danger);
}

/* Футер */
.site-footer {
    background: #ffffff;
    padding: 40px 0;
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.03);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand {
    flex: 1 1 200px;
}

.footer-column {
    flex: 1 1 160px;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.footer-links,
.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-legal a {
    color: var(--text-light);
    transition: color 0.2s ease, padding-left 0.2s ease;
    font-size: 0.95rem;
    position: relative;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-links a::after,
.footer-legal a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.footer-links a:hover::after,
.footer-legal a:hover::after {
    width: 100%;
}

.footer-brand .logo-text {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.6rem;
}

.footer-brand p {
    margin-top: 5px;
    font-size: 0.9rem;
}

/* Toast-уведомление */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    max-width: 380px;
    background: #ffffff;
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    padding: 15px 20px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: auto;
}

.toast.visible {
    opacity: 1;
    transform: translateY(0);
}

.toast-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    color: var(--primary);
}

.toast-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    line-height: 1;
    padding: 0 5px;
    transition: var(--transition);
}

.toast-close:hover {
    color: var(--text);
}

.toast-body {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Модальное окно (общее) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    padding: 30px;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    color: var(--text);
}

.modal-overlay.open .modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-light);
    transition: 0.2s;
}

.modal-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.modal-icon {
    font-size: 3rem;
    animation: bounce 1s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.modal-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 0;
}

.modal-body {
    color: var(--text);
    line-height: 1.6;
}

.modal-description {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--text);
}

.modal-features {
    list-style: none;
    padding: 0;
    margin: 15px 0 25px;
}

.modal-features li {
    position: relative;
    padding: 8px 0 8px 30px;
    color: var(--text);
    line-height: 1.5;
}

.modal-features li::before {
    content: "▸";
    position: absolute;
    left: 0;
    top: 0.5em;
    color: var(--accent);
    font-size: 0.9em;
    line-height: 1;
}

.modal-footer {
    text-align: center;
    margin-top: 10px;
}

.modal-section {
    margin-bottom: 20px;
}

.modal-section-title {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 5px;
}

.tariff-modal-content {
    max-width: 700px;
}

.tariff-modal-content .modal-body {
    font-size: 1.05rem;
}

.tariff-modal-content .modal-body ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.tariff-modal-content .modal-body ul li {
    padding: 5px 0 5px 25px;
    position: relative;
    font-size: 1rem;
    color: var(--text);
}

.tariff-modal-content .modal-body ul li::before {
    content: "▸";
    position: absolute;
    left: 0;
    top: 0.5em;
    color: var(--accent);
    font-size: 0.9em;
}

/* Кнопка "Наверх".
   Transition и hover-эффекты — в animations.css.
   Здесь — только базовая позиция и вид. */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: 2px solid transparent;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    z-index: 999;
}

.scroll-top-btn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--primary-hover);
}

/* Анимация появления секций.
   ВАЖНО: базовое состояние секции — видимое. Класс .section-visible добавляет
   скрипт, и только тогда секция появляется с анимацией. Так контент остаётся
   читаемым, даже если скрипт не загрузился или не успел отработать — а это
   критично и для поисковых роботов, которые снимают страницу без прокрутки. */

.features.section-visible,
.integration.section-visible,
.calculator.section-visible,
.pricing.section-visible,
.benefits.section-visible,
.start.section-visible,
.download.section-visible,
.faq.section-visible,
.contact.section-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Модальное окно политик */
.document-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.document-modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.document-modal-content {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    width: 800px;
    max-width: 95%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.document-modal-overlay.open .document-modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.document-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.document-modal-header h3 {
    color: var(--primary);
    margin: 0;
    font-size: 20px;
}

.document-modal-close {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    transition: 0.2s;
}

.document-modal-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.document-modal-body {
    flex: 1;
    overflow-y: auto;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 15px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-wrap;
    max-height: 60vh;
    min-height: 300px;
}

/* Скроллбары */
.modal-content,
.document-modal-body,
.tariff-modal-content {
    scrollbar-width: thin;
    scrollbar-color: rgba(79, 70, 229, 0.3) transparent;
}

.modal-content::-webkit-scrollbar,
.document-modal-body::-webkit-scrollbar,
.tariff-modal-content::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.modal-content::-webkit-scrollbar-track,
.document-modal-body::-webkit-scrollbar-track,
.tariff-modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content::-webkit-scrollbar-thumb,
.document-modal-body::-webkit-scrollbar-thumb,
.tariff-modal-content::-webkit-scrollbar-thumb {
    background-color: rgba(79, 70, 229, 0.3);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover,
.document-modal-body::-webkit-scrollbar-thumb:hover,
.tariff-modal-content::-webkit-scrollbar-thumb:hover {
    background-color: rgba(79, 70, 229, 0.6);
}

/* Стили страницы "О компании" */
.about-page {
    background: var(--bg-light);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.about-page::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 70%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: heroGlowLeft 8s ease-in-out infinite;
}

.about-page::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 60%;
    height: 70%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: heroGlowRight 10s ease-in-out infinite;
}

@keyframes heroGlowLeft {
    0%, 100% { opacity: 0.8; transform: translate(0, 0) scale(1); }
    50% { opacity: 1; transform: translate(30px, 30px) scale(1.15); }
}

@keyframes heroGlowRight {
    0%, 100% { opacity: 0.8; transform: translate(0, 0) scale(1); }
    50% { opacity: 1; transform: translate(-30px, -30px) scale(1.15); }
}

.about-page .container {
    position: relative;
    z-index: 1;
}

.about-page-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-page-header h1 {
    color: var(--primary);
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-page-header .highlight {
    color: var(--accent);
}

.about-page-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

/* Карточка about. Hover и transition оставлены здесь, потому что
   страница about.html подключает только style.css (без animations.css). */
.about-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    transition: var(--transition);
}

.about-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.about-card h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

.about-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.about-advantages,
.about-requisites,
.about-contacts {
    max-width: 800px;
    margin: 0 auto 60px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
}

.about-advantages h2,
.about-requisites h2,
.about-contacts h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
}

.about-advantages ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.about-advantages li {
    position: relative;
    padding-left: 30px;
    color: var(--text-light);
    line-height: 1.6;
}

.about-advantages li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.about-requisites p,
.about-contacts p {
    color: var(--text-light);
    line-height: 1.8;
    text-align: center;
}

.about-requisites a,
.about-contacts a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: underline;
}

.about-requisites a:hover,
.about-contacts a:hover {
    color: var(--accent);
}

/* ============================================================
   Блок со скриншотами платформы (index.html)
   ============================================================ */
.platform-screens {
    padding: 80px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.platform-screens::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 55%;
    height: 70%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.platform-screens .container {
    position: relative;
    z-index: 1;
}

.screens-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    margin-top: 40px;
}

@media (max-width: 1024px) {
    .screens-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .screens-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Карточка скриншота. Hover и transition — в animations.css. */
.screen-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.screen-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--primary-soft) 0%, var(--bg-soft) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.screen-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    display: block;
}

.screen-card-image.placeholder::after {
    content: 'Скриншот';
    color: var(--primary);
    opacity: 0.4;
}

.screen-card-body {
    padding: 20px;
}

.screen-card-body h3 {
    color: var(--primary);
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.screen-card-body p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.screens-cta {
    text-align: center;
    margin-top: 40px;
}

/* ============================================================
   Стили для страницы platform.html
   ============================================================ */
.platform-page {
    background: var(--bg-light);
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
}

.platform-page::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 70%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.platform-page::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 60%;
    height: 70%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.platform-page .container {
    position: relative;
    z-index: 1;
}

.platform-hero {
    text-align: center;
    margin-bottom: 60px;
}

.platform-hero h1 {
    color: var(--primary);
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.15;
}

.platform-hero .lead {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 720px;
    margin: 0 auto 30px;
}

.platform-hero-image {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    background: linear-gradient(135deg, var(--primary-soft) 0%, var(--bg-soft) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    cursor: zoom-in;
}

.platform-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.platform-feature.reverse {
    direction: rtl;
}

.platform-feature.reverse > * {
    direction: ltr;
}

.platform-feature-text h2 {
    text-align: left;
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.platform-feature-text p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.platform-feature-text ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.platform-feature-text ul li {
    position: relative;
    padding: 6px 0 6px 28px;
    color: var(--text);
    font-size: 1rem;
}

.platform-feature-text ul li::before {
    content: "▸";
    position: absolute;
    left: 0;
    top: 0.5em;
    color: var(--accent);
    font-size: 0.9em;
}

.platform-feature-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    background: linear-gradient(135deg, var(--primary-soft) 0%, var(--bg-soft) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    min-height: 300px;
}

.platform-feature-image img {
    width: 100%;
    height: auto;
    display: block;
    cursor: zoom-in;
}

.platform-cta {
    text-align: center;
    padding: 60px 0;
}

.platform-cta h2 {
    margin-bottom: 15px;
}

.platform-cta p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.platform-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Адаптивность */
@media (max-width: 768px) {
    .about-page {
        padding: 60px 0;
    }

    .about-page-header h1 {
        font-size: 2.25rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-advantages,
    .about-requisites,
    .about-contacts {
        padding: 20px;
    }

    .modal-content {
        padding: 20px;
        width: 95%;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-icon {
        font-size: 2.5rem;
    }

    .document-modal-content {
        padding: 15px;
        width: 95%;
    }

    .document-modal-body {
        max-height: 50vh;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .main-nav,
    .header-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu.open {
        display: flex;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-stats {
        gap: 20px;
        flex-direction: column;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        min-width: auto;
    }

    .about-grid,
    .integration-examples,
    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        max-width: 100%;
        flex: 1 1 auto;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        text-align: left;
    }

    .footer-legal {
        text-align: left;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .calculator-box {
        padding: 25px;
    }

    .calculator-form .form-row {
        flex-direction: column;
    }

    /* Platform page */
    .platform-hero h1 {
        font-size: 2.25rem;
    }

    .platform-feature,
    .platform-feature.reverse {
        grid-template-columns: 1fr;
        gap: 25px;
        direction: ltr;
    }
}

/* ============================================================ */
/* Лайтбокс для скриншотов                                      */
/* ============================================================ */

.screen-card-clickable,
.platform-hero-image img,
.platform-feature-image img {
    cursor: zoom-in;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.lightbox.open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-img {
    max-width: 95vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.96);
    transition: transform 0.25s ease;
    background: #ffffff;
}

.lightbox.open .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: rotate(90deg);
}

@media (max-width: 640px) {
    .lightbox {
        padding: 20px 10px;
    }
    .lightbox-close {
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
}

/* ============================================================ */
/* Секция «Кому подходит SynkNow» на platform.html              */
/* ============================================================ */

.platform-fit {
    padding: 60px 0 20px;
    margin-bottom: 40px;
}

.platform-fit h2 {
    text-align: center;
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 15px;
}

.platform-fit-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 680px;
    margin: 0 auto 45px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.platform-fit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.platform-fit-card {
    display: flex;
    flex-direction: column;
    padding: 28px 22px 24px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
                box-shadow 0.35s ease,
                border-color 0.3s ease;
    height: 100%;
}

.platform-fit-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.platform-fit-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(180deg, #1e40af 0%, #1e3a8a 100%);
    color: #ffffff;
    margin-bottom: 20px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 2px 6px rgba(30, 58, 138, 0.18);
}

.platform-fit-card-icon .icon {
    width: 26px;
    height: 26px;
    stroke-width: 1.75;
}

.platform-fit-card h3 {
    color: var(--primary);
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.3;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef1f6;
}

.platform-fit-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 16px;
    flex-grow: 1;
}

.platform-fit-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.platform-fit-tags span {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.7rem;
    font-weight: 500;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    line-height: 1.4;
    white-space: nowrap;
}

.platform-fit-card:hover .platform-fit-tags span {
    background: #eff6ff;
    border-color: #c7d2fe;
    color: #1e3a8a;
}

/* ============================================================ */
/* Секция «Технологии и архитектура» на platform.html           */
/* ============================================================ */

.platform-tech-section {
    padding: 60px 0 20px;
    margin-bottom: 40px;
}

.platform-tech-section h2 {
    text-align: center;
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 15px;
}

.platform-tech-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 720px;
    margin: 0 auto 45px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.platform-tech-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.platform-tech-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 22px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
                box-shadow 0.35s ease,
                border-color 0.3s ease;
    height: 100%;
}

.platform-tech-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.platform-tech-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(180deg, #1e40af 0%, #1e3a8a 100%);
    color: #ffffff;
    margin-bottom: 18px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 2px 6px rgba(30, 58, 138, 0.18);
}

.platform-tech-icon .icon {
    width: 24px;
    height: 24px;
    stroke-width: 1.75;
}

.platform-tech-card h3 {
    color: var(--primary);
    font-size: 1.0625rem;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.3;
}

.platform-tech-card p {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

/* Адаптивность новых секций */
@media (max-width: 1024px) {
    .platform-fit-grid,
    .platform-tech-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .platform-fit-grid,
    .platform-tech-grid {
        grid-template-columns: 1fr;
    }

    .platform-fit h2,
    .platform-tech-section h2 {
        font-size: 1.6rem;
    }

    .platform-fit-subtitle,
    .platform-tech-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
}


/* ============================================================
   ФОН СТРАНИЦЫ: фирменная дымка под контентом
   ------------------------------------------------------------
   Слой лежит под содержимым, клики не перехватывает, ничего не
   анимирует. Белые секции чуть пропускают его — страница перестаёт
   быть плоской, а текст остаётся на почти белом (контраст AA).
   ============================================================ */

:root {
    --glow-indigo: rgba(79, 70, 229, 0.14);
    --glow-emerald: rgba(16, 185, 129, 0.10);
    --glow-blue: rgba(56, 189, 248, 0.10);
    --veil-white: rgba(255, 255, 255, 0.78);
    --grid-line: rgba(79, 70, 229, 0.085);
    --veil-soft: rgba(238, 241, 246, 0.88);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-color: #ffffff;
    background-image:
        radial-gradient(48rem 32rem at 14% -8%, var(--glow-indigo), transparent 66%),
        radial-gradient(42rem 28rem at 88% 44%, var(--glow-emerald), transparent 68%),
        radial-gradient(46rem 32rem at 8% 104%, var(--glow-blue), transparent 68%);
}

/* зерно: убирает полосы на больших градиентах, 0,045 плотности */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
    background-size: 160px 160px;
}

/* белые секции пропускают дымку */
.features,
.calculator,
.pricing,
.start,
.faq {
    background-color: var(--veil-white);
}

/* серые секции: мягкие края вместо резкой границы белого и серого */
.integration,
.benefits,
.download,
.contact {
    background-color: transparent;
    background-image: linear-gradient(
        180deg,
        rgba(238, 241, 246, 0) 0%,
        var(--veil-soft) 7%,
        var(--veil-soft) 93%,
        rgba(238, 241, 246, 0) 100%
    );
}

/* первый экран: больше объёма и тонкая сетка «системы» */
.hero {
    background-color: transparent;
    background-image:
        radial-gradient(38rem 24rem at 6% -14%, rgba(79, 70, 229, 0.18), transparent 64%),
        radial-gradient(30rem 20rem at 94% 4%, rgba(16, 185, 129, 0.11), transparent 66%),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
        linear-gradient(180deg, var(--grid-line) 1px, transparent 1px),
        linear-gradient(135deg, #eef2ff 0%, #ffffff 100%);
    background-size: auto, auto, 44px 44px, 44px 44px, auto;
    background-position: 0 0, 0 0, -1px -1px, -1px -1px, 0 0;
}

/* кому нужен максимальный контраст — фон отключается полностью */
@media (prefers-contrast: more) {
    body::before,
    body::after {
        display: none;
    }

    .features,
    .calculator,
    .pricing,
    .start,
    .faq {
        background-color: #ffffff;
    }
}

/* ===== animations.css ===== */
/* ============================================================
   SynkNow Landing Page — animations.css
   Палитра синхронизирована с платформой (индиго #4f46e5).
   ============================================================ */

/* ============================================================
   KEYFRAMES
   ============================================================ */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes drawUnderline {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* ============================================================
   ФОН СТРАНИЦЫ
   ============================================================ */

body {
    position: relative;
    background-color: #ffffff;
    background-image:
        radial-gradient(ellipse 80% 40% at 50% -100px, rgba(79, 70, 229, 0.04) 0%, transparent 100%),
        radial-gradient(ellipse 60% 30% at 80% 40%, rgba(79, 70, 229, 0.02) 0%, transparent 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

body::before {
    display: none;
}

body > * {
    position: relative;
    z-index: 1;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
    background: linear-gradient(180deg, #f5f7fc 0%, #fafbfe 60%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero::before,
.hero::after {
    display: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

.orb-primary {
    width: 420px;
    height: 420px;
    background: rgba(79, 70, 229, 0.1);
    top: -140px;
    left: -100px;
}

.orb-accent {
    width: 340px;
    height: 340px;
    background: rgba(79, 70, 229, 0.06);
    bottom: -120px;
    right: -80px;
}

.orb-light,
.orb-soft {
    display: none;
}

/* ============================================================
   СЕКЦИИ
   ============================================================ */

.features,
.integration,
.calculator,
.pricing,
.benefits,
.start,
.download,
.faq,
.contact,
.platform-screens,
.platform-page {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 80px 0;
}

.features::before,
.integration::before,
.calculator::before,
.pricing::before,
.benefits::before,
.start::before,
.download::before,
.faq::before,
.contact::before {
    display: none;
}

.features > .container,
.integration > .container,
.calculator > .container,
.pricing > .container,
.benefits > .container,
.start > .container,
.download > .container,
.faq > .container,
.contact > .container {
    position: relative;
    z-index: 1;
}

.features,
.integration,
.calculator,
.pricing,
.benefits,
.start,
.download,
.faq,
.contact {
    background-color: #ffffff;
}

.platform-screens,
.benefits,
.download,
.contact {
    background-color: #f8fafc;
}

.platform-screens,
.integration,
.benefits,
.download,
.contact {
    border-top: 1px solid #eef1f6;
    border-bottom: 1px solid #eef1f6;
}

.integration {
    border-top: none;
}

/* ============================================================
   ЗАГОЛОВКИ СЕКЦИЙ
   ============================================================ */

.features h2::before,
.integration h2::before,
.calculator h2::before,
.pricing h2::before,
.benefits h2::before,
.start h2::before,
.download h2::before,
.faq h2::before,
.contact h2::before,
.platform-screens h2::before {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    margin: 0 auto 16px;
    border-radius: 2px;
    background: linear-gradient(90deg, #4f46e5 0%, #6366f1 100%);
}

.hero h1::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    margin: 24px auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, #4f46e5 0%, #6366f1 100%);
    animation: drawUnderline 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
    transform-origin: center;
}

/* ============================================================
   КНОПКИ — индиго
   ============================================================ */

.btn {
    transition:
        transform 0.28s cubic-bezier(0.34, 1.4, 0.64, 1),
        box-shadow 0.3s ease,
        background-color 0.22s ease,
        border-color 0.22s ease,
        color 0.22s ease;
    will-change: transform;
    letter-spacing: -0.01em;
    position: relative;
}

/* -------- PRIMARY -------- */
.btn-primary {
    background-color: #4f46e5;
    background-image: linear-gradient(180deg, #6366f1 0%, #4f46e5 100%);
    border: 1px solid #4f46e5;
    color: #ffffff;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 1px 2px rgba(15, 23, 42, 0.15),
        0 4px 12px rgba(79, 70, 229, 0.22);
    overflow: visible;
}

/* Верхний блик */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 1px; left: 1px; right: 1px;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.12), transparent);
    pointer-events: none;
    border-radius: inherit;
}

.btn-primary::after {
    display: none;
}

/* Классическая пульсация одним кольцом — только в hero */
.hero .btn-primary {
    animation: pulse 2s infinite;
}

/* Hover: кольцо + лёгкий подъём + потемнение, пульсация останавливается */
.btn-primary:hover {
    background-color: #4338ca;
    background-image: linear-gradient(180deg, #4f46e5 0%, #4338ca 100%);
    border-color: #4338ca;
    transform: translateY(-1px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.15) inset,
        0 2px 4px rgba(15, 23, 42, 0.15),
        0 8px 20px rgba(79, 70, 229, 0.3),
        0 0 0 4px rgba(79, 70, 229, 0.15);
    animation: none;
}

.btn-primary:active {
    transform: translateY(0);
    background-image: linear-gradient(180deg, #4f46e5 0%, #3730a3 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 1px 2px rgba(15, 23, 42, 0.2),
        0 0 0 3px rgba(79, 70, 229, 0.12);
    transition-duration: 0.08s;
    animation: none;
}

/* ============================================================
   GHOST
   ============================================================ */

.btn-ghost {
    background-color: #ffffff;
    border: 1.5px solid #4f46e5;
    color: #4f46e5;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.btn-ghost:hover {
    background-color: #eef2ff;
    border-color: #4338ca;
    color: #4338ca;
    transform: translateY(-1px);
    box-shadow:
        0 2px 4px rgba(15, 23, 42, 0.06),
        0 6px 16px rgba(79, 70, 229, 0.12),
        0 0 0 4px rgba(79, 70, 229, 0.08);
}

.btn-ghost:active {
    transform: translateY(0);
    background-color: #e0e7ff;
    transition-duration: 0.08s;
}

.hero-buttons .btn-ghost {
    border-color: #4f46e5;
    color: #4f46e5;
}

.hero-buttons .btn-ghost:hover {
    border-color: #4338ca;
    background-color: #eef2ff;
}

/* ============================================================
   КАРТОЧКИ — плавный подъём
   Появление карточек привязано к .section-visible, который
   добавляет IntersectionObserver из main.js. Это фиксит баг,
   когда анимация проигрывалась до появления секции на экране.
   ============================================================ */

.feature-card {
    transition:
        transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
        box-shadow 0.35s ease,
        border-color 0.3s ease;
}

.features.section-visible .feature-card {
    animation: fadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.features.section-visible .feature-card:nth-child(1) { animation-delay: 0.03s; }
.features.section-visible .feature-card:nth-child(2) { animation-delay: 0.06s; }
.features.section-visible .feature-card:nth-child(3) { animation-delay: 0.09s; }
.features.section-visible .feature-card:nth-child(4) { animation-delay: 0.12s; }
.features.section-visible .feature-card:nth-child(5) { animation-delay: 0.15s; }
.features.section-visible .feature-card:nth-child(6) { animation-delay: 0.18s; }
.features.section-visible .feature-card:nth-child(7) { animation-delay: 0.21s; }

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 12px 24px rgba(15, 23, 42, 0.06),
        0 4px 10px rgba(79, 70, 229, 0.06);
    border-color: #a5b4fc;
}

.pricing-card {
    transition:
        transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
        box-shadow 0.35s ease,
        border-color 0.3s ease;
}

.pricing.section-visible .pricing-card {
    animation: fadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.pricing.section-visible .pricing-card:nth-child(1) { animation-delay: 0.05s; }
.pricing.section-visible .pricing-card:nth-child(2) { animation-delay: 0.10s; }
.pricing.section-visible .pricing-card:nth-child(3) { animation-delay: 0.15s; }
.pricing.section-visible .pricing-card:nth-child(4) { animation-delay: 0.20s; }

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 12px 24px rgba(15, 23, 42, 0.07),
        0 4px 10px rgba(79, 70, 229, 0.06);
    border-color: #a5b4fc;
}

.benefit-metric-card {
    animation: fadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    transition:
        transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
        box-shadow 0.35s ease,
        border-color 0.3s ease;
}

.benefit-metric-card.visible {
    opacity: 1;
}

.benefit-metric-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 12px 24px rgba(15, 23, 42, 0.06),
        0 4px 10px rgba(79, 70, 229, 0.06);
    border-color: #a5b4fc;
}

.integration-item {
    transition:
        transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.integration-item:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 20px rgba(15, 23, 42, 0.05),
        0 3px 8px rgba(79, 70, 229, 0.05);
    border-color: #a5b4fc;
}

.about-card {
    transition:
        transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
        box-shadow 0.35s ease,
        border-color 0.3s ease;
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 12px 24px rgba(15, 23, 42, 0.06),
        0 4px 10px rgba(79, 70, 229, 0.05);
    border-color: #a5b4fc;
}

.screen-card {
    transition:
        transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
        box-shadow 0.35s ease,
        border-color 0.3s ease;
}

.screen-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 12px 24px rgba(15, 23, 42, 0.07),
        0 4px 10px rgba(79, 70, 229, 0.06);
    border-color: #a5b4fc;
}

.platform-feature-image {
    transition:
        transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
        box-shadow 0.35s ease;
}

.platform-feature-image:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
}

/* ============================================================
   МОДАЛКИ
   ============================================================ */

.modal-content,
.document-modal-content,
.tariff-modal-content {
    animation: fadeUp 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ============================================================
   КНОПКА "НАВЕРХ"
   ============================================================ */

.scroll-top-btn {
    transition:
        opacity 0.3s ease,
        transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

.scroll-top-btn.visible {
    animation: none;
}

.scroll-top-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 20px rgba(79, 70, 229, 0.35),
        0 0 0 4px rgba(79, 70, 229, 0.12);
}

/* ============================================================
   FAQ
   ============================================================ */

.faq-answer {
    transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   HERO STATS
   ============================================================ */

.stat-item {
    transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.stat-item:hover {
    transform: translateY(-3px);
}

/* ============================================================
   АДАПТИВНОСТЬ
   ============================================================ */

@media (max-width: 768px) {
    .orb {
        filter: blur(70px);
        opacity: 0.35;
    }
    .orb-primary { width: 280px; height: 280px; }
    .orb-accent  { width: 240px; height: 240px; }

    .hero h1::after {
        width: 44px;
        height: 2px;
        margin-top: 18px;
    }

    .features h2::before,
    .integration h2::before,
    .calculator h2::before,
    .pricing h2::before,
    .benefits h2::before,
    .start h2::before,
    .download h2::before,
    .faq h2::before,
    .contact h2::before,
    .platform-screens h2::before {
        width: 32px;
        height: 2px;
    }

    .btn-primary:hover,
    .btn-ghost:hover {
        transform: none;
    }

    .hero .btn-primary {
        animation: none;
    }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== icons.css ===== */
/* ============================================================
   SynkNow Landing Page — icons.css
   Тёмные квадраты с белыми иконками — в цвете кнопок (индиго).
   Палитра синхронизирована с платформой (#4f46e5).
   ============================================================ */

/* ===== Базовая иконка ===== */
.icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: currentColor;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-xs { width: 14px; height: 14px; }
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 20px; height: 20px; }
.icon-lg { width: 24px; height: 24px; }
.icon-xl { width: 32px; height: 32px; }
.icon-2xl { width: 40px; height: 40px; }

/* ============================================================
   ОБЩИЙ СТИЛЬ ТЁМНОГО КВАДРАТА — под цвет кнопок
   ============================================================ */

.feature-icon,
.integration-icon,
.benefit-icon,
.modal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 2px 6px rgba(79, 70, 229, 0.18);
    transition:
        transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
        box-shadow 0.35s ease;
}

/* Мягкий верхний блик — «стеклянный» эффект */
.feature-icon::before,
.integration-icon::before,
.benefit-icon::before,
.modal-icon::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.12), transparent);
    pointer-events: none;
    border-radius: inherit;
}

.feature-icon .icon,
.integration-icon .icon,
.benefit-icon .icon,
.modal-icon .icon {
    position: relative;
    z-index: 1;
    stroke-width: 1.75;
}

/* ============================================================
   ИКОНКИ КАРТОЧЕК МОДУЛЕЙ
   ============================================================ */

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    margin-bottom: 22px;
}

.feature-icon .icon {
    width: 30px;
    height: 30px;
}

.feature-card:hover .feature-icon {
    transform: translateY(-2px) rotate(-3deg) scale(1.04);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.15) inset,
        0 4px 10px rgba(79, 70, 229, 0.25),
        0 14px 28px rgba(79, 70, 229, 0.2);
}

/* ============================================================
   ИКОНКИ В ИНТЕГРАЦИИ
   ============================================================ */

.integration-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    margin: 0 auto 18px;
}

.integration-icon .icon {
    width: 26px;
    height: 26px;
}

.integration-item:hover .integration-icon {
    transform: translateY(-2px) rotate(-3deg) scale(1.04);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.15) inset,
        0 4px 10px rgba(79, 70, 229, 0.25),
        0 12px 24px rgba(79, 70, 229, 0.18);
}

/* ============================================================
   ИКОНКИ В ПРЕИМУЩЕСТВАХ
   ============================================================ */

.benefit-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    margin: 0 auto 18px;
}

.benefit-icon .icon {
    width: 26px;
    height: 26px;
}

.benefit-metric-card .benefit-icon {
    margin: 18px auto;
}

.benefit-base:hover .benefit-icon,
.benefit-metric-card:hover .benefit-icon {
    transform: translateY(-2px) rotate(-3deg) scale(1.04);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.15) inset,
        0 4px 10px rgba(79, 70, 229, 0.25),
        0 12px 24px rgba(79, 70, 229, 0.18);
}

/* ============================================================
   ИКОНКА В МОДАЛКЕ МОДУЛЯ
   ============================================================ */

.modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    flex-shrink: 0;
    animation: none;
    font-size: 0;
    line-height: 0;
}

.modal-icon .icon {
    width: 30px;
    height: 30px;
}

/* ============================================================
   ИКОНКИ БЕЙДЖЕЙ В HERO
   ============================================================ */

.badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
    margin-right: 4px;
}

.badge-icon .icon {
    width: 15px;
    height: 15px;
    stroke-width: 2.25;
}

.badge {
    background: #ffffff;
    border: 1px solid #e0e3ea;
    color: #1a1f2a;
}

.badge:hover {
    border-color: #a5b4fc;
    background: #f8fafc;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.08);
}

/* ============================================================
   ИКОНКИ ОС В БЛОКЕ «СКАЧАТЬ»
   ============================================================ */

.os-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
    width: 28px;
    height: 28px;
}

.os-icon .icon {
    width: 28px;
    height: 28px;
}

/* ============================================================
   УТИЛИТЫ
   ============================================================ */

.icon-primary { color: #4f46e5; }
.icon-muted   { color: #64748b; }
.icon-accent  { color: #10b981; }

.icon-inline {
    display: inline-block;
    vertical-align: -0.15em;
    margin: 0 4px;
}

/* ============================================================
   АДАПТИВНОСТЬ
   ============================================================ */

@media (max-width: 768px) {
    .feature-icon {
        width: 52px;
        height: 52px;
        border-radius: 14px;
    }

    .feature-icon .icon {
        width: 26px;
        height: 26px;
    }

    .integration-icon,
    .benefit-icon {
        width: 46px;
        height: 46px;
        border-radius: 12px;
    }

    .integration-icon .icon,
    .benefit-icon .icon {
        width: 22px;
        height: 22px;
    }

    .modal-icon {
        width: 52px;
        height: 52px;
        border-radius: 14px;
    }

    .modal-icon .icon {
        width: 26px;
        height: 26px;
    }
}

/* ===== hero.css ===== */
/* ============================================================
   SynkNow Landing Page — hero.css
   Палитра синхронизирована с платформой (индиго #4f46e5).
   ============================================================ */

/* ===== Контент hero ===== */
section.hero {
    padding: 90px 0 80px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

section.hero .hero-content {
    max-width: 1040px;
    margin: 0 auto;
}

/* ===== Заголовок ===== */
section.hero h1 {
    font-size: 3rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 auto 24px;
    color: #4f46e5;
    max-width: 960px;
}

section.hero h1::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    margin: 24px auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, #4f46e5 0%, #6366f1 100%);
    animation: drawUnderline 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
    transform-origin: center;
}

section.hero .hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #475569;
    max-width: 720px;
    margin: 0 auto 36px;
}

/* ===== Кнопки ===== */
section.hero .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* ===== Бейджи ===== */
section.hero .hero-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 auto 56px;
    max-width: 900px;
}

section.hero .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid #e5e9f0;
    border-radius: 999px;
    color: #1a1f2a;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.3;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease,
        background 0.25s ease;
    cursor: default;
    white-space: nowrap;
}

section.hero .badge:hover {
    border-color: #c7d2fe;
    background: #f8fafc;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 4px 10px rgba(79, 70, 229, 0.06);
    transform: translateY(-1px);
}

section.hero .badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
    flex-shrink: 0;
}

section.hero .badge-icon .icon {
    width: 15px;
    height: 15px;
    stroke-width: 2.25;
}

/* ============================================================
   СТАТИСТИКА — 6 метрик
   ============================================================ */

section.hero .hero-stats {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    padding: 28px 16px;
    background: #ffffff;
    border: 1px solid #e5e9f0;
    border-radius: 20px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 4px 16px rgba(15, 23, 42, 0.04);
    max-width: 1040px;
    margin: 0 auto;
    position: relative;
}

section.hero .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    text-align: center;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
}

section.hero .stat-item:hover {
    transform: translateY(-2px);
}

/* Тонкий градиентный разделитель между метриками */
section.hero .stat-item:not(:first-child)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, #e5e9f0 50%, transparent 100%);
}

section.hero .stat-value {
    display: block;
    color: #4f46e5;
    font-size: 1.4375rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}

section.hero .stat-label {
    color: #64748b;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
    max-width: 130px;
}

/* ============================================================
   АДАПТИВНОСТЬ
   ============================================================ */

@media (max-width: 1000px) {
    section.hero .hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px 0;
        padding: 28px 12px;
    }

    /* Убираем вертикальные разделители, добавляем горизонтальные */
    section.hero .stat-item:not(:first-child)::before {
        display: none;
    }

    section.hero .stat-item:nth-child(3n+2)::before,
    section.hero .stat-item:nth-child(3n+3)::before {
        display: block;
        top: 20%;
        bottom: 20%;
    }

    /* Горизонтальный разделитель между рядами */
    section.hero .stat-item:nth-child(n+4)::after {
        content: '';
        position: absolute;
        top: -12px;
        left: 15%;
        right: 15%;
        height: 1px;
        background: linear-gradient(90deg, transparent, #e5e9f0 30%, #e5e9f0 70%, transparent);
    }
}

@media (max-width: 640px) {
    section.hero {
        padding: 60px 0 50px;
    }

    section.hero h1 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    section.hero h1::after {
        width: 44px;
        height: 2px;
        margin-top: 18px;
    }

    section.hero .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    section.hero .hero-badges {
        gap: 8px;
        margin-bottom: 40px;
    }

    section.hero .badge {
        font-size: 0.8125rem;
        padding: 6px 12px;
    }

    section.hero .badge-icon .icon {
        width: 14px;
        height: 14px;
    }

    section.hero .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 0;
        padding: 24px 8px;
        border-radius: 16px;
    }

    section.hero .stat-item:nth-child(3n+2)::before,
    section.hero .stat-item:nth-child(3n+3)::before {
        display: none;
    }

    section.hero .stat-item:nth-child(2n)::before {
        display: block;
        top: 20%;
        bottom: 20%;
    }

    section.hero .stat-item:nth-child(n+4)::after {
        display: none;
    }

    section.hero .stat-item:nth-child(n+3)::after {
        content: '';
        position: absolute;
        top: -10px;
        left: 12%;
        right: 12%;
        height: 1px;
        background: linear-gradient(90deg, transparent, #e5e9f0 30%, #e5e9f0 70%, transparent);
    }

    section.hero .stat-value {
        font-size: 1.25rem;
    }

    section.hero .stat-label {
        font-size: 0.625rem;
        max-width: 100px;
    }
}

@media (max-width: 400px) {
    section.hero h1 {
        font-size: 1.75rem;
    }

    section.hero .hero-stats {
        gap: 20px 0;
    }

    section.hero .stat-value {
        font-size: 1.125rem;
    }
}

/* ===== pains.css ===== */
/* ============================================================
   SynkNow Landing Page — pains.css
   Секция «Почему бизнес платит за софт?»
   8 болей (аккордеон) + «кому критично» + финальная цитата.
   Палитра синхронизирована с платформой (индиго #4f46e5).
   ============================================================ */

section.pains {
    padding: 80px 0;
    background-color: #f8fafc;
    border-top: 1px solid #eef1f6;
    border-bottom: 1px solid #eef1f6;
}

section.pains h2::before {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    margin: 0 auto 16px;
    border-radius: 2px;
    background: linear-gradient(90deg, #4f46e5 0%, #6366f1 100%);
}

/* ============================================================
   СЕТКА БОЛЕЙ — 4×2
   ============================================================ */

section.pains .pains-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 16px;
    margin-top: 40px;
    align-items: start;
}

/* ===== Карточка ===== */
section.pains .pain-card {
    background: #ffffff;
    border: 1px solid #e5e9f0;
    border-radius: 16px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 4px 12px rgba(15, 23, 42, 0.03);
    transition:
        box-shadow 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
    overflow: hidden;
    /* важно: карточка сама не растягивается, когда раскрыта соседняя —
       grid с align-items: start */
}

section.pains .pain-card:hover {
    border-color: #c7d2fe;
    box-shadow:
        0 8px 20px rgba(15, 23, 42, 0.06),
        0 3px 8px rgba(79, 70, 229, 0.05);
}

section.pains .pain-card.open {
    border-color: #4f46e5;
    box-shadow:
        0 12px 28px rgba(15, 23, 42, 0.08),
        0 4px 12px rgba(79, 70, 229, 0.10);
}

/* ===== Шапка карточки (кликабельная) ===== */
section.pains .pain-header {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 18px 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1a1f2a;
    text-align: left;
    transition: background 0.2s ease;
    line-height: 1.35;
}

section.pains .pain-header:hover {
    background: #f8fafc;
}

/* ===== Иконка ===== */
section.pains .pain-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    flex-shrink: 0;
    background: linear-gradient(180deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 2px 6px rgba(79, 70, 229, 0.18);
    position: relative;
    overflow: hidden;
}

section.pains .pain-icon::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.12), transparent);
    pointer-events: none;
    border-radius: inherit;
}

section.pains .pain-icon .icon {
    width: 20px;
    height: 20px;
    stroke-width: 1.9;
    position: relative;
    z-index: 1;
}

/* ===== Заголовок ===== */
section.pains .pain-title {
    flex: 1;
    min-width: 0;
    color: #1a1f2a;
}

/* ===== Плюс / минус ===== */
section.pains .pain-toggle {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.3s ease, background 0.2s ease;
}

section.pains .pain-card.open .pain-toggle {
    background: #4f46e5;
    color: #ffffff;
    transform: rotate(45deg);
}

/* ===== Тело карточки (раскрывается) ===== */
section.pains .pain-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

section.pains .pain-card.open .pain-body {
    max-height: 1200px;
}

section.pains .pain-body-inner {
    padding: 0 18px 20px;
    border-top: 1px solid #eef1f6;
    padding-top: 16px;
}

/* ===== Блоки внутри карточки ===== */
section.pains .pain-block {
    margin-bottom: 16px;
}

section.pains .pain-block:last-of-type {
    margin-bottom: 12px;
}

section.pains .pain-block-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 8px;
}

section.pains .pain-block p {
    margin: 0;
    color: #475569;
    font-size: 0.875rem;
    line-height: 1.6;
}

section.pains .pain-block p strong {
    color: #1a1f2a;
    font-weight: 600;
}

/* Решения — выделенный блок */
section.pains .pain-block--solution .pain-block-label {
    color: #4f46e5;
}

section.pains .pain-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

section.pains .pain-list li {
    position: relative;
    padding-left: 22px;
    color: #334155;
    font-size: 0.875rem;
    line-height: 1.5;
}

section.pains .pain-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #4f46e5;
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Итоговая строка «Что меняется» */
section.pains .pain-result {
    padding: 12px 14px;
    background: #eef2ff;
    border-left: 3px solid #4f46e5;
    border-radius: 8px;
    color: #1a1f2a;
    font-size: 0.875rem;
    line-height: 1.55;
}

section.pains .pain-result strong {
    color: #4f46e5;
    font-weight: 700;
}

/* ============================================================
   БЛОК «КОМУ ЭТО КРИТИЧНО»
   ============================================================ */

section.pains .pains-fit {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 60px;
}

section.pains .pains-fit-col {
    padding: 28px 26px;
    border-radius: 16px;
    border: 1px solid;
}

section.pains .pains-fit-col h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.3;
}

section.pains .pains-fit-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

section.pains .pains-fit-col li {
    position: relative;
    padding-left: 26px;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: #334155;
}

section.pains .pains-fit-col--yes {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

section.pains .pains-fit-col--yes h3 {
    color: #15803d;
}

section.pains .pains-fit-col--yes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #16a34a;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

section.pains .pains-fit-col--no {
    background: #f8fafc;
    border-color: #e2e8f0;
}

section.pains .pains-fit-col--no h3 {
    color: #64748b;
}

section.pains .pains-fit-col--no li::before {
    content: '✕';
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1;
}

/* ============================================================
   ФИНАЛЬНЫЙ БЛОК — ЦИТАТА
   ============================================================ */

section.pains .pains-final {
    margin-top: 60px;
}

section.pains .pains-final-quote {
    padding: 40px 32px;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    border-radius: 20px;
    color: #ffffff;
    text-align: center;
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.01em;
    box-shadow: 0 12px 32px rgba(79, 70, 229, 0.25);
    position: relative;
    overflow: hidden;
}

section.pains .pains-final-quote::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.08), transparent);
    pointer-events: none;
}

/* ============================================================
   АДАПТИВНОСТЬ
   ============================================================ */

@media (max-width: 1100px) {
    section.pains .pains-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 900px) {
    section.pains .pains-fit {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    section.pains {
        padding: 60px 0;
    }

    section.pains .pains-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 30px;
    }

    section.pains .pain-header {
        padding: 16px 14px;
        gap: 10px;
        font-size: 0.9375rem;
    }

    section.pains .pain-icon {
        width: 36px;
        height: 36px;
        border-radius: 9px;
    }

    section.pains .pain-icon .icon {
        width: 18px;
        height: 18px;
    }

    section.pains .pain-body-inner {
        padding: 0 14px 16px;
        padding-top: 14px;
    }

    section.pains .pain-block p,
    section.pains .pain-list li,
    section.pains .pain-result {
        font-size: 0.8125rem;
    }

    section.pains .pains-fit {
        margin-top: 40px;
        gap: 14px;
    }

    section.pains .pains-fit-col {
        padding: 22px 20px;
    }

    section.pains .pains-fit-col h3 {
        font-size: 1rem;
    }

    section.pains .pains-fit-col li {
        font-size: 0.875rem;
    }

    section.pains .pains-final {
        margin-top: 40px;
    }

    section.pains .pains-final-quote {
        padding: 28px 20px;
        font-size: 1.125rem;
        border-radius: 16px;
    }
}

/* ===== features.css ===== */
/* ============================================================
   SynkNow Landing Page — features.css
   Палитра синхронизирована с платформой (индиго #4f46e5).
   ============================================================ */

/* ===== Счётчик над сеткой ===== */
.features-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 0 auto 40px;
    font-size: 0.9375rem;
    color: #64748b;
    text-align: center;
}

.features-stats .fs-num {
    font-size: 1.125rem;
    font-weight: 700;
    color: #4f46e5;
    margin-right: 4px;
}

.features-stats .fs-sep {
    color: #cbd5e1;
    font-size: 1rem;
}

/* ===== Сетка 3 колонки ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* ===== Карточка ===== */
.feature-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 28px 26px 26px;
    background: #ffffff;
    border: 1px solid #e5e9f0;
    border-radius: 16px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 4px 12px rgba(15, 23, 42, 0.03);
    transition:
        transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
        box-shadow 0.35s ease,
        border-color 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: #c7d2fe;
    box-shadow:
        0 12px 28px rgba(15, 23, 42, 0.06),
        0 4px 10px rgba(79, 70, 229, 0.06);
}

/* Верхняя строка: иконка + бейдж */
.feature-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.feature-card-head .feature-icon {
    margin-bottom: 0;
}

/* ===== Бейдж ===== */
.feature-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #92400e;
    background: #fef3c7;
    border-radius: 6px;
    line-height: 1.4;
    white-space: nowrap;
    flex-shrink: 0;
}

.feature-badge.badge-new {
    color: #4f46e5;
    background: #e0e7ff;
}

/* ===== Заголовок ===== */
.feature-card h3 {
    color: #4f46e5;
    font-size: 1.1875rem;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.3;
}

/* ===== Описание ===== */
.feature-card p {
    color: #475569;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

/* ===== Чипы с ключевыми функциями ===== */
.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
    margin-bottom: 20px;
}

.feature-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    line-height: 1.4;
    white-space: nowrap;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.feature-card:hover .feature-tag {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #4f46e5;
}

/* ===== Ссылка CTA ===== */
.feature-card .feature-link {
    margin-top: auto;
    color: #4f46e5;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.25s ease, color 0.2s ease;
    pointer-events: none;
}

.feature-card:hover .feature-link {
    gap: 8px;
    color: #6366f1;
}

/* ============================================================
   АДАПТИВНОСТЬ
   ============================================================ */

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 22px 20px;
    }

    .features-stats {
        font-size: 0.875rem;
        gap: 8px 12px;
    }

    .features-stats .fs-num {
        font-size: 1rem;
    }

    .feature-card h3 {
        font-size: 1.0625rem;
    }
}

/* ===== integration.css ===== */
/* ============================================================
   SynkNow Landing Page — integration.css
   Палитра синхронизирована с платформой (индиго #4f46e5).
   ============================================================ */

/* ===== Счётчик над сеткой ===== */
section.integration .integration-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 0 auto 40px;
    font-size: 0.9375rem;
    color: #64748b;
    text-align: center;
}

section.integration .integration-stats .is-num {
    font-size: 1.125rem;
    font-weight: 700;
    color: #4f46e5;
    margin-right: 4px;
}

section.integration .integration-stats .is-sep {
    color: #cbd5e1;
    font-size: 1rem;
}

/* ===== Сетка: 4 колонки, единая высота рядов ===== */
section.integration .integration-examples {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 20px;
    margin-top: 40px;
}

/* ===== Карточка ===== */
section.integration .integration-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 26px 20px 22px;
    background: #ffffff;
    border: 1px solid #e5e9f0;
    border-radius: 16px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 4px 12px rgba(15, 23, 42, 0.03);
    transition:
        transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
        box-shadow 0.35s ease,
        border-color 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

section.integration .integration-item:hover {
    transform: translateY(-4px);
    border-color: #c7d2fe;
    box-shadow:
        0 12px 28px rgba(15, 23, 42, 0.06),
        0 4px 10px rgba(79, 70, 229, 0.06);
}

/* ===== Иконка — как в модулях: 56×56 ===== */
section.integration .integration-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    margin: 0 0 18px;
    background: linear-gradient(180deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 2px 6px rgba(79, 70, 229, 0.18);
    transition:
        transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
        box-shadow 0.35s ease;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

section.integration .integration-icon::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.12), transparent);
    pointer-events: none;
    border-radius: inherit;
}

section.integration .integration-icon .icon {
    width: 28px;
    height: 28px;
    stroke-width: 1.75;
    position: relative;
    z-index: 1;
}

section.integration .integration-item:hover .integration-icon {
    transform: translateY(-2px) rotate(-3deg) scale(1.05);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.15) inset,
        0 4px 10px rgba(79, 70, 229, 0.25),
        0 12px 24px rgba(79, 70, 229, 0.15);
}

/* ===== Заголовок — фиксированная высота на 2 строки ===== */
section.integration .integration-item h3 {
    color: #4f46e5;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.6em;
    width: 100%;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef1f6;
}

section.integration .integration-item:hover h3 {
    border-bottom-color: #c7d2fe;
}

/* ===== Описание ===== */
section.integration .integration-item p {
    color: #475569;
    font-size: 0.875rem;
    line-height: 1.55;
    margin: 0 0 14px;
    text-align: center;
    flex-grow: 1;
}

/* ===== Чипы с ключевыми функциями ===== */
section.integration .integration-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 4px;
}

section.integration .integration-tag {
    display: inline-block;
    padding: 3px 9px;
    font-size: 0.6875rem;
    font-weight: 500;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    line-height: 1.4;
    white-space: nowrap;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

section.integration .integration-item:hover .integration-tag {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #4f46e5;
}

/* ============================================================
   АДАПТИВНОСТЬ
   ============================================================ */

@media (max-width: 1100px) {
    section.integration .integration-examples {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    section.integration .integration-examples {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 520px) {
    section.integration .integration-examples {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 30px;
    }

    section.integration .integration-item {
        padding: 22px 18px 20px;
    }

    section.integration .integration-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        margin-bottom: 14px;
    }

    section.integration .integration-icon .icon {
        width: 24px;
        height: 24px;
    }

    section.integration .integration-item h3 {
        font-size: 0.9375rem;
        min-height: auto;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    section.integration .integration-item p {
        font-size: 0.8125rem;
        margin-bottom: 12px;
    }

    section.integration .integration-tag {
        font-size: 0.625rem;
        padding: 2px 8px;
    }

    section.integration .integration-stats {
        font-size: 0.875rem;
        gap: 8px 12px;
    }
}

/* ===== benefits.css ===== */
/* ============================================================
   SynkNow Landing Page — benefits.css
   Секция «Почему выбирают SynkNow»:
   8 базовых причин + 2 подгруппы метрик (быстрые и массовые).
   Палитра синхронизирована с платформой (индиго #4f46e5).
   ============================================================ */

/* ===== Счётчик над сеткой ===== */
section.benefits .benefits-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 0 auto 40px;
    font-size: 0.9375rem;
    color: #64748b;
    text-align: center;
}

section.benefits .benefits-stats .bs-num {
    font-size: 1.125rem;
    font-weight: 700;
    color: #4f46e5;
    margin-right: 4px;
}

section.benefits .benefits-stats .bs-sep {
    color: #cbd5e1;
    font-size: 1rem;
}

/* ============================================================
   БАЗОВЫЕ ПРИЧИНЫ — 4×2, единая высота
   ============================================================ */

section.benefits .benefits-base-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 20px;
    margin-bottom: 70px;
}

section.benefits .benefit-base {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 26px 20px 22px;
    background: #ffffff;
    border: 1px solid #e5e9f0;
    border-radius: 16px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 4px 12px rgba(15, 23, 42, 0.03);
    transition:
        transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
        box-shadow 0.35s ease,
        border-color 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

section.benefits .benefit-base:hover {
    transform: translateY(-4px);
    border-color: #c7d2fe;
    box-shadow:
        0 12px 28px rgba(15, 23, 42, 0.06),
        0 4px 10px rgba(79, 70, 229, 0.06);
}

section.benefits .benefit-base .benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    margin: 0 0 18px;
    background: linear-gradient(180deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 2px 6px rgba(79, 70, 229, 0.18);
    transition:
        transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
        box-shadow 0.35s ease;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

section.benefits .benefit-base .benefit-icon::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.12), transparent);
    pointer-events: none;
    border-radius: inherit;
}

section.benefits .benefit-base .benefit-icon .icon {
    width: 28px;
    height: 28px;
    stroke-width: 1.75;
    position: relative;
    z-index: 1;
}

section.benefits .benefit-base:hover .benefit-icon {
    transform: translateY(-2px) rotate(-3deg) scale(1.05);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.15) inset,
        0 4px 10px rgba(79, 70, 229, 0.25),
        0 12px 24px rgba(79, 70, 229, 0.15);
}

section.benefits .benefit-base h3 {
    color: #4f46e5;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px;
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef1f6;
}

section.benefits .benefit-base:hover h3 {
    border-bottom-color: #c7d2fe;
}

section.benefits .benefit-base p {
    color: #475569;
    font-size: 0.875rem;
    line-height: 1.55;
    margin: 0 0 14px;
    flex-grow: 1;
}

section.benefits .benefit-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 4px;
}

section.benefits .benefit-tag {
    display: inline-block;
    padding: 3px 9px;
    font-size: 0.6875rem;
    font-weight: 500;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    line-height: 1.4;
    white-space: nowrap;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

section.benefits .benefit-base:hover .benefit-tag {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #4f46e5;
}

/* ============================================================
   МЕТРИКИ РЕЗУЛЬТАТОВ — заголовок и 2 подгруппы
   ============================================================ */

section.benefits .benefits-metrics-title {
    color: #4f46e5;
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 10px;
}

section.benefits .benefits-metrics-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 0.9375rem;
    margin: 0 auto 50px;
    max-width: 620px;
    line-height: 1.55;
}

/* Подгруппа: заголовок + сетка */
section.benefits .metrics-group {
    margin-bottom: 50px;
}

section.benefits .metrics-group:last-child {
    margin-bottom: 0;
}

section.benefits .metrics-group-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #4f46e5;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 8px;
}

section.benefits .metrics-group-title::before,
section.benefits .metrics-group-title::after {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    border-radius: 1px;
    background: linear-gradient(90deg, transparent, #c7d2fe, transparent);
}

section.benefits .metrics-group-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
    margin: 0 auto 28px;
    max-width: 540px;
}

section.benefits .benefits-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 20px;
}

section.benefits .benefit-metric-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 22px 24px;
    background: #ffffff;
    border: 1px solid #e5e9f0;
    border-radius: 16px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 4px 12px rgba(15, 23, 42, 0.03);
    transition:
        transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
        box-shadow 0.35s ease,
        border-color 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    opacity: 0;
}

section.benefits .benefit-metric-card.visible {
    opacity: 1;
}

section.benefits .benefit-metric-card:hover {
    transform: translateY(-4px);
    border-color: #c7d2fe;
    box-shadow:
        0 12px 28px rgba(15, 23, 42, 0.06),
        0 4px 10px rgba(79, 70, 229, 0.06);
}

/* Значение метрики: числа и короткие фразы одним размером */
section.benefits .benefit-metric-card .benefit-metric {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #4f46e5;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

/* Иконка метрики */
section.benefits .benefit-metric-card .benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin: 0 0 16px;
    background: linear-gradient(180deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 2px 6px rgba(79, 70, 229, 0.18);
    transition:
        transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
        box-shadow 0.35s ease;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

section.benefits .benefit-metric-card .benefit-icon::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.12), transparent);
    pointer-events: none;
    border-radius: inherit;
}

section.benefits .benefit-metric-card .benefit-icon .icon {
    width: 24px;
    height: 24px;
    stroke-width: 1.75;
    position: relative;
    z-index: 1;
}

section.benefits .benefit-metric-card:hover .benefit-icon {
    transform: translateY(-2px) rotate(-3deg) scale(1.05);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.15) inset,
        0 4px 10px rgba(79, 70, 229, 0.25),
        0 12px 24px rgba(79, 70, 229, 0.15);
}

section.benefits .benefit-metric-card h3 {
    color: #4f46e5;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 10px;
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-bottom: 10px;
    border-bottom: 1px solid #eef1f6;
}

section.benefits .benefit-metric-card:hover h3 {
    border-bottom-color: #c7d2fe;
}

section.benefits .benefit-metric-card p {
    color: #475569;
    font-size: 0.875rem;
    line-height: 1.55;
    margin: 0;
    flex-grow: 1;
}

/* ============================================================
   АДАПТИВНОСТЬ
   ============================================================ */

@media (max-width: 1100px) {
    section.benefits .benefits-base-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    section.benefits .benefits-metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    section.benefits .benefits-base-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    section.benefits .benefits-metrics-grid {
        gap: 16px;
    }
}

@media (max-width: 520px) {
    section.benefits .benefits-base-grid,
    section.benefits .benefits-metrics-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    section.benefits .benefit-base,
    section.benefits .benefit-metric-card {
        padding: 22px 18px 20px;
    }

    section.benefits .benefit-base .benefit-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        margin-bottom: 14px;
    }

    section.benefits .benefit-base .benefit-icon .icon {
        width: 24px;
        height: 24px;
    }

    section.benefits .benefit-base h3,
    section.benefits .benefit-metric-card h3 {
        font-size: 0.9375rem;
        min-height: auto;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    section.benefits .benefit-base p,
    section.benefits .benefit-metric-card p {
        font-size: 0.8125rem;
    }

    section.benefits .benefit-metric-card .benefit-metric {
        font-size: 1.375rem;
        margin-bottom: 10px;
    }

    section.benefits .benefits-metrics-title {
        font-size: 1.5rem;
    }

    section.benefits .metrics-group-title {
        font-size: 1.125rem;
        gap: 8px;
    }

    section.benefits .metrics-group-title::before,
    section.benefits .metrics-group-title::after {
        width: 20px;
    }

    section.benefits .benefits-stats {
        font-size: 0.875rem;
        gap: 8px 12px;
    }
}

/* ===== calculator.css ===== */
/* ============================================================
   SynkNow Landing Page — calculator.css
   Секция «Посчитайте вашу выгоду».
   Палитра синхронизирована с платформой (индиго #4f46e5).
   ============================================================ */

section.calculator {
    padding: 80px 0;
}

/* ============================================================
   ВКЛАДКИ — сегментированный контрол
   ============================================================ */

section.calculator .calculator-tabs {
    display: flex;
    justify-content: center;
    gap: 4px;
    padding: 5px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    width: fit-content;
    margin: 0 auto 40px;
}

section.calculator .calc-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #64748b;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

section.calculator .calc-tab:hover:not(.active) {
    color: #4f46e5;
}

section.calculator .calc-tab.active {
    background: #ffffff;
    color: #4f46e5;
    box-shadow:
        0 1px 3px rgba(15, 23, 42, 0.08),
        0 1px 2px rgba(15, 23, 42, 0.04);
}

section.calculator .calc-tab .icon {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

/* ============================================================
   ПАНЕЛИ
   ============================================================ */

section.calculator .calc-panel {
    display: none;
}

section.calculator .calc-panel.active {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

/* ============================================================
   ФОРМА
   ============================================================ */

section.calculator .calculator-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 32px 28px;
    background: #ffffff;
    border: 1px solid #e5e9f0;
    border-radius: 16px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 4px 12px rgba(15, 23, 42, 0.03);
}

section.calculator .calc-form-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eef1f6;
    margin-bottom: 4px;
}

section.calculator .calc-form-header .icon {
    width: 20px;
    height: 20px;
    color: #4f46e5;
    stroke-width: 2;
}

section.calculator .calc-form-header h3 {
    margin: 0;
    color: #4f46e5;
    font-size: 1.0625rem;
    font-weight: 700;
}

section.calculator .calc-field-row {
    display: grid;
    gap: 16px;
}

section.calculator .calc-field-row.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

section.calculator .calc-field-row.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

section.calculator .calc-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

section.calculator .calc-field label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1a1f2a;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.3;
}

section.calculator .calc-field label .icon {
    width: 16px;
    height: 16px;
    color: #64748b;
    flex-shrink: 0;
    stroke-width: 2;
}

section.calculator .calc-field input,
section.calculator .calc-field select {
    width: 100%;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid #d5dae3;
    border-radius: 10px;
    color: #1a1f2a;
    font-family: inherit;
    font-size: 0.9375rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

section.calculator .calc-field input:focus,
section.calculator .calc-field select:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

section.calculator .calc-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-start;
    margin-top: 8px;
    padding: 12px 28px;
}

section.calculator .calc-submit .icon {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

/* ============================================================
   ОБЛАСТЬ ВЫВОДА
   ============================================================ */

section.calculator .calc-output {
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    background: #f8fafc;
    border: 1px solid #e5e9f0;
    border-radius: 16px;
}

section.calculator .calc-output-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

section.calculator .calc-output-header .icon {
    width: 20px;
    height: 20px;
    color: #4f46e5;
    stroke-width: 2;
}

section.calculator .calc-output-header h3 {
    margin: 0;
    color: #4f46e5;
    font-size: 1.0625rem;
    font-weight: 700;
}

/* ============================================================
   ПЛЕЙСХОЛДЕР
   ============================================================ */

section.calculator .calc-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-grow: 1;
    padding: 20px;
    min-height: 200px;
}

section.calculator .calc-placeholder .icon {
    width: 48px;
    height: 48px;
    color: #cbd5e1;
    stroke-width: 1.5;
    margin-bottom: 16px;
}

section.calculator .calc-placeholder p {
    margin: 0;
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.5;
    max-width: 260px;
}

/* ============================================================
   РЕЗУЛЬТАТЫ
   ============================================================ */

section.calculator .calculator-result {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

section.calculator .result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

section.calculator .result-item:hover {
    border-color: #c7d2fe;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.06);
}

section.calculator .result-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(180deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    flex-shrink: 0;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 2px 6px rgba(79, 70, 229, 0.18);
}

section.calculator .result-icon-wrap .icon {
    width: 22px;
    height: 22px;
    stroke-width: 1.75;
}

section.calculator .result-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-grow: 1;
    min-width: 0;
}

section.calculator .result-value {
    color: #4f46e5;
    font-size: 1.375rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    overflow-wrap: break-word;
}

section.calculator .result-label {
    color: #64748b;
    font-size: 0.8125rem;
    line-height: 1.4;
}

/* ============================================================
   ОБЩИЙ ИТОГ — тёмный блок
   ============================================================ */

section.calculator .calculator-total {
    margin-top: 40px;
    padding: 32px 28px;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    border-radius: 16px;
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(79, 70, 229, 0.2);
}

section.calculator .calculator-total h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 24px;
    text-align: center;
}

section.calculator .calculator-total .calculator-result {
    flex-direction: row;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

section.calculator .calculator-total .result-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 20px 24px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 180px;
    flex: 1 1 180px;
    max-width: 280px;
    gap: 6px;
}

section.calculator .calculator-total .result-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

section.calculator .calculator-total .result-value {
    color: #ffffff;
    font-size: 1.875rem;
}

section.calculator .calculator-total .result-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
}

/* ============================================================
   СНОСКА
   ============================================================ */

section.calculator .calculator-note {
    margin: 32px auto 0;
    padding: 16px 20px;
    max-width: 900px;
    color: #64748b;
    font-size: 0.8125rem;
    line-height: 1.6;
    text-align: center;
    background: #f8fafc;
    border: 1px dashed #e2e8f0;
    border-radius: 12px;
}

/* ============================================================
   АДАПТИВНОСТЬ
   ============================================================ */

@media (max-width: 900px) {
    section.calculator .calc-panel.active {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    section.calculator {
        padding: 60px 0;
    }

    section.calculator .calculator-tabs {
        width: 100%;
    }

    section.calculator .calc-tab {
        flex: 1;
        justify-content: center;
        padding: 10px 12px;
        font-size: 0.875rem;
    }

    section.calculator .calc-tab .icon {
        width: 16px;
        height: 16px;
    }

    section.calculator .calc-field-row.cols-3,
    section.calculator .calc-field-row.cols-2 {
        grid-template-columns: 1fr;
    }

    section.calculator .calculator-form,
    section.calculator .calc-output {
        padding: 24px 20px;
    }

    section.calculator .calc-form-header h3,
    section.calculator .calc-output-header h3 {
        font-size: 1rem;
    }

    section.calculator .calc-submit {
        width: 100%;
    }

    section.calculator .result-value {
        font-size: 1.25rem;
    }

    section.calculator .calculator-total {
        padding: 24px 20px;
    }

    section.calculator .calculator-total h3 {
        font-size: 1.125rem;
    }

    section.calculator .calculator-total .result-value {
        font-size: 1.5rem;
    }

    section.calculator .calculator-total .result-item {
        min-width: 140px;
        padding: 16px 18px;
    }
}

/* ============================================================
   КАЛЬКУЛЯТОР СТОИМОСТИ ПОДПИСКИ (третья вкладка)
   ============================================================ */

section.calculator .calculator-form .calc-hint {
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-light, #64748b);
}

section.calculator .calculator-result .result-note {
    margin: 4px 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light, #64748b);
}

section.calculator .calculator-result .result-cta {
    margin-top: 8px;
}

/* ===== compare.css ===== */
/* ============================================================
   SynkNow Landing Page — compare.css
   Сравнительная таблица тарифов.
   Палитра синхронизирована с платформой (индиго #4f46e5).
   ============================================================ */

.compare {
    padding: 80px 0;
    background-color: #ffffff;
    border-top: 1px solid #eef1f6;
    border-bottom: 1px solid #eef1f6;
}

.compare h2::before {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    margin: 0 auto 16px;
    border-radius: 2px;
    background: linear-gradient(90deg, #4f46e5 0%, #6366f1 100%);
}

/* ===== Обёртка таблицы ===== */
.compare-table-wrap {
    margin-top: 40px;
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 8px 24px rgba(15, 23, 42, 0.05);
}

/* ===== Таблица ===== */
.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 720px;
    font-size: 0.9375rem;
}

/* Заголовок */
.compare-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 20px 16px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #4f46e5;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}

/* Первая колонка (функции) — шире и слева */
.compare-table thead th:first-child,
.compare-table tbody td:first-child {
    text-align: left;
    padding-left: 24px;
    min-width: 260px;
    position: sticky;
    left: 0;
    background: #ffffff;
    z-index: 1;
}

.compare-table thead th:first-child {
    background: #f8fafc;
    z-index: 3;
}

/* Выделяем колонку «Профессиональный» — популярный тариф */
.compare-table thead th.highlight,
.compare-table tbody td.highlight {
    background: #eef2ff;
}

.compare-table thead th.highlight {
    color: #4338ca;
    border-bottom: 2px solid #4f46e5;
    position: relative;
}

.compare-table thead th.highlight::before {
    content: 'Популярный';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #4f46e5;
    opacity: 0.6;
}

/* Строки разделов */
.compare-table tbody tr.section-title td {
    padding: 24px 16px 10px 24px;
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #4f46e5;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.compare-table tbody tr.section-title:first-child td {
    border-top: none;
}

.compare-table tbody tr.section-title td:not(:first-child) {
    /* Скрываем текст в колонках справа */
    color: transparent;
}

/* Обычные строки */
.compare-table tbody tr:not(.section-title) td {
    padding: 14px 16px;
    color: #1a1f2a;
    border-bottom: 1px solid #eef1f6;
    text-align: center;
    vertical-align: middle;
}

.compare-table tbody tr:not(.section-title) td:first-child {
    color: #334155;
    font-weight: 500;
}

.compare-table tbody tr:not(.section-title):hover td {
    background: #f8fafc;
}

.compare-table tbody tr:not(.section-title):hover td.highlight {
    background: #e0e7ff;
}

/* ===== Иконки в ячейках ===== */
.compare-yes,
.compare-no,
.compare-price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
}

.compare-yes {
    background: #eef2ff;
    color: #4f46e5;
}

.compare-yes .icon {
    width: 14px;
    height: 14px;
    stroke-width: 3;
}

.compare-no {
    color: #cbd5e1;
}

.compare-no .icon {
    width: 14px;
    height: 14px;
    stroke-width: 2;
}

.compare-price {
    background: #fef3c7;
    color: #92400e;
    font-weight: 700;
    font-size: 0.75rem;
    width: auto;
    padding: 0 10px;
    height: 22px;
    border-radius: 11px;
    white-space: nowrap;
}

/* Строка цены — отдельный акцент */
.compare-table tbody tr.price-row td {
    padding: 20px 16px;
    font-weight: 700;
    font-size: 1rem;
    color: #4f46e5;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.compare-table tbody tr.price-row td:first-child {
    color: #4f46e5;
}

.compare-table tbody tr.price-row td.highlight {
    background: #eef2ff;
}

.compare-table tbody tr.price-row .price-value {
    font-size: 1.125rem;
    font-weight: 800;
}

.compare-table tbody tr.price-row .price-sub {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
    margin-top: 2px;
}

/* Сноска */
.compare-note {
    margin-top: 20px;
    font-size: 0.875rem;
    color: #64748b;
    text-align: center;
    line-height: 1.6;
}

/* CTA под таблицей */
.compare-cta {
    text-align: center;
    margin-top: 32px;
}

/* ===== Адаптивность ===== */
@media (max-width: 768px) {
    .compare {
        padding: 60px 0;
    }

    .compare-table-wrap {
        border-radius: 12px;
    }

    .compare-table {
        font-size: 0.875rem;
        min-width: 640px;
    }

    .compare-table thead th,
    .compare-table tbody tr:not(.section-title) td {
        padding: 12px 10px;
    }

    .compare-table thead th:first-child,
    .compare-table tbody td:first-child {
        padding-left: 16px;
        min-width: 200px;
    }

    .compare-table tbody tr.section-title td {
        padding: 18px 12px 8px 16px;
        font-size: 0.75rem;
    }

    .compare-table tbody tr.price-row td {
        padding: 14px 10px;
        font-size: 0.875rem;
    }

    .compare-table tbody tr.price-row .price-value {
        font-size: 1rem;
    }
}
