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

/* Variables */
:root {
    --bg: #0a0a0a;
    --bg-secondary: #111111;
    --text: #fafafa;
    --text-secondary: #888888;
    --border: #222222;
    --accent: #3b82f6;
    --green: #22c55e;
    --yellow: #eab308;
}

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Container */
.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-weight: 600;
    font-size: 18px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-cta {
    padding: 8px 16px;
    background: var(--text);
    color: var(--bg) !important;
    border-radius: 6px;
    font-weight: 500;
}

.nav-cta:hover {
    opacity: 0.9;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
}

/* Hero */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 80px 24px;
}

.hero h1 {
    font-size: clamp(36px, 8vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.btn-primary {
    display: inline-block;
    padding: 14px 28px;
    background: var(--text);
    color: var(--bg);
    font-weight: 500;
    font-size: 15px;
    border-radius: 8px;
    transition: transform 0.2s, opacity 0.2s;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Projects */
.projects {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.projects h2 {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.project-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    background: var(--bg);
    transition: background 0.2s;
}

.project-item:hover {
    background: var(--bg-secondary);
}

.project-info {
    flex: 1;
}

.project-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.project-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.status {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 100px;
}

.status.done {
    background: rgba(34, 197, 94, 0.15);
    color: var(--green);
}

.status.wip {
    background: rgba(234, 179, 8, 0.15);
    color: var(--yellow);
}

.project-item p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.5;
}

.project-url {
    font-size: 13px;
    color: var(--accent);
}

.arrow {
    color: var(--text-secondary);
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform 0.2s;
}

.project-item:hover .arrow {
    transform: translate(2px, -2px);
}

/* About */
.about {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.about h2 {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.about-content p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-logo {
    font-weight: 600;
    font-size: 16px;
}

.footer-email {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.footer-email:hover {
    color: var(--text);
}

/* Mobile */
@media (max-width: 640px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-container {
        padding: 60px 24px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .projects,
    .about {
        padding: 60px 0;
    }

    .project-item {
        padding: 20px;
    }

    .project-header h3 {
        font-size: 16px;
    }

    .project-item p {
        font-size: 14px;
    }

    .arrow {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
