/**
 * ZORIN Member - Адаптивные стили
 * Обеспечивает корректное отображение на устройствах с разными размерами экрана
 */

/* Большие экраны и ноутбуки */
@media (max-width: 1200px) {
    .container {
        width: 95%;
    }
    
    .section-gap {
        padding: 80px 0;
    }
    
    .hero {
        padding-top: 160px;
        padding-bottom: 100px;
    }
    
    .section-title h2 {
        font-size: 38px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .service-item {
        min-width: 220px;
    }
    
    .testimonial-card {
        min-width: calc(100% - 40px);
    }
}

/* Планшеты и средние экраны */
@media (max-width: 991px) {
    .section-gap {
        padding: 70px 0;
    }
    
    .hero h1 {
        font-size: 44px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .benefit-card h3 {
        font-size: 22px;
    }
    
    .ecosystem-services {
        gap: 20px;
    }
    
    .service-item {
        padding: 25px;
    }
    
    .service-item h4 {
        font-size: 18px;
    }
    
    .step-number {
        width: 70px;
        height: 70px;
        font-size: 24px;
    }
    
    .testimonial-content p {
        font-size: 16px;
    }
    
    .cta h2 {
        font-size: 36px;
    }
}

/* Планшеты и маленькие экраны */
@media (max-width: 768px) {
    .section-gap {
        padding: 60px 0;
    }
    
    .hero {
        padding-top: 140px;
        padding-bottom: 80px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text, .hero-image {
        flex: none;
        width: 100%;
    }
    
    .hero-image img {
        width: 70%;
        margin: 0 auto;
    }
    
    .hero-buttons, .role-selector {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .section-title {
        margin-bottom: 50px;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
    
    .section-title p {
        font-size: 16px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .benefit-card {
        text-align: center;
    }
    
    .benefit-icon {
        margin-left: auto;
        margin-right: auto;
    }
    
    .ecosystem-integration {
        padding: 40px 30px;
    }
    
    .ecosystem-services {
        flex-direction: column;
        align-items: center;
    }
    
    .service-item {
        width: 100%;
        max-width: 400px;
    }
    
    .steps::before {
        left: 35px;
    }
    
    .step {
        align-items: flex-start;
    }
    
    .cta h2 {
        font-size: 30px;
    }
    
    .cta p {
        font-size: 16px;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
    
    .faq-cta {
        padding: 40px 30px;
    }
    
    .faq-cta h3 {
        font-size: 24px;
    }
}

/* Мобильные устройства */
@media (max-width: 576px) {
    .section-gap {
        padding: 50px 0;
    }
    
    .hero {
        padding-top: 130px;
        padding-bottom: 70px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .hero-image img {
        width: 90%;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .role-selector {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        padding: 15px;
    }
    
    .role-selector span {
        margin-bottom: 10px;
    }
    
    .role-btn {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .section-title p {
        font-size: 15px;
    }
    
    .benefits-cta {
        padding: 40px 25px;
    }
    
    .benefits-cta h3 {
        font-size: 24px;
    }
    
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-number {
        margin-bottom: 15px;
    }
    
    .steps::before {
        display: none;
    }
    
    .cta h2 {
        font-size: 26px;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-buttons .btn {
        width: 100%;
        margin-right: 0;
    }
    
    .cta .tabs {
        flex-direction: column;
        gap: 10px;
    }
    
    .cta .tab-btn {
        width: 100%;
    }
}

/* Маленькие мобильные устройства */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .faq-question {
        padding: 15px;
    }
    
    .faq-question h3 {
        font-size: 14px;
    }
    
    .faq-answer {
        padding: 0 15px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 15px 15px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .author-info {
        text-align: center;
    }
}