:root {
    --font-urbanist: 'Urbanist', system-ui, sans-serif;
    --font-manrope: 'Manrope', system-ui, sans-serif;
    --color-brand-green: #30fc9d;
    --color-brand-blue: #2e73ff;
    --color-total-black: #ffffff;
    --color-text-gray: #8a8a8a;
    --color-gray: #131217;
    --color-white: #1c1c24;
    --container-max: 1408px;
    --md-nav-height: 56px;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--color-gray);
}

body {
    font-family: var(--font-urbanist), var(--font-manrope), system-ui, sans-serif;
    background-color: var(--color-gray);
    color: var(--color-total-black);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


/* ============================================
   Navbar
   ============================================ */
.navbar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px 12px 12px;
    height: var(--md-nav-height);
    border-radius: 16px;
    overflow: hidden;
    margin: 20px auto;
    max-width: calc(var(--container-max) - 40px);
    width: calc(100% - 40px);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 35%;
    height: 100%;
    background: var(--color-white);
    border-top-left-radius: 16px;
    border-bottom-left-radius: 28px;
    transform: skewX(-14deg);
    transform-origin: bottom left;
    z-index: 1;
}

.navbar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    height: 100%;
    background: var(--color-white);
    border-radius: 16px;
    z-index: 0;
}

.nav-container {
    position: relative;
    z-index: 10;
    max-width: 100%;
    width: 100%;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-total-black);
    font-weight: 600;
    text-decoration: none;
    font-size: 18px;
    letter-spacing: -0.02em;
}

.nav-logo:hover {
    color: var(--color-brand-blue);
}

.nav-logo i {
    font-size: 1.2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-link {
    color: var(--color-total-black);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(46, 115, 255, 0.1);
    color: var(--color-brand-blue);
}

.nav-social {
    display: flex;
    gap: 8px;
}

.nav-social a {
    color: var(--color-total-black);
    font-size: 1rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.nav-social a:hover {
    background: rgba(46, 115, 255, 0.1);
    color: var(--color-brand-blue);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-total-black);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
}

.nav-toggle:hover {
    background: rgba(46, 115, 255, 0.1);
}

/* ============================================
   Main Content
   ============================================ */
.main-content {
    flex: 1;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.home-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 40px;
    background: var(--color-white);
    border-radius: 24px;
    text-align: center;
    max-width: 800px;
    width: 100%;
    margin: 0 auto 20px;
}

@media (min-width: 1024px) {
    .home-container {
        padding: 80px 60px;
    }
}

.profile-img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 32px;
    border: 4px solid var(--color-gray);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05);
    border-color: var(--color-brand-blue);
}

.home-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

@media (min-width: 640px) {
    .home-title {
        font-size: 40px;
    }
}

.home-title a {
    color: var(--color-brand-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.home-title a:hover {
    color: #1f5fd9;
}

.home-subtitle {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--color-total-black);
    line-height: 1.4;
}

@media (min-width: 640px) {
    .home-subtitle {
        font-size: 24px;
    }
}

.home-description {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--color-text-gray);
    line-height: 1.6;
}

@media (min-width: 640px) {
    .home-description {
        font-size: 18px;
    }
}

/* About Page */
.about-container {
    padding: 40px;
    background: var(--color-white);
    border-radius: 24px;
    max-width: 900px;
    width: 100%;
    margin: 0 auto 20px;
}

@media (min-width: 1024px) {
    .about-container {
        padding: 60px;
    }
}

.page-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

@media (min-width: 640px) {
    .page-title {
        font-size: 40px;
    }
}

.about-content {
    font-size: 16px;
    line-height: 1.8;
}

@media (min-width: 640px) {
    .about-content {
        font-size: 18px;
    }
}

.about-content p {
    margin-bottom: 20px;
}

.about-content strong {
    color: var(--color-brand-blue);
    font-weight: 600;
}

.about-divider {
    border: none;
    border-top: 2px solid var(--color-gray);
    margin: 40px 0;
}

.about-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-total-black);
}

@media (min-width: 640px) {
    .about-content h2 {
        font-size: 28px;
    }
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tech-tag {
    background: var(--color-gray);
    color: var(--color-brand-blue);
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Roboto Mono', monospace;
    transition: all 0.2s ease;
}

.tech-tag:hover {
    background: var(--color-brand-blue);
    color: white;
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    margin-bottom: 12px;
    padding-left: 0;
    font-size: 16px;
}

@media (min-width: 640px) {
    .about-list li {
        font-size: 18px;
    }
}

/* ============================================
   Footer
   ============================================ */
.footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px 24px;
    background: var(--color-white);
    border-radius: 24px;
    max-width: calc(var(--container-max) - 40px);
    width: calc(100% - 40px);
    margin: 0 auto 20px;
    text-align: center;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.footer-social a {
    color: var(--color-text-gray);
    font-size: 1.2rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--color-gray);
    transition: all 0.2s ease;
}

.footer-social a:hover {
    color: var(--color-brand-blue);
    background: rgba(46, 115, 255, 0.1);
}

.footer-text {
    font-size: 14px;
    color: var(--color-text-gray);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 76px;
        left: 20px;
        right: 20px;
        background: var(--color-white);
        flex-direction: column;
        padding: 16px;
        gap: 8px;
        border-radius: 16px;
        display: none;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 12px 16px;
        text-align: center;
    }
    
    .nav-social {
        display: none;
    }
    
    .main-content {
        padding: 10px;
    }
    
    .home-container {
        padding: 40px 24px;
    }
    
    .about-container {
        padding: 24px;
    }
    
    .home-title {
        font-size: 24px;
    }
    
    .home-subtitle {
        font-size: 18px;
    }
}

code {
    font-family: 'Roboto Mono', 'Fira Code', monospace;
    background: var(--color-gray);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.9em;
    color: var(--color-brand-blue);
}

/* Animations */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-container,
.about-container {
    animation: fade-in-up 0.6s ease-out forwards;
}
