/* Reset & Variables */
:root {
    --neon: #CCFF00;
    --black: #050505;
    --dark: #111;
    --white: #ffffff;
    --font-display: 'Anton', sans-serif;
    --font-body: 'Inter', sans-serif;
    --padding: 40px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Custom cursor */
}

body {
    background-color: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--neon);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--neon);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Typography & Utilities */
h1,
h2,
h3 {
    font-family: var(--font-display);
    text-transform: uppercase;
    line-height: 0.9;
}

.neon {
    color: var(--neon);
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--padding);
}

.section-padding {
    padding: 120px 0;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 30px var(--padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
}

.logo {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 1px;
}

.site-header nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.site-header nav a {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.site-header nav a:hover {
    color: var(--neon);
}

.btn-header {
    border: 1px solid var(--white);
    padding: 10px 25px;
    transition: 0.3s;
}

.btn-header:hover {
    background: var(--white);
    color: var(--black);
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid #222;
}

.hero-content {
    text-align: center;
    z-index: 2;
    width: 100%;
    padding: 0 var(--padding);
}

.hero-title {
    font-size: 16vw;
    margin-bottom: 40px;
}

.hero-meta {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    letter-spacing: 1px;
    color: #888;
    margin-top: 20px;
    font-size: 1rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100px 100px;
    z-index: 1;
    pointer-events: none;
}

/* Marquee */
.marquee-wrapper {
    background: var(--neon);
    color: var(--black);
    padding: 20px 0;
    overflow: hidden;
    transform: rotate(-2deg) scale(1.05);
    border-top: 2px solid var(--black);
    border-bottom: 2px solid var(--black);
    margin: -20px 0 60px 0;
    z-index: 10;
    position: relative;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}

.marquee-track span {
    font-family: var(--font-display);
    font-size: 4rem;
    margin-right: 40px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Bento Grid */
.section-header {
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 6rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 450px);
    gap: 20px;
}

.bento-card {
    background: var(--dark);
    border: 1px solid #222;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    border-color: var(--neon);
    transform: translateY(-5px);
}

.card-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
    transition: 0.3s;
    background-size: cover;
    background-position: center;
    mix-blend-mode: luminosity;
}

.bento-card:hover .card-visual {
    opacity: 0.6;
    transform: scale(1.05);
    mix-blend-mode: normal;
}

.visual-fleet {
    background-image: url('assets/fleet_dashboard.png');
}

.large {
    grid-column: span 2;
    grid-row: span 2;
}

.medium {
    grid-column: span 1;
    grid-row: span 1;
}

.wide {
    grid-column: span 2;
    grid-row: span 1;
}

.card-content {
    position: relative;
    z-index: 1;
}

.card-content h3 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.card-content p {
    font-weight: 700;
    color: #888;
    letter-spacing: 1px;
}

.tags span {
    display: inline-block;
    border: 1px solid #444;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-top: 20px;
    margin-right: 5px;
}

.card-icon {
    font-size: 5rem;
    color: #333;
    align-self: flex-end;
}

.neon-bg {
    background: var(--neon);
}

.dark-text h3,
.dark-text p {
    color: var(--black);
}

.btn-cta {
    display: inline-block;
    background: var(--black);
    color: var(--white);
    padding: 15px 40px;
    font-weight: 700;
    margin-top: 30px;
    transition: 0.3s;
}

.btn-cta:hover {
    background: var(--white);
    color: var(--black);
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 4rem;
    margin-bottom: 30px;
}

.about-text .lead {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.about-text p {
    color: #888;
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.skills-list li {
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 1px;
}

.skills-list i {
    margin-right: 10px;
}

.about-visual {
    flex: 1;
}

.code-block {
    background: #1e1e1e;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #333;
    font-family: 'Fira Code', monospace;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.code-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.code-block code {
    color: #d4d4d4;
    font-size: 0.9rem;
    line-height: 1.5;
}

.keyword {
    color: #c586c0;
}

.variable {
    color: #9cdcfe;
}

.class {
    color: #4ec9b0;
}

.method {
    color: #dcdcaa;
}

.string {
    color: #ce9178;
}

.property {
    color: #9cdcfe;
}

.boolean {
    color: #569cd6;
}

.comment {
    color: #6a9955;
}

/* Clients Section */
.clients-section {
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    padding: 80px 0;
    text-align: center;
}

.section-label {
    font-weight: 700;
    color: #666;
    margin-bottom: 60px;
    letter-spacing: 1px;
}

.clients-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

.client-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    /* Pure white */
    opacity: 0.6;
    transition: 0.3s;
}

.client-logo:hover {
    opacity: 1;
}

/* Footer */
footer {
    padding: 100px 0 40px 0;
}

.footer-top {
    margin-bottom: 80px;
}

.footer-title {
    font-size: 8vw;
    margin-bottom: 20px;
}

.email-link {
    font-family: var(--font-display);
    font-size: 4vw;
    border-bottom: 3px solid var(--neon);
    transition: 0.3s;
}

.email-link:hover {
    background: var(--neon);
    color: var(--black);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #222;
    padding-top: 40px;
}

.footer-col h4 {
    color: #666;
    margin-bottom: 20px;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.footer-col a {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    transition: 0.3s;
}

.footer-col a:hover {
    color: var(--neon);
}

.copyright {
    text-align: right;
    color: #444;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 1024px) {
    :root {
        --padding: 20px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .large,
    .medium,
    .wide {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 350px;
    }

    .hero-title {
        font-size: 15vw;
    }

    .about-content {
        flex-direction: column;
        gap: 40px;
    }

    .about-text h2 {
        font-size: 3rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 40px;
    }

    .copyright {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        gap: 20px;
        background: rgba(5, 5, 5, 0.9);
        backdrop-filter: blur(10px);
        padding: 20px;
    }

    .site-header nav {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-title {
        font-size: 18vw;
    }

    .hero-meta {
        flex-direction: column;
        gap: 10px;
        font-size: 0.8rem;
    }

    .section-header h2 {
        font-size: 3rem;
    }

    .clients-grid {
        gap: 40px;
    }

    .client-logo {
        height: 30px;
    }

    .footer-title {
        font-size: 12vw;
    }

    .email-link {
        font-size: 6vw;
    }

    .marquee-track {
        animation-duration: 10s;
    }
}