/* ============================================
   COMPONENTS.CSS - UI Components, Cards, Buttons, Navigation, Animations
   Holo Studio | XR/VR Solutions
   ============================================ */

/* ===== 3D Canvas Background ===== */
#canvas-container {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* ===== Glassmorphism Cards ===== */
.glass-panel {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.glass-panel:hover {
    border-color: rgba(37, 244, 255, 0.3);
    box-shadow: 0 0 30px rgba(37, 244, 255, 0.05);
    transform: translateY(-5px);
}

/* ===== Buttons ===== */
.btn-primary {
    background: linear-gradient(135deg, rgba(37, 244, 255, 0.1), rgba(189, 0, 255, 0.1));
    border: 1px solid rgba(37, 244, 255, 0.5);
    color: #25f4ff;
    padding: 12px 28px;
    border-radius: 9999px;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: rgba(37, 244, 255, 0.2);
    box-shadow: 0 0 20px rgba(37, 244, 255, 0.3);
    letter-spacing: 0.5px;
}

/* ===== Cursor Glow ===== */
#cursor-glow {
    position: fixed;
    width: 400px; 
    height: 400px;
    background: radial-gradient(circle, rgba(37, 244, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
    transition: opacity 0.3s ease;
}

/* ===== Navigation Links ===== */
.nav-link { 
    position: relative; 
    color: #94a3b8; 
    transition: color 0.3s; 
}

.nav-link:hover { 
    color: white; 
}

.nav-link::after {
    content: ''; 
    position: absolute; 
    bottom: -5px; 
    left: 0; 
    width: 0; 
    height: 2px;
    background: #25f4ff; 
    transition: width 0.3s;
}

.nav-link:hover::after { 
    width: 100%; 
}

/* ===== Reveal Animation ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Process Steps ===== */
.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: -20px;
    right: 0;
    z-index: 0;
    line-height: 1;
}

/* ===== Status Pills ===== */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    border: 1px solid rgba(34,197,94,0.55);
    color: #4ade80;
    background: rgba(3,7,18,0.35);
}

.status-pill span.dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #4ade80;
}

.status-pill.pending {
    border-color: rgba(234,179,8,0.6);
    color: #facc15;
}

.status-pill.pending span.dot {
    background: #facc15;
}

/* ===== Progress Bar ===== */
.progress-bar {
    width: 100%;
    height: 8px;
    background: #020617;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 6px;
    border: 1px solid rgba(51,65,85,0.55);
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #25f4ff, #8dfcff);
    transition: width 0.7s ease;
}

/* ===== Media Grid ===== */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.media-thumb {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(51,65,85,0.7);
    background: #020617;
    position: relative;
}

.media-thumb img,
.media-thumb iframe {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.media-label {
    position: absolute;
    left: 8px;
    bottom: 8px;
    background: rgba(15,23,42,0.85);
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 11px;
    color: var(--textMuted);
}

/* ===== Accessibility - Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    #cursor-glow {
        display: none;
    }
}

