:root {
    --body-color: #0a0a0a;
    --color-white: #ffffff;
    --color-blue: #00d4ff;
    --text-color: #f8f9fa;
    --text-color-second: #adb5bd;
    --text-color-third: #6c757d;
    --first-color: var(--color-blue);
    --footer-bg-color: #0d0d0d;
    --gradient-1: linear-gradient(135deg, #00d4ff, #7c3aed);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--body-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
} 

/* ===== NAVIGATION ===== */
nav {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 80px;
    line-height: 80px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 0 6vw;
    transition: var(--transition);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    top: 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1001;
    text-decoration: none;
}

.nav-name {
    font-size: 26px;
    font-weight: 700;
    background: var(--gradient-1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.nav-logo span {
    font-size: 2.2em;
    color: var(--first-color);
    margin-left: 5px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.nav-menu {
    display: flex;
    transition: var(--transition);
    z-index: 999;
}

.nav_menu_list {
    display: flex;
    margin: 0;
    padding: 0;
    gap: 5px;
    list-style: none;
}

.nav_list {
    list-style: none;
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color-second);
    font-weight: 500;
    padding: 8px 18px;
    margin-inline: 5px;
    transition: var(--transition);
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    display: inline-block;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 212, 255, 0.1);
    transition: left 0.3s ease;
    border-radius: 25px;
    z-index: -1;
}

.nav-link:hover::after,
.nav-link:focus::after {
    left: 0;
}

.nav-link:hover::before,
.nav-link:focus::before,
.active-link::before {
    width: 60%;
}

.nav-menu-btn {
    display: none;
    z-index: 1001;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
    background: transparent;
    border: none;
}

.nav-menu-btn i {
    font-size: 26px;
    color: var(--text-color);
    transition: var(--transition);
    display: block;
}

.active-link {
    color: var(--first-color);
    background: rgba(0, 212, 255, 0.1);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--first-color);
    transform: translateY(-2px);
    outline: none;
}

/* ===== FOOTER ===== */
footer {
    background: var(--footer-bg-color);
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    text-align: center;
    margin-top: 3rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--first-color) 50%, transparent 100%);
}

.bottom-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.bottom-footer p {
    color: var(--text-color-third);
    font-size: 14px;
    font-weight: 400;
}

.bottom-footer a {
    color: var(--first-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.bottom-footer a:hover {
    text-shadow: 0 0 10px var(--first-color);
}

/* ===== MOBILE RESPONSIVE ===== */
@media only screen and (max-width: 900px) {
    .nav-menu-btn { 
        display: flex; 
        align-items: center; 
        justify-content: center;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        display: flex;
        justify-content: flex-start;
        align-items: center;
        flex-direction: column;
        padding-top: 120px;
        transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 999;
    }
    
    .nav-menu.active { 
        left: 0; 
    }
    
    .nav_menu_list {
        flex-direction: column;
        gap: 30px;
        width: 100%;
        text-align: center;
    }
    
    .nav_list { 
        width: 100%; 
    }
    
    .nav-link {
        font-size: 22px;
        padding: 15px 40px;
        display: block;
        margin: 0 auto;
        width: fit-content;
    }
}

@media only screen and (max-width: 600px) {
    nav { 
        height: 70px; 
        line-height: 70px; 
        padding-inline: 20px; 
    }
    
    .nav-name { 
        font-size: 22px; 
    }
    
    .nav-menu { 
        padding-top: 100px; 
    }
    
    .nav-link { 
        font-size: 20px; 
        padding: 12px 30px; 
    }
}

@media only screen and (max-width: 375px) {
    nav { 
        padding-inline: 15px; 
    }
    
    .nav-name { 
        font-size: 20px; 
    }
    
    .nav-menu { 
        padding-top: 80px; 
    }
    
    .nav-link { 
        font-size: 18px; 
        padding: 10px 25px; 
    }
}
