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

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --accent: #06b6d4;
  --dark: #0f172a;
  --dark2: #1e293b;
  --text: #1e293b;
  --text-light: #64748b;
  --border: #e2e8f0;
  --bg: #f8fafc;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.accent { color: var(--primary); }

/* NAVBAR */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15,23,42,0.95);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 64px;
}

.nav-brand {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 16px;
}

.nav-links {
  display: flex; gap: 32px; list-style: none;
}

.nav-links a {
  color: #94a3b8; text-decoration: none; font-size: 14px; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: white; }
.nav-links a.nav-cta {
  background: var(--primary); color: white;
  padding: 8px 18px; border-radius: 8px;
}
.nav-links a.nav-cta:hover { background: var(--primary-dark); }

.hamburger { display: none; color: white; font-size: 24px; cursor: pointer; }

/* HERO */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0f172a 100%);
  display: flex; align-items: center; position: relative; overflow: hidden;
  padding: 100px 0 80px;
}

.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(99,102,241,0.15) 0%, transparent 70%),
              radial-gradient(ellipse at 20% 80%, rgba(6,182,212,0.1) 0%, transparent 60%);
}

.hero-content {
  display: flex; align-items: center; gap: 60px; position: relative; z-index: 1;
}

.hero-avatar {
  width: 180px; height: 180px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 64px; font-weight: 800; color: white;
  box-shadow: 0 0 60px rgba(99,102,241,0.4);
  border: 4px solid rgba(255,255,255,0.1);
  overflow: hidden;
}
.hero-avatar img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(99,102,241,0.15); border: 1px solid rgba(99,102,241,0.4);
  color: #a5b4fc; padding: 6px 14px; border-radius: 20px;
  font-size: 13px; font-weight: 500; margin-bottom: 20px;
}

.hero-name { font-size: 56px; font-weight: 800; color: white; line-height: 1.1; margin-bottom: 8px; }
.hero-title { font-size: 22px; font-weight: 500; color: var(--accent); margin-bottom: 20px; }
.hero-desc { color: #94a3b8; font-size: 16px; line-height: 1.7; max-width: 540px; margin-bottom: 24px; }

.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.tag {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: #e2e8f0; padding: 6px 14px; border-radius: 20px;
  font-size: 13px; font-weight: 500;
}
.tag-sm {
  background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.3);
  color: #a5b4fc; padding: 4px 10px; border-radius: 12px; font-size: 12px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  padding: 12px 24px; border-radius: 10px; font-size: 15px; font-weight: 600;
  text-decoration: none; transition: all 0.2s; display: inline-flex; align-items: center;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(99,102,241,0.3); }
.btn-outline { border: 2px solid rgba(255,255,255,0.2); color: white; }
.btn-outline:hover { border-color: rgba(255,255,255,0.5); transform: translateY(-2px); }

.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.3); font-size: 24px; animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-10px)} }

/* QUICK INFO */
.quick-info { background: var(--dark2); padding: 24px 0; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.quick-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; border-radius: 12px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
}
.quick-icon { font-size: 24px; }
.quick-label { font-size: 11px; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; }
.quick-value { color: #e2e8f0; font-weight: 600; font-size: 14px; }

/* SECTIONS */
.section { padding: 100px 0; }
.section-dark { background: var(--dark); }
.section-accent { background: linear-gradient(135deg, #0f172a, #1e293b); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-label {
  display: inline-block; color: var(--primary); font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px;
}
.section-title { font-size: 40px; font-weight: 800; color: var(--text); }
.section-dark .section-title, .section-accent .section-title { color: white; }

/* TIMELINE */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: ''; position: absolute; left: 12px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--primary), var(--accent));
}

.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-dot {
  position: absolute; left: -34px; top: 24px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--primary); border: 3px solid white;
  box-shadow: 0 0 0 3px var(--primary);
}

.timeline-card {
  background: white; border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.timeline-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.timeline-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 16px; flex-wrap: wrap; gap: 10px;
}

.job-title { font-size: 20px; font-weight: 700; color: var(--text); }
.job-company { color: var(--primary); font-weight: 600; font-size: 15px; margin-top: 4px; }
.company-detail { color: var(--text-light); font-weight: 400; font-size: 13px; }
.job-period {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white; padding: 6px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 600; white-space: nowrap;
}

.job-tasks { list-style: none; margin-bottom: 16px; }
.job-tasks li {
  padding: 6px 0 6px 20px; position: relative;
  font-size: 14px; color: var(--text-light); line-height: 1.6;
  border-bottom: 1px solid #f1f5f9;
}
.job-tasks li:last-child { border-bottom: none; }
.job-tasks li::before {
  content: '▸'; position: absolute; left: 0; color: var(--primary); font-size: 12px;
}
.job-tasks strong { color: var(--text); }

.job-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* SKILLS */
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 60px; }

.skill-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 28px;
  transition: transform 0.2s, border-color 0.2s;
}
.skill-card:hover { transform: translateY(-4px); border-color: rgba(99,102,241,0.5); }
.skill-icon { font-size: 36px; margin-bottom: 14px; }
.skill-card h3 { color: white; font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.skill-card p { color: #94a3b8; font-size: 13px; line-height: 1.6; margin-bottom: 16px; }
.skill-bar { height: 4px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; }
.skill-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 4px; }

/* Languages */
.languages { max-width: 600px; margin: 0 auto; }
.lang-title { color: white; font-size: 22px; font-weight: 700; text-align: center; margin-bottom: 28px; }
.lang-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lang-item {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 20px;
}
.flag { font-size: 36px; }
.lang-name { color: white; font-weight: 600; font-size: 15px; }
.lang-level { color: #64748b; font-size: 12px; margin-top: 2px; }
.lang-dots { display: flex; gap: 5px; margin-left: auto; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.dot.filled { background: var(--primary); }

/* EDUCATION */
.edu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.edu-card {
  background: white; border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); border: 1px solid var(--border); text-align: center;
  transition: transform 0.2s;
}
.edu-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.edu-icon { font-size: 40px; margin-bottom: 16px; }
.edu-year {
  display: inline-block; background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white; padding: 4px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 600; margin-bottom: 12px;
}
.edu-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.edu-school { color: var(--primary); font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.edu-desc { color: var(--text-light); font-size: 13px; }

/* INTERESTS */
.interests-grid { display: flex; justify-content: center; gap: 40px; }
.interest-item {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: white; font-size: 16px; font-weight: 600;
}
.interest-icon { font-size: 48px; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
.contact-card {
  text-align: center; padding: 32px 20px;
  background: white; border-radius: var(--radius);
  box-shadow: var(--shadow); border: 2px solid var(--border);
  text-decoration: none; transition: all 0.2s; display: block;
}
.contact-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.contact-icon { font-size: 36px; margin-bottom: 12px; }
.contact-label { color: var(--text-light); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.contact-value { color: var(--text); font-weight: 600; font-size: 14px; }

/* FOOTER */
.footer {
  background: var(--dark); padding: 32px 0; text-align: center;
  color: #64748b; font-size: 14px;
}
.footer-sub { margin-top: 6px; font-size: 13px; color: #475569; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .hero-content { flex-direction: column; text-align: center; gap: 32px; }
  .hero-name { font-size: 40px; }
  .hero-avatar { width: 130px; height: 130px; font-size: 48px; }
  .hero-tags, .hero-actions { justify-content: center; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .skills-grid { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 28px; }
  .timeline { padding-left: 20px; }
  .lang-grid { grid-template-columns: 1fr; }
}
