:root {
    --bg-color: #0b0f19;
    --bg-secondary: #111827;
    --primary: #00f3ff;
    --primary-glow: rgba(0, 243, 255, 0.4);
    --secondary: #7000ff;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --card-bg: rgba(17, 24, 39, 0.6);
    --card-border: rgba(255, 255, 255, 0.08);
    --transition: all 0.3s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
}

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

.bg-glow {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(0, 243, 255, 0.05), transparent 40%),
        radial-gradient(circle at 85% 10%, rgba(112, 0, 255, 0.08), transparent 40%);
    z-index: -1;
    pointer-events: none;
}

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

.pt-section {
    padding: 100px 0;
}

h1, h2, h3, h4 { color: var(--text-main); }
.highlight { color: var(--primary); text-shadow: 0 0 10px var(--primary-glow); }

.glass {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--card-border);
}
.nav-content {
    max-width: 1200px; margin: 0 auto; padding: 20px 24px;
    display: flex; justify-content: space-between; align-items: center;
}
.logo { 
    font-size: 1.5rem; 
    font-weight: 800; 
    letter-spacing: 1px; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    text-decoration: none; 
    color: var(--text-main); 
}
.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}
.logo span { color: var(--primary); }
.nav-links a {
    color: var(--text-main); text-decoration: none;
    margin-left: 30px; font-weight: 500; font-size: 0.95rem;
    transition: var(--transition);
}
.nav-links a:hover { color: var(--primary); }

/* Hero Section */
.hero { display: flex; align-items: center; min-height: 100vh; padding-top: 80px; }
.hero-content { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.hero-text { flex: 1; }
.status-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0, 243, 255, 0.1); border: 1px solid rgba(0, 243, 255, 0.3);
    padding: 6px 14px; border-radius: 50px; font-size: 0.85rem; color: var(--primary);
    margin-bottom: 20px; font-weight: 500;
}
.pulse {
    width: 8px; height: 8px; background: var(--primary);
    border-radius: 50%; box-shadow: 0 0 10px var(--primary);
    animation: pulse 2s infinite;
}
.hero-text h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 15px; }
.hero-text h2 { font-size: 1.5rem; color: var(--text-muted); font-weight: 400; margin-bottom: 25px; }
.hero-text p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 35px; max-width: 90%; }
.hero-actions { display: flex; gap: 15px; margin-bottom: 30px; }
.btn {
    padding: 12px 28px; border-radius: 8px; font-weight: 600; text-decoration: none;
    transition: var(--transition); display: inline-block; cursor: pointer; border: none;
}
.btn-primary {
    background: var(--primary); color: #000; box-shadow: 0 0 15px var(--primary-glow);
}
.btn-primary:hover { background: #fff; box-shadow: 0 0 20px rgba(255,255,255,0.5); }
.btn-secondary {
    background: transparent; color: var(--text-main); border: 1px solid var(--text-muted);
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }

.contact-info-quick { display: flex; flex-direction: column; gap: 10px; color: var(--text-muted); font-size: 0.9rem; }
.contact-info-quick i { color: var(--primary); width: 20px; }

.hero-image { flex: 1; position: relative; display: flex; justify-content: center; }
.image-wrapper {
    position: relative; width: 350px; height: 350px; border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    overflow: hidden; border: 3px solid rgba(0, 243, 255, 0.3); box-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
    animation: blobMorph 8s infinite alternate; background: #111827;
}
.image-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.tech-stack-floating i {
    position: absolute; font-size: 2rem; color: var(--text-muted); background: var(--card-bg);
    padding: 15px; border-radius: 50%; border: 1px solid var(--card-border);
    backdrop-filter: blur(5px); box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    animation: float 4s infinite ease-in-out;
}
.tech-stack-floating i:nth-child(1) { top: 10%; left: 0; animation-delay: 0s; color: #fff; }
.tech-stack-floating i:nth-child(2) { bottom: 20%; left: -20px; animation-delay: 1.5s; color: var(--primary); }
.tech-stack-floating i:nth-child(3) { top: 40%; right: -10px; animation-delay: 3s; color: var(--secondary); }

/* Section Headers */
.section-header { margin-bottom: 50px; text-align: center; }
.section-header h2 { font-size: 2.5rem; display: inline-block; }
.line { width: 60px; height: 4px; background: var(--primary); margin: 15px auto 0; border-radius: 2px; }

/* General Info */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 40px; }
.info-card { padding: 25px 20px; text-align: center; transition: var(--transition); }
.info-card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 10px 20px var(--primary-glow); }
.info-card i { font-size: 2rem; color: var(--primary); margin-bottom: 15px; }
.info-card h4 { margin-bottom: 10px; font-size: 1.1rem; }
.info-card p { color: var(--text-muted); font-size: 0.9rem; }

.hobbies-container { text-align: center; margin-top: 30px; }
.hobbies-container h3 { margin-bottom: 20px; font-weight: 500;}
.hobbies { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; }
.hobby-tag { 
    background: rgba(112, 0, 255, 0.1); border: 1px solid rgba(112, 0, 255, 0.3);
    padding: 8px 18px; border-radius: 20px; color: #e5e7eb; font-size: 0.9rem;
}

/* Timeline / Experience */
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before {
    content: ''; position: absolute; width: 2px; height: 100%;
    background: var(--card-border); left: 24px; top: 0;
}
.timeline-item { position: relative; margin-bottom: 40px; padding-left: 70px; }
.timeline-dot {
    position: absolute; left: 16px; top: 24px; width: 18px; height: 18px;
    background: var(--bg-color); border: 3px solid var(--primary);
    border-radius: 50%; box-shadow: 0 0 10px var(--primary);
}
.timeline-content { padding: 25px; transition: var(--transition); }
.timeline-content:hover { border-color: rgba(0, 243, 255, 0.3); }
.timeline-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 5px; flex-wrap: wrap;}
.timeline-header h3 { font-size: 1.3rem; color: #fff; }
.timeline-header .date { font-size: 0.85rem; color: var(--primary); background: rgba(0, 243, 255, 0.1); padding: 4px 12px; border-radius: 12px; }
.company { color: var(--text-muted); font-weight: 400; margin-bottom: 15px; font-size: 0.95rem; }
.timeline-content ul { padding-left: 20px; color: var(--text-muted); font-size: 0.95rem; }
.timeline-content li { margin-bottom: 8px; }

/* Skills Section */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.skill-category { padding: 30px; transition: var(--transition); }
.skill-category:hover { transform: translateY(-5px); border-color: rgba(112, 0, 255, 0.4); }
.skill-category h3 { font-size: 1.2rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.skill-category h3 i { color: var(--secondary); }
.skill-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.skill-tags span {
    background: rgba(255, 255, 255, 0.05); padding: 6px 14px; border-radius: 6px;
    font-size: 0.85rem; border: 1px solid transparent; transition: var(--transition);
}
.skill-tags span:hover { border-color: var(--primary); color: var(--primary); background: transparent;}

/* Projects */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.project-card { padding: 30px; transition: var(--transition); position: relative; overflow: hidden; }
.project-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.project-card:hover::before { transform: scaleX(1); }
.project-card:hover { transform: translateY(-5px); background: rgba(17, 24, 39, 0.8); }
.project-icon { 
    width: 50px; height: 50px; background: rgba(0, 243, 255, 0.1); border-radius: 12px;
    display: flex; align-items: center; justify-content: center; color: var(--primary);
    font-size: 1.5rem; margin-bottom: 20px;
}
.project-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.project-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Footer */
footer { padding: 80px 0 40px; border-top: 1px solid var(--card-border); background: rgba(0,0,0,0.3); }
.text-center { text-align: center; }
footer p { color: var(--text-muted); margin: 20px 0 30px; }
.footer-socials { display: flex; justify-content: center; gap: 20px; margin-bottom: 40px; }
.footer-socials a {
    width: 50px; height: 50px; border-radius: 50%; background: var(--card-bg);
    display: flex; align-items: center; justify-content: center; color: var(--text-main);
    font-size: 1.2rem; text-decoration: none; border: 1px solid var(--card-border);
    transition: var(--transition);
}
.footer-socials a:hover { background: var(--primary); color: #000; box-shadow: 0 0 15px var(--primary-glow); transform: translateY(-5px); }
.copyright { color: #6b7280; font-size: 0.9rem; }

/* Animations */
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 243, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 243, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 243, 255, 0); }
}
@keyframes blobMorph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Scroll Reveals */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 900px) {
    .hero-content { flex-direction: column-reverse; text-align: center; }
    .hero-text h1 { font-size: 3rem; }
    .hero-actions { justify-content: center; }
    .contact-info-quick { align-items: center; }
    .timeline::before { left: 15px; }
    .timeline-dot { left: 7px; width: 16px; height: 16px; }
    .timeline-item { padding-left: 45px; }
}
@media (max-width: 600px) {
    .nav-links { display: none; } /* Could add hamburger menu for real prod */
    .hero-text h1 { font-size: 2.5rem; }
    .image-wrapper { width: 250px; height: 250px; }
    .btn { padding: 10px 20px; }
    .timeline-header { flex-direction: column; }
    .timeline-header .date { margin-top: 5px; }
}
