/* ==========================================================================
   ИСС. Агрегатор — единый стилевой файл для всех страниц
   Структура: переменные → сброс → типографика → навбар → секции → hero →
   карточки → списки → highlight → метрики → скриншоты → экономика →
   калькулятор → шаги → FAQ → таблица → форма → футер → модалка →
   появление → скроллбар → адаптив
   ========================================================================== */

/* ===== ШРИФТЫ (FALLBACK) ===== */
@font-face {
    font-family: 'Inter Fallback';
    src: local('Arial'), local('Helvetica Neue'), local('Helvetica');
    size-adjust: 107%;
    ascent-override: 90%;
    descent-override: 22%;
    line-gap-override: 0%;
}
@font-face {
    font-family: 'Manrope Fallback';
    src: local('Segoe UI'), local('system-ui'), local('Roboto'), local('Arial');
    size-adjust: 105%;
    ascent-override: 92%;
    descent-override: 24%;
    line-gap-override: 0%;
}

/* ===== ПЕРЕМЕННЫЕ ===== */
:root {
    --primary-dark: #0a1929;
    --secondary-dark: #1a2634;
    --card-dark: #132f4c;
    --text-primary: #e6f7ff;
    --text-secondary: #b3d9ff;
    --accent-green: #2ecc71;
    --border-color: #2d3e50;
    --shadow-color: rgba(0, 0, 0, 0.4);
    --gradient-green: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    --navbar-h: 72px;

    --font-body: 'Manrope', 'Manrope Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --font-heading: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ===== СБРОС ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--navbar-h); }
html, body { width: 100%; background: var(--primary-dark); }

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

button, input, select, textarea { font-family: inherit; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

p { color: var(--text-secondary); margin-bottom: 0.8rem; }
a { text-decoration: none; }

/* ===== НАВБАР ===== */
.navbar {
    background-color: rgba(10, 25, 41, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.85rem 0;
    z-index: 1030;
}
.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--text-primary) !important;
}
.navbar-brand span { color: var(--accent-green); }
.navbar .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.25s ease;
    padding: 0.45rem 0.7rem !important;
    position: relative;
}
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--accent-green) !important; }
.navbar .nav-link.active::after {
    content: '';
    position: absolute;
    left: 0.7rem; right: 0.7rem; bottom: -0.15rem;
    height: 2px; background: var(--accent-green); border-radius: 2px;
}
.btn-nav {
    background: var(--gradient-green);
    border: none; color: var(--text-primary);
    font-weight: 600; font-size: 0.87rem;
    padding: 0.5rem 1.3rem; border-radius: 8px;
    transition: all 0.25s ease; display: inline-block;
}
.btn-nav:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(46, 204, 113, 0.3); color: var(--text-primary); }

/* ===== СЕКЦИИ ===== */
.section { position: relative; padding: 4.5rem 0; scroll-margin-top: var(--navbar-h); }
.section > .container { width: 100%; max-width: 1280px; position: relative; z-index: 1; }
.section::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.section.bg-base::before { background: var(--primary-dark); }
.section.bg-alt::before  { background: var(--secondary-dark); }
.section.bg-hero::before {
    background: radial-gradient(circle at 20% 30%, rgba(46, 204, 113, 0.10), transparent 45%), radial-gradient(circle at 80% 70%, rgba(52, 152, 219, 0.07), transparent 45%), var(--primary-dark);
}
.section.bg-features::before {
    background: radial-gradient(circle at 20% 30%, rgba(46, 204, 113, 0.07), transparent 45%), radial-gradient(circle at 80% 70%, rgba(52, 152, 219, 0.05), transparent 45%), var(--primary-dark);
}
.section.bg-cta::before {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.08), rgba(52, 152, 219, 0.04)), var(--secondary-dark);
}
.section.bg-form::before {
    background: radial-gradient(circle at 15% 25%, rgba(46, 204, 113, 0.10), transparent 45%), radial-gradient(circle at 85% 75%, rgba(52, 152, 219, 0.06), transparent 45%), var(--secondary-dark);
}

/* ===== HERO ===== */
.hero-section { position: relative; display: flex; align-items: center; min-height: calc(100vh - var(--navbar-h)); padding: 2rem 0; margin: 0; }
.hero-section > .container { width: 100%; max-width: 1280px; position: relative; z-index: 1; }

.hero-title {
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    font-weight: 800;
    background: linear-gradient(90deg, var(--text-primary), var(--accent-green));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    margin-bottom: 1rem; line-height: 1.12; letter-spacing: -0.03em;
}
.hero-subtitle { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text-secondary); max-width: 620px; margin-bottom: 1.4rem; line-height: 1.55; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(46, 204, 113, 0.12); border: 1px solid rgba(46, 204, 113, 0.4);
    color: var(--accent-green); padding: 0.35rem 0.9rem; border-radius: 20px;
    font-size: 0.88rem; font-weight: 600; margin-bottom: 1.2rem;
}

.btn-hero, .btn-hero-outline {
    font-weight: 600; padding: 0.75rem 1.9rem; border-radius: 10px; font-size: 1rem;
    transition: all 0.25s ease; display: inline-block;
}
.btn-hero { background: var(--gradient-green); border: none; color: var(--text-primary); }
.btn-hero:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(46, 204, 113, 0.3); color: var(--text-primary); }
.btn-hero:disabled { opacity: 0.65; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-hero-outline { background: transparent; border: 2px solid var(--accent-green); color: var(--accent-green); }
.btn-hero-outline:hover { background: var(--accent-green); color: var(--text-primary); transform: translateY(-3px); }

.hero-metrics { display: flex; justify-content: flex-start; gap: 2.4rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-metric { text-align: left; }
.hero-metric-value { font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 800; color: var(--text-primary); line-height: 1; margin-bottom: 0.35rem; letter-spacing: -0.02em; }
.hero-metric-label { font-size: 0.92rem; color: var(--text-secondary); letter-spacing: 0.02em; }

/* ===== ТИПОГРАФИКА ===== */
.section-title { font-size: clamp(1.55rem, 2.4vw, 2.2rem); text-align: center; margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.section-sub { text-align: center; color: var(--text-secondary); font-size: 1.05rem; max-width: 760px; margin: 0 auto 2rem; }
.accent { color: var(--accent-green); }
.bright { color: var(--text-primary); font-weight: 600; }

/* ===== КАРТОЧКИ ===== */
.card-dark {
    background: var(--card-dark); border: 1px solid var(--border-color); border-radius: 12px;
    padding: 1.3rem; height: 100%; transition: all 0.25s ease;
}
.card-dark:hover { border-color: var(--accent-green); box-shadow: 0 12px 36px rgba(46, 204, 113, 0.15); transform: translateY(-3px); }
.card-dark p { margin-bottom: 0; font-size: 1.02rem; line-height: 1.55; }
.card-dark h4 { font-size: 1.15rem; margin-bottom: 0.45rem; }

.icon-box {
    width: 44px; height: 44px; border-radius: 10px;
    background: rgba(46, 204, 113, 0.15); border: 1px solid rgba(46, 204, 113, 0.35);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; color: var(--accent-green); margin-bottom: 0.8rem; flex-shrink: 0; font-weight: 700;
}

/* ===== ОТРАСЛЕВЫЕ КАРТОЧКИ (только главная) ===== */
.industry-card {
    background: var(--card-dark); border: 1px solid var(--border-color); border-radius: 12px;
    padding: 1.2rem 1.3rem; height: 100%; transition: all 0.25s ease;
    display: flex; align-items: flex-start; gap: 1rem; cursor: pointer;
}
.industry-card:hover { border-color: var(--accent-green); box-shadow: 0 12px 36px rgba(46, 204, 113, 0.15); transform: translateY(-3px); }
.industry-icon { font-size: 1.4rem; color: var(--accent-green); line-height: 1; margin-top: 0.2rem; }
.industry-content { flex: 1; }
.industry-title-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.35rem; }
.industry-title { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin: 0; }
.industry-arrow { color: var(--accent-green); font-size: 1.1rem; transition: transform 0.2s ease; }
.industry-card:hover .industry-arrow { transform: translateX(3px); }
.industry-desc { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.45; margin: 0; }

/* ===== СПИСКИ ===== */
.styled-list { list-style: none; padding: 0; margin: 0; }
.styled-list li { position: relative; padding-left: 1.4rem; margin-bottom: 0.55rem; font-size: 1.02rem; color: var(--text-primary); line-height: 1.5; }
.styled-list li:last-child { margin-bottom: 0; }
.styled-list li::before { content: ''; position: absolute; left: 0; top: 0.58em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-green); }

/* ===== HIGHLIGHT ===== */
.highlight-box {
    background: rgba(46, 204, 113, 0.08); border: 1px solid rgba(46, 204, 113, 0.25);
    border-left: 3px solid var(--accent-green); border-radius: 10px; padding: 1rem 1.5rem; margin: 0.6rem 0 1.4rem;
}
.highlight-box h4 { font-size: 1.1rem; margin-bottom: 0.35rem; color: var(--text-primary); }
.highlight-box p { color: var(--text-primary); font-weight: 500; margin: 0; font-size: 1.04rem; line-height: 1.5; }

/* ===== МЕТРИКИ ===== */
.metric-card { background: var(--card-dark); border: 1px solid var(--border-color); border-radius: 12px; padding: 1.2rem 1rem; text-align: center; height: 100%; transition: all 0.25s ease; }
.metric-card:hover { border-color: var(--accent-green); box-shadow: 0 12px 36px rgba(46, 204, 113, 0.15); transform: translateY(-3px); }
.metric-value { font-size: clamp(1.35rem, 2.1vw, 1.85rem); font-weight: 800; color: var(--accent-green); line-height: 1; margin-bottom: 0.45rem; letter-spacing: -0.02em; }
.metric-label { font-size: 1rem; color: var(--text-primary); line-height: 1.35; font-weight: 600; }
.metric-desc { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.4; margin-top: 0.45rem; }

/* ===== СКРИНШОТЫ ===== */
.screenshot-thumb {
    background: var(--card-dark); border: 1px solid var(--border-color); border-radius: 12px;
    overflow: hidden; cursor: zoom-in; transition: all 0.25s ease; display: flex; flex-direction: column; height: 100%; user-select: none;
}
.screenshot-thumb:hover { border-color: var(--accent-green); box-shadow: 0 16px 44px rgba(46, 204, 113, 0.2); transform: translateY(-4px); }
.screenshot-thumb .thumb-img {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #0d1f33;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 220px;
}
.screenshot-thumb img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform 0.4s ease; }
.screenshot-thumb:hover img { transform: scale(1.03); }
.screenshot-thumb .thumb-caption { padding: 0.6rem 0.8rem; font-size: 0.95rem; font-weight: 600; color: var(--text-primary); text-align: center; border-top: 1px solid var(--border-color); background: rgba(10, 25, 41, 0.35); display: flex; align-items: center; justify-content: center; gap: 0.45rem; }
.screenshot-thumb .thumb-caption i { color: var(--accent-green); font-size: 0.9rem; }
.thumb-hint { position: absolute; bottom: 0.55rem; right: 0.55rem; background: rgba(10, 25, 41, 0.88); backdrop-filter: blur(8px); border: 1px solid rgba(46, 204, 113, 0.4); color: var(--text-primary); border-radius: 6px; padding: 0.25rem 0.6rem; font-size: 0.7rem; display: flex; align-items: center; gap: 0.3rem; opacity: 0; transform: translateY(4px); transition: all 0.25s ease; pointer-events: none; }
.screenshot-thumb:hover .thumb-hint { opacity: 1; transform: translateY(0); }

/* ===== ЭКОНОМИКА ===== */
.money-item { background: var(--card-dark); border: 1px solid var(--border-color); border-left: 3px solid var(--accent-green); border-radius: 12px; padding: 1.2rem 1.4rem; height: 100%; transition: all 0.25s ease; }
.money-item:hover { border-color: var(--accent-green); box-shadow: 0 12px 36px rgba(46, 204, 113, 0.15); transform: translateY(-3px); }
.money-value { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 800; color: var(--accent-green); line-height: 1; margin-bottom: 0.45rem; letter-spacing: -0.02em; }
.money-label { font-size: 1rem; color: var(--text-secondary); line-height: 1.4; }
.money-label .bright { color: var(--text-primary); font-weight: 600; }

/* ===== КАЛЬКУЛЯТОР ===== */
.calc-card { background: var(--card-dark); border: 1px solid var(--border-color); border-radius: 12px; padding: 1.3rem; height: 100%; }
.form-control, .form-select { background-color: rgba(10, 25, 41, 0.55); border: 1px solid var(--border-color); color: var(--text-primary); padding: 0.62rem 0.9rem; border-radius: 8px; font-size: 0.98rem; }
.form-control:focus, .form-select:focus { background-color: rgba(10, 25, 41, 0.85); border-color: var(--accent-green); color: var(--text-primary); box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.12); }
.form-control::placeholder { color: #6c8aa8; }
.form-control.is-invalid { border-color: #e74c3c; }
.form-label { font-size: 0.9rem; margin-bottom: 0.3rem; color: var(--text-secondary); font-weight: 500; }
.form-range { accent-color: var(--accent-green); }
.field-error { color: #ff8a80; font-size: 0.84rem; min-height: 1.1rem; margin-top: 0.2rem; line-height: 1.2; }
.calc-result { background: rgba(46, 204, 113, 0.08); border: 1px solid rgba(46, 204, 113, 0.3); border-radius: 10px; padding: 0.9rem 1rem; margin-top: 0.9rem; }
.calc-result h5 { color: var(--accent-green); font-size: 1rem; margin-bottom: 0.5rem; }
.calc-result p { font-size: 0.96rem; color: var(--text-primary); margin-bottom: 0.3rem; }
.calc-result p:last-child { margin-bottom: 0; }

/* ===== ШАГИ ===== */
.step-card { background: var(--card-dark); border: 1px solid var(--border-color); border-radius: 12px; padding: 1.4rem 1.2rem; height: 100%; transition: all 0.25s ease; }
.step-card:hover { border-color: var(--accent-green); box-shadow: 0 12px 36px rgba(46, 204, 113, 0.15); transform: translateY(-3px); }
.step-number { width: 42px; height: 42px; border-radius: 50%; background: rgba(46, 204, 113, 0.15); border: 2px solid var(--accent-green); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.95rem; color: var(--accent-green); margin-bottom: 0.8rem; }
.step-card h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.98rem; margin-bottom: 0; line-height: 1.5; }

/* ===== FAQ ===== */
.faq-item { background: var(--card-dark); border: 1px solid var(--border-color); border-radius: 12px; padding: 1.1rem 1.3rem; margin-bottom: 0.7rem; }
.faq-item summary { cursor: pointer; font-weight: 600; color: var(--text-primary); font-size: 1.02rem; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { color: var(--accent-green); transition: transform 0.25s ease; flex-shrink: 0; }
.faq-item[open] summary i { transform: rotate(180deg); }
.faq-item p { margin: 0.7rem 0 0; font-size: 0.98rem; }

/* ===== ТАБЛИЦА ДО/ПОСЛЕ ===== */
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card-dark); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; }
.compare-table th, .compare-table td { padding: 0.9rem 1rem; font-size: 0.98rem; border-bottom: 1px solid var(--border-color); vertical-align: top; }
.compare-table th { background: rgba(10, 25, 41, 0.5); color: var(--text-primary); font-weight: 700; font-size: 0.95rem; }
.compare-table td { color: var(--text-secondary); }
.compare-table td:last-child { color: var(--text-primary); font-weight: 500; }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: none; }

/* ===== ФОРМА ===== */
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 0.9rem; color: var(--text-secondary); margin: 12px 0 6px; line-height: 1.45; }
.checkbox-label input { margin-top: 4px; flex-shrink: 0; accent-color: var(--accent-green); width: 16px; height: 16px; }
.checkbox-label a { color: var(--accent-green); }
.checkbox-label a:hover { text-decoration: underline; }
.form-status { font-size: 0.92rem; line-height: 1.45; min-height: 1.2rem; }
.form-status.is-success { color: var(--accent-green); }
.form-status.is-error   { color: #ff8a80; }
.form-status.is-sending { color: var(--text-secondary); }
.form-status a { color: var(--accent-green); text-decoration: underline; }

/* ===== ФУТЕР ===== */
.footer-section .brand { font-family: var(--font-heading); font-weight: 800; font-size: 1.35rem; color: var(--text-primary); margin-bottom: 0.8rem; }
.footer-section .brand span { color: var(--accent-green); }
.footer-section h5 { font-size: 1.02rem; margin-bottom: 0.9rem; font-weight: 700; }
.footer-section ul { font-size: 0.96rem; }
.footer-section ul li { margin-bottom: 0.5rem; color: var(--text-secondary); overflow-wrap: anywhere; }
.footer-section a { color: var(--text-secondary); transition: color 0.25s ease; }
.footer-section a:hover { color: var(--accent-green); }
.footer-section .copyright { border-top: 1px solid var(--border-color); padding-top: 1.3rem; margin-top: 1.8rem; text-align: center; color: var(--text-secondary); font-size: 0.92rem; line-height: 1.6; }
.footer-section .social a { font-size: 1.25rem; color: var(--text-secondary); transition: color 0.25s ease; }
.footer-section .social a:hover { color: var(--accent-green); }

/* ===== ПОЯВЛЕНИЕ ПРИ СКРОЛЛЕ ===== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal-screenshot { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 2.5rem; background: rgba(0, 0, 0, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity 0.25s ease; overflow: hidden; }
.modal-screenshot.open { display: flex; opacity: 1; }
.modal-screenshot .modal-inner { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; overflow: hidden; }
.modal-screenshot .modal-img-wrap { width: 100%; max-width: min(1600px, 96vw); flex: 0 1 auto; height: calc(100vh - 220px); display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 10px; background: #0d1f33; border: 1px solid rgba(46, 204, 113, 0.35); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7); cursor: default; }
.modal-screenshot img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.modal-screenshot .modal-caption { text-align: center; color: var(--text-primary); max-width: 900px; padding: 0 1rem; flex-shrink: 0; cursor: default; }
.modal-screenshot .modal-caption h4 { font-family: var(--font-heading); font-size: 1.15rem; margin-bottom: 0.35rem; color: var(--text-primary); }
.modal-screenshot .modal-caption p { font-size: 0.95rem; color: var(--text-secondary); margin: 0; line-height: 1.5; }
.modal-screenshot .modal-close { position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-color); background: rgba(10, 25, 41, 0.95); color: var(--text-primary); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; transition: all 0.2s ease; z-index: 3; }
.modal-screenshot .modal-close:hover { background: rgba(46, 204, 113, 0.2); border-color: var(--accent-green); color: var(--accent-green); transform: rotate(90deg); }
.modal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--border-color); background: rgba(10, 25, 41, 0.85); backdrop-filter: blur(8px); color: var(--text-primary); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; cursor: pointer; transition: all 0.2s ease; z-index: 3; }
.modal-nav:hover { background: rgba(46, 204, 113, 0.22); border-color: var(--accent-green); color: var(--accent-green); }
.modal-nav:disabled { opacity: 0.25; cursor: not-allowed; }
.modal-nav.prev { left: 1rem; }
.modal-nav.next { right: 1rem; }
.modal-nav[hidden] { display: none !important; }
.modal-counter { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); font-family: var(--font-heading); font-size: 0.82rem; color: var(--text-secondary); font-variant-numeric: tabular-nums; background: rgba(10, 25, 41, 0.85); border: 1px solid var(--border-color); border-radius: 8px; padding: 0.3rem 0.8rem; z-index: 3; letter-spacing: 0.05em; }
.modal-counter #modalCurrent { color: var(--accent-green); font-weight: 700; }

/* ===== СКРОЛЛБАР ===== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--primary-dark); }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-green); }

/* ===== АДАПТИВ ===== */
@media (min-width: 992px) and (max-height: 860px) {
    .section { padding: 3.5rem 0; }
    .hero-section { padding: 1.5rem 0; }
    .section-title { font-size: 1.5rem; }
    .section-sub { font-size: 1rem; margin-bottom: 1.6rem; }
    .hero-title { font-size: 2.4rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-metrics { margin-top: 1.4rem; gap: 1.8rem; }
}
@media (max-width: 991px) {
    .section { padding: 3rem 0; }
    .hero-section { min-height: auto; padding: 2.5rem 0; }
    .section-title { font-size: 1.6rem; }
    .hero-title { font-size: 2rem; line-height: 1.18; }
    .hero-subtitle { font-size: 1.05rem; }
    .hero-metrics { gap: 1.4rem; margin-top: 1.4rem; }
    .navbar .nav-link { padding: 0.4rem 0.5rem !important; font-size: 0.88rem; }
    .navbar .nav-link.active::after { display: none; }
    .screenshot-thumb .thumb-img { aspect-ratio: 16 / 9; max-height: 180px; }
    .modal-screenshot { padding: 1rem; }
    .modal-screenshot .modal-img-wrap { height: calc(100vh - 220px); }
    .modal-screenshot .modal-close { top: 0.5rem; right: 0.5rem; width: 40px; height: 40px; }
    .modal-nav { width: 44px; height: 44px; font-size: 1.1rem; }
    .modal-nav.prev { left: 0.5rem; }
    .modal-nav.next { right: 0.5rem; }
}
@media (max-width: 576px) {
    .hero-title { font-size: 1.8rem; }
    .section-title { font-size: 1.4rem; }
    .card-dark { padding: 1.05rem; }
    .compare-table th, .compare-table td { padding: 0.65rem 0.7rem; font-size: 0.9rem; }
    .screenshot-thumb .thumb-img { max-height: 150px; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .card-dark:hover, .metric-card:hover, .step-card:hover, .money-item:hover, .screenshot-thumb:hover, .screenshot-thumb:hover img { transform: none; }
}