
/* ============================================
   HERO.CSS - Hero Section & Navigation
   Digital George 2026
   ============================================ */

.hero {
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--dark-1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(280px, 380px) minmax(500px, 700px) minmax(280px, 400px);
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

/* ============================================
   LEFT: TITLE & STATS
   ============================================ */

.hero-left {
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from { 
        opacity: 0; 
        transform: translateX(-40px); 
    }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: -2px;
    color: white;
    min-height: 1.2em;
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 0.9em;
    background: var(--cyan);
    margin-left: 5px;
    animation: blink 1s step-end infinite;
    box-shadow: 0 0 10px var(--cyan);
}

@keyframes blink {
    50% { opacity: 0; }
}

/* STATS */
.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    position: relative;
}

.stat-value {
    font-size: clamp(1.8rem, 3.5vw, 2.25rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.stat-tooltip {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 245, 255, 0.9);
    color: var(--dark-1);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.stat:hover .stat-tooltip {
    opacity: 1;
}

/* LIVE STATS */
.hero-live-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.live-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.live-stat:hover {
    color: white;
    transform: translateX(3px);
}

.live-stat i {
    color: var(--cyan);
    font-size: 1rem;
}

.live-stat strong {
    color: var(--cyan);
    font-weight: 700;
}

.coffee-stat {
    cursor: pointer;
}

.coffee-stat span {
    transition: transform 0.2s ease;
}

/* ============================================
   CENTER: VIDEO
   ============================================ */

.hero-center {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1280 / 762;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
    background: var(--dark-1);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

#heroVideo.loaded {
    opacity: 1;
}

.video-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.2), transparent);
    pointer-events: none;
    opacity: 0.5;
    z-index: -1;
}

.hero-tagline {
    text-align: center;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    animation: fadeIn 1s ease-out 0.5s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   RIGHT: NAVIGATION
   ============================================ */

.hero-right {
    animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
    from { 
        opacity: 0; 
        transform: translateX(40px); 
    }
}

.terminal-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-item i {
    color: var(--cyan);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.nav-item:hover {
    background: rgba(0, 245, 255, 0.1);
    border-color: var(--cyan);
    color: white;
    transform: translateX(5px);
}

.nav-item:hover i {
    transform: scale(1.1);
}

/* ============================================
   RESPONSIVE - LARGE DISPLAYS
   ============================================ */

@media (min-width: 1600px) {
    .hero-container {
        max-width: 1500px;
        gap: 3rem;
    }
}

@media (min-width: 1920px) {
    .hero-container {
        max-width: 1600px;
        gap: 3.5rem;
    }
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */

@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr 1.2fr;
        gap: 2rem;
        max-width: 1100px;
    }
    
    .hero-right {
        grid-column: 1 / -1;
    }
    
    .terminal-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .nav-item {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 180px;
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }
    
    .hero-left {
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-live-stats {
        align-items: center;
    }
    
    .video-wrapper {
        border-radius: 16px;
    }
    
    .terminal-nav {
        flex-direction: column;
    }
    
    .nav-item {
        flex: 1 1 auto;
    }
}