/* ===== UNICOACH Landing Page ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-family); color: var(--text); background: var(--ivory); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.25; letter-spacing: .01em; }

/* ---- Nav ---- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(17,24,58,.96); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(200,161,75,.25); }
.nav.scrolled { box-shadow: 0 4px 20px rgba(10,14,36,.35); }
.nav .wrap.nav-inner { max-width: 1320px; }
.nav-inner { display: flex; align-items: center; gap: 18px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--parchment); font-family: var(--font-display); font-weight: 900; letter-spacing: .16em; font-size: 17px; flex-shrink: 0; white-space: nowrap; }
.logo img { height: 34px; }
.nav-links { display: flex; gap: 16px; margin-left: auto; flex-wrap: nowrap; }
.nav-links a { color: var(--sidebar-text); font-size: 14px; font-weight: 500; transition: color .15s; white-space: nowrap; }
.nav-links a:hover { color: var(--gold-lt); }
.nav-cta { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.nav-cta a { white-space: nowrap; }
@media (max-width: 1300px) {
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 13.5px; }
  .nav-cta .btn-ghost { padding: 9px 14px; }
  .nav-cta .btn-gold { padding: 10px 16px; }
}

.btn-gold { display: inline-block; background: var(--gold); color: var(--navy-deep); font-weight: 700; padding: 10px 20px; border-radius: 99px; font-size: 15px; border: none; cursor: pointer; transition: background .15s, transform .15s; font-family: var(--font-family); }
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-1px); }
.btn-gold.lg { padding: 14px 30px; font-size: 16.5px; }
.btn-gold.full { width: 100%; padding: 14px; font-size: 16px; }
.btn-gold:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-ghost { color: var(--parchment); border: 1px solid rgba(244,236,216,.35); padding: 9px 18px; border-radius: 99px; font-size: 15px; transition: all .15s; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-lt); }
.btn-outline { display: inline-block; border: 1px solid var(--gold); color: var(--gold-lt); padding: 13px 28px; border-radius: 99px; font-size: 16.5px; transition: all .15s; }
.btn-outline:hover { background: rgba(200,161,75,.14); }

/* ---- Hero ---- */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 60%, #050818 100%); color: var(--parchment); padding: 84px 0 96px; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; right: -160px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(200,161,75,.16), transparent 68%); }
.hero-inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.eyebrow { font-family: var(--font-heading); letter-spacing: .3em; font-size: 12px; color: var(--gold); margin-bottom: 18px; text-transform: uppercase; }
.hero h1 { font-size: 47px; color: #fff; margin-bottom: 14px; }
.motto { font-family: var(--font-display); color: var(--gold); letter-spacing: .22em; font-size: 15px; margin-bottom: 20px; }
.lead { font-size: 18px; color: #D8D3C4; max-width: 560px; margin-bottom: 30px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-card { background: rgba(244,236,216,.07); border: 1px solid rgba(200,161,75,.25); border-radius: 12px; padding: 20px 18px; text-align: center; }
.stat-card b { display: block; font-family: var(--font-heading); font-size: 29px; color: var(--gold); }
.stat-card span { font-size: 13.5px; color: #C6C1B2; }

/* ---- Sections ---- */
.section { padding: 82px 0; }
.section.alt { background: var(--parchment); }
.sec-title { font-size: 34px; text-align: center; color: var(--navy); margin-bottom: 12px; }
.sec-title::after { content: ''; display: block; width: 62px; height: 3px; background: var(--gold); margin: 16px auto 0; border-radius: 2px; }
.sec-sub { text-align: center; color: var(--text-muted); max-width: 660px; margin: 18px auto 44px; font-size: 17px; }
.muted-c { color: var(--text-muted); text-align: center; grid-column: 1/-1; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }

.feature { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 26px 24px; transition: transform .18s, box-shadow .18s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature .ico { font-size: 30px; margin-bottom: 12px; }
.feature h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.feature p { color: var(--text-muted); font-size: 15.5px; }

/* ---- Khóa học ---- */
.course { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.course:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.course-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.tag { background: var(--brand-accent-light); color: var(--gold-dk); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 99px; letter-spacing: .04em; }
.lvl { font-size: 13px; color: var(--text-muted); }
.course h3 { font-size: 19px; color: var(--navy); margin-bottom: 8px; }
.course p { color: var(--text-muted); font-size: 15.5px; flex: 1; }
.course-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 14.5px; color: var(--text-muted); }
.course-foot a { color: var(--navy); font-weight: 700; }
.course-foot a:hover { color: var(--gold-dk); }

/* ---- Cam kết đầu ra ---- */
.grid-2-g { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.g-box { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: 12px; padding: 24px 24px 20px; }
.g-box h3 { font-family: var(--font-heading); font-size: 18px; color: var(--navy); margin-bottom: 12px; }
.g-list { list-style: none; margin: 0; padding: 0; }
.g-list li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.55; color: var(--text); margin-bottom: 9px; }
.g-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--gold-dk); font-weight: 700; }
.g-list li:last-child { margin-bottom: 0; }
.fine-note { margin-top: 16px; font-size: 13.5px; color: var(--text-muted); font-style: italic; }

/* ---- Lộ trình ---- */
.path { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.path-step { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--gold); border-radius: 12px; padding: 24px 22px; position: relative; }
.path-step .band { font-family: var(--font-heading); font-size: 21px; color: var(--gold-dk); margin-bottom: 6px; }
.path-step h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.path-step p { color: var(--text-muted); font-size: 15px; }

/* Khóa báo giá riêng — không hiện con số, chữ nhỏ hơn giá thường cho cân đối */
.price .quote-price { font-size: 22px; color: var(--gold-dk); }

/* ---- Giáo viên ---- */
.teacher { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 26px 18px; text-align: center; }
.avatar { width: 68px; height: 68px; margin: 0 auto 14px; border-radius: 50%; background: linear-gradient(140deg, var(--navy), var(--navy-deep)); color: var(--gold); font-family: var(--font-heading); font-size: 23px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid var(--gold); }
.teacher h3 { font-size: 16.5px; color: var(--navy); margin-bottom: 3px; }
.teacher span { font-size: 14px; color: var(--text-muted); }
/* Học vị · chứng chỉ · kinh nghiệm — nhập ở Quản trị → Nhân sự, mỗi dòng một ý */
.teacher-bio { list-style: none; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--border); text-align: left; }
.teacher-bio li { position: relative; padding-left: 16px; font-size: 13.5px; line-height: 1.5; color: var(--text-muted); margin-bottom: 6px; }
.teacher-bio li::before { content: '✦'; position: absolute; left: 0; top: 0; color: var(--gold); font-size: 11px; }
.teacher-bio li:last-child { margin-bottom: 0; }

/* ---- Đánh giá ---- */
.quote { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 26px 24px; position: relative; }
.quote::before { content: '”'; position: absolute; top: 4px; right: 20px; font-family: var(--font-heading); font-size: 62px; color: var(--parchment-2); line-height: 1; }
.quote p { font-style: italic; color: var(--text); font-size: 16px; margin-bottom: 16px; position: relative; z-index: 1; }
.who { border-top: 1px solid var(--border); padding-top: 12px; }
.who b { display: block; color: var(--navy); font-size: 15.5px; }
.who span { font-size: 13.5px; color: var(--gold-dk); font-weight: 600; }

/* ---- Đăng ký ---- */
.register { background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--parchment); padding: 76px 0; }
.reg-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.reg-text h2 { font-size: 32px; color: #fff; margin-bottom: 14px; }
.reg-text h2::after { content: ''; display: block; width: 58px; height: 3px; background: var(--gold); margin-top: 14px; border-radius: 2px; }
.reg-text p { color: #D3CEC0; font-size: 17px; margin: 18px 0; }
.reg-list { list-style: none; }
.reg-list li { padding: 8px 0 8px 28px; position: relative; color: #D3CEC0; }
.reg-list li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

.reg-form { background: var(--surface); border-radius: 14px; padding: 30px 28px; box-shadow: 0 18px 50px rgba(5,8,24,.42); }
.reg-form .f { margin-bottom: 14px; }
.reg-form label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.reg-form input, .reg-form select, .reg-form textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--border); border-radius: 8px; font-family: var(--font-family); font-size: 15.5px; color: var(--text); background: #fff; transition: border-color .15s, box-shadow .15s; }
.reg-form input:focus, .reg-form select:focus, .reg-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,161,75,.18); }
.reg-form textarea { resize: vertical; }
.chk { display: flex !important; align-items: center; gap: 9px; font-weight: 500 !important; color: var(--text) !important; margin: 4px 0 16px; font-size: 15px !important; cursor: pointer; }
.chk input { width: auto !important; }
.fine { font-size: 13px; color: var(--text-muted); text-align: center; margin-top: 12px; }
.form-msg { margin-top: 12px; padding: 11px 14px; border-radius: 8px; font-size: 15px; display: none; }
.form-msg.ok { display: block; background: var(--success-bg); color: var(--success); border: 1px solid var(--success); }
.form-msg.err { display: block; background: var(--danger-bg); color: var(--danger); border: 1px solid var(--danger); }

/* ---- Footer ---- */
.footer { background: var(--navy-deep); color: var(--sidebar-text); padding: 54px 0 24px; }
.foot-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.foot-logo { margin-bottom: 10px; }
.motto-f { font-family: var(--font-display); color: var(--gold); letter-spacing: .2em; font-size: 13px; margin-bottom: 10px; }
.footer h4 { font-size: 14px; color: var(--parchment); margin-bottom: 12px; letter-spacing: .1em; }
.muted-f { font-size: 14.5px; color: #9AA0B8; line-height: 2; }
.muted-f a:hover, .footer a:hover { color: var(--gold-lt); }
.copyright { border-top: 1px solid rgba(244,236,216,.12); margin-top: 36px; padding-top: 20px; font-size: 13.5px; color: #7A8098; text-align: center; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-inner, .reg-inner { grid-template-columns: 1fr; gap: 36px; }
  .nav-links { display: none; }
  .hero h1 { font-size: 34px; }
  .sec-title { font-size: 27px; }
  .foot-inner { grid-template-columns: 1fr 1fr; }
  .section { padding: 58px 0; }
}
@media (max-width: 520px) {
  .hero-stats { grid-template-columns: 1fr; }
  .foot-inner { grid-template-columns: 1fr; }
  .nav-cta .btn-ghost { display: none; }
}

/* ---- Giá & Combo trên thẻ khóa học ---- */
.course.combo { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 4px; }
.price s { color: var(--text-muted); font-size: 15px; }
.price b { font-family: var(--font-heading); font-size: 25px; color: var(--oxblood); }
.dur { font-size: 14px; color: var(--text-muted); margin-bottom: 10px; }
.combo-list { font-size: 14px; color: var(--gold-dk); background: var(--brand-accent-light); padding: 8px 12px; border-radius: 8px; margin-top: 10px; }

/* ---- Hộp tính tiền trong form ---- */
.buy-box { background: var(--parchment); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; margin-bottom: 14px; }
.coupon-row { display: flex; gap: 8px; margin-bottom: 12px; }
.coupon-row input { flex: 1; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font-family: var(--font-family); font-size: 15px; background: #fff; }
.btn-mini { background: var(--navy); color: var(--parchment); border: none; border-radius: 8px; padding: 0 18px; font-family: var(--font-family); font-size: 14.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.btn-mini:hover { background: var(--navy-deep); }
.sum { display: flex; justify-content: space-between; align-items: center; font-size: 15px; padding: 4px 0; color: var(--text-muted); }
.sum b { color: var(--text); }
.sum em { font-style: normal; font-size: 13px; color: var(--gold-dk); }
.sum .disc { color: var(--success); }
.sum.total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 10px; font-size: 16px; }
.sum.total b { font-family: var(--font-heading); font-size: 21px; color: var(--oxblood); }

.btn-navy { width: 100%; background: var(--navy); color: var(--parchment); border: none; border-radius: 99px; padding: 14px; font-family: var(--font-family); font-size: 16px; font-weight: 700; cursor: pointer; margin-top: 10px; transition: background .15s; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-navy:disabled { opacity: .6; cursor: not-allowed; }

/* ---- Thông tin chuyển khoản ---- */
.bank-box { margin-top: 14px; background: var(--brand-accent-light); border: 1px solid var(--gold); border-radius: 10px; padding: 16px; }
.bank-box h4 { font-size: 15px; color: var(--navy); margin-bottom: 10px; }
.bank-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 15px; color: var(--text-muted); }
.bank-row b { color: var(--navy); text-align: right; }

/* Banner phễu (Giai đoạn 1) */
.promo-bar{display:flex;flex-wrap:wrap;gap:6px 16px;align-items:center;justify-content:center;padding:8px 40px 8px 16px;background:#11183A;color:#F4ECD8;font-size:14px;position:relative}
.promo-bar[hidden]{display:none}
.promo-bar a{color:#E7CE8E;font-weight:600;text-decoration:underline}
.promo-bar .promo-x{position:absolute;right:10px;top:50%;transform:translateY(-50%);background:none;border:0;color:#F4ECD8;font-size:20px;cursor:pointer;line-height:1}
