/* === FEATURES SECTION (Что вас ждет) === */
.features-section {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    padding: 6rem 0;
    position: relative;
    background: rgba(15, 17, 21, 0.3);
}


.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #d6940d;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-description {
    color: #c1c9d2;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.container-fluid-custom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

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

/* Вариант 2: Эффект размытия */
.feature-card {
    background: linear-gradient(135deg, #1a1c22 0%, #0f1115 100%);
    border: 1px solid rgba(152, 158, 161, 0.18);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
    border-radius: 16px;
    opacity: 0;
    filter: blur(10px);
    transition: all 0.4s ease;
    z-index: -1;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.6);
}

.feature-card:hover::before {
    opacity: 1;
    filter: blur(20px);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #d6940d, #faa608);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    box-shadow: 0 4px 22px rgba(214, 148, 13, 0.35);
    position: relative;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 0 35px rgba(214, 148, 13, 0.5), 0 0 60px rgba(214, 148, 13, 0.3);
    filter: brightness(1.3);
    animation: iconFloat 2s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: scale(1.15) rotate(10deg) translateY(0);
    }
    50% {
        transform: scale(1.15) rotate(10deg) translateY(-5px);
    }
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    position: relative;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
    color: #d6940d;
}

.feature-description {
    color: #c1c9d2;
    line-height: 1.6;
    position: relative;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-description {
    color: #c0c5ce;
}

/* === Responsive === */
@media (max-width: 1365px) {
    .features-section {
        min-height: auto;
        height: auto;
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .container-fluid-custom {
        padding: 0 1rem;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 480px) {
    .features-section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-description {
        font-size: 0.95rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
    
    .feature-description {
        font-size: 0.95rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
}

/* === PAGE SECTION OVERRIDES (для отдельных страниц под фикс. хедером) === */
.page-section {
    min-height: auto !important;
    height: auto;
    display: block !important;
    padding-top: calc(var(--header-height, 80px) + 2rem) !important;
    padding-bottom: 4rem !important;
}

@media (max-width: 768px) {
    .page-section {
        padding-top: calc(var(--header-height, 80px) + 1.5rem) !important;
        padding-bottom: 3rem !important;
    }
}

/* === STICKY FOOTER HELPERS (используем точечно на страницах) === */
body.page-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

/* Растягиваем единственную секцию на странице, чтобы не было "пустой полосы" */
.page-main > .page-section {
    flex: 1 0 auto;
}

