/* ========================================
   SKILLBREED FUTURISTIC HOMEPAGE HERO
   Dark theme with neon accents
   ======================================== */

:root {
    /* Futuristic Color Palette */
    --neon-blue: #00d4ff;
    --neon-purple: #a855f7;
    --neon-teal: #14b8a6;
    --dark-bg: #0a0a0f;
    --dark-secondary: #1a1a24;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-muted: #94a3b8;
    
    /* Animation Timings */
    --transition-smooth: 300ms ease-out;
    --transition-slow: 500ms ease-out;
}

/* ========================================
   GLASSMORPHISM NAVIGATION
   ======================================== */

.glass-nav {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-actions {
    display: flex;
    gap: 0.75rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    padding: 0.5rem;
}

.nav-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 50px;
    transition: all var(--transition-smooth);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--neon-blue);
    opacity: 0.2;
    transform: translate(-50%, -50%);
    transition: width var(--transition-smooth), height var(--transition-smooth);
}

.nav-btn:hover::before {
    width: 200%;
    height: 200%;
}

.nav-btn:hover {
    transform: translateY(-2px);
    color: var(--neon-blue);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.primary-nav-btn {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    color: var(--text-primary);
}

.primary-nav-btn:hover {
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
    transform: translateY(-2px) scale(1.05);
}

.nav-btn.subtle {
    opacity: 0.7;
    font-size: 0.85rem;
}

.nav-btn.subtle:hover {
    opacity: 1;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.75rem;
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-smooth);
}

.mobile-menu-toggle:hover .hamburger-line {
    background: var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue);
}

/* ========================================
   FULL-SCREEN VIDEO HERO
   ======================================== */

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-bg);
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

/* ========================================
   HERO CONTENT
   ======================================== */

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1200px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

/* Logo */
.hero-logo {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.hero-logo img {
    width: 280px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 212, 255, 0.3));
    transition: all var(--transition-slow);
}

.hero-logo:hover img {
    filter: drop-shadow(0 20px 60px rgba(0, 212, 255, 0.5));
    transform: scale(1.05);
}

/* ========================================
   TYPEWRITER EFFECT (Accessible)
   ======================================== */

.typewriter-container {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.4;
    max-width: 900px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.typewriter-text {
    color: transparent;
    position: relative;
    display: inline-block;
}

.typewriter-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    color: var(--text-primary);
    white-space: pre-wrap;
    overflow: hidden;
    border-right: 3px solid var(--neon-blue);
    animation: typing 4s steps(100) 1s forwards, blink 0.75s step-end infinite;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: var(--neon-blue);
    }
}

/* ========================================
   SCROLL INDICATOR
   ======================================== */

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.5s forwards;
}

.scroll-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid var(--neon-blue);
    border-radius: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8px;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-arrow i {
    color: var(--neon-blue);
    font-size: 0.8rem;
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

@keyframes arrowPulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */

[data-scroll-reveal] {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

[data-scroll-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .glass-nav {
        top: 1rem;
        right: 1rem;
    }
    
    .nav-actions {
        display: none;
        position: fixed;
        top: 5rem;
        right: 1rem;
        flex-direction: column;
        background: var(--dark-secondary);
        border-radius: 20px;
        padding: 1rem;
    }
    
    .nav-actions.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-logo img {
        width: 200px;
    }
    
    .typewriter-container {
        font-size: 1.5rem;
        min-height: 150px;
    }
    
    .hero-content {
        gap: 2rem;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-logo img {
        width: 150px;
    }
    
    .typewriter-container {
        font-size: 1.25rem;
        min-height: 120px;
    }
    
    .scroll-indicator {
        transform: scale(0.8);
    }
}

/* ========================================
   PERFORMANCE OPTIMIZATIONS
   ======================================== */

/* GPU acceleration for smoother animations */
.hero-video,
.video-overlay,
.nav-btn,
.hero-logo img {
    will-change: transform;
    transform: translateZ(0);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .typewriter-text::after {
        animation: none;
        width: 100%;
        border-right: none;
    }
}
