/* services.css - Стили для страницы функционала */
/* Только новые стили, не конфликтуют с основными */

.services-page {
    overflow-x: hidden;
    max-width: 1200px;
    margin: 1rem auto;
    border-radius: 20px;
}

/* ========== Hero Section ========== */
.services-hero {
    background: var(--color-primary);
    padding: 80px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 2000'%3E%3Ccircle cx='500' cy='500' r='300' fill='rgba(99,102,241,0.45)'/%3E%3Ccircle cx='1500' cy='1200' r='400' fill='rgba(168,85,247,0.35)'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
}

.services-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.services-hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.services-hero-subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.75);
    line-height: 1.5;
}

/* ========== Общие стили для секций ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== Основные возможности (Main Features) ========== */
.main-features {
    padding: 80px 0;
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.feature-icon img {
    width: 100%;
    height: auto;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-card h3 a {
    color: #1a202c;
    text-decoration: none;
}

.feature-card h3 a:hover {
    color: #6366f1;
}

.feature-card p {
    color: #4a5568;
    line-height: 1.5;
    margin-bottom: 20px;
}

.feature-details {
    list-style: none;
    padding: 0;
}

.feature-details li {
    padding: 8px 0;
    color: #4a5568;
    font-size: 14px;
    border-bottom: 1px dashed #e2e8f0;
}

.feature-details li:last-child {
    border-bottom: none;
}

/* ========== Расширенный функционал (Extended Features) ========== */
.extended-features {
    padding: 80px 0;
    background: #f8fafc;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.offer-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.offer-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

.offer-icon img {
    width: 100%;
    height: auto;
}

.offer-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a202c;
}

.offer-card p {
    color: #4a5568;
    line-height: 1.5;
    margin-bottom: 20px;
}

.offer-features {
    list-style: none;
    padding: 0;
}

.offer-features li {
    padding: 6px 0;
    color: #4a5568;
    font-size: 14px;
}

/* ========== Сравнение (Comparison) ========== */
.comparison-section {
    padding: 80px 0;
    background: #fff;
}

.why-us-header {
    text-align: center;
    margin-bottom: 48px;
}

.why-us-subtitle {
    font-size: 18px;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== Полный список возможностей (All Features List) ========== */
.all-features-list {
    padding: 80px 0;
    background: #f8fafc;
}

.list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.list-category {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.list-category:hover {
    transform: translateY(-3px);
}

.list-category h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #6366f1;
    color: #1a202c;
}

.list-category ul {
    list-style: none;
    padding: 0;
}

.list-category ul li {
    padding: 8px 0;
    color: #4a5568;
    font-size: 14px;
    line-height: 1.4;
    border-bottom: 1px dashed #e2e8f0;
}

.list-category ul li:last-child {
    border-bottom: none;
}

/* ========== Преимущества (Benefits) ========== */
.benefits-section {
    padding: 80px 0;
    background: #fff;
}

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

.benefit-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 16px;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.benefit-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a202c;
}

.benefit-item p {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.5;
}

/* ========== Для кого подойдёт (Audience) ========== */
.audience-section {
    padding: 80px 0;
    background: #f8fafc;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.audience-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.audience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.audience-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.audience-icon img {
    width: 100%;
    height: auto;
}

.audience-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a202c;
}

.audience-card p {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.5;
}

/* ========== FAQ ========== */
.services-faq {
    padding: 80px 0;
    background: #fff;
}

/* ========== CTA Section ========== */
.services-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #0B1120 0%, #19213C 100%);
}

.cta-block {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-block h2 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.cta-block p {
    color: #a0aec0;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

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

.cta-note {
    font-size: 14px;
    color: #718096;
    margin-top: 20px;
}

/* ========== Адаптив (Responsive) ========== */
/* Планшеты (768px - 1024px) */
@media (max-width: 1024px) {
    .services-hero-title {
        font-size: 38px;
    }
    
    .features-grid,
    .offer-grid,
    .list-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .compare-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

/* Мобильные устройства (до 768px) */
@media (max-width: 768px) {
    .services-hero {
        padding: 60px 16px 80px;
    }
    
    .services-hero-title {
        font-size: 28px;
    }
    
    .services-hero-subtitle {
        font-size: 16px;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    .main-features,
    .extended-features,
    .comparison-section,
    .all-features-list,
    .benefits-section,
    .audience-section,
    .services-faq,
    .services-cta {
        padding: 50px 0;
    }
    
    .features-grid,
    .offer-grid,
    .list-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .audience-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card,
    .offer-card,
    .list-category,
    .benefit-item,
    .audience-card,
    .faq-item {
        padding: 20px;
    }
    
    .feature-card h3 {
        font-size: 20px;
    }
    
    .offer-card h3 {
        font-size: 18px;
    }
    
    .list-category h3 {
        font-size: 18px;
    }
    
    .compare-card {
        padding: 20px;
    }
    
    .compare-label {
        font-size: 20px;
    }
    
    .cta-block h2 {
        font-size: 24px;
    }
    
    .cta-block p {
        font-size: 14px;
    }
    
    .btn-large {
        padding: 12px 30px;
        font-size: 16px;
    }
}

/* Маленькие мобильные (до 480px) */
@media (max-width: 480px) {
    .services-hero-title {
        font-size: 24px;
    }
    
    .feature-card h3 {
        font-size: 18px;
    }
    
    .compare-label {
        font-size: 18px;
    }
    
    .benefit-icon {
        font-size: 36px;
    }
    
    .audience-card h3 {
        font-size: 16px;
    }
}

/* Анимации для AOS (если нужно переопределить) */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}