﻿/* ============================================
   BJNFNE — Hero Section
   Designed & developed by DosX
   ============================================ */

/* --- Hero Section --- */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero__content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-bright);
    background: rgba(77, 144, 228, 0.08);
    border: 1px solid rgba(77, 144, 228, 0.2);
    clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
    margin-bottom: 32px;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-bright);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 var(--accent-glow);
    }
    50% {
        opacity: 0.7;
        box-shadow: 0 0 0 8px transparent;
    }
}

.hero__title {
    font-size: clamp(3.5rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #fff 40%, var(--accent-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

/* --- Glitch Assembly --- */
.hero__title--glitching {
    -webkit-text-fill-color: transparent;
    color: transparent;
    background: none !important;
    position: relative;
}

.glitch-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
}

.hero__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 40px;
}

.text-gradient {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.hero__socials {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--text-secondary);
    background: var(--bg-glass);
    border: 1px solid var(--border);
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    transition: var(--transition);
}

.social-link:hover {
    color: var(--text-primary);
    background: var(--accent-glow);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.scroll-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: var(--transition);
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator:hover {
    color: var(--text-secondary);
}

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

/* Hero Geometric Shapes */
.hero__geo {
    position: absolute;
    pointer-events: none;
    opacity: 0.08;
}

.hero__geo--1 {
    top: 15%;
    right: 8%;
    width: 200px;
    height: 200px;
    border: 2px solid var(--accent);
    transform: rotate(45deg);
    animation: geoRotate 20s linear infinite;
    will-change: transform;
}

.hero__geo--2 {
    bottom: 20%;
    left: 5%;
    width: 120px;
    height: 120px;
    border: 2px solid var(--cyan);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    animation: geoRotate 15s linear infinite reverse;
    will-change: transform;
}

.hero__geo--3 {
    top: 40%;
    left: 12%;
    width: 60px;
    height: 60px;
    background: var(--accent);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: geoRotate 25s linear infinite;
    will-change: transform;
}

@keyframes geoRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
