
/* Typography: Ngăn chặn rớt chữ đơn lẻ & ngắt dòng tự nhiên */
h1, h2, h3, h4, .sec-heading, .sec-desc, .hero-desc, .stat-title, .stat-desc, .cta-main-title {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

/* ==========================================================================
   PACE AI - OFFICIAL LIGHT THEME STYLESHEET (GIAO DIỆN NỀN SÁNG)
   Hệ màu thương hiệu chuẩn xác:
   - Primary:                  #244A87 (Xanh dương đậm)
   - Nền sáng chính:           #F5F8FC & #FFFFFF (Trắng tinh tế)
   - Accent (Vàng tăng tốc):   #F5C344
   - Nền tối nhấn (Navy):      #071A33 (Dùng cho Footer & Card cam kết)
   - Chữ chính:                #172033
   - Chữ phụ:                  #5A6B82
   - Trạng thái thành công:    #19A974 (Xanh lá)

   Màu Vàng #F5C344 đại diện cho:
   - Phần thời gian được tiết kiệm
   - Điểm nghẽn được giải quyết
   - Luồng công việc đã được tăng tốc
   - Nút đăng ký tư vấn & CTA chính
   ========================================================================== */

:root {
  /* Brand Palette */
  --primary-blue: #244A87;       /* Xanh dương đậm thương hiệu (#003B9F / #244A87) */
  --brand-blue: #003B9F;         /* Royal Navy thương hiệu */
  --dark-navy: #071A33;          /* Navy tối dùng cho Hero & Footer */
  --accent-gold: #F4C70F;        /* Vàng kim thương hiệu chuẩn (#F4C70F) */
  --accent-cyan: #00C2FF;        /* Cyan công nghệ thương hiệu chuẩn (#00C2FF) */
  --accent-orange: #FF9F1C;      /* Cam năng động thương hiệu chuẩn (#FF9F1C) */
  --bg-light: #F5F8FC;           /* Nền sáng tổng thể */
  --bg-white: #FFFFFF;           /* Bề mặt Card trắng */
  --text-dark: #172033;          /* Chữ chính */
  --text-muted: #5A6B82;         /* Chữ phụ / mô tả */
  --text-dim: #8B9BAC;          /* Chữ mờ / metadata */
  --text-white: #FFFFFF;
  --success-green: #00C2FF;      /* Chuyển sang Cyan thương hiệu đồng nhất */

  /* Surface & Borders */
  --card-bg: #FFFFFF;
  --card-border: #E2E8F0;
  --border-primary: rgba(36, 74, 135, 0.25);
  --border-gold: rgba(244, 199, 15, 0.6);

  /* Typography */
  --font-heading: 'Be Vietnam Pro', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Radius & Shadows */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(36, 74, 135, 0.06);
  --shadow-md: 0 10px 30px rgba(36, 74, 135, 0.08);
  --shadow-card: 0 15px 35px rgba(36, 74, 135, 0.07);
  --shadow-gold: 0 4px 20px rgba(244, 199, 15, 0.4);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.5px;
  color: var(--text-dark);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.text-gold { color: var(--accent-gold) !important; font-weight: 700; }
.text-primary { color: var(--primary-blue) !important; }
.text-cyan { color: var(--accent-cyan) !important; }
.text-orange { color: var(--accent-orange) !important; }
.text-success { color: var(--accent-cyan) !important; }
.text-danger { color: var(--accent-orange) !important; }
.text-white { color: #FFFFFF; }
.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }
.text-highlight { color: var(--primary-blue); }
.text-highlight-gold { color: var(--accent-gold); }

.margin-top-xs { margin-top: 8px; }
.margin-top-sm { margin-top: 16px; }
.margin-top-md { margin-top: 24px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-gold {
  background: var(--accent-gold);
  color: var(--text-dark);
  box-shadow: 0 4px 15px rgba(245, 195, 68, 0.35);
}

.btn-gold:hover {
  background: #E5B334;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: var(--bg-white);
  border: 1.5px solid var(--border-primary);
  color: var(--primary-blue);
}

.btn-outline:hover {
  border-color: var(--primary-blue);
  background: rgba(36, 74, 135, 0.05);
  transform: translateY(-2px);
}

.btn-glow {
  box-shadow: var(--shadow-gold);
  animation: pulse-gold-glow 2.5s infinite;
}

@keyframes pulse-gold-glow {
  0% { box-shadow: 0 0 12px rgba(245, 195, 68, 0.3); }
  50% { box-shadow: 0 0 25px rgba(245, 195, 68, 0.6); }
  100% { box-shadow: 0 0 12px rgba(245, 195, 68, 0.3); }
}

.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-xl { padding: 18px 36px; font-size: 17px; border-radius: var(--radius-md); }
.btn-block { width: 100%; }

/* Top Announcement Bar */
.top-bar {
  background: var(--primary-blue);
  color: #FFFFFF;
  padding: 9px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(245, 195, 68, 0.3);
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.top-tag {
  background: var(--accent-gold);
  color: var(--text-dark);
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
}

.top-link {
  color: var(--accent-gold);
  font-weight: 700;
}

.top-link:hover { text-decoration: underline; }

/* Site Header - THU GỌN ĐỘ DÀY TRÌNH ĐƠN MỎNG LẠI (ITEM 1) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 26, 51, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-logo-img {
  height: 48px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.logo:hover .site-logo-img {
  transform: translateY(-1px) scale(1.02);
  filter: drop-shadow(0 0 14px rgba(0, 194, 255, 0.45));
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #FFFFFF;
  line-height: 1.1;
}

.logo-accent { color: var(--accent-gold); }

.logo-sub {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #94A3B8;
  line-height: 1;
  margin-top: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 600;
  color: #CBD5E1;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-menu a:hover { color: var(--accent-gold); }

.header-actions .btn {
  padding: 7px 18px;
  font-size: 13.5px;
  border-radius: 20px;
}

/* Section Title Commons */
.sub-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  color: var(--primary-blue);
  background: rgba(36, 74, 135, 0.08);
  padding: 4px 12px;
  border-radius: 20px;
}

.sec-heading {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.sec-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 50px;
}

/* ==========================================================================
   MÀN HÌNH 1: HERO SECTION & WIDGETS (KHỐI NỀN TỐI LIỀN MẠCH, ROBOT HÒA QUYỆN)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: calc(100vh - 66px);
  min-height: calc(100dvh - 66px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 0 0 0;
  background: radial-gradient(ellipse 95% 75% at 65% 35%, #0F2D57 0%, #071A33 55%, #030C1A 100%);
  color: #FFFFFF;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-bg-accent {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(36, 74, 135, 0.45) 0%, rgba(245, 195, 68, 0.1) 45%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 530px 1fr;
  gap: 32px;
  align-items: center;
  flex: 1;
  width: 100%;
  padding: 8px 0;
}

.hero-content {
  width: 100%;
  max-width: 530px;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* TAG BADGE TRÊN TIÊU ĐỀ (CHUẨN CUONGMEAI ẢNH 1) */
.hero-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(244, 199, 15, 0.35);
  border-radius: 30px;
  padding: 5px 15px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #F8FAFC;
  margin-bottom: 14px;
  backdrop-filter: blur(8px);
}

.badge-dot-gold {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 8px var(--accent-gold);
  display: inline-block;
}

/* TIÊU ĐỀ CĂN 2 BÊN NẰM CÂN ĐỐI VỚI 2 NÚT BÊN DƯỚI (530PX) */
.hero-title {
  width: 100%;
  margin-top: 0;
  margin-bottom: 14px;
}

.hero-title-row {
  display: block;
  width: 100%;
  white-space: nowrap;
}

.title-row-1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.22;
  color: #FFFFFF;
  letter-spacing: 0.15px;
}

.hero-title-separator {
  display: block;
  font-size: 19px;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 4px;
  margin: 2px 0;
  opacity: 0.95;
}

.title-row-2 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.22;
  color: var(--accent-gold);
  letter-spacing: 0.1px;
  text-shadow: 0 0 25px rgba(245, 195, 68, 0.4);
}

.hero-desc {
  font-size: 15.5px;
  color: #CBD5E1;
  margin-bottom: 22px;
  line-height: 1.6;
  width: 100%;
  max-width: 530px;
}

.hero-desc strong {
  color: #FFFFFF;
}

/* HAI NÚT CTA TRẢI ĐỀU 530PX CÂN ĐỐI VỚI CỤM CHỮ BÊN TRÊN */
.hero-cta-group {
  display: flex;
  gap: 14px;
  width: 100%;
  max-width: 530px;
  margin-bottom: 18px;
  flex-wrap: nowrap;
  align-items: center;
}

.hero-cta-group .btn {
  padding: 13px 22px;
  font-size: 15px;
  white-space: nowrap;
  justify-content: center;
  text-align: center;
  border-radius: var(--radius-sm);
}

.hero-cta-group .btn-gold {
  flex: 1.1;
}

.hero-cta-group .btn-outline {
  flex: 0.9;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
}

.hero-cta-group .btn-outline i {
  color: var(--accent-gold);
}

.hero-cta-group .btn-outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(245, 195, 68, 0.15);
  transform: translateY(-2px);
}

/* SOCIAL PROOF ROW (CHUẨN CUONGMEAI ẢNH 1) */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
}

.proof-avatars {
  display: flex;
  align-items: center;
}

.proof-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #FFFFFF;
  border: 2px solid #071A33;
  margin-left: -6px;
}

.proof-avatar:first-child {
  margin-left: 0;
}

.proof-avatar-1 { background: #EA580C; }
.proof-avatar-2 { background: #F59E0B; }
.proof-avatar-3 { background: #0284C7; }
.proof-avatar-4 { background: #10B981; }

.proof-text {
  font-size: 13px;
  color: #94A3B8;
}

.proof-text strong {
  color: #FFFFFF;
  font-weight: 700;
}

/* ==========================================================================
   HERO RIGHT: ROBOT AI 3D & HỌA TIẾT NƠ-RON AI CÔNG NGHỆ MỜ NHẸ
   ========================================================================== */
.hero-visual {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 520px;
  max-height: 580px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  z-index: 5;
}

/* HỌA TIẾT MẠNG LƯỚI NƠ-RON AI QUANH VỊ TRÍ BOT (ĐỘ RÕ 50%) */
.hero-neural-mesh {
  position: absolute;
  top: 50%;
  left: calc(50% + 45px);
  transform: translate(-50%, calc(-50% + 55px));
  width: 820px;
  height: 560px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.50 !important;
  animation: neuralFloat 8s ease-in-out infinite alternate;
}

@keyframes neuralFloat {
  0% { opacity: 0.42; transform: translate(-50%, -50%) scale(0.98); }
  100% { opacity: 0.55; transform: translate(-50%, -50%) scale(1.02); }
}

/* ==========================================================================
   HỆ THỐNG MẠNG LƯỚI NƠ-RON AI CHO TẤT CẢ NỀN TỐI (ĐỘ RÕ 50%)
   Áp dụng cho: Hero, Before/After, Command Center, Commitment, Footer
   Phân bổ bất đối xứng: Bên trái thưa & mờ hơn, bên phải dày & rõ nét hơn
   ========================================================================== */
.hero-section,
.transformation-section,
.command-section,
.commitment-section,
.site-footer {
  position: relative;
  overflow: hidden;
}

.transformation-section .container,
.command-section .container,
.commitment-section .container,
.site-footer .container,
.site-footer .footer-bottom {
  position: relative;
  z-index: 2;
}

.dark-section-neural-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  opacity: 0.50 !important;
}

.dark-section-neural-bg svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dark-section-neural-bg svg line,
.hero-neural-mesh svg line {
  stroke-width: 1.1px;
}

/* Hiệu ứng xung nhịp nơ-ron AI (Synaptic Pulsing) */
@keyframes synapseGlow {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

@keyframes synapseGoldPulse {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.35); }
}

.node-pulse-cyan {
  transform-origin: center;
  animation: synapseGlow 4s ease-in-out infinite;
}

.node-pulse-gold {
  transform-origin: center;
  animation: synapseGoldPulse 3.2s ease-in-out infinite;
}

.hero-robot-container {
  position: relative;
  width: 100%;
  max-width: 860px;
  height: 100%;
  min-height: 520px;
  max-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  overflow: visible;
  margin: 0;
  transform: translate(45px, 55px); /* Dịch bot sang phải và dịch xuống đỉnh đầu ngay vạch vàng */
  z-index: 10; /* ĐẶT LAYER ROBOT NẰM TRÊN LAYER MẠNG LƯỚI NƠ-RON NỀN */
}

/* ROBOT AI 3D PHÓNG TO LỚN HƠN 120% (SCALE 1.42) ĐỨNG OAI PHONG */
.hero-robot-container spline-viewer {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 11; /* Đảm bảo canvas 3D robot luôn đè lên trên mạng nơ-ron */
  transform: scale(1.42);
  transform-origin: center center;
  filter: brightness(1.38) contrast(1.12) drop-shadow(0 0 35px rgba(56, 189, 248, 0.18));
  transition: none !important;
}

.hero-robot-container:hover spline-viewer {
  transform: scale(1.42);
}

/* Hide Spline default watermark logo cleanly */
spline-viewer::part(logo),
spline-viewer #logo,
spline-viewer a#logo {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ==========================================================================
   HÀNG LOGO CÁC ỨNG DỤNG AI (VÙNG TRƯỢT TRONG SUỐT, THẤY ROBOT PHÍA SAU, NỀN BADGE TRONG SUỐT 80% - ITEM 3)
   ========================================================================== */
.hero-ai-ecosystem {
  width: 100%;
  margin-top: auto;
  padding: 10px 0 16px;
  position: relative;
  z-index: 5;
  overflow: hidden;
  background: rgba(3, 12, 26, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ai-marquee-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
}

.ai-marquee-line {
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 195, 68, 0.35));
}

.ai-marquee-line:last-child {
  background: linear-gradient(90deg, rgba(245, 195, 68, 0.35), transparent);
}

.ai-marquee-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #8A99AD;
  text-transform: uppercase;
}

.ai-marquee-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  background: transparent;
}

.ai-marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: aiMarqueeScroll 30s linear infinite;
  background: transparent;
}

.ai-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes aiMarqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* NỀN CÁC KHỐI CHỮ NHẬT ĐẶT LOGO TRONG SUỐT KHOẢNG 80% (OPACITY 20%) ĐỂ THẤY ROBOT PHÍA SAU */
.ai-logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(11, 34, 68, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 18px;
  border-radius: 12px;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all 0.25s ease;
  cursor: default;
}

.ai-logo-badge:hover {
  border-color: var(--accent-gold);
  background: rgba(245, 195, 68, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.ai-logo-badge span {
  font-size: 13px;
  font-weight: 600;
  color: #E2E8F0;
  letter-spacing: 0.2px;
}

.ai-icon {
  flex-shrink: 0;
}



/* 4.1. WORKFLOW DIAGRAM */
.workflow-diagram {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.wf-step {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #F5F8FC;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  position: relative;
  transition: all 0.25s ease;
}

.wf-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.wf-icon-box.primary {
  background: rgba(36, 74, 135, 0.1);
  border: 1px solid var(--border-primary);
  color: var(--primary-blue);
}

.wf-icon-box.gold {
  background: var(--accent-gold);
  color: var(--text-dark);
}

.wf-icon-box.green {
  background: rgba(25, 169, 116, 0.15);
  border: 1px solid var(--success-green);
  color: var(--success-green);
}

.wf-step-text strong { display: block; font-size: 13px; color: var(--text-dark); }
.wf-step-text small { font-size: 11px; color: var(--text-muted); }

.wf-arrow {
  text-align: center;
  color: var(--text-dim);
  font-size: 12px;
  margin: -4px 0;
}

.wf-step.active-step {
  border-color: var(--accent-gold);
  background: #FFFFFF;
  box-shadow: 0 4px 15px rgba(245, 195, 68, 0.25);
}

.pulse-ring {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border: 1.5px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.02); opacity: 0; }
}

/* 4.2. TIME SAVING COUNTER WIDGET */
.time-counter-widget {
  background: #F5F8FC;
  border: 1.5px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.tc-item { text-align: center; }
.tc-num { font-size: 26px; font-weight: 800; display: block; line-height: 1; }
.tc-num.text-muted { color: var(--text-dim); }
.tc-num.text-gold { color: #B88200; }
.tc-label { font-size: 11px; color: var(--text-muted); }

.tc-badge-gold {
  background: var(--accent-gold);
  color: var(--text-dark);
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   LIVE IMPACT STATS BAR (KHỐI NỀN SÁNG ĐAN XEN)
   ========================================================================== */
.stats-counter-bar {
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  padding: 50px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
  transition: all 0.25s ease;
}

.stat-box:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  background: #FFFFFF;
  box-shadow: 0 10px 30px rgba(36, 74, 135, 0.08);
}

.stat-icon,
.stat-icon-badge {
  width: auto;
  height: auto;
  margin: 0 auto 14px;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px !important;
  line-height: 1;
  transition: transform 0.25s ease;
}

.stat-icon i,
.stat-icon-badge i {
  font-size: 38px !important;
  display: inline-block;
  line-height: 1;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.stat-icon.stat-icon-time i,
.stat-icon-time i,
.stat-icon .text-orange {
  color: var(--accent-orange, #FF9F1C) !important;
}

.stat-icon.stat-icon-speed i,
.stat-icon-speed i,
.stat-icon .text-primary {
  color: var(--primary-blue) !important;
}

.stat-icon.stat-icon-process i,
.stat-icon-process i,
.stat-icon .text-cyan {
  color: var(--accent-cyan, #00C2FF) !important;
}

.stat-icon.stat-icon-accuracy i,
.stat-icon-accuracy i {
  color: var(--accent-orange, #FF9F1C) !important;
}

.stat-box:hover .stat-icon,
.stat-box:hover .stat-icon-badge,
.stat-box:hover .stat-icon i {
  transform: scale(1.16) translateY(-3px);
}

.stat-box:hover .stat-icon-time i {
  filter: drop-shadow(0 4px 14px rgba(255, 159, 28, 0.45));
}

.stat-box:hover .stat-icon-speed i {
  filter: drop-shadow(0 4px 14px rgba(36, 74, 135, 0.45));
}

.stat-box:hover .stat-icon-process i {
  filter: drop-shadow(0 4px 14px rgba(0, 194, 255, 0.45));
}

.stat-box:hover .stat-icon-accuracy i {
  filter: drop-shadow(0 4px 14px rgba(255, 159, 28, 0.45));
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1.1;
  display: inline-block;
  margin-bottom: 4px;
}

.stat-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.4;
  text-wrap: balance;
}

.stat-desc {
  display: block;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  text-wrap: balance;
}

/* ==========================================================================
   MÀN HÌNH 2: NỖI ĐAU VẬN HÀNH (KHỐI NỀN SÁNG ĐAN XEN)
   ========================================================================== */
.pain-section {
  padding: 90px 0;
  background-color: #F8FAFC;
}

.pain-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pain-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.pain-card:hover {
  border-color: var(--primary-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pain-card-wide {
  grid-column: span 4;
  display: flex;
  align-items: center;
  gap: 28px;
  background: #FFFFFF;
  border: 1.5px solid var(--accent-gold);
}

.pain-card-wide .pain-icon,
.pain-card-wide .illustrative-icon { margin-bottom: 0 !important; }

/* BIỂU TƯỢNG TỰ DO, KHÔNG NẰM TRONG Ô VUÔNG, PHÓNG TO X1.5 */
.pain-icon,
.pain-icon-box,
.illustrative-icon {
  width: auto !important;
  height: auto !important;
  margin-bottom: 18px !important;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-start;
  transition: transform 0.25s ease;
}

.pain-icon i,
.pain-icon-box i,
.illustrative-icon .main-icon {
  font-size: 38px !important;
  line-height: 1;
  display: inline-block;
}

.pain-card:hover .pain-icon,
.pain-card:hover .pain-icon-box,
.pain-card:hover .illustrative-icon {
  background: none !important;
  transform: scale(1.15) translateY(-3px);
}

.micro-badge,
.icon-inner-glow {
  display: none !important;
}

.pain-icon-repeat {
  color: var(--accent-orange, #FF9F1C); /* Cam thương hiệu */
}

.pain-icon-manager {
  color: var(--primary-blue); /* Xanh navy sâu người quản lý */
}

.pain-icon-scattered {
  color: var(--accent-cyan, #00C2FF); /* Xanh cyan thương hiệu */
}

.pain-icon-delay {
  color: var(--accent-orange, #FF9F1C); /* Cam thương hiệu cảnh báo chậm trễ (thay màu đỏ) */
}

.pain-icon-puzzle {
  color: var(--accent-gold); /* Vàng kim thương hiệu */
}

.pain-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.pain-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   MÀN HÌNH 3: BEFORE & AFTER SLIDER (KHỐI NỀN TỐI ĐAN XEN)
   ========================================================================== */
.transformation-section {
  padding: 90px 0;
  background-color: #071A33;
}

.transformation-section .sec-heading {
  color: #FFFFFF;
}

.transformation-section .sec-desc {
  color: #8A99AD;
}

.transformation-section .sub-tag {
  color: var(--accent-gold);
}

.ba-slider-wrapper {
  max-width: 960px;
  margin: 0 auto;
}

.ba-slider-container {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--accent-gold);
  user-select: none;
  cursor: ew-resize;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.ba-layer {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  padding: 48px 42px 30px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ba-before {
  background: #0B2244;
}

.ba-after {
  background: #122A4E;
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

.ba-badge {
  position: absolute;
  top: 24px;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.before-badge {
  left: 24px;
  background: #15325E;
  color: #E2E8F0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.after-badge {
  right: 24px;
  background: var(--accent-gold);
  color: var(--text-dark);
}

.ba-content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 38px;
  max-width: 860px;
  margin: 0 auto;
}

.ba-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ba-item i {
  font-size: 20px;
  margin-top: 3px;
}

.ba-before .ba-item i { color: var(--accent-orange, #FF9F1C); }
.ba-after .ba-item i { color: var(--accent-gold); }

.ba-item h4 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}

.ba-before .ba-item h4 { color: #FFFFFF; }
.ba-after .ba-item h4 { color: #FFFFFF; }

.ba-item p {
  font-size: 12.8px;
  line-height: 1.48;
}

.ba-before .ba-item p { color: #8A99AD; }
.ba-after .ba-item p { color: #CBD5E1; }

.ba-handle {
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 4px;
  transform: translateX(-50%);
  pointer-events: none;
}

.ba-handle-line {
  width: 100%; height: 100%;
  background: var(--accent-gold);
}

.ba-handle-button {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: var(--shadow-gold);
}

/* ==========================================================================
   MÀN HÌNH 4: QUY TRÌNH PACE
   ========================================================================== */
.process-section {
  padding: 90px 0;
  background-color: var(--bg-light);
}

.process-line-wrapper {
  position: relative;
  margin-top: 50px;
}

.gold-process-line {
  position: absolute;
  top: 45px;
  left: 5%;
  right: 5%;
  height: 3px;
  background: #E2E8F0;
  z-index: 1;
}

.gold-process-line::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: var(--line-progress, 30%);
  background: var(--accent-gold);
  box-shadow: 0 0 10px rgba(245, 195, 68, 0.6);
  transition: width 0.3s ease;
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.process-step-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 32px 20px;
  text-align: center;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.process-step-card:hover {
  border-color: var(--primary-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-num-badge {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 12px;
}

/* BIỂU TƯỢNG QUY TRÌNH PACE ĐỒNG BỘ: TỰ DO, KHÔNG NẰM TRONG Ô VUÔNG, PHÓNG TO X1.5 CHUẨN THƯƠNG HIỆU */
.step-icon {
  width: auto !important;
  height: auto !important;
  margin: 0 auto 16px !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.step-icon i {
  font-size: 38px !important;
  line-height: 1;
  display: inline-block;
}

.process-step-card:hover .step-icon {
  transform: scale(1.18);
}

.step-icon-diagnose,
.step-icon.primary {
  color: var(--primary-blue); /* #244A87 - Xanh navy thương hiệu */
}

.step-icon-simplify,
.step-icon.gold {
  color: var(--accent-orange, #FF9F1C); /* Cam thương hiệu chuẩn */
}

.step-icon-automate {
  color: var(--accent-cyan, #00C2FF); /* Xanh Cyan AI công nghệ chuẩn */
}

.step-icon-transfer,
.step-icon.green {
  color: var(--accent-gold); /* Vàng kim chuyển giao chuẩn thương hiệu (thay thế xanh lá) */
}

.step-code {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--primary-blue);
  display: block;
  margin-bottom: 8px;
}

.process-step-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.process-step-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   MÀN HÌNH 5: AI COMMAND CENTER (KHỐI NỀN TỐI ĐAN XEN)
   ========================================================================== */
.command-section {
  padding: 90px 0;
  background-color: #071A33;
}

.command-section .sec-heading {
  color: #FFFFFF;
}

.command-section .sec-desc {
  color: #8A99AD;
}

.command-section .sub-tag {
  color: var(--accent-gold);
}

.dashboard-mockup-card {
  background: #0B2244;
  border: 1px solid rgba(245, 195, 68, 0.3);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.dash-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 18px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.dash-brand {
  font-size: 15px;
  font-weight: 800;
  color: #FFFFFF;
}

.dash-status {
  font-size: 12px;
  color: var(--success-green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.status-live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success-green);
  box-shadow: 0 0 6px var(--success-green);
}

.dash-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.dash-metric-box {
  background: #112A52;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.m-title { font-size: 12px; color: #8A99AD; display: block; margin-bottom: 6px; font-weight: 600; }
.m-value { font-size: 28px; font-weight: 800; line-height: 1.1; margin-bottom: 6px; color: var(--accent-gold); }
.m-sub { font-size: 11px; display: inline-flex; align-items: center; gap: 4px; }

.dash-agents-table-box h4 {
  font-size: 14px;
  color: #FFFFFF;
  margin-bottom: 14px;
  font-weight: 800;
}

.dash-table-wrapper {
  overflow-x: auto;
  background: #0E2346;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.dash-table th {
  padding: 12px 14px;
  color: #FFFFFF;
  background: #15325E;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 700;
}

.dash-table td {
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #E2E8F0;
}

.pill-live {
  background: rgba(25, 169, 116, 0.15);
  color: #19A974;
  border: 1px solid rgba(25, 169, 116, 0.4);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
}

/* ==========================================================================
   MÀN HÌNH 6: CASE STUDY DOANH NGHIỆP TRIỂN KHAI (SLIDER 4 VIDEO DỌC)
   ========================================================================== */
.case-section {
  padding: 85px 0;
  background-color: #071A33;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0, 194, 255, 0.12);
  border-bottom: 1px solid rgba(0, 194, 255, 0.12);
}

.case-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 20px;
}

.case-title-box {
  max-width: 720px;
}

.case-review-subheading {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 6px 0;
}

.case-play-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #172033;
  border: 1.5px solid rgba(244, 199, 15, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #F4C70F;
  font-size: 13px;
  box-shadow: 0 0 14px rgba(244, 199, 15, 0.35);
}

.case-review-title {
  font-size: 26px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.3px;
}

.case-section .sec-heading {
  color: #FFFFFF;
  font-size: 32px;
  font-weight: 800;
  margin-top: 4px;
}

.case-section .sec-desc {
  color: #94A3B8;
  font-size: 15px;
  margin-top: 6px;
  line-height: 1.5;
}

/* Slider Navigation Controls */
.case-slider-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.slider-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(16, 42, 86, 0.7);
  border: 1.5px solid rgba(0, 194, 255, 0.4);
  color: #00C2FF;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.slider-arrow-btn:hover {
  background: #00C2FF;
  color: #071A33;
  border-color: #00C2FF;
  box-shadow: 0 0 18px rgba(0, 194, 255, 0.6);
  transform: scale(1.08);
}

.slider-arrow-btn:active {
  transform: scale(0.96);
}

.slider-page-indicator {
  font-size: 15px;
  font-weight: 700;
  color: #F4C70F;
  min-width: 55px;
  text-align: center;
  user-select: none;
}

/* Slider Track & Viewport */
.case-slider-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 18px;
  padding: 10px 0;
}

.case-slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.case-video-card-slide {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 0 10px;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .case-video-card-slide {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 8px;
  }
}

@media (max-width: 600px) {
  .case-video-card-slide {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 4px;
  }
}

.case-video-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #0A1C36;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  aspect-ratio: 9 / 16;
}

.case-video-card:hover {
  transform: translateY(-8px);
  border-color: #00C2FF;
  box-shadow: 0 18px 36px rgba(0, 194, 255, 0.3);
}

.case-video-poster-box {
  width: 100%;
  height: 100%;
  position: relative;
}

.case-video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.case-video-card:hover .case-video-thumb {
  transform: scale(1.03);
}

.case-video-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 26, 51, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.case-video-card:hover .case-video-hover-overlay {
  opacity: 1;
}

.case-video-play-pulse {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(244, 199, 15, 0.95);
  color: #071A33;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 24px rgba(244, 199, 15, 0.7);
  transform: scale(0.9);
  transition: transform 0.25s ease;
}

.case-video-card:hover .case-video-play-pulse {
  transform: scale(1.12);
}

/* Dots */
.case-slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.25s ease;
}

.slider-dot.active {
  width: 28px;
  border-radius: 6px;
  background: #F4C70F;
  box-shadow: 0 0 10px rgba(244, 199, 15, 0.5);
}

/* Video Modal */
.video-review-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.video-review-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 26, 51, 0.85);
  backdrop-filter: blur(8px);
}

.video-modal-content {
  position: relative;
  z-index: 2;
  background: #0A1C36;
  border: 1.5px solid rgba(0, 194, 255, 0.4);
  border-radius: 20px;
  padding: 24px;
  max-width: 440px;
  width: 90%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  text-align: center;
  color: #FFFFFF;
}

.video-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #FFFFFF;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.video-modal-close:hover {
  background: #FF9F1C;
  color: #071A33;
}

.video-modal-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #00C2FF;
  margin-bottom: 8px;
}

.video-modal-header h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #FFFFFF;
}

.video-modal-header p {
  font-size: 13px;
  color: #94A3B8;
  margin-bottom: 16px;
}

.video-modal-player {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 9 / 16;
  max-height: 480px;
  margin: 0 auto;
  border: 1px solid rgba(0, 194, 255, 0.3);
}

.video-mock-screen {
  width: 100%;
  height: 100%;
  position: relative;
}

.video-mock-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-mock-playing-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px;
  background: linear-gradient(to top, rgba(7, 26, 51, 0.95), transparent);
  font-size: 12px;
  color: #E2E8F0;
}

/* ==========================================================================
   MÀN HÌNH 7: CAM KẾT CHUYỂN GIAO (KHỐI NỀN TỐI ĐAN XEN)
   ========================================================================== */
.commitment-section {
  padding: 90px 0;
  background-color: #071A33;
}

.commitment-card {
  background: linear-gradient(135deg, #15325E 0%, #0B2244 100%);
  border: 1.5px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  color: #FFFFFF;
}

.commit-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(245, 195, 68, 0.15);
  border: 1.5px solid var(--accent-gold);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}

.commitment-card .sec-heading { color: #FFFFFF; }

.commit-desc {
  max-width: 760px;
  margin: 0 auto 36px;
  font-size: 15px;
  color: #E2E8F0;
  line-height: 1.7;
}

.commit-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.cf-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
}

.cf-item i { color: var(--accent-gold); font-size: 16px; }

/* ==========================================================================
   MÀN HÌNH 8: CTA ĐĂNG KÝ
   ========================================================================== */
.cta-section {
  padding: 90px 0;
  background-color: var(--bg-light);
}

.cta-card-wrapper {
  background: #FFFFFF;
  border: 2px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 15px 40px rgba(36, 74, 135, 0.1);
}

.cta-main-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.cta-sub-title { font-size: 14px; color: var(--text-muted); margin-bottom: 30px; }

.pace-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.f-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.f-group input, .f-group select {
  width: 100%;
  padding: 12px 16px;
  background: #F5F8FC;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  font-size: 14px;
  outline: none;
}

.f-group input:focus, .f-group select:focus {
  border-color: var(--primary-blue);
  background: #FFFFFF;
}

.form-note { font-size: 12px; color: var(--text-muted); }

/* Site Footer */
.site-footer {
  background: #071A33;
  color: #FFFFFF;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo-text { color: #FFFFFF; }
.footer-brand .logo-accent { color: var(--accent-gold); }
.footer-desc { font-size: 13px; color: #8A99AD; margin-top: 12px; }
.footer-links h4 { font-size: 14px; margin-bottom: 16px; color: var(--accent-gold); font-weight: 700; }
.footer-links p, .footer-links a { font-size: 13px; color: #8A99AD; margin-bottom: 8px; display: block; }
.footer-links a:hover { color: var(--accent-gold); }

.footer-bottom {
  font-size: 12px;
  color: #64748B;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
}

/* ==========================================================================
   FLOATING PACE AI CONSULTANT BOT (NỀN SÁNG CAO CẤP)
   ========================================================================== */
.pace-bot-wrapper {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* BUBBLE THÔNG BÁO GỌN GÀNG, KHÔNG CHE KHUẤT, GLASSMORPHISM TỐI ĐỒNG BỘ */
.pace-bot-bubble {
  background: rgba(7, 26, 51, 0.94);
  border: 1px solid rgba(245, 195, 68, 0.55);
  border-radius: 30px;
  padding: 6px 10px 6px 12px;
  max-width: 215px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 10px rgba(245, 195, 68, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: bounceBubble 3.5s infinite ease-in-out;
  cursor: pointer;
  transition: all 0.25s ease;
}

.pace-bot-bubble:hover {
  border-color: var(--accent-gold);
  background: rgba(13, 34, 64, 0.98);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 14px rgba(245, 195, 68, 0.3);
  transform: translateY(-2px);
}

@keyframes bounceBubble {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.bubble-content {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  white-space: nowrap;
}

.bubble-sparkle {
  color: var(--accent-gold);
  font-size: 11px;
  line-height: 1;
}

.bubble-cta-text {
  font-size: 12px;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1;
  margin: 0;
}

.bubble-arrow {
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.pace-bot-bubble:hover .bubble-arrow {
  transform: translateX(2px);
}

.bubble-close {
  background: none;
  border: none;
  color: #8A99AD;
  font-size: 16px;
  cursor: pointer;
  line-height: 1;
  padding: 0 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.bubble-close:hover { 
  color: #FFFFFF; 
}

.pace-bot-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-blue);
  border: 2px solid var(--accent-gold);
  padding: 8px 18px 8px 10px;
  border-radius: 40px;
  color: #FFFFFF;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  position: relative;
  transition: all 0.25s ease;
}

.pace-bot-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(245, 195, 68, 0.5);
}

.bot-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #07142E;
  border: 1.5px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  flex-shrink: 0;
}

.bot-trigger-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  padding: 1px;
  display: block;
}

.bot-status-dot {
  position: absolute;
  top: 0; right: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--success-green);
  border: 2px solid var(--primary-blue);
}

.bot-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
}

/* Chat Window - Khung chat hội thoại phía bên phải, nhỏ gọn */
.pace-chat-window {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 530px;
  max-height: calc(100vh - 80px);
  background: #FFFFFF;
  border: 1.5px solid rgba(56, 189, 248, 0.45);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(11, 27, 60, 0.38), 0 0 25px rgba(56, 189, 248, 0.18);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pace-chat-window.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chat-header {
  background: var(--primary-blue);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #FFFFFF;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #07142E;
  border: 2px solid var(--accent-gold);
  box-shadow: 0 0 10px rgba(244, 199, 15, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  flex-shrink: 0;
}

.chat-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  padding: 1px;
  display: block;
}

.avatar-status {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success-green);
  border: 2px solid #07142E;
  z-index: 2;
}

.chat-header h4 {
  font-size: 14px;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.2;
}

.chat-status-text {
  font-size: 11px;
  color: var(--accent-gold);
}

.chat-header-actions { display: flex; gap: 8px; }

.chat-action-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #FFFFFF;
  width: 28px; height: 28px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.chat-action-btn:hover { background: rgba(255, 255, 255, 0.3); }

.chat-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #F5F8FC;
}

.chat-body::-webkit-scrollbar { width: 5px; }
.chat-body::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 3px; }

.chat-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 90%;
}

.chat-msg.bot-msg { align-self: flex-start; }
.chat-msg.user-msg {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #07142E;
  border: 1.5px solid rgba(0, 194, 255, 0.5);
  box-shadow: 0 2px 8px rgba(0, 59, 159, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: visible;
}

.msg-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  padding: 1px;
  display: block;
}

.msg-bubble {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
}

.bot-msg .msg-bubble {
  background: #FFFFFF;
  color: var(--text-dark);
  border: 1px solid var(--card-border);
  border-top-left-radius: 2px;
  box-shadow: var(--shadow-sm);
}

.user-msg .msg-bubble {
  background: var(--primary-blue);
  color: #FFFFFF;
  border-top-right-radius: 2px;
}

.msg-sub-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
}

.chat-quick-suggestions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.quick-chip {
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  color: var(--text-dark);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.quick-chip:hover {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #FFFFFF;
}

.quick-chip:hover i { color: var(--accent-gold); }

.chat-footer {
  padding: 12px;
  background: #FFFFFF;
  border-top: 1px solid var(--card-border);
  display: flex;
  gap: 8px;
}

.chat-footer input {
  flex: 1;
  background: #F5F8FC;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-dark);
  font-size: 13px;
  outline: none;
}

.chat-footer input:focus {
  border-color: var(--primary-blue);
  background: #FFFFFF;
}

.chat-send-btn {
  background: var(--accent-gold);
  border: none;
  color: var(--text-dark);
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
}

.chat-send-btn:hover { background: #E5B334; }

.typing-dots {
  display: inline-flex;
  gap: 4px;
  padding: 4px 0;
}

.typing-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary-blue);
  animation: blinkDot 1.4s infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes blinkDot {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1.1); }
}

/* Modal */
.modal-backdrop {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(7, 26, 51, 0.6);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: all 0.3s;
}

.modal-backdrop.active { opacity: 1; visibility: visible; }

.modal-card {
  background: #FFFFFF;
  border: 2px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  padding: 40px; width: 480px; max-width: 90%;
  position: relative; box-shadow: 0 20px 50px rgba(36, 74, 135, 0.2);
}

.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; color: var(--text-muted); font-size: 24px; cursor: pointer;
}

.modal-icon-success { font-size: 56px; color: var(--accent-gold); margin-bottom: 16px; }

/* Responsive */
@media (max-width: 992px) {
  .hero-grid, .ba-content-grid, .case-grid, .footer-grid, .pace-form .form-grid { grid-template-columns: 1fr; }
  .pain-cards-grid, .process-steps-grid, .dash-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-card-wide { grid-column: span 2; }
  .gold-process-line { display: none; }
  .nav-menu { display: none; }
  .hero-robot-container { min-width: 100%; max-width: 100%; height: 460px; }
}

@media (max-width: 576px) {
  .pain-cards-grid, .process-steps-grid, .dash-metrics-grid, .stats-grid { grid-template-columns: 1fr; }
  .pain-card-wide { grid-column: span 1; }
  .hero-title { font-size: 30px; }
  .sec-heading { font-size: 24px; }
  .hero-robot-container { height: 360px; }
  .audit-options { grid-template-columns: 1fr; }
  .pace-chat-window { bottom: 12px; right: 12px; width: calc(100vw - 24px); height: 85vh; }
  .pace-bot-wrapper { bottom: 16px; right: 16px; }
}


/* ==========================================================================
   POPUP GẦN ROBOT: "Hãy nói chuyện với tôi" (BONG BÓNG TRÒN / THOUGHT BUBBLE)
   - Thiết kế dạng bong bóng bo tròn mềm mại chuẩn hình vẽ tay của người dùng
   - Đặt ở trên vai phải / cạnh đầu robot
   - Tốc độ hiển thị siêu nhanh 0.10s snappy & pop-in sinh động
   ========================================================================== */
.robot-speech-popup {
  position: absolute;
  top: 10px;
  left: calc(50% + 80px);
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: rgba(7, 20, 46, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.6px solid rgba(56, 189, 248, 0.75);
  border-radius: 36px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 28px rgba(56, 189, 248, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px) scale(0.85);
  transition: opacity 0.10s ease-out, transform 0.12s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.10s;
  pointer-events: none;
  cursor: pointer;
  white-space: nowrap;
}

.hero-robot-container:hover .robot-speech-popup,
.robot-speech-popup:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.robot-speech-popup:hover {
  border-color: #38bdf8;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65), 0 0 34px rgba(56, 189, 248, 0.65);
  transform: translateY(-2px) scale(1.03);
}

.robot-speech-popup .popup-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  display: inline-block;
  animation: pulseDot 1.8s infinite;
}

.robot-speech-popup .popup-text {
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* 2 chấm bong bóng tròn (Thought bubble dots) theo hình vẽ của người dùng */
.robot-speech-popup .bubble-dot-lg {
  position: absolute;
  bottom: -10px;
  left: 12px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(7, 20, 46, 0.95);
  border: 1.6px solid rgba(56, 189, 248, 0.75);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

.robot-speech-popup .bubble-dot-sm {
  position: absolute;
  bottom: -20px;
  left: 0px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(7, 20, 46, 0.95);
  border: 1.6px solid rgba(56, 189, 248, 0.75);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
}


/* News Link in Header */
.nav-item-news {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.badge-new-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-gold);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px rgba(245, 195, 68, 0.9);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
}
