/* Вынесено из index.txt (style) 1:1 */

/* ===== БАЗОВЫЕ СБРОСЫ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f9fafc;
    color: #1e293b;
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== КНОПКИ ===== */
.btn-outline {
    border: 1.5px solid #e2e8f0;
    background: white;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 15px;
}
.btn-outline:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border: none;
    color: white;
    font-weight: 600;
    padding: 14px 36px;
    border-radius: 60px;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 10px 20px -8px #2563eb80;
}
.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: #0f172a;
    border: none;
    padding: 18px 50px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}
.btn-white:hover {
    transform: scale(1.05);
}

/* ===== HEADER (ДЕСКТОП) С ВЫПАДАЮЩИМИ МЕНЮ ===== */
header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

/* Десктопная навигация с dropdown */
.nav-links {
    display: flex;
    gap: 28px;
    font-weight: 500;
    align-items: center;
}

.nav-item {
    position: relative;
    padding: 8px 0;
}

.nav-item > a {
    text-decoration: none;
    color: #1e293b;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-item > a i {
    font-size: 14px;
    transition: transform 0.2s;
}

.nav-item:hover > a {
    color: #2563eb;
}

.nav-item:hover > a i {
    transform: rotate(180deg);
}

/* Выпадающее меню */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    min-width: 220px;
    border-radius: 24px;
    padding: 16px 0;
    box-shadow: 0 20px 35px -8px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    border: 1px solid #f0f4fe;
    z-index: 100;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.dropdown-menu a {
    display: block;
    padding: 10px 24px;
    text-decoration: none;
    color: #334155;
    font-size: 15px;
    transition: background 0.2s;
}

.dropdown-menu a:hover {
    background: #f1f5f9;
    color: #2563eb;
}

.mobile-menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #1e293b;
}

#menu-toggle {
    display: none;
}

/* Мобильное меню (гамбургер) */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border-top: 1px solid #eef2f6;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    padding: 20px;
    display: none;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
}
#menu-toggle:checked ~ .mobile-menu {
    display: flex;
}
.mobile-menu a {
    text-decoration: none;
    color: #1e293b;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

/* ===== НИЖНЯЯ НАВИГАЦИЯ (ТОЛЬКО МОБИЛЬНАЯ) ===== */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.05);
    border-top: 1px solid #eef2f6;
    padding: 8px 4px;
    z-index: 1100;
    justify-content: space-around;
    align-items: center;
    backdrop-filter: blur(10px);
}
.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    color: #64748b;
    transition: color 0.2s;
    text-decoration: none;
    flex: 1;
    padding: 6px 0;
}
.bottom-nav-item i {
    font-size: 22px;
    margin-bottom: 2px;
}
.bottom-nav-item.active {
    color: #2563eb;
}
.bottom-nav-item span {
    font-size: 11px;
    font-weight: 500;
}

/* ===== HERO ===== */
.hero {
    padding: 40px 0 60px;
    position: relative;
    overflow: hidden;
}
.hero:before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 70%;
    height: 140%;
    background: radial-gradient(circle at 30% 50%, rgba(37, 99, 235, 0.15), transparent 60%),
                radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.12), transparent 60%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
}
.hero-grid {
    display: flex;
    align-items: center;
    gap: 40px;
}
.hero-content {
    flex: 1.1;
}
.hero-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    font-weight: 600;
    font-size: 14px;
    padding: 6px 16px;
    border-radius: 40px;
    margin-bottom: 20px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}
.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
    background: linear-gradient(to right, #0f172a, #2563eb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
}
.hero-content p {
    font-size: 18px;
    color: #475569;
    max-width: 500px;
    margin-bottom: 40px;
}
.hero-image {
    flex: 0 1 480px;
    max-width: 100%;
    background: linear-gradient(145deg, #e8eef8, #ffffff);
    border-radius: 32px;
    padding: 16px;
    box-shadow: 0 30px 50px -20px rgba(37, 99, 235, 0.25);
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    min-height: 260px;
}
.hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 20px;
    object-fit: cover;
    object-position: center 30%;
    box-shadow: 0 12px 24px -8px rgba(0,0,0,0.12);
}

/* fallback, если картинка не загрузилась */
.hero-image-fallback {
    display: none;
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 26px;
}
.hero-image.no-img .hero-image-fallback { display: flex; }

.mock-report {
    width: 100%;
    max-width: 420px;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(226,232,240,0.9);
    border-radius: 26px;
    padding: 18px 18px 16px;
    box-shadow: 0 30px 55px -35px rgba(15,23,42,0.35);
    backdrop-filter: blur(6px);
}
.mock-title {
    font-weight: 700;
    color: #0f172a;
    font-size: 16px;
    margin-bottom: 12px;
}
.mock-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    font-size: 14px;
}
.mock-line .k { color:#475569; font-weight: 600; }
.mock-line .v { font-weight: 650; }
.mock-line .v.ok { color:#16a34a; }
.mock-line .v.warn { color:#b45309; }
.mock-foot {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.mock-foot .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid #eef2f6;
    background: #ffffff;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
}
.mock-foot .badge i { color:#2563eb; }

/* Поисковая форма */
.search-section {
    background: white;
    border-radius: 80px;
    padding: 12px 12px 12px 24px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 16px;
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.1);
    max-width: 720px;
    margin-top: 30px;
    border: 1px solid rgba(0,0,0,0.05);
}
.search-input-wrap {
    flex: 1;
    min-width: 180px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}
.search-section .search-input-wrap > i {
    color: #94a3b8;
    font-size: 18px;
    flex-shrink: 0;
}
.search-section input[type="text"] {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 500;
    background: transparent;
    padding: 14px 44px 14px 0;
}
.search-section input::placeholder { color: #94a3b8; font-weight: 400; }
.search-counter {
    position: absolute;
    right: 44px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}
.search-counter.vin-ok { color: #16a34a; }
.search-clear {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    background: #f1f5f9;
    border-radius: 50%;
    color: #64748b;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.search-clear:hover { background: #e2e8f0; color: #334155; }
.search-clear.visible { display: flex; }
.hero-hint { font-size: 14px; color: #64748b; margin-top: 12px; font-weight: 500; }
.hero-hint kbd { background: #f1f5f9; padding: 2px 6px; border-radius: 4px; font-size: 12px; }
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 32px;
    margin-top: 16px;
    font-size: 14px;
    color: #64748b;
}
.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.hero-trust i { color: #16a34a; }
.search-section button[type="submit"] {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border: none;
    color: white;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 60px;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s;
    box-shadow: 0 10px 20px -8px #2563eb80;
}
.search-tags {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.search-tags span {
    background: #f1f5f9;
    color: #334155;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 40px;
    cursor: default;
}

/* ===== СТАТИСТИКА ===== */
.stats {
    padding: 40px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}
.stat-item h3 {
    font-size: 48px;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 8px;
}
.stat-item p {
    color: #475569;
    font-weight: 500;
}

/* ===== КАК ЭТО РАБОТАЕТ ===== */
.how-it-works {
    padding: 60px 0;
    background: #ffffff;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}
.step-card {
    text-align: center;
    padding: 30px;
    background: #f8fafc;
    border-radius: 40px;
    position: relative;
}
.step-number {
    width: 60px;
    height: 60px;
    background: #2563eb;
    color: white;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 24px;
}
.step-card h4 {
    font-size: 24px;
    margin-bottom: 16px;
}
.step-card p {
    color: #475569;
}

/* ===== ОТЗЫВЫ ===== */
.testimonials {
    padding: 70px 0;
    background: #f1f5f9;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.testimonial-card {
    background: white;
    border-radius: 32px;
    padding: 30px;
    box-shadow: 0 15px 30px -10px rgba(0,0,0,0.05);
}
.testimonial-card i {
    color: #2563eb;
    font-size: 32px;
    margin-bottom: 20px;
}
.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: #334155;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}
.author-info h5 {
    font-weight: 700;
}
.author-info span {
    font-size: 14px;
    color: #64748b;
}

/* ===== СПОСОБЫ ПРОВЕРКИ ===== */
.methods {
    padding: 60px 0;
}
.methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}
.method-card {
    background: white;
    border-radius: 32px;
    padding: 30px;
    text-align: center;
    border: 1px solid #eef2f6;
    transition: transform 0.2s;
}
.method-card:hover {
    transform: translateY(-5px);
}
.method-icon {
    width: 80px;
    height: 80px;
    background: #e0eaff;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: #2563eb;
}

/* ===== ПАРТНЁРЫ ===== */
.partners {
    padding: 40px 0;
    background: white;
}
.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px 60px;
    margin-top: 30px;
}
.partners-logos img,
.partner-badge {
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    font-weight: 600;
    font-size: 14px;
    color: #475569;
    background: #f1f5f9;
    border-radius: 8px;
    opacity: 0.85;
    transition: opacity 0.2s;
}
.partners-logos img {
    filter: grayscale(1);
}
.partners-logos img:hover,
.partner-badge:hover {
    opacity: 1;
    filter: grayscale(0);
}

/* ===== СЕКЦИЯ БАЗ (как было) ===== */
.databases {
    padding: 60px 0;
}
.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #0f172a, #2563eb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}
.section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 18px;
    max-width: 650px;
    margin: 0 auto 60px;
}
.db-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 30px;
    margin-top: 40px;
}
.db-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffffd0;
    padding: 12px 28px;
    border-radius: 60px;
    box-shadow: 0 5px 15px #e2e8f0;
    font-weight: 600;
    font-size: 16px;
    backdrop-filter: blur(4px);
}
.db-item i {
    color: #2563eb;
    font-size: 24px;
}

/* FEATURES (что проверим) */
.features {
    padding: 60px 0;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.feature-card {
    background: white;
    padding: 32px 20px;
    border-radius: 32px;
    box-shadow: 0 20px 35px -10px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
    border: 1px solid #f0f4fe;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 45px -12px rgba(37,99,235,0.15);
}
.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #e0eaff, #ffffff);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 28px;
    color: #2563eb;
}

/* Пример отчёта */
.report-preview {
    background: #ffffff;
    border-radius: 60px;
    padding: 70px 0;
    margin: 20px 0;
    background: linear-gradient(145deg, #ffffff, #f5f9ff);
}
.report-card {
    background: white;
    border-radius: 40px;
    padding: 40px;
    box-shadow: 0 40px 60px -20px rgba(0,0,0,0.2);
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid #eef2f6;
}
.report-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.report-header h3 {
    font-size: 28px;
    font-weight: 700;
}
.report-badge {
    background: #22c55e20;
    color: #22c55e;
    padding: 6px 18px;
    border-radius: 60px;
    font-weight: 600;
}
.report-row {
    display: flex;
    border-bottom: 1px solid #edf2f7;
    padding: 18px 0;
    flex-wrap: wrap;
}
.report-label {
    width: 200px;
    font-weight: 600;
    color: #1e293b;
}
.report-value {
    flex: 1;
    color: #334155;
}
.report-tag {
    background: #f1f5f9;
    border-radius: 40px;
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
}
.report-tag.red {
    background: #fee2e2;
    color: #b91c1c;
}
.report-tag.green {
    background: #dcfce7;
    color: #166534;
}

/* Тарифы */
.pricing {
    padding: 60px 0 80px;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}
.pricing-card {
    background: white;
    border-radius: 40px;
    padding: 40px 30px;
    box-shadow: 0 25px 45px -20px #2563eb40;
    transition: all 0.2s;
    border: 1px solid #f0f4fe;
    position: relative;
}
.pricing-card.popular {
    border: 2px solid #2563eb;
    transform: scale(1.05);
}
.popular-tag {
    position: absolute;
    top: -15px;
    left: 30px;
    background: #2563eb;
    color: white;
    padding: 6px 20px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 14px;
}
.price {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 25px;
}
.price span {
    font-size: 16px;
    font-weight: 400;
    color: #64748b;
}
.pricing-features {
    list-style: none;
    margin: 30px 0;
}
.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    gap: 10px;
    align-items: center;
}
.btn-pricing {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    width: 100%;
    padding: 16px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-pricing:hover, .popular .btn-pricing {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

/* CTA */
.cta {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 80px;
    padding: 70px 20px;
    text-align: center;
    color: white;
    margin: 40px 0 80px;
}
.cta h2 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 20px;
}
.cta p {
    color: #cbd5e1;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Footer */
footer {
    background: white;
    padding: 50px 0 30px;
    border-top: 1px solid #eef2f6;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}
.footer-logo {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}
.footer-col p {
    color: #64748b;
    margin-bottom: 20px;
}
.footer-col h4 {
    font-weight: 700;
    margin-bottom: 24px;
}
.footer-col ul {
    list-style: none;
}
.footer-col li {
    margin-bottom: 14px;
}
.footer-col a {
    text-decoration: none;
    color: #475569;
}
.copyright {
    text-align: center;
    color: #94a3b8;
    margin-top: 60px;
    font-size: 14px;
}

/* ===== АДАПТАЦИЯ ===== */
@media screen and (max-width: 1100px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 900px) {
    .stats-grid, .steps-grid, .testimonials-grid, .methods-grid, .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .nav-links, .header-inner .btn-outline {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .bottom-nav {
        display: flex;
    }
    body {
        padding-bottom: 70px;
    }
    .hero-grid {
        flex-direction: column;
    }
    .hero-content h1 {
        font-size: 40px;
    }
    .search-section {
        flex-wrap: wrap;
        background: transparent;
        box-shadow: none;
        padding: 0;
        gap: 10px;
    }
    .search-section .search-input-wrap > i {
        display: none;
    }
    .search-section input[type="text"] {
        background: white;
        border-radius: 60px;
        padding: 16px 44px 16px 24px;
        border: 1px solid #e2e8f0;
        width: 100%;
    }
    .search-section button[type="submit"] {
        width: 100%;
    }
    .stats-grid, .steps-grid, .testimonials-grid, .methods-grid, .pricing-grid, .feature-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 34px;
    }
    .section-title {
        font-size: 32px;
    }
    .stat-item h3 {
        font-size: 36px;
    }
}

@media screen and (max-width: 360px) {
    .hero-content h1 {
        font-size: 30px;
    }
    .hero-image {
        padding: 10px;
    }
}

/* ===== ДОПОЛНЕНИЯ: более стильная главная ===== */
.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 60px;
    background: #e0eaff;
    color: #2563eb;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid rgba(37,99,235,0.18);
    text-decoration: none;
    white-space: nowrap;
}
.pill-purple {
    background: rgba(124, 58, 237, 0.12);
    color: #7c3aed;
    border-color: rgba(124, 58, 237, 0.18);
}
.pill-green { background:#dcfce7; color:#166534; border-color:#bbf7d0; }
.pill-red { background:#fee2e2; color:#b91c1c; border-color:#fecaca; }
.pill-blue { background:#e0eaff; color:#2563eb; border-color:rgba(37,99,235,0.18); }

.type-tabs {
    width: 100%;
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.type-tab {
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    font-size: 14px;
}
.type-tab:hover { border-color:#2563eb; color:#2563eb; }
.type-tab.active {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 20px -10px rgba(37,99,235,0.5);
}

.tag-click {
    cursor: pointer;
    user-select: none;
    transition: transform 0.15s, background 0.15s;
}
.tag-click:hover { transform: translateY(-1px); background:#e2e8f0; }

.hero-cta-row {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.user-strip {
    padding: 10px 0 40px;
}
.user-strip-card {
    background: linear-gradient(145deg, #ffffff, #f5f9ff);
    border: 1px solid #eef2f6;
    border-radius: 40px;
    padding: 22px 24px;
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    box-shadow: 0 25px 45px -25px rgba(37,99,235,0.22);
}
.user-strip-title { font-weight: 700; font-size: 18px; }
.user-strip-sub { color:#64748b; margin-top: 6px; }
.user-strip-actions { display:flex; gap:12px; flex-wrap:wrap; }

.recent-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.recent-card {
    background: #fff;
    border: 1px solid #f0f4fe;
    border-radius: 28px;
    padding: 16px;
    box-shadow: 0 15px 30px -18px rgba(0,0,0,0.12);
    transition: transform 0.15s, box-shadow 0.15s;
}
.recent-card:hover { transform: translateY(-3px); box-shadow: 0 25px 40px -22px rgba(37,99,235,0.22); }
.recent-top { display:flex; gap:10px; align-items:flex-start; justify-content:space-between; }
.recent-title { font-weight:700; color:#0f172a; }
.recent-meta { margin-top: 10px; color:#64748b; font-size: 13px; font-weight: 500; }

.pricing-note {
    margin-top: 18px;
    text-align: center;
    color: #64748b;
    font-weight: 500;
}

.faq {
    padding: 60px 0;
    background: #ffffff;
}
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 30px;
}
.faq-item {
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 28px;
    padding: 16px 18px;
}
.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    color: #0f172a;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display:none; }
.faq-body {
    margin-top: 12px;
    color: #475569;
    font-weight: 500;
    line-height: 1.6;
}

@media screen and (max-width: 1100px) {
    .recent-grid { grid-template-columns: 1fr; }
}

@media screen and (max-width: 768px) {
    .header-actions .pill,
    .header-actions .pill-purple { display: none; }
    .type-tabs { margin-bottom: 10px; }
    .user-strip-card { padding: 18px; }
    .faq-grid { grid-template-columns: 1fr; }
}

/* ===== ДЕСКТОП-ФИКСЫ (ПК) ===== */
@media screen and (min-width: 901px) {
    /* Шапка: меню в центр, действия вправо */
    .header-inner {
        gap: 24px;
    }
    .nav-links {
        flex: 1;
        justify-content: center;
    }
    .header-actions {
        flex-shrink: 0;
        flex-wrap: nowrap;
    }

    /* Форма поиска: табы сверху, ввод/кнопка в ряд */
    .search-section {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "tabs tabs"
            "input button";
        align-items: center;
        gap: 12px 16px;
        padding: 16px 18px;
        border-radius: 32px;
        max-width: 820px;
    }
    .search-section input[type="hidden"] {
        display: none;
    }
    .search-section .type-tabs {
        grid-area: tabs;
        margin: 0;
    }
    .search-section .search-input-wrap {
        grid-area: input;
    }
    .search-section button[type="submit"] {
        grid-area: button;
        justify-self: end;
        white-space: nowrap;
    }

    /* Герой: немного больше воздуха на ПК */
    .hero-grid {
        align-items: stretch;
    }
    .hero-content p {
        font-size: 18px;
        line-height: 1.65;
    }
}

/* Больше «премиальности» hero на широких экранах */
@media screen and (min-width: 1100px) {
    .hero-grid {
        display: grid;
        grid-template-columns: 1fr 520px;
        gap: 48px;
        align-items: center;
    }
    .hero-image {
        padding: 18px;
        aspect-ratio: 4 / 3;
        max-height: 340px;
    }
    .hero-image img {
        height: 100%;
        object-fit: cover;
    }
}

/* Уменьшим “скачок” популярного тарифа на ПК */
@media screen and (min-width: 901px) {
    .pricing-card.popular {
        transform: scale(1.02);
    }
}

/* Фокус для клавиатуры */
.tag-click:focus-visible,
.type-tab:focus-visible,
.btn-outline:focus-visible,
.btn-primary:focus-visible {
    outline: 3px solid rgba(37,99,235,0.35);
    outline-offset: 3px;
}

/* ===== ВИТРИНА ПОСЛЕДНЕГО ОТЧЁТА ===== */
.mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    letter-spacing: 0.2px;
}
.user-strip-last {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 26px;
    padding: 14px 16px;
    min-width: 280px;
    box-shadow: 0 18px 34px -24px rgba(15, 23, 42, 0.28);
}
.last-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}
.last-link {
    display: block;
    margin-top: 8px;
    border-radius: 18px;
    padding: 10px 12px;
    border: 1px solid transparent;
    transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.last-link:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
    transform: translateY(-1px);
}
.last-main {
    color: #0f172a;
    font-weight: 650;
    line-height: 1.35;
    font-size: 14px;
}
.last-sub {
    margin-top: 10px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
}
.last-sub i {
    color: #94a3b8;
    margin-right: 6px;
}
@media screen and (min-width: 1024px) {
    .user-strip-card { flex-wrap: nowrap; }
    .user-strip-actions {
        margin-left: auto;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 10px;
    }
    .user-strip-actions .btn-primary {
        padding: 12px 20px;
        font-size: 14px;
    }
    .user-strip-actions .btn-outline {
        padding: 10px 18px;
        font-size: 14px;
    }
    .user-strip-last {
        margin-left: 16px;
        min-width: 320px;
        max-width: 360px;
    }
}
@media screen and (max-width: 768px) {
    .user-strip-last {
        width: 100%;
        min-width: 0;
    }
}

/* ===== СРАВНЕНИЕ ТАРИФОВ ===== */
.compare {
    padding: 60px 0;
    background: #ffffff;
}
.compare-wrap {
    margin-top: 26px;
    border: 1px solid #eef2f6;
    border-radius: 28px;
    overflow: auto;
    background: #ffffff;
    box-shadow: 0 24px 44px -30px rgba(37, 99, 235, 0.28);
}
.compare-table {
    width: 100%;
    min-width: 860px;
    border-collapse: separate;
    border-spacing: 0;
}
.compare-table th,
.compare-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    text-align: center;
    vertical-align: middle;
    color: #334155;
    font-size: 14px;
}
.compare-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #ffffff;
}
.compare-table tbody tr:last-child td {
    border-bottom: 0;
}
.compare-table .feature-col {
    position: sticky;
    left: 0;
    z-index: 3;
    text-align: left;
    color: #0f172a;
    font-weight: 600;
    background: linear-gradient(90deg, #fbfdff, #ffffff);
    width: 260px;
}
.cmp-name {
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}
.cmp-sub {
    margin-top: 4px;
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}
.cmp-bool {
    display: inline-flex;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #eef2f6;
}
.cmp-bool.yes {
    background: rgba(22, 163, 74, 0.08);
    border-color: rgba(22, 163, 74, 0.20);
}
.cmp-bool.yes i { color: #16a34a; }
.cmp-bool.no i { color: #94a3b8; }
.btn-compare {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    font-weight: 600;
    color: #1e293b;
    transition: all 0.2s;
}
.btn-compare:hover {
    border-color: #2563eb;
    color: #2563eb;
    transform: translateY(-1px);
}
.compare-note {
    margin-top: 14px;
    text-align: center;
    color: #64748b;
    font-weight: 500;
}

