@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Cormorant:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');

/* =========================================================================
   TỰ VỮNG — Hệ thiết kế cao cấp · thiền thủy mặc (v2)
   Serif thư pháp (Cormorant) + Be Vietnam Pro · mực · kem · vàng cổ · triện đỏ
   ========================================================================= */
:root {
  /* nền giấy ấm */
  --kem:        #F7F4EC;   /* nền chính — ngà ấm */
  --kem-2:      #EFE9DA;   /* nền phụ sâu hơn */
  --card:       #FCFBF7;   /* nền thẻ gần trắng */
  /* mực / navy */
  --navy:       #1E3A5F;   /* thương hiệu mid (dùng inline) */
  --navy-2:     #13243A;   /* mực đậm */
  --ink:        #16222E;   /* mực gần đen — chữ tiêu đề */
  /* xanh sương */
  --xanh:       #8AA6C2;   /* sương xanh dịu */
  --xanh-tint:  #E7EEF6;   /* nền xanh nhạt */
  /* triện đỏ — rất tiết chế */
  --do:         #9B1C1C;
  --do-2:       #7c1414;
  --do-tint:    #EFDCDC;
  /* vàng cổ / đồng thau */
  --vang:       #AE8641;   /* vàng cổ tinh tế */
  --vang-2:     #8f6d30;
  --vang-soft:  #D9C089;   /* vàng nhạt sang */
  /* chữ */
  --muc:        #202E3A;   /* chữ chính */
  --xam:        #5C6874;   /* chữ phụ */
  --xam-2:      #8A94A0;   /* chữ mờ */
  --line:       #E7E1D3;   /* hairline */
  --line-2:     #EFEADD;
  /* type */
  --serif: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* bóng — mềm, rộng, sang */
  --shadow-lg: 0 44px 100px -46px rgba(19,36,58,.42);
  --shadow:    0 28px 66px -34px rgba(19,36,58,.32);
  --shadow-sm: 0 12px 34px -20px rgba(19,36,58,.26);
  --r:    18px;
  --r-lg: 26px;
  --r-sm: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--muc);
  background: var(--kem);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2 { font-family: var(--serif); color: var(--ink); line-height: 1.06; font-weight: 600; letter-spacing: -.01em; }
h3, h4, h5 { font-family: var(--sans); color: var(--ink); line-height: 1.28; font-weight: 600; letter-spacing: -.01em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--vang-soft); color: var(--ink); }

/* Chỉ cân dòng cho tiêu đề lớn; phần thân để dòng chảy dài, thoáng hơn */
h1, h2 { text-wrap: balance; }

.wrap { width: min(1180px, 92vw); margin-inline: auto; }
.wrap.narrow { width: min(900px, 92vw); }
section { padding: 108px 0; position: relative; }

/* ---------- Eyebrow (nhãn nhỏ thư pháp) ---------- */
.eyebrow {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .32em;
  font-size: 11.5px; font-weight: 600; color: var(--do);
  display: inline-flex; align-items: center; gap: 11px;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: linear-gradient(90deg, transparent, var(--vang)); }
.eyebrow.light { color: var(--vang-soft); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::before { display: none; }
.center .eyebrow::after { content: ""; width: 44px; height: 1px; background: linear-gradient(90deg, transparent, var(--vang) 40%, var(--vang) 60%, transparent); margin-top: 2px; }
.center .eyebrow { flex-direction: column; gap: 12px; }

.lead { font-size: 19px; color: var(--xam); max-width: 760px; line-height: 1.75; }
.center .lead, .center-x { margin-inline: auto; }
.center h2 { margin-inline: auto; }
section h2 { font-size: clamp(32px, 4.4vw, 52px); }
.center-x { max-width: 820px; }
.eyebrow + h1, .eyebrow + h2 { margin-top: 20px; }

/* ---------- Nét cọ / đường phân cách mực ---------- */
.rule-ink { height: 1px; width: 120px; margin: 22px auto; background: linear-gradient(90deg, transparent, var(--vang) 20%, var(--vang) 80%, transparent); opacity: .7; }

/* =========================================================================
   BUTTONS — sang, tối giản
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  padding: 14px 28px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--kem); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(180deg, #c39a4f 0%, var(--vang) 55%, var(--vang-2) 100%);
  color: #1c130a; box-shadow: 0 14px 30px -14px rgba(174,134,65,.7);
  border-color: rgba(255,255,255,.25);
}
.btn-gold:hover { filter: brightness(1.05); transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgba(174,134,65,.85); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(22,34,46,.28); }
.btn-ghost:hover { background: var(--ink); color: var(--kem); border-color: var(--ink); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 36px; font-size: 16px; }
.btn-sm { padding: 9px 17px; font-size: 13.5px; }

/* =========================================================================
   PROMO BAR
   ========================================================================= */
.promo {
  background: var(--ink); color: var(--vang-soft);
  text-align: center; font-size: 13px; letter-spacing: .04em; font-weight: 400;
  padding: 11px 16px;
}
.promo b { color: #fff; font-weight: 600; }
.promo .code { display: inline-block; border: 1px dashed var(--vang); color: var(--kem); padding: 1px 9px; border-radius: 6px; margin-left: 6px; font-weight: 600; }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,244,236,.82); backdrop-filter: blur(16px) saturate(1.1);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 30px; height: 78px; }
.brand { display: flex; align-items: center; gap: 11px; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--muc); position: relative; transition: color .2s; white-space: nowrap; }
.nav-links a:hover { color: var(--do); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 1.5px; width: 0; background: var(--vang); transition: width .28s cubic-bezier(.2,.7,.2,1); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-burger { display: none; background: none; border: 0; font-size: 24px; color: var(--ink); cursor: pointer; }

/* =========================================================================
   HERO — thủy mặc, enso, sương
   ========================================================================= */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 78% 8%, #fbfaf5 0%, var(--kem) 42%, var(--kem-2) 100%); }
.hero::before {
  /* vòng thiền enso mờ phía sau */
  content: ""; position: absolute; top: -6%; right: -4%; width: 640px; height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 60%, rgba(138,166,194,.16) 61%, rgba(138,166,194,.05) 70%, transparent 74%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; padding: 78px 0 40px; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(44px, 6.2vw, 78px); letter-spacing: -.02em; font-weight: 600; }
.hero h1 .hl { color: var(--do); font-style: italic; position: relative; white-space: nowrap; }
/* Nét gạch chân bút lông vàng (thuỷ mặc) dưới chữ "gốc" — SVG vẽ tay, kéo giãn theo bề rộng chữ */
.hero h1 .hl::after {
  content: ""; position: absolute; left: -4%; right: -4%; bottom: -.04em; height: .36em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 20' preserveAspectRatio='none'%3E%3Cpath d='M3 12 C 26 5 54 15 80 9 C 98 5 111 9 117 12 C 100 13 92 11 80 13 C 54 18 26 10 6 16 C 3.5 16.5 2 13.5 3 12 Z' fill='%23AE8641'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .hl::after { transform: scaleX(0); transform-origin: left center; animation: hlBrush 1s cubic-bezier(.22,.61,.36,1) .55s forwards; }
}
@keyframes hlBrush { to { transform: scaleX(1); } }
.hero p.sub { font-family: var(--sans); font-size: 19px; color: var(--muc); margin: 24px 0 16px; max-width: 600px; line-height: 1.8; font-weight: 400; }
.hero .quote { font-family: var(--serif); font-style: italic; color: var(--ink); font-size: 20px; border-left: 2px solid var(--vang); padding-left: 16px; margin: 18px 0 26px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-trust { display: flex; gap: 26px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust span { font-size: 13.5px; color: var(--xam); display: flex; align-items: center; gap: 8px; font-weight: 400; }
.hero-trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--vang); box-shadow: 0 0 0 3px rgba(174,134,65,.14); }

/* hero visual — chân dung thủy mặc trong khung enso vàng */
.hero-card { position: relative; }
.hero-portrait-wrap { position: relative; }
.hero-portrait {
  position: relative; border-radius: 200px 200px var(--r-lg) var(--r-lg); overflow: hidden;
  aspect-ratio: 1/1; background: var(--kem-2);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.hero-portrait:hover img { transform: scale(1.035); }
.hero-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(19,36,58,.42) 100%); pointer-events: none; }
.hero-ring { position: absolute; inset: -28px; border: 1px solid var(--vang); border-radius: 50%; opacity: .5; pointer-events: none; }
.hero-ring.two { inset: -14px; border-color: var(--xanh); opacity: .35; border-style: dashed; }
.hero-floating {
  position: absolute; left: -26px; bottom: 34px; z-index: 3;
  background: rgba(252,251,247,.94); backdrop-filter: blur(6px);
  border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px;
}
.hero-floating .hf-num { font-family: var(--serif); font-size: 40px; font-weight: 600; color: var(--do); line-height: 1; }
.hero-floating .hf-txt b { display: block; font-size: 14px; color: var(--ink); font-weight: 600; }
.hero-floating .hf-txt span { font-size: 12.5px; color: var(--xam); }
.hero-seal { position: absolute; top: 20px; right: 20px; width: 62px; height: 62px; z-index: 3; opacity: .95; filter: drop-shadow(0 6px 14px rgba(0,0,0,.2)); }

/* poster (giữ tương thích nếu dùng lại) */
.hero-poster { aspect-ratio: 16/10; position: relative; display: grid; place-items: center; background: radial-gradient(120% 120% at 50% 0%, #2b4a73 0%, #15293f 70%); border-radius: var(--r-lg); overflow: hidden; }
.hero-poster .play { width: 76px; height: 76px; border-radius: 50%; background: rgba(248,247,242,.95); display: grid; place-items: center; color: var(--navy); font-size: 26px; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .2s; }
.hero-poster .play:hover { transform: scale(1.06); }
.hero-poster .tag { position: absolute; top: 16px; left: 16px; background: var(--do); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; letter-spacing: .03em; }
.hero-poster .badge-num { position: absolute; bottom: 16px; left: 18px; color: var(--kem); font-family: var(--serif); }
.hero-poster .badge-num b { font-size: 30px; display: block; color: var(--vang-soft); }
.hero-mountains { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; opacity: .85; }
.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 26px; }
.hero-stats .st { text-align: center; padding: 16px 8px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.hero-stats .st b { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--ink); display: block; line-height: 1; }
.hero-stats .st i { font-style: normal; font-size: 12px; font-weight: 600; color: var(--do); text-transform: uppercase; letter-spacing: .06em; display: block; margin-top: 6px; }
.hero-stats .st small { display: block; font-size: 11.5px; color: var(--xam); margin-top: 3px; }

/* dải logo tin cậy dưới hero */
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(252,251,247,.6); }
.trust-strip .wrap { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; padding: 26px 0; }
.trust-strip .ts-item { display: flex; align-items: center; gap: 12px; color: var(--xam); font-size: 14px; }
.trust-strip .ts-item b { font-family: var(--serif); font-size: 26px; color: var(--ink); font-weight: 600; }
.trust-strip .ts-sep { width: 1px; height: 30px; background: var(--line); }

/* =========================================================================
   NỖI ĐAU
   ========================================================================= */
#noidau { background: var(--card); }
.pain-list { max-width: 780px; margin: 36px auto 0; display: grid; gap: 0; }
.pain-list p { font-size: 19px; color: var(--muc); padding: 20px 4px 20px 34px; border-bottom: 1px solid var(--line); position: relative; font-weight: 300; }
.pain-list p:first-child { border-top: 1px solid var(--line); }
.pain-list p::before { content: "—"; position: absolute; left: 0; color: var(--vang); }
.soft-note { color: var(--xam); font-style: italic; margin-top: 30px; font-family: var(--serif); font-size: 21px; }
.soft-note.center { text-align: center; }

/* =========================================================================
   NHẬN THỨC ĐẢO NGƯỢC
   ========================================================================= */
.reframe { background: linear-gradient(180deg, var(--kem) 0%, var(--kem-2) 100%); }
.steps-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 54px; }
.step { text-align: center; padding: 26px 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); position: relative; box-shadow: var(--shadow-sm); }
.step b { display: block; font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--vang); margin-bottom: 10px; }
.step span { font-size: 13.5px; color: var(--ink); font-weight: 500; line-height: 1.4; }
.step:not(:last-child)::after { content: ""; position: absolute; right: -9px; top: 50%; width: 14px; height: 1px; background: var(--vang); transform: translateY(-50%); opacity: .6; }

/* =========================================================================
   TRIẾT LÝ + THƠ (nền mực)
   ========================================================================= */
.philosophy { background: var(--ink); color: var(--kem); position: relative; overflow: hidden; }
.philosophy::before { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(circle, transparent 58%, rgba(217,192,137,.10) 59%, transparent 66%); pointer-events: none; }
.philosophy .eyebrow.light { color: var(--vang-soft); }
.philo-def { font-size: 24px; line-height: 1.8; color: #eef1f6; margin: 24px auto 42px; font-family: var(--serif); max-width: 860px; font-weight: 500; }
.philo-def b { color: var(--vang-soft); font-style: italic; font-weight: 600; }
.poem { margin: 0 auto 42px; max-width: 480px; padding: 40px; border: 1px solid rgba(217,192,137,.28); border-radius: 22px; position: relative; background: rgba(255,255,255,.03); }
.poem-seal { width: 60px; height: 60px; margin: 0 auto 18px; display: block; }
.poem blockquote { font-family: var(--serif); font-size: 25px; line-height: 1.95; color: var(--kem); font-style: italic; font-weight: 500; }
.philo-after { font-size: 18px; line-height: 1.85; color: #cfd8e2; max-width: 780px; margin-inline: auto; font-weight: 300; }

/* =========================================================================
   GAME — Hành trình Tự Vững (thẻ mời chơi cao cấp)
   ========================================================================= */
.game-feature { display: grid; grid-template-columns: 1.02fr .98fr; gap: 60px; align-items: center; }
.gf-text h2 { font-size: clamp(32px, 4.4vw, 46px); margin: 18px 0 14px; }
.gf-text .lead { max-width: 520px; }
.gf-points { list-style: none; padding: 0; margin: 30px 0 32px; display: flex; gap: 34px; flex-wrap: wrap; }
.gf-points li { font-size: 13.5px; color: var(--xam); display: flex; flex-direction: column; line-height: 1.4; max-width: 140px; }
.gf-points li span { font-family: var(--serif); font-size: 38px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.gf-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.gf-visual { display: block; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease; }
.gf-visual:hover { transform: translateY(-6px); box-shadow: 0 40px 90px -34px rgba(19,36,58,.55); }
.gf-panel { position: relative; aspect-ratio: 4/3; background: radial-gradient(120% 120% at 50% 0%, #2b4a73 0%, #13243A 74%); display: grid; place-items: center; }
.gf-tag { position: absolute; top: 20px; left: 22px; color: var(--vang-soft); font-size: 12px; font-weight: 600; letter-spacing: .12em; z-index: 2; }
.gf-mountains { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 40%; }
.gf-play-wrap { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.gf-play { width: 88px; height: 88px; border-radius: 50%; background: rgba(248,247,242,.96); display: grid; place-items: center; color: var(--navy); font-size: 28px; padding-left: 5px; box-shadow: 0 14px 38px rgba(0,0,0,.42); transition: transform .2s ease; }
.gf-visual:hover .gf-play { transform: scale(1.08); }
.gf-play-cap { color: var(--kem); font-family: var(--serif); font-size: 16px; letter-spacing: .02em; font-style: italic; }

/* =========================================================================
   LỘ TRÌNH — 3 khoá
   ========================================================================= */
.course-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; margin-top: 54px; text-align: left; }
.course-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 34px 30px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s ease, border-color .28s ease;
}
.course-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent, var(--navy)); opacity: .9; }
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent, var(--navy)) 30%, var(--line)); }
.cc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.cc-step { font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--accent, var(--navy)); letter-spacing: .02em; font-style: italic; }
.cc-badge { font-size: 10.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--kem-2); color: var(--xam); letter-spacing: .08em; text-transform: uppercase; }
.course-card h3 { font-size: 23px; line-height: 1.25; font-family: var(--serif); font-weight: 600; letter-spacing: 0; }
.cc-tag { font-family: var(--serif); font-style: italic; color: var(--do); font-size: 16px; margin: 10px 0 14px; }
.cc-desc { color: var(--xam); font-size: 14px; flex: 1; }
.cc-points { list-style: none; margin: 6px 0 22px; padding: 0; flex: 1; display: grid; gap: 11px; }
.cc-points li { font-size: 14.5px; color: var(--muc); padding-left: 26px; position: relative; font-weight: 400; }
.cc-points li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 1px; background: var(--vang); }
.cc-meta { display: flex; gap: 16px; margin: 16px 0 12px; font-size: 13px; color: var(--muc); font-weight: 500; }
.cc-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line); }
.cc-price b { font-family: var(--serif); font-size: 34px; font-weight: 700; color: var(--ink); }
.cc-price s { color: var(--xam-2); font-size: 16px; }
.cc-price em { font-style: normal; background: var(--do-tint); color: var(--do); font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 6px; }
.cc-actions { display: grid; gap: 10px; }

/* =========================================================================
   NỘI DUNG CHI TIẾT — tabs + detail + curriculum
   ========================================================================= */
.course-tabs { display: flex; gap: 10px; margin: 44px 0 26px; flex-wrap: wrap; }
.course-tab { background: var(--card); border: 1px solid var(--line); color: var(--muc); font-family: var(--sans); font-weight: 600; font-size: 14.5px; padding: 11px 22px; border-radius: 999px; cursor: pointer; transition: all .2s; }
.course-tab:hover { border-color: var(--ink); }
.course-tab.active { background: var(--ink); color: var(--kem); border-color: var(--ink); }

.course-detail { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 38px; box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.cd-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 22px; margin-bottom: 24px; }
.cd-head h3 { font-size: 26px; font-family: var(--serif); font-weight: 600; margin-top: 2px; }
.cd-tag { font-family: var(--serif); font-style: italic; color: var(--do); margin-top: 6px; font-size: 16px; }
.cd-meta { display: flex; gap: 16px; font-size: 13px; font-weight: 500; color: var(--muc); white-space: nowrap; }
.cd-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 34px; }
.cd-learn h4, .cd-for h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--do); margin-bottom: 14px; font-weight: 600; }
.cd-learn ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.cd-learn li { font-size: 15px; padding-left: 26px; position: relative; color: var(--muc); }
.cd-learn li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 1px; background: var(--vang); }
.cd-for p { color: var(--xam); font-size: 15px; margin-bottom: 18px; }
.cd-for .btn { display: flex; }

.mod-label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--do); }

/* Curriculum modules */
#noidung { background: var(--kem-2); }
.cur-grid { display: grid; gap: 16px; margin-top: 40px; }
.module { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); }
.module > .mod-head { display: flex; align-items: center; gap: 18px; padding: 22px 26px; cursor: pointer; border-left: 3px solid var(--vang); user-select: none; }
.module.is-free > .mod-head { border-left-color: var(--xanh); }
.mod-head h3 { font-size: 20px; margin-top: 3px; font-family: var(--serif); font-weight: 600; }
.mod-head .mod-meta { margin-left: auto; text-align: right; display: flex; align-items: center; gap: 10px; }
.pill { display: inline-block; font-size: 10.5px; font-weight: 600; padding: 4px 12px; border-radius: 999px; letter-spacing: .06em; text-transform: uppercase; }
.pill-free { background: var(--xanh-tint); color: var(--navy); }
.pill-pro { background: var(--do-tint); color: var(--do); }
.mod-head .chev { transition: transform .25s; color: var(--xam); font-size: 14px; }
.module.open .chev { transform: rotate(180deg); }
.mod-body { display: none; padding: 4px 26px 16px; }
.module.open .mod-body { display: block; }
.lesson-row { display: flex; align-items: center; gap: 16px; padding: 15px 4px; border-top: 1px solid var(--line); }
.lesson-row .lx { width: 32px; height: 32px; border-radius: 9px; background: var(--kem-2); color: var(--navy); display: grid; place-items: center; font-size: 13px; flex: none; }
.lesson-row .lt { flex: 1; }
.lesson-row .lt b { font-weight: 500; color: var(--muc); font-family: var(--sans); font-size: 15px; }
.lesson-row .lt small { display: block; color: var(--xam); font-size: 13px; }
.lesson-row .ld { color: var(--xam); font-size: 13px; display: flex; align-items: center; gap: 10px; flex: none; }
.lesson-row .free-tag { font-size: 11px; color: var(--do); font-weight: 600; }

/* =========================================================================
   HỌC VIÊN NHẬN ĐƯỢC GÌ
   ========================================================================= */
.get-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px; }
.get { padding: 32px 30px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .24s ease, box-shadow .24s ease; }
.get:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.get .gi { font-size: 24px; color: var(--vang); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(160deg, #fbf6ea, #f0e7d2); border: 1px solid var(--line); margin-bottom: 18px; }
.get b { font-size: 18px; color: var(--ink); display: block; margin-bottom: 8px; font-family: var(--serif); font-weight: 600; }
.get p { font-size: 14.5px; color: var(--xam); }

/* =========================================================================
   GIẢNG VIÊN
   ========================================================================= */
.teacher { background: var(--kem-2); overflow: hidden; }
.teacher-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 56px; align-items: center; }
.teacher-photo { aspect-ratio: 4/5; border-radius: 24px; background: var(--kem); display: grid; place-items: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; border: 1px solid var(--line); }
.teacher-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s ease; }
.teacher-photo:hover img { transform: scale(1.035); }
.teacher h2 { font-size: clamp(34px, 4vw, 44px); }
.teacher .role { color: var(--do); font-weight: 600; letter-spacing: .02em; margin: 8px 0 20px; font-size: 15px; }
.teacher p { color: var(--muc); margin-bottom: 16px; font-weight: 400; font-size: 16.5px; }
.teacher .credo { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink); border-left: 2px solid var(--vang); padding-left: 18px; margin-top: 22px; font-weight: 500; }

/* =========================================================================
   TRƯỚC & SAU
   ========================================================================= */
.ba { background: var(--card); }
.ba-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 26px; align-items: center; margin-top: 54px; }
.ba-col { background: var(--kem); border: 1px solid var(--line); border-radius: 22px; padding: 36px; box-shadow: var(--shadow-sm); }
.ba-col h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; font-weight: 600; }
.ba-col.before { opacity: .96; } .ba-col.before h4 { color: var(--xam); }
.ba-col.after { border-color: color-mix(in srgb, var(--vang) 40%, var(--line)); background: linear-gradient(180deg, #fdfbf5, var(--kem)); } .ba-col.after h4 { color: var(--do); }
.ba-col ul { list-style: none; padding: 0; display: grid; gap: 14px; }
.ba-col li { font-size: 15.5px; color: var(--muc); padding-left: 26px; position: relative; }
.ba-col.before li::before { content: "—"; position: absolute; left: 0; color: var(--xam-2); }
.ba-col.after li::before { content: "✓"; position: absolute; left: 0; color: var(--vang-2); font-weight: 700; }
.ba-arrow { font-size: 26px; color: var(--vang); }

/* =========================================================================
   TESTIMONIALS
   ========================================================================= */
.tst-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; margin-top: 50px; }
.tst { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow-sm); position: relative; transition: transform .24s ease, box-shadow .24s ease; }
.tst:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tst .qm { font-family: var(--serif); font-size: 54px; color: var(--vang); line-height: .6; }
.tst p { color: var(--muc); margin: 10px 0 18px; font-size: 16px; font-family: var(--serif); font-style: italic; }
.tst .who { display: flex; align-items: center; gap: 12px; }
.tst .av { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--kem); display: grid; place-items: center; font-family: var(--serif); font-weight: 600; }
.tst .who b { font-size: 15px; color: var(--ink); }
.tst .who small { display: block; color: var(--xam); font-size: 13px; }
.tst-empty { margin: 50px auto 0; max-width: 660px; text-align: center; background: linear-gradient(180deg, #fdfbf5, var(--kem)); border: 1px solid var(--line); border-radius: 22px; padding: 48px 32px; box-shadow: var(--shadow-sm); }
.tst-empty-ic { font-size: 36px; color: var(--vang); line-height: 1; }
.tst-empty h3 { margin: 16px 0 10px; font-size: 23px; font-family: var(--serif); font-weight: 600; }
.tst-empty p { color: var(--muc); font-size: 15.5px; max-width: 540px; margin: 0 auto 22px; }

/* =========================================================================
   HỌC PHÍ — 3 cột
   ========================================================================= */
#hocphi { background: var(--kem-2); }
.price-grid-3 { display: grid; grid-template-columns: 1fr 1.16fr 1fr; gap: 24px; margin-top: 54px; align-items: center; }
.plan3 { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 36px 30px; text-align: center; box-shadow: var(--shadow-sm); }
.plan3.feature { border: 1.5px solid var(--vang); box-shadow: var(--shadow-lg); padding: 46px 34px; position: relative; background: linear-gradient(180deg, #fdfaf2, var(--card)); }
.plan3 .ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(180deg, #c39a4f, var(--vang-2)); color: #1c130a; font-size: 12px; font-weight: 600; padding: 6px 18px; border-radius: 999px; white-space: nowrap; letter-spacing: .04em; box-shadow: 0 10px 24px -10px rgba(174,134,65,.6); }
.plan3 h3 { font-size: 21px; font-family: var(--serif); font-weight: 600; }
.plan3 .p3 { font-family: var(--serif); margin: 16px 0 6px; }
.plan3 .p3 b { font-size: 34px; font-weight: 700; color: var(--do); display: block; }
.plan3.feature .p3 b { font-size: 44px; }
.plan3 .p3 s { color: var(--xam-2); font-size: 15px; font-family: var(--sans); }
.plan3 p { color: var(--xam); font-size: 14px; margin-bottom: 24px; }
.buy-link { color: var(--do); font-weight: 600; cursor: pointer; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq-list { max-width: 800px; margin: 46px auto 0; display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item.open { border-color: color-mix(in srgb, var(--vang) 30%, var(--line)); box-shadow: var(--shadow-sm); }
.faq-q { display: flex; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; font-weight: 500; color: var(--ink); font-size: 16px; }
.faq-q .pm { margin-left: auto; color: var(--vang); font-size: 22px; transition: transform .25s; font-weight: 300; }
.faq-item.open .pm { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 24px 22px; color: var(--xam); font-size: 15px; }
.faq-item.open .faq-a { display: block; }

/* =========================================================================
   CTA BAND
   ========================================================================= */
.cta-band { background: var(--ink); color: var(--kem); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, transparent 56%, rgba(217,192,137,.12) 57%, transparent 64%); }
.cta-band h2 { color: var(--kem); font-size: clamp(32px, 4vw, 46px); position: relative; }
.cta-band p { color: #cfd8e2; max-width: 580px; margin: 18px auto 30px; position: relative; font-weight: 300; }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-trien { width: 68px; height: 68px; margin: 0 auto 22px; display: block; position: relative; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { background: var(--navy-2); color: #9fb0c2; padding: 64px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; }
.footer p { font-size: 14.5px; margin-top: 14px; max-width: 320px; font-weight: 300; line-height: 1.7; }
.footer h5 { color: var(--kem); font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.footer a { display: block; font-size: 14.5px; padding: 6px 0; color: #9fb0c2; transition: color .2s; }
.footer a:hover { color: var(--vang-soft); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 44px; padding-top: 24px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* =========================================================================
   LOGO ẢNH THẬT
   ========================================================================= */
.logo-img { height: 54px; width: auto; display: block; }
.nav .logo-img { height: 52px; }
.logo-foot { height: 66px; margin-bottom: 8px; }
.app-bar .brand { display: flex; align-items: center; gap: 12px; }
.logo-app { height: 40px; }
.app-tag { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--vang-soft); }

/* =========================================================================
   MODALS
   ========================================================================= */
.modal-bg { position: fixed; inset: 0; background: rgba(19,36,58,.58); backdrop-filter: blur(6px); display: none; place-items: center; z-index: 100; padding: 20px; }
.modal-bg.show { display: grid; }
.modal { background: var(--kem); border-radius: 24px; width: min(440px, 100%); padding: 40px; box-shadow: var(--shadow-lg); position: relative; animation: pop .25s cubic-bezier(.2,.7,.2,1); border: 1px solid var(--line); }
@keyframes pop { from { transform: translateY(14px) scale(.98); opacity: 0; } }
.modal .x { position: absolute; top: 18px; right: 20px; background: none; border: 0; font-size: 22px; color: var(--xam); cursor: pointer; transition: color .2s; }
.modal .x:hover { color: var(--ink); }
.modal .mtitle { text-align: center; margin-bottom: 8px; font-size: 26px; font-family: var(--serif); font-weight: 600; }
.modal .msub { text-align: center; color: var(--xam); font-size: 14px; margin-bottom: 24px; }
.modal-trien { text-align: center; margin: -8px 0 6px; }
.modal-trien img { width: 52px; height: 52px; display: inline-block; }
.gbtn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--line); background: var(--card); padding: 13px; border-radius: 12px; font-weight: 500; cursor: pointer; font-size: 15px; color: var(--muc); transition: border-color .2s, background .2s; }
.gbtn:hover { border-color: var(--ink); }
.gbtn svg { width: 18px; height: 18px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--xam-2); font-size: 12px; margin: 20px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 7px; }
.field input { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; font-family: var(--sans); font-size: 15px; background: var(--card); transition: border-color .2s, box-shadow .2s; }
.field input:focus { outline: none; border-color: var(--vang); box-shadow: 0 0 0 3px rgba(174,134,65,.14); }
.modal .swap { text-align: center; font-size: 14px; margin-top: 18px; color: var(--xam); }
.modal .swap a { color: var(--do); font-weight: 600; cursor: pointer; }
.tiny { font-size: 12px; color: var(--xam-2); text-align: center; margin-top: 16px; }
.auth-err { color: var(--do); font-size: 13.5px; text-align: center; min-height: 16px; margin-bottom: 4px; font-weight: 500; }

/* Modal thanh toán */
.pay-amount { text-align: center; font-family: var(--serif); font-size: 40px; font-weight: 700; color: var(--do); margin: 8px 0 14px; }
.pay-qr { display: block; width: 220px; max-width: 70%; margin: 0 auto; border-radius: 14px; border: 1px solid var(--line); }
.pay-box { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 8px 18px; margin-bottom: 18px; }
.pay-box div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.pay-box div:last-child { border-bottom: 0; }
.pay-box span { color: var(--xam); font-size: 13.5px; }
.pay-box b { color: var(--ink); font-size: 14.5px; text-align: right; }
.co-input { flex: 1; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-family: var(--sans); font-size: 15px; background: var(--card); }

/* Tài khoản / Affiliate */
.modal-wide { width: min(580px, 100%); text-align: left; }
.acc-row { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.acc-row span { color: var(--xam); }
.acc-h { font-size: 15px; color: var(--ink); margin: 24px 0 12px; font-weight: 600; }
.acc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.acc-table th { text-align: left; color: var(--xam); font-size: 12px; text-transform: uppercase; padding: 8px; border-bottom: 1px solid var(--line); letter-spacing: .04em; }
.acc-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); }
.acc-sub { color: var(--xam); font-size: 14px; margin-bottom: 12px; }
.o-stt { font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; }
.o-stt.s-pending { background: #FCEFD3; color: #9a6a00; } .o-stt.s-paid { background: var(--xanh-tint); color: var(--navy); }
.o-stt.s-cancelled { background: #eee; color: #888; }
.verified { color: #2e7d32; font-size: 13px; font-weight: 500; }
.tbtn-link { background: none; border: 0; color: var(--do); font-weight: 600; cursor: pointer; font-size: 13px; }
.acc-qna { display: flex; flex-direction: column; gap: 10px; }
.acc-q { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.acc-q-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.acc-q-top b { font-size: 14px; color: var(--ink); }
.acc-q-body { margin: 6px 0 0; font-size: 14px; color: var(--muc); line-height: 1.5; }
.acc-q-ans { margin-top: 10px; padding: 12px 14px; background: var(--xanh-tint); border-radius: 12px; }
.acc-q-ans span { font-size: 12px; font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: .04em; }
.acc-q-ans p { margin: 4px 0 0; font-size: 14px; color: var(--muc); line-height: 1.55; }
.ref-link { display: flex; gap: 8px; margin-bottom: 16px; }
.ref-link input { flex: 1; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; background: var(--card); }
.ref-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ref-stats div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; text-align: center; }
.ref-stats b { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--ink); display: block; }
.ref-stats span { font-size: 12px; color: var(--xam); }

/* =========================================================================
   KHU HỌC (APP) — chuyên nghiệp hơn
   ========================================================================= */
.app { display: none; min-height: 100vh; background: var(--kem); }
body.in-app .app { display: block; }
body.in-app .site { display: none; }

.app-bar { height: 66px; background: var(--ink); color: var(--kem); display: flex; align-items: center; gap: 20px; padding: 0 26px; position: sticky; top: 0; z-index: 40; border-bottom: 1px solid rgba(255,255,255,.06); }
.app-bar .sp { margin-left: auto; }
.app-bar .prog-mini { font-size: 13px; color: var(--xanh); display: flex; align-items: center; gap: 10px; }
.app-bar .prog-mini .bar { width: 120px; height: 6px; background: rgba(255,255,255,.14); border-radius: 999px; overflow: hidden; }
.app-bar .prog-mini .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--vang), var(--vang-soft)); border-radius: 999px; transition: width .4s; }
.app-bar .app-nav-btn { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: var(--kem); font-family: var(--sans); font-size: 13.5px; font-weight: 500; padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: background .2s; }
.app-bar .app-nav-btn:hover { background: rgba(255,255,255,.16); }
.app-user { display: flex; align-items: center; gap: 10px; position: relative; }
.app-user .av { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(180deg, var(--vang-soft), var(--vang)); color: #1c130a; display: grid; place-items: center; font-weight: 600; font-family: var(--serif); cursor: pointer; }
.user-menu { display: none; position: absolute; right: 0; top: 48px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; min-width: 180px; z-index: 50; }
.user-menu.show { display: block; }
.user-menu button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 13px 18px; font-family: var(--sans); font-size: 14.5px; color: var(--muc); cursor: pointer; transition: background .15s; }
.user-menu button:hover { background: var(--kem); }
.plan-btn { background: none; border: 1px solid rgba(255,255,255,.22); color: var(--kem); font-size: 13px; padding: 7px 13px; border-radius: 999px; cursor: pointer; margin-left: 14px; white-space: nowrap; }
.plan-btn:hover { background: rgba(255,255,255,.1); }

.app-layout { display: grid; grid-template-columns: 340px 1fr; min-height: calc(100vh - 66px); }
.app-layout.dash { grid-template-columns: 1fr; }
.app-layout.dash .side { display: none; }

.side { background: var(--card); border-right: 1px solid var(--line); overflow-y: auto; max-height: calc(100vh - 66px); position: sticky; top: 66px; }
.side-head { padding: 26px 24px 16px; border-bottom: 1px solid var(--line); }
.side-lbl { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--xam); display: block; margin-bottom: 10px; }
#courseSelect { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--ink); background: var(--kem); cursor: pointer; }
#courseSelect:focus { outline: none; border-color: var(--vang); }
#courseSub { font-size: 13px; color: var(--xam); margin-top: 10px; }
.side-mod { border-bottom: 1px solid var(--line); }
.side-mod-h { padding: 16px 24px 8px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--xam-2); display: flex; align-items: center; gap: 8px; }
.s-lesson { display: flex; align-items: center; gap: 12px; padding: 13px 24px; cursor: pointer; border-left: 3px solid transparent; transition: background .15s; }
.s-lesson:hover { background: var(--kem); }
.s-lesson.active { background: var(--xanh-tint); border-left-color: var(--navy); }
.s-lesson.locked { opacity: .55; cursor: not-allowed; }
.s-lesson .ck { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: 12px; flex: none; color: transparent; }
.s-lesson.done .ck { background: var(--vang); border-color: var(--vang); color: #1c130a; }
.s-lesson .si { flex: 1; min-width: 0; }
.s-lesson .si b { font-size: 14px; font-weight: 500; color: var(--muc); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--sans); }
.s-lesson .si small { font-size: 12px; color: var(--xam); }
.s-lesson .lock-ic { color: var(--xam); font-size: 13px; }

.stage { padding: 38px 48px 70px; max-width: 1000px; }
.player { aspect-ratio: 16/9; background: #000; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); position: relative; }
.player iframe { width: 100%; height: 100%; border: 0; }
.player-load, .player-msg { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; color: var(--kem); padding: 24px; }
.player-load { color: #8aa0b8; font-size: 14px; }
.player-msg .ic { font-size: 36px; }
.player-msg b { color: var(--kem); font-size: 18px; font-family: var(--serif); font-weight: 600; }
.player-msg p { color: #aebccb; font-size: 14px; max-width: 420px; }
.player-msg .btn { margin-top: 8px; }
.stage .l-meta { margin: 28px 0 6px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.stage .l-meta .lbl { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--do); }
.stage h1 { font-size: 32px; margin: 8px 0 14px; font-family: var(--serif); font-weight: 600; }
.stage .l-desc { color: var(--muc); font-size: 16.5px; max-width: 740px; }
.stage .l-actions { display: flex; gap: 12px; align-items: center; margin: 30px 0; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); }
.stage .nav-l { margin-left: auto; display: flex; gap: 10px; }
.locked-note { background: linear-gradient(180deg, #fdf2f2, var(--do-tint)); border: 1px solid #e6c4c4; border-radius: 18px; padding: 24px; display: flex; gap: 16px; align-items: center; margin-top: 24px; }
.locked-note .ic { font-size: 30px; }
.locked-note b { color: var(--do); }
.locked-note p { font-size: 14px; color: var(--muc); margin-top: 2px; }

/* Dashboard học viên */
.dash { max-width: 1040px; margin: 0 auto; padding: 10px 6px 44px; }
.dash-hero { display: flex; justify-content: space-between; align-items: flex-start; gap: 26px; margin-bottom: 30px; }
.dash-hero .lbl { font-family: var(--sans); text-transform: uppercase; letter-spacing: .2em; font-size: 11px; font-weight: 600; color: var(--do); }
.dash-hero h1 { font-size: clamp(28px, 4vw, 40px); margin: 10px 0 8px; font-family: var(--serif); font-weight: 600; }
.dash-credo { color: var(--xam); font-style: italic; font-family: var(--serif); font-size: 18px; }
.dash-streak { flex: none; text-align: center; background: linear-gradient(180deg, #fdfaf2, var(--card)); border: 1px solid var(--line); border-radius: 18px; padding: 16px 24px; box-shadow: var(--shadow-sm); }
.dash-streak b { display: block; font-family: var(--serif); font-size: 34px; font-weight: 600; color: var(--ink); line-height: 1; }
.dash-streak span { font-size: 12px; color: var(--xam); }
.dash-resume { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent, var(--navy)); border-radius: var(--r); padding: 24px 28px; box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.dash-resume .dr-lbl { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--do); font-weight: 600; }
.dash-resume b { display: block; font-family: var(--serif); font-size: 22px; color: var(--ink); margin: 6px 0 2px; font-weight: 600; }
.dash-resume small { color: var(--xam); }
.dash-sum { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 34px; }
.ds-cell { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; text-align: center; box-shadow: var(--shadow-sm); }
.ds-cell b { display: block; font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--ink); }
.ds-cell span { font-size: 13px; color: var(--xam); }
.dash-h { font-size: 22px; margin-bottom: 18px; font-family: var(--serif); font-weight: 600; }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px,1fr)); gap: 20px; }
.dash-course { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; position: relative; overflow: hidden; transition: transform .24s, box-shadow .24s; }
.dash-course::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent, var(--navy)); }
.dash-course:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dash-course h3 { font-size: 19px; margin: 6px 0 16px; font-family: var(--serif); font-weight: 600; }
.dc-top { display: flex; justify-content: space-between; align-items: center; }
.dc-step { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--accent, var(--navy)); }
.dc-own { font-size: 11px; font-weight: 600; color: #2e7d32; }
.dc-lock { font-size: 11px; font-weight: 600; color: var(--xam); }
.dc-bar { height: 8px; background: var(--kem-2); border-radius: 999px; overflow: hidden; }
.dc-bar i { display: block; height: 100%; border-radius: 999px; transition: width .5s; }
.dc-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--xam); margin: 10px 0 0; }
.dc-meta b { color: var(--ink); }
.dc-foot { margin-top: auto; padding-top: 18px; }
.dc-note { display: block; font-size: 13px; color: var(--xam); margin-bottom: 12px; }
.dc-note b { color: var(--ink); }
.dc-badge { display: inline-block; background: #e7f3e8; color: #2e7d32; font-weight: 600; font-size: 13px; padding: 6px 13px; border-radius: 999px; margin-bottom: 12px; }
.dc-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.dash-hint { text-align: center; color: var(--xam); font-style: italic; margin-top: 34px; font-family: var(--serif); font-size: 17px; }

/* Bài học — tài nguyên, tóm tắt, suy ngẫm */
.l-res { margin-top: 24px; } .l-res h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--do); margin-bottom: 12px; font-weight: 600; }
.l-res-list { display: flex; flex-wrap: wrap; gap: 10px; }
.l-res-list a { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 11px 16px; font-size: 14px; color: var(--ink); font-weight: 500; transition: border-color .2s; }
.l-res-list a:hover { border-color: var(--vang); }
.l-reflect { margin-top: 24px; display: flex; gap: 16px; background: var(--kem-2); border: 1px solid var(--line); border-left: 3px solid var(--vang); border-radius: 14px; padding: 22px 24px; }
.l-reflect .lr-ic { font-size: 24px; color: var(--vang); }
.l-reflect b { color: var(--ink); font-family: var(--serif); font-size: 17px; font-weight: 600; }
.l-reflect p { color: var(--muc); font-size: 15px; margin-top: 4px; }
.l-reflect p + p { margin-top: 8px; }
.l-summary { margin-top: 24px; background: var(--xanh-tint); border: 1px solid #c8dcef; border-radius: 16px; padding: 22px 24px; }
.l-summary h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--navy); margin-bottom: 12px; font-weight: 600; }
.l-summary-body { font-size: 15px; line-height: 1.8; color: var(--muc); }
.l-key { margin-top: 24px; }
.l-key h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--do); margin-bottom: 12px; font-weight: 600; }
.l-key ul { list-style: none; padding: 0; }
.l-key li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 15px; color: var(--muc); }
.l-key li::before { content: ""; position: absolute; left: 0; top: .6em; width: 14px; height: 1px; background: var(--vang); }
.l-hw { margin-top: 24px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--xanh); border-radius: 14px; padding: 20px 22px; }
.l-hw h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--navy); margin-bottom: 8px; font-weight: 600; }
.l-hw p { font-size: 15px; color: var(--muc); line-height: 1.7; }
.l-updating { margin-top: 18px; background: var(--kem-2); border: 1px dashed var(--vang-soft); border-radius: 12px; padding: 14px 18px; font-size: 14px; color: var(--xam); }
.l-soon { margin-top: 24px; display: flex; gap: 16px; background: var(--xanh-tint); border: 1px solid #c8dcef; border-radius: 16px; padding: 22px 24px; }
.l-soon .ls-ic { font-size: 22px; color: var(--vang); }
.l-soon b { color: var(--ink); font-family: var(--serif); font-size: 17px; font-weight: 600; }
.l-soon p { color: var(--muc); font-size: 14.5px; margin-top: 4px; }
.l-qna { margin-top: 24px; }
.l-qna h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--do); margin-bottom: 12px; font-weight: 600; }
.qna-box { display: flex; gap: 8px; }
.qna-box input { flex: 1; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-family: var(--sans); font-size: 15px; background: var(--card); }
.qna-box input:focus { outline: none; border-color: var(--vang); }
.lang-bar { display: flex; gap: 4px; flex-wrap: wrap; }
.lang-bar .lang { font-family: var(--sans); font-size: 12.5px; font-weight: 500; color: var(--xam); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; cursor: pointer; }
.lang-bar .lang:hover { border-color: var(--vang); }
.lang-bar .lang.active { background: var(--ink); color: var(--kem); border-color: var(--ink); }
.tr-note { font-size: 12.5px; color: var(--vang); font-style: italic; margin: -4px 0 8px; }

/* =========================================================================
   HÀNH TRÌNH TỰ VỮNG (tiến trình)
   ========================================================================= */
.journey { max-width: 1060px; margin: 40px auto 0; }
.jn-progress { display: flex; align-items: center; gap: 14px; max-width: 580px; margin: 0 auto; }
.jn-bar { flex: 1; height: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.jn-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--vang), var(--vang-soft)); border-radius: 999px; transition: width .5s ease; }
.jn-progress span { font-size: 13px; color: var(--ink); font-weight: 600; white-space: nowrap; }
.jn-milestone { text-align: center; color: var(--xam); font-family: var(--serif); font-style: italic; margin: 14px 0 26px; font-size: 17px; }
.jn-path { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; position: relative; }
.jn-node { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 16px; transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; }
.jn-node:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--xanh); }
.jn-node.done { border-color: var(--vang); background: #fffdf6; }
.jn-dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--kem-2); color: var(--navy); font-weight: 600; font-family: var(--serif); margin-bottom: 8px; }
.jn-node.done .jn-dot { background: var(--vang); color: #1c130a; }
.jn-step { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--do); font-weight: 600; }
.jn-node b { color: var(--ink); font-size: 15px; line-height: 1.3; }
.jn-node small { color: var(--xam); font-size: 12.5px; }
.jn-tag { margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--navy); }
.jn-node.done .jn-tag { color: #2e7d32; }

/* =========================================================================
   TOAST
   ========================================================================= */
.toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--kem); padding: 13px 24px; border-radius: 999px; font-size: 14px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; z-index: 200; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast b { color: var(--vang-soft); }

/* =========================================================================
   MOTION — reveal, thở nhẹ
   ========================================================================= */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
  .hero h1, .hero .sub, .hero-cta, .hero-trust { animation: tvUp 1s cubic-bezier(.2,.7,.2,1) both; }
  .hero .sub { animation-delay: .1s; } .hero-cta { animation-delay: .22s; } .hero-trust { animation-delay: .34s; }
  @keyframes tvUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  .cta-trien, .poem-seal, .hero-seal { animation: tvFloat 8s ease-in-out infinite; }
  @keyframes tvFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
  .hero-ring { animation: tvSpin 40s linear infinite; }
  .hero-ring.two { animation-direction: reverse; animation-duration: 55s; }
  @keyframes tvSpin { to { transform: rotate(360deg); } }
  .jn-node.done .jn-dot { animation: tvPop .5s ease; }
  @keyframes tvPop { 0% { transform: scale(.6); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--vang); outline-offset: 2px; border-radius: 4px;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 980px) {
  .hero-grid, .teacher-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 460px; margin-inline: auto; }
  .hero::before { display: none; }
  .course-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .steps-row { grid-template-columns: repeat(3, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .get-grid { grid-template-columns: repeat(2, 1fr); }
  .cd-cols { grid-template-columns: 1fr; gap: 26px; }
  .price-grid-3 { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .ba-grid { grid-template-columns: 1fr; }
  .ba-arrow { transform: rotate(90deg); margin: 2px auto; }
  .game-feature { grid-template-columns: 1fr; gap: 36px; } .gf-visual { order: -1; } .gf-text .lead { max-width: none; }
  .app-layout { grid-template-columns: 1fr; display: flex; flex-direction: column; }
  .side { position: static; max-height: none; border-right: 0; border-bottom: 1px solid var(--line); order: 2; }
  .stage { order: 1; }
}
@media (max-width: 720px) {
  section { padding: 66px 0; }
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav.open .nav-links { display: flex; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; background: var(--kem); padding: 16px 6vw; border-bottom: 1px solid var(--line); gap: 4px; }
  .nav.open .nav-links a { padding: 12px 0; }
  .nav-in { gap: 12px; }
  .nav-cta .btn-ghost { display: none; }
  .nav-cta .btn { padding: 11px 18px; font-size: 14px; }
  .tst-grid, .price-grid-3 { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: repeat(2, 1fr); }
  .get-grid { grid-template-columns: 1fr; }
  .pain-list p { font-size: 17px; }
  .philo-def { font-size: 20px; }
  .poem { padding: 30px; } .poem blockquote { font-size: 21px; }
  .cd-head { flex-direction: column; }
  .course-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .course-tab { flex: none; }
  .logo-img, .nav .logo-img { height: 46px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stage { padding: 22px 16px 54px; }
  .trust-strip .wrap { gap: 22px; } .trust-strip .ts-sep { display: none; }
  .hero-floating { left: 12px; }
  .app-bar { gap: 12px; padding: 0 16px; }
  .app-tag { display: none; }
  .logo-app { height: 34px; }
  .prog-mini { display: none; }
  .plan-btn { margin-left: 0; padding: 6px 11px; font-size: 12px; }
  .stage h1 { font-size: 25px; }
  .dash-hero { flex-direction: column; }
  .dash-sum { grid-template-columns: 1fr 1fr; }
  .jn-path { grid-template-columns: 1fr 1fr; }
}

/* =========================================================================
   TRANG GIỚI THIỆU APP TÀI CHÍNH (ung-dung.html) + teaser trang chủ
   ========================================================================= */
/* Khung điện thoại — ảnh crop 238×502, góc kem #E5DFD1 hoà nền */
.phone { position: relative; display: inline-block; line-height: 0; filter: drop-shadow(0 46px 74px rgba(19,36,58,.30)); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.phone img { width: 100%; height: auto; border-radius: 30px; }
.phone.tilt { transform: perspective(1600px) rotateY(-11deg) rotateX(3deg); }
.phone.tilt:hover { transform: perspective(1600px) rotateY(-4deg) rotateX(1deg) translateY(-6px); }
.phone:hover { transform: translateY(-6px); }

/* HERO app */
.apphero { background: radial-gradient(120% 90% at 80% 6%, #fbfaf5 0%, var(--kem) 44%, var(--kem-2) 100%); position: relative; overflow: hidden; }
.apphero::before { content: ""; position: absolute; top: -8%; right: -6%; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, transparent 60%, rgba(138,166,194,.16) 61%, rgba(138,166,194,.05) 70%, transparent 74%); pointer-events: none; }
.apphero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; z-index: 2; padding-top: 40px; }
.apphero h1 { font-size: clamp(40px, 5.6vw, 68px); letter-spacing: -.02em; }
.apphero h1 .hl { color: var(--do); font-style: italic; }
.apphero .sub { font-size: 19px; color: var(--muc); margin: 22px 0 8px; max-width: 560px; line-height: 1.8; }
.apphero .quote { font-family: var(--serif); font-style: italic; color: var(--ink); font-size: 21px; border-left: 2px solid var(--vang); padding-left: 16px; margin: 22px 0 26px; max-width: 520px; }
.apphero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.apphero-note { margin-top: 20px; font-size: 13.5px; color: var(--xam); display: flex; align-items: center; gap: 9px; }
.apphero-note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--vang); box-shadow: 0 0 0 3px rgba(174,134,65,.14); }
.apphero-visual { position: relative; display: grid; place-items: center; }
.apphero-visual .phone { width: min(300px, 78%); }
.apphero-ring { position: absolute; width: 420px; height: 420px; border: 1px solid var(--vang); border-radius: 50%; opacity: .35; pointer-events: none; }
.apphero-ring.two { width: 500px; height: 500px; border-color: var(--xanh); border-style: dashed; opacity: .28; }

/* dải giá trị nhanh dưới hero app */
.app-quickvals { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(252,251,247,.6); }
.app-quickvals .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; padding: 34px 0; }
.aqv { text-align: center; }
.aqv b { display: block; font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.aqv span { font-size: 14px; color: var(--xam); }

/* feature rows xen kẽ */
.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 46px; }
.feat-row + .feat-row { margin-top: 96px; }
.feat-row.rev .feat-media { order: 2; }
.feat-media { display: grid; place-items: center; position: relative; }
.feat-media .phone { width: min(276px, 82%); }
.feat-media.duo { display: flex; justify-content: center; align-items: flex-end; }
.feat-media.duo .phone:first-child { width: 210px; transform: rotate(-4deg) translateY(10px); z-index: 1; margin-right: -46px; filter: drop-shadow(0 30px 50px rgba(19,36,58,.24)); }
.feat-media.duo .phone:last-child { width: 240px; transform: rotate(3deg); z-index: 2; }
.feat-num { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--vang); font-weight: 600; letter-spacing: .04em; }
.feat-text h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 12px 0 16px; }
.feat-text p { font-size: 17px; color: var(--muc); line-height: 1.8; max-width: 500px; }
.feat-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 13px; }
.feat-list li { font-size: 15.5px; color: var(--muc); padding-left: 28px; position: relative; }
.feat-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 15px; height: 1px; background: var(--vang); }
.feat-chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 13px; font-weight: 600; color: var(--do); background: var(--do-tint); padding: 6px 14px; border-radius: 999px; }

/* 5 quỹ mini */
.funds { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 20px; }
.fund { text-align: center; padding: 20px 10px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.fund .dot { width: 14px; height: 14px; border-radius: 50%; margin: 0 auto 12px; }
.fund b { display: block; font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--ink); }
.fund span { font-size: 12.5px; color: var(--xam); display: block; margin-top: 3px; line-height: 1.4; }

/* gallery cuộn ngang */
.app-gallery { background: var(--kem-2); overflow: hidden; }
.gallery-scroll { display: flex; gap: 22px; margin-top: 44px; padding: 6px 6vw 20px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; width: 100vw; margin-inline: calc(50% - 50vw); }
.gallery-scroll::-webkit-scrollbar { height: 8px; }
.gallery-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.gallery-scroll .g-item { flex: none; scroll-snap-align: center; text-align: center; }
.gallery-scroll .phone { width: 208px; }
.gallery-scroll .g-cap { display: block; margin-top: 14px; font-size: 13px; color: var(--xam); font-weight: 500; }

/* khối "mô phỏng lớp học" */
.app-mirror { background: var(--card); }
.mirror-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.mirror { padding: 30px 28px; border-radius: 18px; background: var(--kem); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.mirror .mi { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--vang); font-weight: 600; }
.mirror b { display: block; font-family: var(--serif); font-size: 20px; color: var(--ink); margin: 8px 0 8px; font-weight: 600; }
.mirror p { font-size: 14.5px; color: var(--xam); }

/* teaser trên trang chủ */
.app-teaser { background: var(--ink); color: var(--kem); overflow: hidden; position: relative; }
.app-teaser::before { content: ""; position: absolute; top: -20%; left: -8%; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, transparent 58%, rgba(217,192,137,.12) 59%, transparent 66%); pointer-events: none; }
.app-teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 2; }
.app-teaser .eyebrow { color: var(--vang-soft); }
.app-teaser h2 { color: var(--kem); font-size: clamp(30px, 4vw, 46px); margin: 18px 0 16px; }
.app-teaser p { color: #cfd8e2; font-size: 17px; line-height: 1.8; max-width: 500px; font-weight: 300; }
.app-teaser .gift-badge { display: inline-flex; align-items: center; gap: 9px; background: rgba(217,192,137,.14); border: 1px solid rgba(217,192,137,.3); color: var(--vang-soft); font-size: 13px; font-weight: 600; padding: 7px 16px; border-radius: 999px; margin-bottom: 6px; }
.app-teaser-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.app-teaser-media { display: flex; justify-content: center; align-items: flex-end; }
.app-teaser-media .phone:first-child { width: 200px; transform: rotate(-5deg) translateY(14px); margin-right: -52px; z-index: 1; }
.app-teaser-media .phone:last-child { width: 232px; transform: rotate(3deg); z-index: 2; }

/* teaser SÁCH trên trang chủ — nền sáng, bìa 3D thu nhỏ */
.book-teaser { background: var(--kem-2); overflow: hidden; position: relative; }
.book-teaser::before { content: ""; position: absolute; top: -18%; right: -8%; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, transparent 60%, rgba(174,134,65,.12) 61%, transparent 70%); pointer-events: none; }
.book-teaser-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.book-teaser-cover { display: grid; place-items: center; }
.book-teaser-cover .book3d { transform: perspective(1800px) rotateY(-20deg) rotateX(2deg) scale(.8); }
.book-teaser-cover .book3d:hover { transform: perspective(1800px) rotateY(-11deg) rotateX(1deg) scale(.82); }
.book-teaser .booktag { display: inline-flex; align-items: center; gap: 9px; background: rgba(174,134,65,.14); border: 1px solid rgba(174,134,65,.34); color: var(--vang-2); font-size: 13px; font-weight: 600; padding: 7px 16px; border-radius: 999px; margin-bottom: 14px; }
.book-teaser h2 { font-size: clamp(30px, 4vw, 46px); margin: 6px 0 8px; }
.book-teaser .bt-sub { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2.4vw, 26px); color: var(--navy); line-height: 1.25; margin-bottom: 16px; }
.book-teaser p { font-size: 17px; color: var(--muc); line-height: 1.8; max-width: 520px; }
.book-teaser-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

@media (max-width: 980px) {
  .apphero-grid, .app-teaser-grid { grid-template-columns: 1fr; gap: 40px; }
  .book-teaser-grid { grid-template-columns: 1fr; gap: 36px; }
  .book-teaser-cover { order: -1; }
  .apphero-visual { order: -1; }
  .feat-row, .feat-row.rev { grid-template-columns: 1fr; gap: 34px; }
  .feat-row .feat-media, .feat-row.rev .feat-media { order: -1; }
  .feat-text p, .feat-list { max-width: none; }
  .mirror-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .funds { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .app-quickvals .wrap { gap: 18px; }
}

/* =========================================================================
   TRANG XEM LẠI LIVESTREAM TIKTOK (xem-lai-livestream.html)
   Lưới clip dọc 9:16 + lightbox, ghi nhớ vị trí đã xem
   ========================================================================= */
.ls-hero { background: radial-gradient(120% 90% at 78% 6%, #fbfaf5 0%, var(--kem) 46%, var(--kem-2) 100%); text-align: center; position: relative; overflow: hidden; }
.ls-hero::before { content: ""; position: absolute; top: -14%; left: 50%; transform: translateX(-50%); width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, transparent 60%, rgba(138,166,194,.12) 61%, transparent 70%); pointer-events: none; }
.ls-hero .wrap { position: relative; z-index: 2; }
.ls-live { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--do); font-weight: 700; background: var(--do-tint); border: 1px solid rgba(155,28,28,.24); padding: 7px 15px; border-radius: 999px; }
.ls-live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--do); box-shadow: 0 0 0 0 rgba(155,28,28,.5); animation: lsPulse 1.8s infinite; }
@keyframes lsPulse { 0%{box-shadow:0 0 0 0 rgba(155,28,28,.5)} 70%{box-shadow:0 0 0 8px rgba(155,28,28,0)} 100%{box-shadow:0 0 0 0 rgba(155,28,28,0)} }
.ls-hero h1 { font-size: clamp(34px, 5.4vw, 60px); margin: 20px 0 14px; }
.ls-hero .sub { font-size: 18px; color: var(--xam); max-width: 620px; margin: 0 auto; line-height: 1.75; }
.ls-hero .note { margin-top: 20px; font-size: 13.5px; color: var(--xam); display: inline-flex; align-items: center; gap: 9px; }
.ls-hero .note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--vang); box-shadow: 0 0 0 3px rgba(174,134,65,.14); }

.ls-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr)); gap: 24px; margin-top: 8px; }

/* thanh lọc theo chủ đề */
.ls-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 6px 0 36px; }
.ls-chip { font-family: var(--sans); font-size: 13.5px; font-weight: 600; color: var(--xam); background: var(--card); border: 1px solid var(--line); padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: color .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.ls-chip:hover { color: var(--ink); border-color: var(--vang); transform: translateY(-2px); }
.ls-chip .n { color: var(--xam-2); font-weight: 500; margin-left: 4px; }
.ls-chip.active { color: var(--kem); background: var(--ink); border-color: var(--ink); }
.ls-chip.active .n { color: rgba(247,244,236,.6); }
.ls-empty { display: none; text-align: center; padding: 60px 20px; }
.ls-empty.show { display: block; }
.ls-empty .em-mark { font-family: var(--serif); font-style: italic; font-size: 40px; color: var(--vang); opacity: .7; }
.ls-empty b { display: block; font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--ink); margin: 10px 0 8px; }
.ls-empty p { font-size: 15.5px; color: var(--xam); max-width: 460px; margin: 0 auto; }
.ls-card { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 9 / 16; background: var(--ink); box-shadow: var(--shadow-sm); cursor: pointer; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.ls-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ls-card video, .ls-card .ls-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--ink); }
.ls-card .ls-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,36,58,.05) 40%, rgba(11,20,33,.32) 66%, rgba(11,20,33,.88) 100%); z-index: 2; }
.ls-card .ls-tag { position: absolute; top: 12px; left: 12px; z-index: 3; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--kem); background: rgba(16,34,60,.5); backdrop-filter: blur(6px); border: 1px solid rgba(217,192,137,.4); padding: 5px 11px; border-radius: 999px; }
.ls-card .ls-num { position: absolute; top: 10px; right: 14px; z-index: 3; font-family: var(--serif); font-style: italic; font-size: 30px; font-weight: 600; color: rgba(247,244,236,.5); }
.ls-card .ls-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(.92); z-index: 3; width: 60px; height: 60px; border-radius: 50%; background: rgba(247,244,236,.92); display: grid; place-content: center; box-shadow: 0 10px 30px -8px rgba(11,20,33,.6); transition: transform .35s var(--ease), background .35s var(--ease); }
.ls-card:hover .ls-play { transform: translate(-50%,-50%) scale(1); background: var(--kem); }
.ls-card .ls-play::after { content: ""; margin-left: 4px; border-left: 18px solid var(--ink); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.ls-card .ls-meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 16px 16px 15px; }
.ls-card .ls-meta b { display: block; font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--kem); line-height: 1.16; letter-spacing: 0; text-shadow: 0 1px 12px rgba(11,20,33,.5); }
.ls-card .ls-meta .cta { display: inline-flex; align-items: center; gap: 7px; margin-top: 9px; font-family: var(--sans); font-size: 12.5px; font-weight: 600; color: var(--vang-soft); }
.ls-card .ls-prog { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; height: 4px; background: rgba(247,244,236,.2); }
.ls-card .ls-prog span { display: block; height: 100%; width: 0; background: var(--vang); }
.ls-card .ls-seen { position: absolute; bottom: 12px; right: 12px; z-index: 4; font-size: 11px; font-weight: 600; color: var(--kem); background: rgba(63,125,90,.9); padding: 3px 9px; border-radius: 999px; display: none; }
.ls-card.is-seen .ls-seen { display: block; }

/* LIGHTBOX */
.ls-box { position: fixed; inset: 0; z-index: 120; background: rgba(11,20,33,.82); backdrop-filter: blur(10px); display: none; align-items: center; justify-content: center; padding: 24px; }
.ls-box.open { display: flex; }
.ls-box-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; max-height: 100%; }
.ls-box video { width: auto; height: min(80vh, 720px); max-width: 92vw; aspect-ratio: 9/16; border-radius: 20px; background: #000; box-shadow: 0 40px 90px -30px rgba(0,0,0,.7); }
.ls-box-cap { text-align: center; color: var(--kem); max-width: 460px; }
.ls-box-cap .k { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--vang-soft); font-weight: 600; }
.ls-box-cap b { display: block; font-family: var(--serif); font-size: 24px; font-weight: 600; margin-top: 6px; }
.ls-box-x { position: absolute; top: -6px; right: -6px; z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(247,244,236,.14); color: var(--kem); font-size: 20px; cursor: pointer; transition: background .3s; }
.ls-box-x:hover { background: rgba(247,244,236,.28); }
.ls-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(247,244,236,.3); background: rgba(16,34,60,.5); color: var(--kem); font-size: 22px; cursor: pointer; display: grid; place-content: center; transition: background .3s, transform .3s; }
.ls-nav:hover { background: rgba(16,34,60,.85); }
.ls-nav.prev { left: -70px; } .ls-nav.next { right: -70px; }
@media (max-width: 900px) { .ls-nav.prev { left: 6px; } .ls-nav.next { right: 6px; } .ls-nav { background: rgba(16,34,60,.8); } }

@media (max-width: 720px) {
  .funds { grid-template-columns: 1fr 1fr; max-width: 360px; margin-inline: auto; }
  .app-quickvals .wrap { grid-template-columns: 1fr; gap: 20px; }
  .apphero-ring { display: none; }
  .feat-media.duo .phone:first-child { width: 150px; margin-right: -34px; }
  .feat-media.duo .phone:last-child { width: 176px; }
  .app-teaser-media .phone:first-child { width: 150px; margin-right: -40px; }
  .app-teaser-media .phone:last-child { width: 176px; }
}

/* =========================================================================
   TRANG GIỚI THIỆU SÁCH — Cẩm nang Tám Trụ Cột (cam-nang.html)
   Bộ phông thương hiệu tự-host: Cormorant Garamond + Nunito Sans
   ========================================================================= */
@font-face { font-family: "Cormorant Garamond"; src: url("assets/fonts/CG-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("assets/fonts/CG-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("assets/fonts/CGM-Regular.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("assets/fonts/CGM-Italic.ttf") format("truetype"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("assets/fonts/CGSB-Regular.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("assets/fonts/NSL-Regular.ttf") format("truetype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("assets/fonts/NS-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("assets/fonts/NS-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("assets/fonts/NSSB-Regular.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("assets/fonts/NS-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }

/* Phạm vi trang sách — override bộ phông sang đúng bản in */
.bookpage {
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-family: var(--sans);
  font-weight: 400;
}
.bookpage h1, .bookpage h2 { font-family: var(--serif); font-weight: 600; letter-spacing: 0; line-height: 1.08; }
.bookpage h3, .bookpage h4, .bookpage h5 { font-family: var(--sans); }
.bookpage .serif { font-family: var(--serif); }

/* HERO SÁCH */
.bk-hero { background: radial-gradient(115% 92% at 78% 4%, #fbfaf5 0%, var(--kem) 46%, var(--kem-2) 100%); position: relative; overflow: hidden; }
.bk-hero::before { content: ""; position: absolute; top: -12%; left: -10%; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, transparent 60%, rgba(138,166,194,.14) 61%, transparent 70%); pointer-events: none; }
.bk-hero-grid { display: grid; grid-template-columns: 1fr .92fr; gap: 68px; align-items: center; position: relative; z-index: 2; padding: 34px 0 8px; }
.bk-hero .kicker { font-family: var(--sans); font-size: 12.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--vang-2); font-weight: 600; }
.bk-hero h1 { font-size: clamp(38px, 5.4vw, 66px); margin: 20px 0 6px; color: var(--ink); }
.bk-hero .h1-sub { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(22px, 3vw, 32px); color: var(--navy); line-height: 1.2; }
.bk-hero .byline { margin: 22px 0 0; font-size: 15px; color: var(--xam); }
.bk-hero .byline b { color: var(--ink); font-weight: 600; }
.bk-hero .lead-q { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--ink); border-left: 2px solid var(--vang); padding-left: 18px; margin: 26px 0 28px; max-width: 460px; line-height: 1.4; }
.bk-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.bk-hero-note { margin-top: 20px; font-size: 13px; color: var(--xam); display: flex; align-items: center; gap: 9px; }
.bk-hero-note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--vang); box-shadow: 0 0 0 3px rgba(174,134,65,.14); }

/* BOOK 3D — bìa dựng bằng CSS */
.bk-cover-wrap { display: grid; place-items: center; position: relative; }
.bk-cover-ring { position: absolute; width: 420px; height: 420px; border: 1px solid var(--vang); border-radius: 50%; opacity: .3; }
.book3d { position: relative; width: 300px; height: 430px; transform: perspective(1800px) rotateY(-22deg) rotateX(2deg); transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2,.7,.2,1); filter: drop-shadow(-38px 42px 60px rgba(19,36,58,.4)); }
.book3d:hover { transform: perspective(1800px) rotateY(-12deg) rotateX(1deg); }
.book3d .face-front { position: absolute; inset: 0; background: linear-gradient(150deg, #24466f 0%, var(--navy) 44%, #16304f 100%); border-radius: 3px 8px 8px 3px; padding: 40px 34px; display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: inset 0 0 0 1px rgba(217,192,137,.22); overflow: hidden; }
.book3d .face-front::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(255,255,255,.05) 60%, transparent); }
.book3d .face-spine { position: absolute; left: 0; top: 0; height: 100%; width: 34px; background: linear-gradient(90deg, #10233c, #16304f); transform: rotateY(90deg) translateZ(-17px) translateX(-17px); border-radius: 3px 0 0 3px; }
.book3d .face-pages { position: absolute; right: -2px; top: 5px; bottom: 5px; width: 30px; background: repeating-linear-gradient(90deg, #efe9da, #efe9da 1px, #d9d3c2 2px, #efe9da 3px); transform: rotateY(90deg) translateZ(285px); border-radius: 0 2px 2px 0; }
.bk-cv-frame { border: 1px solid rgba(217,192,137,.42); border-radius: 2px; padding: 30px 20px; display: flex; flex-direction: column; align-items: center; height: 100%; width: 100%; }
.bk-cv-kick { font-family: var(--sans); font-size: 9.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--vang-soft); font-weight: 600; }
.bk-cv-title { font-family: var(--serif); color: var(--kem); font-size: 34px; font-weight: 600; line-height: 1.02; margin: auto 0; letter-spacing: .01em; }
.bk-cv-title span { display: block; }
.bk-cv-rule { width: 40px; height: 1px; background: var(--vang-soft); margin: 14px 0; }
.bk-cv-sub { font-family: var(--serif); font-style: italic; color: var(--xanh); font-size: 15px; line-height: 1.35; }
.bk-cv-author { font-family: var(--sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--vang-soft); font-weight: 600; margin-top: auto; }
.bk-cv-seal { width: 44px; height: 44px; margin-top: 16px; opacity: .92; }
.bk-badge-float { position: absolute; right: -8px; bottom: 30px; z-index: 5; background: var(--do); color: #fff; font-family: var(--sans); font-size: 12px; font-weight: 700; padding: 12px 16px; border-radius: 50%; width: 78px; height: 78px; display: grid; place-content: center; text-align: center; line-height: 1.15; box-shadow: var(--shadow); transform: rotate(-8deg); }
.bk-badge-float b { font-family: var(--serif); font-size: 19px; display: block; }

/* dải chỉ số */
.bk-facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(252,251,247,.6); }
.bk-facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 30px 0; }
.bk-fact { text-align: center; }
.bk-fact b { display: block; font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--ink); line-height: 1; }
.bk-fact span { font-size: 12.5px; color: var(--xam); display: block; margin-top: 8px; letter-spacing: .02em; }

/* câu mở lớn */
.bk-manifesto { text-align: center; }
.bk-manifesto .wrap { max-width: 780px; }
.bk-manifesto .big { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 40px); font-style: italic; color: var(--ink); line-height: 1.32; }
.bk-manifesto .big em { color: var(--do); font-style: italic; }
.bk-manifesto p { margin-top: 22px; font-size: 17px; color: var(--muc); line-height: 1.85; }

/* SƠ ĐỒ TÁM TRỤ — mái nhà */
.bk-map { background: var(--ink); color: var(--kem); position: relative; overflow: hidden; }
.bk-map::before { content: ""; position: absolute; top: -20%; right: -8%; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, transparent 58%, rgba(217,192,137,.1) 59%, transparent 66%); }
.bk-map .eyebrow { color: var(--vang-soft); }
.bk-map h2 { color: var(--kem); }
.bk-map .map-lead { color: #c9d4e0; max-width: 620px; margin: 14px auto 0; font-weight: 300; }
.bk-map-inner { position: relative; z-index: 2; margin-top: 54px; max-width: 940px; margin-inline: auto; }
/* đỉnh — trụ 8 */
.bk-apex { max-width: 460px; margin: 0 auto 18px; text-align: center; background: linear-gradient(180deg, rgba(217,192,137,.16), rgba(217,192,137,.05)); border: 1px solid rgba(217,192,137,.4); border-radius: 16px; padding: 22px 26px; }
.bk-apex .rn { font-family: var(--serif); font-style: italic; color: var(--vang-soft); font-size: 15px; }
.bk-apex b { display: block; font-family: var(--serif); font-size: 24px; font-weight: 600; margin: 4px 0 4px; }
.bk-apex span { font-size: 13.5px; color: #c9d4e0; }
.bk-flow-label { text-align: center; font-family: var(--sans); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--xanh); margin: 6px 0; }
/* trụ 7 — dòng chảy */
.bk-flow { background: rgba(135,191,239,.1); border: 1px dashed rgba(135,191,239,.5); border-radius: 14px; padding: 16px 24px; text-align: center; margin-bottom: 22px; }
.bk-flow b { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--kem); }
.bk-flow span { display: block; font-size: 13px; color: #c9d4e0; margin-top: 3px; }
/* 6 cột nền */
.bk-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bk-pillar { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 20px 20px; transition: background .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease); }
.bk-pillar:hover { background: rgba(255,255,255,.07); border-color: rgba(217,192,137,.4); transform: translateY(-4px); }
.bk-pillar .pn { font-family: var(--serif); font-style: italic; color: var(--vang-soft); font-size: 14px; }
.bk-pillar b { display: block; font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--kem); margin: 3px 0 7px; }
.bk-pillar p { font-size: 13.5px; color: #b9c4d2; line-height: 1.55; margin: 0; }
.bk-map-foot { text-align: center; margin-top: 30px; font-family: var(--serif); font-style: italic; color: var(--xanh); font-size: 17px; }

/* BỐN LA BÀN */
.bk-compass-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 46px; max-width: 860px; margin-inline: auto; }
.bk-compass { display: flex; gap: 18px; padding: 26px 26px; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.bk-compass .cnum { font-family: var(--serif); font-style: italic; font-size: 30px; font-weight: 600; line-height: 1; flex: none; }
.bk-compass h4 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin: 0 0 6px; }
.bk-compass p { font-size: 14.5px; color: var(--xam); margin: 0; line-height: 1.6; }
.bk-compass.c1 { background: var(--xanh-tint); border-color: rgba(30,58,95,.16); } .bk-compass.c1 .cnum, .bk-compass.c1 h4 { color: var(--navy); }
.bk-compass.c2 { background: #FaF3DF; border-color: rgba(174,134,65,.28); } .bk-compass.c2 .cnum, .bk-compass.c2 h4 { color: var(--vang-2); }
.bk-compass.c3 { background: var(--do-tint); border-color: rgba(155,28,28,.22); } .bk-compass.c3 .cnum, .bk-compass.c3 h4 { color: var(--do); }
.bk-compass.c4 { background: #E9EEF4; border-color: rgba(30,58,95,.2); } .bk-compass.c4 .cnum, .bk-compass.c4 h4 { color: var(--navy-2); }

/* BÊN TRONG SÁCH — 3 mảng */
.bk-inside { background: var(--kem-2); }
.bk-inside-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.bk-part { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 32px 30px; box-shadow: var(--shadow-sm); }
.bk-part .pk { font-family: var(--serif); font-style: italic; color: var(--vang); font-size: 15px; font-weight: 600; }
.bk-part h3 { font-family: var(--serif); font-size: 25px; font-weight: 600; margin: 8px 0 14px; }
.bk-part ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.bk-part li { font-size: 14.5px; color: var(--muc); padding-left: 22px; position: relative; }
.bk-part li::before { content: ""; position: absolute; left: 0; top: .6em; width: 12px; height: 1px; background: var(--vang); }

/* TÁC GIẢ */
.bk-author-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.bk-author-photo { position: relative; display: grid; place-items: center; }
.bk-author-photo .ph { width: 100%; border-radius: var(--r-lg); aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--card); }
.bk-author-photo .ring { display: none; }
.bk-author h2 { margin-bottom: 6px; }
.bk-author .role { font-family: var(--sans); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--vang-2); font-weight: 600; margin-bottom: 18px; }
.bk-author p { font-size: 16.5px; color: var(--muc); line-height: 1.85; max-width: 520px; }
.bk-author p + p { margin-top: 14px; }
.bk-author .sig { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--ink); margin-top: 20px; }

@media (max-width: 980px) {
  .bk-hero-grid, .bk-author-grid { grid-template-columns: 1fr; gap: 44px; }
  .bk-cover-wrap { order: -1; }
  .bk-facts .wrap { grid-template-columns: 1fr 1fr; gap: 26px; }
  .bk-inside-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .bk-cols { grid-template-columns: 1fr 1fr; }
  .bk-author-photo { order: -1; }
}
@media (max-width: 640px) {
  .bk-compass-grid { grid-template-columns: 1fr; }
  .bk-cols { grid-template-columns: 1fr; }
  .book3d { width: 250px; height: 360px; }
  .bk-cv-title { font-size: 28px; }
  .bk-cover-ring, .bk-apex { display: none; }
}
