* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth
}

body {
    font-family: 'Inter', sans-serif;
    background: #020617;
    color: #e5e7eb;
    transition: 0.4s;
}

.light {
    background: #f8fafc;
    color: #020617
}

/* NAV */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: rgba(2, 6, 23, .85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #0ea5e9;
    z-index: 1000;
    box-shadow: 0 0 20px rgba(14, 165, 233, .4);
}

.menu {
    display: flex;
    gap: 18px;
    align-items: center
}

.menu a {
    text-decoration: none;
    color: inherit;
    font-size: 14px;
    position: relative
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #06415c;
    transition: .3s;
    box-shadow: 0 0 8px #0ea5e9;
}

.menu a:hover::after {
    width: 100%
}

.hamburger {
    display: none;
    font-size: 26px;
    cursor: pointer
}

.show {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background: #020617;
    padding: 20px;
    border: 1px solid #0ea5e9;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(14, 165, 233, .4);
}

/* HERO */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at top, #034a6b 0%, #090e25 60%);
    padding-top: 60px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    text-shadow: 0 0 20px #0ea5e9, 0 0 40px #0ea5e9;
}

.typing {
    margin-top: 12px;
    font-size: 22px;
    color: #7dd3fc;
    height: 28px
}

.btn {
    margin-top: 26px;
    padding: 14px 32px;
    border-radius: 999px;
    border: none;
    background: #0ea5e9;
    color: #020617;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 0 15px #0ea5e9, 0 0 35px rgba(14, 165, 233, .6);
    transition: .3s;
}

.CV {
    margin-top: 26px;
    padding: 14px 32px;
    border-radius: 999px;
    border: none;
    background: #0ea5e9;
    color: #020617;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 0 15px #0ea5e9, 0 0 35px rgba(14, 165, 233, .6);
    transition: .3s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px #38bdf8, 0 0 60px #0ea5e9
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 90px 20px
}

.title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #38bdf8;
    text-shadow: 0 0 12px #0ea5e9
}

/* SKILLS */
.skill {
    margin-bottom: 20px
}

.bar {
    height: 10px;
    background: #082f49;
    border-radius: 999px;
    overflow: hidden
}

.fill {
    height: 100%;
    background: #0ea5e9;
    box-shadow: 0 0 12px #0ea5e9
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px
}

.card {
    background: #020617;
    padding: 24px;
    border-radius: 20px;
    border: 1px solid #0ea5e9;
    transition: .35s;
    box-shadow: 0 0 12px rgba(14, 165, 233, .25);
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 0 30px #0ea5e9
}

/* CONTACT */
form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 520px;
    margin: auto
}

input,
textarea {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #0ea5e9;
    background: #020617;
    color: #e5e7eb
}

footer {
    text-align: center;
    padding: 40px;
    color: #7dd3fc;
    border-top: 1px solid #0ea5e9;
    margin-top: 40px
}

/* MOBILE */
@media(max-width:768px) {
    .menu {
        display: none
    }

    .hamburger {
        display: block
    }

    .hero h1 {
        font-size: 40px
    }
}