:root {
    --bg-dark: #050505;
    --bg-card: #0a0a0a;
    --bg-card-hover: #121212;
    --text-main: #e0e0e0;
    --text-muted: #888888;

    --accent-blue: #00f3ff;
    --accent-green: #0aff00;
    --accent-purple: #bc13fe;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Space Grotesk', monospace;

    --transition-fast: 0.2s ease;
    --transition-smooth: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
    cursor: none;
    /* Custom cursor */
}

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

/* 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(--accent-blue);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent-blue);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

body:hover .cursor-outline {
    opacity: 0.5;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: white;
}

.accent {
    color: var(--accent-blue);
}

.highlight {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -1px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.cta-btn {
    border: 1px solid var(--accent-blue);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: var(--accent-blue);
    color: var(--bg-dark) !important;
    box-shadow: 0 0 15px var(--accent-blue);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

.hero-content {
    z-index: 1;
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.subtitle {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

.arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
}

/* Sections General */
.section {
    padding: 8rem 0;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 4rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.lead {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--bg-card);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-align: center;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Experience Section */
.experience-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.exp-col h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.exp-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-left: 2px solid var(--accent-green);
    background: linear-gradient(90deg, rgba(10, 255, 0, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
    margin-bottom: 2rem;
}

.exp-card h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.exp-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.company-list {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.company-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-family: var(--font-mono);
}

/* Bento Grid Stack */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 1.5rem;
}

.bento-item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.bento-item:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.1);
}

.bento-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 243, 255, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.bento-item:hover::before {
    opacity: 1;
}

.bento-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    z-index: 1;
}

.large {
    grid-column: span 2;
    grid-row: span 2;
}

.medium {
    grid-column: span 2;
}

.small {
    grid-column: span 1;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    z-index: 1;
}

.tag {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-family: var(--font-mono);
    border: 1px solid transparent;
    transition: 0.3s;
}

.tag:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.skill-list {
    list-style: none;
    z-index: 1;
}

.skill-list li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-list li::before {
    content: '>';
    color: var(--accent-green);
    font-family: var(--font-mono);
}

/* Projects Section */
.horizontal-scroll {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding-bottom: 2rem;
    padding-right: 2rem;
    scrollbar-width: none;
    /* Firefox */
}

.horizontal-scroll::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.project-card {
    min-width: 400px;
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
}

.project-image {
    height: 220px;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.placeholder-gradient {
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    position: relative;
}

.placeholder-gradient::after {
    content: 'PROJECT PREVIEW';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.1);
    font-weight: 900;
    letter-spacing: 2px;
}

.project-info {
    padding: 2rem;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.project-info p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0;
    margin-right: 1rem;
}

.status.completed {
    background: rgba(10, 255, 0, 0.1);
    color: var(--accent-green);
}

.status.current {
    background: rgba(0, 243, 255, 0.1);
    color: var(--accent-blue);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    transition: 0.3s;
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.btn-outline:hover {
    border-color: white;
    background: white;
    color: black;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6rem 0 2rem;
    background: linear-gradient(to top, #000000, var(--bg-dark));
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 4rem;
}

.footer-left h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.email-link {
    font-size: 1.5rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
    border-bottom: 1px solid transparent;
}

.email-link:hover {
    color: white;
    border-color: var(--accent-blue);
}

.social-links {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: white;
    text-decoration: none;
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: 0.3s;
}

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

.copyright {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
}

/* Animations */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {

    .about-grid,
    .experience-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .large,
    .medium,
    .small {
        grid-column: span 1;
    }

    .navbar {
        padding: 1rem;
    }

    .nav-links {
        /* Mobile nav logic would go here */
        display: none;
    }
}

/* Companies Slider */
.companies-slider-container {
    margin-top: 4rem;
}

.subsection-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.companies-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    padding-right: 2rem;
    scrollbar-width: none;
}

.companies-slider::-webkit-scrollbar {
    display: none;
}

.company-card {
    min-width: 280px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.company-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.company-img-wrapper {
    height: 160px;
    width: 100%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
}

.company-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.company-card:hover .company-img-wrapper img {
    transform: scale(1.05);
}

.company-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.company-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
}

.badge.owned {
    background: rgba(188, 19, 254, 0.1);
    color: var(--accent-purple);
    border: 1px solid rgba(188, 19, 254, 0.2);
}

.badge.worked {
    background: rgba(0, 243, 255, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(0, 243, 255, 0.2);
}/* Mobile Nav */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: 0.3s;
}

@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.5s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        opacity: 0;
        transform: translateX(50px);
        transition: 0.5s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Stagger animation for links */
    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.4s; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.5s; }

    /* Hamburger Animation */
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}
