/* ===================================================================
   UNIVERSAL HERO COMPONENT - USE ACROSS ALL PAGES
   Consistent styling with animated gradient balls background
   =================================================================== */

/* Universal Hero Section - Single class for all heroes */
.universal-hero {
    position: relative;
    padding: 120px 0 100px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F9FAFB 100%);
    text-align: center;
    overflow: hidden;
}

/* Animated Gradient Ball - Top Left */
.universal-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.1) 50%, transparent 70%);
    border-radius: 50%;
    animation: heroFloat 8s ease-in-out infinite;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

/* Animated Gradient Ball - Bottom Right */
.universal-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, rgba(59, 130, 246, 0.08) 50%, transparent 70%);
    border-radius: 50%;
    animation: heroFloat 10s ease-in-out infinite reverse;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

/* Float Animation for Gradient Balls */
@keyframes heroFloat {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(20px, -20px);
    }
    50% {
        transform: translate(-20px, 20px);
    }
    75% {
        transform: translate(20px, 10px);
    }
}

/* Hero Content Container */
.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Section Badge */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--white);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-badge i {
    color: var(--primary-color);
    font-size: 1.125rem;
}

.section-badge span {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
}

.section-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.15);
    border-color: var(--primary-color);
}

/* Hero Title */
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--fw-extrabold);
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
}

/* Gradient Text in Title */
.gradient-text {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: var(--fw-extrabold);
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.375rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Features Container */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

/* Individual Feature Badge */
.hero-feature {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--white);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.hero-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.15);
    border-color: var(--primary-color);
}

.hero-feature i {
    color: var(--primary-color);
    font-size: 1.125rem;
    transition: transform 0.3s ease;
}

.hero-feature:hover i {
    transform: scale(1.1);
}

/* Hero CTA Container */
.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Fix: Prevent Hero CTA Buttons from Moving on Hover */
.hero-cta .btn-primary,
.hero-cta .btn-secondary {
    transform: none !important;
}

.hero-cta .btn-primary:hover,
.hero-cta .btn-secondary:hover {
    transform: none !important;
    box-shadow: none !important;
}

.hero-cta .btn-primary:active,
.hero-cta .btn-secondary:active {
    transform: scale(0.98) !important;
}

/* Fix: Disable White Ripple Effect on Hero Buttons */
.hero-cta .btn-primary::before,
.hero-cta .btn-secondary::before,
.hero-cta .btn-primary .btn-glow,
.hero-cta .btn-secondary .btn-glow {
    display: none !important;
}

/* Alternative: Keep Clean Hover Without Ripple - Minimal & Professional */
.hero-cta .btn-primary:hover {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important;
    opacity: 0.9 !important;
}

.hero-cta .btn-secondary:hover {
    background: rgba(99, 102, 241, 0.08) !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

/* Responsive Design */
@media (max-width: 968px) {
    .universal-hero {
        padding: 100px 0 80px;
    }
    
    .hero-title {
        font-size: clamp(2.25rem, 8vw, 3.5rem);
    }
    
    .hero-features {
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .universal-hero {
        padding: 80px 0 60px;
    }
    
    .section-badge {
        font-size: 1rem;
    }
    
    .section-badge i {
        font-size: 1rem;
    }
    
    .section-badge span {
        font-size: 1rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .hero-feature {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
}

