/* --- DARK NEON DEVELOPER THEME --- */
:root {
    --bg-dark: #0a0a0c;
    --bg-panel: #121217;
    --cyan: #00f0ff;
    --cyan-glow: rgba(0, 240, 255, 0.4);
    --text-main: #e2e2e9;
    --text-muted: #8a8a9d;
    --font-heading: 'Poppins', sans-serif;
    --font-mono: 'Fira Code', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.mono {
    font-family: var(--font-mono);
}

.text-cyan {
    color: var(--cyan);
}

/* --- GRID OVERLAY (SUBTLE CODING VIBE) --- */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    background-size: 100% 3px, 3px 100%;
    z-index: 10;
    pointer-events: none;
}

/* --- COMPONENTS --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 90px 0;
}

.alt-bg {
    background-color: var(--bg-panel);
    border-top: 1px solid rgba(0,240,255,0.05);
    border-bottom: 1px solid rgba(0,240,255,0.05);
}

.text-center {
    text-align: center;
}

.sec-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 50px;
    letter-spacing: 1px;
}

/* Box with cyan borders */
.cyber-box {
    background: var(--bg-dark);
    border: 1px solid rgba(0, 240, 255, 0.2);
    padding: 30px;
    margin-bottom: 30px;
    transition: 0.3s ease;
}

.glow-cyan {
    border-color: var(--cyan);
    box-shadow: 0 0 10px var(--cyan-glow);
}

.cyber-box:hover {
    box-shadow: 0 0 15px var(--cyan-glow);
}

/* --- HEADER --- */
.header {
    padding: 20px 0;
    background: rgba(10, 10, 12, 0.95);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

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

.code-logo {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--cyan);
    text-shadow: 0 0 5px var(--cyan);
}

.nav-links {
    display: flex;
    gap: 25px;
}

    .nav-links a {
        font-size: 1rem;
        color: var(--text-muted);
    }

        .nav-links a:hover {
            color: var(--cyan);
            text-shadow: 0 0 5px var(--cyan);
        }

/* --- HERO --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.hero-split {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin: 10px 0;
}

.hero-text h2 {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.hero-text p {
    max-width: 600px;
    color: #a9a9b3;
    margin-bottom: 40px;
}

.hero-image {
    width: 100%;
    height: 400px;
    border: 1px solid var(--cyan);
    box-shadow: 0 0 10px var(--cyan-glow);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glow-btn {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--cyan);
    border: 1px solid var(--cyan);
    box-shadow: 0 0 8px var(--cyan-glow);
    font-family: var(--font-mono);
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
}

    .glow-btn:hover {
        background: var(--cyan);
        color: var(--bg-dark);
        box-shadow: 0 0 15px var(--cyan);
    }

/* --- ABOUT --- */
.trait-tags {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    border-top: 1px solid rgba(0,240,255,0.05);
    padding-top: 20px;
}

    .trait-tags span {
        font-family: var(--font-mono);
        font-size: 0.9rem;
        padding: 5px 12px;
        background: rgba(0, 240, 255, 0.1);
        border: 1px solid rgba(0, 240, 255, 0.3);
        color: var(--cyan);
        border-radius: 5px;
    }

/* --- STACK --- */
.stack-grid, .goals-flex, .dev-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.stack-item h3 {
    color: #fff;
    margin-bottom: 15px;
    font-weight: 500;
}

.stack-item ul li {
    font-family: var(--font-mono);
    font-size: 1rem;
    padding: 10px 0;
    color: var(--text-muted);
}

.pct {
    color: #fff;
    margin-left: 5px;
}

/* --- GOALS --- */
.goals-flex h3 {
    color: #fff;
    margin-bottom: 10px;
}

/* --- CONTACT --- */
.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.formal-socials {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
}

.dev-form {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: left;
    margin-top: 30px;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.dev-form input, .dev-form textarea {
    width: 100%;
    padding: 15px;
    background: rgba(18, 18, 23, 0.8);
    border: 1px solid rgba(0, 240, 255, 0.1);
    color: var(--text-main);
    font-family: var(--font-mono);
}

    .dev-form input:focus, .dev-form textarea:focus {
        outline: none;
        border-color: var(--cyan);
        box-shadow: 0 0 10px var(--cyan-glow);
    }

.block-btn {
    width: 100%;
    font-size: 1rem;
}

/* --- FOOTER --- */
.footer {
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid rgba(0, 240, 255, 0.05);
}

/* --- MOBILE BREAKPOINTS --- */
@media screen and (max-width: 900px) {
    .hero-split {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-image {
        height: 300px;
    }

    .nav-links {
        display: none;
    }
    /* Simpler for small screen: just hide the menu */
}
