/* assets/css/style.css */

:root {
    --bg-base: #050a14;
    --tech-cyan: #00b4d8;
    --eng-blue: #0077b6;
    --tech-red: #d90429;
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.85);
    
    --glass-bg: rgba(10, 15, 30, 0.65);
    --glass-border-light: rgba(255, 255, 255, 0.15);
    --glass-border-dark: rgba(255, 255, 255, 0.05);
}

body {
    background-color: var(--bg-base);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-text {
    font-family: 'Space Grotesk', sans-serif;
}

.text-cyan { color: var(--tech-cyan) !important; }
.text-muted-high { color: var(--text-muted) !important; }
.tracking-widest { letter-spacing: 0.15em; }
.py-6 { padding-top: 5rem; padding-bottom: 5rem; }

/* ---------------------------------
   GLASSMORPHISM CORE COMPONENTS
-----------------------------------*/
.glass-nav {
    background: rgba(5, 10, 20, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border-dark);
    transition: all 0.4s ease;
}

@media (max-width: 991px) {
    .glass-nav {
        background: rgba(5, 10, 20, 0.98); /* Solidify on mobile for menu legibility */
    }
}

.glass-nav .nav-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.glass-nav .nav-link:hover, .glass-nav .nav-link.active {
    color: var(--tech-cyan);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--glass-border-light);
    border-left: 1px solid var(--glass-border-light);
    border-bottom: 1px solid var(--glass-border-dark);
    border-right: 1px solid var(--glass-border-dark);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* The Light Sweep Effect */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
    z-index: 1;
    pointer-events: none;
}

.glass-card:hover::before {
    left: 200%;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 180, 216, 0.15);
}

/* ---------------------------------
   BUTTONS & INPUTS
-----------------------------------*/
.btn-glow {
    background: linear-gradient(135deg, var(--eng-blue), var(--tech-cyan));
    color: #fff;
    border: none;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 180, 216, 0.4);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    transform: scale(1.05);
    color: #fff;
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.6);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid var(--glass-border-light);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.btn-outline-cyan {
    border: 1px solid var(--tech-cyan);
    color: var(--tech-cyan);
    transition: all 0.3s ease;
}
.btn-outline-cyan:hover {
    background: var(--tech-cyan);
    color: var(--bg-base);
}

.glass-input {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 8px;
}
.glass-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 180, 216, 0.25) !important;
    border-color: var(--tech-cyan) !important;
}
.glass-input::placeholder { color: rgba(255,255,255,0.3); }

/* ---------------------------------
   DECORATIVE ELEMENTS
-----------------------------------*/
.badge-tech {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--tech-cyan);
    background: rgba(0, 180, 216, 0.1);
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: 50px;
    letter-spacing: 2px;
}

.tech-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 180, 216, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tech-cyan);
    box-shadow: inset 0 0 15px rgba(0, 180, 216, 0.2);
}

.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(0, 180, 216, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-nav a:hover {
    color: var(--tech-cyan);
}

/* ---------------------------------
   ANIMATIONS
-----------------------------------*/
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}