/* Hero Section Styles - Mobile First & Futuristic */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    padding: 100px 1.5rem 60px;
    background: var(--bg-color);
    text-align: center;
}

/* Abstract tech background elements */
.hero-background {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.grid-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(var(--glass-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--glass-border) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.15;
    transform: perspective(600px) rotateX(60deg) translateY(-50px);
    animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(600px) rotateX(60deg) translateY(-50px); }
    100% { transform: perspective(600px) rotateX(60deg) translateY(50px); }
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.15;
    animation: blobFloat 20s infinite alternate cubic-bezier(0.45, 0, 0.55, 1);
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--neon-blue);
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--neon-purple);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
    animation-duration: 25s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: var(--neon-pink);
    top: 40%;
    left: 30%;
    opacity: 0.1;
    animation-delay: -10s;
    animation-duration: 22s;
}

@keyframes blobFloat {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, 100px) scale(1.1); }
    66% { transform: translate(-30px, 50px) scale(0.9); }
    100% { transform: translate(40px, -20px) scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.hero-image {
    width: 100%;
    max-width: 280px;
    display: flex;
    justify-content: center;
    animation: slideInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.image-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: var(--radius-full);
    z-index: 1;
}

.image-frame::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gradient-glow);
    border-radius: inherit;
    z-index: -1;
    animation: rotateGradient 4s linear infinite;
    opacity: 0.8;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    border: 3px solid var(--bg-color);
}

.hero-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: slideInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
}

.hero-subtitle {
    font-size: 0.9rem;
    color: var(--neon-blue);
    margin-bottom: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.hero-title {
    font-size: clamp(2.25rem, 10vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 0.75rem;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--white);
    max-width: 15ch;
}

.hero-role {
    font-size: clamp(1.2rem, 5vw, 2rem);
    margin-bottom: 1.25rem;
    color: var(--light-gray);
    font-weight: 500;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 450px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-buttons .btn {
    width: 100%;
    padding: 1.1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-links a {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--glass-border);
    color: var(--light-gray);
    font-size: 1.1rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.6;
}

.mouse {
    width: 22px;
    height: 36px;
    border: 2px solid var(--text-light);
    border-radius: 11px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 3px;
    height: 6px;
    background: var(--neon-blue);
    position: absolute;
    top: 5px; left: 50%;
    transform: translateX(-50%);
    animation: scrollMouse 2s infinite;
}

/* Desktop Enhancements */
@media (min-width: 969px) {
    .hero {
        flex-direction: row;
        text-align: left;
        padding: 0 5%;
    }

    .hero-content {
        flex-direction: row;
        justify-content: space-between;
        gap: 4rem;
    }

    .hero-image {
        order: 2;
        max-width: 420px;
    }

    .image-frame {
        aspect-ratio: 4/5;
        border-radius: var(--radius-2xl);
    }

    .hero-text {
        order: 1;
        align-items: flex-start;
        text-align: left;
    }

    .hero-subtitle { justify-content: flex-start; font-size: 1.1rem; }
    .hero-subtitle::before {
        content: ''; width: 30px; height: 2px;
        background: var(--neon-blue); box-shadow: 0 0 10px var(--neon-blue);
    }

    .hero-description { font-size: 1.15rem; }

    .hero-buttons {
        flex-direction: row;
        max-width: none;
    }

    .hero-buttons .btn { width: auto; }
}

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

@keyframes scrollMouse {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

@keyframes rotateGradient {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}
