:root {
    --bg-color: #050505;
    --text-color: #f4f4f4;
    --accent-color: #ffffff;
    --accent-hover: #cccccc;
    --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

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

body, html {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* --- Fix 3: Background Parallax Visibility --- */
#network-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1; /* Sits directly above the base body color */
    opacity: 0.6;
    pointer-events: none; /* Allows clicks to pass through to links and forms */
}

/* Elevate all content above the canvas */
nav, main, footer {
    position: relative;
    z-index: 10; 
    background: transparent;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    background: linear-gradient(to bottom, rgba(5,5,5,0.95), rgba(5,5,5,0));
}

/* --- Fix 1: Header Logo Styling --- */
.logo a {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 40px;
    width: auto;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

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

/* Sections */
section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.content {
    max-width: 800px;
}

/* Hero */
.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #aaaaaa;
    max-width: 600px;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: var(--bg-color);
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

/* About */
.about h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

/* --- Fix 2: About Me Paragraph & Highlighter --- */
.about-text-single {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #dddddd;
    max-width: 800px;
}

.highlight {
    color: #ffffff;
    /* Yellow marker underline effect that doesn't block text */
    background: linear-gradient(180deg, transparent 65%, rgba(255, 235, 59, 0.5) 65%);
    padding: 0 2px;
    font-weight: 600;
    border-radius: 2px;
}

/* CTA & Form */
.cta h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta p {
    margin-bottom: 2rem;
    color: #aaaaaa;
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
}

input {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    color: #fff;
    font-size: 1rem;
    border-radius: 4px;
    transition: border-color 0.3s ease, background 0.3s ease;
}

input:focus {
    outline: none;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.btn-submit {
    padding: 1rem;
    background-color: var(--accent-color);
    color: var(--bg-color);
    border: none;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: var(--accent-hover);
}

.status-message {
    font-size: 0.9rem;
    margin-top: 1rem;
}

footer {
    text-align: center;
    padding: 2rem;
    color: #555;
    font-size: 0.8rem;
    border-top: 1px solid #111;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    .about-text-single {
        font-size: 1.1rem;
    }
}