:root {
    --bg-color: #050505;
    --card-bg: rgba(255, 255, 255, 0.03);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-color: #6d28d9; /* Deep purple */
    --accent-glow: #8b5cf6; /* Lighter purple */
    --gradient-1: #7c3aed;
    --gradient-2: #2563eb;
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

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

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

/* Custom Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: transform 0.1s ease; /* Lag for smooth follow */
    left: 50%;
    top: 50%;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    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: 800;
    letter-spacing: -1px;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--text-primary);
}

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

.hero-content {
    max-width: 600px;
    z-index: 1;
}

.greeting {
    color: var(--accent-glow);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: block;
}

h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.gradient-text {
    background: linear-gradient(45deg, var(--gradient-1), var(--gradient-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 450px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn.primary {
    background: white;
    color: black;
}

.btn.primary:hover {
    background: #ddd;
    transform: translateY(-2px);
}

.btn.secondary {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn.secondary:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.05);
}

/* Hero Visual Orb */
.glow-orb {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
    position: absolute;
    right: 15%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
}

@keyframes float {
    0% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-55%) scale(1.1); }
    100% { transform: translateY(-50%) scale(1); }
}

/* Sections */
section {
    padding: 100px 10%;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-1);
}

/* Skills Grid */
.skills-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.skill-card {
    background: var(--card-bg);
    padding: 20px 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-weight: 500;
    transition: var(--transition);
}

.skill-card:hover {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
}

/* Projects Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border-color: rgba(255,255,255,0.1);
}

.card-image {
    height: 200px;
    background: #111;
    background-image: linear-gradient(to bottom right, #1a1a1a, #0a0a0a);
}

.card-info {
    padding: 25px;
}

.card-info h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.card-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Contact */
.contact-section {
    text-align: center;
    padding-bottom: 150px;
}

.contact-btn {
    background: var(--gradient-1);
    color: white;
    margin-top: 30px;
    display: inline-block;
}

.contact-btn:hover {
    background: var(--gradient-2);
}

/* Footer */
footer {
    text-align: center;
    padding: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 20px;
    }
    
    .nav-links {
        display: none; /* Mobile menu implementation needed if complex, simplified for now */
    }

    .hero-section {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 100px;
    }

    h1 {
        font-size: 3rem;
    }

    .glow-orb {
        right: 50%;
        transform: translate(50%, -50%);
        width: 200px;
        height: 200px;
        opacity: 0.4;
        top: 20%;
    }

    .cta-buttons {
        justify-content: center;
    }
}

/* Animation Utility Classes */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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