/* 3D Globe Background */
#globe-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0;
    animation: globeFadeIn 2s ease-out 0.5s forwards;
}

@keyframes globeFadeIn {
    to {
        opacity: 0.15;
        /* Subtler globe for light theme */
    }
}

/* Hero layout */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-text-content {
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 0.6rem 1.25rem;
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.hero-label::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.hero h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.hero h1 .line {
    display: block;
    overflow: hidden;
}

.hero h1 .line-inner {
    display: inline-block;
    transform: translateY(100%);
    animation: lineReveal 1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.hero h1 .line-inner.highlight {
    transform: none;
    opacity: 0;
    animation: highlightReveal 1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
    animation-delay: 1s;
}

.hero h1 .line:nth-child(1) .line-inner:not(.highlight) {
    animation-delay: 0.9s;
}

.hero h1 .line:nth-child(2) .line-inner:not(.highlight) {
    animation-delay: 1s;
}

@keyframes lineReveal {
    to {
        transform: translateY(0);
    }
}

@keyframes highlightReveal {
    to {
        opacity: 1;
    }
}

.hero h1 .highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-family: 'Instrument Serif', serif;
    font-size: 1.8rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.2s forwards;
}

.hero-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.3s forwards;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.4s forwards;
}

.hero-terminal {
    position: relative;
    z-index: 2;
    overflow: visible;
}

@media (max-width: 1024px) {
    .hero-text-content {
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-cta {
        align-items: stretch;
        flex-direction: column;
    }
}