:root {
    --bg: #0f1724;
    --card: #0b1220;
    --muted: #9aa4b2;
    --accent: #6ee7b7;
    --text: #e6eef6;
    --glass: rgba(255, 255, 255, 0.04);
    --max-width: 1100px;
    font-family: Inter, system-ui, Arial, sans-serif;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%;
    margin: 0;
    background: linear-gradient(180deg, #071127 0%, #061326 100%);
    color: var(--text);
    -webkit-font-smoothing: antialiased
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem
}

.site-header {
    backdrop-filter: blur(6px);
    position: sticky;
    top: 0;
    background: transparent
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0
}

.brand {
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    font-size: 1.05rem
}

.nav a {
    color: var(--muted);
    text-decoration: none;
    margin-left: 1rem
}

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

.theme-toggle {
    background: transparent;
    border: 1px solid var(--glass);
    color: var(--text);
    padding: .4rem .6rem;
    border-radius: 8px
}

.hero {
    padding: 4rem 0
}

.hero-inner {
    display: flex;
    gap: 2rem;
    align-items: center
}

.hero-text h1 {
    font-size: 2.25rem;
    margin: 0 0 .5rem
}

.lead {
    color: var(--muted);
    margin: 0 0 1rem
}

.cta-row .btn {
    margin-right: .5rem
}

.btn {
    display: inline-block;
    background: linear-gradient(90deg, var(--accent), #60a5fa);
    color: #042027;
    padding: .6rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text)
}

.hero-art img {
    max-width: 420px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
    padding: 12px
}

.section {
    padding: 3rem 0
}

.section h2 {
    margin: 0 0 1rem
}

.about p {
    color: var(--muted);
    line-height: 1.6
}

.skills-grid {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap
}

.skill {
    background: var(--card);
    padding: 1rem;
    border-radius: 10px;
    flex: 1;
    min-width: 180px
}

.skill img {
    width: 56px;
    height: 56px
}

.skill h3 {
    margin: .5rem 0
}

.projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem
}

.project {
    display: flex;
    background: var(--card);
    padding: 1rem;
    border-radius: 10px;
    gap: 1rem;
    align-items: center
}

.project img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px
}

.project-body h3 {
    margin: .2rem 0
}

.link {
    color: var(--accent);
    text-decoration: none
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem
}

.contact-form label {
    display: block;
    color: var(--muted)
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: .6rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: transparent;
    color: var(--text)
}

.contact-form button {
    grid-column: 1 / -1;
    width: fit-content
}

.form-result {
    margin-top: 1rem;
    color: var(--accent)
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 1.2rem 0;
    margin-top: 2rem
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.footer-nav a {
    color: var(--muted);
    margin-left: 1rem;
    text-decoration: none
}

@media (max-width:900px) {
    .hero-inner {
        flex-direction: column-reverse;
        text-align: center
    }

    .contact-form {
        grid-template-columns: 1fr
    }

    .projects {
        grid-template-columns: 1fr
    }

    .footer-inner {
        flex-direction: column;
        gap: .6rem
    }
}