/* =============================================
   LEADER EduCRM — Hero Section
   File: hero-section.css
   ============================================= */

/* -----------------------------------------------
   SECTION WRAPPER
----------------------------------------------- */
.hero-section {
  padding: 10rem 0 96px;
  background: #ffffff;
  overflow: hidden;
}

/* -----------------------------------------------
   GRID LAYOUT: 2 cột
----------------------------------------------- */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* -----------------------------------------------
   LEFT — CONTENT
----------------------------------------------- */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Heading */
.hero-title, .hero-content h1 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 900;
  color: #1f2a44;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

.hero-title .text-green {
  color: var(--color-secondary);
}

/* Description */
.hero-desc, .hero-content p {
  font-size: 19px;
  color: #6b7280;
  line-height: 1.75;
  margin: 0;
}

.hero-desc strong {
  color: #1f2a44;
  font-weight: 700;
}

/* -----------------------------------------------
   FEATURES LIST
----------------------------------------------- */
.hero-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(43, 182, 115, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
}

.feature-text h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1f2a44;
  margin: 0 0 4px;
}

.feature-text p {
  font-size: 13.5px;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

/* -----------------------------------------------
   KPI BADGES
----------------------------------------------- */
.hero-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.kpi-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1f2a44;
  transition: border-color var(--transition-fast);
}

.kpi-badge:hover {
  border-color: rgba(43, 182, 115, 0.3);
}

.kpi-badge svg {
  color: var(--color-secondary);
  flex-shrink: 0;
}

/* -----------------------------------------------
   CTA BUTTONS
----------------------------------------------- */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero-cta .btn-primary {
  padding: 16px 40px;
  border-radius: 14px;
  background: #1f2a44;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(31, 42, 68, 0.18);
  transition: background var(--transition-normal);
}

.hero-cta .btn-primary:hover {
  background: var(--color-secondary);
}

.hero-cta .btn-outline-green {
  padding: 14px 40px;
  border-radius: 14px;
  background: transparent;
  color: var(--color-secondary);
  font-size: 17px;
  font-weight: 700;
  border: 2px solid var(--color-secondary);
  cursor: pointer;
  transition: background var(--transition-normal);
}

.hero-cta .btn-outline-green:hover {
  background: rgba(43, 182, 115, 0.05);
}

/* -----------------------------------------------
   RIGHT — VIDEO
----------------------------------------------- */
.hero-video-wrap {
  position: relative;
}

/* Glow effect phía sau */
.hero-video-wrap::before {
  content: "";
  position: absolute;
  inset: -16px;
  background: radial-gradient(
    ellipse at center,
    rgba(43, 182, 115, 0.18) 0%,
    transparent 70%
  );
  border-radius: 32px;
  pointer-events: none;
}

.hero-video-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 6px solid #ffffff;
  box-shadow: var(--shadow-lg);
  background: #0f172a;
  aspect-ratio: 16 / 9;
}

.hero-video-card iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

/* -----------------------------------------------
   RESPONSIVE
----------------------------------------------- */
@media (max-width: 1024px) {
  .hero-section {
    padding-top: 6rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-video-wrap {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn-primary,
  .hero-cta .btn-outline-green {
    width: 100%;
    text-align: center;
  }
}

/* ===================================================
   PROBLEM SOLUTION SECTION
   =================================================== */

.problem-section {
  padding: 96px 0;
  background-color: #f8fafc;
}

/* --- Heading --- */
.problem-heading {
  text-align: center;
  margin-bottom: 80px;
}

.problem-heading h2 {
  font-size: 48px;
  font-weight: 900;
  color: #1f2a44;
  line-height: 1.2;
  margin: 0 0 24px;
}
.problem-heading h2 strong {
  font-weight: 900;
}

.problem-heading__accent {
  color: #ef4444;
}

.problem-heading p {
  font-size: 20px;
  color: #9ca3af;
  max-width: 640px;
  margin: 0 auto;
}

/* --- List --- */
.problem-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* --- Row --- */
.problem-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}

/* --- Card base --- */
.problem-card {
  flex: 1;
  background: #fff;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

/* Old (problem) card */
.problem-card--old {
  border-radius: 2rem;
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow-sm);
  opacity: 0.6;
  filter: grayscale(1);
}

/* New (solution) card */
.problem-card--new {
  border-radius: 2.5rem;
  border: 2px solid rgba(43, 182, 115, 0.2);
  box-shadow: 0 20px 40px rgba(43, 182, 115, 0.1);
}

/* --- Left bar --- */
.problem-card__bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #d1d5db;
}

.problem-card__bar--new {
  width: 8px;
  background: #2bb673;
}

/* --- Glow --- */
.problem-card__glow {
  position: absolute;
  right: -32px;
  top: -32px;
  width: 96px;
  height: 96px;
  background: rgba(43, 182, 115, 0.1);
  border-radius: 50%;
  filter: blur(24px);
  pointer-events: none;
}

/* --- Card top row --- */
.problem-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

/* --- Icon --- */
.problem-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
  font-size: 16px;
}

/* --- Badge --- */
.problem-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.problem-badge--old {
  background: #f3f4f6;
  color: #6b7280;
}

.problem-badge--new {
  background: rgba(43, 182, 115, 0.1);
  color: #2bb673;
}

/* --- Card text --- */
.problem-card--old p {
  font-size: 18px;
  font-weight: 500;
  color: #1f2a44;
  line-height: 1.6;
  margin: 0;
}

.problem-card--new p {
  font-size: 20px;
  font-weight: 700;
  color: #1f2a44;
  line-height: 1.6;
  margin: 0;
}

/* --- Arrow --- */
.problem-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #2bb673;
  box-shadow: 0 8px 20px rgba(43, 182, 115, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  transition: transform var(--transition-normal);
}

.problem-arrow:hover {
  transform: scale(1.1);
}

/* --- CTA --- */
.problem-cta {
  margin-top: 80px;
  text-align: center;
}

.problem-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: #1f2a44;
  color: #fff;
  padding: 20px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 18px;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal);
  cursor: pointer;
}

.problem-cta__btn:hover {
  transform: scale(1.05);
}

.problem-cta__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2bb673;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

/* ===================================================
   RESPONSIVE — 1024px
   =================================================== */
@media (max-width: 1024px) {
  .problem-section {
    padding: 72px 0;
  }

  .problem-heading {
    margin-bottom: 56px;
  }

  .problem-heading h2 {
    font-size: 38px;
  }

  .problem-heading p {
    font-size: 17px;
  }

  .problem-card--new p {
    font-size: 17px;
  }
}

/* ===================================================
   RESPONSIVE — 768px
   =================================================== */
@media (max-width: 768px) {
  .problem-section {
    padding: 56px 0;
  }

  .problem-heading {
    margin-bottom: 40px;
  }

  .problem-heading h2 {
    font-size: 30px;
  }

  .problem-heading p {
    font-size: 16px;
  }

  .problem-row {
    flex-direction: column;
    gap: 12px;
  }

  .problem-arrow {
    transform: rotate(90deg);
    width: 40px;
    height: 40px;
    font-size: 15px;
  }

  .problem-card {
    padding: 24px;
    width: 100%;
  }

  .problem-cta {
    margin-top: 48px;
  }

  .problem-cta__btn {
    font-size: 15px;
    padding: 16px 28px;
  }
}

/* ===================================================
   RESPONSIVE — 480px
   =================================================== */
@media (max-width: 480px) {
  .problem-heading h2 {
    font-size: 24px;
  }

  .problem-heading p {
    font-size: 14px;
  }

  .problem-card--old p,
  .problem-card--new p {
    font-size: 15px;
  }

  .problem-cta__btn {
    font-size: 14px;
    padding: 14px 20px;
    gap: 10px;
  }
}

/* ===================================================
   CORE FEATURES SECTION
   =================================================== */

.features-section {
  padding: 80px 0;
  background-color: #f8fafc;
}

/* --- Heading --- */
.features-heading {
  text-align: center;
  margin-bottom: 64px;
}

.features-heading h2 {
  font-size: 44px;
  font-weight: 800;
  color: #1f2a44;
  line-height: 1.2;
  margin: 0 0 16px;
}

.features-heading p {
  font-size: 20px;
  color: #6b7280;
  margin: 0;
}

/* --- Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

/* --- Card --- */
.features-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #f3f4f6;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.features-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #2bb673;
  transform: translateY(-4px);
}

/* --- Card icon wrapper --- */
.features-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(43, 182, 115, 0.2),
    rgba(30, 158, 90, 0.2)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 22px;
  color: #2bb673;
  transition: transform var(--transition-normal);
}

.features-card:hover .features-card__icon {
  transform: scale(1.1);
}

/* --- Card title --- */
.features-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #1f2a44;
  margin: 0 0 20px;
  line-height: 1.4;
}

/* --- Card list --- */
.features-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.features-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
}

.features-card__list li i {
  color: #2bb673;
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ===================================================
   RESPONSIVE — 1024px
   =================================================== */
@media (max-width: 1024px) {
  .features-section {
    padding: 64px 0;
  }

  .features-heading h2 {
    font-size: 34px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* ===================================================
   RESPONSIVE — 768px
   =================================================== */
@media (max-width: 768px) {
  .features-section {
    padding: 48px 0;
  }

  .features-heading {
    margin-bottom: 40px;
  }

  .features-heading h2 {
    font-size: 28px;
  }

  .features-heading p {
    font-size: 16px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .features-card {
    padding: 24px;
  }
}

/* ===================================================
   RESPONSIVE — 480px
   =================================================== */
@media (max-width: 480px) {
  .features-heading h2 {
    font-size: 24px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .features-card__title {
    font-size: 16px;
  }
}

/* ===================================================
   AI LESSON PLANNING SECTION
   =================================================== */

.lesson-section {
  padding: 96px 0;
  background-color: #f8fafc;
  overflow: hidden;
}

/* -----------------------------------------------
   HEADING
----------------------------------------------- */
.lesson-heading {
  text-align: center;
  max-width: 768px;
  margin: 0 auto 96px;
}

.lesson-heading__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  background: linear-gradient(
    to right,
    rgba(43, 182, 115, 0.2),
    rgba(59, 130, 246, 0.1)
  );
  color: #2bb673;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}

.lesson-heading h2 {
  font-size: 64px;
  font-weight: 900;
  color: #1f2a44;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.lesson-heading__accent, .lesson-heading h2 strong {
  background: linear-gradient(to right, #2bb673, #1e9e5a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}

.lesson-heading p {
  font-size: 20px;
  color: #6b7280;
  margin: 0;
}

/* -----------------------------------------------
   STEPS LAYOUT
----------------------------------------------- */
.lesson-steps {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 8px;
}

/* -----------------------------------------------
   STEP
----------------------------------------------- */
.lesson-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Step label row */
.lesson-step__label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-left: 4px;
}

.lesson-step__num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.lesson-step__num--light {
  background: #fff;
  color: #2bb673;
  border: 1px solid #f3f4f6;
}

.lesson-step__num--dark {
  background: #1f2a44;
  color: #2bb673;
}

.lesson-step__label h3 {
  font-size: 18px;
  font-weight: 900;
  color: #1f2a44;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.03em;
}

/* Step card */
.lesson-step__card {
  flex: 1;
  border-radius: 40px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  transition: border-color 0.5s ease;
}

.lesson-step__card--light {
  background: #fff;
  border: 2px solid transparent;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.1);
}

.lesson-step__card--light:hover {
  border-color: rgba(43, 182, 115, 0.3);
}

.lesson-step__card--dark {
  background: #1f2a44;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* -----------------------------------------------
   STEP 01 — Preview
----------------------------------------------- */
.lesson-step__preview {
  position: relative;
  width: 100%;
  height: 160px;
  background: #f0fdf4;
  border-radius: 24px;
  border: 1px solid rgba(43, 182, 115, 0.1);
  overflow: hidden;
  margin-bottom: 20px;
}

.lesson-step__chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.lesson-step__chip i {
  color: #2bb673;
  font-size: 13px;
}

.lesson-step__chip--bounce1 {
  top: 16px;
  left: 16px;
  animation: lessonBounce 2s ease-in-out infinite;
}

.lesson-step__chip--bounce2 {
  bottom: 20px;
  right: 16px;
  animation: lessonBounce 2.5s ease-in-out infinite;
}

.lesson-step__chip--bounce2 i {
  color: #3b82f6;
}

@keyframes lessonBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.lesson-step__lines {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75%;
}

.lesson-step__line {
  height: 8px;
  border-radius: 50px;
  margin-bottom: 8px;
}

.lesson-step__line--full {
  background: rgba(43, 182, 115, 0.2);
  width: 100%;
}
.lesson-step__line--half {
  background: rgba(43, 182, 115, 0.1);
  width: 50%;
}

.lesson-step__hint {
  font-size: 13px;
  color: #9ca3af;
  font-weight: 500;
  text-align: center;
  margin: 0;
}

/* -----------------------------------------------
   STEP 02 — AI
----------------------------------------------- */
.lesson-step__glow-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(43, 182, 115, 0.2),
    transparent 70%
  );
  pointer-events: none;
}

.lesson-step__ai-icon {
  position: relative;
  z-index: 1;
  width: 112px;
  height: 112px;
  border-radius: 40px;
  background: linear-gradient(135deg, #2bb673, #50e3c2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  color: #fff;
  box-shadow: 0 0 50px rgba(43, 182, 115, 0.5);
  animation: lessonPulse 2s ease-in-out infinite;
}

@keyframes lessonPulse {
  0%,
  100% {
    box-shadow: 0 0 30px rgba(43, 182, 115, 0.4);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 60px rgba(43, 182, 115, 0.7);
    opacity: 0.5;
  }
}

.lesson-step__ai-ring {
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: lessonSpin 10s linear infinite;
}

.lesson-step__ai-dot {
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
}

@keyframes lessonSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.lesson-step__processing {
  position: relative;
  z-index: 1;
  margin-top: 32px;
  text-align: center;
}

.lesson-step__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 8px;
}

.lesson-step__dots span {
  display: block;
  width: 8px;
  height: 8px;
  background: #2bb673;
  border-radius: 50%;
  animation: lessonDot 1.2s ease-in-out infinite;
}

@keyframes lessonDot {
  0%,
  80%,
  100% {
    transform: scale(0.6);
    opacity: 0.4;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

.lesson-step__processing p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin: 0;
}

/* -----------------------------------------------
   STEP 03 — Doc
----------------------------------------------- */
.lesson-step__doc {
  position: relative;
  width: 180px;
  height: 128px;
  margin-bottom: 24px;
}

/* --- Back2 (tờ xa nhất) --- */
.lesson-step__doc-shadow--back2 {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transform: translate(16px, -16px) rotate(6deg);
  animation: doc-float-back2 3s ease-in-out infinite;
  position: absolute;
  height: 100%;
  width: 100%;
}

/* --- Back1 (tờ giữa) --- */
.lesson-step__doc-shadow--back1 {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transform: translate(8px, -8px) rotate(3deg);
  animation: doc-float-back1 3s ease-in-out infinite;
  position: absolute;
  height: 100%;
  width: 100%;
}

/* --- Main (tờ trên cùng) --- */
.lesson-step__doc-main {
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #f3f4f6;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  padding: 12px;
  animation: doc-float-main 3s ease-in-out infinite;
}

/* ===================================================
   KEYFRAMES
   =================================================== */

/* Tờ chính — nhấp nhô nhẹ, giữ nguyên góc */
@keyframes doc-float-main {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-6px) rotate(-1deg);
  }
}

/* Tờ giữa — rotate và dịch chuyển so le */
@keyframes doc-float-back1 {
  0%,
  100% {
    transform: translate(8px, -8px) rotate(3deg);
  }
  50% {
    transform: translate(10px, -14px) rotate(5deg);
  }
}

/* Tờ xa nhất — rotate mạnh hơn, dịch nhiều hơn */
@keyframes doc-float-back2 {
  0%,
  100% {
    transform: translate(16px, -16px) rotate(6deg);
  }
  50% {
    transform: translate(20px, -22px) rotate(9deg);
  }
}

.lesson-step__doc-thumb {
  flex: 1;
  background: linear-gradient(135deg, #f9fafb, #f3f4f6);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 24px;
  color: rgba(43, 182, 115, 0.25);
}

.lesson-step__doc-lines div {
  height: 6px;
  border-radius: 50px;
  background: rgba(31, 42, 68, 0.1);
  margin-bottom: 4px;
}

.lesson-step__doc-lines div:last-child {
  width: 66%;
  background: rgba(31, 42, 68, 0.05);
}

.lesson-step__download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: #2bb673;
  color: #fff;
  border: none;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(43, 182, 115, 0.3);
  transition:
    background var(--transition-fast),
    transform var(--transition-fast);
}

.lesson-step__download:hover {
  background: #1f2a44;
  transform: scale(1.02);
}

.lesson-step__download:active {
  transform: scale(0.97);
}

/* -----------------------------------------------
   ARROW between steps
----------------------------------------------- */
.lesson-arrow {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #2bb673;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 8px 24px rgba(43, 182, 115, 0.35);
  border: 4px solid #f8fafc;
  align-self: center;
  margin-top: 64px; /* align with card center, offset for label */
  transition: transform var(--transition-normal);
}

.lesson-arrow:hover {
  transform: scale(1.1);
}

/* -----------------------------------------------
   STATS
----------------------------------------------- */
.lesson-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 128px;
}

.lesson-stat {
  text-align: center;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid #fff;
}

.lesson-stat__value {
  font-size: 30px;
  font-weight: 900;
  color: #1f2a44;
  margin-bottom: 4px;
}

.lesson-stat__label {
  font-size: 10px;
  font-weight: 900;
  color: #2bb673;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.lesson-stat__desc {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 500;
}

/* ===================================================
   RESPONSIVE — 1024px
   =================================================== */
@media (max-width: 1024px) {
  .lesson-section {
    padding: 72px 0;
  }

  .lesson-heading {
    margin-bottom: 72px;
  }

  .lesson-heading h2 {
    font-size: 48px;
  }

  .lesson-step__card {
    padding: 24px;
    min-height: 220px;
  }

  .lesson-arrow {
    width: 48px;
    height: 48px;
    font-size: 16px;
  }

  .lesson-stats {
    gap: 16px;
    margin-top: 80px;
  }
}

/* ===================================================
   RESPONSIVE — 768px
   =================================================== */
@media (max-width: 768px) {
  .lesson-section {
    padding: 56px 0;
  }

  .lesson-heading {
    margin-bottom: 48px;
  }

  .lesson-heading h2 {
    font-size: 36px;
  }

  .lesson-heading p {
    font-size: 16px;
  }

  /* Stack steps vertically */
  .lesson-steps {
    flex-direction: column;
    gap: 16px;
  }

  .lesson-arrow {
    align-self: center;
    margin-top: 0;
    transform: rotate(90deg);
  }

  .lesson-arrow:hover {
    transform: rotate(90deg) scale(1.1);
  }

  .lesson-stats {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 48px;
    gap: 12px;
  }

  .lesson-step__card {
    min-height: 200px;
  }
}

/* ===================================================
   RESPONSIVE — 480px
   =================================================== */
@media (max-width: 480px) {
  .lesson-heading h2 {
    font-size: 28px;
  }

  .lesson-heading__badge {
    font-size: 10px;
  }

  .lesson-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .lesson-stat__value {
    font-size: 22px;
  }
}

/* ===================================================
   FUNNEL WORKFLOW SECTION
   =================================================== */

.funnel-section {
  padding: 80px 0;
  background-color: #f8fafc;
  overflow: hidden;
}

/* --- Heading --- */
.funnel-heading {
  text-align: center;
  margin-bottom: 64px;
}

.funnel-heading h2 {
  font-size: 36px;
  font-weight: 900;
  color: #1f2a44;
  line-height: 1.3;
  margin: 0;
}
.funnel-heading h2 span {
  font-weight: 900;
}
.funnel-heading__accent {
  color: #2bb673;
}

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

.funnel-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

/* --- Đường kẻ dọc giữa --- */
.funnel-timeline__line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #e5e7eb;
  transform: translateX(-50%);
  z-index: 0;
  overflow: hidden;
}

/* --- Scan light chạy dọc --- */
.funnel-timeline__scan {
  position: absolute;
  left: 0;
  width: 100%;
  height: 25%;
  background: linear-gradient(to bottom, transparent, #2bb673, transparent);
  opacity: 0.6;
  animation: funnel-scan 4s linear infinite;
}

@keyframes funnel-scan {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(500%);
  }
}

/* ===================================================
   STEP
   =================================================== */

.funnel-step {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 80px;
  z-index: 1;
}

/* --- Trái: content | node --- */
.funnel-step--left {
  flex-direction: row;
}

.funnel-step--left .funnel-step__content {
  width: 50%;
  padding-right: 56px;
  text-align: right;
}

.funnel-step--left .funnel-step__connector {
  right: 40px;
  left: auto;
}

/* --- Phải: node | content --- */
.funnel-step--right {
  flex-direction: row;
}

.funnel-step--right .funnel-step__content {
  width: 50%;
  padding-left: 56px;
  text-align: left;
  margin-left: auto;
}

.funnel-step--right .funnel-step__connector {
  left: 40px;
  right: auto;
}

/* --- Content box --- */
.funnel-step__content {
  position: relative;
  padding-top: 16px;
  padding-bottom: 16px;
  transition: transform var(--transition-normal);
}

.funnel-step:hover .funnel-step__content {
  transform: translateY(-4px);
}

/* --- Connector (gạch ngang nối node) --- */
.funnel-step__connector {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: #d1d5db;
  transform: translateY(-50%);
  transition:
    background var(--transition-fast),
    width var(--transition-fast);
}

.funnel-step:hover .funnel-step__connector {
  background: #2bb673;
  width: 48px;
}

/* --- Node (số tròn) --- */
.funnel-step__node {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #e5e7eb;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  color: #1f2a44;
  z-index: 2;
  transition: all var(--transition-normal);
  flex-shrink: 0;
}

.funnel-step:hover .funnel-step__node {
  border-color: #2bb673;
  color: #2bb673;
  transform: translateX(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(43, 182, 115, 0.4);
}

/* --- Title & Desc --- */
.funnel-step__title {
  font-size: 20px;
  font-weight: 700;
  color: #1f2a44;
  margin: 0 0 6px;
  transition: color var(--transition-fast);
}

.funnel-step:hover .funnel-step__title {
  color: #2bb673;
}

.funnel-step__desc {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
  max-width: 320px;
}

.funnel-step--left .funnel-step__desc {
  margin-left: auto;
}

/* ===================================================
   RESPONSIVE — 1024px
   =================================================== */
@media (max-width: 1024px) {
  .funnel-heading h2 {
    font-size: 30px;
  }

  .funnel-step__title {
    font-size: 18px;
  }
}

/* ===================================================
   RESPONSIVE — 768px
   =================================================== */
@media (max-width: 768px) {
  .funnel-section {
    padding: 56px 0;
  }

  .funnel-heading {
    margin-bottom: 40px;
  }

  .funnel-heading h2 {
    font-size: 24px;
  }

  /* Mobile: timeline dịch sang trái, tất cả step về 1 cột */
  .funnel-timeline__line {
    left: 24px;
    transform: none;
  }

  .funnel-step--left,
  .funnel-step--right {
    flex-direction: row;
    padding-left: 64px;
  }

  .funnel-step--left .funnel-step__content,
  .funnel-step--right .funnel-step__content {
    width: 100%;
    padding-left: 16px;
    padding-right: 0;
    text-align: left;
    margin-left: 0;
  }

  .funnel-step__node {
    left: 24px;
    transform: translateX(-50%);
  }

  .funnel-step:hover .funnel-step__node {
    transform: translateX(-50%) scale(1.1);
  }

  .funnel-step__connector {
    display: none;
  }

  .funnel-step--left .funnel-step__desc {
    margin-left: 0;
  }
}

/* ===================================================
   RESPONSIVE — 480px
   =================================================== */
@media (max-width: 480px) {
  .funnel-heading h2 {
    font-size: 20px;
  }

  .funnel-step__title {
    font-size: 16px;
  }

  .funnel-step__desc {
    font-size: 13px;
  }
}

/* ===================================================
   INTEGRATIONS SECTION
   =================================================== */

.integ-section {
  padding: 80px 0;
  background-color: #f8fafc;
}

/* --- Heading --- */
.integ-heading {
  text-align: center;
  margin-bottom: 64px;
}

.integ-heading h2 {
  font-size: 44px;
  font-weight: 800;
  color: #1f2a44;
  line-height: 1.2;
  margin: 0 0 16px;
}

.integ-heading p {
  font-size: 20px;
  color: #6b7280;
  margin: 0;
}

/* --- Grid duy nhất — tự wrap 5 cột --- */
.integ-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

/* --- Item --- */
.integ-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: default;
}

/* --- Logo box --- */
.integ-item__logo {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #f3f4f6;
  box-shadow: var(--shadow-sm);
  padding: 24px;
  box-sizing: border-box;
  transition: box-shadow var(--transition-normal);
}

.integ-item__logo svg {
  width: 100%;
  height: 100%;
  filter: grayscale(1);
  transition: filter var(--transition-normal);
}

.integ-item:hover .integ-item__logo {
  box-shadow: var(--shadow-md);
}

.integ-item:hover .integ-item__logo svg {
  filter: grayscale(0);
}

/* --- Name & Category --- */
.integ-item__name {
  font-size: 14px;
  font-weight: 600;
  color: #1f2a44;
  text-align: center;
  margin: 0;
  transition: color var(--transition-fast);
}

.integ-item:hover .integ-item__name {
  color: #2bb673;
}

.integ-item__cat {
  font-size: 12px;
  color: #6b7280;
  text-align: center;
  margin: 0;
}

/* --- CTA --- */
.integ-cta {
  text-align: center;
  margin-top: 48px;
}

.btn-outline-green {
  padding: 16px 32px;
  border-radius: 50px;
  border: 2px solid #2bb673;
  background: transparent;
  color: #2bb673;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-outline-green:hover {
  background: #2bb673;
  color: #fff;
}

/* ===================================================
   RESPONSIVE — 1024px
   =================================================== */
@media (max-width: 1024px) {
  .integ-heading h2 {
    font-size: 34px;
  }

  .integ-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }

  .integ-item__logo {
    padding: 18px;
  }
}

/* ===================================================
   RESPONSIVE — 768px
   =================================================== */
@media (max-width: 768px) {
  .integ-section {
    padding: 56px 0;
  }

  .integ-heading {
    margin-bottom: 40px;
  }

  .integ-heading h2 {
    font-size: 28px;
  }

  .integ-heading p {
    font-size: 16px;
  }

  .integ-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

/* ===================================================
   RESPONSIVE — 480px
   =================================================== */
@media (max-width: 480px) {
  .integ-heading h2 {
    font-size: 22px;
  }

  .integ-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .integ-item__logo {
    padding: 14px;
  }

  .integ-item__name {
    font-size: 11px;
  }

  .integ-item__cat {
    font-size: 10px;
  }
}

/* ===================================================
   TRUST STRIP SECTION
   =================================================== */

.trust-section {
  padding: 64px 0;
  background-color: #f8fafc;
}

/* --- Heading --- */
.trust-heading {
  text-align: center;
  margin-bottom: 48px;
}

.trust-heading p {
  font-size: 18px;
  color: #6b7280;
  margin: 0;
}

.trust-heading strong {
  color: #1f2a44;
  font-weight: 700;
}

/* --- Grid --- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* --- Card --- */
.trust-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #f3f4f6;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: box-shadow var(--transition-normal);
}

.trust-card:hover {
  box-shadow: var(--shadow-md);
}

/* --- Icon --- */
.trust-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(43, 182, 115, 0.2),
    rgba(30, 158, 90, 0.2)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
  color: #2bb673;
}

/* --- Value (số lớn) --- */
.trust-card__value {
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(to right, #1e9e5a, #2bb673);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Label --- */
.trust-card__label {
  font-size: 18px;
  font-weight: 600;
  color: #1f2a44;
  margin-bottom: 8px;
}

/* --- Desc --- */
.trust-card__desc {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
}

/* ===================================================
   RESPONSIVE — 1024px
   =================================================== */
@media (max-width: 1024px) {
  .trust-card__value {
    font-size: 40px;
  }

  .trust-card__label {
    font-size: 16px;
  }
}

/* ===================================================
   RESPONSIVE — 768px
   =================================================== */
@media (max-width: 768px) {
  .trust-section {
    padding: 48px 0;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .trust-card {
    padding: 24px;
  }
}

/* ===================================================
   RESPONSIVE — 480px
   =================================================== */
@media (max-width: 480px) {
  .trust-card__value {
    font-size: 36px;
  }

  .trust-card__icon {
    width: 52px;
    height: 52px;
    font-size: 20px;
  }
}

/* ===================================================
   CASE STUDIES SECTION
   =================================================== */

.case-section {
  padding: 80px 0;
  background: #fff;
}

/* --- Heading --- */
.case-heading {
  text-align: center;
  margin-bottom: 64px;
}

.case-heading h2 {
  font-size: 44px;
  font-weight: 800;
  color: #1f2a44;
  line-height: 1.2;
  margin: 0 0 16px;
}

.case-heading p {
  font-size: 20px;
  color: #6b7280;
  margin: 0;
}

/* --- Grid --- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* --- Card --- */
.case-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #f3f4f6;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow var(--transition-normal);
}

.case-card:hover {
  box-shadow: var(--shadow-lg);
}

/* --- Top row: emoji + quote icon --- */
.case-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.case-card__emoji {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(43, 182, 115, 0.15),
    rgba(30, 158, 90, 0.15)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #2bb673;
}

.case-card__quote {
  font-size: 28px;
  color: rgba(43, 182, 115, 0.2);
}

/* --- Name --- */
.case-card__name {
  font-size: 18px;
  font-weight: 700;
  color: #1f2a44;
  margin: 0;
  line-height: 1.4;
}

/* --- Tags --- */
.case-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-tag {
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: #2bb673;
  background: linear-gradient(
    to right,
    rgba(43, 182, 115, 0.1),
    rgba(30, 158, 90, 0.1)
  );
}

/* --- Quote text --- */
.case-card__quote-text {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.7;
  font-style: italic;
  margin: 0;
  flex: 1;
}

/* --- Author --- */
.case-card__author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid #f3f4f6;
  margin-top: auto;
}

.case-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #2bb673, #1e9e5a);
}

.case-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card__author-name {
  font-size: 15px;
  font-weight: 600;
  color: #1f2a44;
}

.case-card__author-role {
  font-size: 13px;
  color: #6b7280;
  margin-top: 2px;
}

/* ===================================================
   RESPONSIVE — 1024px
   =================================================== */
@media (max-width: 1024px) {
  .case-heading h2 {
    font-size: 34px;
  }

  .case-grid {
    gap: 20px;
  }
}

/* ===================================================
   RESPONSIVE — 768px
   =================================================== */
@media (max-width: 768px) {
  .case-section {
    padding: 56px 0;
  }

  .case-heading {
    margin-bottom: 40px;
  }

  .case-heading h2 {
    font-size: 28px;
  }

  .case-heading p {
    font-size: 16px;
  }

  .case-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ===================================================
   RESPONSIVE — 480px
   =================================================== */
@media (max-width: 480px) {
  .case-heading h2 {
    font-size: 22px;
  }

  .case-card {
    padding: 24px;
  }

  .case-tag {
    font-size: 12px;
    padding: 4px 10px;
  }
}

/* ===================================================
   IMPLEMENTATION TIMELINE SECTION
   =================================================== */

.impl-section {
  padding: 96px 0;
  background-color: #f8fafc;
}

/* --- Heading --- */
.impl-heading {
  text-align: center;
  margin-bottom: 96px;
}

.impl-heading__badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(43, 182, 115, 0.1);
  color: #2bb673;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.impl-heading h2 {
  font-size: 48px;
  font-weight: 900;
  color: #1f2a44;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.02em;
}
.impl-heading h2 strong {
  font-weight: 900;
}
.impl-heading__accent {
  color: #2bb673;
}

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

.impl-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

/* --- Đường ngang desktop --- */
.impl-timeline__line {
  display: none;
}

@media (min-width: 1025px) {
  .impl-timeline__line {
    display: block;
    position: absolute;
    top: calc(60% + 56px);
    left: 0;
    width: 100%;
    height: 2px;
    background: #e5e7eb;
    z-index: 0;
  }
}

/* ===================================================
   STEP
   =================================================== */

.impl-step {
  position: relative;
}

/* --- Số lớn nền --- */
.impl-step__num {
  position: absolute;
  top: -48px;
  left: 0;
  font-size: 72px;
  font-weight: 900;
  color: rgba(203, 213, 225, 0.6);
  line-height: 1;
  user-select: none;
  z-index: 0;
  transition: color var(--transition-slow);
}

.impl-step:hover .impl-step__num {
  color: rgba(43, 182, 115, 0.2);
}

/* --- Card --- */
.impl-step__card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  border: 1px solid #f3f4f6;
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  z-index: 1;
  transition: all var(--transition-normal);
  overflow: hidden;
}

.impl-step:hover .impl-step__card {
  border-color: rgba(43, 182, 115, 0.3);
  box-shadow: 0 20px 40px -15px rgba(43, 182, 115, 0.2);
}

/* --- Glow góc phải --- */
.impl-step__card-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 96px;
  height: 96px;
  background: rgba(43, 182, 115, 0.05);
  border-bottom-left-radius: 100%;
  transform: translate(32px, -32px);
  transition: transform var(--transition-slow);
  pointer-events: none;
}

.impl-step:hover .impl-step__card-glow {
  transform: translate(16px, -16px);
}

/* --- Icon box --- */
.impl-step__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #2bb673;
  margin-bottom: 24px;
  flex-shrink: 0;
  transition:
    background var(--transition-normal),
    color var(--transition-normal);
  position: relative;
  z-index: 1;
}

.impl-step:hover .impl-step__icon {
  background: #2bb673;
  color: #fff;
}

/* --- Body --- */
.impl-step__body {
  flex: 1;
  position: relative;
  z-index: 1;
}

/* --- Badge ngày --- */
.impl-step__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 8px;
  background: rgba(43, 182, 115, 0.1);
  color: #2bb673;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* --- Dot ping --- */
.impl-step__dot {
  position: relative;
  width: 8px;
  height: 8px;
  flex-shrink: 0;
}

.impl-step__dot::before,
.impl-step__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #2bb673;
}

.impl-step__dot::before {
  animation: impl-ping 1.5s ease-in-out infinite;
  opacity: 0.75;
}

@keyframes impl-ping {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.75;
  }
  50% {
    transform: scale(2);
    opacity: 0;
  }
}

/* --- Title --- */
.impl-step__title {
  font-size: 20px;
  font-weight: 700;
  color: #1f2a44;
  margin: 0 0 16px;
  transition: color var(--transition-fast);
}

.impl-step:hover .impl-step__title {
  color: #2bb673;
}

/* --- List --- */
.impl-step__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.impl-step__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #475569;
  font-weight: 500;
  line-height: 1.5;
}

.impl-step__list li i {
  color: #2bb673;
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
  background: rgba(43, 182, 115, 0.15);
  border-radius: 50%;
  padding: 2px;
}

/* --- Arrow connector (desktop only) --- */
.impl-step__arrow {
  display: none;
  position: absolute;
  top: 50%;
  right: -22px;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #2bb673;
  border: 2px solid #2bb673;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  box-shadow: var(--shadow-md);
  z-index: 20;
  /* Quan trọng: nằm trên .impl-step, không bị clip bởi card */
}

@media (min-width: 1025px) {
  .impl-step__arrow {
    display: flex;
  }

  /* Step cuối không có arrow */
  .impl-step:last-child .impl-step__arrow {
    display: none;
  }
}

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

.impl-cta {
  margin-top: 80px;
  display: flex;
  justify-content: center;
}

.impl-cta__btn {
  position: relative;
  padding: 20px 40px;
  border-radius: 16px;
  background: #1f2a44;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: transform var(--transition-normal);
}

.impl-cta__btn:hover {
  transform: scale(1.05);
}

.impl-cta__btn-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #1e9e5a, #2bb673);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.impl-cta__btn:hover .impl-cta__btn-bg {
  opacity: 1;
}

.impl-cta__btn span {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ===================================================
   RESPONSIVE — 1024px
   =================================================== */
@media (max-width: 1024px) {
  .impl-heading h2 {
    font-size: 36px;
  }

  .impl-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 24px;
  }
}

/* ===================================================
   RESPONSIVE — 768px
   =================================================== */
@media (max-width: 768px) {
  .impl-section {
    padding: 56px 0;
  }

  .impl-heading {
    margin-bottom: 56px;
  }

  .impl-heading h2 {
    font-size: 28px;
  }

  .impl-timeline {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ===================================================
   RESPONSIVE — 480px
   =================================================== */
@media (max-width: 480px) {
  .impl-heading h2 {
    font-size: 24px;
  }

  .impl-step__card {
    padding: 24px;
  }

  .impl-step__title {
    font-size: 17px;
  }

  .impl-cta__btn {
    font-size: 15px;
    padding: 16px 28px;
  }
}

/* ===================================================
   PRICING SECTION
   =================================================== */

.pricing-section {
  padding: 80px 0;
  background-color: #f8fafc;
}

/* --- Heading --- */
.pricing-heading {
  text-align: center;
  margin-bottom: 64px;
}

.pricing-heading h2 {
  font-size: 44px;
  font-weight: 800;
  color: #1f2a44;
  line-height: 1.2;
  margin: 0 0 16px;
}

.pricing-heading p {
  font-size: 20px;
  color: #6b7280;
  margin: 0;
}

/* --- Grid --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

/* ===================================================
   CARD
   =================================================== */

.pricing-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #f3f4f6;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: box-shadow var(--transition-normal);
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
}

/* Featured card */
.pricing-card--featured {
  border: 2px solid #2bb673;
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
}

.pricing-card--featured:hover {
  box-shadow: 0 24px 48px rgba(43, 182, 115, 0.2);
}

/* --- Badge "Phổ biến nhất" --- */
.pricing-card__badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 50px;
  background: linear-gradient(to right, #1e9e5a, #2bb673);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}

/* --- Info block --- */
.pricing-card__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-card__name {
  font-size: 24px;
  font-weight: 700;
  color: #1f2a44;
  margin: 0;
}

.pricing-card__desc {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 8px;
}

.pricing-card__price-value {
  font-size: 36px;
  font-weight: 800;
  color: #1f2a44;
  line-height: 1;
}

.pricing-card__price-unit {
  font-size: 15px;
  color: #6b7280;
}

/* --- Feature list --- */
.pricing-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.pricing-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
}

.pricing-card__list li i {
  color: #2bb673;
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* --- Button --- */
.pricing-card__btn {
  width: 100%;
  padding: 16px 24px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
}

.pricing-card__btn--outline {
  background: transparent;
  border: 2px solid #2bb673;
  color: #2bb673;
}

.pricing-card__btn--outline:hover {
  background: #2bb673;
  color: #fff;
}

.pricing-card__btn--primary {
  background: linear-gradient(to right, #1e9e5a, #2bb673);
  color: #fff;
  border: none;
}

.pricing-card__btn--primary:hover {
  box-shadow: 0 8px 20px rgba(43, 182, 115, 0.4);
  transform: translateY(-2px);
}

/* --- Footer --- */
.pricing-footer {
  text-align: center;
  margin-top: 48px;
}

.pricing-footer p {
  font-size: 15px;
  color: #6b7280;
  margin: 0 0 8px;
}

.pricing-footer p a {
  color: #2bb673;
  text-decoration: underline;
  font-weight: 600;
}

.pricing-footer__note {
  font-size: 13px;
  color: #9ca3af;
}

/* ===================================================
   RESPONSIVE — 1024px
   =================================================== */
@media (max-width: 1024px) {
  .pricing-heading h2 {
    font-size: 34px;
  }

  .pricing-grid {
    gap: 20px;
  }

  .pricing-card--featured {
    transform: scale(1.03);
  }

  .pricing-card__price-value {
    font-size: 30px;
  }
}

/* ===================================================
   RESPONSIVE — 768px
   =================================================== */
@media (max-width: 768px) {
  .pricing-section {
    padding: 56px 0;
  }

  .pricing-heading {
    margin-bottom: 40px;
  }

  .pricing-heading h2 {
    font-size: 28px;
  }

  .pricing-heading p {
    font-size: 16px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 480px;
    margin: 0 auto;
  }

  /* Featured không scale trên mobile */
  .pricing-card--featured {
    transform: none;
  }
}

/* ===================================================
   RESPONSIVE — 480px
   =================================================== */
@media (max-width: 480px) {
  .pricing-heading h2 {
    font-size: 22px;
  }

  .pricing-card {
    padding: 24px;
  }

  .pricing-card__price-value {
    font-size: 28px;
  }
}

/* ===================================================
   FAQ SECTION 
   =================================================== */
.faq-section {
  padding: 80px 0;
  background-color: #ffffff;
  overflow: hidden; /* Tránh scroll ngang khi chạy AOS */
}

.faq-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1024px) {
  .faq-container {
    padding: 0 48px;
  }
}

.faq-header {
  text-align: center;
  margin-bottom: 64px;
}

.faq-header h2 {
  font-size: 2.25rem;
  line-height: 1.2;
  color: #1f2a44;
  margin-bottom: 16px;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .faq-header h2 {
    font-size: 3rem;
  }
}
@media (max-width: 768px) {
  .faq-header h2 {
    font-size: 22px;
  }
  .faq-header p {
    font-size: 16px !important;
  }
  .faq-question {
    font-size: 14px;
  }
}

.faq-header p {
  font-size: 1.25rem;
  color: #6b7280;
}

.faq-items {
  max-width: 768px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(43, 182, 115, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.125rem;
  color: #1f2a44;
  font-weight: 600;
  transition: color 0.3s ease;
}

.faq-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background-color: rgba(43, 182, 115, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fix lỗi giật bằng Grid Template Rows */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-content {
  min-height: 0;
  overflow: hidden;
  padding: 0 24px;
  color: #4b5563;
  line-height: 1.7;
  transition: padding 0.4s ease;
}

/* Trạng thái Active */
.faq-item.active {
  border-color: #2bb673;
}

.faq-item.active .faq-question {
  color: #2bb673;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.active .faq-answer-content {
  padding-bottom: 24px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background-color: #2bb673;
}

.faq-item.active .faq-icon svg {
  stroke: #ffffff;
}

/* ===================================================
   Contact SECTION 
   =================================================== */
.contact-section {
  text-align: center;
  margin-top: 48px;
}

.contact-section p {
  color: #6b7280;
  margin-bottom: 20px;
}

.contact-btn {
  display: inline-block;
  padding: 14px 32px;
  border: 2px solid #2bb673;
  color: #2bb673;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background-color: #2bb673;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(43, 182, 115, 0.2);
}

/* Section & Background */
.lead-gen-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #0a1b3d 0%,
    #0f2760 40%,
    #103464 70%,
    #0a2952 100%
  );
  padding: 80px 0;
}

.bg-blur {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  pointer-events: none;
  background: #2bb673;
  filter: blur(80px);
}
.blur-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  left: -100px;
}
.blur-2 {
  width: 350px;
  height: 350px;
  bottom: -100px;
  right: -100px;
}

.lead-gen-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.lead-gen-grid {
  display: grid;
  gap: 60px;
  align-items: center;
}

@media (min-width: 1024px) {
  .lead-gen-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .lead-gen-content {
    grid-column: span 3;
  }
  .lead-gen-form-wrapper {
    grid-column: span 2;
  }
}

/* Left Content */
.lead-gen-content .title {
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}
.lead-gen-content .highlight {
  color: #2bb673;
}
.lead-gen-content .description {
  color: rgba(219, 234, 254, 0.8);
  font-size: 1.05rem;
  margin-bottom: 40px;
  max-width: 500px;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin-bottom: 48px;
}
.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #dbeafe;
  margin-bottom: 16px;
}
.benefit-list svg {
  color: #2bb673;
  flex-shrink: 0;
  margin-top: 3px;
}

.stats-group {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.stat-value {
  color: #2bb673;
  font-size: 1.6rem;
  font-weight: 800;
}
.stat-label {
  color: rgba(191, 219, 254, 0.7);
  font-size: 0.875rem;
}

/* Form Card */
.form-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
  .form-card {
    padding: 15px;
  }
}
.form-title {
  color: #0a1b3d;
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 4px;
}
.form-subtitle {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 28px;
}

/* Style cho Contact Form 7 */
.cf7-custom-style .wpcf7-form-control-wrap {
  margin-bottom: 15px;
  display: block;
  margin-top: 6px;
}
.cf7-custom-style label {
  display: block;
  font-weight: 600;
  color: #374151;
  font-size: 13px;
  margin-bottom: 6px;
}
.cf7-custom-style label .required {
  color: red;
  font-size: 12px;
}
.cf7-custom-style input:not([type="submit"]),
.cf7-custom-style select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.875rem;
  outline: none;
  transition: all 0.2s;
}
.cf7-custom-style input:focus {
  border-color: #2bb673;
  box-shadow: 0 0 0 2px rgba(43, 182, 115, 0.1);
}

.cf7-custom-style input[type="submit"] {
  width: 100%;
  background: linear-gradient(135deg, #2bb673 0%, #23a065 100%);
  color: #fff;
  font-weight: 700;
  padding: 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 18px rgba(43, 182, 115, 0.4);
  transition: all 0.3s;
  margin-top: 8px;
}
.cf7-custom-style input[type="submit"]:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  color: #9ca3af;
  font-size: 0.75rem;
}

/* ===================================================
   Final SECTION 
   =================================================== */
.final-cta-section {
  padding: 100px 0;
  background: radial-gradient(circle at center, #243b6b 0%, #1f2a44 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-bg-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  pointer-events: none;
}

.cta-blur-circle {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(80px);
}

.cta-blur-1 {
  top: -100px;
  right: -50px;
  background: #2bb673;
}
.cta-blur-2 {
  bottom: -100px;
  left: -50px;
  background: #1e9e5a;
}

.cta-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 10;
  width: 100%;
}

.cta-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 60px;
}

.cta-title {
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.cta-subtitle {
  color: #d1d5db;
  font-size: 1.25rem;
  margin-bottom: 40px;
}

.cta-button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* Button Styles */
.btn-primary-cta,
.btn-secondary-cta {
  padding: 16px 40px;
  border-radius: 9999px;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary-cta {
  background: linear-gradient(to right, #1e9e5a, #2bb673);
  color: white;
  box-shadow: 0 4px 15px rgba(43, 182, 115, 0.2);
}

.btn-primary-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(43, 182, 115, 0.4);
}

.btn-secondary-cta {
  border: 2px solid #ffffff;
  color: #ffffff;
}

.btn-secondary-cta:hover {
  background: #ffffff;
  color: #1f2a44;
}

/* Info Grid */
.cta-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  width: 100%;
  max-width: 1100px;
}

@media (min-width: 768px) {
  .cta-info-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cta-info-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.cta-info-card:hover {
  transform: translateY(-5px);
  border-color: rgba(43, 182, 115, 0.5);
}

/* Avatars */
.avatar-group {
  display: flex;
  margin-left: 8px;
  margin-bottom: 16px;
}

.avatar-item {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2bb673, #1e9e5a);
  border: 2px solid #1f2a44;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -10px;
  font-size: 14px;
}

.info-icon {
  width: 32px;
  height: 32px;
  color: #2bb673;
  margin-bottom: 12px;
}

.info-text {
  color: white;
}
.info-main {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.info-sub {
  font-size: 0.875rem;
  opacity: 0.7;
}
/* ===================================================
   RESPONSIVE LOGIC FOR FINAL CTA
   =================================================== */

/* Tablet & Mobile (Dưới 1024px) */
@media (max-width: 1024px) {
  .final-cta-section {
    padding: 80px 0;
  }
  .cta-title {
    font-size: 2.5rem; /* Giảm size chữ tiêu đề */
  }
}

/* Mobile (Dưới 768px) */
@media (max-width: 768px) {
  .cta-container {
    padding: 0 20px;
  }

  .cta-title {
    font-size: 22px;
    line-height: 1.2;
  }

  .cta-subtitle {
    font-size: 16px;
    padding: 0 10px;
  }
  .info-main {
    font-size: 14px;
  }
  /* Nút bấm chuyển thành cột dọc trên Mobile */
  .cta-button-group {
    flex-direction: column;
    width: 100%;
    max-width: 320px; /* Khống chế độ rộng nút cho cân đối */
    margin: 0 auto;
  }

  .btn-primary-cta,
  .btn-secondary-cta {
    width: 100%; /* Nút full width trên mobile */
    text-align: center;
    padding: 14px 20px;
    font-size: 14px;
  }

  /* Grid 3 cột chuyển thành 1 cột */
  .cta-info-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .cta-info-card {
    padding: 24px;
    flex-direction: row; /* Chuyển icon sang trái, chữ sang phải cho tiết kiệm diện tích */
    text-align: left;
    justify-content: flex-start;
    gap: 20px;
  }

  .cta-info-card .info-text {
    text-align: left;
  }

  .avatar-group {
    margin-bottom: 0; /* Bỏ margin vì đã chuyển sang hàng ngang */
  }

  .info-icon {
    margin-bottom: 0;
    width: 28px;
    height: 28px;
  }
}

/* Mobile nhỏ (Dưới 480px) */
@media (max-width: 480px) {
  .cta-blur-circle {
    width: 250px; /* Thu nhỏ đốm sáng nền để tránh lag */
    height: 250px;
  }
}
