/* ============================================
   HERO
   Full-viewport, dramatic, Apple-keynote feel
   ============================================ */

.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background: var(--black);
    overflow: hidden;
}

/* Canvas background */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg canvas {
    width: 100%;
    height: 100%;
}

/* Content */
.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 var(--space-lg);
    max-width: 860px;
}

/* Eyebrow */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray-300);
    margin-bottom: var(--space-lg);
}

.eyebrow-line {
    display: block;
    width: 32px;
    height: 1px;
    background: var(--gray-500);
}

/* Title */
.hero-title {
    font-size: var(--text-hero);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.0;
    color: white;
    margin-bottom: var(--space-md);

    /* Subtle gradient shimmer */
    background: linear-gradient(
        135deg,
        white 0%,
        white 40%,
        var(--gray-100) 50%,
        white 60%,
        white 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

/* Subtitle */
.hero-subtitle {
    font-size: clamp(var(--text-md), 2vw, var(--text-lg));
    font-weight: 400;
    color: var(--gray-300);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto var(--space-lg);
}

.hero-subtitle em {
    color: white;
    font-family: var(--font-serif);
    font-style: italic;
}

/* Actions */
.hero-actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer area */
.hero-footer {
    position: absolute;
    bottom: var(--space-lg);
    left: 0;
    right: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.hero-equation {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--gray-500);
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 var(--space-lg);
}

.eq-separator {
    color: var(--gray-600);
}

.scroll-hint {
    color: var(--gray-400);
    animation: float 2.5s ease-in-out infinite;
    transition: color var(--duration-fast) ease;
    padding: 0.5rem;
}

.scroll-hint:hover {
    color: white;
}

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

/* ---- Entrance Animations ---- */

.anim-fade-up {
    opacity: 0;
    transform: translateY(24px);
    animation: heroFadeUp 0.9s var(--ease-out) forwards;
}

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger via data-delay attribute — applied by JS */
