/* ============================================================
   style.css – Giao diện chính Bảo Bảo Verify
   Tác giả: Bảo Bảo Verify Dev Team
   Cập nhật: 2026
============================================================ */


/* ============================================================
   1. BIẾN CSS – Hệ thống màu sắc & kích thước
============================================================ */
:root {
  /* === Màu chính === */
  --color-navy:        #1B3F6E;   /* Xanh navy chủ đạo */
  --color-navy-dark:   #152F53;   /* Xanh navy đậm */
  --color-navy-light:  #EBF3FB;   /* Xanh navy nhạt */
  --color-red:         #C0392B;   /* Đỏ accent */
  --color-red-light:   #FCEBEB;   /* Đỏ nhạt */
  --color-gold:        #EF9F27;   /* Vàng/Amber nhấn */
  --color-gold-light:  #FAEEDA;   /* Vàng nhạt */
  --color-green:       #1D6A3A;   /* Xanh lá */
  --color-green-light: #EAF3DE;   /* Xanh lá nhạt */

  /* === Màu trung tính === */
  --color-white:   #FFFFFF;
  --color-light:   #F5F8FC;
  --color-grey:    #E8EEF5;
  --color-text:    #1A2E45;
  --color-muted:   #6B7B8F;
  --color-border:  #DCE4EF;

  /* === Font === */
  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Open Sans', sans-serif;

  /* === Kích thước === */
  --container-width: 1200px;
  --container-padding: 0 20px;
  --border-radius-sm: 6px;
  --border-radius-md: 10px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;

/* === Đổ bóng === */
  --shadow-sm:  0 4px 12px rgba(27,63,110,0.04);
  --shadow-md:  0 12px 32px rgba(27,63,110,0.08);
  --shadow-lg:  0 20px 48px rgba(27,63,110,0.12);

  /* === Chuyển động === */
  --transition: 0.3s ease;

  /* === Header === */
  --header-height: 70px;
}


/* ============================================================
   2. RESET & BASE
============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: var(--color-navy);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-red);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

input, textarea, select {
  font-family: var(--font-body);
}


/* ============================================================
   3. TIỆN ÍCH – Helper classes
============================================================ */

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* Section spacing */
.section {
  padding: 80px 0;
}

.section--gray {
  background: var(--color-light);
}

.section--dark {
  background: var(--color-navy);
}

/* Section header */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header--light .section-title,
.section-header--light .section-subtitle {
  color: var(--color-white);
}

.section-tag {
  display: inline-block;
  background: var(--color-navy-light);
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.section-tag--gold {
  background: rgba(239,159,39,0.15);
  color: var(--color-gold);
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--color-navy);
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--color-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}


/* ============================================================
   4. NÚTBẤM (Button)
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: var(--border-radius-md);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
}

/* Kích thước */
.btn--sm  { font-size: 13px; padding: 8px 18px; }
.btn--md  { font-size: 15px; padding: 12px 24px; }
.btn--lg  { font-size: 15px; padding: 14px 28px; }
.btn--full { width: 100%; }

/* Màu sắc */
.btn--primary {
  background: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}
.btn--primary:hover {
  background: #a93226;
  border-color: #a93226;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192,57,43,0.35);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-navy);
}
.btn--outline:hover {
  background: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn--outline-white:hover {
  background: var(--color-white);
  color: var(--color-navy);
}


/* ============================================================
   5. HEADER
============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--color-navy);
  border-bottom: 3px solid var(--color-gold);
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}

/* Header cuộn – trong suốt một chút khi ở đầu trang */
.header.header--scrolled {
  background: rgba(27, 63, 110, 0.98);
  backdrop-filter: blur(10px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.header__logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  color: var(--color-white);
  letter-spacing: 0.5px;
}

/* Navigation */
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13.5px;
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition);
  text-decoration: none;
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-white);
  background: rgba(255,255,255,0.12);
}

/* CTA trên header */
.header__cta {
  flex-shrink: 0;
}

/* Hamburger button (chỉ hiện trên mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: background var(--transition);
}

.hamburger:hover {
  background: rgba(255,255,255,0.2);
}

.hamburger__line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Hamburger active state */
.hamburger.is-active .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-active .hamburger__line:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ============================================================
   6. HERO SECTION
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 60%, #0d2440 100%);
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(239,159,39,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(192,57,43,0.06) 0%, transparent 50%);
  pointer-events: none;
}

/* Hiệu ứng chấm trang trí */
.hero::before {
  content: '';
  position: absolute;
  right: -60px;
  top: 10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(239,159,39,0.05);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 20px;
  position: relative;
  z-index: 1;
}

/* Nội dung bên trái */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239,159,39,0.15);
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(239,159,39,0.3);
  margin-bottom: 20px;
}

.hero__title {
  font-size: 42px; /* Giảm nhẹ kích thước để sang hơn */
  font-weight: 800;
  line-height: 1.3; /* Tăng khoảng cách dòng để không bị dính chữ khi xuống dòng */
  margin-bottom: 24px;
  color: var(--color-white); /* Bạn có thể đổi mã màu trực tiếp tại đây */
  max-width: 900px; /* Giới hạn độ rộng để tiêu đề xuống dòng tự nhiên */
  margin-left: auto;
  margin-right: auto;
}

.hero__title-highlight {
  color: var(--color-gold);
}

.hero__subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero__subtitle strong {
  color: var(--color-gold);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Số liệu */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 24px;
}

.hero__stat:first-child {
  padding-left: 0;
}

.hero__stat strong {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 28px;
  color: var(--color-gold);
  line-height: 1;
}

.hero__stat span {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

/* Visual bên phải */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__phone-mockup {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.hero__phone-mockup img {
  width: 100%;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.4));
}


/* ============================================================
   7. NỖI ĐAU (Pain Section)
============================================================ */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pain-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(27, 63, 110, 0.04); /* Viền mờ tinh tế */
  padding: 32px 24px; /* Tăng không gian thở */
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
  position: relative;
  z-index: 1;
  overflow: hidden;
/* Thêm 3 dòng dưới để làm nền cho LED */
  position: relative;
  z-index: 1;
  overflow: hidden;
}

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

.pain-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.pain-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.pain-card__desc {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
}


/* ============================================================
   8. TÍNH NĂNG (Features)
============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(27, 63, 110, 0.04);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  z-index: 1;
  overflow: hidden;
/* Thêm 3 dòng dưới để làm nền cho LED */
  position: relative;
  z-index: 1;
  overflow: hidden;
}

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

.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--border-radius-md);
  background: var(--color-navy-light);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.feature-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.feature-card__desc {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.feature-card__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feature-card__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--color-text);
}

.feature-card__list li .fa-check {
  color: var(--color-green);
  font-size: 11px;
  flex-shrink: 0;
}


/* ============================================================
   9. QUY TRÌNH (Process)
============================================================ */
.process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 60px;
}

.process-step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 32px 24px;
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.process-step__number {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 12px;
  color: var(--color-gold);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.process-step__icon {
  width: 64px;
  height: 64px;
  background: var(--color-navy-light);
  color: var(--color-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 16px;
}

.process-step__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.process-step__desc {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
}

.process-step__arrow {
  font-size: 22px;
  color: var(--color-gold);
  padding: 0 16px;
  flex-shrink: 0;
}

/* Demo quét QR */
.process-demo {
  display: flex;
  align-items: center;
  gap: 60px;
  background: var(--color-navy);
  border-radius: var(--border-radius-xl);
  padding: 48px;
}

.process-demo__qr {
  text-align: center;
  flex-shrink: 0;
}

.process-demo__qr-box {
  width: 160px;
  height: 160px;
  background: var(--color-white);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin: 0 auto 12px;
  box-shadow: var(--shadow-md);
}

.process-demo__qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.process-demo__label {
  font-size: 13px;
  color: var(--color-gold);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

.process-demo__text h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  color: var(--color-white);
  margin-bottom: 12px;
}

.process-demo__text p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
  font-size: 15px;
}

.process-demo__text ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.process-demo__text ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
}

.process-demo__text ul li .fa-check {
  color: var(--color-gold);
}


/* ============================================================
   10. NGÀNH HÀNG (Industries)
============================================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.industry-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  background: var(--color-white);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-border);
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  color: var(--color-navy);
  transition: all var(--transition);
  cursor: pointer;
}

.industry-item:hover {
  border-color: var(--color-navy);
  box-shadow: var(--shadow-lg);
  transform: translateY(-12px) scale(1.06);
}

.industry-item__icon {
  width: 52px;
  height: 52px;
  background: var(--color-navy-light);
  color: var(--color-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}


/* ============================================================
   11. BẢNG GIÁ (Pricing)
============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 48px;
}

.pricing-card {
  background: #EBF3FB;
  border-radius: var(--border-radius-xl);
  border: 1px solid rgba(27, 63, 110, 0.08); /* Viền nhạt hơn */
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  z-index: 1;
  overflow: hidden;
/* Thêm 3 dòng dưới để làm nền cho LED */
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.pricing-card:hover {
  border-color: var(--color-navy);
  box-shadow: var(--shadow-md);
}

/* Card nổi bật */
.pricing-card--featured {
  border-color: var(--color-navy);
  background: var(--color-navy);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

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

.pricing-card__popular-badge {
  position: absolute;
  top: 0; /* Ép sát mí trên cùng của khung thẻ */
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-gold);
  color: #412402;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 0 0 10px 10px; /* Bỏ bo góc phần trên, giữ bo góc phần dưới */
  white-space: nowrap;
}

.pricing-card__header {
  margin-bottom: 20px;
}

.pricing-card__badge {
  width: 48px;
  height: 48px;
  background: var(--color-navy-light);
  color: var(--color-navy);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.pricing-card--featured .pricing-card__badge {
  background: rgba(255,255,255,0.15);
  color: var(--color-white);
}

.pricing-card__name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.pricing-card--featured .pricing-card__name {
  color: var(--color-white);
}

.pricing-card__tagline {
  font-size: 13px;
  color: var(--color-muted);
}

.pricing-card--featured .pricing-card__tagline {
  color: rgba(255,255,255,0.7);
}

.pricing-card__price {
  margin-bottom: 12px;
}

.pricing-card__amount {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 28px;
  color: var(--color-red);
}

.pricing-card--featured .pricing-card__amount {
  color: var(--color-gold);
}

.pricing-card__unit {
  font-size: 12px;
  color: var(--color-muted);
  display: block;
  margin-top: 2px;
}

.pricing-card--featured .pricing-card__unit {
  color: rgba(255,255,255,0.6);
}

.pricing-card__desc {
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
  line-height: 1.6;
}

.pricing-card--featured .pricing-card__desc {
  color: rgba(255,255,255,0.7);
  border-bottom-color: rgba(255,255,255,0.15);
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  margin-bottom: 24px;
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: var(--color-text);
  line-height: 1.5;
}

.pricing-card--featured .pricing-card__features li {
  color: rgba(255,255,255,0.9);
}

.pricing-card__features li .fa-check {
  color: var(--color-green);
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 3px;
}

.pricing-card--featured .pricing-card__features li .fa-check {
  color: var(--color-gold);
}

/* Combo pricing */
.pricing-combo {
  background: var(--color-navy-light);
  border-radius: var(--border-radius-lg);
  padding: 32px 36px;
  border: 1px solid var(--color-border);
}

.pricing-combo__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--color-navy);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-combo__title .fa-tags {
  color: var(--color-gold);
}

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

.pricing-combo__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  background: var(--color-white);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-border);
  text-align: center;
}

.pricing-combo__item strong {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  color: var(--color-navy);
}

.pricing-combo__item span {
  font-size: 12px;
  color: var(--color-muted);
  line-height: 1.4;
}


/* ============================================================
   12. CAM KẾT (Promise)
============================================================ */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.promise-item {
  text-align: center;
  padding: 28px 20px;
}

.promise-item__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 18px;
}

.promise-item h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-white);
  margin-bottom: 10px;
}

.promise-item p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
}


/* ============================================================
   13. LIÊN HỆ (Contact)
============================================================ */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

/* Thông tin liên hệ */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  background: var(--color-navy-light);
  color: var(--color-navy);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-info__item strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.contact-info__item span,
.contact-info__item a {
  display: block;
  font-size: 14px;
  color: var(--color-muted);
}

.contact-info__item a:hover {
  color: var(--color-red);
}

.contact-social {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.contact-social__link {
  width: 40px;
  height: 40px;
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all var(--transition);
}

.contact-social__link:hover {
  background: var(--color-red);
  color: var(--color-white);
  transform: translateY(-3px);
}

/* Form liên hệ */
.contact-form-wrapper {
  background: var(--color-white);
  border-radius: var(--border-radius-xl);
  border: 1px solid var(--color-border);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--color-navy);
  margin-bottom: 7px;
}

.required {
  color: var(--color-red);
}

.form-input {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--border-radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(27,63,110,0.1);
}

.form-input.is-error {
  border-color: var(--color-red);
}

.form-input::placeholder {
  color: #b0bec5;
}

.form-select {
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-error {
  display: block;
  font-size: 12px;
  color: var(--color-red);
  margin-top: 5px;
  min-height: 16px;
}

.form-message {
  padding: 12px 16px;
  border-radius: var(--border-radius-md);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  display: none;
}

.form-message.success {
  background: var(--color-green-light);
  color: var(--color-green);
  border: 1px solid #9FE1CB;
  display: block;
}

.form-message.error {
  background: var(--color-red-light);
  color: var(--color-red);
  border: 1px solid #F7C1C1;
  display: block;
}

.form-note {
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 12px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.5;
}

.form-note a {
  color: var(--color-navy);
  font-weight: 600;
}


/* ============================================================
   14. FOOTER
============================================================ */
.footer {
  background: var(--color-navy-dark);
  padding-top: 60px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__col-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-white);
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 14px;
}

.footer__logo img {
  height: 36px;
  width: auto;
}

.footer__logo span {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  color: var(--color-white);
  letter-spacing: 0.5px;
}

.footer__brand-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Logo Bộ Công Thương */
.footer__bct {
  margin-top: 16px;
}

.footer__bct-logo {
  height: 48px;
  width: auto;
  opacity: 0.9;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__links a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
  cursor: pointer;
}

.footer__links a:hover {
  color: var(--color-gold);
}

.footer__address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer__address p {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.footer__address strong {
  color: rgba(255,255,255,0.9);
  font-size: 12.5px;
}

.footer__address a {
  color: rgba(255,255,255,0.65);
}

.footer__address a:hover {
  color: var(--color-gold);
}

.footer__address .fa-phone,
.footer__address .fa-envelope,
.footer__address .fa-globe {
  color: var(--color-gold);
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Footer bottom */
.footer__bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copyright {
  font-size: 12.5px;
  color: rgba(255,255,255,0.45);
}

.footer__bottom-links {
  display: flex;
  gap: 20px;
}

.footer__bottom-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}

.footer__bottom-links a:hover {
  color: var(--color-gold);
}


/* ============================================================
   15. MODAL (Cửa sổ chính sách)
============================================================ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 50, 0.75);
  cursor: pointer;
}

.modal__content {
  position: relative;
  z-index: 1;
  background: var(--color-white);
  border-radius: var(--border-radius-xl);
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.modal__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--color-navy);
}

.modal__close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-light);
  color: var(--color-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.modal__close:hover {
  background: var(--color-red-light);
  color: var(--color-red);
}

.modal__body {
  padding: 24px 28px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-text);
}

.modal__body h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--color-navy);
  margin: 20px 0 8px;
}

.modal__body h3:first-child {
  margin-top: 0;
}

.modal__body p {
  margin-bottom: 10px;
  color: var(--color-muted);
}

.modal__body ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--color-muted);
}

.modal__body ul li {
  margin-bottom: 5px;
}

.modal__body a {
  color: var(--color-navy);
  font-weight: 600;
}


/* ============================================================
   16. NÚT CUỘN LÊN ĐẦU (Back to top)
============================================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 46px;
  height: 46px;
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all var(--transition);
  border: 2px solid var(--color-gold);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  transform: translateY(-4px);
}


/* ============================================================
   17. RESPONSIVE – Mobile & Tablet
============================================================ */

/* Tablet (≤ 992px) */
@media (max-width: 992px) {
  :root { --header-height: 64px; }

  .section { padding: 60px 0; }

  /* Header */
  .hamburger { display: flex; }
  .header__cta { display: none; }

  /* Nav – mobile drawer */
  .nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-navy-dark);
    padding: 20px;
    border-bottom: 3px solid var(--color-gold);
    z-index: 999;
  }

  .nav.is-open {
    display: block;
    animation: navSlideDown 0.3s ease;
  }

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

  .nav__list {
    flex-direction: column;
    gap: 4px;
  }

  .nav__link {
    display: block;
    padding: 12px 16px;
    font-size: 15px;
  }

  /* Hero */
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 20px;
    gap: 40px;
  }

  .hero__subtitle { margin: 0 auto 36px; }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__visual { display: none; }

  /* Pain */
  .pain-grid { grid-template-columns: 1fr 1fr; }

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

  /* Process */
  .process-steps { flex-direction: column; align-items: stretch; }
  .process-step { max-width: 100%; }
  .process-step__arrow { text-align: center; padding: 8px 0; }
  .process-step__arrow .fa-chevron-right { transform: rotate(90deg); }

  .process-demo {
    flex-direction: column;
    text-align: center;
    gap: 36px;
    padding: 36px 24px;
  }

  /* Industries */
  .industries-grid { grid-template-columns: repeat(3, 1fr); }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .pricing-card--featured { transform: none; }
  .pricing-card--featured:hover { transform: translateY(-5px); }

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

  /* Promise */
  .promise-grid { grid-template-columns: 1fr 1fr; gap: 20px; }

  /* Contact */
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }

  /* Footer */
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}


/* Mobile (≤ 576px) */
@media (max-width: 576px) {
  .section { padding: 56px 0; }
  .section-header { margin-bottom: 40px; padding: 0 10px; }
  .section-title { font-size: 26px; line-height: 1.3; }

  .hero__title { font-size: 32px; margin-bottom: 16px; }
  .hero__subtitle { font-size: 15px; margin-bottom: 28px; padding: 0 10px; }
  .hero__actions { flex-direction: column; width: 100%; gap: 12px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  
  .hero__stats { flex-wrap: wrap; gap: 24px; justify-content: center; margin-top: 10px; }
  .hero__stat { padding: 0; min-width: 100px; }
  .hero__stat-divider { display: none; }

  .pain-grid { grid-template-columns: 1fr; gap: 16px; }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  
  .process-step { padding: 24px 20px; }
  .process-demo { padding: 32px 20px; gap: 24px; }
  
  .industries-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .industry-item { padding: 20px 12px; font-size: 12px; }

  .pricing-grid { grid-template-columns: 1fr; gap: 24px; }
  .pricing-card { padding: 32px 24px; }
  .pricing-combo { padding: 24px 20px; }
  .pricing-combo__grid { grid-template-columns: 1fr; gap: 12px; }

  .promise-grid { grid-template-columns: 1fr; gap: 24px; }

  .contact-inner { gap: 32px; }
  .contact-form-wrapper { padding: 28px 20px; border-radius: var(--border-radius-lg); }

.footer {
    padding-bottom: 260px !important; /* Tăng hẳn lên 150px để trừ hao các thanh bar điện thoại */
    display: block;
    height: auto;
  }

  .footer__top { 
    grid-template-columns: 1fr; 
    gap: 40px; 
    text-align: center;
  }

  .footer__bottom { 
    display: flex !important; /* Ép buộc dùng flexbox */
    flex-direction: column-reverse !important; 
    gap: 20px; 
    padding: 40px 0 !important; 
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 30px;
  }
  .footer__bottom-links { 
    display: flex;
    flex-direction: column; /* Xếp các link theo hàng dọc cho dễ bấm trên điện thoại */
    align-items: center;
    gap: 15px; 
  }
  .footer__bottom-links a {
    display: block;
    padding: 5px 0;
  }

  .modal__content { max-height: 85vh; margin: 16px; border-radius: var(--border-radius-lg); }
  .modal__header { padding: 16px 20px; }
  .modal__body { padding: 20px; font-size: 13.5px; }

  .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}

/* ============================================================
   18. TIỆN ÍCH PHỤ
============================================================ */

/* Ẩn scrollbar trong modal nhưng vẫn cuộn được */
.modal__body::-webkit-scrollbar { width: 6px; }
.modal__body::-webkit-scrollbar-track { background: var(--color-light); }
.modal__body::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 3px;
}

/* Ngăn cuộn body khi modal mở */
body.modal-open { overflow: hidden; }

/* Highlight nav link hiện tại */
.nav__link.active {
  color: var(--color-gold) !important;
  background: rgba(239,159,39,0.1);
}

/* Loading spinner cho nút submit */
.btn .fa-spinner {
  animation: spin 1s linear infinite;
}

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

/* --- HIỆU ỨNG VỆT SÁNG LED CHẠY QUANH VIỀN (ĐÃ TỐI ƯU MOBILE & WEBKIT) --- */
@-webkit-keyframes led-rotate {
  0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}
@keyframes led-rotate {
  0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

/* 1. Lớp đèn LED xoay ở dưới */
.pain-card::before, .feature-card::before, .pricing-card::before {
  content: '';
  position: absolute;
  z-index: -2;
  left: -50%;
  top: -50%;
  width: 200%;
  height: 200%;
  background: -webkit-conic-gradient(transparent, #00f2fe, #EF9F27, #ff00ff, #00f2fe, transparent 30%);
  background: conic-gradient(transparent, #00f2fe, #EF9F27, #ff00ff, #00f2fe, transparent 30%);
  -webkit-animation: led-rotate 3s linear infinite;
  animation: led-rotate 3s linear infinite;
  opacity: 0;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}

/* 2. Lớp mặt nạ */
.pain-card::after, .feature-card::after, .pricing-card::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 2px;
  background: inherit;
  border-radius: inherit;
}

/* 3. Hiển thị khi Hover trên máy tính */
@media (min-width: 993px) {
  .pain-card:hover::before, .feature-card:hover::before, .pricing-card:hover::before {
    opacity: 1;
  }
}

/* 4. TỰ ĐỘNG HIỂN THỊ TRÊN MOBILE (Vì mobile không có Hover) */
@media (max-width: 992px) {
  .pain-card::before, .feature-card::before, .pricing-card::before {
    opacity: 1;
  }
}

