:root {
  /* HÀNH MỘC */
  --moc-primary:       #1B6B4A;
  --moc-light:         #237D58;
  --moc-dark:          #145438;
  --moc-tint:          #E8F5EE;

  /* HÀNH THỔ */
  --tho-beige:         #F5F0E8;
  --tho-sand:          #FAF7F2;
  --tho-taupe:         #D4C5B2;
  --tho-cream:         #FFFDF8;

  /* HÀNH HỎA */
  --hoa-burgundy:      #7A1F3D;
  --hoa-burgundy-hover:#922548;
  --hoa-terra:         #C4663A;
  --hoa-terra-hover:   #D47A52;

  /* HÀNH KIM */
  --kim-gold:          #C5A55A;
  --kim-gold-light:    #D4B96E;
  --kim-white:         #FFFFFF;

  /* HÀNH THỦY */
  --thuy-navy:         #1A2744;
  --thuy-navy-muted:   #2A3A5C;

  /* SHADOWS & ROUNDINGS */
  --shadow-sm:         0 2px 4px rgba(0,0,0,0.04);
  --shadow-md:         0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg:         0 12px 24px rgba(0,0,0,0.12);
  --radius-sm:         4px;
  --radius-md:         12px;
  --radius-lg:         20px;
  --radius-full:       9999px;

  /* SPACING */
  --space-xs:          8px;
  --space-sm:          16px;
  --space-md:          24px;
  --space-lg:          32px;
  --space-xl:          48px;
  --space-2xl:         64px;
  --space-3xl:         96px;

  /* TYPOGRAPHY */
  --font-heading:      'Instrument Serif', serif;
  --font-body:         'Be Vietnam Pro', sans-serif;
  --font-hand:         'Caveat', cursive;
  
  --max-content-width: 680px;
  --max-page-width:    1000px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--moc-dark);
  background-color: var(--tho-sand);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  line-height: 1.15;
  margin-bottom: 24px;
  font-weight: 400; 
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(48px, 6vw, 72px); }
h2 { font-size: clamp(36px, 5vw, 56px); }
h3 { font-size: clamp(24px, 4vw, 36px); font-family: var(--font-body); font-weight: 600; letter-spacing: -0.01em;}
h4 { font-family: var(--font-body); font-weight: 600; font-size: 20px;}

p { margin-bottom: 24px; max-width: var(--max-content-width); font-size: 17px;}
a { text-decoration: none; color: inherit; }

.container {
  width: 100%;
  max-width: var(--max-page-width);
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; margin-left: auto; margin-right: auto; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.relative { position: relative; }
.absolute { position: absolute; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  min-height: 52px;
  white-space: nowrap;
}
.btn-primary {
  background-color: var(--hoa-burgundy);
  color: var(--kim-white);
}
.btn-primary:hover {
  background-color: var(--hoa-burgundy-hover);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}
.btn-secondary {
  background-color: var(--hoa-terra);
  color: var(--kim-white);
}
.btn-secondary:hover {
  background-color: var(--hoa-terra-hover);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}

/* Handwritten / Caveat styling */
.handwritten {
  font-family: var(--font-hand);
  font-size: 28px;
  color: var(--hoa-burgundy);
  transform: rotate(-6deg);
  display: inline-block;
  line-height: 1;
}

.hero-annotate {
  position: absolute; 
  left: calc(100% + 20px); 
  bottom: -15px; 
  white-space: nowrap; 
}
.hero-annotate svg {
  display: block; 
  margin-top: -5px;
  margin-left: -5px;
}
@media (max-width: 768px) {
  .hero-annotate {
    position: relative;
    left: 0;
    bottom: auto;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 16px;
    margin-left: 20px;
    font-size: 24px;
    transform: rotate(0);
  }
  .hero-annotate svg {
    transform: scaleX(-1) rotate(90deg) !important;
  }
}

/* Wavy Underline */
.wavy-underline {
  position: relative;
  display: inline-block;
  z-index: 1;
}
.wavy-underline::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 4'%3E%3Cpath fill='none' stroke='%23C5A55A' stroke-width='1.5' d='M0 2 Q 5 4 10 2 T 20 2'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 20px 8px;
  z-index: -1;
}

/* Sections Global */
section {
  padding: 120px 0;
  position: relative;
}
@media (max-width: 768px) {
  section { padding: 80px 0; }
  .btn { min-width: 100%; }
}

/* Section dividers */
.divider-bottom-curve {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: translateY(1px);
}

/* Navbar */
.navbar {
  background-color: var(--moc-primary);
  padding: 16px 0;
  color: var(--kim-white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}
.navbar .logo {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--kim-gold);
}

/* 01. Hero - Asymmetric */
.hero {
  background: linear-gradient(135deg, var(--moc-primary), var(--moc-light));
  color: var(--kim-white);
  overflow: hidden;
}
.hero p { color: rgba(255,255,255,0.9); }
.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-cta-wrapper { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 40px; }

/* Tilted Gallery for Hero */
.tilted-gallery {
  position: relative;
  height: 500px;
  width: 100%;
}
.tilted-gallery img {
  position: absolute;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), z-index 0s;
  border: 4px solid var(--tho-sand);
}
.tilted-gallery img:hover {
  transform: scale(1.05) rotate(0deg) !important;
  z-index: 10 !important;
}
.tilted-gallery .img-1 { width: 50%; height: auto; top: 10%; right: 5%; transform: rotate(5deg); z-index: 1; }
.tilted-gallery .img-2 { width: 45%; height: auto; top: 30%; left: 10%; transform: rotate(-8deg); z-index: 2; }
.tilted-gallery .img-3 { width: 55%; height: auto; bottom: 10%; right: 15%; transform: rotate(3deg); z-index: 3; }

@media (max-width: 768px) {
  .hero-container { grid-template-columns: 1fr; }
  .tilted-gallery { height: 350px; margin-top: 40px;}
}

/* 02. Social Proof */
.social-proof {
  background-color: var(--tho-beige);
  padding: 48px 0;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}
.proof-number {
  font-family: var(--font-heading);
  font-size: 56px;
  color: var(--kim-gold);
  line-height: 1;
}
.proof-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--moc-dark);
  margin-top: 8px;
}

/* Mini Preview */
.mini-preview {
  background-color: var(--moc-tint);
}
.preview-card {
  background: var(--tho-cream);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 48px;
  max-width: 680px;
  margin: 48px auto 0;
  border: 1px solid var(--tho-taupe);
}
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 15px;}
.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--tho-taupe);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 16px;
  background: var(--kim-white);
  transition: border-color 0.3s;
}
.form-control:focus { outline: none; border-color: var(--kim-gold); }

.preview-result { display: none; animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.badge {
  background: var(--moc-primary);
  color: var(--kim-white);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
}

/* Empathy */
.empathy {
  background-color: var(--tho-sand);
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 64px;
}
.pain-card {
  background: var(--tho-cream);
  border: 1px solid var(--tho-taupe);
  padding: 32px;
  border-radius: var(--radius-md);
  transition: transform 0.3s;
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pain-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--tho-beige);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

/* Solution */
.solution {
  background-color: var(--moc-primary);
  color: var(--kim-white);
}
.solution p { color: rgba(255,255,255,0.9); }
.bio-block {
  display: flex;
  align-items: center;
  gap: 32px;
  background: rgba(0,0,0,0.15);
  padding: 40px;
  border-radius: var(--radius-lg);
  max-width: 800px;
  margin: 64px auto;
}
.bio-img {
  width: 140px; height: 140px;
  border-radius: var(--radius-full);
  border: 2px solid var(--kim-gold);
  object-fit: cover;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.pillar-card {
  border: 1px solid rgba(197,165,90,0.5);
  padding: 32px;
  border-radius: var(--radius-md);
  background: rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.pillar-card:hover { transform: translateY(-4px); }

/* Services */
.services {
  background-color: var(--tho-sand);
}
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); 
  gap: 32px;
  margin-top: 48px;
}
.service-card {
  background: var(--tho-cream);
  border: 1px solid var(--tho-taupe);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.service-tag {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--hoa-burgundy);
  color: var(--kim-white);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.service-price {
  font-family: var(--font-heading);
  font-size: 36px;
  color: var(--hoa-burgundy);
  margin: 24px 0;
}
.service-card ul {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}
.service-card li { position: relative; padding-left: 24px; margin-bottom: 12px; }
.service-card li::before { content: '✓'; color: var(--kim-gold); position: absolute; left: 0; font-weight: bold; }

/* How it works */
.how-it-works { background-color: var(--moc-tint); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 48px;
  margin-top: 64px;
}
.step-number {
  font-family: var(--font-heading);
  font-size: 72px;
  color: var(--kim-gold);
  line-height: 1;
  opacity: 0.8;
  margin-bottom: 8px;
}

/* Testimonials */
.testimonials { background-color: var(--tho-beige); }
.testi-tilted-gallery {
  position: relative;
  height: 250px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 64px;
}
.testi-tilted-gallery img {
  position: absolute;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  border: 4px solid var(--kim-white);
  transition: transform 0.3s, z-index 0s;
  background: var(--kim-white);
}
.testi-tilted-gallery img:hover { transform: scale(1.1) rotate(0deg) !important; z-index: 10 !important; }
.testi-tilted-gallery .img-1 { width: 140px; height: 140px; top: 20%; left: 5%; transform: rotate(-5deg); z-index: 2; }
.testi-tilted-gallery .img-2 { width: 160px; height: 160px; top: 10%; left: 25%; transform: rotate(4deg); z-index: 1; }
.testi-tilted-gallery .img-3 { width: 180px; height: 180px; top: 5%; left: 50%; transform: translateX(-50%) rotate(0deg); z-index: 3; }
.testi-tilted-gallery .img-4 { width: 160px; height: 160px; top: 15%; right: 25%; transform: rotate(-6deg); z-index: 2; }
.testi-tilted-gallery .img-5 { width: 140px; height: 140px; top: 25%; right: 5%; transform: rotate(8deg); z-index: 1; }

.featured-testimonial {
  background: var(--tho-cream);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  margin-bottom: 48px;
  border: 1px solid var(--tho-taupe);
  box-shadow: var(--shadow-md);
}
.featured-testimonial .quote-icon {
  font-family: var(--font-heading);
  font-size: 100px;
  color: var(--kim-gold);
  opacity: 0.2;
  line-height: 1;
  position: absolute;
  top: 10px; left: 16px;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.testi-card {
  background: var(--tho-cream);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--tho-taupe);
}

/* Transformation */
.transformation { background-color: var(--moc-primary); color: var(--kim-white); }
.story-card {
  background: var(--tho-cream);
  color: var(--moc-dark);
  padding: 32px;
  border-radius: var(--radius-md);
}

/* Learners */
.learners { background-color: var(--tho-sand); }
.level-badge {
  color: var(--kim-gold);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* FAQ */
.faq { background-color: var(--moc-tint); }
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item {
  background: var(--kim-white);
  border: 1px solid var(--tho-taupe);
  margin-bottom: 8px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.accordion-header {
  padding: 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--moc-dark);
  font-size: 18px;
  transition: background 0.2s;
}
.accordion-header:hover { background: var(--tho-sand); }
.accordion-content {
  padding: 0 24px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Final CTA */
.final-cta { background-color: var(--moc-primary); color: var(--kim-white); }
.trust-line { margin-top: 32px; color: var(--kim-gold); font-size: 15px;}

/* Footer & Fix overlap */
.footer {
  background-color: var(--thuy-navy);
  color: rgba(255,255,255,0.8);
  padding: 80px 0 40px;
  position: relative;
  margin-top: 60px; 
  z-index: 1; 
}
.footer-wave {
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 62px; 
  z-index: 0; 
}
.footer .container {
  position: relative;
  z-index: 10; 
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-start;
  justify-content: space-between;
}

/* Modal */
.modal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center;
  z-index: 200; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content {
  background: var(--tho-cream); border-radius: var(--radius-lg); padding: 48px;
  max-width: 500px; width: 90%; position: relative;
}
.modal-close { position: absolute; top: 16px; right: 24px; cursor: pointer; font-size: 32px; color: var(--tho-taupe); }

/* Floating Bar */
.floating-bar {
  position: fixed; bottom: 0; left: 0; width: 100%;
  background: var(--kim-white); border-top: 1px solid var(--tho-taupe);
  padding: 16px; z-index: 90; box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
  transform: translateY(100%); transition: transform 0.3s;
}
.floating-bar.visible { transform: translateY(0); }
.floating-bar .container-flex { display: flex; gap: 16px; max-width: var(--max-page-width); margin: 0 auto; width: 100%;}
.floating-bar .btn { flex: 1; }
