:root {
    --bg: #000000;
    --fg: #ffffff;
    --accent: #a855f7;
    /* Neon Purple */
    --accent-glow: rgba(168, 85, 247, 0.5);
    --muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
    --glass: rgba(15, 23, 42, 0.8);
    --font: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg);
    color: var(--fg);
    font-family: var(--font);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation V5 */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: linear-gradient(to bottom, var(--bg), transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: white;
    border: 2px solid white;
    padding: 0 0.75rem;
    line-height: 1.2;
    font-style: italic;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Hero V5 Neon */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.05), transparent 60%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(3.5rem, 12vw, 7.5rem);
    line-height: 0.9;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    margin-bottom: 2rem;
    letter-spacing: -0.06em;
}

.hero .neon-text {
    color: var(--accent);
    text-shadow: 0 0 20px var(--accent-glow);
}

.hero p {
    font-size: 1.5rem;
    color: var(--muted);
    max-width: 800px;
    margin: 0 auto 3.5rem;
}

/* Buttons V5 */
.btn-neon {
    background: var(--accent);
    color: white;
    padding: 1.25rem 3.5rem;
    border-radius: 0.25rem;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.1rem;
    text-transform: uppercase;
    transform: skewX(-10deg);
    transition: all 0.3s;
    display: inline-block;
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-neon:hover {
    transform: skewX(-10deg) scale(1.05);
    box-shadow: 0 0 40px var(--accent);
}

/* Content Sections */
.section {
    padding: 12rem 0;
    position: relative;
}

.section-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 4rem;
    text-transform: uppercase;
    font-style: italic;
}

.accent-line {
    width: 100px;
    height: 6px;
    background: var(--accent);
    margin-bottom: 2rem;
    box-shadow: 0 0 15px var(--accent);
}

/* Bento Grid Neon */
.bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 2rem;
}

.bento-card {
    background: #0a0a0a;
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 30px var(--accent-glow);
    transform: translateY(-10px);
}

.bento-card h3 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-style: italic;
}

.bento-card p {
    color: var(--muted);
    font-size: 1rem;
}

.span-2 {
    grid-column: span 2;
}

.row-2 {
    grid-row: span 2;
}

/* Showcase Grid */
.showcase {
    padding: 8rem 0;
    width: 100%;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
}

.project-card {
    background: #0a0a0a;
    border-radius: 2rem;
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
    aspect-ratio: 16/10;
    transition: border-color 0.3s;
}

.project-card:hover {
    border-color: var(--accent);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: all 0.6s;
}

.project-card:hover img {
    opacity: 1;
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #000, transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
}

.overlay h4 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-style: italic;
}

.overlay p {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Contact/Footer */
footer {
    padding: 6rem 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--muted);
}

@media (max-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }

    .bento {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 6rem 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .nav-inner {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .nav-links a {
        margin: 0;
        font-size: 0.75rem;
    }

    .hero p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .bento {
        grid-template-columns: 1fr;
    }

    .span-2 {
        grid-column: span 1;
    }
}