* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background: #0a0c10;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, sans-serif;
    color: #e8edf2;
    line-height: 1.5;
    padding: 1.5rem;
}
html {
    scroll-behavior: smooth;
}
.container {
    max-width: 1280px;
    margin: 0 auto;
}
.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem 1rem;
    background: linear-gradient(135deg, #0f1117 0%, #0b0d12 100%);
    border-radius: 2rem;
    border: 1px solid #23272f;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.5);
}
.avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #2b2f3a, #1a1d24);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 2px solid #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    overflow: hidden;
}
.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.name {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    background: linear-gradient(135deg, #ffffff, #b0c4ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.2rem;
}
.tagline {
    font-size: 0.9rem;
    color: #8f9bb3;
    margin-bottom: 0.5rem;
}
.jack-quote {
    background: #1a1e2a;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    margin: 0.3rem auto 0;
    font-size: 0.9rem;
    border-left: 3px solid #3b82f6;
    text-align: center;
    color: #cbd5e6;
}
.jack-quote strong {
    color: #60a5fa;
}
.info-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    width: 100%;
}
.info-block {
    background: #0d0f16;
    border-radius: 1.2rem;
    padding: 0.5rem 1rem;
    min-width: 140px;
    border: 1px solid #23272f;
}
.info-block-title {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #60a5fa;
    margin-bottom: 0.3rem;
    text-align: center;
}
.info-block-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}
.info-block-items span {
    font-size: 0.75rem;
    color: #b9c3db;
    background: #181c24;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    white-space: nowrap;
}
.info-block-items a {
    color: #b9c3db;
    text-decoration: none;
}
.info-block-items a:hover {
    color: #60a5fa;
}
.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.8rem;
    margin: 2rem 0;
}
.career-card {
    background: #0f1117;
    border-radius: 1.5rem;
    border: 1px solid #20242e;
    transition: all 0.2s ease;
    cursor: pointer;
    overflow: hidden;
}
.career-card:hover {
    border-color: #3b82f6;
    transform: translateY(-4px);
    background: #12141c;
    box-shadow: 0 20px 25px -12px rgba(0, 0, 0, 0.4);
}
.card-header {
    padding: 1rem 1.2rem 0.5rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #20242e;
}
.card-header-left {
    width: calc(100% - 80px);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.card-icon {
    font-size: 1.6rem;
}
.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.2px;
}
.click-badge {
    padding: 0.2rem 0.7rem;
    border-radius: 30px;
    font-size: 0.65rem;
    font-weight: 500;
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.career-card:hover .click-badge {
    background: #3b82f6;
    color: white;
    transform: scale(1.02);
}
.card-preview {
    padding: 0.7rem 1.2rem 1rem 1.2rem;
    color: #9ca3b5;
    font-size: 0.8rem;
}
footer {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    font-size: 0.7rem;
    color: #4b5568;
    border-top: 1px solid #1a1e26;
}
@media (max-width: 680px) {
    body {
        padding: 1rem;
    }
    .card-title {
        font-size: 1rem;
    }
    .name {
        font-size: 1.5rem;
    }
    .careers-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .click-badge {
        font-size: 0.55rem;
        padding: 0.15rem 0.5rem;
    }
    .info-block {
        min-width: auto;
        padding: 0.4rem 0.7rem;
    }


}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal.show {
    display: flex;
    opacity: 1;
}
.modal-content {
    background: #0f1117;
    width: 90%;
    max-width: 750px;
    max-height: 75vh;
    border-radius: 1.5rem;
    border: 1px solid #3b82f6;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: modalIn 0.3s ease;
}
@keyframes modalIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: #0c0f16;
    border-bottom: 1px solid #262b34;
}
.modal-header-left {
    width: calc(100% - 40px);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.modal-icon {
    font-size: 1.8rem;
}
.modal-title {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #b0c4ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.modal-close {
    background: #1f2532;
    border: none;
    color: #e2e8f0;
    font-size: 1rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.modal-close:hover {
    background: #dc2626;
    color: white;
    transform: rotate(90deg);
}
.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}
.modal-body::-webkit-scrollbar {
    width: 6px;
}
.modal-body::-webkit-scrollbar-track {
    background: #1a1e28;
    border-radius: 10px;
}
.modal-body::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 10px;
}
.modal-timeline {
    position: relative;
    padding-left: 1.5rem;
}
.modal-timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: #5a6275;
    border-radius: 2px;
}
.modal-timeline-item {
    position: relative;
    margin-bottom: 1rem;
    padding-left: 1.2rem;
}
.modal-timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 4px;
    width: 8px;
    height: 8px;
    background: #6b7280;
    border-radius: 50%;
    border: 2px solid #9ca3af;
    box-shadow: 0 0 0 2px #0f1117;
}
.modal-timeline-year {
    font-size: 0.65rem;
    color: #9ca3af;
    font-weight: 600;
    margin-bottom: 0.1rem;
}
.modal-timeline-title {
    font-weight: 600;
    color: #e2e8f0;
    font-size: 0.9rem;
}
.modal-timeline-place {
    font-size: 0.75rem;
    color: #7e8aa8;
    margin-bottom: 0.2rem;
}
.modal-timeline-desc {
    font-size: 0.75rem;
    color: #a7b1c2;
    line-height: 1.4;
}
.modal-skill-badge {
    display: inline-block;
    background: #1a1e28;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    font-size: 0.7rem;
    margin: 0.2rem 0.2rem;
    border: 1px solid #2e3543;
}
.modal-section-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: #60a5fa;
    margin: 1rem 0 0.6rem 0;
    padding-left: 0.6rem;
    width: fit-content;
}
.modal-section-title:first-of-type {
    margin-top: 0;
}
.intro-description {
    background: #1a1e2a;
    padding: 0.8rem;
    border-radius: 0.8rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #cbd5e1;
    border-left: 3px solid #3b82f6;
    line-height: 1.5;
}
.skills-group {
    margin-bottom: 0.8rem;
}
.skills-subtitle {
    font-size: 0.7rem;
    font-weight: 600;
    color: #9ca3af;
    margin: 0.4rem 0 0.2rem 0;
}