/* ========== HOME VIDEO SECTION ========== */
.home-video {
    position: relative;
    padding: 96px 0;
    overflow: hidden;
}

.home-video::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(134,183,106,0.08), transparent 70%);
    border-radius: 50%;
    filter: blur(100px);
    animation: videoGlowHome 12s ease-in-out infinite;
}

@keyframes videoGlowHome {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    50% { transform: translate(100px, 100px) scale(1.3); opacity: 0.6; }
}

/* ========== VIDEO SHOWCASE ========== */
.video-showcase {
    position: relative;
    z-index: 2;
}

.video-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto 60px;
    border-radius: 32px;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 2000px;
    box-shadow: 
        0 50px 150px rgba(0,0,0,0.95),
        0 0 100px rgba(134,183,106,0.25),
        inset 0 0 0 1px rgba(134,183,106,0.3);
    opacity: 0;
    transform: translate3d(0, 80px, -150px) rotateX(25deg);
    transition: all 1400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-container.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0);
}

.video-container:hover {
    box-shadow: 
        0 60px 180px rgba(0,0,0,0.98),
        0 0 120px rgba(134,183,106,0.4),
        inset 0 0 0 1px rgba(134,183,106,0.5);
}

.video-frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: radial-gradient(circle at center, #1a2618, #080b08);
    transition: all 800ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-frame.playing {
    box-shadow: 0 0 120px rgba(134,183,106,0.5);
}

.video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ========== VIDEO LOADER ========== */
.video-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    opacity: 0;
    transition: opacity 400ms ease-out;
    z-index: 5;
    pointer-events: none;
}

.loader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--accent-green);
    animation: loaderRotate 1.5s linear infinite;
}

.loader-ring:nth-child(2) {
    inset: 8px;
    border-top-color: var(--accent-gold);
    animation-duration: 2s;
    animation-direction: reverse;
}

.loader-ring:nth-child(3) {
    inset: 16px;
    border-top-color: var(--accent-green-soft);
    animation-duration: 2.5s;
}

@keyframes loaderRotate {
    to { transform: rotate(360deg); }
}

/* ========== PLAY BUTTON ========== */
.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(5,7,6,0.7), rgba(5,7,6,0.9));
    backdrop-filter: blur(6px);
    transition: all 600ms ease-out;
    z-index: 3;
}

.play-button {
    position: relative;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 3px solid rgba(134,183,106,0.5);
    background: radial-gradient(circle at top left, rgba(134,183,106,0.3), rgba(10,14,11,0.95));
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 30px 80px rgba(0,0,0,0.9), 
        0 0 60px rgba(134,183,106,0.5),
        inset 0 0 40px rgba(134,183,106,0.1);
}

.play-button:hover {
    transform: scale(1.2) translateZ(30px);
    border-color: rgba(134,183,106,0.9);
    background: radial-gradient(circle at top left, rgba(134,183,106,0.5), rgba(10,14,11,0.95));
    box-shadow: 
        0 40px 100px rgba(0,0,0,0.95), 
        0 0 100px rgba(134,183,106,0.8),
        inset 0 0 60px rgba(134,183,106,0.2);
}

.play-icon {
    width: 44px;
    height: 44px;
    color: var(--accent-green);
    transform: translateX(4px);
    transition: all 400ms ease-out;
    filter: drop-shadow(0 2px 8px rgba(134,183,106,0.6));
}

.play-button:hover .play-icon {
    color: var(--text-light);
    transform: translateX(6px) scale(1.15);
}

.play-pulse {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border: 2px solid rgba(134,183,106,0.4);
    animation: playPulseHome 2.5s ease-out infinite;
}

@keyframes playPulseHome {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* ========== VIDEO FEATURES ========== */
.video-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 28px;
    border-radius: 24px;
    border: 1px solid rgba(134,183,106,0.2);
    background: radial-gradient(circle at top left, rgba(134,183,106,0.08), rgba(10,14,11,0.6));
    opacity: 0;
    transform: translateY(50px);
    transition: all 800ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-item:hover {
    transform: translateY(-10px) rotateY(5deg) scale(1.03);
    border-color: rgba(134,183,106,0.5);
    background: radial-gradient(circle at top left, rgba(134,183,106,0.15), rgba(10,14,11,0.8));
    box-shadow: 0 25px 60px rgba(0,0,0,0.9), 0 0 50px rgba(134,183,106,0.3);
}

.feature-icon {
    font-size: 40px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: radial-gradient(circle, rgba(134,183,106,0.2), rgba(10,14,11,0.8));
    border: 1px solid rgba(134,183,106,0.3);
    flex-shrink: 0;
    transition: all 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotateZ(5deg);
    background: radial-gradient(circle, rgba(134,183,106,0.35), rgba(10,14,11,0.9));
    border-color: rgba(134,183,106,0.6);
    box-shadow: 0 0 30px rgba(134,183,106,0.4);
}

.feature-content h3 {
    font-size: 16px;
    margin-bottom: 6px;
    color: var(--text-light);
    transition: color 300ms ease-out;
}

.feature-item:hover .feature-content h3 {
    color: var(--accent-green);
}

.feature-content p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .video-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .home-video {
        padding: 80px 0;
    }
    
    .video-container {
        margin-bottom: 40px;
    }
    
    .play-button {
        width: 90px;
        height: 90px;
    }
    
    .play-icon {
        width: 36px;
        height: 36px;
    }
    
    .video-features {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
    
    .feature-item {
        padding: 20px;
    }
    
    .feature-icon {
        width: 52px;
        height: 52px;
        font-size: 32px;
    }
}