/* ==========================================================================
   THOITIETHCM — GENERIC CONTENT PAGE COMPONENTS (Oceanic Blue Glass)
   Prefix class: hcm-  (dung chung he token mau voi trang chu, xem
   thoitiet-modern.css phan "NEW HOMEPAGE REDESIGN" cho --hcm-* variables)
   Dung cho cac trang noi dung dang (Gioi thieu, Lien he, ...) khi lan giao
   dien moi sang cac trang con.
   ========================================================================== */

:root {
  --hcm-ink: #0f172a;
  --hcm-ink-soft: #334155;
  --hcm-ink-subtle: #64748b;
}

/* ==========================================================================
   PAGE WRAPPER & BREADCRUMB
   ========================================================================== */

.hcm-page {
  width: 100%;
  padding: 24px 0 80px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

.hcm-page__container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.hcm-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--hcm-ink-subtle);
  margin-bottom: 20px;
}

.hcm-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--hcm-ink-subtle);
  text-decoration: none;
  transition: color 0.2s ease;
}

.hcm-breadcrumb a:hover {
  color: var(--hcm-blue-500, #0284c7);
}

.hcm-breadcrumb__sep {
  opacity: 0.5;
}

.hcm-breadcrumb__current {
  color: var(--hcm-ink);
  font-weight: 600;
}

/* ==========================================================================
   PAGE HERO
   ========================================================================== */

.hcm-page-hero {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94) 0%, rgba(240, 249, 255, 0.85) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--hcm-card-border);
  border-radius: var(--hcm-radius-xl);
  box-shadow: var(--hcm-card-shadow);
  padding: 36px 38px;
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
}

.hcm-page-hero::before {
  content: '';
  position: absolute;
  top: -90px;
  right: -90px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.20) 0%, rgba(2, 132, 199, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hcm-page-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.2);
  color: #0284c7;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.hcm-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: hcmPulse 2s infinite ease-in-out;
}

.hcm-page-hero__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--hcm-ink);
  line-height: 1.28;
  margin: 0 0 14px;
  position: relative;
  z-index: 1;
}

.hcm-page-hero__desc {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--hcm-ink-soft);
  max-width: 820px;
  margin: 0;
  position: relative;
  z-index: 1;
}

.hcm-page-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
  position: relative;
  z-index: 1;
}

.hcm-stat-item {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--hcm-card-border);
  border-radius: var(--hcm-radius-md);
  padding: 16px 14px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hcm-stat-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.1);
}

.hcm-stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #0284c7;
  line-height: 1.2;
}

.hcm-stat-label {
  font-size: 12px;
  color: var(--hcm-ink-subtle);
  margin-top: 4px;
  line-height: 1.4;
  font-weight: 500;
}

@media (max-width: 680px) {
  .hcm-page-hero { padding: 26px 22px; }
  .hcm-page-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   NARRATIVE (PROSE + SIDEBAR)
   ========================================================================== */

.hcm-narrative {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 22px;
  margin-bottom: 28px;
  align-items: start;
}

@media (max-width: 900px) {
  .hcm-narrative { grid-template-columns: 1fr; }
}

.hcm-prose {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--hcm-card-border);
  border-radius: var(--hcm-radius-xl);
  box-shadow: var(--hcm-card-shadow);
  padding: 32px 36px;
}

.hcm-prose h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--hcm-ink);
  margin: 0 0 16px;
  letter-spacing: -0.015em;
}

.hcm-prose h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--hcm-ink);
  margin: 24px 0 10px;
}

.hcm-prose p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--hcm-ink-soft);
  margin: 0 0 16px;
}

.hcm-prose ul {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--hcm-ink-soft);
}

.hcm-prose li {
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 8px;
}

.hcm-prose strong {
  color: var(--hcm-ink);
  font-weight: 600;
}

.hcm-prose--muted {
  background: rgba(248, 250, 252, 0.92);
  border-color: rgba(203, 213, 225, 0.8);
}

@media (max-width: 680px) {
  .hcm-prose { padding: 24px 20px; }
}

.hcm-sidebar-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--hcm-card-border);
  border-radius: var(--hcm-radius-xl);
  box-shadow: var(--hcm-card-shadow);
  padding: 28px;
}

.hcm-quote-box {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.65;
  color: var(--hcm-ink);
  background: linear-gradient(145deg, rgba(240, 249, 255, 0.9), rgba(224, 242, 254, 0.8));
  border-left: 3.5px solid #0284c7;
  border-radius: 0 var(--hcm-radius-md) var(--hcm-radius-md) 0;
  padding: 18px 20px;
}

/* --- Modern Alert Box --- */
.hcm-alert-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border-radius: var(--hcm-radius-lg);
  padding: 20px 24px;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hcm-alert-box--warning {
  background: rgba(254, 243, 199, 0.7);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-left: 5px solid #f59e0b;
  color: #92400e;
}

.hcm-alert-box--info {
  background: rgba(239, 246, 255, 0.7);
  border: 1px solid rgba(2, 132, 199, 0.35);
  border-left: 5px solid #0284c7;
  color: #1e40af;
}

.hcm-alert-box__icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.hcm-alert-box__content {
  font-size: 14.5px;
  line-height: 1.7;
}

.hcm-alert-box__content strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.hcm-sidebar-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--hcm-ink);
  margin: 0 0 12px;
}

.hcm-sidebar-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--hcm-ink-soft);
  line-height: 1.7;
}

.hcm-sidebar-card ul li {
  margin-bottom: 4px;
}

.hcm-sidebar-card a {
  color: #0284c7;
  text-decoration: none;
  font-weight: 600;
}

.hcm-sidebar-card a:hover {
  text-decoration: underline;
}

.hcm-sidebar-note {
  background: var(--hcm-blue-50, #f0f7ff);
  border-radius: var(--hcm-radius-md);
  padding: 16px;
  font-size: 13px;
  color: var(--hcm-ink-soft);
}

.hcm-sidebar-note strong {
  display: block;
  color: var(--hcm-ink);
  margin-bottom: 4px;
}

/* ==========================================================================
   VALUE / FEATURE CARD GRID
   ========================================================================== */

.hcm-value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.hcm-value-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--hcm-card-border);
  border-radius: var(--hcm-radius-lg);
  box-shadow: var(--hcm-card-shadow);
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hcm-value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hcm-card-shadow-hover);
  border-color: rgba(56, 189, 248, 0.8);
}

.hcm-value-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--hcm-radius-md);
  margin-bottom: 14px;
}

.hcm-value-card__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--hcm-ink);
  margin: 0 0 8px;
}

.hcm-value-card__desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--hcm-ink-subtle);
  margin: 0;
}

/* Badge Tags */
.hcm-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hcm-badge-tag--blue {
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.25);
}

.hcm-badge-tag--green {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.hcm-badge-tag--amber {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

/* ==========================================================================
   TOOL LINK GRID
   ========================================================================== */

.hcm-tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.hcm-tool-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--hcm-surface, #fff);
  border: 1px solid var(--hcm-card-border);
  border-radius: var(--hcm-radius-md);
  padding: 14px 16px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hcm-tool-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--hcm-card-shadow-hover);
  border-color: rgba(56, 189, 248, 0.6);
}

.hcm-tool-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.hcm-tool-item__name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--hcm-ink);
}

.hcm-tool-item__desc {
  font-size: 12.5px;
  color: var(--hcm-ink-subtle);
  margin-top: 2px;
  line-height: 1.5;
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */

.hcm-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, var(--hcm-blue-900, #0f172a) 0%, var(--hcm-blue-700, #1d4ed8) 100%);
  border-radius: var(--hcm-radius-xl);
  padding: 32px 36px;
  color: #fff;
}

.hcm-cta__text h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #fff;
}

.hcm-cta__text p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  max-width: 560px;
}

.hcm-cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.hcm-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.hcm-btn--primary {
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
}

.hcm-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.5);
}

.hcm-btn--outline {
  background: transparent;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.hcm-btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 680px) {
  .hcm-cta { padding: 26px 22px; }
}

/* ==========================================================================
   FAQ (static Q&A block, khong can accordion)
   ========================================================================== */

.hcm-faq-item + .hcm-faq-item {
  margin-top: 16px;
}

.hcm-faq-item__q {
  font-weight: 700;
  color: var(--hcm-ink);
  margin-bottom: 4px;
  font-size: 14.5px;
}

.hcm-faq-item__a {
  font-size: 14px;
  color: var(--hcm-ink-soft);
  line-height: 1.65;
  margin: 0;
}

/* .hcm-pulse-dot dung chung @keyframes hcmPulse da khai bao trong thoitiet-modern.css */
