:root {
    --bg-color: #020408;
    --text-color: #f1f5f9;
    --primary: #2563eb;
    --accent: #0ea5e9;
    --silver: #94a3b8;
    --glass: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'Fira Code', monospace;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.7;
    overflow-x: hidden;
}

.background-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 90% 90%, rgba(14, 165, 233, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 8%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo span { color: var(--primary); }

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
    transition: opacity 0.3s, color 0.3s;
}

.nav-links a:hover { opacity: 1; color: var(--accent); }

.btn-download {
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    background: var(--glass);
}

.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 100vh;
    padding: 0 8%;
    align-items: center;
    gap: 5%;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.hero-text h1 {
    font-family: var(--font-serif);
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #fff, var(--silver));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text h2 {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--silver);
    margin-bottom: 2rem;
}

.hero-text p {
    font-size: 1.1rem;
    opacity: 0.6;
    margin-bottom: 3rem;
    max-width: 600px;
}

.contact-line {
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: 0.9rem;
}

.hero-visual img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.section { padding: 8rem 8%; }
.bg-alt { background: rgba(255,255,255, 0.01); }

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 4rem;
    text-align: center;
}

.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-item {
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    transition: background 0.3s;
}

.timeline-item:hover { background: rgba(255,255,255, 0.04); }

.timeline-item.highlight {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.03);
}

.date {
    display: block;
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.timeline-item h4 { font-size: 1.4rem; margin-bottom: 0.2rem; }
.role { color: var(--silver); margin-bottom: 1.5rem; font-size: 0.9rem; }

.timeline-item ul {
    list-style: none;
    opacity: 0.7;
    font-size: 0.95rem;
}

.timeline-item li { margin-bottom: 0.5rem; position: relative; padding-left: 1.2rem; }
.timeline-item li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.skill-card {
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.skill-card.active { border-color: var(--accent); }

.skill-card h4 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--accent);
}

.skill-card ul { list-style: none; }
.skill-card li { margin-bottom: 1rem; opacity: 0.7; }

.elegant-footer {
    padding: 6rem 8%;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-content p { opacity: 0.4; font-size: 0.8rem; margin-bottom: 1rem; }
.footer-contact { font-family: var(--font-mono); color: var(--accent); font-size: 0.9rem; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }

.fade-in { animation: fadeInUp 0.8s ease forwards; }
.fade-in-right { animation: fadeInRight 1s ease forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; text-align: center; padding-top: 140px; }
    .hero-text h1 { font-size: 3.5rem; }
    .hero-text p { margin: 0 auto 3rem auto; }
    .nav-links { display: none; }
    .skills-grid { grid-template-columns: 1fr; }
}
