/* Основные стили и сброс */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #111;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка сайта и Навигация */
.glass-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e5e7e7;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    position: relative;
}

.logo {
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    display: block;
    width: auto;
    height: 36px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-menu a {
    color: #828181;
    text-decoration: none;
    font-size: 18px; /* Изменено с 24px */
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 12px;
    transition: all 0.2s ease-in-out;
}

.nav-menu a:hover,
.nav-menu a:active {
    background-color: #cff045;
    color: #111;
    transform: translateY(-1px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-actions-mobile {
    display: none;
}

/* Кнопки */
.btn-primary {
    background: #cff045;
    color: #111;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.2s ease;
}

.btn-secondary {
    background: #111;
    color: #ffffff;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.2s ease;
}

/* Класс для кнопки Войти */
.btn-outline {
    background: #000000;
    border: 2px solid #000000;
    color: #ffffff;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    display: inline-block;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background: transparent;
    color: #000000;
    border-color: #000000;
    transform: scale(1.02);
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: scale(1.02);
}

.btn-large {
    padding: 18px 45px;
    font-size: 18px;
}

/* Кнопка «Бургер-меню» */
.burger-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-toggle span {
    width: 100%;
    height: 3px;
    background-color: #111;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.burger-toggle.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.burger-toggle.active span:nth-child(2) {
    opacity: 0;
}

.burger-toggle.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Секции */
.section {
    padding: 45px 0;
}

.section-bg-light {
    background: #f3f5f4;
}

.section-bg-white {
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 35px;
}

.section-title {
    font-size: 36px;
    margin: 0 0 15px 0;
    font-weight: 800;
    color: #111;
}

.section-subtitle {
    color: #666;
    margin: 0;
    font-size: 18px;
}

.section-img {
    display: block;
    margin: 0 auto 25px auto;
    width: 100%;
    max-width: 400px;
}

/* Главный экран (Hero) */
.hero {
    padding: 40px 0 50px 0;
    text-align: center;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
}

.hero-title {
    color: #111;
    font-size: 36px;
    margin: 0 0 25px 0;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.hero-text-large {
    margin: 0 auto;
    font-size: 19px;
    line-height: 1.6;
    color: #4b5563;
    text-align: justify;
}

.hero-actions {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Сетки */
.grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Изменено: жесткая сетка в 2 колонки */
    gap: 30px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Карточки методов и преимуществ */
.method-card {
    background: #ffffff;
    border: 1px solid #e5e7e7;
    border-radius: 16px;
    padding: 25px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.method-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.method-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.method-card-title {
    color: #111;
    margin: 0 0 15px 0;
    font-size: 22px;
    font-weight: 700;
}

.method-card-text {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin: 0;
    text-align: justify;
}

.benefit-card {
    background: #f3f5f4;
    border-radius: 20px;
    padding: 35px;
    border: 1px solid #e5e7e7;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: #cff045;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.benefit-title {
    color: #111;
    font-weight: 700;
    font-size: 22px;
    margin: 0 0 15px 0;
}

.benefit-text {
    color: #555;
    font-size: 15px;
    margin: 0;
    text-align: justify;
}

/* Обертка для иконок и бейджи */
.icon-wrapper {
    width: 48px;
    height: 48px;
    background: #f3f5f4;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
}

.badge {
    background: #cff045;
    color: #111;
    font-weight: 700;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 12px;
}

/* FAQ */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e5e7e7;
    border-radius: 16px;
    padding: 20px 25px;
    cursor: pointer;
}

.faq-item summary {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary .icon-plus {
    font-weight: 400;
    font-size: 20px;
    color: #888;
    transition: transform 0.2s ease;
}

.faq-item[open] summary .icon-plus {
    transform: rotate(45deg);
}

.faq-text {
    margin: 15px 0 0 0;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    text-align: justify;
}

/* Подвал */
.footer {
    background: #111;
    color: #888;
    padding: 40px 0;
    text-align: center;
    border-top: 4px solid #cff045;
}

.footer-text {
    margin: 0;
    font-size: 12px;
    color: #e5e7e7;
    letter-spacing: 0.5px;
}

.footer-text span {
    color: #cff045;
    font-weight: 800;
    text-transform: uppercase;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 992px) {
    .nav-menu {
        flex-direction: column;
        gap: 8px;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 25px 20px;
        border-bottom: 1px solid #e5e7e7;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 14px;
        font-size: 20px; /* Изменено с 27px */
    }
    
    .nav-actions {
        display: none;
    }
    
    .burger-toggle {
        display: flex;
    }
    
    .nav-actions-mobile {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-top: 10px;
    }
    
    .nav-actions-mobile button {
        width: 100%;
    }
    
    .hero-title {
        font-size: 36px !important;
    }
    
    .grid-2x2, 
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}