/**
 * HERO V3: THE MORPHING LATTICE STYLES
 * A blueprint-inspired, split-system layout.
 */

.hero.v3 {
    min-height: 100vh;
    background-color: #fbfbfd;
    /* Bone-white / Paper aesthetic */
    padding: 0;
    overflow: hidden;
}

.hero-split-container {
    display: flex;
    width: 100%;
    height: 100vh;
}

/* LEFT SIDE: THE LAB */
.hero-lab-side {
    position: relative;
    width: 50%;
    height: 100%;
    background-color: #fbfbfd;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(26, 40, 69, 0.08);
}

#hero-lattice-container {
    width: 100%;
    height: 100%;
    cursor: crosshair;
}

/* The Arch Frame (Legacy Phase Shift feel) */
.arch-frame {
    position: absolute;
    width: 85%;
    height: 90%;
    border: 1px solid rgba(26, 40, 69, 0.05);
    border-radius: 50% 50% 0 0;
    pointer-events: none;
    z-index: 5;
    background: radial-gradient(circle at 50% 50%, transparent, rgba(255, 255, 255, 0.4));
}

/* ENGINEERING OVERLAY */
.engineering-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: rgba(26, 40, 69, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.coord-tag {
    position: absolute;
    padding: 10px;
}

.coord-tag.top-left {
    top: 40px;
    left: 40px;
    border-left: 1px solid var(--signal-red);
    padding-left: 10px;
}

.coord-tag.bottom-right {
    bottom: 40px;
    right: 40px;
    text-align: right;
    border-right: 1px solid var(--navy-primary);
    padding-right: 10px;
}

.blueprint-axes {
    position: absolute;
    left: 40px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.axis {
    display: flex;
    align-items: center;
    gap: 8px;
}

.axis::before {
    content: '';
    width: 20px;
    height: 1px;
    background-color: rgba(26, 40, 69, 0.2);
}

.axis.x::before {
    background-color: var(--signal-red);
}

/* RIGHT SIDE: THE STRATEGY */
.hero-strategy-side {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 8%;
    padding-right: 10%;
    background-color: #fbfbfd;
}

.hero.v3 .hero-content {
    max-width: 540px;
    width: 100%;
}

.hero.v3 .hero-title {
    font-size: 3.75rem;
    line-height: 1;
    margin-bottom: 24px;
    color: var(--navy-primary);
}

.hero.v3 .hero-title span {
    font-style: italic;
    color: var(--slate-gray);
    font-weight: 400;
}

.hero.v3 .hero-subtitle {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--signal-red);
    margin-bottom: 20px;
}

.hero.v3 .hero-description {
    font-size: 1.15rem;
    color: var(--navy-secondary);
    opacity: 0.8;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* TICKER FOOTER */
.hero-footer-v3 {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40px;
    background-color: var(--navy-primary);
    color: var(--white-pure);
    display: flex;
    align-items: center;
    z-index: 20;
    overflow: hidden;
}

.ticker-wrap {
    width: 100%;
    padding-left: 100%;
    white-space: nowrap;
}

.ticker {
    display: inline-block;
    padding-right: 100%;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 40px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 2px;
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* V3 DROPDOWN REFINEMENTS */
.v3 .dropdown-menu {
    background-color: var(--navy-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.v3 .dropdown-menu a {
    color: var(--white-pure);
}

.v3 .dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* FRAMEWORK V3 ADAPTATIONS */
.use-case-hero.v3 {
    min-height: 70vh;
    background-color: #fbfbfd;
    padding: 0;
    overflow: hidden;
    display: block;
    /* Override flex */
}

.use-case-hero.v3 .hero-split-container {
    height: 70vh;
}

.use-case-hero.v3 .hero-lab-side {
    width: 45%;
    border-right: 1px solid rgba(26, 40, 69, 0.05);
}

.use-case-hero.v3 .hero-strategy-side {
    width: 55%;
    padding-left: 8%;
    padding-right: 8%;
}

.use-case-hero.v3 .use-case-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--signal-red);
    text-transform: uppercase;
    letter-spacing: 4px;
    display: block;
    margin-bottom: 24px;
}

.use-case-hero.v3 .use-case-hero-title {
    font-size: 2.75rem;
    line-height: 1.15;
    color: var(--navy-primary);
    max-width: 600px;
    margin-bottom: 32px;
}

/* THEME ACCENTS */
.v3[data-theme="red"] .axis.x::before {
    background-color: #ed2027;
}

.v3[data-theme="blue"] .axis.x::before {
    background-color: #4a90e2;
}

.v3[data-theme="gray"] .axis.x::before {
    background-color: #3e4b5c;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-split-container {
        flex-direction: column;
    }

    .hero-lab-side,
    .hero-strategy-side {
        width: 100%;
        height: 50vh;
    }

    .hero-strategy-side {
        padding: 40px;
        align-items: flex-start;
    }

    .hero.v3 .hero-title {
        font-size: 2.5rem;
    }

    .use-case-hero.v3 .hero-split-container {
        flex-direction: column;
        height: auto;
    }

    .use-case-hero.v3 .hero-lab-side {
        width: 100%;
        height: 40vh;
    }

    .use-case-hero.v3 .hero-strategy-side {
        width: 100%;
        height: auto;
        padding: 60px 40px;
    }
}