/* Hero Section */
.hero-section {
    width: 100%;
    min-height: 100dvh;
    position: relative;
    overflow: visible;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 10vh 0 0;
    box-sizing: border-box;
    background: var(--color-bg);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-text);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-content h1 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    font-size: clamp(3rem, 12vw, 9rem);
    margin: 0;
    white-space: nowrap;
    position: relative;
    padding: 0.2rem 0;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.2rem, 3.5vw, 2rem);
    font-weight: 400;
    color: #4a4a4a;
    max-width: 60ch;
    text-align: center;
    margin-top: 1.5rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Floating Code Elements (part of Hero concept) */
#floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.code-tag {
    position: absolute;
    color: rgba(0, 0, 0, 0.2);
    font-family: 'Courier New', monospace;
    font-size: 14px;
    white-space: nowrap;
    user-select: none;
    will-change: transform, opacity;
    opacity: 1;
    pointer-events: none;
}

.hero-content .open-for-work {
    margin-top: 1.2rem;
    margin-bottom: 0.2rem;
    align-self: center;
}

/* Scroll Indicator Styles */
.scroll-incentive {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin: 0.3rem 0 1.2rem 0;
    width: 100vw;
    z-index: 10;
    pointer-events: none;
    animation: fadeInScrollIncentive 1.2s 1.2s both;
    background: var(--color-bg);
}
.chevron-down {
    display: block;
    margin: 0 auto;
    stroke: var(--color-footer-bg);
    opacity: 0.85;
    animation: chevronBounce 1.2s infinite cubic-bezier(.4,0,.2,1);
    background: var(--color-bg);
    border-radius: 50%;
}
@keyframes fadeInScrollIncentive {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes chevronBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(14px); }
}

/* Responsive Hero Styles */
@media (max-width: 768px) {
    .hero-section { padding: 8vh 0 0; }
    .hero-content { padding: 1.5rem; gap: 0.3rem; }
    .scroll-incentive { background: var(--color-bg); }
    .chevron-down { margin-top: 0.2rem; }
    
    .hero-content h1 {
        font-size: clamp(2.8rem, 14vw, 4.5rem);
        line-height: 1.1;
        margin: 0.1em 0;
        padding: 0;
        letter-spacing: -0.02em;
        white-space: normal;
        word-break: break-word;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.5rem);
        margin-top: 1rem;
        line-height: 1.5;
        max-width: 90%;
        padding: 0 0.5rem;
    }
    
    .code-tag {
        font-size: 11px;
    }
}
@media (max-width: 480px) {
    .hero-section { padding: 6vh 0 0; }
    .hero-content { padding: 1rem; gap: 0.2rem; }
    
    .hero-content h1 {
        font-size: clamp(2.4rem, 16vw, 3.5rem);
        line-height: 1.05;
        margin: 0.05em 0;
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 4.5vw, 1.3rem);
        margin-top: 0.8rem;
        line-height: 1.4;
        max-width: 95%;
        padding: 0 0.3rem;
    }
    
    .code-tag {
        font-size: 10px;
    }
} 