/* ==========================================================================
   CONTENT.CSS — STYLES CHO PHẦN THÂN TRANG CHỦ & TRANSITION SECTION
   ========================================================================== */

section {
  padding: 80px 0;
}

.eyebrow {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--green-dark);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  text-align: center;
  font-size: clamp(24px, 3.5vw, 36px);
  color: var(--forest-deep);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.3;
}

.section-title em {
  color: var(--green-dark);
  font-style: italic;
}

.section-sub {
  text-align: center;
  color: var(--ink-soft);
  margin-top: 14px;
  font-size: 16px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger.in > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.in > *:nth-child(2) { transition-delay: 0.15s; }
.stagger.in > *:nth-child(3) { transition-delay: 0.25s; }
.stagger.in > *:nth-child(4) { transition-delay: 0.35s; }

/* ==========================================================================
   LOGO MARQUEE STRIP (CẦU NỐI CHUYỂN TIẾP)
   ========================================================================== */

.section-logos {
  padding: 40px 0 20px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 5;
}

.logos-heading {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.logo-strip {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.logo-strip::before, .logo-strip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.logo-strip::before {
  left: 0;
  background: linear-gradient(90deg, #FFFFFF, transparent);
}

.logo-strip::after {
  right: 0;
  background: linear-gradient(-90deg, #FFFFFF, transparent);
}

.logo-track {
  display: flex;
  gap: 56px;
  align-items: center;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.logo-track:hover {
  animation-play-state: paused;
}

.logo-track img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.65;
  transition: all 0.25s ease;
}

.logo-track img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   BEFORE / AFTER INTERACTIVE TRANSFORMATION SECTION
   ========================================================================== */

.ba-switch-container {
  margin-top: 48px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.ba-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  background: rgba(0, 0, 0, 0.04);
  padding: 6px;
  border-radius: 100px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--line);
}

.ba-tab {
  background: none;
  border: none;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.ba-tab.active {
  background: var(--forest-deep);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(7, 40, 26, 0.25);
}

.ba-panel {
  display: none;
  animation: fadeInPanel 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ba-panel.active {
  display: block;
}

@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.ba-info-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ba-info-card.danger {
  border-left: 4px solid #EF4444;
}

.ba-info-card.success {
  border-left: 4px solid var(--green);
}

.ba-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
  width: fit-content;
}

.ba-badge.danger {
  background: #FEE2E2;
  color: #DC2626;
}

.ba-badge.success {
  background: var(--green-light);
  color: var(--green-dark);
}

.ba-info-card h3 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  color: var(--forest-deep);
}

.ba-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ba-list li {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.ba-list li strong {
  display: block;
  color: var(--forest-deep);
  margin-bottom: 2px;
}

.ba-stat-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-highlight-box {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.ba-stat-card.danger .stat-highlight-num {
  color: #DC2626;
}

.ba-stat-card.success .stat-highlight-num {
  color: var(--green-dark);
}

.stat-highlight-num {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-highlight-label {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5;
}

/* ==========================================================================
   BẠN LÀ SẾP
   ========================================================================== */

.boss-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

@media (max-width: 860px) {
  .boss-grid { grid-template-columns: 1fr; }
}

.boss-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.boss-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.boss-card img {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  object-fit: contain;
}

.boss-card h3 {
  font-size: 1.15rem;
  color: var(--forest-deep);
  margin-bottom: 12px;
}

.boss-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-align: left;
  line-height: 1.6;
}

.boss-card p.tip {
  color: var(--green-dark);
  font-weight: 600;
  margin-top: 12px;
}

/* ==========================================================================
   CHUYỆN THẬT THỰC CHIẾN (3D STATS)
   ========================================================================== */

.stats-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
  margin-top: 40px;
}

@media (max-width: 860px) {
  .stats-wrap { grid-template-columns: 1fr; }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr; }
}

.stat-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--green-dark);
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin: 4px 0 8px;
}

.stat-desc {
  font-size: 13px;
  color: var(--ink-soft);
}

/* ==========================================================================
   4 CÁCH KHOA ADS GIÚP BẠN
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card img.icon {
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.15rem;
  color: var(--forest-deep);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.badge-new {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
}

/* ==========================================================================
   3 KẾT QUẢ THẬT
   ========================================================================== */

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}

@media (max-width: 860px) {
  .results-grid { grid-template-columns: 1fr; }
}

.result-card {
  border-radius: 18px;
  padding: 28px 26px;
  color: #0e2b18;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 2px solid transparent;
}

.result-card:hover {
  transform: translateY(-4px);
}

.result-card.c1 {
  border-color: #00AF51;
  background: linear-gradient(165deg, #ffffff 0%, #EAFCE9 50%, #C9F5C9 100%);
}

.result-card.c2 {
  border-color: #8A94A6;
  background: linear-gradient(165deg, #ffffff 0%, #F3F5F7 50%, #E1E5EB 100%);
}

.result-card.c3 {
  border-color: #2699B1;
  background: linear-gradient(165deg, #ffffff 0%, #EAF7FA 50%, #C7ECF2 100%);
}

.result-card img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  display: block;
  margin: 16px auto -6px;
}

.result-tag {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.75;
  margin-bottom: 10px;
}

.result-headline {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 12px;
}

.result-card p {
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.85;
}

/* ==========================================================================
   TẠI SAO NÊN HAY KHÔNG NÊN
   ========================================================================== */

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 44px;
}

@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; }
}

.why-card {
  border-radius: 18px;
  padding: 34px;
  position: relative;
  overflow: hidden;
}

.why-card.yes {
  background: linear-gradient(160deg, #7BE39B 0%, #1FA857 55%, #0A7A38 100%);
  color: #fff;
}

.why-card.no {
  background: linear-gradient(160deg, #B9C2CE 0%, #5C6B80 55%, #1F2937 100%);
  color: #fff;
}

.why-card h3 {
  font-size: 18px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.why-card h3 img {
  width: 20px;
  height: 20px;
}

.why-card.yes h3 { color: #fff; }
.why-card p { font-size: 13.5px; line-height: 1.6; }
.why-card.yes p { color: rgba(255, 255, 255, 0.92); }
.why-card.no p { color: rgba(255, 255, 255, 0.82); }
.why-card-logo { width: 150px; height: auto; margin-top: 26px; opacity: 0.95; }

/* ==========================================================================
   TIMELINE FOUNDER
   ========================================================================== */

.founder-wrap {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 20px;
  flex-wrap: wrap;
}

.founder-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.timeline {
  flex: 1;
  min-width: 260px;
}

.tl-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.tl-row:last-child { border-bottom: none; }
.tl-year { font-weight: 800; font-size: 17px; color: var(--green-dark); }
.tl-text { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.test-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 44px;
  align-items: center;
}

@media (max-width: 860px) {
  .test-wrap { grid-template-columns: 1fr; }
}

.test-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.test-card:last-child { border-bottom: none; }

.test-fb {
  position: absolute;
  top: 16px;
  right: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #1877F2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.test-fb svg { width: 14px; height: 14px; fill: #fff; }
.test-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.test-quote { font-size: 13.5px; font-style: italic; color: var(--ink); }
.test-name { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }

.friend-panel {
  background: linear-gradient(135deg, #F3FCEF 0%, #E1F7E4 55%, #CDF0D6 100%);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(rgba(0, 133, 48, 0.07) 1.5px, transparent 1.5px),
                    linear-gradient(135deg, #F3FCEF 0%, #E1F7E4 55%, #CDF0D6 100%);
  background-size: 16px 16px, cover;
  border: 1px solid rgba(0, 133, 48, 0.12);
}

.friend-panel h3 { font-size: 20px; margin: 6px 0 12px; color: var(--navy); }
.friend-panel p { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 18px; }
.friend-panel .btn { background: var(--green); }

/* ==========================================================================
   BLOG GRID
   ========================================================================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

@media (max-width: 860px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .blog-grid { grid-template-columns: 1fr; }
}

.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover { transform: translateY(-4px); }
.blog-thumb { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--navy), #0a3a72); }
.blog-body { padding: 14px; }
.blog-date { font-size: 11px; color: var(--ink-soft); margin-bottom: 6px; }
.blog-title { font-size: 13.5px; font-weight: 600; color: var(--navy); }

/* ==========================================================================
   CONTACT CTA
   ========================================================================== */

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 0.6fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 860px) {
  .contact-wrap { grid-template-columns: 1fr; }
}

.contact-wrap h2 { font-size: 26px; color: var(--navy); }
.contact-wrap .sub { color: var(--ink-soft); font-size: 14px; margin: 10px 0 26px; }
.contact-row { display: flex; gap: 48px; flex-wrap: wrap; }
.contact-label { font-size: 12px; color: var(--ink-soft); margin-bottom: 4px; }
.contact-value { font-weight: 700; color: var(--navy); font-size: 15px; }
.contact-wrap img { max-width: 200px; margin-left: auto; margin-right: auto; }
@media (max-width: 860px) { .contact-wrap img { margin: 0 auto; } }

/* ==========================================================================
   SECTION MÀU XEN KẼ
   ========================================================================== */

.section-alt {
  position: relative;
  background: #F6FAF7;
}

.section-alt::before, .section-alt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 70px;
  pointer-events: none;
}

.section-alt::before { top: 0; background: linear-gradient(to bottom, #fff, transparent); }
.section-alt::after { bottom: 0; background: linear-gradient(to bottom, transparent, #fff); }
.section-alt > .wrap { position: relative; z-index: 1; }
@media (max-width: 600px) { .section-alt::before, .section-alt::after { height: 40px; } }
