/* ============================
   sim-ai.com - Styles
   Sci-Fi HUD Overlay Interface
   ============================ */

/* --- CSS Variables --- */
:root {
    --void-black: #0A0C1C;
    --tactical-cyan: #00C8FF;
    --signal-green: #00FF88;
    --alert-amber: #FFB800;
    --steel-blue: #4A6FA5;
    --pale-steel: #B8C6DB;
    --slate-mute: #6B7D95;
    --deep-navy: #121630;
    --grid-line: #1A2340;
    --font-display: 'Share Tech Mono', monospace;
    --font-body: 'Exo 2', sans-serif;
    --font-data: 'Orbitron', sans-serif;
}

/* --- Reset / Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
    background: var(--void-black);
}

body {
    font-family: var(--font-body);
    background: var(--void-black);
    color: var(--pale-steel);
    overflow-x: hidden;
    cursor: default;
    -webkit-font-smoothing: antialiased;
}

/* --- Scanlines Overlay --- */
#scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 2px,
        rgba(0, 200, 255, 0.015) 2px,
        rgba(0, 200, 255, 0.015) 4px
    );
}

/* --- Grid Overlay --- */
#grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background-image:
        linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.4;
}

/* --- Particle Canvas --- */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* --- Boot Overlay --- */
#boot-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    background: var(--void-black);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease;
}

#boot-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

#boot-content {
    text-align: center;
}

#boot-status-line {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--tactical-cyan);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    min-height: 2em;
}

#boot-cursor {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--tactical-cyan);
    display: inline-block;
    animation: cursorBlink 0.6s step-end infinite;
}

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

/* --- Top Status Bar --- */
#top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 8vh;
    z-index: 1000;
    background: rgba(10, 12, 28, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 80px;
    border-bottom: 1px solid rgba(0, 200, 255, 0.12);
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.system-id {
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: var(--steel-blue);
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.connectivity-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pulse-circle {
    animation: pulseIndicator 2s ease-in-out infinite;
}

@keyframes pulseIndicator {
    0%, 100% { stroke: #00FF88; opacity: 1; }
    33% { stroke: #00C8FF; opacity: 0.6; }
    66% { stroke: #00FF88; opacity: 0.8; }
}

.status-text {
    font-family: var(--font-display);
    font-size: 0.65rem;
    color: var(--signal-green);
    letter-spacing: 0.18em;
}

.top-bar-right {
    display: flex;
    align-items: center;
}

.hex-clock {
    font-family: var(--font-data);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--tactical-cyan);
    letter-spacing: 0.1em;
}

/* --- Side Rails --- */
#left-rail {
    position: fixed;
    top: 8vh;
    left: 0;
    width: 60px;
    height: 84vh;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-track {
    width: 2px;
    height: 80%;
    background: var(--grid-line);
    position: relative;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: var(--tactical-cyan);
    transition: height 0.1s linear;
    box-shadow: 0 0 6px rgba(0, 200, 255, 0.4);
}

#right-rail {
    position: fixed;
    top: 8vh;
    right: 0;
    width: 60px;
    height: 84vh;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-labels {
    display: flex;
    flex-direction: column;
    gap: 20px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.rail-label {
    font-family: var(--font-display);
    font-size: 0.6rem;
    color: var(--steel-blue);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.4;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.rail-label.active {
    opacity: 1;
    color: var(--tactical-cyan);
}

/* --- Bottom Status Bar --- */
#bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8vh;
    z-index: 1000;
    background: rgba(10, 12, 28, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 80px;
    border-top: 1px solid rgba(0, 200, 255, 0.12);
}

.coord-readout {
    font-family: var(--font-data);
    font-weight: 400;
    font-size: 0.7rem;
    color: var(--slate-mute);
    letter-spacing: 0.1em;
}

.bottom-bar-center {
    display: flex;
    align-items: center;
    gap: 10px;
}

.frame-counter-label {
    font-family: var(--font-display);
    font-size: 0.6rem;
    color: var(--steel-blue);
    letter-spacing: 0.18em;
}

.frame-counter {
    font-family: var(--font-data);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--signal-green);
    letter-spacing: 0.05em;
}

.bottom-bar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.signal-label {
    font-family: var(--font-display);
    font-size: 0.6rem;
    color: var(--steel-blue);
    letter-spacing: 0.18em;
}

.signal-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 20px;
}

.signal-bar {
    width: 4px;
    background: var(--signal-green);
    transition: height 0.2s ease;
    opacity: 0.3;
}

.signal-bar:nth-child(1) { height: 4px; }
.signal-bar:nth-child(2) { height: 8px; }
.signal-bar:nth-child(3) { height: 12px; }
.signal-bar:nth-child(4) { height: 16px; }
.signal-bar:nth-child(5) { height: 20px; }

.signal-bar.active {
    opacity: 1;
}

/* --- Main Viewport --- */
#main-viewport {
    position: relative;
    z-index: 2;
    scroll-snap-type: y mandatory;
    overflow-y: auto;
    height: 100vh;
    scroll-behavior: smooth;
}

/* --- HUD Sections --- */
.hud-section {
    position: relative;
    width: 100%;
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8vh 80px;
    overflow: hidden;
}

/* --- Corner Brackets --- */
.corner-bracket {
    position: absolute;
    width: 24px;
    height: 24px;
    z-index: 10;
    opacity: 0.3;
    transition: opacity 0.4s ease;
}

.corner-bracket::before,
.corner-bracket::after {
    content: '';
    position: absolute;
    background: var(--tactical-cyan);
}

.corner-bracket.top-left {
    top: calc(8vh + 20px);
    left: 80px;
}
.corner-bracket.top-left::before {
    top: 0; left: 0;
    width: 24px; height: 1.5px;
}
.corner-bracket.top-left::after {
    top: 0; left: 0;
    width: 1.5px; height: 24px;
}

.corner-bracket.top-right {
    top: calc(8vh + 20px);
    right: 80px;
}
.corner-bracket.top-right::before {
    top: 0; right: 0;
    width: 24px; height: 1.5px;
}
.corner-bracket.top-right::after {
    top: 0; right: 0;
    width: 1.5px; height: 24px;
}

.corner-bracket.bottom-left {
    bottom: calc(8vh + 20px);
    left: 80px;
}
.corner-bracket.bottom-left::before {
    bottom: 0; left: 0;
    width: 24px; height: 1.5px;
}
.corner-bracket.bottom-left::after {
    bottom: 0; left: 0;
    width: 1.5px; height: 24px;
}

.corner-bracket.bottom-right {
    bottom: calc(8vh + 20px);
    right: 80px;
}
.corner-bracket.bottom-right::before {
    bottom: 0; right: 0;
    width: 24px; height: 1.5px;
}
.corner-bracket.bottom-right::after {
    bottom: 0; right: 0;
    width: 1.5px; height: 24px;
}

.hud-section.in-view .corner-bracket {
    opacity: 1;
}

/* --- Section Content --- */
.section-content {
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 5;
}

/* --- Section Headings --- */
.section-heading {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 400;
    color: var(--tactical-cyan);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 1.5rem;
}

/* --- Body Text --- */
.body-text {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.1vw, 1.15rem);
    font-weight: 300;
    color: var(--pale-steel);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.body-text.secondary {
    color: var(--slate-mute);
}

/* ============================
   Section 1: INIT
   ============================ */
.init-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    min-height: 60vh;
}

.hero-display {
    position: relative;
    z-index: 5;
}

.hero-title {
    font-family: var(--font-data);
    font-weight: 700;
    font-size: clamp(3rem, 8vw, 10rem);
    color: var(--tactical-cyan);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 2rem;
    text-shadow: 0 0 40px rgba(0, 200, 255, 0.2);
}

.hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.hero-meta span {
    font-family: var(--font-data);
    font-weight: 400;
    font-size: clamp(0.65rem, 1vw, 0.85rem);
    color: var(--slate-mute);
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-meta .status-indicator {
    color: var(--signal-green);
}

.inline-indicator {
    vertical-align: middle;
}

/* Hero radial gradient light source */
#section-init::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 30%, rgba(0, 200, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* --- Hex Streams --- */
.hex-stream {
    position: absolute;
    width: 100px;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
    font-family: var(--font-display);
    font-size: 0.55rem;
    color: var(--tactical-cyan);
    opacity: 0.06;
    line-height: 1.6;
    white-space: pre-line;
    animation: hexScroll 30s linear infinite;
}

.hex-stream-1 { left: 10%; top: -100%; height: 300%; }
.hex-stream-2 { right: 12%; top: -150%; height: 350%; }
.hex-stream-3 { left: 20%; top: -100%; height: 300%; opacity: 0.1; }
.hex-stream-4 { right: 22%; top: -120%; height: 320%; opacity: 0.1; }

@keyframes hexScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-33.3%); }
}

/* ============================
   Section 2: SCAN
   ============================ */
.scan-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.scan-left {
    position: relative;
}

.radar-chart {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.radar-data {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    transition: stroke-dashoffset 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hud-section.in-view .radar-data {
    stroke-dashoffset: 0;
}

.radar-label {
    font-family: var(--font-display);
    font-size: 9px;
    fill: var(--steel-blue);
    letter-spacing: 0.15em;
}

.radar-vertex {
    opacity: 0;
    transition: opacity 0.6s ease 1.2s;
}

.hud-section.in-view .radar-vertex {
    opacity: 1;
}

.scan-readouts {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.readout {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.readout-label {
    font-family: var(--font-display);
    font-size: 0.6rem;
    color: var(--slate-mute);
    letter-spacing: 0.18em;
}

.readout-value {
    font-family: var(--font-data);
    font-weight: 700;
    font-size: 1rem;
    color: var(--signal-green);
}

.scan-right {
    padding-left: 20px;
}

.data-tag {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid rgba(0, 200, 255, 0.12);
}

.tag-value {
    font-family: var(--font-data);
    font-weight: 700;
    font-size: 2rem;
    color: var(--tactical-cyan);
}

.tag-label {
    font-family: var(--font-display);
    font-size: 0.65rem;
    color: var(--steel-blue);
    letter-spacing: 0.18em;
}

/* ============================
   Section 3: PROCESS
   ============================ */
.process-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.process-stats {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 200, 255, 0.08);
}

.stat-label {
    font-family: var(--font-display);
    font-size: 0.7rem;
    color: var(--slate-mute);
    letter-spacing: 0.18em;
}

.stat-value {
    font-family: var(--font-data);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--tactical-cyan);
}

.network-graph {
    width: 100%;
    max-width: 500px;
    height: auto;
}

.net-edge {
    stroke: var(--grid-line);
    stroke-width: 1;
    transition: stroke 0.3s ease;
}

.net-node circle {
    transition: all 0.3s ease;
}

.net-node:hover circle {
    stroke: var(--tactical-cyan);
    filter: drop-shadow(0 0 8px rgba(0, 200, 255, 0.4));
}

.node-label {
    font-family: var(--font-display);
    font-size: 8px;
    fill: var(--steel-blue);
    letter-spacing: 0.15em;
}

/* Node pulse animation */
.net-node circle:first-child {
    animation: nodePulse 3s ease-in-out infinite;
}

.net-node:nth-child(even) circle:first-child {
    animation-delay: 0.5s;
}

@keyframes nodePulse {
    0%, 100% { transform-origin: center; r: 18; }
    50% { r: 19; }
}

/* Edge draw animation */
.net-edge {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    transition: stroke-dashoffset 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), stroke 0.3s ease;
}

.hud-section.in-view .net-edge {
    stroke-dashoffset: 0;
}

.hud-section.in-view .net-edge:nth-child(1) { transition-delay: 0s; }
.hud-section.in-view .net-edge:nth-child(2) { transition-delay: 0.08s; }
.hud-section.in-view .net-edge:nth-child(3) { transition-delay: 0.16s; }
.hud-section.in-view .net-edge:nth-child(4) { transition-delay: 0.24s; }
.hud-section.in-view .net-edge:nth-child(5) { transition-delay: 0.32s; }
.hud-section.in-view .net-edge:nth-child(6) { transition-delay: 0.4s; }
.hud-section.in-view .net-edge:nth-child(7) { transition-delay: 0.48s; }
.hud-section.in-view .net-edge:nth-child(8) { transition-delay: 0.56s; }
.hud-section.in-view .net-edge:nth-child(9) { transition-delay: 0.64s; }
.hud-section.in-view .net-edge:nth-child(10) { transition-delay: 0.72s; }
.hud-section.in-view .net-edge:nth-child(11) { transition-delay: 0.8s; }
.hud-section.in-view .net-edge:nth-child(12) { transition-delay: 0.88s; }
.hud-section.in-view .net-edge:nth-child(13) { transition-delay: 0.96s; }

/* ============================
   Section 4: OUTPUT
   ============================ */
.output-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.output-bars {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bar-row {
    display: grid;
    grid-template-columns: 200px 1fr 80px;
    gap: 20px;
    align-items: center;
}

.bar-label {
    font-family: var(--font-display);
    font-size: 0.7rem;
    color: var(--slate-mute);
    letter-spacing: 0.18em;
    text-align: right;
}

.bar-track {
    width: 100%;
    height: 6px;
    background: var(--grid-line);
    position: relative;
    overflow: hidden;
}

.bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--signal-green);
    transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.hud-section.in-view .bar-fill {
    width: var(--target-width);
}

.hud-section.in-view .bar-row:nth-child(1) .bar-fill { transition-delay: 0s; }
.hud-section.in-view .bar-row:nth-child(2) .bar-fill { transition-delay: 0.08s; }
.hud-section.in-view .bar-row:nth-child(3) .bar-fill { transition-delay: 0.16s; }
.hud-section.in-view .bar-row:nth-child(4) .bar-fill { transition-delay: 0.24s; }
.hud-section.in-view .bar-row:nth-child(5) .bar-fill { transition-delay: 0.32s; }
.hud-section.in-view .bar-row:nth-child(6) .bar-fill { transition-delay: 0.4s; }

.bar-value {
    font-family: var(--font-data);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--signal-green);
    text-align: left;
}

.output-summary {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 200, 255, 0.12);
}

.summary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.summary-value {
    font-family: var(--font-data);
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--tactical-cyan);
}

.summary-label {
    font-family: var(--font-display);
    font-size: 0.6rem;
    color: var(--steel-blue);
    letter-spacing: 0.18em;
}

/* ============================
   Section 5: TRANSMIT
   ============================ */
.transmit-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    position: relative;
}

.transmit-message {
    position: relative;
    z-index: 5;
    text-align: center;
}

.transmit-text {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 2.2rem);
    color: var(--tactical-cyan);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    animation: transmitPulse 3s ease-in-out infinite;
}

@keyframes transmitPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Wider corner brackets on TRANSMIT */
#section-transmit .corner-bracket.top-left { left: 40px; }
#section-transmit .corner-bracket.top-right { right: 40px; }
#section-transmit .corner-bracket.bottom-left { left: 40px; }
#section-transmit .corner-bracket.bottom-right { right: 40px; }

/* ============================
   Scan Wipe Effect
   ============================ */
#scan-wipe {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--tactical-cyan);
    opacity: 0;
    z-index: 10000;
    pointer-events: none;
    box-shadow: 0 0 20px rgba(0, 200, 255, 0.4);
}

#scan-wipe.active {
    animation: scanWipe 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes scanWipe {
    0% { top: 0; opacity: 0.4; }
    100% { top: 100vh; opacity: 0; }
}

/* ============================
   Interactive States
   ============================ */
.data-tag,
.stat-row,
.bar-row {
    cursor: crosshair;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.data-tag:hover {
    border-color: var(--tactical-cyan);
    box-shadow: 0 0 20px rgba(0, 200, 255, 0.15);
}

.stat-row:hover {
    border-bottom-color: var(--tactical-cyan);
    box-shadow: 0 2px 20px rgba(0, 200, 255, 0.1);
}

.bar-row:hover .bar-track {
    box-shadow: 0 0 15px rgba(0, 200, 255, 0.15);
}

.bar-row:hover .bar-label {
    color: var(--tactical-cyan);
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 1024px) {
    #left-rail,
    #right-rail {
        display: none;
    }

    #top-bar,
    #bottom-bar {
        padding: 0 20px;
    }

    .hud-section {
        padding: 8vh 20px;
    }

    .corner-bracket.top-left,
    .corner-bracket.bottom-left {
        left: 20px;
    }

    .corner-bracket.top-right,
    .corner-bracket.bottom-right {
        right: 20px;
    }

    #section-transmit .corner-bracket.top-left,
    #section-transmit .corner-bracket.bottom-left {
        left: 10px;
    }

    #section-transmit .corner-bracket.top-right,
    #section-transmit .corner-bracket.bottom-right {
        right: 10px;
    }

    .scan-content,
    .process-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .scan-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .radar-chart {
        max-width: 300px;
    }

    .scan-right {
        padding-left: 0;
    }

    .bar-row {
        grid-template-columns: 120px 1fr 60px;
        gap: 10px;
    }

    .bar-label {
        font-size: 0.6rem;
    }

    .output-summary {
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: clamp(2.5rem, 12vw, 5rem);
    }

    .hero-meta {
        flex-direction: column;
        gap: 10px;
    }

    .bar-row {
        grid-template-columns: 1fr 60px;
        gap: 8px;
    }

    .bar-label {
        grid-column: 1 / -1;
    }

    .output-summary {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .scan-readouts {
        flex-direction: column;
        align-items: center;
    }

    .process-stats .stat-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}
