/*
========================================================
Project    : ZBITVERSE
Component  : Hero
Version    : 1.0

Description
Opening Experience
========================================================
*/


/*========================================================
1. OPENING
========================================================*/

.opening {

    position: relative;

    display: flex;

    align-items: center;

    min-height: 100vh;

    padding-top: var(--header-height);
}


/*========================================================
2. WRAPPER
========================================================*/

.opening-wrapper {

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: clamp(4rem, 8vw, 8rem);

    min-height: calc(100vh - var(--header-height));
}


/*========================================================
3. CONTENT
========================================================*/

.opening-content {

    display: flex;

    flex-direction: column;

    justify-content: center;

    max-width: 620px;
}


.opening-header {

    margin-bottom: 2.5rem;
}


.opening-badge {

    margin-bottom: 2rem;
}


/*========================================================
4. BADGE
========================================================*/

.badge {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: .65rem 1.15rem;

    border-radius: 999px;

    border: 1px solid rgba(37, 99, 235, .25);

    background: rgba(37, 99, 235, .08);

    backdrop-filter: blur(8px);

    color: var(--color-primary);

    font-size: .72rem;

    font-weight: 600;

    letter-spacing: .18rem;

    text-transform: uppercase;

    white-space: nowrap;
}


.badge::before {

    content: "";

    width: 8px;

    height: 8px;

    margin-right: .75rem;

    border-radius: 50%;

    background: var(--color-primary);

    box-shadow: 0 0 12px rgba(37, 99, 235, .7);
}


/*========================================================
5. TYPOGRAPHY
========================================================*/

.opening-title {

    margin: 0;

    font-size: clamp(3.6rem, 5vw, 5.8rem);

    font-weight: 700;

    line-height: 1.05;

    letter-spacing: -.04em;

    color: var(--color-white);
}


.opening-title span {

    display: block;

    color: var(--color-primary);
}


.opening-description {

    margin: 2rem 0 0;

    max-width: 560px;

    font-size: 1.12rem;

    line-height: 1.9;

    color: var(--color-text-secondary);
}


/*========================================================
6. ACTIONS
========================================================*/

.opening-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 1rem;
}


.opening-actions .btn {

    min-width: 220px;

    justify-content: center;
}


/*========================================================
7. OPENING VISUAL
========================================================*/

.opening-visual {

    position: relative;

    width: 100%;

    height: 100%;

    min-height: 520px;

    display: flex;

    justify-content: center;

    align-items: center;

    overflow: hidden;
}


/*========================================================
8. NETWORK GRID
========================================================*/

.network-grid {

    position: absolute;

    inset: 0;

    z-index: 0;

    background-image:
        linear-gradient(
            rgba(37, 99, 235, .055) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(37, 99, 235, .055) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    mask-image:
        radial-gradient(
            circle at center,
            black 0%,
            transparent 72%
        );

    -webkit-mask-image:
        radial-gradient(
            circle at center,
            black 0%,
            transparent 72%
        );

    pointer-events: none;
}


/*========================================================
9. NETWORK SVG
========================================================*/

.network-svg {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    z-index: 1;

    overflow: visible;

    pointer-events: none;
}


/*========================================================
10. CONVERGENCE CORE
========================================================*/

.convergence-core {

    position: relative;

    z-index: 4;

    width: 180px;

    height: 180px;

    display: flex;

    justify-content: center;

    align-items: center;
}


/*========================================================
11. CORE GLOW
========================================================*/

.core-glow {

    position: absolute;

    width: 180px;

    height: 180px;

    border-radius: 50%;

    background: rgba(37, 99, 235, .16);

    filter: blur(45px);

    opacity: .75;

    pointer-events: none;
}


/*========================================================
12. CORE OUTER RING
========================================================*/

.core-ring-outer {

    position: absolute;

    width: 150px;

    height: 150px;

    border: 1px solid rgba(255, 255, 255, .28);

    border-radius: 50%;

    box-shadow:
        0 0 30px rgba(37, 99, 235, .08);

    pointer-events: none;
}


/*========================================================
13. CORE MIDDLE RING
========================================================*/

.core-ring-middle {

    position: absolute;

    width: 105px;

    height: 105px;

    border: 1px solid rgba(37, 99, 235, .45);

    border-radius: 50%;

    box-shadow:
        inset 0 0 20px rgba(37, 99, 235, .08),
        0 0 20px rgba(37, 99, 235, .08);

    pointer-events: none;
}


/*========================================================
14. CORE INNER RING
========================================================*/

.core-ring-inner {

    position: absolute;

    width: 62px;

    height: 62px;

    border: 1px solid rgba(37, 99, 235, .75);

    border-radius: 50%;

    box-shadow:
        inset 0 0 15px rgba(37, 99, 235, .12),
        0 0 20px rgba(37, 99, 235, .12);

    pointer-events: none;
}


/*========================================================
15. CORE CENTER
========================================================*/

.core-center {

    position: relative;

    z-index: 2;

    background:
        var(--color-primary);

    box-shadow:
        0 0 12px
        rgba(37, 99, 235, .85),

        0 0 28px
        rgba(37, 99, 235, .45);

}
/*========================================================
CORE INTERACTION
========================================================*/

.convergence-core {

    transition:
        filter .4s ease,
        transform .4s ease;

}


.convergence-core.is-focused {

    filter:
        drop-shadow(
            0 0 18px
            rgba(37, 99, 235, .28)
        );

}

/*========================================================
16. ENGINE ZERO — NETWORK NODES
========================================================*/

.network-nodes {

    position: absolute;

    inset: 0;

    z-index: 3;

    pointer-events: none;
}


.tech-node {

    position: absolute;

    display: flex;

    align-items: center;

    gap: .55rem;

    padding: .55rem .8rem;

    border: 1px solid rgba(37, 99, 235, .25);

    border-radius: 999px;

    background: rgba(5, 10, 25, .72);

    backdrop-filter: blur(10px);

    color: rgba(255, 255, 255, .78);

    font-size: .68rem;

    font-weight: 600;

    letter-spacing: .08rem;

    text-transform: uppercase;

    white-space: nowrap;

    transform: translate(-50%, -50%);

    box-shadow:
        0 0 20px rgba(37, 99, 235, .05);
    
    transition:
        opacity .35s ease,
        border-color .35s ease,
        box-shadow .35s ease,
        transform .35s ease;

    cursor: pointer;
    

}
/*========================================================
ENGINE ZERO 1.4
NODE INTERACTION
========================================================*/
.tech-node.is-focused {

    opacity: 1;

    transform:
        translate(-50%, -50%)
        scale(1.06);

    border-color:
        rgba(37, 99, 235, .75);

    box-shadow:
        0 0 16px
        rgba(37, 99, 235, .25);

    z-index: 10;

}


.tech-node.is-dimmed {

    opacity: .28;

}
/*========================================================
ENGINE ZERO — NODE TYPES
========================================================*/

.tech-node[data-type="infrastructure"] {

    border-color: rgba(37, 99, 235, .32);

}
.tech-node[data-type="automation"] {

    border-color: rgba(37, 99, 235, .42);

}
.tech-node[data-type="intelligence"] {

    border-color: rgba(37, 99, 235, .55);

}
.tech-node[data-type="development"] {

    border-color: rgba(37, 99, 235, .38);

}


.tech-node::before {

    content: "";

    width: 6px;

    height: 6px;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--color-primary);

    box-shadow:
        0 0 10px rgba(37, 99, 235, .85);
}


/*========================================================
17. ENGINE ZERO — SVG CONNECTIONS
========================================================*/

.network-svg {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    z-index: 2;

    pointer-events: none;
}
.network-link {

    fill: none;

    stroke: rgba(37, 99, 235, .18);

    stroke-width: 1;

    vector-effect: non-scaling-stroke;

    opacity: .8;

}
.network-link-node {

    fill: none;

    stroke: rgba(37, 99, 235, .20);

    stroke-width: 1;

    vector-effect: non-scaling-stroke;

    opacity: .85;

    pointer-events: none;

}
/*========================================================
CONNECTION INTERACTION
========================================================*/

.network-link,
.network-link-node {

    transition:
        opacity .35s ease,
        stroke .35s ease;

}


.network-link.is-focused,
.network-link-node.is-focused {

    stroke:
        rgba(37, 99, 235, .65);

    opacity: 1;

    stroke-width: 1.4;

}


.network-link.is-dimmed,
.network-link-node.is-dimmed {

    opacity: .08;

}

/*========================================================
ENGINE ZERO 1.3
ENERGY FLOW
========================================================*/

.energy-pulse {

    fill: var(--color-primary);

    pointer-events: none;

    transition:
        opacity .35s ease,
        r .35s ease;

}
.energy-pulse.is-dimmed {

    opacity: .08;

}
.energy-pulse.is-focused {

    opacity: 1;

}


.energy-pulse-core {

    filter:
        drop-shadow(
            0 0 5px
            rgba(37, 99, 235, .9)
        );

}


.energy-pulse-node {

    opacity: .65;

    filter:
        drop-shadow(
            0 0 3px
            rgba(37, 99, 235, .7)
        );

}


.energy-motion-path {

    fill: none;

    stroke: none;

    pointer-events: none;

}


.network-nodes {

    position: absolute;

    inset: 0;

    z-index: 3;

    pointer-events: none;
}   

/*========================================================
18. SCROLL INDICATOR
========================================================*/

.scroll-indicator {

    margin-top: 4rem;

    width: 28px;

    height: 48px;

    border-radius: 999px;

    border: 1px solid rgba(255, 255, 255, .18);

    display: flex;

    justify-content: center;

    align-items: flex-start;

    padding-top: .55rem;

    opacity: .65;
}


.scroll-indicator span {

    width: 6px;

    height: 6px;

    border-radius: 50%;

    background: var(--color-primary);
}


/*========================================================
19. RESPONSIVE
========================================================*/

@media (max-width: 992px) {

    .opening-wrapper {

        grid-template-columns: 1fr;

    }

    .opening-visual {

        min-height: 420px;

    }

    .scroll-indicator {

        display: none;

    }

}