/* ===== HERO SECTION STYLES ===== */

.hero-section {
    min-height: var(--hero-min-height);
    background: linear-gradient(135deg, 
        var(--elegant-cream) 0%, 
        rgba(249, 250, 251, 0.8) 50%, 
        rgba(107, 70, 193, 0.05) 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding-top: var(--navbar-height);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, 
        rgba(107, 70, 193, 0.1) 0%, 
        transparent 70%);
    z-index: -1;
}

.hero-content {
    z-index: 2;
    padding: var(--spacing-3xl) 0;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    color: var(--gray-900);
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 0.8s ease-out;
}

.hero-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--gray-600);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-2xl);
    max-width: 90%;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-stats {
    display: flex;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--primary-purple);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
    font-weight: var(--font-weight-medium);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-image {
    position: relative;
    z-index: 2;
    animation: fadeInRight 0.8s ease-out 0.3s both;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    transition: transform var(--transition-slow);
}

.hero-image:hover img {
    transform: scale(1.02);
}

.floating-card {
    position: absolute;
    bottom: var(--spacing-xl);
    right: var(--spacing-xl);
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    color: var(--accent-gold);
    font-size: var(--font-size-lg);
}

.floating-card span {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--gray-700);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Background Decorations */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, 
        rgba(16, 185, 129, 0.1) 0%, 
        transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.1;
    }
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-section {
        text-align: center;
        padding-top: calc(var(--navbar-height) + var(--spacing-xl));
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
        margin-bottom: var(--spacing-base);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-lg);
        max-width: 100%;
        margin-bottom: var(--spacing-xl);
    }
    
    .hero-stats {
        justify-content: center;
        gap: var(--spacing-xl);
        margin-bottom: var(--spacing-xl);
    }
    
    .hero-buttons {
        justify-content: center;
        margin-bottom: var(--spacing-2xl);
    }
    
    .floating-card {
        bottom: var(--spacing-base);
        right: var(--spacing-base);
        padding: var(--spacing-base);
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: auto;
        padding: calc(var(--navbar-height) + var(--spacing-2xl)) 0 var(--spacing-3xl);
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
    }
    
    .hero-stats {
        gap: var(--spacing-lg);
        flex-wrap: wrap;
    }
    
    .stat-number {
        font-size: var(--font-size-2xl);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-base);
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .floating-card {
        position: static;
        margin-top: var(--spacing-lg);
        align-self: center;
        width: fit-content;
    }
}

@media (max-width: 575.98px) {
    .hero-stats {
        gap: var(--spacing-base);
    }
    
    .stat-item {
        flex: 1;
    }
    
    .stat-number {
        font-size: var(--font-size-xl);
    }
    
    .stat-label {
        font-size: var(--font-size-xs);
    }
}

/* High Performance */
.hero-section {
    will-change: transform;
}

.hero-image img {
    will-change: transform;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .hero-title,
    .hero-subtitle,
    .hero-stats,
    .hero-buttons,
    .hero-image {
        animation: none;
    }
    
    .floating-card {
        animation: none;
    }
    
    .hero-section::after {
        animation: none;
    }
    
    .hero-image:hover img {
        transform: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .hero-section {
        background: linear-gradient(135deg, 
            #1F2937 0%, 
            rgba(31, 41, 55, 0.9) 50%, 
            rgba(107, 70, 193, 0.1) 100%);
    }
    
    .hero-title {
        color: var(--white);
    }
    
    .hero-subtitle {
        color: var(--gray-300);
    }
    
    .floating-card {
        background: rgba(31, 41, 55, 0.9);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .floating-card span {
        color: var(--gray-300);
    }
}