:root {
    /* Colors */
    --bg-main: #0f172a;
    --bg-surface: rgba(30, 41, 59, 0.7);
    --bg-surface-solid: #1e293b;
    --bg-surface-light: #334155;
    
    --accent-primary: #3b82f6;
    --accent-secondary: #60a5fa;
    --accent-glow: rgba(59, 130, 246, 0.5);
    
    --text-heading: #f8fafc;
    --text-body: #94a3b8;
    --text-muted: #64748b;
    
    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', 'Inter', sans-serif;
    
    /* Metrics */
    --nav-height: 80px;
    --section-padding: 100px 20px;
    --max-width: 1100px;
    --radius-md: 12px;
    --radius-lg: 24px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

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

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

a {
    color: var(--accent-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-primary);
}

/* Utilities */
.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

.text-center { text-align: center; }
.full-width { width: 100%; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), #2563eb);
    color: #fff;
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: var(--accent-secondary);
    border-color: var(--accent-secondary);
}

.btn-secondary:hover {
    background: rgba(96, 165, 250, 0.1);
    transform: translateY(-2px);
}

.glass-panel {
    background: var(--bg-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 100;
    transition: all var(--transition-normal);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
}

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

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

.nav-links a {
    color: var(--text-heading);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width var(--transition-normal);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-heading);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
    animation: float 10s infinite ease-in-out alternate;
}

.blob-1 {
    top: 20%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: var(--accent-glow);
    border-radius: 50%;
}

.blob-2 {
    bottom: 10%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: rgba(99, 102, 241, 0.3); /* Indigo glow */
    border-radius: 50%;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -50px) scale(1.1); }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    z-index: 1;
}

.greeting {
    color: var(--accent-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.title {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.subtitle {
    font-size: clamp(2rem, 6vw, 4rem);
    color: var(--text-muted);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.description {
    font-size: 1.125rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

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

/* About Section */
.about-section {
    padding: var(--section-padding);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--bg-surface-light);
    max-width: 300px;
}

.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 200px));
    gap: 1rem;
    list-style: none;
    margin-top: 1.5rem;
}

.skills-list li {
    position: relative;
    padding-left: 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--text-heading);
}

.skills-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-secondary);
    font-size: 1.2rem;
    line-height: 1;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--bg-surface-solid);
    border: 2px solid var(--bg-surface-light);
    transition: transform var(--transition-normal);
}

.about-image-wrapper:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-surface-solid), #0f172a);
}

.avatar-mock {
    font-size: 5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--bg-surface-light);
}

/* Contact Section */
.contact-section {
    padding: var(--section-padding);
    padding-bottom: 150px;
}

.contact-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
    position: relative;
    z-index: 1;
}

.contact-card .section-title {
    margin-bottom: 1rem;
    justify-content: center;
}

.contact-card .section-title::after {
    display: none;
}

.contact-desc {
    margin-bottom: 2.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-heading);
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--bg-surface-light);
    color: var(--text-heading);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    background: var(--bg-main);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    font-family: var(--font-heading);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-surface-solid);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--accent-primary);
    color: #fff;
    transform: translateY(-3px);
}

/* Media Queries */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* In a full build, this would toggle via JS */
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .cta-group {
        flex-direction: column;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image-wrapper {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
    }
}
