/* ============================================
   HERO.CSS - קטע הגיבור וכפתורי CTA
   ============================================ */

/* Hero Section - Clean Style */
.hero {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    min-height: 55vh;
    padding: 2rem 0 2rem;
    background: transparent;
}

/* Hero Video Background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.7;
    transition: opacity 2s ease-in-out;
}

.hero-video[data-loaded="true"] {
    opacity: 1;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.4) 40%,
        rgba(0, 0, 0, 0.2) 70%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 2;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    color: white;
    padding: 2rem 0;
}

.hero h1 {
    font-family: 'Assistant', 'Heebo', sans-serif;
    font-size: clamp(3.8rem, 9vw, 7rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 
        0 0 10px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(0, 0, 0, 0.7),
        2px 2px 0px rgba(0, 0, 0, 1),
        -2px -2px 0px rgba(0, 0, 0, 1),
        2px -2px 0px rgba(0, 0, 0, 1),
        -2px 2px 0px rgba(0, 0, 0, 1),
        4px 4px 8px rgba(0, 0, 0, 0.9);
    letter-spacing: -0.03em;
    position: relative;
    filter: contrast(1.2) brightness(1.1);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero h1::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 45%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.1) 55%,
        transparent 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 3s ease-in-out infinite;
    pointer-events: none;
}

.hero-subtitle {
    font-family: 'Assistant', 'Heebo', sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    line-height: 1.4;
    text-shadow: 
        1px 1px 2px rgba(0, 0, 0, 0.9),
        0 0 10px rgba(0, 0, 0, 0.8);
    -webkit-font-smoothing: antialiased;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-200);
    margin-bottom: 2rem;
    backdrop-filter: blur(20px);
    animation: float 3s ease-in-out infinite;
}

.hero-badge i {
    color: var(--emerald-400);
    animation: pulse 2s ease-in-out infinite;
}

/* Hero Features Grid */
.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.hero-feature {
    background: var(--surface-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.1) 0%, 
        rgba(6, 182, 212, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-feature:hover {
    transform: translateY(-10px);
    border-color: var(--primary-400);
    box-shadow: var(--shadow-glow);
}

.hero-feature:hover::before {
    opacity: 1;
}

.hero-feature i {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-400), var(--cyan-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-feature h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-100);
    margin-bottom: 0.5rem;
}

.hero-feature p {
    font-size: 0.875rem;
    color: var(--gray-400);
}

/* Netflix-style CTA Buttons */
.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
}

.netflix-btn-primary {
    background: linear-gradient(135deg, #b8070f 0%, #A00032 100%);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    box-shadow: 
        0 4px 14px rgba(229, 9, 20, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.netflix-btn-primary:hover {
    background: linear-gradient(135deg, #f40612 0%, #e50914 100%);
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(229, 9, 20, 0.6),
        0 4px 8px rgba(0, 0, 0, 0.4);
}

.netflix-btn-secondary {
    background: rgba(42, 42, 42, 0.9);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.7);
    padding: 1.2rem 3rem;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.netflix-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* General CTA Buttons */
.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    border: 1px solid var(--primary-400);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
    cursor: pointer;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
    border-color: var(--primary-300);
}

.cta-primary:hover::before {
    left: 100%;
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--surface-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    color: var(--gray-200);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.cta-secondary:hover {
    transform: translateY(-3px);
    background: var(--surface-glass-hover);
    border-color: var(--border-glass-strong);
    color: var(--gray-50);
    box-shadow: var(--shadow-glass);
}

/* Hero Separator */
.hero-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        #e50914 10%,
        #ff6b6b 50%,
        #e50914 90%,
        transparent 100%
    );
    box-shadow: 
        0 0 20px rgba(229, 9, 20, 0.5),
        0 0 40px rgba(229, 9, 20, 0.3);
    animation: pulseGlow 3s ease-in-out infinite;
}

/* Animations */
@keyframes shine {
    0%, 100% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        transform: translateX(100%);
        opacity: 1;
    }
}

@keyframes pulseGlow {
    0%, 100% { 
        opacity: 0.8;
        transform: scaleY(1);
    }
    50% { 
        opacity: 1;
        transform: scaleY(1.2);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 60vh;
        padding: 2rem 0 0;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .cta-group {
        flex-direction: column;
        align-items: center;
    }
}

@media (min-width: 1200px) {
    .hero {
        min-height: 50vh;
    }
}