:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent: #ffffff;
    --accent-glow: rgba(255, 255, 255, 0.15);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --easing: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 300;
    overflow-x: hidden;
    line-height: 1.6;
    cursor: default;
}

/* Custom Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 60%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: transform 0.05s linear;
    /* Faster, smoother follow */
    mix-blend-mode: screen;
    /* Makes it look more like light */
}

/* Reveal Animation Utilities */
.reveal-text {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s var(--easing) forwards;
}

.reveal-text:nth-child(2) {
    animation-delay: 0.1s;
}

.reveal-text:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(5, 5, 5, 0.5);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo .dot {
    color: var(--text-secondary);
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.contact-btn {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 8rem);
    line-height: 1;
    margin-bottom: 2rem;
    font-weight: 200;
    letter-spacing: -0.04em;
}

.hero-title .italic {
    font-style: italic;
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 500px;
    opacity: 0;
    animation: fadeUp 1s var(--easing) 0.5s forwards;
}

/* Work Section */
.work-section {
    padding: 5rem 10%;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    margin-right: 2rem;
    white-space: nowrap;
}

.section-header .line {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    width: 100%;
}

.project-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 4rem;
    transition: transform 0.4s var(--easing);
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: block;
}

.project-content h3 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 400px;
    font-size: 1.1rem;
}

.project-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
}

.project-link .arrow {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.project-link:hover .arrow {
    transform: translateX(5px);
}

.project-visual {
    height: 400px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.hud-reader-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

/* About Section */
.about-section {
    padding: 8rem 20% 8rem;
    text-align: center;
    background: linear-gradient(to bottom, var(--bg-color), #080808);
}

.about-container h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.about-container p {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.4;
    font-family: var(--font-heading);
    font-weight: 200;
}

/* Footer */
footer {
    padding: 4rem 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.footer-right a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.3s ease;
}

.footer-right a:hover {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .project-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .about-section {
        padding: 5rem 5%;
    }
}