/* =============================================
   Landing Page – Thiết kế theo phong cách Hidemyacc
   Light theme + Gradient tím-xanh-hồng
   Tự động cập nhật qua Live Development Server
   ============================================= */

/* --- Biến CSS --- */
:root {
  /* Màu nền */
  --bg-white: #ffffff;
  --bg-light: #f0f0f8;
  --bg-dark: #0b0f1a;
  --bg-card: #ffffff;
  --bg-blue-light: #875BF7;
  --bg-081A3E: #081A3E;
  --bg-E96229: #E96229;
  --bg-linear: linear-gradient(180deg, #E96229 0%, #FFC011 100%);
  --bg-EEC01A: #EEC01A;
  --bg-01162B: #00162B;
  --bg-line-note: linear-gradient(90deg, #1CA8D4 3%, #3951D3 100%);

  /* Gradient chính */
  --grad-main: linear-gradient(20deg, #1CA8D4 20%, #927AEB 38%, #FB2BFF 100%);
  --grad-title: #01162B;
  --grad-border: linear-gradient(90deg, #1CA8D4 3%, #927AEB 79%, #AD50FF 100%);
  --grad-border-2: linear-gradient(90deg, #3973FC 0%, #994EFC 100%);
  --grad-hero-glow: radial-gradient(ellipse at 30% 80%, rgba(78, 203, 255, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(224, 64, 251, 0.5) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(123, 92, 240, 0.3) 0%, transparent 60%);

  /* Màu chữ */
  --text-dark: #0d1117;
  --text-body: #444a6a;
  --text-muted: #535862;
  --text-white: #ffffff;
  --text-7839EE: #7839EE;
  --text-gray: #A4A7AE;
  --text-414651: #414651;
  --text-535862: #535862;
  --text-D9DFFF: #D9DFFF;

  /* Màu accent */
  --color-cyan: #4ecbff;
  --color-purple: #ECE9FE;
  --color-pink: #e040fb;
  --color-yellow: #f5a623;
  --color-green: #34d399;

  /* Border */
  --border: rgba(0, 0, 0, 0.08);
  --border-card: rgba(0, 0, 0, 0.06);
  --border-D9DFFF: #D9DFFF;

  /* Typography */
  --font: 'Google Sans', sans-serif;

  /* Radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 9999px;

  /* Shadow (Bóng đổ) */
  --shadow-card: 0 8px 30px rgba(27, 34, 75, 0.12);
  /* Làm bóng đổ đậm hơn, tăng chiều sâu */
  --shadow-hover: 0 20px 50px rgba(27, 34, 75, 0.22);
  /* Bóng đổ khi hover lớn và rõ hơn */

  /* Transition */
  --t: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1200px;
}

/* --- Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

/* --- Lớp tiện ích (Utility Classes) --- */
.d-block {
  display: block !important;
}

.me-3 {
  margin-right: 16px !important;
}

.mb-3 {
  margin-bottom: 16px !important;
}

.mb-2 {
  margin-bottom: 8px !important;
}

/* --- Container --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* =============================================
   TOP BANNER
   ============================================= */
.top-banner {
  background-color: #EDE7FE;
  text-align: center;
  padding: 11px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-7839EE);
  font-family: 'Google Sans', sans-serif;
}

@media (max-width: 576px) {
  .top-banner {
    font-size: 0.78rem;
    padding: 8px 16px;
  }
}

.top-banner .fire {
  margin-right: 4px;
}

.top-banner strong {
  font-weight: 700;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-01162B);
}

.nav-container {
  padding: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 32px;
  /* Chiều cao hiển thị của logo */
  width: auto;
  display: block;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-lang {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-D9DFFF);
  border-radius: var(--r-sm);
  color: var(--border-D9DFFF);
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--t);
}

.nav-lang:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* --- Ngôn ngữ dropdown --- */
.nav-lang-wrapper {
  position: relative;
}

.nav-lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--bg-01162B);
  border: 1px solid rgba(217, 223, 255, 0.2);
  border-radius: var(--r-sm);
  min-width: 130px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 101;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Hiển thị dropdown khi active (chỉ mở khi click) */
.nav-lang-wrapper.active .nav-lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-lang-item {
  padding: 10px 16px;
  color: var(--border-D9DFFF);
  font-size: 0.88rem;
  transition: var(--t);
  white-space: nowrap;
  display: block;
  text-align: left;
}

.nav-lang-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
}

.nav-lang-item.active {
  color: #927AEB;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
}


/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--r-full);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--t);
  white-space: nowrap;
}

/* Gradient primary */
.btn-primary {
  background: var(--bg-white);
  color: var(--text-black);
  box-shadow: 0 4px 24px rgba(123, 92, 240, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(123, 92, 240, 0.5);
}

/* Yellow button */
.btn-yellow {
  background: #FEC84B;
  color: #1a1a1a;
}


/* Dark download button */
.btn-download {
  background: var(--bg-EEC01A);
  color: var(--text-black);
  padding: 10px 22px;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 700;
}

.btn-download:hover {
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  /* Khoảng cách giữa chữ và mũi tên */
  padding: 8px 24px;
  position: relative;
  /* Định vị phần viền gradient */
  border: 1px solid transparent;
  /* Khoảng trống cho viền đậm 2px */
  border-radius: var(--r-full);
  color: #3973FC;
  /* Màu chữ xanh trơn đồng bộ */
  font-size: clamp(1.25rem, 1vw + 0.75rem, 1.5rem);
  font-weight: 600;
  background: #ffffff;
  /* Nền của nút màu trắng */
  backdrop-filter: blur(8px);
  background-clip: padding-box;
  /* Giữ nền không lấn ra viền */
  transition: var(--t);
  z-index: 1;
  white-space: nowrap;
  /* Ngăn chặn chữ và ảnh bị xuống dòng khi co màn hình */
}

.btn-outline img {
  width: 22px;
  /* Giới hạn chiều rộng mũi tên */
  height: auto;
  display: block;
  flex-shrink: 0;
  /* Giữ nguyên kích thước icon, không cho co bóp */
}

/* Tạo chữ có dải màu gradient cho nút outline */
.btn-outline span {
  background: var(--grad-border-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}


.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: -2px;
  /* Đẩy ra ngoài bám theo viền 2px của cha */
  padding: 2px;
  /* Tạo độ dày viền gradient là 2px cho phần mask */
  border-radius: inherit;
  /* Bo tròn theo góc của badge cha */
  background: var(--grad-border-2);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}

/* Loại bỏ chữ gradient để chữ hiển thị màu trơn rõ ràng */

/* Sizes */
.btn-lg {
  padding: 8px 50px;
  font-size: clamp(1.25rem, 1vw + 0.75rem, 1.5rem);
  margin-bottom: 10px;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  background-image: url('/images/bg-hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  position: relative;
  overflow: hidden;
  /* min-height: 520px; */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Glow nền */
.hero::before {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 60px) 20px 0px;
  /* Tránh nội dung chạm sát mép màn hình khi thu nhỏ */
}

/* Date badge */
.hero-badge {
  display: inline-block;
  padding: 8px 24px;
  position: relative;
  /* Định vị phần viền gradient */
  border: 2px solid transparent;
  /* Khoảng trống cho viền đậm 2px */
  border-radius: var(--r-full);
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.375rem;
  font-weight: 500;
  margin-bottom: 36px;
  background: rgba(255, 255, 255, 0.05);
  /* Nền kính mờ chuẩn */
  backdrop-filter: blur(8px);
  background-clip: padding-box;
  /* Cắt nền để không đè lên border */
}

/* Sử dụng Mask để đục lỗ phần giữa, chỉ giữ lại viền bo gradient ngoài cùng */
.hero-badge::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: -2px;
  /* Đẩy ra ngoài bám theo viền 2px của cha */
  padding: 1px;
  /* Tạo độ dày viền gradient là 2px cho phần mask */
  border-radius: inherit;
  /* Bo tròn theo góc của badge cha */
  background: var(--grad-border);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}


/* Tiêu đề lớn */
.hero-title {
  font-size: clamp(2.8rem, 6.25vw, 6.25rem);
  font-weight: 700;
  /* Font weight 800 tương ứng với Inter Extra Bold */
  line-height: 1.06;
  color: var(--text-white);
  letter-spacing: -0.04em;
}


.hero-title .hero-title-line {
  font-family: 'Inter', sans-serif;
  display: block;
}

.hero-title .hero-title-line:not(:last-child) {
  margin-bottom: 10px;
}

.hero-title .price-dollar {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: 'Google Sans', sans-serif;
  font-size: 1.125rem;
  color: var(--text-gray);
  margin: 10px 0 clamp(30px, 5vw, 60px);
  line-height: 1.6;
}

.hero-subtitle strong {
  color: var(--color-gray);
  font-weight: 500;
  text-decoration: line-through;
}

.hero-btn-cta {
  margin: 0px 0 clamp(30px, 5vw, 60px);
}

/* =============================================
   FEATURES / WHY SECTION
   ============================================= */
.features-section {
  background-image: url('/images/bg-features.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: clamp(40px, 6vw, 90px) 0 clamp(40px, 6vw, 80px);
}

.section-title-gradient {
  font-size: clamp(2rem, 4.375vw, 4.375rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  background: var(--grad-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.375rem);
  color: var(--text-414651);
  max-width: 900px;
  margin: 0px auto 66px;
  line-height: 1.7;
}

/* Grid 3 cột */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
  transition: var(--t);
  cursor: default;
  /* Flexbox giúp các element bên trong giãn cách đều */
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media (hover: hover) {
  .feat-card:hover {
    transform: translateY(-4px);
  }
}

.feat-icon-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feat-icon-wrap svg {
  width: 26px;
  height: 26px;
  color: var(--color-purple);
}

.feat-title {
  font-size: clamp(1.125rem, 1.8vw + 0.4rem, 1.5rem);
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-414651);
  letter-spacing: -0.02em;
}

.feat-desc {
  font-size: clamp(0.875rem, 1vw + 0.6rem, 1rem);
  color: var(--text-body);
  line-height: 1.65;
  flex: 1;
  /* Chiếm khoảng không còn lại để các card cao bằng nhau và đều chân */
}

.features-cta {
  text-align: center;
  margin-top: clamp(32px, 6vw, 80px);
}

/* =============================================
   PRICING SECTION
   ============================================= */
.pricing-section {
  background-image: url('/images/bg-pricing.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 6vw, 90px);
}

.pricing-section .section-title-gradient {
  margin-bottom: 10px;
}


.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
  /* Dãn chiều cao các thẻ bằng nhau ở đáy */
}

.plan-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-card);
  border-radius: var(--r-lg);
  padding: 28px 22px 24px;
  position: relative;
  transition: var(--t);
  display: flex;
  flex-direction: column;
  /* Hỗ trợ canh nút CTA xuống sát đáy */
  text-align: center;
  /* Căn giữa toàn bộ chữ bên trong thẻ */
}

/* Các gói thường sẽ dịch xuống 16px để gói Featured nhô lên ở đầu */
.plan-card:not(.plan-card-featured) {
  margin-top: 16px;
}

.plan-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* Gói nổi bật – màu đen, viền màu vàng, chiều cao lớn hơn */
.plan-card-featured {
  border: 1px solid var(--bg-E96229);
  /* Đổi sang viền màu vàng trơn */
  background: #01162B;
  /* Màu nền đen đặc */
  color: var(--text-white);
  padding: 32px 22px 24px;
  /* Đặt padding-bottom là 24px bằng với card thường để chân nút bấm thẳng hàng tuyệt đối */
  margin-top: 0;
  /* Giữ sát mép trên cùng */
  box-shadow: 0 6px 20px rgb(246 155 9 / 16%);
}

/* Gói best value – viền gradient */
.plan-card-best {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    var(--grad-main) border-box;
}

/* Nhãn trên */
.plan-badge {
  display: inline-flex;
  /* Chuyển sang inline-flex để ảnh và chữ thẳng hàng ngang */
  align-items: center;
  justify-content: center;
  gap: 6px;
  /* Khoảng cách giữa ảnh icon và chữ */
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.plan-badge img {
  width: 14px;
  /* Giới hạn chiều rộng icon ngôi sao */
  height: auto;
  display: block;
}

.plan-badge-save {
  background: var(--bg-linear);
  color: #fff;
}

.plan-badge-best {
  background: var(--grad-border);
  color: #fff;
}

.plan-duration {
  font-weight: 600;
  margin-bottom: 16px;
  opacity: 0.85;
  font-size: clamp(1rem, 2vw + 0.3rem, 1.25rem);
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-dark);
  /* Bổ sung dấu chấm phẩy */
}

/* Định dạng phần + 1 tặng thêm hiển thị chữ màu gradient bắt mắt */
.plan-plus {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-left: 6px;
}

.plan-card-featured .plan-duration {
  color: var(--text-white);
  font-size: 1.15rem;
}

.plan-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0 0 16px;
}

.plan-card:not(.plan-card-featured) .plan-divider {
  background: var(--border);
}

/* Giá */
.plan-price {
  margin-bottom: 6px;
}

.plan-price-main {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 2.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.plan-card-featured .plan-price-main {
  font-size: clamp(2.2rem, 3.2vw, 2.8rem);
  /* Kích thước to vượt trội cho thẻ nổi bật, co giãn linh hoạt */
  font-weight: 800;
  /* Độ đậm lớn hơn (Extra Bold) */
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Định dạng chữ /mo bé hơn */
.plan-unit {
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 600;
  /* Độ đậm nét chữ mảnh hơn */
  color: var(--text-dark);
  /* Màu xám mờ */
  margin-left: 2px;
  letter-spacing: 0;
  display: inline-block;
  vertical-align: baseline;
}

/* Định dạng chữ /mo riêng của thẻ Featured */
.plan-card-featured .plan-unit {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  /* To hơn một chút so với card thường */
  color: var(--grad-title);
  font-weight: 800;
}

.plan-price-old {
  font-size: clamp(0.78rem, 1vw, 0.82rem);
  /* Cỡ chữ nhỏ hơn cho thẻ thường */
  color: var(--text-535862);
  text-decoration: line-through;
  margin-bottom: 20px;
  display: block;
}

.plan-card-featured .plan-price-old {
  color: rgba(255, 255, 255, 0.45);
  font-size: clamp(0.85rem, 1.1vw, 0.95rem);
  /* Co giãn linh hoạt */
}

/* CTA button */
.plan-cta {
  font-family: Google Sans, sans-serif;
  display: flex;
  width: 100%;
  padding: 12px;
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  font-weight: 700;
  border-radius: var(--r-full);
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--t);
  border: none;
  margin-top: auto;
  /* Tự động đẩy nút xuống sát đáy card */
}

.plan-cta img {
  width: 16px;
  /* Khống chế chiều rộng icon hộp quà */
  height: auto;
  display: block;
}

.plan-card-featured .plan-cta {
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  /* Tăng font-size cho nút CTA của thẻ nổi bật */
  padding: 14px 12px;
  /* Tăng kích thước nút */
}

.plan-cta-yellow {
  background: #FEC84B;
  color: #1a1a1a;
}

.plan-cta-yellow:hover {
  background: #e09410;
}

.plan-cta-light {
  font-family: Google Sans, sans-serif;
  background: var(--color-purple);
  color: var(--color-black);
  font-weight: 600;
}


/* Footer pricing note */
.pricing-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: clamp(20px, 3vw, 40px);
}

.pricing-note {
  font-size: 0.82rem;
  color: var(--text-414651);
  padding: 8px 16px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
}

/* =============================================
   STEPS / HOW IT WORKS
   ============================================= */
.steps-section {
  background: var(--bg-white);
  padding: clamp(40px, 6vw, 90px) 0 clamp(40px, 6vw, 80px);
  text-align: center;
}

.steps-section img.img-mobile {
  display: none;
}

.steps-section img.img-desktop {
  display: block;
  margin: 0 auto;
  width: 90%;
}

/* ===== Steps Timeline Desktop (tái tạo bằng code) ===== */
.steps-timeline-desktop {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* width: 90%; */
  /* max-width: 900px; */
  margin: 0 auto 20px;
}

/* Đường kẻ nối giữa các chấm (connector) */
.step-connector-desktop {
  position: absolute;
  /* top = 72px (chiều cao số) + 10px (nửa chấm) - 1px (nửa độ cao line) = 81px */
  top: 72px;
  /* Bắt đầu từ tâm của chấm tròn hiện tại */
  left: calc(50% + 10px);
  /* Trải dài đến tâm của chấm tròn của cột tiếp theo (khoảng cách giữa các cột là 100%) */
  width: calc(100% - 20px);
  height: 2px;
  z-index: 0;
}

/* Từng đoạn line sẽ có dải gradient riêng */
/* Đoạn 1: từ chấm 1 sang chấm 2 */
.step-item-desktop:nth-child(1) .step-connector-desktop {
  background: linear-gradient(90deg, #1CA8D4 3%, #927AEB 79%, #AD50FF 100%);
}

/* Đoạn 2: từ chấm 2 sang chấm 3 */
.step-item-desktop:nth-child(2) .step-connector-desktop {
  background: linear-gradient(90deg, #1CA8D4 3%, #927AEB 79%, #AD50FF 100%);
}

/* Đoạn 3: từ chấm 3 sang chấm 4 */
.step-item-desktop:nth-child(3) .step-connector-desktop {
  background: linear-gradient(90deg, #1CA8D4 3%, #927AEB 79%, #AD50FF 100%);
}

/* Mỗi bước */
.step-item-desktop {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}


/* Số lớn gradient — chiều cao cố định để line luôn khớp chính xác */
.step-num-desktop {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(2.8rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  /* Dùng chung màu gradient --grad-title */
  background: var(--grad-border);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Chấm tròn trên đường line */
.step-dot-desktop {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
  /* Kéo dot lên đúng tâm đường line (top=79px, dot cao 20px, tâm ở 10px) */
  margin-top: -10px;
}

/* Màu chấm theo từng bước */

.step-item-desktop:nth-child(1) .step-dot-desktop {
  background: var(--bg-line-note);
}

.step-item-desktop:nth-child(2) .step-dot-desktop {
  background: var(--bg-line-note);
}

.step-item-desktop:nth-child(3) .step-dot-desktop {
  background: var(--bg-line-note);
}

.step-item-desktop:nth-child(4) .step-dot-desktop {
  background: var(--bg-line-note);
}

.step-item-desktop:nth-child(5) .step-dot-desktop {
  background: var(--bg-line-note);
}

/* Tên bước */
.step-label-desktop {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

/* Ghi chú nhỏ */
.step-note-desktop {
  font-size: clamp(0.82rem, 1vw, 0.95rem);
  color: var(--text-muted);
}


.steps-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  background: var(--grad-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.steps-subtitle {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 60px;
}

/* Ẩn timeline mobile trên desktop */
.steps-timeline-mobile {
  display: none;
}

#steps-cta {
  margin-top: 60px;
}

/* Steps timeline */
.steps-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* Tăng khoảng cách ngang giữa các bước */
  position: relative;
  margin-top: 28px;
  /* Khoảng cách với ảnh step-2.png ở trên */
  margin-bottom: 52px;
}

/* Đường kẻ ngang nối các bước (căn chỉnh thẳng hàng với chấm tròn khi không có số) */
.steps-line {
  position: absolute;
  top: 8px;
  left: calc(12.5% + 12px);
  right: calc(12.5% + 12px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-cyan), var(--color-purple), var(--color-pink));
  z-index: 0;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
  z-index: 1;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.step-item:hover {
  transform: translateY(-6px);
}

.step-num {
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

/* Màu số theo gradient */
.step-item:nth-child(1) .step-num {
  color: var(--color-cyan);
}

.step-item:nth-child(2) .step-num {
  color: #6aa0f0;
}

.step-item:nth-child(3) .step-num {
  color: var(--color-purple);
}

.step-item:nth-child(4) .step-num {
  color: var(--color-pink);
}

/* Chấm tròn trên đường line */
.step-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-purple);
  border: 2px solid white;
  box-shadow: 0 0 0 3px rgba(123, 92, 240, 0.2);
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.step-item:nth-child(1) .step-dot {
  background: var(--color-cyan);
  box-shadow: 0 0 0 3px rgba(28, 168, 212, 0.2);
}

.step-item:nth-child(2) .step-dot {
  background: #6aa0f0;
  box-shadow: 0 0 0 3px rgba(106, 160, 240, 0.2);
}

.step-item:nth-child(3) .step-dot {
  background: var(--color-purple);
  box-shadow: 0 0 0 3px rgba(123, 92, 240, 0.2);
}

.step-item:nth-child(4) .step-dot {
  background: var(--color-pink);
  box-shadow: 0 0 0 3px rgba(224, 86, 157, 0.2);
}

/* Hiệu ứng hover cho chấm tròn */
.step-item:hover .step-dot {
  transform: scale(1.35);
}

.step-item:nth-child(1):hover .step-dot {
  box-shadow: 0 0 0 6px rgba(28, 168, 212, 0.3);
}

.step-item:nth-child(2):hover .step-dot {
  box-shadow: 0 0 0 6px rgba(106, 160, 240, 0.3);
}

.step-item:nth-child(3):hover .step-dot {
  box-shadow: 0 0 0 6px rgba(123, 92, 240, 0.3);
}

.step-item:nth-child(4):hover .step-dot {
  box-shadow: 0 0 0 6px rgba(224, 86, 157, 0.3);
}

.step-label {
  font-size: clamp(1.25rem, 0.2vw + 1.15rem, 1.375rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

/* Hiệu ứng hover cho tiêu đề bước */
.step-item:hover .step-label {
  color: #000000;
}

.step-note {
  font-size: clamp(0.9375rem, 0.3vw + 0.8rem, 1.125rem);
  color: var(--text-muted);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg-081A3E);
  padding: 80px 0 40px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-contact-text {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 20px;
  max-width: 280px;
}

.footer-contact-text .live-chat-link {
  color: var(--color-cyan);
  font-weight: 600;
  transition: var(--t);
}

.footer-contact-text .live-chat-link:hover {
  text-decoration: underline;
}

.footer-contact-text .email-link {
  color: inherit;
  text-decoration: underline;
  transition: var(--t);
}

.footer-contact-text .email-link:hover {
  color: #ffffff;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.footer-socials a {
  color: rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--t);
}

.footer-socials a:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-col p {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-D9DFFF);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 1rem;
  color: var(--text-D9DFFF);
  transition: var(--t);
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
  color: #ffffff;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: inherit;
  transition: var(--t);
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feat-card:hover {
    transform: none;
  }

  .steps-line {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 650px) {
  .features-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 0px 20px;
    margin: 0 -20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
  }

  .features-grid::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
  }

  .feat-card {
    flex: 0 0 280px;
    scroll-snap-align: center;
  }

  .feat-card:hover {
    transform: none;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .steps-timeline {
    grid-template-columns: 1fr;
    gap: 30px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .pricing-footer {
    flex-direction: column;
    gap: 12px;
  }
}

/* =============================================
   ANIMATIONS
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.7s ease both;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

/* =============================================
   TESTIMONIALS SLIDER (CAROUSEL 3D)
   ============================================= */
.testimonials-section {
  background: #F8F9FC;
  padding: clamp(30px, 6vw, 120px) 0 clamp(15px, 4vw, 80px);
  overflow: hidden;
}

.testimonials-section .section-header,
.faq-section .section-header {
  margin-bottom: 20px;
  text-align: center;
}

.section-title {
  font-size: clamp(2rem, 4vw, 4.375rem);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  letter-spacing: -0.03em;
  margin-bottom: 15px;
}

.gradient-text {
  background: var(--grad-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.testimonials-slider-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 60px auto 0;
  padding: 0;
  overflow: hidden;
}

.testimonials-slider-wrapper {
  overflow: visible;
  width: 100%;
  max-width: 100%;
  padding: 10px 0;
  /* Chữa khoảng trống cho box-shadow của card active */
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.testimonial-slide {
  flex: 0 0 460px;
  margin: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0.35;
  transform: scale(0.85);
  cursor: pointer;
  user-select: none;
}

/* Slide ở chính giữa (active) */
.testimonial-slide.active {
  opacity: 1;
  transform: scale(1);
}

.testimonial-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 38px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  position: relative;
  margin-bottom: 24px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Khi active, đổi nền sang trong suốt và có bóng đổ nổi bật */
.testimonial-slide.active .testimonial-card {
  background: transparent;
  box-shadow: 0 30px 60px rgba(27, 34, 75, 0.15);
  border-color: transparent;
}

/* Tạo nền gradient mờ 10% cho card active */
.testimonial-slide.active .testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--grad-border);
  opacity: 0.1;
  border-radius: 24px;
  z-index: -1;
  pointer-events: none;
}

/* Badge sao góc trên trái */
.testimonial-badge {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  z-index: 2;
  transition: all 0.3s ease;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #4a5568;
  text-align: left;
  margin: 0;
  transition: color 0.3s ease;
}

.testimonial-slide.active .testimonial-text {
  color: #1a202c;
}

/* Phần thông tin tác giả phía dưới card */
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  width: 100%;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a202c;
  margin: 0 0 2px 0;
}

.author-rating {
  color: #f5a623;
  font-size: 0.8rem;
  letter-spacing: 2px;
  line-height: 1;
}

/* Dots phân trang slider */
.testimonials-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
  width: 100%;
}

.testimonials-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D9DFFF;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonials-dots .dot:hover {
  background: #a3b2ff;
}

.testimonials-dots .dot.active {
  width: 24px;
  border-radius: var(--r-full);
  background: var(--grad-border);
  /* Màu chủ đạo xanh tím */
}

/* Responsive cho Slider */
@media (max-width: 768px) {
  .testimonial-slide {
    flex: 0 0 320px;
    margin: 0 10px;
  }

  .testimonial-card {
    padding: 30px 24px;
    min-height: 250px;
    box-shadow: none;
  }

  .testimonial-slide.active .testimonial-card {
    box-shadow: none;
  }

  .testimonial-badge {
    top: 5px;
    left: 5px;
    width: 30px;
    height: 30px;
  }


  .testimonial-text {
    font-size: 0.85rem;
  }

  .testimonials-slider-container {
    padding: 0;
  }

  .slider-btn {
    width: 38px;
    height: 38px;
  }

  .btn-prev {
    left: 10px;
  }

  .btn-next {
    right: 10px;
  }

  .slider-btn img {
    width: 14px;
  }
}

/* =============================================
   FAQ SECTION (ACCORDION)
   ============================================= */
.faq-section {
  padding: clamp(40px, 7vw, 100px) 0;
  background: #ffffff;
}

.faq-list {
  max-width: 800px;
  margin: 60px auto 0;
  display: flex;
  flex-direction: column;
}

.faq-item {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 24px 32px;
  /* Đồng bộ padding ngang 24px để các icon luôn thẳng hàng */
  transition: all 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  margin-bottom: 0;
}

/* Ẩn đường kẻ dưới của phần tử đứng ngay trước phần tử active để tránh bị gạch ngang phía trên card active */
.faq-item:has(+ .faq-item.active) {
  border-bottom-color: transparent;
}

/* Khi câu hỏi mở (active): nền gradient mờ và bo tròn góc */
.faq-item.active {
  background: transparent;
  border-radius: 20px;
  border-bottom: 1px solid transparent;
  padding: 24px 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.01);
}

/* Phần tử giả làm nền gradient mờ 10% để không ảnh hưởng đến chữ bên trong */
.faq-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--grad-border);
  opacity: 0.1;
  border-radius: 20px;
  z-index: -1;
  pointer-events: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border: none;
  background: none;
  text-align: left;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}

.faq-question h3 {
  font-size: clamp(1.25rem, 0.2vw + 1.15rem, 1.375rem);
  font-weight: 600;
  color: var(--text-414651);
  line-height: 1.4;
  margin: 0;
  transition: color 0.3s ease;
}

.faq-item.active .faq-question h3 {
  color: var(--text-414651);
}

/* Icon toggle */
.faq-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  transition: all 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  flex-shrink: 0;
  margin-left: 20px;
}

.faq-question:hover .faq-icon {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  color: #0f172a;
}

.faq-icon svg {
  transition: transform 0.65s ease;
}

.faq-icon .icon-minus {
  display: none;
}

.faq-icon .icon-plus {
  display: block;
}

.faq-item.active .faq-icon .icon-minus {
  display: block;
}

.faq-item.active .faq-icon .icon-plus {
  display: none;
}

/* Nội dung câu trả lời */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-answer-inner {
  padding-top: 16px;
}

.faq-answer p {
  font-size: clamp(0.9375rem, 0.3vw + 0.8rem, 1.125rem);
  line-height: 1.65;
  color: #475569;
  margin: 0;
}

/* Responsive cho FAQ */
@media (max-width: 768px) {
  .faq-section {
    padding: 80px 0;
  }

  .faq-list {
    margin-top: 40px;
  }

  .faq-item {
    padding: 20px 16px;
  }

  .faq-item.active {
    padding: 24px 16px;
    margin: 12px 0;
  }

  .faq-question h3 {
    font-size: 1rem;
  }

  .faq-icon {
    width: 32px;
    height: 32px;
    margin-left: 12px;
  }

  .faq-answer p {
    font-size: 0.92rem;
  }
}

/* =============================================
   COUNTDOWN TIMER SECTION
   ============================================= */
.countdown-section {
  padding: clamp(30px, 5vw, 60px) 0 clamp(40px, 7vw, 100px);
  background: #ffffff;
}

.countdown-card {
  background-image: url("/images/bg-countdown.png");
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 32px;
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(1, 22, 43, 0.15);
}

.countdown-label {
  font-family: 'Google Sans', sans-serif;
  font-weight: 400;
  /* Kiểu regular */
  font-size: clamp(0.875rem, 1vw + 0.6rem, 1rem);
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 24px;
}

.countdown-timer-box {
  display: inline-flex;
  align-items: center;
  gap: clamp(12px, 3.5vw, 50px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 24px clamp(20px, 4.5vw, 50px);
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
}

.timer-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 90px;
}

.timer-num {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff 0%, #999999 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.timer-unit {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1em;
  margin-top: 6px;
}

.timer-divider {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.15);
  margin-top: -16px;
  user-select: none;
}

.countdown-note {
  font-family: 'Google Sans', sans-serif;
  font-weight: 400;
  /* Kiểu regular */
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0 0 30px 0;
}

.countdown-note strong {
  color: #ffffff;
  font-weight: 600;
}

/* Nút bấm đính kèm phát sáng */
.btn-glow {
  box-shadow: 0 4px 20px rgba(254, 200, 75, 0.35);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(254, 200, 75, 0.55);
}

/* Responsive cho Countdown */
@media (max-width: 768px) {
  .countdown-section {
    padding: 40px 0 80px;
  }

  .countdown-card {
    padding: 40px 20px;
    border-radius: 24px;
  }

  .countdown-timer-box {
    gap: clamp(6px, 2.5vw, 16px);
    justify-content: center;
  }

  .timer-col {
    min-width: 60px;
  }

  .timer-num {
    font-size: clamp(1.3rem, 6vw, 2rem);
  }

  .timer-unit {
    font-size: 0.6rem;
  }

  .timer-divider {
    font-size: clamp(1rem, 4.5vw, 1.5rem);
    margin-top: -12px;
  }

  .countdown-note {
    font-size: 0.85rem;
    margin-bottom: 24px;
  }
}

/* Tối ưu hóa countdown cho màn hình siêu nhỏ (dưới 480px) để không bị tràn */
@media (max-width: 480px) {
  .countdown-card {
    padding: 30px 12px;
  }

  .countdown-timer-box {
    padding: 16px 8px;
    gap: 4px;
  }

  .timer-col {
    min-width: 45px;
  }

  .timer-num {
    font-size: 1.5rem;
  }

  .timer-divider {
    font-size: 1.1rem;
    margin-top: -6px;
  }

  .timer-unit {
    font-size: 0.52rem;
  }
}

/* Responsive cho Navbar trên màn hình di động nhỏ */
@media (max-width: 576px) {
  .container {
    padding: 0 20px;
  }

  .nav-container {
    padding: 0;
    height: 56px;
  }

  .nav-logo img {
    height: 24px;
  }

  .nav-right {
    gap: 8px;
  }

  .btn-download {
    padding: 6px 14px;
    font-size: 0.8rem;
  }

  .nav-lang {
    padding: 6px 10px;
    font-size: 0.8rem;
    gap: 4px;
  }
}

/* Thêm responsive cho màn hình siêu nhỏ < 400px để tránh dính nút và rớt dòng */
@media (max-width: 400px) {

  .nav-logo img {
    height: 20px;
    /* Tăng lại một chút để tương đồng chiều cao nút bên phải */
  }

  .nav-right {
    gap: 4px;
  }

  .btn-download {
    padding: 6px 8px;
    font-size: clamp(0.6rem, 1.2vw, 1rem)
      /* Chữ nhỏ dần theo màn hình */
  }

  .nav-lang {
    padding: 6px 6px;
    font-size: clamp(0.6rem, 1.2vw, 1rem);
    /* Chữ nhỏ dần theo màn hình */
    gap: 2px;
  }

  .current-lang {
    white-space: nowrap;
    max-width: clamp(35px, 15vw, 55px);
    /* Giới hạn rộng của chữ tự co giãn theo màn hình */
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
  }
}

/* Responsive cho Hero trên máy tính bảng & di động */
@media (max-width: 768px) {

  .hero-badge {
    font-size: 0.95rem;
    padding: 6px 18px;
    margin-bottom: 24px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .hero-inner .btn-lg {
    padding: 10px 32px;
    font-size: 1rem;
  }

  /* Chuyển đổi Features Grid thành slider vuốt ngang trên mobile/tablet */
  .features-grid::-webkit-scrollbar {
    display: none;
    /* Ẩn scrollbar trên Chrome, Safari, Opera */
  }

  .feat-card {
    flex: 0 0 calc(100vw - 40px);
    scroll-snap-align: center;
    box-sizing: border-box;
    box-shadow: none;
  }

  /* Thu nhỏ nút outline (Khám phá Hidemyacc) trên mobile/tablet */
  .features-cta .btn-outline {
    font-size: 1rem;
    padding: 8px 24px;
  }

  .features-cta .btn-outline img {
    width: 16px;
  }


  .plan-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-areas:
      "price duration"
      "oldprice cta";
    align-items: center;
    text-align: left;
    padding: 24px 20px;
    gap: 8px 12px;
  }

  .plan-card:not(.plan-card-featured) {
    margin-top: 0;
  }

  .plan-card-featured {
    padding: 24px 20px;
  }

  .plan-divider {
    display: none !important;
  }

  .plan-price {
    grid-area: price;
    margin-bottom: 0;
    align-self: end;
  }

  .plan-price-main {
    text-align: left;
  }

  .plan-card-featured .plan-price-main {
    background: none !important;
    -webkit-text-fill-color: initial !important;
    color: var(--text-white) !important;
  }

  .plan-unit {
    font-size: 1.1rem !important;
    color: inherit !important;
  }

  .plan-card-featured .plan-unit {
    font-size: 1.2rem !important;
    color: var(--text-white) !important;
  }

  .plan-price-old {
    grid-area: oldprice;
    margin-bottom: 0;
    align-self: start;
    text-align: left;
  }

  .plan-duration {
    grid-area: duration;
    margin-bottom: 0;
    align-self: end;
    text-align: right;
    height: auto;
  }

  .plan-card-featured .plan-duration {
    color: var(--text-white);
    font-size: 1.1rem;
  }

  .plan-cta {
    grid-area: cta;
    margin-top: 0;
    align-self: start;
    width: auto;
    min-width: 140px;
    padding: 8px 16px !important;
    border-radius: var(--r-full) !important;
  }

  /* Ẩn/hiện timeline How It Works trên mobile/tablet */
  .steps-section img.img-desktop,
  .steps-timeline-desktop {
    display: none;
  }

  .steps-timeline-mobile {
    display: flex;
    flex-direction: column;
    gap: 32px;
    /* max-width: 480px; */
    width: fit-content;
    /* Tự động co lại vừa khít nội dung */
    margin: 40px auto;
    padding: 0 24px;
  }

  .step-item-mobile {
    display: flex;
    align-items: flex-start;
    position: relative;
  }

  /* Cột chứa dot và connector bên trái */
  .step-left-mobile {
    position: relative;
    margin-right: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Chiều cao tối thiểu để connector phủ hết khoảng cách tới item sau */
    align-self: stretch;
  }

  .step-dot-mobile {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-line-note);
    position: relative;
    z-index: 2;
    margin-top: 14px;
    /* Căn chỉnh ngang tầm với giữa số 01/02 */
  }

  /* Connector chạy dọc từ chấm này đến chấm tiếp theo */
  .step-connector-mobile {
    position: absolute;
    top: 24px;
    /* Bắt đầu từ tâm chấm tròn */
    bottom: -46px;
    /* Khống cách giữa gap + margin */
    width: 2px;
    left: calc(50% - 1px);
    z-index: 1;
  }

  /* Định nghĩa gradient riêng cho mỗi đoạn nối dọc */
  .step-item-mobile:nth-child(1) .step-connector-mobile {
    background: linear-gradient(180deg, #1CA8D4 3%, #927AEB 79%, #AD50FF 100%);
  }

  .step-item-mobile:nth-child(2) .step-connector-mobile {
    background: linear-gradient(180deg, #1CA8D4 3%, #927AEB 79%, #AD50FF 100%);
  }

  .step-item-mobile:nth-child(3) .step-connector-mobile {
    background: linear-gradient(180deg, #1CA8D4 3%, #927AEB 79%, #AD50FF 100%);
  }

  /* Số bước lớn gradient */
  .step-num-mobile {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-right: 18px;
    /* Dùng chung màu gradient --grad-title */
    background: var(--grad-border);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    width: 60px;
    flex-shrink: 0;
  }

  /* Phần text bên phải */
  .step-content-mobile {
    display: flex;
    flex-direction: column;
    text-align: left;
  }

  .step-label-mobile {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
    line-height: 1.3;
  }

  .step-note-mobile {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
  }

  #steps-cta {
    margin-top: 40px;
  }
}


/* =============================================
   FOOTER
   ============================================= */
footer {
  padding: 50px 10px 0;
  background: #081a3e;
  box-shadow: 0px 8px 20px 0px rgba(157, 158, 184, 0.25);
}

@media (min-width: 768px) {
  footer {
    padding: 60px 15px 0;
  }
}

@media (min-width: 1200px) {
  footer {
    font-size: 16px;
  }
}

footer .footer-trial {
  background-color: #132f57;
  border-radius: 15px;
  margin: 0 auto 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

footer .footer-trial>div {
  padding: 0 15px;
}

footer .footer-trial .footer-left {
  padding: 3rem 0 3rem;
  color: #fff;
  width: 100%;
  text-align: center;
}

@media (min-width: 768px) {
  footer .footer-trial .footer-left {
    text-align: left;
    padding: 3rem 0 3rem 1.5rem;
  }
}

@media (min-width: 992px) {
  footer .footer-trial .footer-left {
    padding: 4rem 0 4rem 3rem;
  }
}

@media (min-width: 1200px) {
  footer .footer-trial .footer-left {
    padding: 5rem 0 5rem 3rem;
  }
}

@media (min-width: 768px) {
  footer .footer-trial .footer-right {
    background-image: url("../images/img-banner.png");
    background-size: 120%;
    background-repeat: no-repeat;
    background-position: 0% 50px;
  }
}

footer .footer-start {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  color: #d9dfff;
  font-size: 18px;
}

footer .footer-start .text-mint {
  color: #25defa;
  cursor: pointer;
}

footer .footer-start .footer-first {
  width: 100%;
}

footer .footer-start .footer-first .footer-logo {
  margin-bottom: 15px;
  margin-left: -10px;
}

footer .footer-start .footer-first .text a {
  color: #d9dfff;
  border-bottom: 1px solid;
  text-decoration: none;
}

footer .footer-start .footer-first .text a[style*="text-decoration: none"] {
  border-bottom: 0 !important;
}

@media (min-width: 992px) {
  footer .footer-start .footer-first .text {
    margin-bottom: 30px;
  }
}

footer .footer-start .footer-first .social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-bottom: 20px;
}

@media (min-width: 992px) {
  footer .footer-start .footer-first .social {
    margin-bottom: 30px;
  }
}

@media (min-width: 992px) {
  footer .footer-start .footer-first {
    width: 40%;
  }

  footer .footer-start .footer-first .text {
    max-width: 80%;
  }
}

footer .footer-start .footer-first .footer-home {
  display: flex;
  align-items: center;
  color: #d9dfff;
  margin: 10px 0;
}

footer .footer-start .footer-first .footer-home img {
  width: 20px;
  height: 25px;
  object-fit: contain;
  margin-right: 16px;
}

footer .footer-start .footer-first .footer-home a {
  color: #d9dfff;
}

@media (min-width: 992px) {
  footer .footer-start .footer-first .footer-home {
    margin: 18px 0;
  }
}

footer .footer-start .footer-info {
  width: 100%;
}

footer .footer-start .footer-info .footer-info-title {
  font-weight: bold;
  color: #d9dfff;
  display: inline-block;
  margin: 2rem 0 15px;
  font-size: 25px;
}

@media (min-width: 992px) {
  footer .footer-start .footer-info .footer-info-title {
    margin: 0 0 15px;
  }
}

footer .footer-start .footer-info a {
  display: block;
  margin-bottom: 10px;
  color: #d9dfff;
  text-decoration: none;
  white-space: nowrap;
}

@media (min-width: 768px) {
  footer .footer-start .footer-info {
    width: 33.33%;
  }
}

@media (min-width: 992px) {
  footer .footer-start .footer-info {
    width: 20%;
  }
}

footer .footer-start .clock {
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

footer .footer-copyright {
  margin: 50px 0 0;
  display: flex;
  flex-direction: column;
}

footer .footer-copyright small {
  font-size: 0.9rem;
}

footer .footer-copyright .footer-copyright-left {
  font-size: 0.9rem;
}

footer .footer-copyright ul {
  display: flex;
  width: 100%;
  padding-left: 0;
  list-style: none;
  margin-bottom: 0.5rem;
  justify-content: center;
}

footer .footer-copyright ul a {
  margin: 0 10px;
  color: #d9dfff;
  font-size: 0.9rem;
  text-align: center;
}

footer .footer-copyright ul a:hover {
  color: #d9dfff;
}

footer .footer-copyright .footer-copyright-center {
  flex: 1;
  justify-content: center;
}

footer .footer-copyright .footer-copyright-center a {
  border-bottom: 1px solid #003a7050;
  margin: 0 3%;
}

footer .footer-copyright .footer-copyright-center a:hover {
  border-color: #003a70;
}

@media (min-width: 992px) {
  footer .footer-copyright {
    flex-direction: row;
  }

  footer .footer-copyright ul {
    width: auto;
  }

  footer .footer-copyright .footer-copyright-center.vi a {
    margin: 0 2%;
  }

  footer .footer-copyright .social-link {
    margin-top: -4px;
  }
}

@media (min-width: 1200px) {
  footer .footer-copyright .footer-copyright-center.en a {
    margin: 0 5%;
  }

  footer .footer-copyright .footer-copyright-center.vi a {
    margin: 0 3%;
  }
}

@media (max-width: 991px) {
  footer .footer-copyright .footer-copyright-left {
    text-align: center;
    margin-bottom: 15px;
    order: 1;
  }

  footer .footer-copyright .footer-copyright-center {
    margin: 20px auto 15px;
  }

  footer .footer-copyright .social-link {
    order: -1;
    margin-bottom: 0;
  }
}

@media (max-width: 535px) {
  footer .footer-copyright .footer-copyright-center.vi {
    flex-direction: column;
    margin: 15px auto 15px;
  }

  footer .footer-copyright .footer-copyright-center.vi a {
    margin: 3px auto;
  }
}

footer .footer-end {
  display: flex;
  justify-content: space-between;
  color: #d9dfff;
  padding: 15px 0;
  border-top: 1px solid rgba(0, 57, 112, 0.4);
}

footer .footer-end p {
  margin: 0;
}

footer .footer-end a {
  color: #d9dfff;
  text-decoration: none;
}

@media (max-width: 768px) {
  footer .footer-end {
    flex-direction: column;
    gap: 10px;
  }

  footer .footer-end .footer-rules {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}