/* =========================================
   HUD Process Strip Design (Matches Hero HUD)
   ========================================= */

.hud-process-strip {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Back to spread out */
    background: rgba(10, 12, 16, 0.85); /* Deep dark background */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px; /* Pill shape */
    padding: 1.5rem 3rem; /* Original spacious padding */
    margin-bottom: 4rem;
    width: 100%; /* Full width */
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden; /* Restored original look */
    flex-wrap: nowrap; /* No wrapping */
}

/* Gradient Stroke Effect on Top */
.hud-process-strip::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 20%, 
        rgba(255, 255, 255, 0.2) 80%, 
        transparent 100%
    );
}

.hud-strip-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
    white-space: nowrap;
    flex: 0 1 auto;
}

/* Titles */
.hud-title {
    font-family: 'Space Mono', monospace;
    font-size: 1rem; /* Original size */
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #e0e0e0;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Descriptions */
.hud-desc {
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem; /* Original size */
    color: #888;
    font-weight: 400;
    line-height: 1.2;
    white-space: nowrap; /* Prevent wrapping */
    max-width: none;
}

.hud-arrow {
    color: #444;
    font-size: 0.9rem;
    margin: 0 1rem; /* Original margin */
    opacity: 1;
    flex-shrink: 0;
}

/* Vertical Separator */
.hud-separator-vertical {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 0.5rem;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.hud-strip-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* The Dot Indicator */
.hud-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--step-color, #555);
    box-shadow: 0 0 10px var(--step-color, rgba(255,255,255,0.1));
    flex-shrink: 0;
}

/* Text Container */
.hud-text {
    display: flex;
    flex-direction: column;
}

/* Title */
.hud-title {
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #e0e0e0;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Description */
.hud-desc {
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    color: #888;
    font-weight: 400;
    line-height: 1.2;
    white-space: nowrap; /* Keep on one line for strip */
}

/* Active Underline (Simulated for all or specific) */
.hud-underline {
    position: absolute;
    bottom: -1.5rem; /* Align with container padding */
    left: 0.5rem;
    width: calc(100% - 1rem);
    height: 2px;
    background: var(--step-color);
    box-shadow: 0 -2px 10px var(--step-color);
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.3s ease;
}

.hud-strip-item:hover .hud-underline {
    opacity: 1;
    transform: scaleX(1);
}

/* Separator Arrow */
.hud-arrow {
    color: #444;
    font-size: 0.8rem;
    margin: 0; /* Let gap handle spacing */
    opacity: 0.5;
}

/* --- Color Assignments --- */
.item-cyan { --step-color: #00E5FF; }
.item-purple { --step-color: #D500F9; }
.item-orange { --step-color: #FF3D00; }
.item-green { --step-color: #22C55E; }

/* Responsive */
@media (max-width: 1200px) {
    .hud-process-strip {
        flex-wrap: wrap;
        border-radius: 20px; /* Rectangular on smaller screens */
        padding: 2rem;
        gap: 1.5rem;
        justify-content: center;
    }
    
    .hud-arrow, .hud-separator-vertical {
        display: none; /* Hide arrows and separators on wrap */
    }
    
    .hud-strip-item {
        width: 48%; /* Slightly wider to fill space */
        justify-content: flex-start;
        margin-bottom: 1rem; /* Space between rows */
    }
}

@media (max-width: 768px) {
    /* Explicitly hide the entire HUD strip container on mobile */
    .hud-process-strip, #hero-hud-strip {
        display: none !important;
    }

    .hud-strip-item {
        width: 100%;
    }
    
    .hud-desc {
        white-space: normal;
    }
}
