/* ===== СТИЛИ ГЛАВНОЙ СТРАНИЦЫ ===== */

/* Hero Section */
.main-hero {
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
    color: white;
    border-radius: 30px;
    padding: 80px 60px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(139, 92, 246, 0.4);
}

.main-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    animation: heroFloat 8s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, -30px) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title {
    font-size: 64px;
    font-weight: bold;
    margin: 0 0 20px 0;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: titleSlideIn 1s ease;
}

@keyframes titleSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 24px;
    margin: 0 0 40px 0;
    opacity: 0.95;
    line-height: 1.6;
    animation: subtitleFadeIn 1s ease 0.3s both;
}

@keyframes subtitleFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 0.95;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: buttonsFadeIn 1s ease 0.6s both;
}

@keyframes buttonsFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.hero-btn-primary {
    background: white;
    color: #8B5CF6;
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

/* About Section */
.about-section {
    background: white;
    border-radius: 25px;
    padding: 50px;
    margin-bottom: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    animation: sectionFadeIn 0.8s ease;
}

@keyframes sectionFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 42px;
    font-weight: bold;
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 15px 0;
}

.section-subtitle {
    font-size: 18px;
    color: #6B7280;
    margin: 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text {
    font-size: 17px;
    line-height: 1.8;
    color: #4B5563;
}

.about-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.2);
}

/* Quick Links */
.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.quick-link-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.quick-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #8B5CF6 0%, #6D28D9 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.quick-link-card:hover::before {
    transform: scaleX(1);
}

.quick-link-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.25);
}

.link-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.link-title {
    font-size: 22px;
    font-weight: bold;
    color: #1F2937;
    margin: 0 0 12px 0;
}

.link-description {
    font-size: 15px;
    color: #6B7280;
    margin: 0;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    color: white;
    border-radius: 25px;
    padding: 60px 40px;
    margin-bottom: 60px;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 40px;
    font-weight: bold;
    margin: 10px 0;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%);
    color: white;
    border-radius: 25px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(220, 38, 38, 0.4);
}

.cta-title {
    font-size: 42px;
    font-weight: bold;
    margin: 0 0 20px 0;
}

.cta-text {
    font-size: 20px;
    margin: 0 0 35px 0;
    opacity: 0.95;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: #DC2626;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.4);
}

/* Адаптивность */
@media screen and (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .main-hero {
        padding: 50px 30px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .about-section {
        padding: 35px 25px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-btn {
        width: 100%;
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .cta-title {
        font-size: 28px;
    }
}
