/* ============================================================
   components.css – Buttons, badges, cards tái sử dụng
   ============================================================ */

/* ===== BUTTONS BASE ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
  border: 1px solid transparent;
  line-height: 1.2;
}

.btn svg {
  flex-shrink: 0;
}

/* ----- Call Button (Nút Gọi Chính) ----- */
.btn-call {
  background: var(--brand-red);
  color: var(--text-white);
  box-shadow: 0 4px 16px rgba(200, 16, 46, 0.28);
}

.btn-call:hover {
  background: var(--brand-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 16, 46, 0.38);
  color: var(--text-white);
}

.btn-call:active {
  transform: translateY(0);
}

/* Hiệu ứng pulse viền nút gọi */
.btn-pulse {
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--brand-red);
  animation: pulse-ring 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
  opacity: 0.7;
}

/* ----- Zalo Button ----- */
.btn-zalo {
  background: #0068FF;
  color: var(--text-white);
  box-shadow: 0 4px 16px rgba(0, 104, 255, 0.24);
}

.btn-zalo:hover {
  background: #0052CC;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 104, 255, 0.35);
  color: var(--text-white);
}

.btn-zalo:active {
  transform: translateY(0);
}

/* Nút dạng outline trên nền tối */
.btn-zalo-outline {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-zalo-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  color: var(--text-white);
}

/* ----- Size Variants ----- */
.btn-call-lg,
.btn-zalo-lg {
  padding: 16px 36px;
  font-size: 16px;
  letter-spacing: 0.2px;
}

.btn-call-inline {
  margin-top: 24px;
  font-size: 15px;
  padding: 13px 28px;
}

/* ===== SMALL BUTTONS (Product cards, Project overlay) ===== */
.btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-sm-primary {
  background: var(--brand-navy);
  color: var(--text-white);
}

.btn-sm-primary:hover {
  background: var(--brand-navy-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10, 37, 107, 0.25);
}

.btn-sm-outline {
  background: var(--bg-white);
  color: var(--text-secondary);
  border: 1px solid var(--border-medium);
}

.btn-sm-outline:hover {
  background: var(--bg-subtle);
  border-color: var(--brand-navy);
  color: var(--brand-navy);
}

/* Project overlay call button */
.btn-project-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-navy);
  color: var(--text-white);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: all var(--transition);
}

.btn-project-call:hover {
  background: var(--brand-red);
  transform: scale(1.04);
}

/* ===== LOGO COMPONENT ===== */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--transition);
}

.logo:hover {
  opacity: 0.9;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ===== TRUST BAR ===== */
.trust-bar-top {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  padding: 7px 18px;
  margin-bottom: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.trust-bar-top strong {
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-weight: 800;
}

.trust-divider {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 300;
}

/* ===== CHECK ICON ===== */
.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-subtle);
  color: var(--green);
  border: 1px solid var(--green-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 3px;
}
