/* ============================================
   4. HERO SECTION
   ============================================ */

/* Hero Container */
.hero {
    background: #d4ff00;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}

body.dark-mode .hero {
    background: #1a1a1a;
}

/* Hero Decorative Elements */
.hero-decoration {
    position: absolute !important;
    top: auto !important;
    bottom: 50px !important;
    left: 50px !important;
    right: auto !important;
    width: 150px !important;
    height: 250px !important;
    background: transparent;
    z-index: 999;
    flex: none !important;
    margin-top: auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 20px;
}

.hero-line {
    display: block;
    width: 1px;
    height: 150px;
    background: #000;
    margin-bottom: 20px;
}

body.dark-mode .hero-line {
    background: #d4ff00;
}

.hero-year {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #000;
    letter-spacing: 0.1em;
    transform: rotate(270deg);
}

body.dark-mode .hero-year {
    color: #d4ff00;
}

/* Hero Layout Grid */
.hero-container {
    width: 70%;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    overflow: hidden;
}

/* Hero Content (Left Side) */
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.hero-content-inner {
    width: 100%;
}

.hero-content h1 {
    font-size: 10rem;
    font-weight: 400;
    font-family: 'Bebas Neue', sans-serif;
    line-height: 0.9;
    margin-bottom: 2rem;
    color: #000;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

body.dark-mode .hero-content h1 {
    color: #d4ff00;
}

.hero-content h1 .line {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: none;
}

.hero-content h1 .line:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-content h1 .line:nth-child(2) {
    animation-delay: 0.4s;
}

.hero-content h1 .line:nth-child(3) {
    animation-delay: 0.6s;
}

/* Hero CTA Button */
.hero-content button {
    background: transparent;
    border: 2px solid #000;
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    width: fit-content;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-weight: 600;
}

.hero-content button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: #000;
    transition: width 0.5s, height 0.5s, top 0.5s, left 0.5s;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.hero-content button:hover::before {
    width: 300px;
    height: 300px;
}

.hero-content button:hover {
    color: #d4ff00;
    transform: scale(1.05);
}

body.dark-mode .hero-content button {
    border-color: #d4ff00;
    color: #d4ff00;
}

body.dark-mode .hero-content button::before {
    background: #d4ff00;
}

body.dark-mode .hero-content button:hover {
    color: #000;
}

/* Hero Video (Right Side) */
.hero-video {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-group {
    position: relative;
    width: 421px;
    height: 748px;
    overflow: visible; /* Allow shadow to be visible outside */
}

.hero-video-shadow {
    position: absolute;
    width: 421px;
    height: 748px;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0.6) 0%, 
        rgba(0, 0, 0, 0.4) 30%,
        rgba(0, 0, 0, 0.2) 60%,
        transparent 100%);
    border-radius: 30px;
    top: 21px;
    left: 21px;
    z-index: 1;
    pointer-events: none;
    transition: all 0.3s ease;
}

body.dark-mode .hero-video-shadow {
    background: linear-gradient(225deg, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(0, 0, 0, 0.6) 30%,
        rgba(0, 0, 0, 0.3) 60%,
        transparent 100%);
}

.hero-video-wrapper {
    position: relative;
    width: 421px;
    height: 748px;
    border-radius: 30px;
    overflow: hidden;
    border: 12px solid #000;
    transition: transform 0.3s ease;
    z-index: 2;
}

body.dark-mode .hero-video-wrapper {
    border: 12px solid #000;
}

/* Phone Notch */
.hero-video-wrapper::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: #000;
    border-radius: 50%;
    z-index: 10;
}

body.dark-mode .hero-video-wrapper::before {
    background: #000;
}

/* Large Light Bar (Shimmer Effect) */
.hero-video-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: -160%;
    width: 35%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: skewX(-20deg);
    animation: shimmer-video 5s ease-in-out infinite;
    z-index: 5;
    pointer-events: none;
}

/* Small Light Bar (Secondary Shimmer) */
.hero-video-wrapper .light-bar {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 12%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: skewX(-20deg);
    animation: shimmer-video-small 5s ease-in-out infinite;
    animation-delay: 0.4s;
    z-index: 6;
    pointer-events: none;
}

/* Hero Video Element */
.hero-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 18px;
    overflow: hidden;
}

/* Hide Old Hero Elements */
.hero::before,
.hero-image,
.phone-mockup,
.phone-screen,
.hero-floating-element {
    display: none !important;
}
