* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f8faff;
    color: #1e293b;
    line-height: 1.6;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 25vh;
    max-width: 200px;
    height: auto;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: #2563eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.logo-text {
    font-size: 22px;
    font-weight: 600;
    color: #1e293b;
}

.nav {
    display: flex;
    gap: 40px;
}

.nav a {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: color 0.3s;
    cursor: pointer;
    font-size: 16px;
}

.nav a:hover {
    color: #2563eb;
}

.header-btn {
    background: #2563eb;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
    cursor: pointer;
    font-size: 16px;
    white-space: nowrap;
}

.header-btn:hover {
    background: #1d4ed8;
}

/* Hero Section с динамическим фоном на всю ширину */
.hero {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(-45deg, #667eea, #764ba2, #2563eb, #1e40af);
    background-size: 400% 400%;
    animation: gradientBG 12s ease infinite;
    isolation: isolate;
    width: 100%;
    margin: 0;
}

/* Затемняющий оверлей для читаемости текста */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 50% 25%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 50% 75%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* Кнопки в hero */
.hero .btn-primary {
    background: white;
    color: #2563eb;
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-size: 16px;
}

.hero .btn-primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.hero .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
    display: inline-block;
    cursor: pointer;
    font-size: 16px;
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Общие стили для секций-окон */
.section-window-wrapper {
    background: white;
    width: 100%;
    padding: 20px 0;
}

.section-window {
    background: white;
    border-radius: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    margin: 40px auto;
    padding: 50px 40px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top center;
    border: 1px solid rgba(37, 99, 235, 0.1);
    scroll-margin-top: 100px;
    max-width: 1200px;
}

.section-window.hidden {
    display: none;
}

.section-header {
    text-align: left;
    margin-bottom: 40px;
}

.section-tag {
    color: #2563eb;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: #f8faff;
    padding: 35px;
    border-radius: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(37, 99, 235, 0.1);
}

.feature-number {
    font-size: 42px;
    font-weight: 700;
    color: #2563eb20;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #0f172a;
}

.feature-description {
    color: #64748b;
    line-height: 1.7;
    font-size: 15px;
}

/* Benefits (преимущества) */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.benefit-item {
    background: #f8faff;
    padding: 30px 25px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: #2563eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
}

.benefit-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #0f172a;
}

.benefit-item p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

/* Tariffs (тарифы) */
.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tariff-card {
    background: #f8faff;
    border-radius: 24px;
    padding: 30px 20px;
    transition: transform 0.3s;
    border: 1px solid #e2e8f0;
    position: relative;
    display: flex;
    flex-direction: column;
}

.tariff-card.popular1 {
    border: 2px solid #2563eb;
    background: white;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 30px;
    background: #2563eb;
    color: white;
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
}

.tariff-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.tariff-price {
    font-size: 32px;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 20px;
    text-align: center;
}

.tariff-price span {
    font-size: 14px;
    font-weight: 400;
    color: #64748b;
}

.tariff-features {
    list-style: none;
    margin-bottom: 25px;
    flex-grow: 1;
}

.tariff-features li {
    padding: 6px 0;
    color: #475569;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
}

.tariff-features li::before {
    content: "✓";
    color: #2563eb;
    font-weight: 700;
    flex-shrink: 0;
}

.tariff-btn {
    width: 100%;
    background: white;
    border: 1px solid #2563eb;
    color: #2563eb;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: auto;
    font-size: 16px;
}

.tariff-btn:hover {
    background: #2563eb;
    color: white;
}

.popular .tariff-btn1 {
    background: #2563eb;
    color: white;
}

/* Contact form */
.contact-container {
    max-width: 700px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #0f172a;
    font-size: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    background: #f8faff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.submit-btn {
    width: 100%;
    background: #2563eb;
    color: white;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #1d4ed8;
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
    width: 100%;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Горизонтальное расположение контактов */
.footer-contacts {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px 40px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Элемент контакта */
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

/* Иконка контакта */
.contact-icon {
    font-size: 18px;
    opacity: 0.9;
}

/* Ссылка контакта - белый цвет */
.contact-link {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.contact-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Нижняя часть футера */
.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Фон для основного контента */
.main-background {
    background: #f8faff;
    width: 100%;
    padding: 20px 0;
}

/* ========== АДАПТАЦИЯ ПОД МОБИЛЬНЫЕ УСТРОЙСТВА ========== */

/* Планшеты (до 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 25px;
    }

    .nav {
        gap: 25px;
    }

    .nav a {
        font-size: 15px;
    }

    .header-btn {
        padding: 10px 20px;
        font-size: 15px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .tariffs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .section-window {
        padding: 40px 30px;
    }

    .section-title {
        font-size: 28px;
    }
}

/* Мобильные устройства (до 768px) */
@media (max-width: 768px) {
    .header {
        padding: 12px 0;
    }

    .container {
        padding: 0 15px;
    }

    .logo img {
        width: 20vh;
        max-width: 150px;
    }

    .nav {
        display: none; /* Скрываем навигацию на мобильных */
    }

    .header-btn {
        display: none; /* Скрываем кнопку на мобильных */
    }

    /* Hero секция */
    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 25px;
        padding: 0 10px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero .btn-primary,
    .hero .btn-secondary {
        padding: 14px 30px;
        font-size: 15px;
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    /* Секции-окна */
    .section-window {
        padding: 25px 15px;
        margin: 25px auto;
        border-radius: 20px;
    }

    .section-header {
        margin-bottom: 25px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-tag {
        font-size: 12px;
        margin-bottom: 5px;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-card {
        padding: 25px 20px;
    }

    .feature-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .feature-description {
        font-size: 14px;
    }

    /* Benefits */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .benefit-item {
        padding: 25px 20px;
    }

    .benefit-icon {
        width: 42px;
        height: 42px;
        font-size: 20px;
        margin-bottom: 15px;
    }

    .benefit-item h4 {
        font-size: 17px;
    }

    .benefit-item p {
        font-size: 13px;
    }

    /* Tariffs */
    .tariffs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tariff-card {
        padding: 25px 20px;
        max-width: 100%;
    }

    .tariff-card.popular {
        transform: scale(1);
    }

    .tariff-name {
        font-size: 20px;
    }

    .tariff-price {
        font-size: 28px;
    }

    .tariff-features li {
        font-size: 13px;
        padding: 5px 0;
    }

    /* Contact form */
    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .form-group label {
        font-size: 14px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 15px;
    }

    .submit-btn {
        padding: 14px;
        font-size: 16px;
    }

    /* Footer */
    .footer {
        padding: 30px 0 15px;
        margin-top: 40px;
    }

    .footer .container {
        padding: 0 15px;
    }

    .footer-contacts {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .contact-item {
        width: 100%;
        justify-content: flex-start;
    }

    .contact-link {
        font-size: 15px;
        white-space: normal;
        word-break: break-word;
    }

    .footer-bottom {
        font-size: 12px;
        padding-top: 15px;
    }
}

/* Маленькие мобильные (до 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero .btn-primary,
    .hero .btn-secondary {
        padding: 12px 20px;
        font-size: 14px;
        max-width: 240px;
    }

    .section-title {
        font-size: 22px;
    }

    .tariff-name {
        font-size: 18px;
    }

    .tariff-price {
        font-size: 24px;
    }

    .contact-item {
        flex-wrap: wrap;
    }

    .contact-link {
        font-size: 14px;
    }
}

/* Альбомная ориентация на мобильных */
@media (max-width: 896px) and (orientation: landscape) {
    .hero {
        padding: 120px 0 60px;
    }

    .features-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Кнопка Демо-доступ */
.btn-demo {
    background: transparent;
    color: white;
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s;
    display: inline-block;
    cursor: pointer;
    backdrop-filter: blur(5px);
}

.btn-demo:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: white;
    margin: 8% auto 5%;
    padding: 40px;
    border-radius: 30px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #2563eb;
}

.modal-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
    margin-bottom: 15px;
}

.modal-text {
    color: #475569;
    text-align: center;
    margin-bottom: 20px;
    font-size: 16px;
}

.modal-link {
    display: block;
    background: #f8faff;
    color: #2563eb;
    padding: 15px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    text-align: center;
    margin-bottom: 15px;
    border: 1px solid #2563eb20;
    transition: all 0.3s;
    word-break: break-all;
}

.modal-link:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.3);
}

.modal-note {
    color: #94a3b8;
    font-size: 14px;
    text-align: center;
    margin-bottom: 25px;
}

.modal-btn {
    background: #2563eb;
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.modal-btn:hover {
    background: #1d4ed8;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero .btn-primary,
    .hero .btn-secondary,
    .btn-demo {
        padding: 14px 30px;
        font-size: 15px;
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .modal-content {
        margin: 20% auto;
        padding: 30px 20px;
    }

    .modal-title {
        font-size: 20px;
    }

    .modal-link {
        font-size: 16px;
        padding: 12px 15px;
    }
}

@media (max-width: 480px) {
    .hero .btn-primary,
    .hero .btn-secondary,
    .btn-demo {
        max-width: 240px;
        padding: 12px 20px;
        font-size: 14px;
    }
}
/* Стили для демо-данных */
.demo-credentials {
    background: #f8faff;
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #e2e8f0;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

.credential-item:last-child {
    border-bottom: none;
}

.credential-label {
    font-weight: 600;
    color: #475569;
    min-width: 70px;
    font-size: 16px;
}

.credential-value {
    font-weight: 700;
    color: #2563eb;
    font-size: 18px;
    font-family: monospace;
    letter-spacing: 0.5px;
    flex: 1;
}

.copy-btn {
    background: white;
    border: 1px solid #2563eb20;
    color: #2563eb;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.copy-btn:active {
    transform: translateY(0);
}

/* Уведомление о копировании */
.copy-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #0f172a;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .demo-credentials {
        padding: 15px;
    }

    .credential-label {
        font-size: 14px;
        min-width: 60px;
    }

    .credential-value {
        font-size: 16px;
    }

    .copy-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .credential-item {
        flex-wrap: wrap;
    }

    .credential-value {
        order: 2;
        width: calc(100% - 90px);
    }

    .copy-btn {
        order: 3;
    }
}
/* Альтернативный вариант с Grid */
.hero-buttons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 равные колонки */
    gap: 20px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-secondary,
.hero-buttons .btn-demo {
    width: 100%;
    padding: 16px 15px;
    font-size: 16px;
    text-align: center;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Для кнопки с длинным текстом */
.hero-buttons .btn-primary {
    white-space: normal;
    line-height: 1.3;
}

@media (max-width: 1024px) {
    .hero-buttons {
        gap: 15px;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary,
    .hero-buttons .btn-demo {
        font-size: 15px;
        padding: 15px 12px;
    }
}

@media (max-width: 768px) {
    .hero-buttons {
        grid-template-columns: 1fr; /* Одна колонка на мобильных */
        max-width: 320px;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary,
    .hero-buttons .btn-demo {
        white-space: normal;
        padding: 14px 20px;
    }
}
/* Альтернативный вариант с Grid */
.hero-buttons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    justify-content: center;
    align-items: center;
    max-width: 900px;
    margin: 0 auto; /* Центрирование сетки */
    width: 100%;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-secondary,
.hero-buttons .btn-demo {
    width: 100%;
    padding: 16px 15px;
    font-size: 16px;
    text-align: center;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto; /* Центрирование содержимого */
}

@media (max-width: 1024px) {
    .hero-buttons {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .hero-buttons {
        grid-template-columns: 1fr; /* Одна колонка */
        max-width: 320px;
        margin: 0 auto; /* Центрирование */
        justify-items: center; /* Центрирование элементов в сетке */
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary,
    .hero-buttons .btn-demo {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        justify-self: center; /* Центрирование в ячейке */
    }
}
.hero-buttons button,.hero-buttons a{
    height: 9vh;
}