/* Modern Reset & Variables */
:root {
    /* Color Palette - Deep Violet & Dark Purples */
    --bg-body: #05030a;      /* Almost black, very slight purple tint */
    --bg-surface: #0f0718;   /* Deep dark purple */
    --bg-surface-hover: #1a0d2e;
    
    --primary: #b052ea;      /* Bright Neon Purple */
    --primary-dark: #7e22ce; /* Deep Purple */
    --secondary: #6d28d9;    /* Violet */
    
    --text-main: #f3e8ff;    /* Pale lavender white */
    --text-muted: #9ca3af;   /* Cool gray */
    --text-invert: #ffffff;
    
    --border-color: rgba(176, 82, 234, 0.15);
    --glass-bg: rgba(15, 7, 24, 0.8);
    --glass-border: rgba(176, 82, 234, 0.1);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(176, 82, 234, 0.15);
    
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.2;
    color: var(--text-main);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #e9d5ff, #b052ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #d8b4fe; /* Lighter purple on hover */
}

/* Layout */
.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .grid-2-col {
        grid-template-columns: 1fr 1fr;
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0 4rem;
    margin-bottom: 3rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(176, 82, 234, 0.15) 0%, rgba(5, 3, 10, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.profile-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 2rem;
    background: rgba(176, 82, 234, 0.1);
    color: #d8b4fe;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(176, 82, 234, 0.2);
}

.hero-bio {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2rem;
}

.location-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-main);
    border-bottom: 1px dotted var(--text-muted);
}

.location-link:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Buttons */
.contact-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-invert);
    box-shadow: 0 0 15px rgba(176, 82, 234, 0.3);
}

.btn-primary:hover {
    background-color: #c084fc;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(176, 82, 234, 0.5);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(176, 82, 234, 0.1);
    border-color: var(--primary);
}

/* Cards & Sections */
.section-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: var(--transition);
    opacity: 0; /* For reveal animation */
    transform: translateY(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.section-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.section-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(176, 82, 234, 0.1);
    background: var(--bg-surface-hover);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.section-header h3 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--text-main);
}

.icon-large {
    font-size: 1.75rem;
    color: var(--primary);
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.skill-category h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #d8b4fe; /* Lighter purple for subheads */
    margin-bottom: 1.5rem;
}

.skill-item {
    margin-bottom: 1.25rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.skill-percentage {
    color: var(--primary);
    font-weight: 600;
    font-family: var(--font-display);
}

.skill-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.skill-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0; /* Animated via JS */
    border-radius: 3px;
    transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 0 10px rgba(176, 82, 234, 0.5);
}

/* Learning Interests */
.learning-interests {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.learning-interests h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag {
    padding: 0.5rem 1rem;
    background: rgba(176, 82, 234, 0.1);
    border: 1px solid rgba(176, 82, 234, 0.3);
    color: #e9d5ff;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
}

.tag:hover {
    border-color: var(--primary);
    background: rgba(176, 82, 234, 0.15);
    box-shadow: 0 0 10px rgba(176, 82, 234, 0.2);
}

/* Lists (Languages & Certifications) */
.list-clean {
    list-style: none;
}

.list-clean li {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.list-clean li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.list-label {
    font-weight: 500;
}

.list-value {
    color: var(--text-muted);
    text-align: right;
}

.text-muted {
    opacity: 0.7;
}

/* Footer */
footer {
    padding: 4rem 0 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Utility */
.reveal-hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-hidden.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 600px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .hero {
        padding: 4rem 0 2rem;
    }
    
    .contact-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}
