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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0e1a;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: #e2e8f0;
    overflow-x: hidden;
}

/* ── Animated background ── */

.bg-decoration {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
    will-change: transform;
}

.bg-orb-1 {
    width: 500px;
    height: 500px;
    background: #667eea;
    top: -150px;
    right: -120px;
    animation: float1 22s ease-in-out infinite;
}

.bg-orb-2 {
    width: 420px;
    height: 420px;
    background: #764ba2;
    bottom: -120px;
    left: -100px;
    animation: float2 26s ease-in-out infinite;
}

.bg-orb-3 {
    width: 300px;
    height: 300px;
    background: #4338ca;
    top: 50%;
    left: 50%;
    animation: float3 19s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-80px, 100px) scale(1.05); }
    66% { transform: translate(50px, -50px) scale(0.95); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(100px, -80px) scale(1.08); }
    66% { transform: translate(-50px, 50px) scale(0.92); }
}

@keyframes float3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    33% { transform: translate(-30%, -70%) scale(1.1); }
    66% { transform: translate(-70%, -30%) scale(0.9); }
}

/* ── Container + entrance animation ── */

.container {
    width: 100%;
    max-width: 520px;
    position: relative;
    z-index: 1;
    animation: fadeIn 0.7s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Card ── */

.card {
    background: rgba(13, 17, 32, 0.72);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 28px;
    padding: 48px 36px;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

/* ── Avatar ── */

.avatar {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.avatar-photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow:
        0 12px 40px rgba(102, 126, 234, 0.3),
        0 0 0 3px rgba(102, 126, 234, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    user-select: none;
}

.avatar-photo:hover {
    transform: scale(1.06);
    box-shadow:
        0 16px 50px rgba(102, 126, 234, 0.45),
        0 0 0 3px rgba(102, 126, 234, 0.3);
}

/* ── Typography ── */

.name {
    font-size: 34px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 20%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.role {
    font-size: 17px;
    font-weight: 600;
    color: #818cf8;
    margin-top: 6px;
    letter-spacing: 0.3px;
}

.company {
    font-size: 14px;
    color: #64748b;
    margin-top: 4px;
    letter-spacing: 0.2px;
}

/* ── Divider ── */

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.25), transparent);
    margin: 28px 0;
}

/* ── About ── */

.about {
    font-size: 15px;
    line-height: 1.7;
    color: #94a3b8;
    margin-bottom: 28px;
    text-align: left;
}

.about strong {
    color: #c7d2fe;
    font-weight: 600;
}

/* ── Highlights (key metrics) ── */

.highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 28px;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 8px 14px;
    background: rgba(99, 102, 241, 0.07);
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: background 0.25s ease, border-color 0.25s ease;
}

.highlight-item:hover {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.2);
}

.highlight-number {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, #818cf8, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.highlight-label {
    font-size: 12px;
    color: #64748b;
    margin-top: 6px;
    text-align: center;
    line-height: 1.3;
}

/* ── Skills ── */

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 28px;
}

.skill-tag {
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.12);
    border-radius: 100px;
    transition: all 0.2s ease;
    cursor: default;
    user-select: none;
}

.skill-tag:hover {
    background: rgba(99, 102, 241, 0.18);
    border-color: rgba(99, 102, 241, 0.3);
    color: #c7d2fe;
}

/* ── Contacts ── */

.contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 24px;
    background: rgba(30, 35, 55, 0.5);
    border-radius: 14px;
    text-decoration: none;
    color: #e2e8f0;
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.contact-item:hover {
    background: rgba(99, 102, 241, 0.14);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.12);
}

.contact-item:focus-visible {
    outline: 2px solid #818cf8;
    outline-offset: 2px;
}

.contact-item svg {
    flex-shrink: 0;
    opacity: 0.85;
}

.contact-item span {
    font-size: 15px;
    font-weight: 500;
}

/* ── Responsive ── */

@media (max-width: 560px) {
    .card {
        padding: 36px 24px;
        border-radius: 22px;
    }

    .avatar-photo {
        width: 90px;
        height: 90px;
    }

    .name {
        font-size: 28px;
    }

    .role {
        font-size: 15px;
    }

    .about {
        font-size: 14px;
    }

    .highlights {
        gap: 8px;
    }

    .highlight-number {
        font-size: 22px;
    }

    .highlight-label {
        font-size: 11px;
    }

    .highlight-item {
        padding: 14px 6px 12px;
    }

    .skill-tag {
        font-size: 12px;
        padding: 5px 12px;
    }

    .contact-item {
        padding: 12px 18px;
    }

    .contact-item span {
        font-size: 14px;
    }
}
