/* ============================================
   БЛОК 1: ОБЛОЖКА (HERO SECTION) - ФИКСИРОВАННЫЙ ФОН
   ============================================ */

.hero-section {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
}



.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: none;
}

/* ЕДИНЫЙ контейнер для всего контента */
.hero-content-container {
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 2;
    margin: 20px auto 0;
}

/* Главный контентный блок - ОДИН на всю страницу */
.hero-content {
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding: 60px 40px;
   
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: containerAppear 1.2s ease-out 0.3s both;
}

/* Логотип/подпись AiMax*/
.hero-tagline {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 30px;
    display: inline-block;
    padding: 12px 24px;
    background: rgba(79, 172, 254, 0.15);
    border-radius: 12px;
    border: 1px solid rgba(79, 172, 254, 0.3);
    backdrop-filter: blur(10px);
    animation: slideInDown 0.8s ease-out 0.5s both;
    position: relative;
    overflow: hidden;
}

/* Эффект свечения для подписи */
.hero-tagline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    animation: shine 3s ease-in-out infinite;
}

/* Главный заголовок */
.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 30px;
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(53, 143, 223, 0.3);
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-title span {
    display: block;
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        #a5d8ff 50%, 
        #266dac 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

/* Подзаголовок */
.hero-subtitle {
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 0 20px;
    animation: fadeInUp 0.8s ease-out 0.7s both;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* БЛОК ДЛЯ ДОПОЛНИТЕЛЬНОГО КОНТЕНТА */
.hero-content-bottom {
    padding: 40px;
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.9s both;
}

/* Кнопка для примера (если понадобится) */
.hero-cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    font-size: 18px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(79, 172, 254, 0.4);
}

.hero-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.hero-cta-button:hover::before {
    left: 100%;
}

/* Декоративные элементы */
.hero-decoration {
    position: fixed; /* Фиксируем на фоне */
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
}

.hero-decoration-1 {
    top: 15%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, 
        rgba(79, 172, 254, 0.4) 0%, 
        rgba(79, 172, 254, 0.1) 50%,
        transparent 70%);
}

.hero-decoration-2 {
    bottom: 20%;
    left: 5%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, 
        rgba(0, 242, 254, 0.3) 0%, 
        rgba(0, 242, 254, 0.05) 50%,
        transparent 70%);
    animation-delay: -4s;
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20%, 100% {
        left: 100%;
    }
}

@keyframes containerAppear {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Эффект частиц */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: particleFloat 20s linear infinite;
}

@keyframes particleFloat {
    from {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    to {
        transform: translateY(-100px) rotate(720deg);
        opacity: 0;
    }
}

/* ============================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ============================================ */

@media (max-width: 1200px) {
    .hero-title {
        font-size: 56px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    
}

@media (max-width: 1024px) {
    .hero-section {
        min-height: 0vh;
        padding: 10px;
    }
    
    .hero-content {
        padding: 40px 30px;
    }

    .hero-content-container {
        margin: 10px auto 0; /* Минимальный отступ */
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-tagline {
        font-size: 13px;
    }
    
    /* На планшетах отключаем fixed фон */
    .hero-bg {
        position: absolute;
    }
    
    .hero-decoration {
        position: absolute;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 10vh;
        padding: 10px;
    }
    
    .hero-content {
        padding: 30px 20px;
        backdrop-filter: blur(5px);
    }

    .hero-content-container {
        margin: 0px auto 0; /* Минимальный отступ */
    }
    
    .hero-title {
        font-size: 36px;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .hero-tagline {
        font-size: 12px;
        letter-spacing: 2px;
        padding: 10px 20px;
        margin-bottom: 20px;
    }
    
    .hero-content-bottom {
        padding: 20px;
    }
    
    .hero-cta-button {
        padding: 14px 30px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 10vh;
        padding: 10px;
    }
    
    .hero-content {
        padding: 25px 15px;
        border-radius: 16px;
    }

    .hero-content-container {
        margin: 10px auto 0; /* Минимальный отступ */
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-tagline {
        font-size: 11px;
        padding: 8px 16px;
    }
    
    .hero-decoration-1,
    .hero-decoration-2 {
        display: none;
    }
}


/* Контейнер для аккордеона */
.accordion-wrapper {
    width: 100%;
    padding: 0 10px;
    background: transparent;
    border: none;
}

@media (min-width: 768px) {
    .accordion-wrapper {
        max-width: 1200px;
        width: 100%;
        margin: 0 auto;
        padding: 0 20px; /* Или 0, если основной контейнер не имеет боковых паддингов */
    }
}

/* ============================================
   БЛОК СТАТИСТИКИ (4 ПОКАЗАТЕЛЯ)
   ============================================ */

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 40px 0 60px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
    min-width: 120px;
}

.stat-item:hover {
    transform: translateY(-5px);
}

/* Иконка (только для блоков с иконкой) */
.stat-icon-small {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.stat-icon-svg {
    width: 40px;
    height: 40px;
    color: #4facfe;
    transition: all 0.3s ease;
}

/* Для разных цветов иконок */
.stat-item:nth-child(2) .stat-icon-svg {
    color: #00f2fe;
}

.stat-item:nth-child(3) .stat-icon-svg {
    color: #a5d8ff;
}

/* Число */
.stat-number {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

/* Для второго числа другой градиент */
.stat-item:nth-child(4) .stat-number {
    background: linear-gradient(135deg, #ffffff 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Подпись */
.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
}

/* Анимация появления для стат блоков */
.stat-item {
    animation: fadeInUp 0.6s ease-out both;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

/* ============================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ============================================ */

@media (max-width: 768px) {
    .stats-grid {
        gap: 30px;
        margin: 30px 0 40px;
    }
    
    .stat-item {
        padding: 12px;
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-icon-small {
        width: 40px;
        height: 40px;
    }
    
    .stat-icon-svg {
        width: 32px;
        height: 32px;
    }
    
    .stat-label {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        gap: 20px;
    }
    
    .stat-item {
        min-width: 80px;
        padding: 8px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-icon-small {
        width: 36px;
        height: 36px;
    }
    
    .stat-icon-svg {
        width: 28px;
        height: 28px;
    }
    
    .stat-label {
        font-size: 11px;
    }
}



/* ============================================
   СЕКЦИЯ "ВСЕ ИНСТРУМЕНТЫ В ОДНОМ МЕСТЕ"
   ============================================ */

.tools-section {
    width: 100%;
    margin: 10px 0 40px;
    padding: 0 20px;
}

.tools-header {
    text-align: center;
    margin-bottom: 50px;
}

/* Заголовок секции - отличается от обложки */
.tools-title {
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        #a5d8ff 30%,
        #4facfe 70%,
        #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

/* Декоративная линия под заголовком */
.tools-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        #4facfe, 
        #00f2fe, 
        transparent);
    border-radius: 3px;
}

/* Подзаголовок */
.tools-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    letter-spacing: 0.3px;
}

/* Сетка для карточек (пока пустая, для структуры) */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
    margin-top: 40px;
}

/* ============================================
   АНИМАЦИИ ДЛЯ СЕКЦИИ
   ============================================ */

.tools-title,
.tools-subtitle {
    animation: fadeInUp 0.6s ease-out both;
}

.tools-title {
    animation-delay: 0.1s;
}

.tools-subtitle {
    animation-delay: 0.2s;
}

/* ============================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ============================================ */

@media (max-width: 1024px) {
    .tools-title {
        font-size: 36px;
    }
    
    .tools-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .tools-section {
        margin: 40px 0 30px;
        padding: 0 15px;
    }
    
    .tools-header {
        margin-bottom: 35px;
    }
    
    .tools-title {
        font-size: 28px;
    }
    
    .tools-title::after {
        width: 60px;
        bottom: -10px;
    }
    
    .tools-subtitle {
        font-size: 14px;
        padding: 0 10px;
    }
    
    .tools-grid {
        gap: 20px;
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 30px 10px;
    }
    
    .tools-section {
        margin: 30px 0 0;
        padding: 0;
    }
    
    .tools-title {
        font-size: 24px;
    }
    
    .tools-title::after {
        width: 50px;
        height: 2px;
        bottom: -8px;
    }
    
    .tools-subtitle {
        font-size: 13px;
        padding: 0 10px;
    }
    
    /* Главное - растягиваем сетку на всю ширину */
    .tools-grid,
    .features-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        width: 100%;
        padding: 0 0px;
        margin: 0;
    }
    
    .ai-card {
        width: 100%;
        aspect-ratio: 16 / 9;
        margin: 0;
    }
    
    .feature-card {
        width: 100%;
        padding: 0px;
        margin: 0;
    }
}




/* ============================================
   ВАРИАНТ 2: ПУЛЬСИРУЮЩЕЕ СВЕЧЕНИЕ
   ============================================ */

.glow-divider {
    position: relative;
    width: 100%;
    margin: 50px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-line {
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        #4facfe, 
        #00f2fe, 
        #4facfe, 
        transparent);
    animation: lineGlow 3s ease-in-out infinite;
}

.glow-core {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, 
        rgba(79, 172, 254, 0.3) 0%, 
        rgba(0, 242, 254, 0.1) 50%, 
        transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    animation: corePulse 3s ease-in-out infinite;
}



/* ============================================
   ОБЩИЕ АНИМАЦИИ
   ============================================ */

@keyframes waveFlow {
    0%, 100% {
        transform: translateX(0) scaleY(1);
    }
    50% {
        transform: translateX(-2%) scaleY(1.05);
    }
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
        box-shadow: 0 0 20px #4facfe, 0 0 30px #00f2fe;
    }
}

@keyframes lineGlow {
    0%, 100% {
        opacity: 0.5;
        box-shadow: 0 0 5px rgba(79, 172, 254, 0.3);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 20px rgba(79, 172, 254, 0.8);
    }
}

@keyframes corePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

@keyframes orbitalRotate {
    0% {
        transform: rotate(0deg) translateX(30px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(30px) rotate(-360deg);
    }
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

@media (max-width: 768px) {
    .wave-container {
        height: 50px;
    }
    
    .dot {
        width: 3px;
        height: 3px;
    }
    
    .glow-line {
        width: 90%;
    }
    
    .glow-core {
        width: 60px;
        height: 60px;
    }
    
    .orbital-ring {
        width: 40px;
        height: 40px;
    }
    
    .orbital-dot {
        width: 5px;
        height: 5px;
    }
    
    @keyframes orbitalRotate {
        0% {
            transform: rotate(0deg) translateX(20px) rotate(0deg);
        }
        100% {
            transform: rotate(360deg) translateX(20px) rotate(-360deg);
        }
    }
}

@media (max-width: 480px) {
    .wave-container {
        height: 40px;
    }
    
    .dot {
        width: 2px;
        height: 2px;
    }
}


/* ============================================
   КАРТОЧКИ НЕЙРОСЕТЕЙ
   ============================================ */

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.ai-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.ai-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(79, 172, 254, 0.2);
}

/* Фоновое изображение */
.card-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ai-card:hover .card-bg-image {
    transform: scale(1.05);
}

/* Затемнение */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
    transition: all 0.3s ease;
}

.ai-card:hover .card-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.8) 100%
    );
}

/* Контент карточки */
.card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

/* Верхняя часть с иконкой и названием */
.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.card-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.ai-card:hover .card-icon {
    background: rgba(79, 172, 254, 0.2);
    border-color: rgba(79, 172, 254, 0.5);
    transform: scale(1.05);
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
    letter-spacing: -0.3px;
}

/* Кнопки параметров */
.card-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.card-btn {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.card-btn:hover {
    background: rgba(79, 172, 254, 0.5);
    border-color: rgba(79, 172, 254, 0.8);
    transform: translateY(-2px);
}

/* ============================================
   АДАПТИВНОСТЬ КАРТОЧЕК
   ============================================ */

@media (max-width: 1200px) {
    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .card-title {
        font-size: 20px;
    }
    
    .card-icon {
        width: 40px;
        height: 40px;
    }
    
    .card-icon img {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 18px;
        margin-top: 30px;
    }
    
    .card-content {
        padding: 16px;
    }
    
    .card-title {
        font-size: 18px;
    }
    
    .card-icon {
        width: 36px;
        height: 36px;
    }
    
    .card-icon img {
        width: 24px;
        height: 24px;
    }
    
    .card-btn {
        padding: 5px 10px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ai-card {
        aspect-ratio: 16 / 9;
    }
    
    .card-title {
        font-size: 20px;
    }
    
    .card-icon {
        width: 44px;
        height: 44px;
    }
    
    .card-icon img {
        width: 28px;
        height: 28px;
    }
    
    .card-buttons {
        gap: 6px;
    }
    
    .card-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}



/* ============================================
   СЕКЦИЯ "МОЩНЫЕ МЕДИАИНСТРУМЕНТЫ"
   ============================================ */

.media-section {
    width: 100%;
    margin: 80px 0 60px;
    padding: 0 20px;
}

.media-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

/* Заголовок секции */
.media-title {
    font-size: 44px;
    font-weight: 700;
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        #b8e1ff 30%,
        #6bb5ff 60%,
        #3a8cff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

/* Декоративная линия под заголовком */
.media-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        #4facfe, 
        #00f2fe, 
        #4facfe, 
        transparent);
    border-radius: 3px;
    animation: titleLineGlow 3s ease-in-out infinite;
}

/* Подзаголовок */
.media-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    max-width: 800px;
    margin: 20px auto 0;
    letter-spacing: 0.2px;
}

/* Анимация для линии */
@keyframes titleLineGlow {
    0%, 100% {
        opacity: 0.6;
        box-shadow: 0 0 5px rgba(79, 172, 254, 0.3);
        width: 100px;
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 15px rgba(79, 172, 254, 0.6);
        width: 120px;
    }
}

/* Анимация появления */
.media-title,
.media-subtitle {
    animation: fadeInUp 0.6s ease-out both;
}

.media-title {
    animation-delay: 0.1s;
}

.media-subtitle {
    animation-delay: 0.2s;
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

@media (max-width: 1024px) {
    .media-section {
        margin: 60px 0 50px;
    }
    
    .media-title {
        font-size: 38px;
    }
    
    .media-subtitle {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .media-section {
        margin: 50px 0 40px;
        padding: 0 15px;
    }
    
    .media-header {
        margin-bottom: 40px;
    }
    
    .media-title {
        font-size: 32px;
    }
    
    .media-title::after {
        bottom: -12px;
        width: 80px;
    }
    
    @keyframes titleLineGlow {
        0%, 100% {
            width: 80px;
        }
        50% {
            width: 100px;
        }
    }
    
    .media-subtitle {
        font-size: 16px;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .media-section {
        margin: 40px 0 30px;
        padding: 0 12px;
    }
    
    .media-header {
        margin-bottom: 30px;
    }
    
    .media-title {
        font-size: 26px;
    }
    
    .media-title::after {
        bottom: -10px;
        width: 60px;
        height: 2px;
    }
    
    @keyframes titleLineGlow {
        0%, 100% {
            width: 60px;
        }
        50% {
            width: 80px;
        }
    }
    
    .media-subtitle {
        font-size: 14px;
        line-height: 1.5;
    }
}


/* ============================================
   СПИСОК ФУНКЦИЙ (СЕТКА 2x2)
   ============================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease-out both;
    text-align: left; 
}

/* Задержки для 6 карточек */
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.15s; }
.feature-card:nth-child(3) { animation-delay: 0.2s; }
.feature-card:nth-child(4) { animation-delay: 0.25s; }
.feature-card:nth-child(5) { animation-delay: 0.3s; }
.feature-card:nth-child(6) { animation-delay: 0.35s; }

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(79, 172, 254, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Иконка */
.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(79, 172, 254, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(79, 172, 254, 0.25);
    transform: scale(1.05);
}

.feature-icon-svg {
    width: 32px;
    height: 32px;
    color: #4facfe;
}

/* Заголовок */
.feature-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
    background: linear-gradient(135deg, #ffffff, #b8e1ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Описание */
.feature-description {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

@media (max-width: 1024px) {
    .features-grid {
        gap: 25px;
        padding: 15px;
    }
    
    .feature-card {
        padding: 25px;
    }
    
    .feature-title {
        font-size: 22px;
    }
    
    .feature-description {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 10px;
    }
    
    .feature-card {
        padding: 24px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 20px;
    }
    
    .feature-icon-svg {
        width: 28px;
        height: 28px;
    }
    
    .feature-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .feature-description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .feature-card {
        padding: 20px;
    }
    
    .feature-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 16px;
    }
    
    .feature-icon-svg {
        width: 24px;
        height: 24px;
    }
    
    .feature-title {
        font-size: 18px;
    }
    
    .feature-description {
        font-size: 13px;
        line-height: 1.5;
    }

    .features-grid {


    gap: 20px;
    margin: 0 auto;
    padding: 0px;
}
}