/* ============================================
   BIẾN MÀU SẮC & FONT — đổi màu chỉ sửa ở đây
   ============================================ */
:root {
  --black:   #1A1A1A;
  --navy:    #1B2A4E;
  --navy-2:  #22345C;
  --copper:  #B87333;
  --gold:    #D4AF37;
  --pink:    #E8A0A8;
  --pink-2:  #F5C6CB;
  --cream:   #FAF7F2;
  --white:   #FFFDF9;

  --font-heading: 'Playfair Display', serif;
  --font-body:    'Be Vietnam Pro', sans-serif;
--font-script: 'Great Vibes', cursive;

  --radius: 16px;
  --radius-pill: 999px;
  --transition: 0.4s ease;
}

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

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: 0.01em;
  color: var(--black);
  background: var(--cream);
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.35rem; }

a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; display: block; }

/* Chữ ký / câu trích dẫn cảm xúc */
.script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--pink);
  font-size: 1.6rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

/* ============================================
   HEADER — dán vào mọi trang
   ============================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  padding: 18px 5%;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--white);
  letter-spacing: 0.05em;
}
.logo span { color: var(--gold); }

.nav { display: flex; gap: 28px; }
.nav a {
  color: var(--white);
  font-size: 0.95rem;
  position: relative;
}
.nav a:hover { color: var(--gold); }
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1px; background: var(--gold);
  transition: var(--transition);
}
.nav a:hover::after { width: 100%; }

/* Menu mobile đơn giản */
@media (max-width: 820px) {
  .nav { display: none; }
}

/* ============================================
   FOOTER — dán vào mọi trang
   ============================================ */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 60px 5% 30px;
  text-align: center;
  margin-top: 80px;
}
.site-footer .script { color: var(--pink-2); margin-bottom: 12px; }
.site-footer a { color: var(--copper); }
.site-footer a:hover { color: var(--gold); }
.site-footer .copy {
  margin-top: 30px; padding-top: 20px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  font-size: 0.85rem; opacity: 0.7;
}

/* ============================================
   THÀNH PHẦN DÙNG CHUNG
   ============================================ */
.container { max-width: 1120px; margin: 0 auto; padding: 0 5%; }

/* Nút */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--copper));
  color: var(--navy);
  font-weight: 600;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--copper);
  color: var(--copper);
}
.btn-outline:hover { background: var(--copper); color: var(--white); }

.btn-pink {
  background: var(--pink);
  color: var(--navy);
}
.btn-pink:hover { background: var(--pink-2); }

/* Thẻ (card) */
.card {
  background: var(--white);
  border: 1px solid rgba(184, 115, 51, 0.3);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(232, 160, 168, 0.25);
  border-color: var(--copper);
}

/* Dải navy cho đầu trang con */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 80px 5% 60px;
  text-align: center;
}
.page-hero h1 { color: var(--white); }
.page-hero .roman {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.3em;
  margin-bottom: 12px;
  display: block;
}
.page-hero .script { color: var(--pink-2); margin-top: 10px; }

/* ============================================
   BỔ SUNG CHO INDEX — thêm vào cuối main.css
   ============================================ */

/* --- Nút outline trên nền tối --- */
.btn-outline-light {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn-outline-light:hover {
  background: var(--gold);
  color: var(--navy);
}

/* --- Nút CTA trong nav --- */
.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--copper));
  color: var(--navy) !important;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(212,175,55,0.35); }

/* --- Nút menu mobile --- */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--gold); border-radius: 2px;
  transition: var(--transition);
}
@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 20px 5%;
    gap: 16px;
    border-top: 1px solid rgba(212,175,55,0.2);
  }
  .nav.open { display: flex; }
}

/* --- Hero --- */
.hero {
  position: relative;
  background: var(--black);
  padding: 120px 5% 100px;
  overflow: hidden;
  text-align: center;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  pointer-events: none;
}
.hero-blob-1 {
  width: 400px; height: 400px;
  background: var(--copper);
  top: -100px; left: -100px;
}
.hero-blob-2 {
  width: 350px; height: 350px;
  background: var(--pink);
  bottom: -120px; right: -80px;
  opacity: 0.18;
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 { color: var(--white); margin: 16px 0 8px; }
.hero-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-top: 36px;
}

/* --- Roman số --- */
.roman {
  font-family: var(--font-body);
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  display: block;
  margin-bottom: 8px;
}
.roman-sm {
  font-family: var(--font-body);
  color: var(--copper);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  display: block;
  margin-bottom: 10px;
}

/* --- Section --- */
.section { padding: 80px 5%; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); }
.section .narrow { max-width: 720px; margin: 0 auto; }
.center { text-align: center; }

/* --- Grid card --- */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
}
.card .card-arrow {
  display: inline-block;
  margin-top: 16px;
  color: var(--copper);
  font-size: 1.2rem;
  transition: var(--transition);
}
.card:hover .card-arrow { transform: translateX(6px); color: var(--gold); }
.card-highlight {
  background: linear-gradient(135deg, var(--white), var(--pink-2));
  border-color: var(--pink);
}

/* --- Footer --- */
.footer-contact,
.footer-social { margin: 12px 0; }
.footer-social a { margin: 0 4px; }
.footer-copy {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(212,175,55,0.2);
  font-size: 0.85rem;
  opacity: 0.7;
}
/* ============================================
   BỔ SUNG — FAQ, nút nổi, footer links
   ============================================ */

/* --- FAQ --- */
.faq-item {
  background: var(--white);
  border: 1px solid rgba(184,115,51,0.3);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 14px;
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--copper); }
.faq-item[open] { border-color: var(--gold); }
.faq-item summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  color: var(--copper);
  font-size: 1.4rem;
  transition: var(--transition);
}
.faq-item[open] summary::after {
  content: '−';
  transform: rotate(0deg);
}
.faq-item p {
  margin-top: 14px;
  color: var(--black);
  opacity: 0.85;
}

/* --- Nút liên hệ nổi --- */
.floating-contact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 90;
}
.float-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  transition: var(--transition);
}
.float-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 24px rgba(0,0,0,0.28);
}
.float-zalo {
  background: linear-gradient(135deg, #0068FF, #0047B3);
  font-size: 0.75rem;
}
.float-mess {
  background: linear-gradient(135deg, #00B2FF, #006AFF);
  font-size: 1.3rem;
}

/* --- Footer links --- */
.footer-links {
  margin: 16px 0;
  font-size: 0.9rem;
  opacity: 0.85;
}
.footer-links a { color: var(--copper); }
.footer-links a:hover { color: var(--gold); }

/* --- Responsive nút nổi --- */
@media (max-width: 600px) {
  .floating-contact { bottom: 16px; right: 16px; gap: 10px; }
  .float-btn { width: 46px; height: 46px; }
}
/* ============================================
   BỔ SUNG — Lesson list, info grid, outcome list
   ============================================ */

/* --- Danh sách bài học --- */
.lesson-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.lesson-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 24px;
  border-bottom: 1px dashed rgba(184,115,51,0.3);
}
.lesson-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.lesson-num {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--copper));
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lesson-item h3 {
  margin-bottom: 8px;
}

/* --- Info grid (số buổi, thời lượng...) --- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.info-box {
  background: var(--white);
  border: 1px solid rgba(184,115,51,0.3);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
}
.info-box:hover {
  border-color: var(--copper);
  transform: translateY(-3px);
}
.info-label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--copper);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.info-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--navy);
  line-height: 1.4;
}

/* --- Outcome list --- */
.outcome-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.outcome-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  line-height: 1.7;
}
.outcome-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--copper);
  font-weight: 600;
  font-size: 1.1rem;
}
/* ============================================
   BỔ SUNG — Pricing cards & compare table
   ============================================ */

/* --- Pricing grid --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--white);
  border: 1px solid rgba(184,115,51,0.3);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(232,160,168,0.25);
}
.pricing-card h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.pricing-card .pricing-price {
  margin: 24px 0 28px;
  padding-bottom: 24px;
  border-bottom: 1px dashed rgba(184,115,51,0.3);
}
.pricing-card .price-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--copper);
  font-weight: 500;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex-grow: 1;
}
.pricing-features li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
}
.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--copper);
  font-weight: 600;
}

/* --- Featured card (giữa) --- */
.pricing-featured {
  border: 2px solid var(--gold);
  background: linear-gradient(180deg, var(--white), #FFF8E8);
  transform: scale(1.03);
}
.pricing-featured:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 20px 50px rgba(212,175,55,0.3);
}
.pricing-featured .price-value { color: var(--gold); }

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pink);
  color: var(--navy);
  padding: 6px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(232,160,168,0.4);
}

/* --- Pink card (tham vấn) --- */
.pricing-pink {
  border-color: var(--pink);
}
.pricing-pink .price-value { color: var(--pink); }

/* --- Compare table --- */
.compare-table-wrap {
  overflow-x: auto;
  margin: 0 auto;
  max-width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(184,115,51,0.3);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  min-width: 640px;
}
.compare-table th,
.compare-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(184,115,51,0.15);
  font-size: 0.95rem;
}
.compare-table thead th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover { background: rgba(250,247,242,0.7); }
.compare-table td:first-child {
  font-weight: 500;
  color: var(--navy);
  background: rgba(250,247,242,0.5);
}
.compare-table .col-featured {
  background: linear-gradient(180deg, rgba(212,175,55,0.12), rgba(212,175,55,0.06));
  color: var(--navy);
}
.compare-table thead .col-featured {
  background: linear-gradient(135deg, var(--gold), var(--copper));
  color: var(--navy);
}

/* --- Responsive --- */
@media (max-width: 820px) {
  .pricing-featured { transform: none; }
  .pricing-featured:hover { transform: translateY(-4px); }
}
