:root {
    --bg-color: #0b0e14;
    --text-color: #f0f2f5;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow: hidden; /* Hide scrollbar since it's just a hero */
    line-height: 1.6;
}

/* Custom Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: screen;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    padding: 0.8rem 2rem;
    border-radius: 50px;
    color: #ffffff !important;
    font-weight: 600 !important;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

.btn-secondary {
    background: transparent;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    color: var(--text-color);
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: var(--card-bg);
    border-color: var(--accent-blue);
}

.btn-secondary .icon {
    font-size: 0.8rem;
    color: var(--accent-purple);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 650px;
    z-index: 2;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    min-height: 158px; /* Prevent layout jump */
}

/* Typing Effect Cursor */
.cursor {
    display: inline-block;
    color: var(--accent-purple);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

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

.hero p {
    font-size: 1.25rem;
    color: #9ca3af;
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 4rem;
}

/* Floating Pills */
.tech-stack-pills {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.pill {
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    font-size: 0.9rem;
    color: #e5e7eb;
    animation: float-pill 4s ease-in-out infinite alternate;
}

.floating-pill-1 { animation-delay: 0s; }
.floating-pill-2 { animation-delay: 1s; }
.floating-pill-3 { animation-delay: 2s; }
.floating-pill-4 { animation-delay: 0.5s; }

@keyframes float-pill {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

/* Hero Visual & Glassmorphism */
.hero-visual {
    position: relative;
    width: 600px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.glow-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    filter: blur(120px);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
}


.glass-card {
    background: rgba(20, 24, 35, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.5rem;
    width: 100%;
    z-index: 2;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}

.card-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #f59e0b; }
.dot.green { background-color: #10b981; }

.card-body pre {
    color: #e5e7eb;
    font-size: 1.05rem;
    overflow-x: auto;
}

.card-body code {
    font-family: 'JetBrains Mono', 'Courier New', Courier, monospace;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
    100% { transform: translateY(0px) scale(1); }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        padding: 5rem 3rem 0;
    }
    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    body {
        overflow-y: auto;
        overflow-x: hidden;
    }
    .hero {
        height: auto;
        min-height: 100vh;
        flex-direction: column;
        text-align: center;
        padding: 5rem 2rem 3rem 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .tech-stack-pills {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 4rem;
        width: 100%;
        max-width: 450px;
        height: auto;
        padding-bottom: 3rem;
    }
    
    .navbar {
        padding: 1.5rem 2rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .cursor-glow {
        display: none;
    }
}
