:root {
    --accent: #00d2ff;
    --bg: #05070a;
    --card: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
    --text: #e2e8f0;
    --text-dim: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.lang-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 5px;
    background: var(--card);
    padding: 5px;
    border-radius: 10px;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.lang-btn {
    padding: 5px 12px;
    border: none;
    background: none;
    color: var(--text-dim);
    cursor: pointer;
    font-weight: 600;
    border-radius: 6px;
    transition: 0.3s;
}

.lang-btn.active {
    background: var(--accent);
    color: #000;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

header.hero {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 50px;
    background: radial-gradient(circle at top right, rgba(0, 210, 255, 0.1), transparent);
    border: 1px solid var(--border);
    border-radius: 40px;
    margin-bottom: 40px;
}

.photo-placeholder {
    width: 160px;
    height: 160px;
    border-radius: 30px;
    position: relative;
    background: #0a0f14;
    border: 2px solid var(--accent);
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.profile-img:not([src]),
.profile-img[src=""] {
    display: none;
}

/* Prevent image interaction/drag/context menu */
.photo-placeholder {
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

img {
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

.initials {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    z-index: 1;
    user-select: none;
}

.hero-info h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    color: #fff;
}

.hero-info .title {
    color: var(--accent);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 10px;
}

.summary-mini {
    color: var(--text-dim);
    max-width: 650px;
    font-size: 1.05rem;
}

.contact-bar {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
}

.contact-bar a {
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    margin-right: 15px;
}

.contact-bar a:hover {
    color: var(--accent);
}

.grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
}

section {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 35px;
    border-radius: 30px;
    margin-bottom: 30px;
}

h2 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.exp-item {
    margin-bottom: 40px;
    border-left: 1px solid var(--border);
    padding-left: 25px;
    position: relative;
}

.exp-item::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.exp-role {
    font-weight: 700;
    color: #fff;
    font-size: 1.2rem;
    display: block;
}

.exp-company {
    font-weight: 600;
    color: var(--accent);
    font-size: 1rem;
}

.exp-date {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.05);
    padding: 3px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.exp-body ul {
    list-style: none;
    margin-top: 10px;
}

.exp-body li {
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: var(--text-dim);
    padding-left: 15px;
    position: relative;
}

.exp-body li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.results-box {
    margin-top: 15px;
    padding: 15px;
    background: rgba(0, 210, 255, 0.03);
    border-radius: 15px;
    border: 1px dashed var(--border);
}

.res-title {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.cert-card {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    border: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.cert-card:hover {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.cert-card i {
    font-size: 1.5rem;
}

.cert-info strong {
    font-size: 0.95rem;
    color: #fff;
}

.cert-info small {
    color: var(--text-dim);
    display: block;
}

.skill-group-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin: 15px 0 8px 0;
    font-weight: 700;
}

.skill-group-title:first-child {
    margin-top: 0;
}

.tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
}

.tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    margin-bottom: 4px;
    color: var(--text-dim);
    border: 1px solid var(--border);
}

.lang-unit {
    margin-bottom: 15px;
}

.lang-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.lang-track {
    height: 4px;
    background: var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.lang-bar {
    height: 100%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    transition: 1s ease-in-out;
}

.site-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    color: var(--text-dim);
    font-size: 0.85rem;
    border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
    header.hero {
        flex-direction: column;
        text-align: center;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .exp-header {
        flex-direction: column;
        gap: 10px;
    }
}

@media print {
    body {
        background: #fff;
        color: #000;
    }

    .lang-switcher,
    footer {
        display: none;
    }

    .container {
        width: 100%;
        max-width: none;
        padding: 0;
    }

    header.hero {
        background: none;
        border: none;
        padding: 20px 0;
        color: #000;
        border-bottom: 2px solid #ccc;
        border-radius: 0;
        margin-bottom: 20px;
    }

    .hero-info h1 {
        color: #000;
    }

    .contact-bar a {
        color: #000;
        text-decoration: underline;
    }

    section {
        background: none;
        border: none;
        padding: 10px 0;
        page-break-inside: avoid;
    }

    .grid {
        display: block;
    }

    h2,
    .exp-role,
    .cert-info strong {
        color: #000;
    }

    .tag {
        background: #eee;
        color: #000;
        border: 1px solid #ccc;
    }

    .exp-date {
        color: #555;
    }

    .results-box {
        border: 1px solid #ccc;
        background: #f9f9f9;
        color: #000;
    }
}
