/* ==========================================================================
   Devlyt Solutions — Global Stylesheet
   Design System: "The Kinetic Vault" (Hyperion Dark)
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0e18;
    color: #dfe2f1;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------------------------
   Material Symbols
   -------------------------------------------------------------------------- */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
    line-height: 1;
}

/* --------------------------------------------------------------------------
   Glassmorphism Utility
   -------------------------------------------------------------------------- */
.glass-panel {
    background: rgba(28, 31, 42, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

/* --------------------------------------------------------------------------
   Gradient Text Utilities
   -------------------------------------------------------------------------- */
.text-gradient-primary {
    background: linear-gradient(135deg, #adc6ff 0%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient {
    background: linear-gradient(135deg, #adc6ff 0%, #4d8eff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.kinetic-gradient {
    background: linear-gradient(135deg, #adc6ff 0%, #4d8eff 100%);
}

/* --------------------------------------------------------------------------
   Kinetic Border (Accent underline)
   -------------------------------------------------------------------------- */
.kinetic-border {
    position: relative;
}

.kinetic-border::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #3B82F6;
}

/* --------------------------------------------------------------------------
   Navigation — Active Link State
   -------------------------------------------------------------------------- */
nav .nav-link-active {
    color: #60a5fa;
    font-weight: 600;
    border-bottom: 2px solid #3b82f6;
    padding-bottom: 4px;
}

/* --------------------------------------------------------------------------
   Mobile Navigation Toggle
   -------------------------------------------------------------------------- */
#mobile-menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 14, 24, 0.97);
    backdrop-filter: blur(20px);
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(66, 71, 84, 0.2);
    z-index: 49;
}

#mobile-menu.open {
    display: flex;
}

#mobile-menu a {
    color: #c2c6d6;
    text-decoration: none;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(66, 71, 84, 0.15);
    transition: color 0.2s;
}

#mobile-menu a:hover {
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   Scrollbar Utilities
   -------------------------------------------------------------------------- */
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.custom-scrollbar::-webkit-scrollbar { width: 4px; }
.custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: #313540; border-radius: 10px; }

/* --------------------------------------------------------------------------
   Selection Color
   -------------------------------------------------------------------------- */
::selection {
    background: rgba(173, 198, 255, 0.3);
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   Ambient Glow Blobs (decorative)
   -------------------------------------------------------------------------- */
.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

/* --------------------------------------------------------------------------
   Smooth Transitions for Interactive Elements
   -------------------------------------------------------------------------- */
a, button {
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
}

button:active {
    transform: scale(0.95);
}

/* --------------------------------------------------------------------------
   Form Base Styles
   -------------------------------------------------------------------------- */
input, textarea, select {
    font-family: 'Inter', sans-serif;
}

input:focus, textarea:focus, select:focus {
    outline: none;
}
