/**
 * ============================================================================
 * HERO SECTION
 * Premium video background hero with modern aesthetics - ALL ISSUES FIXED
 * ============================================================================
 */

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #1e293b;
}

/* Video Background Container */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: #1e293b;
}

/* Video Element */
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-video.loaded {
    opacity: 1;
}

/* Video Overlay */
.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 2;
}

/* Ambient Background Effects */
.hero-ambient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.ambient-orb-1 {
    width: 500px;
    height: 500px;
    top: 20%;
    left: 10%;
    background: radial-gradient(circle, #ec4899, transparent);
    animation: floatOrb 20s ease-in-out infinite;
}

.ambient-orb-2 {
    width: 400px;
    height: 400px;
    bottom: 20%;
    right: 10%;
    background: radial-gradient(circle, #f472b6, transparent);
    animation: floatOrb 25s ease-in-out infinite reverse;
}

/* Content Wrapper */
.hero-content-wrapper {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 100px 20px;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.2);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-badge i {
    color: #f472b6;
    font-size: 0.875rem;
}

/* Heading Group */
.hero-heading-group {
    margin-bottom: 32px;
}

.hero-welcome {
    font-size: 1.125rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.3s forwards;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero-title-accent {
    display: block;
    font-size: clamp(2rem, 5vw, 4rem);
    font-style: italic;
    font-weight: 300;
    background: linear-gradient(135deg, #f472b6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 8px;
}

/* Description */
.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 40px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.5s forwards;
}

/* Action Buttons Container */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 80px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

/* Button Base Styles */
.btn-hero-primary,
.btn-hero-secondary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 220px;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
}

/* Button Text and Icon */
.btn-hero-primary .btn-text,
.btn-hero-secondary .btn-text,
.btn-hero-primary .btn-icon,
.btn-hero-secondary .btn-icon {
    position: relative;
    z-index: 10;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Primary Button (Pink) */
.btn-hero-primary {
    background: linear-gradient(135deg, #ec4899, #f472b6);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.4);
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #ffffff;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(236, 72, 153, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
}

.btn-hero-primary:hover::before {
    opacity: 1;
}

.btn-hero-primary:hover .btn-text,
.btn-hero-primary:hover .btn-icon {
    color: #ec4899;
}

.btn-hero-primary:hover .btn-icon {
    transform: translateX(4px);
}

/* Secondary Button (Outlined) */
.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-hero-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #ffffff;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.btn-hero-secondary:hover {
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.btn-hero-secondary:hover::before {
    opacity: 1;
}

.btn-hero-secondary:hover .btn-text,
.btn-hero-secondary:hover .btn-icon {
    color: #1e293b;
}

.btn-hero-secondary:hover .btn-icon {
    transform: translateX(4px);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fadeInBounce 1s ease 1s forwards;
}

.scroll-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.scroll-icon {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 10px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: scrollWheel 2s ease-in-out infinite;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInBounce {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    60% {
        opacity: 1;
        transform: translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(30px, -30px);
    }
}

@keyframes scrollWheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(18px);
        opacity: 0;
    }
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .hero-content-wrapper {
        padding: 80px 20px;
    }
    
    .ambient-orb-1,
    .ambient-orb-2 {
        width: 400px;
        height: 400px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hero-content-wrapper {
        padding: 60px 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-title-accent {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 32px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
        gap: 12px;
        margin-bottom: 60px;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
    }
    
    .ambient-orb-1,
    .ambient-orb-2 {
        width: 300px;
        height: 300px;
        filter: blur(60px);
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-badge {
        font-size: 0.6875rem;
        padding: 10px 20px;
    }
    
    .hero-welcome {
        font-size: 0.875rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-title-accent {
        font-size: 1.75rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 14px 28px;
        font-size: 0.8125rem;
        min-width: auto;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .hero-badge,
    .hero-welcome,
    .hero-title,
    .hero-description,
    .hero-actions,
    .hero-scroll-indicator {
        animation: none;
        opacity: 1;
    }
    
    .ambient-orb-1,
    .ambient-orb-2,
    .scroll-wheel {
        animation: none;
    }
}