/* ===========================================================
   monopole.tech — Futuristic split-screen research interface
   Palette: deep teal / violet / dark blue  + cyan, magenta, yellow holo
   =========================================================== */

:root {
    --c-deep-teal: #0A3040;
    --c-violet: #2A1050;
    --c-dark-blue: #0A1040;
    --c-cyan: #20C0D0;
    --c-magenta: #C020C0;
    --c-yellow: #D0C020;
    --c-light: #E8ECF0;

    --c-bg-base: #050614;
    --c-text: #E8ECF0;
    --c-text-dim: rgba(232, 236, 240, 0.62);
    --c-text-mute: rgba(232, 236, 240, 0.38);

    --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
    --font-body: "Inter", system-ui, sans-serif;
    --font-mono: "Fira Code", "SFMono-Regular", Consolas, monospace;

    --holo-angle: 135deg;

    --pad-x: clamp(24px, 5vw, 80px);
    --pad-y: clamp(60px, 8vh, 120px);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(14px, 1vw, 17px);
    line-height: 1.7;
    color: var(--c-text);
    background: var(--c-bg-base);
    overflow-x: hidden;
    cursor: default;
    position: relative;
    min-height: 100vh;
}

/* ============= Gradient mesh background ============= */
.gradient-mesh {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(10, 48, 64, 0.85), transparent 60%),
        radial-gradient(ellipse at 80% 70%, rgba(42, 16, 80, 0.65), transparent 55%),
        radial-gradient(ellipse at 50% 50%, rgba(10, 16, 64, 0.92), transparent 70%),
        linear-gradient(180deg, #04060f 0%, #050614 50%, #04050d 100%);
}

.mesh-blob {
    position: absolute;
    width: 60vmax;
    height: 60vmax;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    will-change: transform;
}

.mesh-blob-1 {
    background: radial-gradient(circle, rgba(10, 48, 64, 0.9), transparent 60%);
    top: -25%;
    left: -15%;
    animation: blob-drift-1 28s ease-in-out infinite alternate;
}

.mesh-blob-2 {
    background: radial-gradient(circle, rgba(42, 16, 80, 0.85), transparent 60%);
    bottom: -25%;
    right: -15%;
    animation: blob-drift-2 34s ease-in-out infinite alternate;
}

.mesh-blob-3 {
    background: radial-gradient(circle, rgba(10, 16, 64, 0.95), transparent 60%);
    top: 30%;
    right: 20%;
    width: 40vmax;
    height: 40vmax;
    animation: blob-drift-3 24s ease-in-out infinite alternate;
}

.mesh-blob-4 {
    background: radial-gradient(circle, rgba(192, 32, 192, 0.18), transparent 60%);
    bottom: 10%;
    left: 25%;
    width: 35vmax;
    height: 35vmax;
    animation: blob-drift-4 38s ease-in-out infinite alternate;
}

@keyframes blob-drift-1 {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(8vw, 6vh) scale(1.12); }
}
@keyframes blob-drift-2 {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-6vw, -8vh) scale(1.08); }
}
@keyframes blob-drift-3 {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-10vw, 5vh) scale(0.92); }
}
@keyframes blob-drift-4 {
    0%   { transform: translate(0, 0) scale(0.95); }
    100% { transform: translate(7vw, -6vh) scale(1.15); }
}

/* ============= Abstract-tech pattern overlay ============= */
.abstract-tech-pattern {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.85;
    will-change: transform;
}

.hex-grid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: screen;
}

/* ============= Header ============= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 18px var(--pad-x);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    background: rgba(5, 6, 20, 0.55);
    border-bottom: 1px solid rgba(32, 192, 208, 0.12);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 17px;
    letter-spacing: 0.02em;
}

.brand-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(var(--holo-angle), var(--c-cyan), var(--c-magenta), var(--c-yellow));
    box-shadow: 0 0 10px rgba(32, 192, 208, 0.7);
    animation: brand-pulse 3.4s ease-in-out infinite;
}

@keyframes brand-pulse {
    0%, 100% { box-shadow: 0 0 10px rgba(32, 192, 208, 0.7); transform: scale(1); }
    50%      { box-shadow: 0 0 18px rgba(192, 32, 192, 0.8); transform: scale(1.18); }
}

.brand-suffix {
    background: linear-gradient(var(--holo-angle), var(--c-cyan), var(--c-magenta), var(--c-yellow));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.site-nav {
    display: flex;
    gap: 28px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--c-text-dim);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-num {
    color: var(--c-cyan);
    font-size: 10px;
    opacity: 0.7;
}

.nav-link:hover {
    color: var(--c-light);
}

.nav-link:hover .nav-num {
    color: var(--c-magenta);
}

.header-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--c-text-dim);
    letter-spacing: 0.1em;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--c-yellow);
    box-shadow: 0 0 8px rgba(208, 192, 32, 0.7);
    animation: status-blink 2s ease-in-out infinite;
}

@keyframes status-blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.35; }
}

/* ============= Hero ============= */
.hero {
    min-height: 100vh;
    padding: 140px var(--pad-x) 80px;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 40px;
    position: relative;
}

.hero-logotype {
    text-align: center;
    opacity: 0;
    transform: translateY(8px);
    animation: hero-rise 1.1s 0.2s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}

@keyframes hero-rise {
    to { opacity: 1; transform: translateY(0); }
}

.logotype {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(40px, 7vw, 96px);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 18px;
}

.logo-mono {
    color: var(--c-light);
    background: linear-gradient(var(--holo-angle), var(--c-cyan) 0%, var(--c-magenta) 50%, var(--c-yellow) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    background-position: 50% 50%;
    transition: background-position 0.05s linear;
}

.logo-tech {
    color: var(--c-text-dim);
    font-weight: 400;
    font-style: italic;
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: clamp(13px, 1.1vw, 16px);
    color: var(--c-text-dim);
    letter-spacing: 0.04em;
    max-width: 560px;
    margin: 0 auto;
}

/* Hero split-screen */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 2px 1fr;
    gap: 0;
    border: 1px solid rgba(32, 192, 208, 0.12);
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(10, 48, 64, 0.18), rgba(10, 16, 64, 0.32));
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(232, 236, 240, 0.02);
    position: relative;
}

.hero-split::before {
    content: "";
    position: absolute;
    inset: -1px;
    pointer-events: none;
    border-radius: 9px;
    padding: 1px;
    background: linear-gradient(var(--holo-angle), rgba(32, 192, 208, 0.55), rgba(192, 32, 192, 0.4), rgba(208, 192, 32, 0.45));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0.55;
}

.split-pane {
    padding: 22px 26px;
    display: flex;
    flex-direction: column;
    min-height: 360px;
}

.pane-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px dashed rgba(232, 236, 240, 0.1);
    margin-bottom: 18px;
}

.pane-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--c-cyan);
}

.pane-id {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--c-text-mute);
}

.pane-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.typewriter {
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.7;
    color: var(--c-light);
    white-space: pre-wrap;
    min-height: 130px;
    margin: 0;
}

.typewriter::after {
    content: "▌";
    color: var(--c-cyan);
    animation: cursor-blink 0.9s step-end infinite;
}

.typewriter.done::after {
    animation: cursor-blink 1.4s step-end infinite;
    opacity: 0.6;
}

@keyframes cursor-blink {
    0%, 49%   { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.data-readout {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 10px;
    border-top: 1px dashed rgba(232, 236, 240, 0.08);
}

.data-row {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--c-text-dim);
}

.data-key {
    color: var(--c-text-mute);
}

.data-val {
    color: var(--c-yellow);
    font-weight: 500;
}

.split-divider {
    position: relative;
    background: linear-gradient(180deg, transparent, rgba(32, 192, 208, 0.5), transparent);
}

.divider-line {
    position: absolute;
    inset: 0;
}

.divider-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--c-cyan), var(--c-magenta));
    box-shadow: 0 0 18px rgba(32, 192, 208, 0.7), 0 0 30px rgba(192, 32, 192, 0.45);
    animation: orb-drift 5.5s ease-in-out infinite alternate;
}

@keyframes orb-drift {
    0%   { top: 30%; }
    100% { top: 70%; }
}

.split-visual .pane-body {
    align-items: stretch;
}

.viz-container {
    position: relative;
    flex: 1;
    min-height: 220px;
    border-radius: 4px;
    overflow: hidden;
    background: radial-gradient(ellipse at center, rgba(10, 48, 64, 0.4), rgba(5, 6, 20, 0.6));
}

#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.viz-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.viz-corner {
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: var(--c-cyan);
    border-style: solid;
    border-width: 0;
}
.viz-corner-tl { top: 8px;  left: 8px;  border-top-width: 1.5px; border-left-width: 1.5px; }
.viz-corner-tr { top: 8px;  right: 8px; border-top-width: 1.5px; border-right-width: 1.5px; }
.viz-corner-bl { bottom: 8px; left: 8px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.viz-corner-br { bottom: 8px; right: 8px; border-bottom-width: 1.5px; border-right-width: 1.5px; }

.viz-crosshair {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 1px;
    box-shadow:
        0 -10px 0 rgba(232, 236, 240, 0.35),
        0 10px 0 rgba(232, 236, 240, 0.35),
        -10px 0 0 rgba(232, 236, 240, 0.35),
        10px 0 0 rgba(232, 236, 240, 0.35);
}

.viz-readout {
    position: absolute;
    bottom: 14px;
    left: 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--c-cyan);
    letter-spacing: 0.1em;
}

.viz-coord {
    color: var(--c-yellow);
    font-size: 11px;
}

/* Scroll indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.scroll-text {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.3em;
    color: var(--c-text-mute);
}

.scroll-bar {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--c-cyan), transparent);
    animation: scroll-fade 2.4s ease-in-out infinite;
}

@keyframes scroll-fade {
    0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
    50%      { opacity: 1;   transform: scaleY(1); }
}

/* ============= Section Skeleton ============= */
.split-section,
.contact-section {
    position: relative;
    padding: var(--pad-y) var(--pad-x);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: center;
}

.section-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--c-text-mute);
}

.section-num {
    color: var(--c-cyan);
}

.section-title-mini {
    color: var(--c-text-dim);
}

.split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: center;
}

.split-content.reverse {
    direction: rtl;
}

.split-content.reverse > * {
    direction: ltr;
}

.split-text {
    will-change: transform;
}

.split-visual-block {
    will-change: transform;
}

.section-heading {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(32px, 4.4vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: var(--c-light);
}

.section-heading em {
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(var(--holo-angle), var(--c-cyan), var(--c-magenta), var(--c-yellow));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-lede {
    font-size: clamp(14px, 1.05vw, 17px);
    color: var(--c-text-dim);
    line-height: 1.75;
    max-width: 540px;
    margin-bottom: 28px;
}

/* ============= Section: Research ============= */
.research-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--c-text-dim);
}

.research-list li {
    display: flex;
    gap: 14px;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(232, 236, 240, 0.08);
}

.list-num {
    color: var(--c-cyan);
    width: 24px;
    flex-shrink: 0;
}

.viz-card {
    border: 1px solid rgba(32, 192, 208, 0.18);
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(10, 48, 64, 0.35), rgba(10, 16, 64, 0.45));
    padding: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    position: relative;
}

.viz-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(232, 236, 240, 0.1);
}

.viz-card-title {
    color: var(--c-cyan);
}

.viz-card-time {
    color: var(--c-yellow);
}

.viz-card-svg {
    width: 100%;
    height: auto;
    display: block;
}

.topo-rings {
    transform-origin: center;
    animation: topo-rotate 30s linear infinite;
}

@keyframes topo-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.viz-card-footer {
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 8px 14px;
    font-family: var(--font-mono);
    font-size: 11px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px dashed rgba(232, 236, 240, 0.1);
}

.footer-key {
    color: var(--c-text-mute);
}

.footer-val {
    color: var(--c-light);
    font-weight: 500;
}

/* ============= Section: Systems ============= */
.systems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.sys-cell {
    position: relative;
    padding: 18px 16px;
    border: 1px solid rgba(32, 192, 208, 0.15);
    border-radius: 4px;
    background: rgba(10, 16, 64, 0.45);
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.sys-cell:hover {
    transform: translateY(-3px);
    border-color: rgba(192, 32, 192, 0.4);
}

.sys-cell-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--c-cyan), var(--c-magenta));
    transform-origin: left center;
}

.sys-cell-1 .sys-cell-bar { width: 98%; animation: bar-pulse 4.2s ease-in-out infinite; }
.sys-cell-2 .sys-cell-bar { width: 100%; }
.sys-cell-3 .sys-cell-bar { width: 12%; background: linear-gradient(90deg, var(--c-yellow), var(--c-magenta)); }
.sys-cell-4 .sys-cell-bar { width: 86%; animation: bar-pulse 3.6s ease-in-out infinite; }
.sys-cell-5 .sys-cell-bar { width: 47%; }
.sys-cell-6 .sys-cell-bar { width: 100%; background: linear-gradient(90deg, var(--c-cyan), var(--c-yellow)); }

@keyframes bar-pulse {
    0%, 100% { opacity: 0.7; }
    50%      { opacity: 1; }
}

.sys-cell-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--c-text-mute);
}

.sys-cell-value {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    color: var(--c-light);
    letter-spacing: -0.01em;
}

.systems-detail {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid rgba(232, 236, 240, 0.08);
    font-family: var(--font-mono);
    font-size: 12px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    color: var(--c-text-dim);
}

.detail-key {
    color: var(--c-text-mute);
}

.detail-value {
    color: var(--c-light);
}

/* ============= Section: Vision ============= */
.vision-timeline {
    list-style: none;
    counter-reset: timeline;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    padding-left: 0;
}

.timeline-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(232, 236, 240, 0.1);
    transition: padding-left 0.3s ease, color 0.3s ease;
}

.timeline-item.active {
    padding-left: 12px;
    border-left: 2px solid var(--c-magenta);
    background: linear-gradient(90deg, rgba(192, 32, 192, 0.1), transparent 60%);
}

.timeline-tag {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--c-cyan);
    letter-spacing: 0.1em;
}

.timeline-item.active .timeline-tag {
    color: var(--c-magenta);
}

.timeline-text {
    color: var(--c-text-dim);
    font-size: 14px;
}

.vision-panel {
    border: 1px solid rgba(208, 192, 32, 0.2);
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(42, 16, 80, 0.4), rgba(10, 16, 64, 0.5));
    padding: 22px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    position: relative;
}

.vision-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(232, 236, 240, 0.1);
}

.panel-tag {
    color: var(--c-yellow);
}

.panel-tag-id {
    color: var(--c-text-mute);
}

.vision-svg {
    width: 100%;
    height: auto;
    display: block;
}

.vision-rings {
    transform-origin: center;
    animation: vision-rotate 60s linear infinite;
}

@keyframes vision-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(-360deg); }
}

.vision-panel-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed rgba(232, 236, 240, 0.1);
}

.vision-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: var(--font-mono);
    font-size: 11px;
}

.vision-stat span {
    color: var(--c-text-mute);
    letter-spacing: 0.1em;
}

.vision-stat strong {
    color: var(--c-light);
    font-weight: 500;
    font-size: 13px;
}

/* ============= Contact ============= */
.contact-section {
    min-height: 80vh;
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: center;
}

.contact-card {
    border: 1px solid rgba(32, 192, 208, 0.2);
    border-radius: 6px;
    background: rgba(10, 16, 64, 0.55);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(192, 32, 192, 0.15), transparent 60%);
    pointer-events: none;
}

.contact-row {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(232, 236, 240, 0.1);
    position: relative;
    z-index: 1;
}

.contact-key {
    color: var(--c-text-mute);
    letter-spacing: 0.1em;
}

.contact-value {
    color: var(--c-light);
}

.contact-button {
    position: relative;
    margin-top: 12px;
    padding: 16px 22px;
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.2em;
    color: var(--c-light);
    background: linear-gradient(90deg, rgba(32, 192, 208, 0.18), rgba(192, 32, 192, 0.18));
    border: 1px solid rgba(32, 192, 208, 0.4);
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.contact-button:hover {
    transform: translateY(-2px);
    border-color: rgba(192, 32, 192, 0.7);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(var(--holo-angle), var(--c-cyan), var(--c-magenta), var(--c-yellow));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    mix-blend-mode: overlay;
}

.contact-button:hover .btn-glow {
    opacity: 0.55;
}

/* ============= Footer ============= */
.site-footer {
    padding: 28px var(--pad-x) 36px;
    border-top: 1px solid rgba(32, 192, 208, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(5, 6, 20, 0.55);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--c-text-mute);
    letter-spacing: 0.1em;
}

.footer-brand {
    color: var(--c-text-dim);
}

.footer-coord {
    color: var(--c-yellow);
}

/* ============= Cursor halo ============= */
.cursor-halo {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(32, 192, 208, 0.18), rgba(192, 32, 192, 0.06) 40%, transparent 70%);
    mix-blend-mode: screen;
    z-index: 100;
    transition: opacity 0.3s ease;
    will-change: transform;
}

/* ============= Responsive ============= */
@media (max-width: 980px) {
    .site-nav { display: none; }
    .header-status { display: none; }
    .hero-split {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 2px 1fr;
    }
    .split-divider {
        background: linear-gradient(90deg, transparent, rgba(32, 192, 208, 0.5), transparent);
    }
    .divider-orb { animation: orb-drift-h 5.5s ease-in-out infinite alternate; }
    @keyframes orb-drift-h {
        0%   { left: 30%; }
        100% { left: 70%; }
    }
    .split-content,
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .split-content.reverse {
        direction: ltr;
    }
    .systems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .cursor-halo { display: none; }
}

@media (max-width: 540px) {
    .split-pane { padding: 18px; }
    .split-pane { min-height: 280px; }
    .systems-grid { grid-template-columns: 1fr; }
    .timeline-item { grid-template-columns: 60px 1fr; gap: 8px; }
    .vision-panel-footer { grid-template-columns: 1fr; }
    .viz-card-footer { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .mesh-blob, .topo-rings, .vision-rings, .scroll-bar, .divider-orb, .status-dot, .brand-dot {
        animation: none;
    }
}
