/* =============================================================
   HERO.CSS - Hero Section (z welcome.html)
   ============================================================= */

/* ============== SEMANTIC HTML ============== */

.seo-h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.lang-switcher-form {
    display: none !important;
}

/* ============== HERO WRAPPER ============== */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    background: var(--dark-1);
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

.hero-video-bg.loaded {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(5, 5, 15, 0.60) 0%,
        rgba(5, 5, 15, 0.35) 45%,
        rgba(5, 5, 15, 0.70) 100%
    );
    z-index: 1;
}

/* ============== HERO CONTENT GRID ============== */

.hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 5rem 3rem 6rem;
}

/* ============== LEFT COLUMN - ROTATING QUESTION ============== */

.hero-question-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-question-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--cyan);
    text-transform: uppercase;
    margin-bottom: 1.4rem;
    opacity: 0.75;
}

.hero-question-text {
    font-size: clamp(1.7rem, 2.8vw, 3.2rem);
    font-weight: 900;
    line-height: 1.18;
    color: #fff;
    min-height: 3.6em;
    display: flex;
    align-items: flex-start;
    opacity: 1;
    transition: opacity 0.45s ease;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
    letter-spacing: -0.5px;
}

.hero-question-text.fading {
    opacity: 0;
}

.hero-question-text em {
    font-style: normal;
    color: var(--cyan);
}

/* ============== RIGHT COLUMN - TYPEWRITER ============== */

.hero-typewriter-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 3rem;
    border-left: 2px solid rgba(0, 245, 255, 0.18);
}

.hero-typewriter-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    margin-bottom: 1.4rem;
}

.hero-typewriter-text {
    font-size: clamp(0.95rem, 1.6vw, 1.35rem);
    font-weight: 500;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    min-height: 5em;
    display: flex;
    align-items: flex-start;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.tw-cursor {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background: var(--cyan);
    margin-left: 3px;
    vertical-align: middle;
    animation: twBlink 1s step-end infinite;
    box-shadow: 0 0 8px var(--cyan);
    flex-shrink: 0;
}

@keyframes twBlink {
    50% { opacity: 0; }
}

/* ============== TERMINAL BADGE ============== */

.hero-terminal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 2.2rem;
    padding: 0.55rem 1.1rem;
    background: rgba(0, 245, 255, 0.07);
    border: 1px solid rgba(0, 245, 255, 0.28);
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--cyan);
    animation: terminalGlow 3s ease-in-out infinite;
}

.hero-terminal-badge .t-arrow {
    opacity: 0.5;
}

@keyframes terminalGlow {
    0%, 100% { box-shadow: 0 0 12px rgba(0, 245, 255, 0.15); }
    50% { box-shadow: 0 0 24px rgba(0, 245, 255, 0.40); }
}

/* ============== CTA BUTTONS ============== */

.hero-cta-group {
    display: flex;
    gap: 0.9rem;
    margin-top: 1.6rem;
    flex-wrap: wrap;
}

.hero-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.72rem 1.6rem;
    background: var(--cyan);
    color: #000;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 0 18px rgba(0, 245, 255, 0.38);
    letter-spacing: 0.01em;
}

.hero-cta-primary:hover {
    background: #fff;
    box-shadow: 0 0 28px rgba(0, 245, 255, 0.55);
    transform: translateY(-1px);
}

.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.72rem 1.6rem;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.36);
}

/* ============== TOPBAR NAVIGATION ============== */

.hero-topbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    padding: 1rem 3rem;
}

.hero-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.hero-topnav-terminal {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 1.2rem;
    background: rgba(0, 245, 255, 0.07);
    border: 1px solid rgba(0, 245, 255, 0.28);
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    animation: terminalGlow 3s ease-in-out infinite;
}

.hero-topnav-terminal a {
    color: var(--cyan);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

.hero-topnav-terminal a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.8);
}

.hero-topnav-terminal .t-arrow {
    color: var(--cyan);
    opacity: 0.4;
}

/* ============== RESPONSIVE - LARGE ============== */

@media (max-width: 1000px) {
    .hero-content {
        gap: 2.5rem;
        padding: 3.5rem 2rem 5rem;
    }
    .hero-typewriter-col {
        padding-left: 2rem;
    }
    .hero-topnav-terminal {
        font-size: 0.75rem;
        gap: 0.4rem;
    }
}

/* ============== RESPONSIVE - TABLET ============== */

@media (max-width: 800px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3rem 1.5rem 4rem;
        text-align: center;
    }
    .hero-question-col {
        align-items: center;
    }
    .hero-question-text {
        justify-content: center;
    }
    .hero-typewriter-col {
        border-left: none;
        border-top: 1px solid rgba(0, 245, 255, 0.18);
        padding-left: 0;
        padding-top: 2rem;
        align-items: center;
    }
    .hero-typewriter-text {
        justify-content: center;
        text-align: center;
    }
    .hero-cta-group {
        justify-content: center;
    }
    .hero-topbar-inner {
        flex-direction: column;
        gap: 1rem;
    }
    .hero-topnav-terminal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ============== RESPONSIVE - MOBILE ============== */

@media (max-width: 600px) {
    .hero-topbar {
        padding: 0.75rem;
    }
    .hero-question-text {
        font-size: clamp(1.4rem, 7vw, 2rem);
    }
}