:root {
    --bg-dark: #0a0e17;
    --panel-bg: rgba(16, 23, 38, 0.6);
    --panel-border: rgba(56, 189, 248, 0.1);
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --accent-blue: #38bdf8;
    --accent-glow: rgba(56, 189, 248, 0.4);
    --zabbix-red: #f43f5e;
    --gradient-text: linear-gradient(90deg, #38bdf8, #818cf8);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated Background */
.bg-animated {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: radial-gradient(circle at 15% 50%, rgba(56, 189, 248, 0.05), transparent 25%),
                radial-gradient(circle at 85% 30%, rgba(129, 140, 248, 0.05), transparent 25%);
    animation: backgroundShift 20s ease-in-out infinite alternate;
}

@keyframes backgroundShift {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

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

/* Glassmorphism Panels */
.glass-panel {
    background: var(--panel-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4);
    border-color: rgba(56, 189, 248, 0.2);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--panel-border);
    padding-bottom: 0.75rem;
}

.section-title i {
    color: var(--accent-blue);
}

/* Header */
.hero {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: var(--gradient-text);
    box-shadow: 0 0 20px var(--accent-glow);
}

.name {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

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

.location {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.tech-stack-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.tech-stack-tags span {
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-blue);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(56, 189, 248, 0.2);
    transition: all 0.3s ease;
    cursor: default;
}

.tech-stack-tags span:hover {
    background: var(--accent-blue);
    color: #fff;
    box-shadow: 0 0 15px var(--accent-glow);
    transform: scale(1.05);
}

/* Summary */
.highlight-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--accent-blue);
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
}

.deliverables {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.deliverable-item {
    background: rgba(0,0,0,0.2);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--panel-border);
    transition: all 0.3s ease;
}

.deliverable-item:hover {
    border-color: var(--accent-blue);
    background: rgba(56, 189, 248, 0.05);
}

.deliverable-item i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-blue);
}

.deliverable-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.deliverable-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Experience Timeline */
.timeline-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 2.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-blue);
    box-shadow: 0 0 10px var(--accent-glow);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 1.5rem;
    bottom: -2.5rem;
    width: 2px;
    background: var(--panel-border);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.timeline-header h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
}

.role {
    color: var(--accent-blue);
    font-weight: 500;
    font-size: 1rem;
}

.date {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
    background: rgba(0,0,0,0.3);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.role-desc {
    margin-bottom: 1rem;
    font-style: italic;
    color: var(--text-secondary);
}

.achievements {
    list-style-type: none;
}

.achievements li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.achievements li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
}

.achievements strong {
    color: var(--text-primary);
}

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

.edu-card {
    background: rgba(0,0,0,0.2);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--panel-border);
    transition: transform 0.3s;
}

.edu-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}

.edu-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.edu-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
.scroll-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-element.scrolled {
    opacity: 1;
    transform: translateY(0);
}

.top-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
    z-index: 100;
}

.download-pdf-btn {
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.download-pdf-btn:hover {
    background: var(--accent-blue);
    color: white;
    box-shadow: 0 0 15px var(--accent-glow);
}

.lang-switcher {
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}
.lang-switcher:hover {
    background: var(--accent-blue);
    color: white;
    box-shadow: 0 0 15px var(--accent-glow);
}

@media (max-width: 768px) {
    .timeline-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .name {
        font-size: 2.5rem;
    }
}
