/* ==========================================================================
   Stitch Design System - Shared CSS
   ========================================================================== */

/* --- Material Symbols Configuration --- */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* --- Glass Effects --- */
.glass-nav {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* --- Shadow Effects (all identical values, different names across pages) --- */
.kinetic-shadow,
.monolith-shadow,
.kinetic-monolith-shadow,
.ambient-shadow {
    box-shadow: 0px 24px 48px rgba(0, 78, 206, 0.08);
}

/* --- Code Glass --- */
.code-glass {
    background: rgba(46, 49, 50, 0.9);
    backdrop-filter: blur(12px);
}

/* --- Gradient Text --- */
.text-gradient {
    background: linear-gradient(to right, #004ece, #0d64ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Gradient Background --- */
.bg-gradient-primary {
    background: linear-gradient(135deg, #004ece 0%, #0d64ff 100%);
}

/* --- Typography Helpers --- */
.text-monolith,
.monolith-text {
    letter-spacing: -0.02em;
}

.text-editorial {
    line-height: 1.75;
    letter-spacing: -0.011em;
}

/* --- Card Effects --- */
.depth-card {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05),
                0 2px 4px -1px rgba(0, 0, 0, 0.03),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.8);
}

/* --- 3D Button --- */
.btn-3d {
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-3d:active {
    transform: translateY(2px) scale(0.98);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* --- Depth Effects --- */
.inner-depth {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

/* --- Sidebar --- */
.sidebar-link-active {
    background-color: #dbe1ff;
    color: #00174b;
    font-weight: 700;
}

/* --- Background Patterns --- */
.technical-grid {
    background-image: radial-gradient(#c2c6d8 0.5px, transparent 0.5px);
    background-size: 24px 24px;
}
