:root {
    /* Color Palette - Premium Dark Theme */
    --bg-color: #0b0f19;
    --bg-color-alt: #111827;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --accent-primary: #0ea5e9;
    --accent-secondary: #8b5cf6;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.08);
    
    /* Typography */
    --font-main: 'Outfit', sans-serif;
    
    /* Spacing & Layout */
    --section-pad-y: 6rem;
    --section-pad-x: 10%;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Glassmorphism Utilities */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: var(--glass-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(14, 165, 233, 0.2);
}

/* Typography Utilities */
.highlight {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h1, h2, h3, h4 {
    line-height: 1.2;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.primary-btn {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    border: none;
}

.primary-btn:hover {
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
    transform: translateY(-2px);
}

.secondary-btn {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.secondary-btn:hover {
    background: var(--glass-hover);
    border-color: var(--text-primary);
}

/* Header & Nav */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem var(--section-pad-x);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
}

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

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

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

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

/* Sections Global */
section {
    padding: var(--section-pad-y) var(--section-pad-x);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.underline {
    height: 4px;
    width: 60px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    margin: 0 auto;
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 100px; /* offset for nav */
}

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

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

.name {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.summary {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

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

.avatar-placeholder {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--bg-color-alt);
    border: 2px solid var(--glass-border);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    color: var(--accent-secondary);
    position: relative;
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.1);
}

.avatar-placeholder .glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(139, 92, 246, 0.2));
    filter: blur(20px);
    z-index: -1;
    animation: pulse 4s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* About Section */
.about-section {
    background-color: var(--bg-color-alt);
}

.about-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-text {
    flex: 3;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.about-text strong {
    color: var(--text-primary);
}

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

.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.stat-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

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

/* Experience Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--glass-border);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: 14px;
    top: 30px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
}

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

.timeline-header h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
}

.timeline-header .date {
    color: var(--accent-secondary);
    font-size: 0.9rem;
    font-weight: 600;
}

.experience-list {
    list-style-type: none;
}

.experience-list li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

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

/* Education Section */
.education-section {
    background-color: var(--bg-color-alt);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.edu-card {
    text-align: center;
}

.edu-icon {
    font-size: 3rem;
    color: var(--accent-secondary);
    margin-bottom: 1rem;
}

.edu-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.edu-card h4 {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.edu-card .date {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(14, 165, 233, 0.1);
    color: var(--accent-primary);
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Skills Section */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.skill-category h3 {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    text-align: center;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.skill-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(14, 165, 233, 0.1);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.skill-tag i {
    color: var(--accent-primary);
    font-size: 1.2rem;
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-color-alt);
    min-height: 80vh;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.contact-card {
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.contact-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-card p {
    color: var(--text-secondary);
}

/* Footer */
footer {
    padding: 2rem var(--section-pad-x);
    text-align: center;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

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

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* Responsive Design */
@media screen and (max-width: 968px) {
    .hero-section {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 120px;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    .hero-image {
        margin-bottom: 3rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .name {
        font-size: 3rem;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --section-pad-y: 4rem;
        --section-pad-x: 5%;
    }
    
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-color-alt);
        width: 100%;
        text-align: center;
        padding: 2rem 0;
        transition: 0.3s ease;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .name {
        font-size: 2.5rem;
    }
    
    .title {
        font-size: 1.5rem;
    }
    
    .timeline::before {
        left: 0;
    }
    
    .timeline-item {
        padding-left: 30px;
    }
    
    .timeline-dot {
        left: -6px;
    }
}
