/* Vibe Code Start — landing page
 *
 * Design system sao chép từ trang tham chiếu (go.phuvn.com/landingpageai):
 * nền navy tối, nhấn xanh lá + vàng kim, tiêu đề serif Playfair Display trên
 * thân bài Be Vietnam Pro. Mọi giá trị màu / khoảng cách / bán kính bo góc đều
 * khai báo một lần ở :root rồi dùng lại, để đổi tông chỉ sửa một chỗ.
 */

:root {
  /* Nền — bốn lớp sâu dần, dùng để xen kẽ giữa các section */
  --bg-dark: #0B1120;
  --bg-section: #111827;
  --bg-card: #1A2332;
  --bg-card-alt: #1E293B;

  /* Nhấn */
  --green: #22C55E;
  --green-glow: rgba(34, 197, 94, 0.15);
  --green-dark: #16A34A;
  --gold: #F59E0B;
  --gold-glow: rgba(245, 158, 11, 0.15);
  --red: #EF4444;

  /* Chữ */
  --white: #FFFFFF;
  --gray-100: #F3F4F6;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;

  /* Viền — luôn là trắng rất mờ để nổi trên nền tối mà không thành đường kẻ */
  --line: rgba(255, 255, 255, 0.06);
  --line-strong: rgba(255, 255, 255, 0.1);

  --font-body: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

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

html {
  scroll-behavior: smooth;
  /* Header dính ở trên, nên neo #id phải dừng thấp hơn một chút */
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--gray-300);
  font-size: 20px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--green); }

::selection { background: var(--green); color: var(--bg-dark); }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* .container là tên dùng trong index.html; .wrap giữ lại cho trang chính sách */
.container,
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  z-index: 1;
}

.wrap-narrow { max-width: 820px; }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green);
  color: var(--bg-dark);
  padding: 12px 20px;
  font-weight: 700;
  z-index: 2000;
}

.skip-link:focus { left: 0; }

/* ===================================================== HEADER (dính trên) */
.sticky-header,
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 17, 32, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(34, 197, 94, 0.15);
  padding: 12px 0;
}

.sticky-header .container,
.site-header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.42rem;
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

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

.header-offer {
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 600;
  display: none;
}

@media (min-width: 860px) {
  .header-offer { display: block; }
}

.header-cta {
  display: inline-block;
  background: var(--green);
  color: var(--bg-dark);
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
}

/* ===================================================== NÚT */
.cta-primary,
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--bg-dark);
  padding: 18px 48px;
  border: 0;
  border-radius: var(--radius);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 30px rgba(34, 197, 94, 0.25);
}

.cta-primary:hover,
.btn-primary:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(34, 197, 94, 0.4);
}

.btn-primary:disabled { opacity: 0.65; cursor: not-allowed; }

.btn-block { display: block; width: 100%; text-align: center; }

.cta-sub {
  display: block;
  margin-top: 14px;
  color: var(--gray-500);
  font-size: 1rem;
  line-height: 1.5;
}

.cta-sub strong { color: var(--gold); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 30px rgba(34, 197, 94, 0.25); }
  50%      { box-shadow: 0 4px 40px rgba(34, 197, 94, 0.45); }
}

.cta-pulse { animation: pulse 2s infinite; }

/* ===================================================== HERO */
.hero {
  padding: 150px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
}

/* Hai vầng sáng mờ — xanh ở giữa trên, vàng lệch phải dưới */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(34, 197, 94, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 60%, rgba(245, 158, 11, 0.04) 0%, transparent 40%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: var(--green-glow);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--green);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.97rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
  animation: fadeInDown 0.6s ease;
}

.hero-subtitle {
  color: var(--gray-400);
  font-size: 1.24rem;
  margin-bottom: 20px;
  animation: fadeInDown 0.7s ease;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.7rem);
  color: var(--white);
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease;
}

.highlight { color: var(--green); }
.highlight-gold { color: var(--gold); }

/* Số đếm trong tiêu đề serif trông lệch — ép về font thân bài */
.num { font-family: var(--font-body); font-weight: 800; }

.hero-desc {
  font-size: 1.2rem;
  color: var(--gray-400);
  max-width: 880px;
  margin: 0 auto 16px;
  animation: fadeInDown 0.9s ease;
}

.hero-desc strong { color: var(--white); font-weight: 600; }

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 28px 0 36px;
  animation: fadeInDown 1s ease;
}

.hero-pill {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gray-300);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
}

.hero-pill .icon { margin-right: 6px; }

/* ===================================================== SECTION CHUNG */
section {
  padding: 80px 0;
  position: relative;
}

.section-dark { background: var(--bg-dark); }
.section-alt  { background: var(--bg-section); }

.section-label,
.eyebrow {
  display: inline-block;
  color: var(--green);
  font-size: 0.97rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.6vw, 3rem);
  color: var(--white);
  line-height: 1.25;
  font-weight: 800;
  margin-bottom: 20px;
}

.section-desc,
.section-lede {
  color: var(--gray-400);
  font-size: 1.16rem;
  max-width: 820px;
}

.section-desc strong,
.section-lede strong { color: var(--white); }

/* ===================================================== ĐIỂM ĐAU */
.pain-intro {
  max-width: 820px;
  margin: 0 auto 40px;
}

.pain-intro p { color: var(--gray-400); }

.pain-grid {
  display: grid;
  gap: 16px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Viền đỏ bên trái: đây là vấn đề, chưa phải giải pháp */
.pain-item {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--red);
  padding: 22px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: all 0.3s;
}

.pain-item:hover {
  border-left-color: var(--gold);
  transform: translateX(4px);
  background: var(--bg-card-alt);
}

.pain-item h4 {
  color: var(--white);
  font-size: 1.16rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.pain-item p {
  color: var(--gray-400);
  font-size: 1.06rem;
  line-height: 1.6;
}

.pain-icon { display: inline-block; margin-right: 8px; }

/* ===================================================== NGUYÊN NHÂN */
.reason-box {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(245, 158, 11, 0.05));
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  margin: 40px 40px 0;
}

.reason-box h3 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.reason-list { list-style: none; }

.reason-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--gray-300);
  font-size: 1.1rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.reason-list li:last-child { border-bottom: none; }

.reason-list .emoji {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.reason-list strong { color: var(--gold); }

.reason-conclusion {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
  color: var(--white);
  font-weight: 600;
  font-size: 1.16rem;
}

/* ===================================================== KHOÁ HỌC */
.course-showcase {
  margin: 0 40px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(245, 158, 11, 0.05));
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.course-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.1), transparent 70%);
  pointer-events: none;
}

.course-icon { font-size: 4.4rem; margin-bottom: 20px; }

.course-showcase h3 {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.course-showcase .subtitle {
  color: var(--green);
  font-weight: 600;
  font-size: 1.16rem;
  margin-bottom: 28px;
}

.course-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: left;
  margin-top: 24px;
}

.course-feat {
  background: rgba(11, 17, 32, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.course-feat .feat-icon { font-size: 1.65rem; margin-bottom: 8px; }

.course-feat h4 {
  color: var(--white);
  font-size: 1.06rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.course-feat p {
  color: var(--gray-400);
  font-size: 0.97rem;
  line-height: 1.5;
}

/* ===================================================== GIÁO TRÌNH */
.stages-grid {
  margin: 48px auto 0;
  padding: 0 40px;
}

.stage-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  margin-bottom: 24px;
  transition: all 0.3s;
}

.stage-card:hover {
  border-color: rgba(34, 197, 94, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.stage-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--bg-dark);
  font-weight: 900;
  font-size: 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.stage-card h3 {
  color: var(--white);
  font-size: 1.34rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.stage-card .stage-subtitle {
  color: var(--green);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.stage-card ul { list-style: none; }

.stage-card ul li {
  color: var(--gray-400);
  font-size: 1.04rem;
  padding: 5px 0 5px 22px;
  position: relative;
}

.stage-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.stage-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--gold);
  font-size: 1.02rem;
  font-weight: 600;
}

/* ===================================================== BẠN MANG VỀ GÌ */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 48px auto 0;
  padding: 0 40px;
}

.diff-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.3s;
}

.diff-item:hover {
  border-color: rgba(34, 197, 94, 0.2);
  transform: translateY(-2px);
}

.diff-icon { font-size: 2.3rem; margin-bottom: 14px; }

.diff-item h4 {
  color: var(--white);
  font-size: 1.16rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.diff-item p {
  color: var(--gray-400);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* ===================================================== BẢNG SO SÁNH */
.table-wrap {
  margin: 40px 40px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.02rem;
  min-width: 620px;
}

.compare th,
.compare td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare thead th {
  color: var(--white);
  font-weight: 700;
  font-size: 1.04rem;
  background: var(--bg-card-alt);
  white-space: nowrap;
}

/* Cột cuối là cột "sau khi học" — tô xanh để mắt đi về phía đó */
.compare thead th:last-child { color: var(--green); }

.compare tbody th {
  color: var(--gray-300);
  font-weight: 600;
}

.compare tbody td { color: var(--gray-400); }

.compare tbody td:last-child { color: var(--gray-300); }

.compare tr:last-child th,
.compare tr:last-child td { border-bottom: none; }

/* ===================================================== PHÙ HỢP VỚI AI */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 48px auto 0;
  padding: 0 40px;
}

.fit {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
}

.fit.yes { border-top: 3px solid var(--green); }
.fit.no  { border-top: 3px solid var(--gray-500); }

.fit h3 {
  color: var(--white);
  font-size: 1.24rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.fit ul { list-style: none; }

.fit li {
  color: var(--gray-400);
  font-size: 1.04rem;
  padding: 8px 0 8px 26px;
  position: relative;
  line-height: 1.6;
}

.fit.yes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.fit.no li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: var(--gray-500);
  font-weight: 700;
}

/* ===================================================== HỌC PHÍ */
.pricing-section { background: var(--bg-section); }

.pricing-card {
  max-width: 600px;
  margin: 40px auto 0;
  background: linear-gradient(135deg, var(--bg-card), rgba(34, 197, 94, 0.05));
  border: 2px solid rgba(34, 197, 94, 0.25);
  border-radius: 24px;
  padding: 48px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.1), transparent 60%);
  pointer-events: none;
}

.pricing-label {
  display: inline-block;
  background: var(--gold-glow);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--gold);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.pricing-includes h4 {
  color: var(--white);
  font-size: 1.16rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.pricing-list {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.pricing-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.pricing-list li:last-child { border-bottom: none; }

.pricing-list .item-name {
  color: var(--gray-300);
  font-size: 1.06rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
}

.pricing-list .item-name .check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-list .item-value {
  color: var(--gray-500);
  font-size: 0.97rem;
  white-space: nowrap;
}

.pricing-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.3), transparent);
  margin: 24px 0;
}

.price-old {
  color: var(--gray-500);
  font-size: 1.5rem;
  text-decoration: line-through;
  margin-bottom: 8px;
}

.price-current {
  font-family: var(--font-body);
  font-size: 4rem;
  color: var(--green);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
}

.price-current .price-unit {
  font-size: 1.4rem;
  vertical-align: middle;
}

.price-note {
  color: var(--gray-400);
  font-size: 1rem;
  margin-bottom: 28px;
}

/* Bảng bậc giá — phụ, nằm dưới thẻ giá chính */
.tiers-box {
  max-width: 600px;
  margin: 28px auto 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
}

.tiers-box h3 {
  color: var(--white);
  font-size: 1.16rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.tiers-box p {
  color: var(--gray-400);
  font-size: 1.02rem;
}

.tiers {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  margin: 18px 0 14px;
  font-size: 1.02rem;
}

.tiers th,
.tiers td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.tiers thead th { color: var(--white); font-weight: 700; }
.tiers td { color: var(--gray-400); }
.tiers tr:last-child td { border-bottom: none; }

.tier-now td { color: var(--white); font-weight: 700; }

.tag-now,
.tag-closed {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.tag-now { background: var(--green-glow); color: var(--green); }
.tag-closed { background: rgba(107, 114, 128, 0.2); color: var(--gray-500); }

.price-foot {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===================================================== TÁC GIẢ */
.author-card {
  margin: 0 40px;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card-alt));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
}

.author-quote {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 28px;
  padding-left: 20px;
  border-left: 3px solid var(--green);
}

/* Ảnh trái, thông tin phải. Cột ảnh cố định để chân dung không bị kéo méo
   khi cột chữ dài ngắn khác nhau. */
.author-body {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 30px;
  align-items: start;
}

.author-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(34, 197, 94, 0.25);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.author-info h4 {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

/* Tên thương hiệu đi kèm tên thật — nhỏ hơn, xanh, không in hoa thêm */
.author-handle {
  display: inline-block;
  margin-left: 8px;
  background: var(--green-glow);
  color: var(--green);
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 0.78em;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.author-role {
  color: var(--green) !important;
  font-size: 1rem !important;
  font-weight: 600;
  margin-bottom: 20px;
}

/* Ba con số thành tích — tự xếp lại thành cột trên màn hình nhỏ */
.author-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.author-stat {
  background: rgba(11, 17, 32, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-body);
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--green);
  margin-bottom: 4px;
}

.stat-label {
  display: block;
  color: var(--gray-400);
  font-size: 0.92rem;
  line-height: 1.4;
}

.author-info p {
  color: var(--gray-400);
  font-size: 1.04rem;
  line-height: 1.7;
}

.author-info .tag {
  display: inline-block;
  background: var(--green-glow);
  color: var(--green);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 12px;
}

/* ===================================================== CHỨNG THỰC
 * Để sẵn — chỉ dán vào khi có nhận xét thật của học viên thật đã xin phép.
 * Chứng thực bịa vi phạm chính sách quảng cáo của Meta. */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 48px auto 0;
  padding: 0 40px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1.06rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.testimonial-card blockquote {
  color: var(--gray-300);
  font-size: 1.06rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-dark);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-name { color: var(--white); font-weight: 600; font-size: 1.02rem; }
.testimonial-role { color: var(--gray-500); font-size: 0.97rem; }

/* ===================================================== CAM KẾT */
.commit-grid {
  display: grid;
  gap: 16px;
  margin: 40px auto 0;
  padding: 0 40px;
}

.commit-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}

.commit-icon { font-size: 1.9rem; flex-shrink: 0; line-height: 1.3; }

.commit-item h4 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.commit-item p { color: var(--gray-400); font-size: 1.02rem; }

/* ===================================================== CTA CUỐI */
.final-cta-section {
  background: var(--bg-dark);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta-desc {
  color: var(--gray-400);
  max-width: 820px;
  margin: 0 auto 36px;
  font-size: 1.16rem;
}

.final-cta-desc strong { color: var(--white); }

/* ===================================================== HỎI ĐÁP
 * <details> thay vì JS: mở được khi tắt JavaScript, và đọc đúng với
 * trình đọc màn hình. Dấu + xoay 45° thành × khi mở. */
.faq-list {
  margin: 40px auto 0;
  padding: 0 40px;
}

.faq {
  margin: 40px auto 0;
}

.faq-list details,
.faq details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-list details:hover,
.faq details:hover { border-color: rgba(34, 197, 94, 0.15); }

.faq-list summary,
.faq summary {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.5;
  list-style: none;
  user-select: none;
}

.faq-list summary::-webkit-details-marker,
.faq summary::-webkit-details-marker { display: none; }

.faq-list summary::after,
.faq summary::after {
  content: '+';
  color: var(--green);
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-list details[open] summary::after,
.faq details[open] summary::after { transform: rotate(45deg); }

.faq-list details > div,
.faq details > div {
  padding: 0 24px 20px;
  color: var(--gray-400);
  font-size: 1.04rem;
  line-height: 1.7;
}

/* ===================================================== FORM */
.section-form { background: var(--bg-dark); }

.form-card {
  max-width: 640px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--bg-card), rgba(34, 197, 94, 0.04));
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 24px;
  padding: 44px 36px;
}

.form-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 12px;
  text-align: center;
}

.form-lede {
  color: var(--gray-400);
  font-size: 1.06rem;
  margin-bottom: 28px;
  text-align: center;
}

.field { margin-bottom: 20px; }

.field label {
  display: block;
  color: var(--gray-300);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.field label span { color: var(--green); }

.field input,
.field select {
  width: 100%;
  background: rgba(11, 17, 32, 0.7);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.06rem;
  padding: 14px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field select {
  appearance: none;
  /* Mũi tiên vẽ bằng SVG inline để không phải tải thêm file */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%239CA3AF' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.field select option { background: var(--bg-card); color: var(--white); }

.field input::placeholder { color: var(--gray-500); }

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-glow);
}

.field.has-error input,
.field.has-error select { border-color: var(--red); }

.error,
.form-error {
  color: var(--red);
  font-size: 0.95rem;
  margin-top: 6px;
}

.form-error {
  margin-top: 16px;
  text-align: center;
  font-size: 1rem;
}

/* Bẫy bot — ẩn khỏi mắt người và khỏi trình đọc màn hình */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#submit-btn { margin-top: 8px; position: relative; }

.spinner { display: none; }

.btn-primary.is-loading .spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 10px;
  vertical-align: -2px;
  border: 2px solid rgba(11, 17, 32, 0.3);
  border-top-color: var(--bg-dark);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.form-privacy {
  margin-top: 16px;
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
}

.form-done { text-align: center; }

.done-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--green-glow);
  border: 2px solid var(--green);
  color: var(--green);
  font-size: 2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-done h3 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.form-done p { color: var(--gray-400); font-size: 1.06rem; }

/* ===================================================== CTA DÍNH ĐÁY */
.sticky-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 900;
  display: block;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--bg-dark);
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.06rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}

.sticky-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (min-width: 768px) {
  /* Trên desktop header đã có nút, thanh đáy chỉ gây rối */
  .sticky-cta { display: none; }
}

/* ===================================================== CHÂN TRANG */
footer,
.site-footer {
  background: var(--bg-section);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 0;
  text-align: center;
}

footer p,
.site-footer p {
  color: var(--gray-500);
  font-size: 0.97rem;
  line-height: 1.6;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white) !important;
  margin-bottom: 6px;
}

.footer-title {
  color: var(--white) !important;
  font-size: 1.1rem !important;
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: center;
  margin: 18px 0;
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.97rem;
}

.footer-links a:hover { color: var(--green); }

.footer-bottom {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Thông tin người bán — Nghị định 52/2013 (sửa đổi bởi 85/2021) bắt website
   bán hàng phải công bố, và Meta cũng soi trang đích có nêu rõ ai bán không. */
.seller-info {
  max-width: 560px;
  margin: 24px auto 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: left;
}

.seller-title {
  color: var(--white) !important;
  font-size: 0.95rem !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.seller-info dl { display: grid; gap: 7px; }

.seller-info dl > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 10px;
  align-items: baseline;
}

.seller-info dt { color: var(--gray-500); font-size: 0.9rem; }
.seller-info dd { color: var(--gray-300); font-size: 0.92rem; }

/* Dòng giải thích vai trò, nhỏ hơn và xuống dòng riêng */
.seller-note {
  display: block;
  color: var(--gray-500);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-top: 3px;
}

/* Vạch ngăn giữa bên sản xuất và bên vận hành trang */
.seller-sep {
  margin: 14px 0 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--gray-500) !important;
  font-size: 0.85rem !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 600px) {
  .seller-info { padding: 16px 18px; }
  .seller-info dl > div { grid-template-columns: 1fr; gap: 0; }
  .seller-info dt { font-size: 0.82rem; }
}

.disclaimer,
.affiliate-note {
  max-width: 820px;
  margin: 0 auto 10px;
  font-size: 0.95rem;
  color: var(--gray-500);
}

/* Chỗ còn phải điền nội dung thật — tô vàng để không deploy quên */
[data-todo] {
  background: rgba(245, 158, 11, 0.12);
  outline: 1px dashed rgba(245, 158, 11, 0.5);
  border-radius: 4px;
  padding: 0 4px;
}

/* ===================================================== TRANG PHỤ
 * Chính sách bảo mật dùng chung stylesheet này. */
.site-header + main,
main.section { padding-top: 140px; }

main.section h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 16px;
}

main.section h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin: 32px 0 10px;
}

main.section p,
main.section li { color: var(--gray-400); font-size: 1.06rem; }

main.section ul { margin: 0 0 0 22px; }

main.section li { padding: 4px 0; }

main.section code {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.95em;
}

main.section h3 {
  color: var(--white);
  font-size: 1.14rem;
  font-weight: 700;
  margin: 22px 0 8px;
}

/* Dòng ngày cập nhật ngay dưới tiêu đề trang */
.legal-meta {
  color: var(--gray-500) !important;
  font-size: 0.97rem !important;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}

/* Mục lục đầu trang — nhảy tới từng phần */
.legal-toc {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 28px 0 8px;
}

.legal-toc p {
  color: var(--white) !important;
  font-weight: 600;
  font-size: 1rem !important;
  margin-bottom: 10px;
}

.legal-toc ol {
  margin: 0 0 0 20px;
  color: var(--gray-400);
}

.legal-toc li { padding: 3px 0; font-size: 1rem !important; }

.legal-toc a { text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }

/* Khối cần chú ý — viền vàng bên trái, không dùng màu đỏ để đỡ gây lo */
.legal-note {
  background: var(--gold-glow);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: 20px 0;
}

.legal-note p { color: var(--gray-300) !important; margin: 0; }
.legal-note p + p { margin-top: 10px !important; }

/* Bảng trong trang pháp lý — không ép min-width để mobile không phải kéo ngang */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 1rem;
}

.legal-table th,
.legal-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.legal-table thead th {
  background: var(--bg-card-alt);
  color: var(--white);
  font-weight: 700;
}

.legal-table tbody th { color: var(--gray-300); font-weight: 600; }
.legal-table td { color: var(--gray-400); }
.legal-table tr:last-child th,
.legal-table tr:last-child td { border-bottom: none; }

/* Điều hướng cuối trang pháp lý */
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.legal-nav a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 1rem;
}

.legal-nav a:hover { color: var(--green); }

@media (max-width: 600px) {
  .legal-toc { padding: 18px 20px; }
  .legal-note { padding: 14px 16px; }
  .legal-table th,
  .legal-table td { padding: 10px 12px; }
  .legal-table { font-size: 0.92rem; }
}

/* ===================================================== ANIMATION */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===================================================== MÀN HÌNH NHỎ */
@media (max-width: 860px) {
  .course-features,
  .diff-grid,
  .fit-grid,
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Ảnh tác giả lên trên, thu nhỏ và căn giữa thay vì chiếm hết chiều ngang.
     Chỉ căn giữa tên và dòng vị trí — đoạn văn dài căn giữa rất khó đọc. */
  .author-body { grid-template-columns: 1fr; gap: 24px; justify-items: center; }
  .author-photo { max-width: 200px; }
  .author-info { width: 100%; }
  .author-info h4,
  .author-role { text-align: center; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }

  html { scroll-padding-top: 76px; }

  .container,
  .wrap { padding: 0 16px; }

  section { padding: 50px 0; }

  .hero { padding: 110px 0 50px; }
  .hero h1 { font-size: 1.75rem; }
  .hero-subtitle,
  .hero-desc { font-size: 0.95rem; }
  .hero-badge { font-size: 0.72rem; padding: 6px 14px; margin-bottom: 20px; }
  .hero-pill { font-size: 0.85rem; padding: 7px 14px; }

  .section-title { font-size: 1.5rem; }
  .section-label,
  .eyebrow { font-size: 0.72rem; }
  .section-desc,
  .section-lede { font-size: 0.95rem; }

  .cta-primary,
  .btn-primary { padding: 14px 28px; font-size: 0.95rem; }
  .header-cta { padding: 8px 14px; font-size: 0.72rem; }
  .logo { font-size: 1.1rem; }

  /* Bỏ hết lề thụt vào trong để nội dung được rộng */
  .pain-grid,
  .stages-grid,
  .diff-grid,
  .fit-grid,
  .commit-grid,
  .faq-list,
  .testimonials-grid { padding-left: 0; padding-right: 0; }

  .reason-box,
  .author-card,
  .course-showcase,
  .table-wrap { margin-left: 0; margin-right: 0; }

  .reason-box,
  .author-card,
  .course-showcase { padding: 24px 18px; }

  .pricing-card { padding: 30px 20px; }
  .form-card { padding: 28px 20px; }
  .tiers-box { padding: 22px 18px; }

  .pain-item { padding: 18px 16px; }
  .stage-card { padding: 24px 20px; }

  .price-current { font-size: 3rem; }
  .price-old { font-size: 1.2rem; }

  .course-icon { font-size: 3.2rem; }
  .course-showcase h3 { font-size: 1.5rem; }

  .author-quote { font-size: 1.15rem; padding-left: 14px; }
  .author-info h4 { font-size: 1.25rem; }
  .author-role { font-size: 0.92rem !important; }

  /* Ba ô thành tích xếp dọc, số và nhãn nằm cùng dòng cho đỡ cao */
  .author-stats { grid-template-columns: 1fr; gap: 10px; }
  .author-stat {
    display: flex;
    align-items: baseline;
    gap: 10px;
    text-align: left;
    padding: 14px 16px;
  }
  .stat-num { font-size: 1.5rem; margin-bottom: 0; flex-shrink: 0; }

  .form-title { font-size: 1.5rem; }

  .faq-list summary,
  .faq summary { padding: 16px 18px; font-size: 1rem; }
  .faq-list details > div,
  .faq details > div { padding: 0 18px 16px; font-size: 0.95rem; }

  .pricing-list li { flex-direction: column; align-items: flex-start; gap: 4px; }

  main.section,
  .site-header + main { padding-top: 100px; }
}
