/* ===================================
   CSS Variables & Reset - Finance Theme
   =================================== */
:root {
    /* Colors - Corporate Finance */
    --primary-dark: #0d1117;
    --primary: #161b22;
    --secondary: #21262d;
    --accent-1: #1f6feb;
    --accent-2: #238636;
    --accent-3: #8b949e;
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;
    --border-color: #30363d;
    --card-bg: #161b22;

    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 24px;

    /* Typography */
    --font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'IBM Plex Serif', Georgia, serif;

    /* Effects */
    --transition: all 0.2s ease;
    --border-radius: 6px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--primary-dark);
    color: var(--text-primary);
    line-height: 1.6;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 2px;
    border: 2px solid var(--accent-1);
    padding: 6px 12px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-1);
}

.nav-cta {
    background: var(--accent-1);
    padding: 10px 20px !important;
    border-radius: var(--border-radius);
    color: white !important;
}

.nav-cta:hover {
    background: #388bfd;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 140px 24px 100px;
    background: var(--primary-dark);
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(31, 111, 235, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 111, 235, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero-tag {
    display: inline-block;
    background: rgba(31, 111, 235, 0.15);
    border: 1px solid rgba(31, 111, 235, 0.3);
    color: var(--accent-1);
    padding: 8px 18px;
    border-radius: var(--border-radius);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 28px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 7vw, 64px);
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 24px;
}

.highlight {
    color: var(--accent-1);
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 600;
    color: var(--accent-1);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-1);
    color: white;
}

.btn-primary:hover {
    background: #388bfd;
}

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

.btn-secondary:hover {
    border-color: var(--accent-1);
    color: var(--accent-1);
}

/* ===================================
   Sections
   =================================== */
.section {
    padding: var(--section-padding);
}

.section-alt {
    background: var(--primary);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    color: var(--accent-1);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 500;
}

/* ===================================
   Experience
   =================================== */
.experience-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.experience-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    padding: 32px 0;
    border-bottom: 1px solid var(--border-color);
}

.experience-item:first-child {
    padding-top: 0;
}

.experience-item:last-child {
    border-bottom: none;
}

.experience-date {
    text-align: right;
}

.date-range {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.duration {
    font-size: 12px;
    color: var(--text-muted);
}

.experience-header h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 4px;
}

.company {
    display: block;
    color: var(--accent-1);
    font-weight: 500;
    margin-bottom: 2px;
}

.location {
    display: block;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
}

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

.experience-details li {
    position: relative;
    padding-left: 16px;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.6;
}

.experience-details li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent-1);
}

/* ===================================
   Education
   =================================== */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.education-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 28px;
    transition: var(--transition);
}

.education-card:hover {
    border-color: var(--accent-1);
}

.education-card-highlight {
    border-color: var(--accent-2);
    background: rgba(35, 134, 54, 0.05);
}

.education-year {
    font-size: 13px;
    color: var(--accent-1);
    font-weight: 600;
    margin-bottom: 12px;
}

.education-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
}

.school {
    display: block;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.education-details {
    list-style: none;
}

.education-details li {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 6px;
    padding-left: 12px;
    position: relative;
}

.education-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-1);
}

/* ===================================
   Skills
   =================================== */
.skills-layout {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
}

.skills-column h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-bar .skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.skill-bar .skill-info span:last-child {
    color: var(--text-muted);
    font-size: 12px;
}

.bar {
    height: 6px;
    background: var(--secondary);
    border-radius: 3px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-1), #58a6ff);
    border-radius: 3px;
    transition: width 1s ease;
}

.language-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.language-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.language-name {
    font-size: 14px;
}

.language-level {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.native {
    background: rgba(35, 134, 54, 0.2);
    color: var(--accent-2);
}

.fluent {
    background: rgba(31, 111, 235, 0.2);
    color: var(--accent-1);
}

.beginner {
    background: rgba(139, 148, 158, 0.2);
    color: var(--accent-3);
}

.interests-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.interest-tag {
    background: var(--secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    transition: var(--transition);
}

.interest-tag:hover {
    border-color: var(--accent-1);
    color: var(--accent-1);
}

/* ===================================
   Contact
   =================================== */
.contact-section {
    background: var(--primary);
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-description {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.contact-card:hover {
    border-color: var(--accent-1);
    transform: translateY(-2px);
}

.contact-icon {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-1);
}

.contact-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    font-size: 13px;
    color: var(--text-secondary);
    word-break: break-all;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--primary-dark);
    border-top: 1px solid var(--border-color);
    padding: 32px 24px;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 13px;
}

.footer-location {
    margin-top: 4px;
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 900px) {
    .skills-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 120px 20px 80px;
    }

    .hero-stats {
        gap: 32px;
    }

    .stat-number {
        font-size: 28px;
    }

    .experience-item {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .experience-date {
        text-align: left;
    }

    .education-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}