/* Font Be Vietnam Pro - thiết kế riêng cho tiếng Việt, hỗ trợ đầy đủ dấu */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

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

:root {
  --purple-dark: #1a0e3e;
  --purple-mid: #2d1b69;
  --purple-light: #4a2c8a;
  --yellow: #f5a623;
  --yellow-light: #ffd966;
  --white: #ffffff;
  --gray-light: #e0d8f0;
  --gray-text: #b8aed0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Be Vietnam Pro', sans-serif;
  background: var(--purple-dark);
  color: var(--white);
  overflow-x: hidden;
}

/* ===== HEADER / NAVBAR ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 6%;
  background: rgba(255,255,255,0.97);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.logo {
  font-size: 28px;
  font-weight: 800;
  color: var(--purple-mid);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.logo span { color: var(--yellow); }

.nav-cta {
  background: var(--yellow);
  color: var(--purple-dark);
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-cta:hover {
  background: var(--yellow-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,166,35,0.4);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1a0e3e 0%, #2d1b69 40%, #1e1245 100%);
  overflow: hidden;
}

/* Hiệu ứng nền gradient động */
.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,166,35,0.12) 0%, transparent 70%);
  top: -100px; right: -100px;
  border-radius: 50%;
  animation: pulse 6s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(74,44,138,0.3) 0%, transparent 70%);
  bottom: -50px; left: -50px;
  border-radius: 50%;
  animation: pulse 8s ease-in-out infinite reverse;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 6%;
  gap: 60px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-left { flex: 1; max-width: 580px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,166,35,0.15);
  border: 1px solid rgba(245,166,35,0.3);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  color: var(--yellow);
  margin-bottom: 28px;
  animation: fadeInUp 0.6s ease;
}

.hero-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 12px;
  animation: fadeInUp 0.6s ease 0.1s both;
}
.hero-title .highlight {
  color: var(--yellow);
  display: block;
}

.hero-subtitle {
  font-size: 24px;
  font-weight: 600;
  color: var(--gray-light);
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-text);
  margin-bottom: 36px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

/* Khối giá + CTA */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.price-box {
  background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.25);
  border-radius: 16px;
  padding: 14px 28px;
  text-align: center;
}
.price-label {
  font-size: 12px;
  color: var(--gray-text);
  margin-bottom: 4px;
}
.price-value {
  font-size: 32px;
  font-weight: 900;
  color: var(--yellow);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--yellow);
  color: var(--purple-dark);
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  transition: all 0.3s;
  box-shadow: 0 4px 25px rgba(245,166,35,0.3);
}
.cta-btn:hover {
  background: var(--yellow-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(245,166,35,0.5);
}

/* Thẻ thông tin nhỏ */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: fadeInUp 0.6s ease 0.5s both;
}
.hero-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 13px;
  color: var(--gray-light);
}
.hero-tag .icon {
  color: var(--yellow);
  font-size: 16px;
}

/* Ảnh hero bên phải */
.hero-right {
  flex: 1;
  max-width: 520px;
  animation: fadeInRight 0.8s ease 0.3s both;
}
.hero-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* ===== SECTION CHUNG ===== */
.section {
  padding: 80px 6%;
  max-width: 1280px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  background: rgba(245,166,35,0.15);
  color: var(--yellow);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-title .highlight { color: var(--yellow); }

.section-desc {
  font-size: 16px;
  color: var(--gray-text);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 48px;
}

/* ===== CURRICULUM / NỘI DUNG KHÓA HỌC ===== */
.curriculum-bg {
  background: linear-gradient(180deg, #1a0e3e 0%, #120a2e 100%);
  padding: 80px 0;
}

.curriculum-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.curriculum-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.curriculum-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  border-radius: 4px 0 0 4px;
}
.curriculum-card:nth-child(1)::before { background: var(--yellow); }
.curriculum-card:nth-child(2)::before { background: linear-gradient(180deg, #7c3aed, #a78bfa); }
.curriculum-card:nth-child(3)::before { background: linear-gradient(180deg, #f43f5e, #fb923c); }
.curriculum-card:nth-child(4)::before { background: linear-gradient(180deg, #06b6d4, #3b82f6); }

.curriculum-card:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.card-phase {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  white-space: nowrap;
}
.curriculum-card:nth-child(1) .card-phase { background: rgba(245,166,35,0.2); color: var(--yellow); }
.curriculum-card:nth-child(2) .card-phase { background: rgba(124,58,237,0.2); color: #a78bfa; }
.curriculum-card:nth-child(3) .card-phase { background: rgba(244,63,94,0.2); color: #fb923c; }
.curriculum-card:nth-child(4) .card-phase { background: rgba(6,182,212,0.2); color: #67e8f9; }

.card-title {
  font-size: 22px;
  font-weight: 800;
}

.card-objective {
  font-size: 13px;
  color: var(--gray-text);
  margin-bottom: 18px;
  font-style: italic;
}

.card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.5;
}
.card-list li .bullet {
  width: 22px; height: 22px;
  min-width: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-top: 1px;
}
.curriculum-card:nth-child(1) .bullet { background: rgba(245,166,35,0.2); color: var(--yellow); }
.curriculum-card:nth-child(2) .bullet { background: rgba(124,58,237,0.2); color: #a78bfa; }
.curriculum-card:nth-child(3) .bullet { background: rgba(244,63,94,0.2); color: #fb923c; }
.curriculum-card:nth-child(4) .bullet { background: rgba(6,182,212,0.2); color: #67e8f9; }

/* ===== FEATURES ===== */
.features-bg {
  background: linear-gradient(180deg, #120a2e 0%, #1a0e3e 100%);
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s;
}
.feature-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.feature-icon {
  width: 60px; height: 60px;
  background: rgba(245,166,35,0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 28px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.6;
}

/* ===== CTA / REGISTER SECTION ===== */
.register-bg {
  background: linear-gradient(135deg, #2d1b69, #4a2c8a);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.register-bg::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,166,35,0.1), transparent 70%);
  top: -150px; right: -100px;
  border-radius: 50%;
}

.register-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 6%;
}

.register-content h2 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 16px;
}
.register-content p {
  color: var(--gray-light);
  font-size: 16px;
  margin-bottom: 36px;
  line-height: 1.6;
}

.register-info {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.register-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--gray-light);
}
.register-info-item .icon { color: var(--yellow); font-size: 20px; }

.register-price {
  font-size: 48px;
  font-weight: 900;
  color: var(--yellow);
  margin-bottom: 32px;
}

.cta-btn-large {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--yellow);
  color: var(--purple-dark);
  padding: 20px 56px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  transition: all 0.3s;
  box-shadow: 0 6px 30px rgba(245,166,35,0.4);
}
.cta-btn-large:hover {
  background: var(--yellow-light);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 40px rgba(245,166,35,0.6);
}

/* ===== FOOTER ===== */
.footer {
  background: #0d0820;
  padding: 32px 6%;
  text-align: center;
  font-size: 14px;
  color: var(--gray-text);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer a { color: var(--yellow); text-decoration: none; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Scroll animation class */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
    padding: 40px 5%;
  }
  .hero-left { max-width: 100%; }
  .hero-right { max-width: 400px; }
  .hero-title { font-size: 36px; }
  .hero-subtitle { font-size: 20px; }
  .hero-actions { justify-content: center; flex-wrap: wrap; }
  .hero-tags { justify-content: center; }
  .curriculum-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 28px; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 28px; }
  .price-value { font-size: 24px; }
  .cta-btn { padding: 14px 28px; font-size: 16px; }
  .register-price { font-size: 36px; }
  .navbar { padding: 14px 4%; }
  .logo { font-size: 22px; }
}
