/* ==========================================================================
   WEBPOT CINEMATIC HERO DESIGN SYSTEM
   Matches Editorial Exhibition Layout (Image 2)
   ========================================================================== */

#hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #FAFAFA;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; /* Animated into view by loader transition */
}

/* 3D Monochrome Ribbon Canvas Layer */
#hero-canvas-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

#hero-canvas-container canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* Connected Nodes Network Canvas Layer */
#hero-nodes-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* Hero Main Container & Centered Stage */
.hero-stage {
    position: relative;
    z-index: 5;
    width: min(92%, var(--container-width, 1540px));
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    box-sizing: border-box;
}

/* ==========================================================================
   HERO TYPOGRAPHY WORDMARK (W E B P O T)
   ========================================================================== */
.hero-wordmark {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.04em;
    user-select: none;
    position: relative;
    z-index: 6;
    margin-bottom: 24px;
}

.hero-letter {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(3.8rem, 10.5vw, 9.2rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: #0f172a;
    display: inline-block;
    opacity: 1;
    transform: none;
    will-change: transform, opacity;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

/* ==========================================================================
   HERO CONTENT REVEAL PANEL (Badge + Headline + Description)
   ========================================================================== */
.hero-content-reveal {
    position: relative;
    width: min(90%, 820px);
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* Luxury Shining Glassmorphic Brand Pill */
.hero-brand-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 22px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #0f172a;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08), 
                inset 0 1px 1px rgba(255, 255, 255, 0.95),
                0 0 16px rgba(56, 189, 248, 0.16);
    overflow: hidden;
    margin-bottom: 6px;
}

/* Dynamic Ambient Shimmer Beam */
.hero-brand-label::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -70%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.85),
        rgba(56, 189, 248, 0.35),
        transparent
    );
    transform: rotate(25deg);
    animation: labelShineSweep 3.6s infinite cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

@keyframes labelShineSweep {
    0% { left: -70%; opacity: 0; }
    20% { opacity: 1; }
    60% { left: 150%; opacity: 1; }
    100% { left: 150%; opacity: 0; }
}

.hero-brand-label .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2563eb;
    box-shadow: 0 0 10px #3b82f6, 0 0 18px rgba(37, 99, 235, 0.85);
    animation: dotPulse 2s infinite ease-in-out;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.25); opacity: 1; box-shadow: 0 0 14px #2563eb, 0 0 22px rgba(37, 99, 235, 0.95); }
}

.hero-headline-main {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.4rem, 5.2vw, 3.8rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0;
}

.hero-subtitle-desc {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.95rem, 1.3vw, 1.15rem);
    color: #475569;
    max-width: 680px;
    line-height: 1.65;
    margin: 0 auto;
}

/* Action Buttons */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
}

.btn-primary-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 9999px;
    background: #111111;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary-hero:hover {
    transform: translateY(-2px);
    background: #2563eb;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.3);
}

.btn-secondary-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid #cbd5e1;
    color: #0f172a;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.btn-secondary-hero:hover {
    transform: translateY(-2px);
    border-color: #0f172a;
    background: #ffffff;
}

/* Bottom Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.8;
}

.hero-scroll-line {
    width: 2px;
    height: 38px;
    background: linear-gradient(to bottom, #cbd5e1, #2563eb);
    border-radius: 2px;
    animation: scrollLinePulse 2s infinite ease-in-out;
}

@keyframes scrollLinePulse {
    0%, 100% { transform: scaleY(0.7); opacity: 0.5; }
    50% { transform: scaleY(1); opacity: 1; }
}