/* DataGaze Academy — design tokens + layout
   Bố cục tham khảo cấu trúc section của các nền tảng edtech VN; code, copy, thiết kế viết mới. */

:root {
  /* Màu */
  --ink: #101828;
  --ink-2: #475467;
  --ink-3: #667085;
  --line: #e4e7ec;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-tint: #eef3ff;

  --brand: #1d4ed8;
  --brand-600: #1e40af;
  --brand-300: #93b4fd;
  --brand-ink: #0b2a6b;

  --accent: #0f9d8c;
  --warm: #f59e0b;
  --plum: #6d28d9;

  /* Chữ */
  --font-sans: "Be Vietnam Pro", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;

  /* Nhịp */
  --wrap: 1140px;
  --gap: 24px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .1);
  --shadow: 0 8px 24px rgba(16, 24, 40, .08);
  --shadow-lg: 0 24px 48px -12px rgba(16, 24, 40, .18);

  --header-h: 68px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.22; margin: 0 0 .5em; font-weight: 750; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.8vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); }
p { margin: 0 0 1em; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
ul { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: linear-gradient(180deg, var(--bg-tint), #fff); }
.center { text-align: center; }
.lead { font-size: clamp(1rem, .96rem + .3vw, 1.2rem); color: var(--ink-2); }
.section-head { max-width: 720px; margin: 0 auto clamp(32px, 4vw, 56px); text-align: center; }
.section-head p { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--bg-tint);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ---------- Nút ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 650;
  font-size: .97rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
  font-family: inherit;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(29, 78, 216, .28); }
.btn--primary:hover { background: var(--brand-600); }
.btn--ghost { background: #fff; color: var(--brand); border-color: var(--brand-300); }
.btn--ghost:hover { background: var(--bg-tint); }
.btn--light { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn--light:hover { background: rgba(255, 255, 255, .26); }
.btn--sm { padding: 9px 18px; font-size: .9rem; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__name { font-size: 1.05rem; white-space: nowrap; }
.brand__name span { color: var(--brand); }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--ink-2);
  font-weight: 550;
  font-size: .95rem;
  white-space: nowrap;
}
.nav a:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
/* Bản sao nút CTA đặt trong menu — cần thắng quy tắc màu/padding của .nav a */
.nav .nav__cta { display: none; color: #fff; padding: 13px 24px; border-radius: 999px; }
.nav .nav__cta:hover { background: var(--brand-600); color: #fff; }
.header-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.header-cta .btn { white-space: nowrap; }

.pill-soon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px dashed var(--line);
  color: var(--ink-3);
  font-size: .9rem;
  font-weight: 550;
  cursor: not-allowed;
}

.lms-link { white-space: nowrap; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #16308f 0%, #1d4ed8 48%, #3b82f6 100%);
  color: #fff;
  padding: clamp(60px, 8vw, 104px) 0 clamp(72px, 9vw, 120px);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -55% 55%;
  height: 120%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .16), transparent 62%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: #ffd580; }
.hero p { color: rgba(255, 255, 255, .88); font-size: clamp(1rem, .95rem + .35vw, 1.18rem); max-width: 34em; }
.hero .eyebrow { background: rgba(255, 255, 255, .16); color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 22px; font-size: .9rem; color: rgba(255, 255, 255, .74); }

.hero-card {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius-lg);
  padding: 26px;
  backdrop-filter: blur(6px);
}
.hero-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.hero-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.hero-card li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255, 255, 255, .92); font-size: .96rem; margin: 0; }
.hero-card .tick {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.hero-card .tick svg { width: 12px; height: 12px; }

/* ---------- Card khóa ---------- */
.course-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  border-radius: var(--radius-lg);
  color: #fff;
  min-height: 300px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.course-card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.course-card::after {
  content: "";
  position: absolute;
  right: -50px; bottom: -70px;
  width: 190px; height: 190px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
}
.course-card--blue { background: linear-gradient(150deg, #1d4ed8, #2563eb 60%, #60a5fa); }
.course-card--teal { background: linear-gradient(150deg, #0f766e, #0f9d8c 60%, #34d399); }
.course-card--plum { background: linear-gradient(150deg, #5b21b6, #6d28d9 60%, #a78bfa); }
.course-card--muted { background: linear-gradient(150deg, #475467, #667085); }
.course-card--muted:hover { transform: none; box-shadow: var(--shadow); cursor: default; }

.course-card__tag {
  align-self: flex-start;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .2);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.course-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 10px; position: relative; z-index: 1; }
.course-card p { color: rgba(255, 255, 255, .9); font-size: .95rem; position: relative; z-index: 1; }
.course-card__meta {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .24);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: .9rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.course-card__arrow {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  display: grid;
  place-items: center;
  flex: none;
}

/* ---------- Bước / timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--gap); counter-reset: step; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-sm);
}
.step__num {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--bg-tint);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--ink-2); margin-bottom: 0; font-size: .96rem; }

/* ---------- Lưới điểm khác biệt ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); }
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.feature:hover { border-color: var(--brand-300); box-shadow: var(--shadow); }
.feature__icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: var(--bg-tint);
  color: var(--brand);
}
.feature__icon svg { width: 21px; height: 21px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature p { color: var(--ink-2); font-size: .94rem; margin-bottom: 0; }

/* ---------- Video ---------- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--gap); }
.video-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.video-card__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(140deg, #1e293b, #334155);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .82);
  text-align: center;
  padding: 20px;
  font-size: .9rem;
}
.video-card__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card__play {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .34);
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
}
.video-card__body { padding: 18px 20px 20px; }
.video-card__body h3 { font-size: 1rem; margin-bottom: 6px; }
.video-card__body p { color: var(--ink-3); font-size: .9rem; margin-bottom: 0; }

/* ---------- Dải B2B ---------- */
.b2b {
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, #0b2a6b, #1d4ed8);
  color: #fff;
  padding: clamp(32px, 4vw, 52px);
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: clamp(24px, 3vw, 44px);
  align-items: center;
}
.b2b h2 { color: #fff; }
.b2b p { color: rgba(255, 255, 255, .88); margin-bottom: 0; }
.b2b ul { color: rgba(255, 255, 255, .88); margin: 18px 0 0; }
.b2b__price {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.b2b__price strong { display: block; font-size: 1.7rem; letter-spacing: -.02em; }
.b2b__price span { color: rgba(255, 255, 255, .78); font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 20px;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: var(--brand-300); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 650;
  padding: 16px 32px 16px 0;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--brand);
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details > p { color: var(--ink-2); padding-bottom: 16px; margin: 0; font-size: .96rem; }

/* ---------- Form ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.5vw, 40px);
  box-shadow: var(--shadow);
  max-width: 720px;
  margin-inline: auto;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: .96rem;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, .12);
}
.field textarea { min-height: 96px; resize: vertical; }
.form-note { font-size: .86rem; color: var(--ink-3); margin: 14px 0 0; }
.form-status { margin-top: 14px; font-size: .92rem; font-weight: 600; color: var(--accent); min-height: 1.4em; }

/* ---------- Footer ---------- */
.site-footer { background: #0c1730; color: rgba(255, 255, 255, .72); padding: clamp(44px, 5vw, 68px) 0 28px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer li { margin: 0; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: .86rem;
  color: rgba(255, 255, 255, .55);
}

/* ---------- Trang khóa học ---------- */
.crumbs { font-size: .88rem; color: rgba(255, 255, 255, .72); margin-bottom: 18px; }
.crumbs a { color: rgba(255, 255, 255, .88); }
.crumbs span { margin: 0 8px; opacity: .5; }

.specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: -52px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow);
}
.spec { background: #fff; padding: 22px 20px; }
.spec dt { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.spec dd { margin: 0; font-weight: 700; font-size: 1.02rem; }

.outcome-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--gap); }
.outcome {
  border-left: 3px solid var(--brand);
  padding: 4px 0 4px 18px;
}
.outcome h3 { font-size: 1.02rem; margin-bottom: 6px; }
.outcome p { color: var(--ink-2); font-size: .94rem; margin-bottom: 0; }

/* Chương trình — accordion buổi */
.syllabus { display: grid; gap: 10px; max-width: 900px; margin-inline: auto; }
.lesson {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.lesson[open] { border-color: var(--brand-300); box-shadow: var(--shadow-sm); }
.lesson summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  font-weight: 650;
}
.lesson summary::-webkit-details-marker { display: none; }
.lesson__no {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--bg-tint);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: .92rem;
}
.lesson__title { flex: 1; }
.lesson__kind {
  font-size: .78rem;
  font-weight: 650;
  color: var(--ink-3);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.lesson__body { padding: 0 20px 20px 76px; }
.lesson__body p { color: var(--ink-2); font-size: .95rem; }
.lesson__out {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf9;
  border: 1px solid #a7f3d0;
  color: #065f46;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: .9rem;
  font-weight: 600;
}

/* Bảng giá */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--gap); align-items: start; }
.price-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.price-card--hot { border-color: var(--brand); box-shadow: var(--shadow-lg); position: relative; }
.price-card__flag {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.price-card__sub { color: var(--ink-3); font-size: .9rem; margin-bottom: 18px; }
.price-card__amount { font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.price-card__amount small { font-size: .95rem; font-weight: 600; color: var(--ink-3); }
.price-card__was { color: var(--ink-3); text-decoration: line-through; font-size: 1rem; margin-bottom: 2px; }
.price-card ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; }
.price-card li { display: flex; gap: 10px; font-size: .93rem; color: var(--ink-2); margin: 0; }
.price-card li svg { flex: none; width: 17px; height: 17px; color: var(--accent); margin-top: 4px; }
.price-card .btn { margin-top: auto; }

.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--gap); }
.perk {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.perk h3 { font-size: 1rem; margin-bottom: 6px; }
.perk p { color: var(--ink-2); font-size: .93rem; margin-bottom: 0; }

.callout {
  border-radius: var(--radius);
  padding: 20px 24px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #78350f;
  font-size: .94rem;
}
.callout strong { color: #7c2d12; }
.callout--info { background: var(--bg-tint); border-color: var(--brand-300); color: var(--brand-ink); }
.callout p:last-child { margin-bottom: 0; }

.audience { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.audience__box { border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); background: #fff; }
.audience__box h3 { font-size: 1.05rem; }
.audience__box ul { margin: 0; padding-left: 1.15em; color: var(--ink-2); font-size: .95rem; }
.audience__box--yes { border-left: 4px solid var(--accent); }
.audience__box--no { border-left: 4px solid var(--ink-3); }

.cta-band {
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, #0b2a6b, #2563eb);
  color: #fff;
  padding: clamp(32px, 4vw, 56px);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .86); max-width: 46em; margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; }

.table-wrap { overflow-x: auto; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: .94rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
table.data th, table.data td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { background: var(--bg-soft); font-weight: 700; font-size: .86rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
table.data tr:last-child td { border-bottom: 0; }

/* ---------- Hiệu ứng xuất hiện ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .course-card:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .b2b { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .specs { margin-top: -36px; }
  .pill-soon, .lms-link { display: none; }
  .nav .nav__cta.lms-link { display: inline-flex; justify-content: center; margin-top: 10px; }
  .nav-toggle { display: flex; order: 3; margin-left: 0; }
  .header-cta { order: 2; margin-left: auto; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    gap: 0;
    margin-left: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 10px 20px 18px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 8px; border-radius: 8px; }
}

@media (max-width: 720px) {
  .course-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .audience { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-cta .btn { display: none; }
  .nav .nav__cta { display: inline-flex; justify-content: center; margin-top: 10px; }
  .lesson__body { padding-left: 20px; }
  .lesson summary { flex-wrap: wrap; }
  .lesson__kind { order: 3; }
}
