:root {
    --bg: #0b0c10;
    --primary: #66fcf1;
    --secondary: #45a29e;
    --text-primary: #ffffff;
    --text-secondary: #c5c6c7;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Background Blobs */
.background-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.15;
    animation: blob-float 20s infinite alternate;
}

#blob1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    left: -100px;
}

#blob2 {
    width: 300px;
    height: 300px;
    background: #c3073f;
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

#blob3 {
    width: 350px;
    height: 350px;
    background: #6f2cf8;
    top: 50%;
    right: 20%;
    animation-delay: -10s;
}

@keyframes blob-float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 100px) scale(1.2); }
}

/* Glassmorphism utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    border-radius: 20px;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--primary);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

main {
    padding: 8rem 5% 0;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80vh;
    gap: 4rem;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
}



.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-image {
    width: 400px;
    height: 400px;
    padding: 10px;
    flex-shrink: 0;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    filter: saturate(0.8);
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.primary {
    background: var(--primary);
    color: var(--bg);
}

.primary:hover {
    background: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(102, 252, 241, 0.3);
}

.secondary {
    border: 1px solid var(--primary);
    color: var(--primary);
}

.secondary:hover {
    background: rgba(102, 252, 241, 0.1);
    transform: translateY(-5px);
}

/* About Section */
.about {
    margin: 8rem 0;
    padding: 4rem;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.stat-card h3 {
    font-size: 2rem;
    color: var(--primary);
}

/* Projects Section */
.projects {
    margin: 8rem 0;
}

.projects h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.project-card {
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary);
}

.project-img {
    width: 100%;
    height: 250px;
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-info {
    padding: 2rem;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

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

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

.tags span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(102, 252, 241, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 20px;
}


/* Skills Section */
.skills {
    margin: 8rem 0;
}

.skills h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.skill-pill {
    padding: 0.8rem 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.skill-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-5px);
}

/* Footer Section */
footer {
    padding: 8rem 5% 4rem;
}

.footer-content {
    padding: 4rem;
    text-align: center;
}

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

.footer-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.email {
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.email:hover {
    border-color: var(--primary);
}

.copyright {
    margin-top: 4rem;
    text-align: center;
    color: #444;
    font-size: 0.9rem;
}

/* Animations */
.animate-float {
    animation: float 6s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@media (max-width: 768px) {
    .hero { flex-direction: column; text-align: center; }
    .hero-image { width: 300px; height: 300px; order: -1; }
    .nav-links { display: none; }
    .about-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
}
