/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --rose:    #e8556d;
  --rose-dk: #c73d54;
  --gold:    #f5a623;
  --navy:    #0f1b2d;
  --navy2:   #162236;
  --slate:   #1e3050;
  --text:    #e2e8f0;
  --text-m:  #94a3b8;
  --white:   #ffffff;
  --card-bg: rgba(30,48,80,.65);
  --radius:  14px;
  --shadow:  0 8px 32px rgba(0,0,0,.35);
  --font:    'Be Vietnam Pro', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 50px; font-weight: 600;
  font-size: .95rem; cursor: pointer; border: none;
  transition: all .3s ease; white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--rose), var(--rose-dk));
  color: #fff; box-shadow: 0 4px 20px rgba(232,85,109,.4);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(232,85,109,.55); }
.btn--ghost {
  background: transparent; color: var(--text);
  border: 2px solid rgba(255,255,255,.25);
}
.btn--ghost:hover { border-color: var(--rose); color: var(--rose); transform: translateY(-3px); }
.btn--nav {
  background: linear-gradient(135deg, var(--rose), var(--rose-dk));
  color: #fff; padding: 9px 20px; font-size: .85rem;
}
.btn--nav:hover { transform: translateY(-2px); }
.btn--full { width: 100%; justify-content: center; margin-top: 16px; }

/* ===== NAVBAR ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  display: flex; align-items: center; gap: 20px;
  padding: 16px 40px;
  background: rgba(15,27,45,.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: padding .3s;
}
.nav.scrolled { padding: 10px 40px; }
.nav__logo {
  font-size: 1.4rem; font-weight: 800; color: var(--rose);
  letter-spacing: 2px; margin-right: auto;
}
.nav__links { display: flex; gap: 8px; }
.nav__link {
  padding: 6px 14px; border-radius: 50px; font-size: .9rem;
  color: var(--text-m); transition: all .25s;
}
.nav__link:hover { color: var(--white); background: rgba(255,255,255,.08); }
.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav__burger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px; transition: .3s;
}

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column;
  padding-top: 80px; overflow: hidden;
}
.hero__bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .18;
}
.shape--1 { width: 600px; height: 600px; background: var(--rose); top: -200px; right: -150px; }
.shape--2 { width: 400px; height: 400px; background: #5b8dee; bottom: -100px; left: -100px; }
.shape--3 { width: 300px; height: 300px; background: var(--gold); top: 40%; left: 30%; }

.hero__content {
  flex: 1; display: flex; align-items: center; gap: 60px;
  max-width: 1100px; margin: 0 auto; padding: 60px 24px 40px;
}
.hero__photo-wrap {
  position: relative; flex-shrink: 0;
  animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.hero__photo {
  width: 280px; height: 340px; object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 0 4px rgba(232,85,109,.3);
}
.hero__photo-ring {
  position: absolute; inset: -10px;
  border-radius: 30px;
  border: 2px dashed rgba(232,85,109,.4);
  animation: spin 20s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__label {
  font-size: .85rem; font-weight: 700; letter-spacing: 3px;
  color: var(--rose); text-transform: uppercase; margin-bottom: 10px;
}
.hero__name {
  font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 800; line-height: 1.15;
  margin-bottom: 10px;
}
.hero__name em { font-style: normal; color: var(--rose); }
.hero__title {
  font-size: 1.05rem; color: var(--gold); font-weight: 600; margin-bottom: 14px;
}
.hero__tagline { color: var(--text-m); margin-bottom: 28px; max-width: 480px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.hero__badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badge {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  padding: 6px 14px; border-radius: 50px; font-size: .82rem; color: var(--text-m);
}

.scroll-indicator {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding-bottom: 28px; color: var(--text-m); font-size: .8rem;
  animation: fadeInUp 1s 1.5s both;
}
.scroll-indicator span {
  display: block; width: 2px; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--rose));
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:.3} 50%{opacity:1} }

/* ===== STATS ===== */
.stats { background: var(--navy2); padding: 40px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; }
.stat-card {
  text-align: center; padding: 32px 16px;
  border-right: 1px solid rgba(255,255,255,.07);
  transition: background .3s;
}
.stat-card:last-child { border-right: none; }
.stat-card:hover { background: rgba(255,255,255,.04); }
.stat-card__num { font-size: 2.8rem; font-weight: 800; color: var(--rose); }
.stat-card__unit { font-size: 1rem; color: var(--gold); font-weight: 600; margin-left: 4px; }
.stat-card__label { font-size: .85rem; color: var(--text-m); margin-top: 4px; }

/* ===== SECTIONS ===== */
.section { padding: 90px 0; }
.section-label {
  font-size: .8rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--rose); margin-bottom: 10px;
}
.section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; margin-bottom: 14px; }
.section-title .highlight { color: var(--rose); }
.section-sub { color: var(--text-m); max-width: 500px; }
.section-header { margin-bottom: 52px; }

/* ===== ABOUT ===== */
.about-section { background: var(--slate); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-desc { color: var(--text-m); margin-bottom: 16px; }
.about-contact-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pill {
  background: rgba(232,85,109,.12); border: 1px solid rgba(232,85,109,.3);
  color: var(--rose); padding: 8px 16px; border-radius: 50px; font-size: .85rem;
  transition: all .3s;
}
.pill:hover { background: var(--rose); color: #fff; transform: translateY(-2px); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  padding: 8px 16px; border-radius: 50px; font-size: .85rem; color: var(--text-m);
  transition: all .3s; cursor: default;
}
.tag:hover { background: rgba(232,85,109,.15); border-color: var(--rose); color: var(--rose); transform: scale(1.05); }
.tag--lg { font-size: 1rem; padding: 10px 20px; }
.tag--accent { border-color: var(--gold); color: var(--gold); }

/* ===== TIMELINE ===== */
.experience-section { background: var(--navy); }
.timeline { position: relative; padding-left: 36px; }
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--rose), transparent);
}
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-dot {
  position: absolute; left: -33px; top: 24px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--rose); box-shadow: 0 0 0 4px rgba(232,85,109,.2);
}
.timeline-card {
  background: var(--card-bg); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 24px 28px;
  backdrop-filter: blur(10px);
  transition: transform .3s, border-color .3s;
}
.timeline-card:hover { transform: translateX(6px); border-color: rgba(232,85,109,.4); }
.timeline-card__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.timeline-card__role { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.timeline-card__company { color: var(--rose); font-size: .9rem; font-weight: 600; }
.timeline-card__date {
  background: rgba(245,166,35,.12); border: 1px solid rgba(245,166,35,.3);
  color: var(--gold); padding: 4px 12px; border-radius: 50px; font-size: .8rem;
  white-space: nowrap; height: fit-content;
}
.timeline-card__list { display: flex; flex-direction: column; gap: 6px; }
.timeline-card__list li { font-size: .9rem; color: var(--text-m); padding-left: 16px; position: relative; }
.timeline-card__list li::before { content: '▸'; position: absolute; left: 0; color: var(--rose); }
.timeline-card__list strong { color: var(--text); }

/* ===== SKILLS ===== */
.skills-section { background: var(--navy2); }
.skills-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.skill-card {
  background: var(--card-bg); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 28px;
  backdrop-filter: blur(10px);
  transition: transform .3s, border-color .3s;
}
.skill-card:hover { transform: translateY(-6px); border-color: rgba(232,85,109,.4); }
.skill-card__icon { font-size: 2rem; margin-bottom: 14px; }
.skill-card__title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.skill-card__desc { font-size: .85rem; color: var(--text-m); margin-bottom: 16px; }
.skill-bar { background: rgba(255,255,255,.08); border-radius: 50px; height: 6px; overflow: hidden; }
.skill-bar__fill {
  height: 100%; border-radius: 50px; width: 0;
  background: linear-gradient(90deg, var(--rose), var(--gold));
  transition: width 1.2s cubic-bezier(.4,0,.2,1);
}

/* ===== EDUCATION ===== */
.education-section { background: var(--slate); }
.edu-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.edu-card {
  background: var(--card-bg); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 24px;
  display: flex; align-items: flex-start; gap: 16px;
  backdrop-filter: blur(10px);
  transition: transform .3s, border-color .3s;
}
.edu-card:hover { transform: translateY(-4px); border-color: rgba(232,85,109,.4); }
.edu-card__icon { font-size: 2rem; flex-shrink: 0; }
.edu-card__year { font-size: .78rem; color: var(--gold); font-weight: 700; letter-spacing: 1px; margin-bottom: 4px; }
.edu-card__degree { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.edu-card__school { font-size: .85rem; color: var(--text-m); }

/* ===== CONTACT ===== */
.contact-section { background: var(--navy); }
.contact-grid { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex; align-items: center; gap: 16px;
  background: var(--card-bg); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 18px 22px;
  transition: all .3s;
}
a.contact-item:hover { border-color: var(--rose); transform: translateX(6px); }
.contact-item__icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-item__label { font-size: .78rem; color: var(--text-m); margin-bottom: 2px; }
.contact-item__value { font-weight: 600; }

.zalo-card {
  background: var(--card-bg); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 28px 24px; text-align: center;
  backdrop-filter: blur(10px);
}
.zalo-card__label { font-size: .85rem; color: var(--text-m); margin-bottom: 16px; }
.zalo-card__qr { width: 200px; height: 200px; object-fit: contain; margin: 0 auto 12px; border-radius: 12px; }
.zalo-card__name { font-weight: 700; color: var(--rose); }

/* ===== FOOTER ===== */
.footer { background: var(--navy2); border-top: 1px solid rgba(255,255,255,.07); padding: 28px 0; text-align: center; }
.footer p { color: var(--text-m); font-size: .88rem; }
.footer__sub { font-size: .8rem; margin-top: 4px; }

/* ===== FADE-IN ANIMATION ===== */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero__content { flex-direction: column; text-align: center; padding-top: 40px; }
  .hero__cta { justify-content: center; }
  .hero__badges { justify-content: center; }
  .hero__photo { width: 200px; height: 240px; }
  .stats__grid { grid-template-columns: repeat(2,1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: repeat(2,1fr); }
  .edu-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .zalo-card { max-width: 320px; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav { padding: 14px 20px; }
}
@media (max-width: 600px) {
  .stats__grid { grid-template-columns: repeat(2,1fr); }
  .skills-grid { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
  .timeline { padding-left: 24px; }
  .timeline-card { padding: 18px; }
}
