/* ===== Ultra-Modern Hero Section ===== */

:root {
    --red: #E50914;
    --red-dark: #B81D24;
    --ink: #0a0a0a;
    --ice: #F5F5F1;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* Hero Container */
.hero-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-reel {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: #000;
}

/* Video Background - Full Coverage */
.hero-reel__wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-reel__video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.7) contrast(1.1);
    transition: filter 0.5s ease;
}

.hero-reel__wrap:hover .hero-reel__video {
    filter: brightness(0.75) contrast(1.15);
}

/* Animated Grid Overlay */
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(229, 9, 20, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(229, 9, 20, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: gridFlow 20s linear infinite;
    pointer-events: none;
    opacity: 0.4;
}

@keyframes gridFlow {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(80px, 80px);
    }
}

/* Scan Line Effect */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(229, 9, 20, 0.8) 50%, 
        transparent 100%
    );
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.8);
    animation: scanDown 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 5;
}

@keyframes scanDown {
    0%, 100% {
        top: 0;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Cinematic Corner Frames */
.corner-frame {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(229, 9, 20, 0.6);
    pointer-events: none;
    z-index: 5;
    animation: cornerPulse 3s ease-in-out infinite;
}

.corner-tl {
    top: 20px;
    left: 20px;
    border-right: none;
    border-bottom: none;
}

.corner-tr {
    top: 20px;
    right: 20px;
    border-left: none;
    border-bottom: none;
}

.corner-bl {
    bottom: 20px;
    left: 20px;
    border-right: none;
    border-top: none;
}

.corner-br {
    bottom: 20px;
    right: 20px;
    border-left: none;
    border-top: none;
}

@keyframes cornerPulse {
    0%, 100% {
        opacity: 0.6;
        box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.4);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 20px 5px rgba(229, 9, 20, 0.2);
    }
}

/* Main Overlay Container */
.hero-reel__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6rem 2rem;
    z-index: 10;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.6) 100%
    );
}

/* Top Badge */
.hero-badge {
    position: absolute;
    top: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(229, 9, 20, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--ice);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--red);
    animation: dotPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes dotPulse {
    0%, 100% {
        box-shadow: 0 0 10px var(--red);
    }
    50% {
        box-shadow: 0 0 20px var(--red), 0 0 30px rgba(229, 9, 20, 0.5);
    }
}

/* Main Content Panel */
.hero-reel__panel {
    max-width: 900px;
    text-align: center;
    position: relative;
    padding: 3rem;
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(30px) saturate(150%);
    border: 1px solid rgba(229, 9, 20, 0.2);
    border-radius: 32px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 100px rgba(229, 9, 20, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-reel__panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(229, 9, 20, 0.8) 50%, 
        transparent 100%
    );
}

.hero-reel__panel:hover {
    transform: translateY(-5px);
    border-color: rgba(229, 9, 20, 0.4);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 120px rgba(229, 9, 20, 0.15);
}

/* Hero Title with Glitch Effect */
.hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--ice);
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.title-word {
    display: inline-block;
    animation: wordSlideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.title-word:nth-child(1) {
    animation-delay: 0.1s;
}

.title-word:nth-child(2) {
    animation-delay: 0.3s;
}

.title-word:nth-child(3) {
    animation-delay: 0.5s;
}

@keyframes wordSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.accent-word {
    background: linear-gradient(135deg, var(--red) 0%, #ff6b9d 50%, var(--red-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.accent-word::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: inherit;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(15px);
    opacity: 0.6;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.35rem);
    color: rgba(245, 245, 241, 0.85);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1s ease-out 0.7s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Action Buttons */
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-hero {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
}

/* Primary Button */
.btn-primary {
    color: white;
    border: none;
    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.3);
}

.btn-primary .btn-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    z-index: 0;
    transition: transform 0.4s ease;
}

.btn-primary:hover .btn-bg {
    transform: scale(1.05);
}

.btn-primary .btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent
    );
    transition: left 0.6s ease;
}

.btn-primary:hover .btn-shine {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(229, 9, 20, 0.5);
}

/* Outline Button */
.btn-outline {
    color: var(--ice);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline .btn-border {
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 2px;
    background: linear-gradient(135deg, 
        rgba(229, 9, 20, 0.5), 
        rgba(255, 255, 255, 0.3)
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;

    /* Standard syntax (Chrome, Firefox) */
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
   
}


.btn-outline:hover {
    transform: translateY(-3px);
    background: rgba(229, 9, 20, 0.1);
    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.2);
}

.btn-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-icon,
.btn-icon-arrow {
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon {
    transform: scale(1.1);
}

.btn-outline:hover .btn-icon-arrow {
    transform: translateX(4px);
}

/* Stats Bar */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 1s ease-out 1s backwards;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--red) 0%, #ff6b9d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-value::after {
    margin-left: 2px;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(245, 245, 241, 0.6);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, 
        transparent, 
        rgba(229, 9, 20, 0.5), 
        transparent
    );
}

/* Social Links */
.hero-social {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    gap: 1rem;
    z-index: 15;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--ice);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.social-link::before {
    content: attr(data-tooltip);
    position: absolute;
    left: 100%;
    margin-left: 10px;
    padding: 6px 12px;
    background: rgba(229, 9, 20, 0.9);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 100;
}

.social-link:hover {
    background: rgba(229, 9, 20, 0.2);
    border-color: var(--red);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(229, 9, 20, 0.3);
    z-index: 10;
}

.social-link:hover::before {
    opacity: 1;
}

/* Modern Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    z-index: 15;
    animation: fadeIn 1s ease-out 1.5s backwards;
}

.scroll-text {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(245, 245, 241, 0.6);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, 
        rgba(229, 9, 20, 0.8), 
        transparent
    );
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: var(--red);
    box-shadow: 0 0 10px var(--red);
    animation: scrollLineMove 2s ease-in-out infinite;
}

@keyframes scrollLineMove {
    0% {
        top: 0;
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

.scroll-dot {
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--red);
    animation: dotBounce 2s ease-in-out infinite;
}

@keyframes dotBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.scroll-indicator:hover .scroll-text {
    color: var(--red);
}

/* Video Controls */
.video-controls {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 15;
}

.control-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--ice);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.control-btn:hover {
    background: rgba(229, 9, 20, 0.2);
    border-color: var(--red);
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(229, 9, 20, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-reel__panel {
        padding: 2.5rem;
    }
}

@media (max-width: 992px) {
    .hero-reel__overlay {
        padding: 4rem 1.5rem;
    }
    
    .hero-badge {
        font-size: 0.7rem;
        padding: 10px 20px;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .hero-social {
        left: 1.5rem;
        bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-reel__panel {
        padding: 2rem;
    }
    
    .hero-badge {
        top: 1.5rem;
        font-size: 0.65rem;
        padding: 8px 16px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .btn-hero {
        width: 100%;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .hero-social {
        position: relative;
        left: 0;
        bottom: 0;
        justify-content: center;
        margin-top: 2rem;
    }
    
    .social-link::before {
        display: none;
    }
    
    .corner-frame {
        width: 40px;
        height: 40px;
    }
    
    .corner-tl,
    .corner-tr {
        top: 15px;
    }
    
    .corner-bl,
    .corner-br {
        bottom: 15px;
    }
    
    .corner-tl,
    .corner-bl {
        left: 15px;
    }
    
    .corner-tr,
    .corner-br {
        right: 15px;
    }
}

@media (max-width: 576px) {
    .hero-reel__overlay {
        padding: 3rem 1rem;
    }
    
    .hero-reel__panel {
        padding: 1.5rem;
    }
    
    .hero-badge {
        position: relative;
        top: 0;
        margin-bottom: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .hero-actions {
        margin-bottom: 2rem;
    }
    
    .btn-hero {
        padding: 14px 28px;
        font-size: 0.9rem;
    }
    
    .stat-value {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .video-controls {
        right: 1rem;
        bottom: 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}