﻿:root {
    --bg-dark: #030712;
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.5);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #f9fafb;
    --text-muted: #9ca3af;
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Blobs */
.blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    filter: blur(100px);
}

.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    border-radius: 50%;
    animation: move 20s infinite alternate;
}

.blob:nth-child(2) {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    right: -100px;
    bottom: -100px;
    animation-delay: -10s;
}

@keyframes move {
    from { transform: translate(-20%, -20%); }
    to { transform: translate(20%, 20%); }
}

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

/* Glass Effect */
.glass {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    z-index: 1000;
    padding: 1rem 2rem;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.2rem;
    text-decoration: none;
    color: var(--text-main);
    letter-spacing: -1px;
}

.logo span { color: var(--accent); }

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

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

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

.nav-cta {
    background: var(--accent);
    color: white !important;
    padding: 0.5rem 1.2rem;
    border-radius: 12px;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.badge {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: inline-block;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -3px;
}

.gradient-text {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #d946ef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* Projects */
.projects-section { padding: 8rem 0; }

.section-header { text-align: center; margin-bottom: 4rem; }

.section-title { font-size: 3rem; font-weight: 800; margin-bottom: 1rem; }

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

.project-item {
    padding: 3rem;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-item:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent);
}

.project-category {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.project-item h3 { font-size: 1.8rem; margin-bottom: 1rem; }

.project-item p { color: var(--text-muted); margin-bottom: 2rem; }

.tech-stack { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.tech-stack span {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Footer */
footer { padding-bottom: 4rem; }

.footer-glass {
    padding: 5rem;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1.5rem;
    transition: 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--accent);
    transform: rotate(10deg);
}

@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .projects-container { grid-template-columns: 1fr; }
    .navbar { width: 95%; }
}
