/* Modern Landing Page Styles - Fast-Oil */

/* DIAGNOSTIC - This should make the body green if file loads */
body {
    border-top: 5px solid lime !important;
}

/* Container System */
.container-fluid {
    padding: 0;
}

.container-max-width {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Modern Sections */
.section-modern {
    /* padding: 80px 0; */
    position: relative;
    overflow: hidden;
}

/* Hero Section - Full Width Modern */
.hero-section-modern {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient-main);
    overflow: hidden;
}

.hero-background-animated {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 181, 107, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 119, 198, 0.2) 0%, transparent 50%);
    animation: heroGradientShift 8s ease-in-out infinite;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: floatParticles 6s linear infinite;
}

.hero-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero-particles::after {
    top: 60%;
    right: 15%;
    animation-delay: 3s;
}

.hero-content-wrapper {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
    max-width: 1200px;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 2rem;
    font-size: 1rem;
    font-weight: 600;
}

.hero-badge-icon {
    font-size: 1.2rem;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-gradient-text {
    background: linear-gradient(135deg, #FFD700, #FFA500, #FF6B6B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 400;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 25px;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-feature:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-feature-icon {
    font-size: 1.25rem;
}

.hero-feature-text {
    font-weight: 600;
    font-size: 1.1rem;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
    color: white;
    box-shadow: 0 8px 32px rgba(255, 107, 107, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 107, 107, 0.4);
    color: white;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    color: white;
}

/* Section Styles */
.results-section {
    background: var(--bg-secondary);
}

.problems-section {
    background: var(--bg-primary);
}

.solutions-section {
    background: var(--bg-secondary);
}

.testimonials-section {
    background: var(--bg-primary);
}

/* CTA Section Modern */
.cta-section-modern {
    padding: 100px 0 60px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient-main);
    color: white;
    text-align: center;
    overflow: hidden;
}

.cta-background-animated {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 181, 107, 0.3) 0%, transparent 50%);
    animation: ctaGradientShift 10s ease-in-out infinite;
}

.cta-content-wrapper {
    z-index: 2;
    position: relative;
    max-width: 1000px;
    padding: 0 2rem;
}

.cta-promo {
    margin-top: 2rem;
    display: inline-block;
}

.cta-promo-content {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 1rem 2rem;
    color: #FFD700;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.cta-promo-content:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.cta-promo-icon {
    font-size: 1.5rem;
    animation: sparkle 2s ease-in-out infinite alternate;
}

@keyframes sparkle {
    from { transform: scale(1) rotate(0deg); }
    to { transform: scale(1.1) rotate(5deg); }
}

/* Footer Modern - ВСЕГДА ТЕМНЫЙ */
.footer-modern {
    background: #1e293b !important; /* Темно-серый фон */
    position: relative;
    /* overflow: hidden; */
    color: #f8fafc !important; /* Светлый текст */
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important; /* Всегда темный градиент */
}

.footer-content {
    position: relative;
    z-index: 2;
    padding: 80px 0 60px; /* Увеличиваем нижний отступ с 40px до 60px */
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo-icon {
    font-size: 2rem;
}

.footer-logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff !important; /* Всегда белый */
}

.footer-description {
    color: #cbd5e1 !important; /* Всегда светло-серый */
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-tagline {
    color: #ffffff !important; /* Всегда белый цвет текста */
    font-weight: 600;
    /* Убираем градиентный фон для лучшей читаемости */
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #ffffff !important;
    background-clip: initial !important;
}

.footer-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 60px;
}

.footer-stat-number {
    color: #3b82f6 !important; /* Всегда синий */
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.footer-stat-label {
    color: #94a3b8 !important; /* Всегда приглушенно-серый */
    font-size: 0.875rem;
    font-weight: 500;
}

/* Убираем все темные переопределения для footer */
/* Удаляем правило для .footer-tagline, теперь оно всегда белое */

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.footer-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.footer-social-link:hover {
    transform: translateY(-3px);
    color: white;
    border-color: transparent;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.footer-social-link:hover::before {
    opacity: 1;
}

/* Brand-specific colors */
.footer-social-telegram:hover::before {
    background: linear-gradient(135deg, #0088cc, #229ED9);
}

.footer-social-instagram:hover::before {
    background: linear-gradient(135deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D, #F56040, #F77737, #FCAF45, #FFDC80);
}

.footer-social-youtube:hover::before {
    background: linear-gradient(135deg, #FF0000, #CC0000);
}

.footer-social-facebook:hover::before {
    background: linear-gradient(135deg, #1877F2, #42A5F5);
}

.footer-social-linkedin:hover::before {
    background: linear-gradient(135deg, #0077B5, #00A0DC);
}

.footer-social-email:hover::before {
    background: linear-gradient(135deg, #EA4335, #FBBC04, #34A853, #4285F4);
}

/* SVG icons styling */
.footer-social-link svg {
    width: 22px;
    height: 22px;
    z-index: 1;
    position: relative;
    transition: transform 0.3s ease;
}

.footer-social-link:hover svg {
    transform: scale(1.1);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-column-title {
    color: #f8fafc !important; /* Всегда белый */
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-link {
    color: #cbd5e1 !important; /* Всегда светло-серый */
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #3b82f6 !important; /* Всегда синий при hover */
    transform: translateX(4px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.footer-contact-icon {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 1.5rem; /* Добавляем отступ снизу */
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: #94a3b8 !important; /* Всегда приглушенно-серый */
    font-size: 0.875rem;
}

.footer-link-inline {
    color: #3b82f6 !important; /* Всегда синий */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link-inline:hover {
    color: #10b981 !important; /* Всегда зеленый при hover */
    text-decoration: underline;
}

.footer-made {
    color: #94a3b8 !important; /* Всегда приглушенно-серый */
    font-size: 0.875rem;
}

.footer-made a {
    color: #3b82f6 !important; /* Всегда синий */
    transition: all 0.3s ease;
}

.footer-made a:hover {
    text-decoration: underline;
    transform: translateY(-1px);
}

/* Animations */
@keyframes heroGradientShift {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

@keyframes ctaGradientShift {
    0%, 100% { opacity: 1; transform: rotate(0deg) scale(1); }
    50% { opacity: 0.8; transform: rotate(2deg) scale(1.05); }
}

@keyframes floatParticles {
    0% { transform: translateY(0px) rotate(0deg); opacity: 1; }
    100% { transform: translateY(-1000px) rotate(360deg); opacity: 0; }
}

/* Fade up animations */
@keyframes fadeUpAnimation {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeUpAnimation 0.8s ease-out forwards;
}

.animate-fade-up-delay-1 {
    opacity: 0;
    animation: fadeUpAnimation 0.8s ease-out 0.2s forwards;
}

.animate-fade-up-delay-2 {
    opacity: 0;
    animation: fadeUpAnimation 0.8s ease-out 0.4s forwards;
}

.animate-fade-up-delay-3 {
    opacity: 0;
    animation: fadeUpAnimation 0.8s ease-out 0.6s forwards;
}

.animate-fade-up-delay-4 {
    opacity: 0;
    animation: fadeUpAnimation 0.8s ease-out 0.8s forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content-wrapper {
        padding: 0 1rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .container-max-width {
        padding: 0 1rem;
    }
    
    .section-modern {
        padding: 60px 0;
    }
    
    .cta-section-modern {
        padding: 60px 0 40px 0;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        text-align: center;
        max-width: 100%;
    }
    
    .footer-stats {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .footer-social {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-feature {
        width: 100%;
        justify-content: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* Large screens optimization */
@media (min-width: 1920px) {
    .container-max-width {
        max-width: 1600px;
    }
    
    .hero-title {
        font-size: 6rem;
    }
    
    .hero-subtitle {
        font-size: 2.5rem;
    }
    
    /* .section-modern {
        padding: 120px 0;
    } */
}

.modal-backdrop {
    z-index: 1 !important;
}