:root {
    --primary-teal: #14b8a6;
    --primary-teal-dark: #0d9488;
    --primary-teal-light: #5eead4;
    --secondary-teal: #2dd4bf;
    --dark-bg: #0f172a;
    --dark-surface: #1e293b;
    --dark-surface-light: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --accent: #06b6d4;
    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-lg: rgba(0, 0, 0, 0.5);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--dark-surface) 0%, var(--dark-surface-light) 100%);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px var(--shadow);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-teal), var(--secondary-teal), var(--primary-teal-light));
}

.header-content {
    position: relative;
    z-index: 1;
}

.name {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-teal), var(--secondary-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

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

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.2);
}

.contact-link:hover {
    color: var(--primary-teal-light);
    background: rgba(20, 184, 166, 0.2);
    border-color: var(--primary-teal);
    transform: translateY(-2px);
}

.contact-link .icon {
    font-size: 1.2rem;
}

/* Summary */
.summary {
    background: var(--dark-surface);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px var(--shadow);
}

.summary-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Sections */
section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 0.75rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-teal), var(--secondary-teal));
    border-radius: 2px;
}

/* Experience */
.job {
    background: var(--dark-surface);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.3s ease;
}

.job:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px var(--shadow-lg);
    border-color: var(--primary-teal);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.job-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-teal-light);
    margin-bottom: 0.5rem;
}

.job-date {
    color: var(--text-muted);
    font-size: 0.95rem;
    white-space: nowrap;
    background: rgba(20, 184, 166, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    border: 1px solid rgba(20, 184, 166, 0.2);
}

.job-details {
    list-style: none;
    margin-bottom: 1.5rem;
}

.job-details li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.7;
}

.job-details li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-teal);
    font-weight: bold;
}

.tech-stack {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.tech-stack strong {
    color: var(--text-secondary);
    margin-right: 0.5rem;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: var(--dark-surface);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-4px);
    border-color: var(--primary-teal);
    box-shadow: 0 8px 30px var(--shadow-lg);
}

.skill-category-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-teal-light);
    margin-bottom: 1rem;
}

.skill-list {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Education */
.education-item {
    background: var(--dark-surface);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px var(--shadow);
}

.education-school {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-teal-light);
    margin-bottom: 0.5rem;
}

.education-degree {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.education-date {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .header {
        padding: 2rem 1.5rem;
    }

    .name {
        font-size: 2.2rem;
    }

    .title {
        font-size: 1.2rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-link {
        width: 100%;
        justify-content: center;
    }

    .job-header {
        flex-direction: column;
    }

    .job-date {
        align-self: flex-start;
    }

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

    .section-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 1.8rem;
    }

    .title {
        font-size: 1rem;
    }

    .job-title,
    .education-school {
        font-size: 1.2rem;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: #000;
    }

    .header,
    .job,
    .skill-category,
    .education-item,
    .summary {
        background: white;
        border: 1px solid #ddd;
        box-shadow: none;
        page-break-inside: avoid;
    }

    .contact-link {
        background: transparent;
        border: none;
    }

    .footer {
        border-top: 1px solid #ddd;
    }
}

