:root {
    --bg-light: #f8f9fa;
    --card-bg: rgba(255, 255, 255, 0.7);
    --border-color: rgba(0, 0, 0, 0.08);
    --text-main: #1a1a24;
    --text-muted: #5f6368;
    --neon-cyan: #00aec9;
    --neon-purple: #8318e6;
    --neon-green: #0aab50;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background Effects */
.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 0%, rgba(131, 24, 230, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 100% 50%, rgba(0, 174, 201, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(10, 171, 80, 0.08) 0%, transparent 40%);
    z-index: -2;
    pointer-events: none;
}

.noise-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    z-index: -1;
    pointer-events: none;
}

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

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

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Background Blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.6;
    animation: floatBlob 10s infinite ease-in-out alternate;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: rgba(0, 174, 201, 0.3);
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: rgba(131, 24, 230, 0.25);
    top: 30%;
    right: 10%;
    animation-delay: -3s;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: rgba(10, 171, 80, 0.2);
    bottom: -5%;
    left: 35%;
    animation-delay: -6s;
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -50px) scale(1.1);
    }

    100% {
        transform: translate(-20px, 40px) scale(0.9);
    }
}

/* Availability Badge */
.availability-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(10, 171, 80, 0.6);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(10, 171, 80, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(10, 171, 80, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(10, 171, 80, 0);
    }
}

/* Gradient Text Title */
.gradient-text {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    color: #111;
    background: linear-gradient(135deg, var(--neon-purple) 0%, var(--neon-cyan) 50%, var(--neon-green) 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-muted);
    max-width: 600px;
    font-weight: 400;
}

/* Glassmorphism Scroll Button */
.scroll-glass {
    position: absolute;
    bottom: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-main);
    text-decoration: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, background 0.3s;
    animation: bounce 2s infinite ease-in-out;
    z-index: 2;
}

.scroll-glass:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.8);
    animation-play-state: paused;
}

/* Main Content */
.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 8rem;
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

@media (max-width: 768px) {
    .projects-container {
        gap: 4rem;
        padding: 2rem 1rem 4rem;
    }
}

/* Project Cards */
.project-card {
    position: relative;
    border-radius: 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s, box-shadow 0.4s;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.card-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

@media (max-width: 900px) {
    .card-content {
        grid-template-columns: 1fr;
    }
}

/* Video */
.video-container {
    padding: 1rem;
    position: relative;
    background: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border-color);
}

@media (max-width: 900px) {
    .video-container {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
}

.video-container iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Project Info */
.project-info {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #111, #5f6368);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    .project-info {
        padding: 1.5rem;
    }

    .project-info h2 {
        font-size: 1.8rem;
    }
}

.project-info .description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* Tech Specs */
.tech-specs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.spec-item .icon {
    width: 24px;
    height: 24px;
}

.neon-cyan {
    color: var(--neon-cyan);
    filter: drop-shadow(0 0 8px rgba(0, 174, 201, 0.3));
}

.neon-purple {
    color: var(--neon-purple);
    filter: drop-shadow(0 0 8px rgba(131, 24, 230, 0.3));
}

.neon-green {
    color: var(--neon-green);
    filter: drop-shadow(0 0 8px rgba(10, 171, 80, 0.3));
}

.spec-item div {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    font-weight: 600;
}

.spec-value {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

/* Animations */
@keyframes bounce {

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

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

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

@keyframes textGlow {
    from {
        text-shadow: 0 0 10px rgba(131, 24, 230, 0.1), 0 0 20px rgba(131, 24, 230, 0.1);
    }

    to {
        text-shadow: 0 0 20px rgba(131, 24, 230, 0.3), 0 0 30px rgba(0, 174, 201, 0.2);
    }
}

/* Mouse cursor glow effect on cards */
.card-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.project-card:hover .card-glow {
    opacity: 1;
}