/* --- 1. CORE VARIABLES & RESET --- */
:root {
    --anomaly-orange: #eba121;
    --anomaly-cyan: #65cbe4;
    --anomaly-navy: #0e1026;
    --anomaly-cream: #fff8e8;
    --transition-slow: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-fast: all 0.3s ease;
}

html,
body {
    overflow: visible !important;
}

body {
    background-color: var(--anomaly-navy);
    color: var(--anomaly-cream);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden !important;
    cursor: none !important;
}

.font-heading {
    font-family: 'Syncopate', sans-serif;
}

/* --- 2. THE BLOB & CURSOR --- */
#blob {
    background-color: white;
    height: 300px;
    aspect-ratio: 1;
    position: fixed;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    border-radius: 50%;
    background: linear-gradient(to right, #65cbe4, #eba121);
    filter: blur(80px);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
    will-change: left, top;
}

#cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1), background 0.3s ease;
    left: 0;
    top: 0;
    margin-top: -10px;
    margin-left: -10px;
    will-change: transform;
}

#cursor,
#blob {
    display: block;
}

@media (hover: none), (pointer: coarse) {
    #cursor,
    #blob {
        display: none;
    }
}

/* --- 3. PAGE LOADER (TERMINAL) --- */
#page-loader {
    position: fixed;
    inset: 0;
    background: var(--anomaly-navy);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.7s cubic-bezier(0.85, 0, 0.15, 1);
    pointer-events: none;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.terminal-dot {
    width: 8px;
    height: 8px;
    background: var(--anomaly-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--anomaly-cyan);
}

#terminal-stream {
    height: 160px;
    overflow: hidden;
    color: var(--anomaly-cyan);
    font-size: 12px;
    line-height: 1.8;
    border-left: 1px solid rgba(101, 203, 228, 0.2);
    padding-left: 15px;
}

/* --- 4. NAVIGATION & MOBILE MENU --- */
#main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.4s ease, background 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease;
    padding: 1.5rem 0;
}

.nav-hidden {
    transform: translateY(-100%);
}

.nav-scrolled {
    background-color: rgba(14, 16, 38, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: .5rem 2rem !important;
}

.nav-scrolled img{
    transform: scale(.7);
}

.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--anomaly-orange);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

#nav-cta {
    padding: 0.625rem 1.25rem !important;
    background-color: var(--anomaly-cream);
    color: var(--anomaly-navy);
    font-size: 10px;
}

#nav-cta.nav-link:hover::after {
    transform: scaleX(0);
}

#mobile-menu {
    position: fixed;
    inset: 0;
    background: #0e1026;
    transform: translateY(100%);
    transition: transform .5s cubic-bezier(0.77,0,0.175,1);
    pointer-events: none;
}

#mobile-menu.open {
	height: 100vh !important;
    transform: translateY(0);
    pointer-events: auto;
}

#mobile-menu.open .mobile-nav-link {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

body.menu-open {
    overflow: hidden !important;
    height: 100vh !important;
}

.mobile-nav-link {
    transition: all 0.5s ease;
    transform: translateY(20px);
    opacity: 0;
}

#menu-trigger {
    cursor: pointer;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 10px !important;
}

.nav-dash {
    display: block;
    width: 32px;
    height: 2px;
    background-color: #fff;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-dash:last-child {
    width: 20px;
    align-self: flex-end;
}

/* Active / Open State */
#menu-trigger.active .nav-dash:first-child {
    transform: translateY(4px) rotate(45deg);
    background-color: #fff;
}

#menu-trigger.active .nav-dash:last-child {
    transform: translateY(-4px) rotate(-45deg);
    width: 32px;
    background-color: #fff;
}

/* --- 5. HERO SECTION --- */
.hero-title {
    font-size: 9vw;
    font-weight: 900;
}

.text-outline {
    color: transparent;
    -webkit-text-stroke: 1px var(--anomaly-cream);
}

.hero-cta .cta-text {
    transition: padding 0.4s ease;
}

.hero-cta:hover .cta-text {
    padding-right: 1.5rem;
}

.hero-cta:hover .cta-arrow {
    background-color: var(--anomaly-cream);
    color: var(--anomaly-navy);
    transform: translateX(10px);
}

/* --- 6. UTILITIES --- */
.text-orange {
    color: var(--anomaly-orange);
}

.bg-orange {
    background-color: var(--anomaly-orange);
}

.bg-cyan {
    background-color: var(--anomaly-cyan);
}

.bg-navy {
    background-color: var(--anomaly-navy);
}

.border-orange {
    border-color: var(--anomaly-orange);
}

.tracking-tighter {
    letter-spacing: -0.05em;
}

.tracking-widest {
    letter-spacing: 0.3em;
}

.transition-all {
    transition: all 0.4s ease;
}

#scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background-color: rgba(14, 16, 38, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(40px);
    z-index: 1000;
}

/* Entrance Animation via JS class */
#scroll-to-top.is-visible {
    opacity: 1 !important;
    transform: translateY(0);
    pointer-events: auto !important;
}

/* SVG Rotation to make progress start from the top center */
.-rotate-90 {
    transform: rotate(-90deg);
}

#progress-ring {
    transition: stroke-dashoffset 0.1s linear;
}

/* Hover States */
.group:hover #progress-ring {
    stroke-width: 4;
}

.group-hover-orange:hover,
.group:hover .group-hover-orange {
    color: var(--anomaly-orange) !important;
}

/* Utility for the negative margin in the arrow */
.mb-n1 {
    margin-bottom: -2px !important;
}

.opacity-0 {
    opacity: 0;
}

.opacity-100 {
    opacity: 1;
}

.translate-y-10 {
    transform: translateY(40px);
}

.translate-y-0 {
    transform: translateY(0);
}

.translate-y-full {
    transform: translateY(100%);
}

.bg-white-5 {
    background-color: rgba(255, 255, 255, 0.05);
}

.border-white-10 {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.border-cyan {
    border: 1px solid var(--anomaly-cyan);
}

.border-orange {
    border: 1px solid var(--anomaly-orange);
}

.text-navy {
    color: var(--anomaly-navy) !important;
}

.text-cyan {
    color: var(--anomaly-cyan) !important;
}

/* --- 7. REVEAL ANIMATIONS --- */
.reveal-text {
    opacity: 0.1;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.19, 1, 0.22, 1);
    filter: blur(4px);
}

.reveal-text.active {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* --- ANOMALY ADVANTAGE SECTION --- */

/* 1. Advantage Cards */
.advantage-card {
    transition: all 0.4s ease;
    border-left: 2px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0 1.5rem 1.5rem;
}

.advantage-card:hover {
    border-left: 2px solid var(--anomaly-orange);
    background: linear-gradient(90deg, rgba(235, 161, 31, 0.05) 0%, rgba(235, 161, 31, 0) 100%);
}

.advantage-card h4 {
    transition: color 0.3s ease;
}

.advantage-card:hover h4 {
    color: var(--anomaly-orange);
}

.advantage-card p {
    margin: 0;
}

.advantage-card:hover p {
    opacity: 1 !important;
    color: #fff !important;
}

/* Right-side Card alignment */
@media (min-width: 768px) {
    .advantage-card-right {
        border-left: none;
        border-right: 2px solid rgba(255, 255, 255, 0.05);
        padding-left: 0;
        padding-right: 1.5rem;
        text-align: right;
    }

    .advantage-card-right:hover {
        border-right: 2px solid var(--anomaly-orange);
        border-left: none;
        background: linear-gradient(-90deg, rgba(235, 161, 31, 0.05) 0%, rgba(235, 161, 31, 0) 100%);
    }

    .advantage-card-right:hover h4 {
        transform: translateX(-5px);
    }
}

/* 2. The Assembly Pieces */

/* Initial State: Scattered outside view */
#piece-left {
    transform: translate(-800px, -400px);
    opacity: 0;
}

#piece-right-top {
    transform: translate(800px, -800px);
    opacity: 0;
}

#piece-right-bottom {
    transform: translate(800px, 800px);
    opacity: 0;
}

.piece {
    position: absolute;
    width: 80px;
    z-index: 20;
    will-change: transform, opacity;
    filter: brightness(1);
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.5s ease;
}

#piece-merged {
    position: absolute;
    width: 96px;
    opacity: 0;
    transform: scale(1.5);
    z-index: 10;
    transition: opacity 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

/* 3. The "Locked" State (Triggered by Scroll JS) */
.is-morphed #piece-merged {
    opacity: 1;
    transform: scale(1);
    filter: brightness(1.2) drop-shadow(0 0 20px rgba(235, 161, 33, 0.3));
}

.is-morphed .piece {
    opacity: 0 !important;
    transform: scale(0.7) !important;
    filter: blur(10px);
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s ease;
}

/* 4. The "Break-Apart" Hover Effect */
#core-element-trigger:hover #piece-merged {
    opacity: 0 !important;
    transform: scale(0.9) !important;
}

#core-element-trigger:hover .piece {
    opacity: 1 !important;
    filter: blur(0px) brightness(1) !important;
}

/* Hover-out Precise Coordinates */
#core-element-trigger:hover #piece-left {
    transform: translate(-70px, -20px) scale(1.1) !important;
}

#core-element-trigger:hover #piece-right-top {
    transform: translate(70px, -90px) scale(1.1) !important;
}

#core-element-trigger:hover #piece-right-bottom {
    transform: translate(70px, 90px) scale(1.1) !important;
}

/* --- SERVICES SECTION STYLES --- */

/* 1. Bento Grid Layout */
.services-bento-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: 300px;
    gap: 1rem;
}

@media (min-width: 768px) {
    .services-bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .card-large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .card-wide {
        grid-column: span 2;
    }
}

/* 2. Flip Card Core Logic */
.flip-card {
    background-color: transparent;
    perspective: 1000px;
    height: 100%;
    width: 100%;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: left;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-front .service-number {
    top: 1.5rem;
    left: 1.5rem;
}

.flip-front,
.flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 4px;
}

.flip-back {
    transform: rotateY(180deg);
}

.card-number-bg {
    position: absolute;
    top: -20px;
    right: -20px;
    font-family: 'Syncopate', sans-serif;
    font-size: 12rem;
    font-weight: 700;
    line-height: 1;
    opacity: 0.05;
    pointer-events: none;
}

/* 5. Custom Button */
.btn-outline-anomaly {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    color: white;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    transition: all 0.5s ease;
}

.btn-outline-anomaly:hover {
    background-color: white;
    color: var(--anomaly-navy) !important;
}

.btn-outline-anomaly:hover svg {
    transform: translateX(8px);
    stroke: var(--anomaly-navy);
}

/* --- PROCESS SECTION --- */
#process-wrapper {
    background-color: var(--anomaly-navy);
}

.bg-white-10 {
    background-color: rgba(255, 255, 255, 0.1);
}

.border-white-20 {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.h-px {
    height: 2px !important;
}

#process-container {
    transition: transform 0.1s ease-out;
}

.step-node {
    box-shadow: 0 0 0 rgba(235, 161, 33, 0);
}

/* Skip Button Hover */
.process-sticky{
    position: sticky;
    top: 0;
    height: 100dvh;
    overflow: hidden;
}

#skip-roadmap:hover {
    color: var(--anomaly-orange) !important;
}

#skip-roadmap:hover span {
    background-color: var(--anomaly-orange) !important;
    width: 48px !important;
}

.vw-100 {
    width: 100vw;
}

/* --- HOMEPAGE CTA SECTION --- */

.vh-60 {
    height: 60vh;
}

.btn-cta-main {
    background-color: var(--anomaly-orange);
    color: var(--anomaly-navy) !important;
    padding: 1.5rem 3.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    border: none;
    position: relative;
    box-shadow: 0 0 0 rgba(235, 161, 33, 0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-cta-main:hover {
    transform: scale(1.05) translateY(-5px);
    background-color: var(--anomaly-cream);
    box-shadow: 0 15px 30px rgba(235, 161, 33, 0.2);
    letter-spacing: 0.05em;
}

.btn-cta-main:active {
    transform: scale(0.98);
}

@keyframes softPulse {
    0% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.8;
    }
}

.vh-60 h2 {
    animation: softPulse 4s infinite ease-in-out;
}

/* --- FOOTER SECTION --- */

.pt-100 {
    padding-top: 6rem;
}

.bg-black {
    background-color: #000 !important;
}

.border-white-5 {
    border-color: rgba(255, 255, 255, 0.05) !important;
}

footer{
	font-family: 'Syncopate';
}

.footer-tagline {
    font-size: 10px;
    line-height: 1.8;
}

.footer-label {
    font-size: 10px;
    letter-spacing: 0.3em;
}

.footer-list {
    font-size: 11px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.footer-list li {
    margin-bottom: 1rem;
}

.hover-orange:hover {
    color: var(--anomaly-orange) !important;
    padding-left: 5px;
}

/* The Animated Email Link */
.footer-email {
    transition: color 0.4s ease;
    position: relative;
    font-weight: 300;
	font-size: 1.3rem
}

.footer-email::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--anomaly-orange);
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-email:hover {
    color: var(--anomaly-orange) !important;
}

.footer-email:hover::after {
    width: 100%;
}

.footer-line {
    width: 32px;
    height: 1px;
}

.footer-copy {
    font-size: 9px;
    letter-spacing: 0.1em;
}

.x-small { font-size: 0.6rem; }

/* Status Indicator */
.status-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #00ff66; /* Pure green for "System Stable" */
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 8px #00ff66;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.text-white-40 {
    color: rgba(255, 255, 255, 0.4);
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5);
}

.bg-white-20 {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .footer-email {
        font-size: 1.5rem;
    }
}

/* --- ABOUT PAGE SPECIFIC --- */
section.d-md-flex {
    align-items: flex-start;
    overflow: visible;
}

/* 1. Layout Helpers */
.about-section-spacer {
    margin-bottom: 12rem;
}

@media (min-width: 768px) {
    .vh-md-100 {
        height: 100vh !important;
        position: sticky;
        top: 0;
    }

    .border-start-md {
        border-left: 1px solid rgba(255, 255, 255, 0.05) !important;
    }
}

@media (max-width: 767px) {
    .border-bottom-mobile {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}

.about-section-spacer {
    margin-bottom: 25vh;
}

/* 2. Image Effects */
.about-image-wrapper {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.overlay-cyan-faint {
    position: absolute;
    inset: 0;
    background: rgba(101, 203, 228, 0.05);
    mix-blend-mode: overlay;
    z-index: 1;
    pointer-events: none;
}

.grayscale-img {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.group:hover .grayscale-img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* 3. Team Slider */
.team-slider-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
}

.team-slider-track::-webkit-scrollbar {
    display: none;
}

.team-card {
    min-width: 80%;
    scroll-snap-align: start;
}

@media (min-width: 768px) {
    .team-card {
        min-width: calc(50% - 0.75rem);
    }
}

.aspect-3-4 {
    aspect-ratio: 3 / 4;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(14, 16, 38, 0.4);
    z-index: 1;
}

.group:hover .image-overlay {
    background: transparent;
}

/* 4. Custom Buttons */
.btn-slider {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.btn-slider:hover {
    border-color: var(--anomaly-cyan);
    background: rgba(101, 203, 228, 0.1);
}

.btn-careers {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.25rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: white;
    text-decoration: none;
    font-family: 'Syncopate', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.4s ease;
}

.btn-careers:hover {
    background: white;
    color: black;
}

.btn-careers svg {
    transition: transform 0.4s ease;
}

.btn-careers:hover svg {
    transform: translateX(10px);
}

/* 5. Utility Overrides */
.hover-border-orange:hover {
    border-color: var(--anomaly-orange) !important;
}

.hover-border-cyan:hover {
    border-color: var(--anomaly-cyan) !important;
}

.group-hover-orange {
    transition: color 0.3s ease;
}

.group:hover .group-hover-orange {
    color: var(--anomaly-orange) !important;
}

@media (max-width: 767px) {
    .vh-md-100 {
        height: 40vh !important;
        position: relative;
    }
}

#division-viewport {
    position: relative;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

/* THE SCROLLABLE TRACK (The Engine) */
#scroll-wrapper {
    position: absolute;
    inset: 0;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    z-index: 1;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.snap-point {
    height: 100vh;
    scroll-snap-align: start;
    pointer-events: none;
}

/* THE FIXED VISUAL STAGE (The Content) */
.fixed-stage {
    position: fixed;
    inset: 0;
    height: 100vh;
    width: 100%;
    z-index: 10;
    pointer-events: none;
}

#horizontal-container {
    display: flex;
    height: 100vh;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    pointer-events: none;
}

.division-card {
    flex-shrink: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* THE ONLY INTERACTIVE AREA */
.interactive-content {
    pointer-events: auto !important;
    user-select: text !important;
    position: relative;
    z-index: 20;
}

.btn-division {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid;
    text-decoration: none;
    font-family: 'Syncopate', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
}

.division-img {
    transition: transform 0.6s ease;
}

.division-card:hover .division-img {
    transform: scale(1.05);
}

.division-img {
    width: 450px;
    transition: transform 0.6s ease;
}

.division-img:hover {
    transform: scale(1.05);
}

/* --- CAREERS PAGE --- */

/* Typography & Layout */
.max-w-700 {
    max-width: 700px;
}

.tracking-extra-widest {
    letter-spacing: 0.5em !important;
}

.mb-10 {
    margin-bottom: 10rem !important;
}

/* The System Decorative Box */
.system-box {
    aspect-ratio: 1 / 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.system-box:hover {
    background: rgba(101, 203, 228, 0.03);
    border-color: rgba(101, 203, 228, 0.2);
}

/* Blueprint Grid Effect */
.grid-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image: radial-gradient(var(--anomaly-cyan) 1px, transparent 1px);
    background-size: 25px 25px;
    pointer-events: none;
}

.system-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Corner Accents for the Box */
.corner {
    position: absolute;
    width: 15px;
    height: 15px;
    border: 2px solid var(--anomaly-orange);
    opacity: 0.5;
}

.corner-tl {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.corner-br {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

/* List Spacing */
.space-y-4>*+* {
    margin-top: 1.5rem !important;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .display-1 {
        font-size: 3.5rem !important;
    }

    .system-box {
        margin-top: 3rem;
        aspect-ratio: 16 / 9;
        /* Don't take too much vertical space on mobile */
    }

    .mb-10 {
        margin-bottom: 5rem !important;
    }
}

/* --- CAREERS MARQUEE --- */

.marquee-container {
    display: flex;
    overflow: hidden;
    user-select: none;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
    gap: 1.5rem;
    min-width: 100%;
    animation: scroll-left 30s linear infinite;
}

.marquee-content.reverse {
    animation: scroll-right 30s linear infinite;
}

/* Pause on hover */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-item {
    width: 350px;
    height: 220px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: #1a1a1a;
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.marquee-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) brightness(0.6);
    transition: all 0.6s ease;
}

/* Decorative Overlay */
.marquee-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(101, 203, 228, 0.1), transparent);
    mix-blend-mode: overlay;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Hover States */
.marquee-item:hover {
    transform: scale(1.02);
    border-color: var(--anomaly-cyan);
    z-index: 5;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.marquee-item:hover .marquee-img {
    filter: grayscale(0) brightness(1);
    transform: scale(1.1);
}

.marquee-item:hover .marquee-overlay {
    opacity: 1;
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes scroll-right {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .marquee-item {
        width: 260px;
        height: 160px;
    }

    .marquee-content {
        animation-duration: 20s;
    }
}

/* --- AREAS OF EXPERTISE GRID --- */
.expert-grid-section {
    background: rgba(255, 255, 255, 0.02);
}

.expert-card {
    background: #0e1026;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.expert-card:hover {
    border-color: var(--anomaly-cyan);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(101, 203, 228, 0.1);
}

/* Card Content Styling */
.card-title {
    color: white;
}

.expert-card:hover .card-title {
    color: var(--anomaly-cyan);
    letter-spacing: 0.05em;
}

.text-micro {
    font-size: 9px;
    letter-spacing: 0.25em;
}

.apply-arrow {
    transform: translateX(-10px);
}

.expert-card:hover .apply-arrow {
    opacity: 1 !important;
    transform: translateX(0);
}

/* Scanline Glitch Effect */
.card-scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            transparent,
            rgba(101, 203, 228, 0.05) 50%,
            transparent 50%);
    background-size: 100% 4px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.expert-card:hover .card-scanline {
    opacity: 1;
    animation: scanlineMove 10s linear infinite;
}

@keyframes scanlineMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 100%;
    }
}

.cursor-pointer {
    cursor: pointer;
}

.z-index-2 {
    z-index: 2;
}

@media (max-width: 768px) {
    .expert-card {
        padding: 2rem !important;
    }
}

/* --- CAREERS FORM: TERMINAL STYLE --- */
.max-w-900 {
    max-width: 900px;
    margin: 0 auto;
}

.terminal-window {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6);
    position: relative;
}

.terminal-header {
    height: 40px;
    background: #1a1a1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red {
    background: #ff5f56;
}

.dot-yellow {
    background: #ffbd2e;
}

.dot-green {
    background: #27c93f;
}

.terminal-title,
.terminal-status {
    font-family: 'Syncopate', monospace;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.4;
}

/* Custom Form Controls */
.form-label-custom {
    font-family: 'Syncopate', sans-serif;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.75rem;
    display: block;
}

.form-control-custom {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    border-color: var(--anomaly-orange);
    background: rgba(235, 161, 33, 0.05);
}

/* File Upload UI */
.file-upload-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-wrapper:hover {
    border-color: var(--anomaly-cyan);
    background: rgba(101, 203, 228, 0.05);
}

.file-text {
    font-size: 0.8rem;
    opacity: 0.4;
}

.file-browse-btn {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    font-size: 9px;
    text-transform: uppercase;
    font-family: 'Syncopate';
}

.file-upload-wrapper:hover .file-browse-btn {
    background: var(--anomaly-cyan);
    color: #000;
}

.btn-submit-collaboration {
    width: 100%;
    background: var(--anomaly-orange);
    color: #0e1026;
    border: none;
    padding: 1.5rem;
    font-family: 'Syncopate', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-submit-collaboration:hover {
    background: #fff;
    letter-spacing: 0.5em;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.select-icon {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.3;
}

.fixed-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(14, 16, 38, 0.95);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}

.success-content {
    border: 1px solid var(--anomaly-cyan);
    background: #000;
    box-shadow: 0 0 50px rgba(101, 203, 228, 0.2);
    max-width: 450px;
    width: 90%;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: var(--anomaly-cyan);
    border-radius: 50%;
    animation: pulse-cyan 1.5s infinite;
}

@keyframes pulse-cyan {

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

    50% {
        transform: scale(1.5);
        opacity: 0.3;
    }
}

.btn-terminal-close {
    font-family: 'Syncopate', sans-serif;
    font-size: 10px;
    letter-spacing: 0.2em;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

.btn-terminal-close:hover {
    background: white;
    color: black;
}

.terminal-highlight {
    border-color: var(--anomaly-cyan) !important;
    box-shadow: 0 0 30px rgba(101, 203, 228, 0.3) !important;
}

/* --- MULTI-STEP CONTACT FORM --- */
.max-w-4xl {
    max-width: 800px;
}

.h-100vh {
    height: 100vh;
}

.step-content {
    display: none;
    animation: fadeInSlide 0.6s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.step-content.active {
    display: block;
}

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

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

/* Big Minimal Input */
.contact-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    font-size: clamp(1.5rem, 5vw, 3.5rem);
    font-weight: 300;
    color: white;
    text-transform: uppercase;
    outline: none;
    transition: border-color 0.4s ease;
}

.contact-input:focus {
    border-color: var(--anomaly-orange);
}

/* Mission Selection Grid */
.mission-box {
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    text-align: center;
    font-family: 'Syncopate', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.mission-option {
    width: 100%;
}

.mission-option input:checked+.mission-box {
    background: var(--anomaly-orange);
    color: #0e1026;
    border-color: var(--anomaly-orange);
    box-shadow: 0 0 20px rgba(235, 161, 33, 0.3);
    transform: translateY(-5px);
}

.mission-box:hover {
    border-color: var(--anomaly-cyan);
    color: white;
}

/* Nav Buttons */
.btn-prev {
    opacity: 0;
    font-family: 'Syncopate';
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

.btn-prev:hover {
    background: white;
    color: black;
}

.btn-next {
    font-family: 'Syncopate';
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    background: white;
    border: none;
    color: black;
    padding: 1rem 2rem;
    transition: all 0.4s ease;
}

.btn-next:hover {
    background: var(--anomaly-orange);
    transform: translateX(5px);
}

/* Progress Bar */
.progress-track {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
}

.progress-bar-fill {
    height: 100%;
    background: var(--anomaly-orange);
    width: 33.33%;
    transition: width 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.glitch-wrapper h2 {
    position: relative;
    animation: text-glow 2s infinite alternate;
}

@keyframes text-glow {
    from {
        text-shadow: 0 0 5px #fff, 0 0 10px var(--anomaly-orange);
    }

    to {
        text-shadow: 0 0 10px #fff, 0 0 20px var(--anomaly-orange);
    }
}