:root {
    --bg-base: #fdfdfd;
    --bg-card: rgba(255, 255, 255, 0.6);
    --primary: #1a1a1a; 
    --primary-light: #333333;
    --accent: #2563eb; /* Clean blue */
    --accent-light: rgba(37, 99, 235, 0.1);
    --text-main: #111827;
    --text-muted: #4b5563;
    --glass-border: rgba(255, 255, 255, 0.8);
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    --line-border: rgba(0, 0, 0, 0.08);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

/* Background Effects mimicking the uploaded image */
.background-glow {
    position: fixed;
    top: -10%;
    left: -20%;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(255, 235, 190, 0.85) 0%, rgba(255, 235, 190, 0) 60%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.background-glow.pos-2 {
    top: 10%;
    left: 40%;
    width: 90vw;
    height: 90vw;
    background: radial-gradient(circle, rgba(210, 245, 255, 0.85) 0%, rgba(210, 245, 255, 0) 65%);
}

/* Typography */
h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    color: var(--text-main);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -1px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent), #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.highlight-neon {
    color: var(--accent);
    font-weight: 700;
}

/* Utilities */
.section-padding {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.hidden-item {
    display: none !important;
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: #ffffff;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.12);
}

/* Nav */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line-border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 1px;
}

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

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 8px; /* Square / modern matching image */
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-main);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.btn-secondary.dark {
    background: transparent;
}

/* Hero */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding-top: 8rem;
    gap: 4rem;
}

.hero-content {
    flex: 1.2;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(37, 99, 235, 0.08);
    color: var(--accent);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.glass-orb {
    width: 320px;
    height: 320px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    animation: float 6s ease-in-out infinite;
    transform: rotate(5deg);
}

@keyframes float {
    0% { transform: translateY(0px) rotate(5deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
    100% { transform: translateY(0px) rotate(5deg); }
}

/* About & Tech Stack */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-card {
    text-align: center;
    padding: 2.5rem;
    background: #ffffff;
}

.about-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.about-text {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.tech-stack {
    text-align: center;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.tags span {
    padding: 0.5rem 1.2rem;
    background: #ffffff;
    border: 1px solid var(--line-border);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-main);
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.tags span:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.1);
}

/* Timeline/Experience */
.timeline {
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid rgba(0, 0, 0, 0.05);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: -2.4rem;
    top: 5px;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 2px solid var(--accent);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
}

.timeline-glass {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-left: 3px solid var(--accent);
    padding: 2rem;
    border-radius: 0 16px 16px 0;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
}

.timeline-glass:hover {
    background: #ffffff;
    transform: translateX(5px);
}

.company {
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.company span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.timeline-content ul {
    list-style-type: none;
}

.timeline-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.timeline-content li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent);
}

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

.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.project-icon {
    font-size: 2.5rem;
    color: var(--accent);
}

.project-header a {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: var(--transition);
}

.project-header a:hover {
    color: var(--accent);
}

.project-card h3 {
    margin-bottom: 1rem;
}

.project-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.project-tags span {
    font-size: 0.8rem;
    font-family: var(--font-heading);
    color: var(--text-main);
    background: rgba(0, 0, 0, 0.04);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

/* Contact */
.glass-banner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(240, 248, 255, 0.9));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    text-align: center;
    margin-bottom: 4rem;
    box-shadow: var(--card-shadow);
}

.contact-content h2 {
    margin-bottom: 1rem;
}

.contact-content p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--line-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { animation-delay: 0.15s; transition-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; transition-delay: 0.3s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        padding-top: 6rem;
        text-align: center;
    }
    
    .hero-title { font-size: 3.5rem; }
    
    .hero-actions {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}
