        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            background: #f8fafc;
            color: #0f172a;
            line-height: 1.5;
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
        }

        /* Header */
        .header {
            background: white;
            border-bottom: 1px solid #e2e8f0;
            position: sticky;
            top: 0;
            z-index: 100;
            backdrop-filter: blur(8px);
            background-color: rgba(255, 255, 255, 0.9);
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 0;
            flex-wrap: wrap;
            gap: 16px;
        }

        .logo {
            font-size: 24px;
            font-weight: 700;
            color: #0f172a;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .logo span {
            background: #3b82f6;
            color: white;
            padding: 4px 12px;
            border-radius: 30px;
            font-size: 14px;
        }

        .logo img {
            width: 280px;
            height: auto;
            display: block;
        }

        .nav-links {
            display: flex;
            gap: 24px;
            align-items: center;
            flex-wrap: wrap;
        }

        .nav-links a {
            text-decoration: none;
            color: #334155;
            font-weight: 500;
            transition: color 0.2s;
            font-size: 15px;
        }

        .nav-links a:hover {
            color: #3b82f6;
        }

        .btn-outline {
            border: 1px solid #cbd5e1;
            padding: 8px 20px;
            border-radius: 40px;
            background: transparent;
        }

        .btn-outline:hover {
            background: #f1f5f9;
            border-color: #94a3b8;
        }

        .btn-primary {
            background: #3b82f6;
            color: white !important;
            padding: 10px 24px;
            border-radius: 40px;
            text-decoration: none;
            font-weight: 600;
            transition: background 0.2s;
            border: none;
            cursor: pointer;
            display: inline-block;
            text-align: center;
        }

        .btn-primary:hover {
            background: #2563eb;
        }

        .btn-secondary {
            background: white;
            color: #3b82f6;
            border: 1px solid #3b82f6;
            padding: 10px 24px;
            border-radius: 40px;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.2s;
        }

        .btn-secondary:hover {
            background: #eff6ff;
        }

        /* Hero секция */
        .hero {
            padding: 60px 0 48px;
            text-align: center;
        }

        .hero h1 {
            font-size: 44px;
            font-weight: 700;
            margin-bottom: 24px;
            letter-spacing: -0.02em;
            background: linear-gradient(135deg, #0f172a 0%, #3b82f6 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero p {
            font-size: 18px;
            color: #475569;
            max-width: 700px;
            margin: 0 auto 32px;
        }

        .hero-buttons {
            display: flex;
            gap: 16px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .stats {
            display: flex;
            justify-content: center;
            gap: 48px;
            margin-top: 48px;
            flex-wrap: wrap;
        }

        .stat-item {
            text-align: center;
        }

        .stat-number {
            font-size: 36px;
            font-weight: 700;
            color: #3b82f6;
        }

        .stat-label {
            color: #64748b;
            font-size: 14px;
        }

        /* Секции с карточками */
        .section {
            padding: 56px 0;
            border-bottom: 1px solid #e2e8f0;
        }

        .section-title {
            font-size: 32px;
            font-weight: 700;
            text-align: center;
            margin-bottom: 16px;
        }

        .section-subtitle {
            text-align: center;
            color: #475569;
            max-width: 700px;
            margin: 0 auto 48px;
            font-size: 18px;
        }

        .cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 32px;
        }

        .card {
            background: white;
            border-radius: 24px;
            padding: 32px;
            box-shadow: 0 4px 6px -2px rgba(0,0,0,0.05), 0 10px 15px -3px rgba(0,0,0,0.1);
            transition: transform 0.2s, box-shadow 0.2s;
            border: 1px solid #e2e8f0;
        }

        .card:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.02);
        }

        .card-icon {
            font-size: 40px;
            margin-bottom: 24px;
        }

        .card h3 {
            font-size: 20px;
            margin-bottom: 12px;
            font-weight: 600;
        }

        .card p {
            color: #475569;
            line-height: 1.5;
            margin-bottom: 20px;
        }

        .card-link {
            color: #3b82f6;
            font-weight: 500;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }

        .card-link:hover {
            text-decoration: underline;
        }

        /* Специальный стиль для блока "Как это работает" – обычная сетка без горизонтального скролла */
        .steps-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 32px;
        }

        /* Форма заявки */
        .form-section {
            background: white;
            border-radius: 32px;
            padding: 48px;
            margin: 64px auto;
            box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.02);
            border: 1px solid #e2e8f0;
            max-width: 600px;
        }

        .form-section h2 {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 12px;
            text-align: center;
        }

        .form-section p {
            text-align: center;
            color: #475569;
            margin-bottom: 32px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group input, .form-group textarea {
            width: 100%;
            padding: 12px 16px;
            border: 1px solid #cbd5e1;
            border-radius: 12px;
            font-family: inherit;
            font-size: 16px;
            transition: border-color 0.2s;
        }

        .form-group input:focus, .form-group textarea:focus {
            outline: none;
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
        }

        .form-group textarea {
            min-height: 100px;
            resize: vertical;
        }

        .form-section button {
            width: 100%;
            justify-content: center;
        }

        /* Footer 
        .footer {
            background: white;
            border-top: 1px solid #e2e8f0;
            padding: 48px 0 32px;
            margin-top: 64px;
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 24px;
        }

        .footer-links {
            display: flex;
            gap: 24px;
            flex-wrap: wrap;
        }

        .footer-links a {
            color: #64748b;
            text-decoration: none;
            font-size: 14px;
        }

        .footer-links a:hover {
            color: #3b82f6;
        }

        .copyright {
            font-size: 12px;
            color: #94a3b8;
        }*/

        /* ========== МОБИЛЬНАЯ АДАПТАЦИЯ ========== */
        @media (max-width: 768px) {
            .container {
                padding: 0 20px;
            }

            .hero {
                padding: 40px 0 32px;
            }

            .hero h1 {
                font-size: 32px;
            }

            .hero p {
                font-size: 16px;
            }

            .section-title {
                font-size: 28px;
            }

            .section-subtitle {
                font-size: 16px;
                margin-bottom: 32px;
            }

            .cards-grid {
                gap: 24px;
            }

            .card {
                padding: 24px;
            }

            .form-section {
                padding: 32px 24px;
                margin: 40px 16px;
            }

            .form-section h2 {
                font-size: 24px;
            }

            .header-content {
                flex-direction: column;
                text-align: center;
            }

            .nav-links {
                justify-content: center;
                gap: 16px;
            }

            .nav-links a {
                font-size: 14px;
            }

            .btn-outline, .btn-primary, .btn-secondary {
                padding: 8px 16px;
                font-size: 14px;
            }

            .stat-number {
                font-size: 28px;
            }

            .stat-label {
                font-size: 12px;
            }

            /* Блок с тарифами */
            #pricing {
                padding: 32px 20px !important;
                margin: 24px 0 !important;
            }

            #pricing .section-title {
                font-size: 28px !important;
            }

            #pricing .section-subtitle {
                font-size: 16px !important;
            }

            #pricing div[style*="background: white"] {
                padding: 32px 20px !important;
            }

            #pricing div[style*="font-size: 80px"] {
                font-size: 56px !important;
            }
/*
            .footer-content {
                flex-direction: column;
                text-align: center;
            }

            .footer-links {
                justify-content: center;
            }*/
        }

        @media (max-width: 480px) {
            .hero h1 {
                font-size: 28px;
            }

            .section-title {
                font-size: 26px;
            }

            .card h3 {
                font-size: 18px;
            }

            .card p {
                font-size: 14px;
            }

            .stats {
                gap: 24px;
            }

            .stat-number {
                font-size: 24px;
            }

            .logo img {
                width: 220px;
            }

            .hero-buttons .btn-primary,
            .hero-buttons .btn-secondary {
                width: 100%;
                text-align: center;
            }

            .btn-primary, .btn-secondary {
                padding: 12px 20px;
                font-size: 16px;
            }

            .form-section {
                padding: 24px 16px;
            }

            .form-group input, .form-group textarea {
                padding: 10px 14px;
                font-size: 15px;
            }
        }

        /* Стили для мини-скриншотов внутри карточек */
.card-screenshot {
    margin-top: 20px;
    text-align: center;
    border-radius: 16px;
    overflow: hidden;
    background: #f1f5f9;
    transition: transform 0.2s ease;
}

.card-screenshot img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
    transform: scale(1.02);
    border: none;
    outline: 1px solid transparent;
}



.screenshot-caption {
    display: block;
    font-size: 12px;
    color: #64748b;
    padding: 8px 12px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    font-weight: 500;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .card-screenshot {
        margin-top: 16px;
    }
    .screenshot-caption {
        font-size: 11px;
        padding: 6px 10px;
    }
}


/* ========== НОВЫЙ МНОГОКОЛОНОЧНЫЙ ФУТЕР ========== */
.footer {
    background: #0f172a; /* тёмный фон для контраста */
    color: #cbd5e1;
    border-top: none;
    margin-top: 64px;
    padding: 48px 0 24px;
}

.footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: #3b82f6;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: -0.2px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu li a {
    font-size: 14px;
}

/* Логотип в футере */
.footer-logo {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1); /* если логотип тёмный – делает его белым. Если логотип цветной – уберите эту строку */
}

/* Информация о разработчике */
.footer-developer p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 6px;
    color: #94a3b8;
}

.dev-name {
    margin-top: 12px;
}

.dev-inn {
    font-size: 11px;
    color: #64748b;
}

/* Социальные иконки/ссылки */
.footer-social {
    margin-top: 20px;
    display: flex;
    gap: 16px;
}

.footer-social a {
    font-size: 14px;
    background: rgba(255,255,255,0.05);
    padding: 6px 12px;
    border-radius: 30px;
    transition: background 0.2s;
}

.footer-social a:hover {
    background: #3b82f6;
    color: white;
}

/* Нижняя строка */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 32px;
    border-top: 1px solid #1e293b;
    font-size: 13px;
    color: #64748b;
}

.footer-version {
    font-size: 12px;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    .footer-grid {
        gap: 32px;
        grid-template-columns: 1fr; /* одна колонка на телефонах */
        text-align: center;
    }
    .footer-col {
        text-align: center;
    }
    .footer-social {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-logo img {
        height: 32px;
    }



 
}
 

    /* контент юридической информации */
        .container-legal { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
        .legal-page { padding: 60px 0; }
        .legal-card { background: white; border-radius: 32px; padding: 48px; box-shadow: 0 4px 6px -2px rgba(0,0,0,0.05); border: 1px solid #e2e8f0; }
        .legal-card h1 { font-size: 36px; font-weight: 700; margin-bottom: 24px; color: #0f172a; }
        .legal-card h2 { font-size: 24px; font-weight: 600; margin: 32px 0 16px; color: #1e293b; }
        .legal-card p, .legal-card li { color: #334155; margin-bottom: 16px; font-size: 16px; }
        .legal-card ul { margin-left: 24px; margin-bottom: 24px; }
        .legal-card a { color: #3b82f6; text-decoration: none; }
        .legal-card a:hover { text-decoration: underline; }

        @media (max-width: 768px) {
            .legal-card { padding: 32px 24px; }
            .legal-card h1 { font-size: 28px; }
            .header-content { flex-direction: column; text-align: center; }
            .nav-links { justify-content: center; }
            .logo img { width: 220px; }
            .footer-grid { grid-template-columns: 1fr; text-align: center; }
            .footer-bottom { flex-direction: column; text-align: center; }
        }

/* Кнопка отправки формы */
.btn-submit {
    background: #3b82f6;
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    display: inline-block;  /* вместо width: 100% */
    width: auto;
    min-width: 200px;       /* минимальная ширина для удобства */
}

.btn-submit:hover {
    background: #2563eb;
}

.btn-submit:active {
    transform: scale(0.98);
}

/* Информационные блоки */
.info-text {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    font-size: 14px;
    color: #475569;
}

.info-text a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.info-text a:hover {
    text-decoration: underline;
}

/* Сообщения об ошибках и успехе */
.error-message {
    background: #fee2e2;
    color: #b91c1c;
    padding: 12px 16px;
    border-radius: 16px;
    margin-bottom: 24px;
    font-size: 14px;
    border-left: 4px solid #ef4444;
}

.success-message {
    background: #dcfce7;
    color: #166534;
    padding: 12px 16px;
    border-radius: 16px;
    margin-bottom: 24px;
    font-size: 14px;
    border-left: 4px solid #22c55e;
}

/* Требования к паролю */
.password-requirements {
    font-size: 12px;
    color: #64748b;
    margin-top: 6px;
}

/* Адаптация для мобильных */
@media (max-width: 640px) {
    .btn-submit {
        padding: 12px 20px;
        font-size: 15px;
    }
    .info-text {
        font-size: 12px;
    }
}

/* Двухколоночная форма регистрации */
.register-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.register-form__left {
    /* форма */
}

.register-form__right {
    background: #f8fafc;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid #e2e8f0;
}

.register-form__right h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #0f172a;
}

.register-form__right p {
    font-size: 14px;
    color: #475569;
    margin-bottom: 12px;
    line-height: 1.5;
}

.register-form__right ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.register-form__right li {
    font-size: 14px;
    color: #475569;
    margin-bottom: 8px;
}

.register-form__right .login-link {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    font-weight: 500;
}

.register-form__right .login-link a {
    color: #3b82f6;
    text-decoration: none;
}

.register-form__right .login-link a:hover {
    text-decoration: underline;
}

/* Для мобильных */
@media (max-width: 768px) {
    .register-form {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .register-form__right {
        order: 2; /* чтобы справа оказался после формы, если нужно */
    }
}


/* ===== ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ REGISTER.PHP ===== */

/* Центрирование и ограничение ширины legal-card */
.legal-card {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Стиль подзаголовка внутри legal-card */
.legal-card .subtitle {
    text-align: center;
    color: #475569;
    margin-bottom: 32px;
    font-size: 18px;
}

/* Адаптация legal-card для мобильных (уже есть, но добавим max-width) */
@media (max-width: 768px) {
    .legal-card {
        max-width: 100%;
        margin: 0 16px;
    }
}

/* Убираем возможные конфликты с глобальными стилями форм */
.legal-card .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.legal-card .form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #1e293b;
}

.legal-card .form-group input,
.legal-card .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.2s;
}

.legal-card .form-group input:focus,
.legal-card .form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

/* Сообщения об успехе/ошибке (дублирование для уверенности) */
.error-message,
.success-message {
    padding: 12px 16px;
    border-radius: 16px;
    margin-bottom: 24px;
    font-size: 14px;
}

.error-message {
    background: #fee2e2;
    color: #b91c1c;
    border-left: 4px solid #ef4444;
}

.success-message {
    background: #dcfce7;
    color: #166534;
    border-left: 4px solid #22c55e;
}

/* Кнопка отправки формы (уже есть, но добавим центрирование на десктопе) */
.btn-submit {
    background: #3b82f6;
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-block;
    width: auto;
    min-width: 200px;
}

.btn-submit:hover {
    background: #2563eb;
}

/* Для мобильных кнопка на всю ширину */
@media (max-width: 640px) {
    .btn-submit {
        display: block;
        width: 100%;
        min-width: unset;
        padding: 12px 20px;
        font-size: 15px;
    }
}

/* Центрирование кнопки в форме (чтобы не прижималась к левому краю) */
.register-form__left form {
    text-align: center;
}

/* Информационный блок (уже есть, но добавим стили для ссылок) */
.info-text {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    font-size: 14px;
    color: #475569;
}

.info-text a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.info-text a:hover {
    text-decoration: underline;
}

/* Двухколоночная сетка (уже есть, но добавим, чтобы левая колонка не имела фона) */
.register-form__left {
    background: transparent;
}

/* Стили для правой колонки */
.register-form__right {
    background: #f8fafc;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid #e2e8f0;
}

.register-form__right h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #0f172a;
}

.register-form__right p,
.register-form__right li {
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
}

.register-form__right ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.register-form__right .login-link {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    font-weight: 500;
}

/* Адаптация сетки */
@media (max-width: 768px) {
    .register-form {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .register-form__right {
        order: 2;
    }
}

/* Требования к паролю */
.password-requirements {
    font-size: 12px;
    color: #64748b;
    margin-top: 6px;
}