@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,700&display=swap');

/* ==========================================================================
   24HVAY.COM - CỔNG SO SÁNH VAY TIỀN ONLINE HÀNG ĐẦU VIỆT NAM
   Design System: Modern Fintech, Clean & High Converting
   ========================================================================== */

:root {
  --primary: #0066ff;
  --primary-dark: #0052cc;
  --primary-light: #e6f0ff;
  --accent: #ff6b00;
  --accent-hover: #e55e00;
  --success: #00b074;
  --success-light: #e6f9f2;
  --warning: #ffb800;
  --danger: #ff334b;
  --dark: #0f172a;
  --dark-light: #1e293b;
  --gray-600: #64748b;
  --gray-400: #94a3b8;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --gray-50: #f8fafc;
  --white: #ffffff;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.12);
  --shadow-primary: 0 8px 25px rgba(0, 102, 255, 0.28);
  --shadow-accent: 0 8px 25px rgba(255, 107, 0, 0.28);

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

section[id], div[id] {
  scroll-margin-top: 80px;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--gray-50);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 70px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), #00c6ff);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 19px;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.28);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-text h1, .brand-text .brand-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin: 0;
  white-space: nowrap;
}

.brand-text h1 span, .brand-text .brand-title span {
  color: var(--primary);
}

.brand-text p {
  font-size: 10.5px;
  color: var(--gray-600);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 2px 0 0 0;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 1;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark-light);
  transition: var(--transition);
  position: relative;
  padding: 6px 4px;
  white-space: nowrap; /* BẮT BUỘC: Không ngắt dòng gây đè chữ */
  flex-shrink: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-header-cta {
  background: linear-gradient(135deg, var(--accent), #ff8c00);
  color: var(--white);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 13.5px;
  box-shadow: var(--shadow-accent);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap; /* BẮT BUỘC */
  flex-shrink: 0;
  text-decoration: none;
}

.btn-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 107, 0, 0.38);
}

.cta-text-short {
  display: none;
}

/* MOBILE MENU TOGGLE BUTTON */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  background: #f8fafc;
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: var(--transition);
}

.mobile-menu-toggle:hover {
  background: #eef2f6;
  border-color: var(--primary);
}

.mobile-menu-toggle .bar {
  width: 18px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* MOBILE NAV DRAWER & BACKDROP */
.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 86vw;
  height: 100%;
  background: #ffffff;
  z-index: 1002;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
  box-shadow: -8px 0 35px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.mobile-nav-drawer.active {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  display: flex !important;
}

@media (min-width: 993px) {
  .mobile-nav-drawer,
  .mobile-nav-backdrop,
  .mobile-menu-toggle {
    display: none !important;
  }
}

.mobile-nav-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-200);
  background: #f8fafc;
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 26px;
  color: var(--gray-500);
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 6px;
  transition: var(--transition);
}

.mobile-nav-close:hover {
  color: var(--dark);
  background: #e2e8f0;
}

.mobile-nav-body {
  padding: 16px 20px 24px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  transition: var(--transition);
}

.mobile-nav-item:hover, .mobile-nav-item.active {
  background: #eff6ff;
  color: var(--primary);
}

.mobile-nav-item .nav-item-icon {
  font-size: 18px;
  width: 24px;
  text-align: center;
}

.mobile-nav-cta {
  margin-top: auto;
  padding-top: 20px;
}

.btn-mobile-drawer-cta {
  display: block;
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, var(--accent), #ff8c00);
  color: var(--white);
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: var(--shadow-accent);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 60px 0 40px;
  background: radial-gradient(circle at top right, rgba(0, 102, 255, 0.08), transparent 50%),
              radial-gradient(circle at bottom left, rgba(255, 107, 0, 0.05), transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(0, 102, 255, 0.4);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(0, 102, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0); }
}

.hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -1px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary), #00c6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--gray-600);
  margin-bottom: 30px;
  line-height: 1.7;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.hero-stat {
  background: var(--white);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.hero-stat-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  display: block;
}

.hero-stat-label {
  font-size: 12px;
  color: var(--gray-600);
  font-weight: 500;
}

.hero-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.trust-card-pillar {
  background: var(--white);
  border: 1px solid rgba(0, 102, 255, 0.16);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.trust-card-pillar:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.12);
}

.pillar-icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.pillar-content strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
}

.pillar-content p {
  font-size: 11px;
  color: var(--gray-600);
  margin: 3px 0 0 0;
  line-height: 1.35;
}

.hero-live-counter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  color: #166534;
}

.live-dot-pulse {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(34, 197, 94, 0.5);
  animation: pulseGreen 1.8s infinite;
  flex-shrink: 0;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.calc-badge {
  display: inline-block;
  background: #fff4ea;
  color: var(--accent);
  border: 1px solid rgba(255, 107, 0, 0.25);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   LOAN CALCULATOR CARD
   ========================================================================== */
.calculator-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 102, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.calculator-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.calc-header {
  margin-bottom: 24px;
}

.calc-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
}

.calc-header p {
  font-size: 13px;
  color: var(--gray-600);
}

.slider-group {
  margin-bottom: 22px;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.slider-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-light);
}

.slider-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}

.range-slider {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--gray-200);
  outline: none;
  -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 102, 255, 0.4);
  transition: var(--transition);
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-summary {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 24px;
  border: 1px dashed var(--gray-200);
}

.calc-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 14px;
}

.calc-summary-row span:last-child,
.calc-summary-row .val {
  white-space: nowrap;
  font-weight: 700;
  text-align: right;
  flex-shrink: 0;
}

.calc-summary-row:last-child {
  margin-bottom: 0;
  padding-top: 10px;
  border-top: 1px solid var(--gray-200);
}

.calc-summary-row.total .val {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
}

.btn-calc-cta {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 14px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  box-shadow: var(--shadow-primary);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-calc-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 102, 255, 0.4);
}

/* ==========================================================================
   OFFER SECTION & FILTERS
   ========================================================================== */
.offers-section {
  padding: 60px 0 80px;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--gray-600);
}

/* Filter Bar */
.filter-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  margin-bottom: 36px;
}

.search-box {
  position: relative;
  margin-bottom: 18px;
}

.search-box input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  font-size: 15px;
  outline: none;
  transition: var(--transition);
  background: var(--gray-50);
}

.search-box input:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}

.search-box svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
}

.category-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-btn {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-100);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tab-btn:hover {
  background: var(--gray-200);
  color: var(--dark);
}

.tab-btn.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-primary);
}

.tab-btn .badge-count {
  background: rgba(255, 255, 255, 0.25);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
}

.tab-btn:not(.active) .badge-count {
  background: var(--gray-200);
  color: var(--gray-600);
}

/* ==========================================================================
   ACTIVE CALCULATOR FILTER BANNER
   ========================================================================== */
.active-filter-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f0f7ff;
  border: 1.5px solid #b8daff;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  margin-bottom: 24px;
  animation: filterBannerFadeIn 0.28s ease-out;
}

@keyframes filterBannerFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.filter-banner-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #004085;
  font-weight: 500;
}

.filter-banner-text strong {
  color: var(--primary);
  font-weight: 700;
}

.btn-clear-filter {
  background: var(--white);
  color: #dc3545;
  border: 1px solid #f5c6cb;
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-clear-filter:hover {
  background: #dc3545;
  color: var(--white);
  border-color: #dc3545;
}

@media (max-width: 768px) {
  .active-filter-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
  }
}

/* ==========================================================================
   OFFER CARDS GRID
   ========================================================================== */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 26px;
}

.offer-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 102, 255, 0.25);
}

.offer-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.offer-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.offer-badge.hot {
  background: #ffebe6;
  color: #ff3b30;
}

.offer-badge.featured {
  background: #e6f0ff;
  color: var(--primary);
}

.offer-badge.new {
  background: #e6f9f2;
  color: var(--success);
}

.offer-platform-tag {
  font-size: 11px;
  color: var(--gray-400);
  font-weight: 600;
}

.offer-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.offer-logo {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.offer-title-group h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}

.offer-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.stars {
  color: #ffb800;
  font-size: 13px;
}

.rating-score {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
}

.rating-reviews {
  font-size: 12px;
  color: var(--gray-400);
}

.offer-tagline {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 20px;
  min-height: 40px;
}

.offer-specs {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  margin-bottom: 20px;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 11px;
  color: var(--gray-400);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.spec-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}

.spec-value.highlight {
  color: var(--accent);
}

.offer-condition {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gray-600);
  margin-bottom: 12px;
}

.offer-condition svg {
  color: var(--success);
  flex-shrink: 0;
}

.offer-microtip {
  background: #f8fafc;
  border-left: 3px solid #ff6b00;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 11px;
  color: #475569;
  margin-bottom: 16px;
  line-height: 1.4;
}

.offer-microtip em {
  font-style: normal;
}

.offer-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.offer-sub-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.btn-card-guide {
  background: #fff8ea;
  color: #b45309;
  border: 1px solid #fcd34d;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-card-guide:hover {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #92400e;
  transform: translateY(-1px);
}

.btn-apply {
  background: linear-gradient(135deg, var(--accent), #ff8c00);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  box-shadow: var(--shadow-accent);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-apply:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 107, 0, 0.35);
}

.btn-detail {
  background: var(--gray-100);
  color: var(--gray-600);
  padding: 9px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-detail:hover {
  background: var(--gray-200);
  color: var(--dark);
}

/* ==========================================================================
   HOW IT WORKS (4 STEPS)
   ========================================================================== */
.steps-section {
  padding: 70px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

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

.step-card {
  text-align: center;
  padding: 24px;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
}

.step-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ==========================================================================
   WHY CHOOSE & TRUST SECTION
   ========================================================================== */
.why-section {
  padding: 70px 0;
}

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

.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.why-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.why-card h4 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ==========================================================================
   HOMEPAGE GUIDES & TUTORIALS SECTION
   ========================================================================== */
.guides-section {
  padding: 70px 0;
  background: #f8faff;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.home-guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.home-guide-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.home-guide-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 102, 255, 0.12);
  border-color: var(--primary);
}

.home-guide-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.home-guide-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.home-guide-card h3 {
  margin: 0;
  font-size: 16px;
  color: var(--dark);
  line-height: 1.3;
}

.home-guide-badge {
  font-size: 11px;
  font-weight: 700;
  color: #00b074;
  margin-top: 2px;
  display: block;
}

.home-guide-card p {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.5;
}

.home-guide-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--gray-200);
  padding-top: 12px;
  font-size: 12px;
}

.home-guide-footer span {
  color: var(--gray-500);
}

.home-guide-footer strong {
  color: var(--primary);
  font-weight: 700;
}

.view-all-card {
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
  border: 2px dashed #93c5fd;
  justify-content: center;
}

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

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

/* ==========================================================================
   FAQ ACCORDION SECTION
   ========================================================================== */
.faq-section {
  padding: 70px 0;
  background: var(--white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question svg {
  transition: transform 0.3s ease;
  color: var(--primary);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: var(--gray-50);
}

.faq-answer-inner {
  padding: 18px 24px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ==========================================================================
   FOOTER & DISCLAIMER
   ========================================================================== */
.site-footer {
  background: var(--dark);
  color: var(--gray-400);
  padding: 60px 0 30px;
  font-size: 14px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .brand-text h3 {
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-brand .brand-text h3 span {
  color: var(--primary);
}

.footer-brand p {
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--gray-400);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.disclaimer-box {
  background: var(--dark-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 40px;
  font-size: 13px;
  line-height: 1.7;
  color: #94a3b8;
}

.disclaimer-box h5 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

/* ==========================================================================
   MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--gray-100);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--gray-600);
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--gray-200);
  color: var(--dark);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .steps-grid, .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

/* Medium Desktop & Tablet Landscape (993px - 1180px) */
@media (max-width: 1180px) and (min-width: 993px) {
  .nav-links {
    gap: 10px;
  }
  .nav-link {
    font-size: 13px;
    padding: 5px 2px;
  }
  .nav-link-extra {
    display: none !important;
  }
}

/* Tablet & Mobile (<= 992px) */
@media (max-width: 992px) {
  .nav-links {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  .hero-badge {
    border-radius: 12px;
    font-size: 11.5px;
    padding: 8px 12px;
    align-items: flex-start;
    line-height: 1.4;
    text-align: left;
  }
  .hero-badge .pulse-dot {
    margin-top: 4px;
    flex-shrink: 0;
  }
  .hero-highlights {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px;
  }
  .hero-stat {
    padding: 10px 6px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .hero-stat-value {
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 2px;
  }
  .hero-stat-label {
    font-size: 10.5px;
    line-height: 1.25;
    min-height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .calculator-card {
    padding: 22px 16px;
  }
  .category-tabs {
    gap: 8px;
    justify-content: center;
  }
  .tab-btn {
    padding: 8px 14px;
    font-size: 13px;
  }
  .offers-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid, .why-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* Small Mobile Screens (<= 480px) */
@media (max-width: 480px) {
  .header-content {
    gap: 8px;
    height: 62px;
  }
  .brand-logo {
    gap: 8px;
  }
  .brand-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .brand-text h1, .brand-text .brand-title {
    font-size: 17px;
  }
  .brand-text p {
    font-size: 9px;
    letter-spacing: 0.3px;
  }
  .btn-header-cta {
    padding: 6px 12px;
    font-size: 12px;
    gap: 4px;
  }
  .cta-text-full {
    display: none !important;
  }
  .cta-text-short {
    display: inline !important;
  }
  .mobile-menu-toggle {
    width: 36px;
    height: 36px;
  }
}

/* ==========================================================================
   FEATURE 1: SMART LOAN QUIZ (GỢI Ý DUYỆT 100%)
   ========================================================================== */
.nav-highlight {
  color: var(--accent) !important;
  font-weight: 700;
  background: rgba(255, 107, 0, 0.08);
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

.quiz-section {
  padding: 60px 0;
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--gray-200);
}

.quiz-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.quiz-header {
  text-align: center;
  margin-bottom: 32px;
}

.quiz-badge {
  display: inline-block;
  background: #ffefe5;
  color: #ff6b00;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  border: 1px solid rgba(255, 107, 0, 0.2);
}

.quiz-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.quiz-desc {
  font-size: 15px;
  color: var(--gray-600);
  max-width: 640px;
  margin: 0 auto;
}

.quiz-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.08);
  border: 1px solid rgba(0, 102, 255, 0.12);
  position: relative;
}

.quiz-progress-wrapper {
  margin-bottom: 28px;
}

.quiz-progress-bar {
  height: 8px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 10px;
}

.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0066ff, #00b074);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

.quiz-step-indicator {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-align: right;
}

.quiz-question {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  text-align: center;
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.quiz-opt-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 20px;
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  font-family: inherit;
}

.quiz-opt-btn:hover {
  background: #f0f7ff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 102, 255, 0.12);
}

.quiz-opt-btn .opt-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.quiz-opt-btn .opt-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.quiz-opt-btn .opt-sub {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.4;
}

.quiz-nav {
  display: flex;
  justify-content: flex-start;
}

.quiz-back-btn {
  background: none;
  border: none;
  color: var(--gray-600);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.quiz-back-btn:hover {
  color: var(--primary);
  background: var(--gray-100);
}

/* Quiz Result */
.quiz-result-header {
  text-align: center;
  margin-bottom: 24px;
}

.result-badge-anim {
  font-size: 42px;
  margin-bottom: 10px;
  animation: bounce 1s infinite alternate;
}

@keyframes bounce {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

.quiz-result-header h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.quiz-result-header p {
  color: var(--gray-600);
  font-size: 15px;
}

.multi-apply-alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff8e6;
  border: 1px solid #ffd166;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
}

.multi-apply-alert .alert-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.multi-apply-alert .alert-content {
  font-size: 14px;
  color: #7a5400;
  line-height: 1.5;
}

.quiz-matched-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.quiz-match-card {
  background: var(--white);
  border: 2px solid #00b074;
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  position: relative;
  box-shadow: 0 6px 18px rgba(0, 176, 116, 0.12);
  display: flex;
  flex-direction: column;
}

.quiz-match-rank {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #00b074;
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.quiz-match-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 13px;
  margin: 12px auto 8px;
}

.quiz-match-name {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
}

.quiz-match-limit {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.quiz-match-reason {
  font-size: 12px;
  color: var(--gray-600);
  background: var(--gray-50);
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  flex-grow: 1;
}

.quiz-match-btn {
  background: linear-gradient(135deg, #ff6b00 0%, #ff8800 100%);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: inline-block;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.25);
  transition: var(--transition);
}

.quiz-match-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.35);
}

.quiz-result-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}

.btn-restart-quiz {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  color: var(--dark);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-restart-quiz:hover {
  background: var(--gray-200);
}

.btn-view-all-quiz {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-view-all-quiz:hover {
  background: var(--primary-dark);
}

/* ==========================================================================
   FEATURE 2: FLOATING ZALO WIDGET & ZALO MODAL
   ========================================================================== */
.floating-zalo-wrapper {
  position: fixed;
  bottom: 30px;
  right: 24px;
  z-index: 999;
}

.zalo-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 2px solid #0068FF;
  border-radius: var(--radius-full);
  padding: 6px 16px 6px 6px;
  box-shadow: 0 6px 24px rgba(0, 104, 255, 0.28);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.zalo-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 104, 255, 0.38);
}

.zalo-icon-box {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.zalo-pulse {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 104, 255, 0.4);
  animation: zaloPulse 1.8s infinite;
  z-index: 1;
}

@keyframes zaloPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.7); opacity: 0; }
}

.zalo-badge-text {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #0068FF;
}

.zalo-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00b074;
  box-shadow: 0 0 0 2px rgba(0, 176, 116, 0.3);
}

/* ==========================================================================
   INTERACTIVE FINANCIAL BOT CHAT WINDOW (100% Button-Driven)
   ========================================================================== */
.chat-window {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 580px;
  max-height: calc(100vh - 80px);
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(0, 102, 255, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1050;
  transform: translateY(20px) scale(0.96);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s;
}

.chat-window.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Chat Header (Facebook Messenger Style) */
.chat-header {
  background: linear-gradient(135deg, #0084ff 0%, #0066ff 100%);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 102, 255, 0.2);
  position: relative;
  z-index: 2;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-staff-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.9);
}

.staff-status-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #31a24c;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px rgba(49, 162, 76, 0.25);
}

.chat-staff-meta h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1.25;
}

.fb-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  background: #ffffff;
  border-radius: 50%;
  padding: 1px;
}

.fb-verified svg {
  width: 12px;
  height: 12px;
}

.chat-online-status {
  font-size: 11.5px;
  color: #d1fae5;
  margin: 2px 0 0;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.status-typing {
  color: #fff9db;
  font-style: italic;
  font-weight: 600;
  animation: pulseTyping 1.2s infinite;
}

@keyframes pulseTyping {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.chat-header-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-chat-action {
  background: rgba(255, 255, 255, 0.18);
  border: none;
  color: var(--white);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-chat-action:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: scale(1.06);
}

.btn-close-chat {
  font-size: 18px;
  line-height: 1;
}

/* Chat Body (Messenger Style) */
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 10px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 6px;
  scroll-behavior: smooth;
}

.chat-body::-webkit-scrollbar {
  width: 4px;
}

.chat-body::-webkit-scrollbar-thumb {
  background: #bcc0c4;
  border-radius: 4px;
}

.chat-msg-row {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  animation: fbMsgFadeIn 0.2s ease-out;
}

@keyframes fbMsgFadeIn {
  from { opacity: 0; transform: translateY(4px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-msg-bot {
  align-self: flex-start;
  max-width: 88%;
}

.chat-staff-avatar-mini {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f0f2f5;
  border: 1px solid #e4e6eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  margin-bottom: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.chat-msg-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chat-msg-bot .chat-bubble {
  background: #f0f2f5;
  border-radius: 18px 18px 18px 4px;
  padding: 9px 13px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #050505;
  word-wrap: break-word;
}

.chat-msg-bot .chat-bubble p {
  margin: 0 0 6px 0;
}

.chat-msg-bot .chat-bubble p:last-child {
  margin-bottom: 0;
}

.chat-msg-user {
  align-self: flex-end;
  max-width: 82%;
  flex-direction: row-reverse;
}

.chat-msg-user .chat-msg-content {
  align-items: flex-end;
}

.chat-msg-user .chat-bubble {
  background: linear-gradient(135deg, #0084ff 0%, #0073e6 100%);
  color: var(--white);
  border-radius: 18px 18px 4px 18px;
  padding: 9px 13px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
  box-shadow: 0 2px 6px rgba(0, 132, 255, 0.2);
  word-wrap: break-word;
}

.chat-time {
  font-size: 10px;
  color: #8a8d91;
  margin-top: 2px;
  margin-left: 4px;
}

.chat-receipt {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  color: #8a8d91;
  margin-top: 2px;
  margin-right: 4px;
}

.receipt-avatar {
  font-size: 12px;
  display: inline-flex;
}

/* Typing Indicator (Facebook Messenger wave dots) */
.typing-row {
  margin-bottom: 4px;
}

.chat-typing-bubble {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  background: #e4e6eb;
  border-radius: 18px;
  width: fit-content;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.typing-dot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: #82868b;
  animation: fbTyping 1.2s infinite ease-in-out;
}

.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes fbTyping {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
  30% { transform: translateY(-5px); opacity: 1; }
}

/* Mini Offer Card in Messenger Bubble */
.chat-card-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--white);
  border: 1px solid #e4e6eb;
  border-radius: 12px;
  padding: 8px 12px;
  margin-top: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.chat-card-item:hover {
  border-color: #0084ff;
  box-shadow: 0 4px 12px rgba(0, 132, 255, 0.15);
  transform: translateY(-1px);
}

.chat-card-meta {
  flex: 1;
}

.chat-card-meta strong {
  display: block;
  font-size: 13px;
  color: #050505;
}

.chat-card-meta span {
  font-size: 11px;
  color: #31a24c;
  font-weight: 600;
}

.chat-card-btn {
  background: #ff6b00;
  color: var(--white) !important;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 20px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(255, 107, 0, 0.25);
  transition: all 0.2s;
}

.chat-card-btn:hover {
  background: #e65100;
  transform: translateY(-1px);
}

/* Quick Options (Messenger Pill Buttons) */
.chat-quick-options {
  padding: 8px 12px;
  background: #ffffff;
  border-top: 1px solid #f0f2f5;
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-height: 180px;
  overflow-y: auto;
}

.chat-quick-options::-webkit-scrollbar {
  width: 4px;
}

.chat-quick-options::-webkit-scrollbar-thumb {
  background: #e4e6eb;
  border-radius: 4px;
}

.btn-chat-opt {
  background: #ffffff;
  color: #0084ff;
  border: 1.5px solid #0084ff;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.16s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-family: inherit;
  line-height: 1.35;
  box-shadow: 0 1px 4px rgba(0, 132, 255, 0.08);
}

.btn-chat-opt:hover {
  background: #0084ff;
  color: var(--white);
  border-color: #0084ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 132, 255, 0.25);
}

.btn-chat-opt::after {
  content: '→';
  font-size: 13px;
  opacity: 0.8;
}

.btn-chat-opt:hover::after {
  opacity: 1;
}

/* Chat Footer (Messenger Pill Input) */
.chat-footer {
  padding: 8px 12px 10px;
  background: #ffffff;
  border-top: 1px solid #f0f2f5;
}

.chat-phone-form {
  display: block;
}

.chat-input-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f0f2f5;
  border-radius: 24px;
  padding: 3px 4px 3px 14px;
  transition: box-shadow 0.2s, background 0.2s;
}

.chat-input-wrapper:focus-within {
  background: #ffffff;
  box-shadow: 0 0 0 2px #0084ff;
}

.chat-input-wrapper input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 7px 0;
  font-size: 12.5px;
  outline: none;
  font-family: inherit;
  color: #050505;
}

.chat-input-wrapper input::placeholder {
  color: #8a8d91;
}

.btn-chat-send {
  background: #0084ff;
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.btn-chat-send:hover {
  background: #0073e6;
  transform: scale(1.06);
}

.chat-footer-links {
  margin-top: 6px;
  text-align: center;
}

.link-zalo-direct {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 11px;
  color: #0068ff;
  font-weight: 700;
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 6px;
  background: #eef6ff;
  width: 100%;
  transition: background 0.2s;
}

.link-zalo-direct:hover {
  background: #dbeafe;
}

/* Chat Overlay & Mobile Bottom-Sheet rules */
.chat-overlay {
  display: none;
}

@media (max-width: 768px) {
  .chat-overlay.active {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    z-index: 1045;
    animation: fadeInOverlay 0.2s ease-out;
  }

  @keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .chat-window {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 86vh;
    max-height: 86vh;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25);
    z-index: 1050;
  }

  .floating-zalo-wrapper {
    bottom: 76px;
    right: 14px;
  }

  body.chat-open .floating-zalo-wrapper,
  body.chat-open .sticky-mobile-bar {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }
}

/* ==========================================================================
   FEATURE 3: STICKY MOBILE BOTTOM BAR
   ========================================================================== */
.sticky-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 990;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--gray-200);
  padding: 10px 16px;
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-mobile-bar.active {
  transform: translateY(0);
}

.sticky-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 480px;
  margin: 0 auto;
}

.sticky-bar-text {
  display: flex;
  flex-direction: column;
}

.sticky-hot {
  font-size: 13px;
  font-weight: 800;
  color: #ff6b00;
}

.sticky-desc {
  font-size: 11px;
  color: var(--gray-600);
}

.sticky-bar-btns {
  display: flex;
  gap: 8px;
}

.btn-sticky-quiz {
  background: #0066ff;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-sticky-view {
  background: var(--gray-100);
  color: var(--dark);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-200);
  white-space: nowrap;
}

/* ==========================================================================
   FEATURE 4: SOCIAL PROOF POPUP NOTIFICATION (BOTTOM-LEFT DESKTOP, ABOVE STICKY BAR MOBILE)
   ========================================================================== */
.social-proof-toast {
  position: fixed;
  top: 84px;
  left: 24px;
  bottom: auto;
  right: auto;
  z-index: 995;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 102, 255, 0.16);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 340px;
  cursor: pointer;
  animation: toastSlideDownLeft 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  transition: transform 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

@keyframes toastSlideDownLeft {
  from {
    transform: translateY(-20px) scale(0.96);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.social-proof-toast:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
  border-color: rgba(0, 102, 255, 0.35);
}

.toast-close {
  position: absolute;
  top: 6px;
  right: 8px;
  background: none;
  border: none;
  font-size: 16px;
  color: var(--gray-400);
  cursor: pointer;
  line-height: 1;
}

.toast-close:hover {
  color: var(--dark);
}

.toast-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #0066ff;
  color: var(--white);
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 102, 255, 0.2);
}

.toast-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.toast-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #00b074;
}

.toast-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00b074;
  box-shadow: 0 0 6px rgba(0, 176, 116, 0.6);
}

.toast-client {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-top: 2px;
}

.toast-detail {
  font-size: 12px;
  color: var(--gray-600);
}

.toast-time-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 3px;
}

.toast-time {
  font-size: 10px;
  color: var(--gray-400);
}

.toast-action-hint {
  font-size: 10px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

body.chat-open .social-proof-toast {
  display: none !important;
}

/* ==========================================================================
   FEATURE: 24HVAY VS BÊN KHÁC COMPARISON TABLE
   ========================================================================== */
.compare-strip-section {
  padding: 60px 0;
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.mobile-scroll-hint {
  display: none;
}

.compare-table-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--gray-200);
  overflow-x: auto;
  margin-bottom: 24px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th {
  padding: 20px 24px;
  font-size: 15px;
  border-bottom: 2px solid var(--gray-200);
}

.compare-table th.col-criteria {
  width: 25%;
  background: var(--gray-50);
  color: var(--gray-700);
  font-weight: 700;
}

.compare-table th.col-24hvay {
  width: 42%;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.08) 0%, rgba(0, 102, 255, 0.03) 100%);
  border-left: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
}

.compare-table th.col-others {
  width: 33%;
  background: #fff5f5;
  color: #c53030;
}

.brand-th {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.star-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ff6b00, #ff8c00);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.brand-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
}

.brand-th-other {
  font-size: 16px;
  font-weight: 700;
  color: #718096;
}

.compare-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: top;
}

.cell-criteria {
  background: var(--gray-50);
}

.crit-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
}

.crit-desc {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 4px;
}

.cell-24hvay {
  background: rgba(0, 102, 255, 0.02);
  border-left: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
}

.cell-others {
  background: #fffafa;
}

.val-badge {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
}

.val-badge.good {
  background: #e6f9f2;
  color: #00875a;
}

.val-badge.bad {
  background: #ffebe6;
  color: #de350b;
}

.cell-24hvay p, .cell-others p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray-700);
  margin: 0;
}

.compare-trust-bar {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px dashed var(--gray-300);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
}

.trust-icon {
  font-size: 18px;
}

/* ==========================================================================
   FEATURE: MULTI-APPLY COMBO BANNER (DUYỆT 100%)
   ========================================================================== */
.multi-apply-banner {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 36px;
  color: var(--white);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.25);
  border: 2px solid #ff6b00;
  position: relative;
  overflow: hidden;
}

.multi-apply-banner::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.multi-apply-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 28px;
}

.multi-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ff3b30, #ff6b00);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(255, 59, 48, 0.35);
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.multi-title {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.multi-subtitle {
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.6;
}

.multi-subtitle strong {
  color: #fca5a5;
}

.combo-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.combo-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.combo-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.combo-card.featured {
  background: rgba(255, 107, 0, 0.12);
  border-color: #ff6b00;
}

.combo-card-badge {
  position: absolute;
  top: -10px;
  right: 14px;
  background: #3b82f6;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

.combo-card-badge.hot {
  background: #ff3b30;
}

.combo-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.combo-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.combo-brand-row h4 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.combo-stars {
  font-size: 12px;
  color: #fbbf24;
}

.combo-features {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.combo-features li {
  font-size: 13px;
  color: #e2e8f0;
}

.combo-features li strong {
  color: #fff;
}

.btn-combo-single {
  display: block;
  text-align: center;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.btn-combo-single:hover {
  background: #fff;
  color: #0f172a;
}

.combo-action-footer {
  text-align: center;
  padding-top: 10px;
}

.btn-open-combo-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #ff6b00 0%, #ff3b30 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  letter-spacing: 0.3px;
}

.btn-open-combo-all:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px rgba(255, 107, 0, 0.6);
}

.btn-open-combo-all .pulse-icon {
  font-size: 20px;
  animation: bounce 1.2s infinite;
}

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

.combo-footer-note {
  font-size: 13px;
  color: #94a3b8;
  margin-top: 12px;
}

/* ==========================================================================
   FEATURE: CREDIT CARD DEALS SECTION (#the-tin-dung-hot)
   ========================================================================== */
.credit-card-deals-section {
  padding: 70px 0;
  background: linear-gradient(180deg, #f1f5f9 0%, #ffffff 100%);
  border-top: 1px solid var(--gray-200);
}

.hot-tag {
  background: #ffebe6;
  color: #ff3b30;
  font-weight: 800;
}

.card-deals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}



.card-deal-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-deal-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 102, 255, 0.3);
}

.card-deal-item.featured-deal {
  border-color: #ff6b00;
  box-shadow: 0 12px 30px rgba(255, 107, 0, 0.15);
}

.deal-ribbon {
  position: absolute;
  top: 12px;
  right: -32px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 34px;
  transform: rotate(45deg);
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  letter-spacing: 0.5px;
}

.deal-ribbon.hot {
  background: #ff3b30;
}

.deal-card-visual {
  height: 150px;
  padding: 16px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.2);
}

.card-chip {
  width: 32px;
  height: 24px;
  background: linear-gradient(135deg, #ffd700, #b8860b);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.card-type-logo {
  position: absolute;
  top: 16px;
  left: 60px;
  font-weight: 800;
  font-size: 13.5px;
  line-height: 24px;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.card-number-mock {
  font-family: 'Courier New', Courier, monospace;
  font-size: 15px;
  letter-spacing: 2px;
  opacity: 0.85;
}

.card-bottom-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.card-brand-symbol {
  font-style: italic;
  font-weight: 900;
  font-size: 14px;
}

.deal-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.deal-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
  line-height: 1.3;
  min-height: 48px;
  display: flex;
  align-items: center;
}

.deal-usp {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 14px;
}

.deal-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.deal-perks li {
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.4;
}

.deal-pricing {
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.deal-rate-label {
  color: var(--gray-500);
}

.deal-rate-val {
  font-weight: 700;
  color: var(--dark);
}

.btn-deal-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25);
}

.btn-deal-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 102, 255, 0.4);
}

.card-deal-item.featured-deal .btn-deal-cta {
  background: linear-gradient(135deg, #ff6b00 0%, #ff3b30 100%);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.35);
}

/* Tablet Adjustments */
@media (max-width: 1024px) {
  .card-deals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .quiz-options-grid {
    grid-template-columns: 1fr;
  }
  .quiz-matched-grid {
    grid-template-columns: 1fr;
  }
  .quiz-card {
    padding: 24px 16px;
  }
  .quiz-title {
    font-size: 22px;
  }
  .hero-trust-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 18px;
  }
  .trust-card-pillar {
    padding: 10px 12px;
  }
  .hero-live-counter {
    width: 100%;
    font-size: 11px;
    padding: 7px 10px;
    margin-bottom: 20px;
    box-sizing: border-box;
    text-align: center;
  }
  .hero-title {
    font-size: 28px;
    line-height: 1.25;
  }
  .hero-subtitle {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  .mobile-scroll-hint {
    display: block;
    font-size: 12px;
    color: var(--primary);
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    background: #e6f0ff;
    padding: 6px 12px;
    border-radius: var(--radius-full);
  }
  .compare-table {
    min-width: 580px;
  }
  .compare-table th, .compare-table td {
    padding: 12px 14px;
    font-size: 13px;
  }
  .compare-trust-bar {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .combo-cards-grid {
    grid-template-columns: 1fr;
  }
  .multi-apply-banner {
    padding: 20px 16px;
  }
  .btn-open-combo-all {
    width: 100%;
    padding: 14px 18px;
    font-size: 14px;
  }
  .card-deals-grid {
    grid-template-columns: 1fr;
  }
  .sticky-mobile-bar {
    display: block;
  }
  .floating-zalo-wrapper {
    bottom: 76px;
    right: 14px;
  }
  .zalo-badge-text {
    display: none;
  }
  .zalo-btn {
    padding: 4px;
  }
  .btn-header-cta {
    padding: 7px 12px;
    font-size: 12px;
    white-space: nowrap;
    gap: 4px;
  }
  .social-proof-toast {
    bottom: auto;
    top: 72px;
    left: 12px;
    right: 12px;
    max-width: 420px;
    margin: 0 auto;
    padding: 10px 14px;
    z-index: 995;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(0, 102, 255, 0.15);
    animation: toastSlideDownTop 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes toastSlideDownTop {
    from {
      transform: translateY(-20px) scale(0.96);
      opacity: 0;
    }
    to {
      transform: translateY(0) scale(1);
      opacity: 1;
    }
  }
}

/* ==========================================================================
   INSIGHT & TRUST ENHANCEMENTS (BASED ON 2026 BORROWER RESEARCH)
   ========================================================================== */

/* 1. Insight Filter Chips */
.insight-filter-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0 6px 0;
  padding-bottom: 4px;
}

.chip-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.chip-filter-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
  transform: translateY(-1px);
}

.chip-filter-btn.active {
  background: #0066ff;
  border-color: #0066ff;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(0, 102, 255, 0.28);
}

/* 3. Offer Trust Tags on Each Card */
.offer-trust-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 12px 0;
}

.trust-tag-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  line-height: 1.3;
}

.trust-tag-item.tag-safe {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.trust-tag-item.tag-secret {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.trust-tag-item.tag-zero {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.trust-tag-item.tag-cic {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

@media (max-width: 768px) {
  .insight-filter-chips {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .insight-filter-chips::-webkit-scrollbar {
    display: none;
  }
  .chip-filter-btn {
    white-space: nowrap;
    font-size: 12px;
    padding: 5px 12px;
    flex-shrink: 0;
  }
}

/* ==========================================================================
   BORROWER EMPATHY & PAIN POINT RESOLUTION STYLES
   ========================================================================== */
.empathy-section {
  padding: 56px 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.empathy-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px auto;
}

.empathy-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: #e11d48;
  background: #ffe4e6;
  padding: 5px 14px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.empathy-title {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 10px;
}

.empathy-desc {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
}

.empathy-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.empathy-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1.5px solid #e2e8f0;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.empathy-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.empathy-pain-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.empathy-icon {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 2px;
}

.empathy-pain-info {
  flex: 1;
}

.empathy-pain-label {
  font-size: 11px;
  font-weight: 800;
  color: #dc2626;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 4px;
}

.empathy-pain-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin: 0;
}

.empathy-solution-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 14px 16px;
}

.solution-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #166534;
  background: #dcfce7;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 6px;
}

.empathy-solution-box p {
  font-size: 13.5px;
  color: #1e293b;
  line-height: 1.55;
  margin: 0;
}

.empathy-solution-box p strong {
  color: #15803d;
}

@media (max-width: 992px) {
  .empathy-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .empathy-section {
    padding: 38px 0;
  }
  .empathy-title {
    font-size: 21px;
  }
  .empathy-desc {
    font-size: 13.5px;
  }
  .empathy-card {
    padding: 18px 16px;
    gap: 14px;
  }
  .empathy-pain-info h4 {
    font-size: 15px;
  }
  .empathy-solution-box p {
    font-size: 13px;
  }
}



