/* ==========================================================================
   Node X Mind — Design System
   Dựa trên style.md — Modern Tech Gradient + Glassmorphism
   ========================================================================== */

:root {
  /* Brand gradient */
  --gradient-brand: linear-gradient(135deg, #6EE7F9 0%, #3B82F6 30%, #8B5CF6 65%, #EC4899 100%);
  --gradient-brand-soft: linear-gradient(135deg, #A5F3FC 0%, #93C5FD 30%, #C4B5FD 65%, #F9A8D4 100%);
  --gradient-cta: linear-gradient(90deg, #3B82F6 0%, #8B5CF6 100%);
  --gradient-cta-hover: linear-gradient(90deg, #8B5CF6 0%, #EC4899 100%);

  /* Solid brand colors */
  --c-cyan: #6EE7F9;
  --c-sky: #38BDF8;
  --c-blue: #3B82F6;
  --c-purple: #8B5CF6;
  --c-pink: #EC4899;
  --c-navy: #12102B;

  /* Neutrals */
  --c-white: #FFFFFF;
  --c-gray-50: #F8FAFC;
  --c-gray-100: #F1F5F9;
  --c-gray-300: #CBD5E1;
  --c-gray-500: #64748B;
  --c-gray-700: #334155;
  --c-navy-900: #12102B;

  /* Semantic */
  --c-success: #22C55E;

  /* Typography — cả hai đều hỗ trợ đầy đủ dấu tiếng Việt */
  --font-heading: 'Plus Jakarta Sans', 'Be Vietnam Pro', sans-serif;
  --font-body: 'Be Vietnam Pro', 'Plus Jakarta Sans', sans-serif;

  /* Shadow */
  --shadow-soft: 0 4px 20px rgba(59, 130, 246, 0.08);
  --shadow-card: 0 8px 30px rgba(18, 16, 43, 0.08);
  --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.25);

  /* Radius */
  --radius-card: 20px;
  --radius-pill: 999px;
  --radius-input: 12px;

  --container-max: 1280px;
}

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-gray-700);
  background: var(--c-white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--c-navy-900);
  margin: 0 0 16px;
  line-height: 1.2;
  font-weight: 700;
}
p { margin: 0 0 16px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container-nxm {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 1024px) {
  .container-nxm { padding: 0 80px; }
}

.section { padding: 80px 0; position: relative; overflow: hidden; }
.section-alt { background: var(--c-gray-50); }
.section-dark { background: var(--c-navy-900); color: var(--c-gray-300); }
.section-dark h2, .section-dark h3 { color: var(--c-white); }
@media (max-width: 767px) {
  .section { padding: 56px 0; }
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-blue);
  margin-bottom: 12px;
}
.section-dark .eyebrow { color: var(--c-cyan); }

.section-head { max-width: 640px; margin: 0 0 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--c-gray-500); font-size: 17px; }
.section-dark .section-head p { color: var(--c-gray-300); }

.text-gradient {
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn-nxm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  border: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-cta);
  color: var(--c-white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--c-blue);
  color: var(--c-blue);
}
.btn-outline:hover { background: var(--c-gray-50); }
.section-dark .btn-outline { border-color: rgba(255,255,255,0.4); color: var(--c-white); }
.section-dark .btn-outline:hover { background: rgba(255,255,255,0.08); }
.btn-white {
  background: var(--c-white);
  color: var(--c-navy-900);
}
.btn-white:hover { box-shadow: var(--shadow-glow); transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 22px; font-size: 14px; }

.link-arrow {
  color: var(--c-blue);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s, gap 0.2s;
}
.link-arrow:hover { color: var(--c-purple); gap: 10px; }

.card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 20px;
  margin-top: 4px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--c-gray-100);
  background: var(--c-gray-50);
  color: var(--c-navy-900);
  font-weight: 600;
  font-size: 14.5px;
  transition: all 0.25s ease;
}
.card-cta svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.25s ease; }
.card-cta:hover {
  border-color: transparent;
  background: var(--gradient-cta);
  color: var(--c-white);
  box-shadow: var(--shadow-glow);
}
.card-cta:hover svg { transform: translateX(4px); }
.card-cta.on-dark { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.16); color: var(--c-white); }
.card-cta.on-dark:hover { background: var(--gradient-cta); border-color: transparent; }

/* ---------- Glass / gradient decoration ---------- */
.glass-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.section-dark .glass-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.gradient-blob {
  position: absolute;
  background: var(--gradient-brand);
  filter: blur(90px);
  opacity: 0.35;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-brand-soft);
  flex-shrink: 0;
}
.icon-box svg { width: 26px; height: 26px; }
.icon-box.blue { color: var(--c-blue); }
.icon-box.purple { color: var(--c-purple); }
.icon-box.pink { color: var(--c-pink); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Header
   ========================================================================== */
.nxm-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 0.25s ease;
  border-bottom: 1px solid transparent;
}
.nxm-header.is-scrolled {
  box-shadow: 0 2px 12px rgba(18, 16, 43, 0.06);
  border-bottom-color: var(--c-gray-100);
}
.nxm-header .container-nxm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.nxm-logo { display: flex; align-items: center; gap: 12px; }
.nxm-logo .logo-mark { height: 52px; width: 52px; object-fit: contain; flex-shrink: 0; }
.nxm-logo .logo-word {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--c-navy-900);
  line-height: 1;
  white-space: nowrap;
}
.nxm-logo .logo-word .accent {
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (max-width: 420px) {
  .nxm-logo .logo-word { display: none; }
}

.nxm-nav { display: flex; align-items: center; gap: 30px; }
.nxm-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--c-navy-900);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
  flex-shrink: 0;
}
.nxm-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gradient-cta);
  transition: width 0.25s ease;
  border-radius: 2px;
}
.nxm-nav a:hover::after,
.nxm-nav a.active::after { width: 100%; }
.nxm-nav a.active { color: var(--c-blue); }

.nxm-header-actions { display: flex; align-items: center; gap: 20px; }
.nxm-menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
}
.nxm-menu-toggle span,
.nxm-menu-toggle span::before,
.nxm-menu-toggle span::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c-navy-900);
  position: relative;
  transition: all 0.25s ease;
}
.nxm-menu-toggle span::before { position: absolute; top: -7px; }
.nxm-menu-toggle span::after { position: absolute; top: 7px; }
.nxm-menu-toggle.is-open span { background: transparent; }
.nxm-menu-toggle.is-open span::before { transform: rotate(45deg); top: 0; }
.nxm-menu-toggle.is-open span::after { transform: rotate(-45deg); top: 0; }

@media (max-width: 1080px) {
  .nxm-nav {
    position: fixed;
    top: 88px; left: 0; right: 0;
    background: var(--c-white);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 24px 24px;
    box-shadow: 0 12px 20px rgba(18,16,43,0.08);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
  }
  .nxm-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nxm-nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--c-gray-100); }
  .nxm-header-actions .btn-nxm.btn-primary { display: none; }
  .nxm-menu-toggle { display: flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero .blob-1 { width: 480px; height: 480px; top: -180px; right: -120px; }
.hero .blob-2 { width: 360px; height: 360px; bottom: -160px; left: -100px; opacity: 0.25; }
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-title { font-size: 52px; margin-bottom: 20px; }
.hero-lead { font-size: 18px; color: var(--c-gray-500); max-width: 520px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-trust { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-trust span { font-size: 13px; color: var(--c-gray-500); text-transform: uppercase; letter-spacing: 0.06em; }
.hero-trust-logos { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.hero-trust-logos div {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--c-gray-300);
  font-size: 18px;
}

.hero-visual { position: relative; }
.hero-visual-card {
  padding: 28px;
  position: relative;
}
.hero-stat {
  position: absolute;
  padding: 16px 20px;
  min-width: 160px;
}
.hero-stat-1 { top: -24px; left: -28px; }
.hero-stat-2 { bottom: -24px; right: -20px; }
.hero-stat .num { font-family: var(--font-heading); font-size: 26px; font-weight: 700; color: var(--c-navy-900); }
.hero-stat .label { font-size: 12px; color: var(--c-gray-500); }

/* Mock browser / dashboard illustration */
.mock-browser {
  border-radius: 18px;
  overflow: hidden;
  background: var(--c-white);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--c-gray-100);
}
.mock-browser-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: var(--c-gray-50);
  border-bottom: 1px solid var(--c-gray-100);
}
.mock-browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--c-gray-300); }
.mock-browser-body { padding: 22px; background: var(--gradient-brand-soft); }
.mock-row { display: flex; gap: 14px; margin-bottom: 14px; }
.mock-block {
  background: rgba(255,255,255,0.75);
  border-radius: 12px;
  backdrop-filter: blur(6px);
}
.mock-chart { height: 110px; padding: 16px; display: flex; align-items: flex-end; gap: 8px; }
.mock-chart i { flex: 1; border-radius: 6px 6px 0 0; background: var(--gradient-cta); opacity: 0.85; }
.mock-kpi { flex: 1; height: 70px; padding: 12px; }
.mock-kpi .bar { width: 60%; height: 8px; border-radius: 4px; background: var(--gradient-cta); margin-bottom: 8px; }
.mock-kpi .bar.short { width: 35%; }
.mock-list-line { height: 10px; border-radius: 5px; background: rgba(255,255,255,0.75); margin-bottom: 10px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 36px; }
  .hero-visual { order: -1; }
  .hero-stat { position: static; margin-top: 12px; display: inline-block; }
}

/* ==========================================================================
   About teaser (home)
   ========================================================================== */
.about-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stat-card { padding: 24px; }
.stat-card .num { font-family: var(--font-heading); font-size: 38px; font-weight: 700; }
.stat-card .label { font-size: 14px; color: var(--c-gray-500); margin-top: 4px; }

.teaser-visual .hero-visual-card img { display: block; }
.mini-stats { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 28px; }
.mini-stats .num { font-family: var(--font-heading); font-size: 28px; font-weight: 700; color: var(--c-navy-900); }
.mini-stats .label { font-size: 13px; color: var(--c-gray-500); margin-top: 2px; }

@media (max-width: 900px) {
  .about-teaser-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================================================
   Service cards (3 trụ cột)
   ========================================================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--c-white);
  border-radius: var(--radius-card);
  padding: 36px 30px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--c-gray-100);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.service-card .icon-box { margin-bottom: 22px; }
.service-card h3 { font-size: 21px; margin-bottom: 10px; }
.service-card p { font-size: 15px; color: var(--c-gray-500); margin-bottom: 18px; }
.service-card ul { margin-bottom: 20px; }
.service-card ul li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 14px; color: var(--c-gray-700); margin-bottom: 8px;
}
.service-card ul li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--c-success); }
@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Process timeline
   ========================================================================== */
.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}
.process-track::before {
  content: '';
  position: absolute;
  top: 27px; left: 10%; right: 10%;
  height: 2px;
  background: var(--c-gray-300);
  z-index: 0;
}
.process-step { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.process-num {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--c-white);
  border: 2px solid var(--c-gray-100);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--c-blue);
}
.process-step.is-active .process-num {
  background: var(--gradient-cta);
  border-color: transparent;
  color: var(--c-white);
  box-shadow: var(--shadow-glow);
}
.process-step h4 { font-size: 16px; margin-bottom: 6px; }
.process-step p { font-size: 13px; color: var(--c-gray-500); margin: 0; }
@media (max-width: 900px) {
  .process-track { grid-template-columns: 1fr; gap: 32px; }
  .process-track::before { display: none; }
}

/* ==========================================================================
   Featured products (dark section)
   ========================================================================== */
.product-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-showcase-card { padding: 28px; }
.product-showcase-card .icon-box { background: rgba(255,255,255,0.1); margin-bottom: 18px; }
.product-showcase-card .icon-box svg { color: var(--c-cyan); }
.product-showcase-card h3 { font-size: 18px; margin-bottom: 8px; }
.product-showcase-card .tag { font-size: 13px; color: var(--c-cyan); font-weight: 600; margin-bottom: 10px; }
.product-showcase-card p { font-size: 14px; color: var(--c-gray-300); margin-bottom: 16px; }
.product-showcase-grid.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; }
@media (max-width: 900px) {
  .product-showcase-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Why us
   ========================================================================== */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
}
.usp-item { display: flex; gap: 16px; align-items: flex-start; }
.usp-item .icon-box { width: 46px; height: 46px; border-radius: 12px; }
.usp-item .icon-box svg { width: 22px; height: 22px; }
.usp-item h4 { font-size: 16px; margin-bottom: 6px; }
.usp-item p { font-size: 14px; color: var(--c-gray-500); margin: 0; }
@media (max-width: 900px) {
  .usp-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card { padding: 30px; position: relative; }
.testimonial-quote { font-size: 40px; font-family: var(--font-heading); color: var(--c-purple); opacity: 0.35; line-height: 1; margin-bottom: 8px; }
.testimonial-text { font-size: 15px; color: var(--c-gray-700); margin-bottom: 22px; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.avatar-ring {
  width: 46px; height: 46px;
  border-radius: 50%;
  padding: 2px;
  background: var(--gradient-cta);
  display: flex; align-items: center; justify-content: center;
}
.avatar-ring .avatar-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--c-blue);
  font-size: 15px;
  overflow: hidden;
}
.avatar-ring .avatar-inner img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.testimonial-person .name { font-weight: 600; color: var(--c-navy-900); font-size: 14px; }
.testimonial-person .role { font-size: 13px; color: var(--c-gray-500); }
@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.cta-final {
  background: var(--gradient-brand);
  border-radius: 28px;
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
  color: var(--c-white);
}
.cta-final-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.cta-final h2 { color: var(--c-white); font-size: 32px; }
.cta-final p { color: rgba(255,255,255,0.9); font-size: 16px; max-width: 460px; }
.cta-form { display: grid; gap: 12px; }
.cta-form input, .cta-form select, .cta-form textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-input);
  border: none;
  font-family: var(--font-body);
  font-size: 14px;
  background: rgba(255,255,255,0.92);
  color: var(--c-navy-900);
}
.cta-form input::placeholder, .cta-form textarea::placeholder { color: var(--c-gray-500); }
.cta-form button { margin-top: 4px; }
@media (max-width: 900px) {
  .cta-final { padding: 40px 24px; border-radius: 20px; }
  .cta-final-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ==========================================================================
   Page header (About / Products)
   ========================================================================== */
.page-header {
  padding: 64px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header-photo { position: absolute; inset: 0; z-index: 0; }
.page-header-photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0.16; }
.page-header-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(248,250,252,0.25) 0%, var(--c-gray-50) 92%);
}
.page-header .breadcrumb { font-size: 14px; color: var(--c-gray-500); margin-bottom: 14px; }
.page-header .breadcrumb a { color: var(--c-blue); }
.page-header h1 { font-size: 40px; margin-bottom: 14px; }
.page-header p { color: var(--c-gray-500); max-width: 560px; margin: 0 auto; font-size: 16px; }

/* ==========================================================================
   About page
   ========================================================================== */
.story-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.story-visual { position: relative; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value-card { padding: 32px; text-align: left; }
.value-card .icon-box { margin-bottom: 20px; }
.value-card h3 { font-size: 19px; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--c-gray-500); margin: 0; }

.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--c-gray-300); }
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute; left: -32px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gradient-cta);
  box-shadow: 0 0 0 4px var(--c-gray-50);
}
.timeline-item .year { font-family: var(--font-heading); font-weight: 700; color: var(--c-purple); font-size: 14px; margin-bottom: 4px; display: block; }
.timeline-item h4 { font-size: 17px; margin-bottom: 6px; }
.timeline-item p { font-size: 14px; color: var(--c-gray-500); margin: 0; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: center; padding: 28px 18px; }
.team-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: var(--gradient-brand);
  padding: 3px;
  box-sizing: border-box;
  display: block;
  object-fit: cover;
}
.team-card h4 { font-size: 16px; margin-bottom: 4px; }
.team-card .role { font-size: 13px; color: var(--c-gray-500); }

@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; gap: 32px; }
  .value-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Products page
   ========================================================================== */
.product-intro-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.product-intro-card {
  background: var(--c-white);
  border-radius: var(--radius-card);
  padding: 40px 34px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--c-gray-100);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-intro-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.product-intro-card .icon-box { width: 60px; height: 60px; border-radius: 18px; margin-bottom: 22px; }
.product-intro-card .icon-box svg { width: 28px; height: 28px; }
.product-intro-card .product-name { font-family: var(--font-heading); font-weight: 800; font-size: 22px; margin-bottom: 6px; }
.product-intro-card .product-tag { font-size: 14px; color: var(--c-purple); font-weight: 600; margin-bottom: 14px; }
.product-intro-card p { font-size: 15px; color: var(--c-gray-500); margin-bottom: 20px; }
@media (max-width: 900px) {
  .product-intro-grid { grid-template-columns: 1fr; }
}

.spotlight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.spotlight-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gradient-brand-soft);
  color: var(--c-purple);
  font-size: 13px; font-weight: 600;
  padding: 8px 16px; border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.spotlight-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0 32px; }
.spotlight-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; }
.spotlight-features li svg { width: 16px; height: 16px; color: var(--c-success); flex-shrink: 0; margin-top: 3px; }
@media (max-width: 900px) {
  .spotlight-grid { grid-template-columns: 1fr; gap: 32px; }
  .spotlight-features { grid-template-columns: 1fr; }
}

/* Vivu — mockup danh sách hồ sơ Visa */
.visa-list { display: flex; flex-direction: column; gap: 10px; }
.visa-row {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.8);
  border-radius: 12px;
  padding: 12px 16px;
}
.visa-row .who { display: flex; align-items: center; gap: 10px; }
.visa-row .dot { width: 34px; height: 34px; border-radius: 50%; background: var(--gradient-brand); flex-shrink: 0; }
.visa-row .who-text .name { font-size: 13px; font-weight: 600; color: var(--c-navy-900); }
.visa-row .who-text .type { font-size: 11.5px; color: var(--c-gray-500); }
.visa-status { font-size: 11px; font-weight: 600; padding: 5px 12px; border-radius: var(--radius-pill); white-space: nowrap; }
.visa-status.approved { background: rgba(34,197,94,0.15); color: #15803d; }
.visa-status.processing { background: rgba(59,130,246,0.15); color: #1d4ed8; }
.visa-status.pending { background: rgba(245,158,11,0.18); color: #b45309; }

/* AR — sơ đồ luồng Webhook */
.webhook-flow { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 20px; }
.flow-node {
  flex: 1;
  background: rgba(255,255,255,0.85);
  border-radius: 14px;
  padding: 16px 10px;
  text-align: center;
}
.flow-node.highlight { background: var(--gradient-cta); color: var(--c-white); }
.flow-node .icon-box { margin: 0 auto 10px; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,0.7); }
.flow-node.highlight .icon-box { background: rgba(255,255,255,0.2); }
.flow-node .icon-box svg { width: 18px; height: 18px; }
.flow-node span { font-size: 11.5px; font-weight: 600; display: block; line-height: 1.3; }
.flow-arrow { color: var(--c-gray-300); flex-shrink: 0; }
.flow-arrow svg { width: 16px; height: 16px; }

.webhook-log {
  background: var(--c-navy-900);
  border-radius: 14px;
  padding: 16px 18px;
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 12px;
  line-height: 1.9;
}
.webhook-log .ok { color: #4ade80; }
.webhook-log .key { color: #7dd3fc; }
.webhook-log .muted { color: #64748b; }
.webhook-log .val { color: #f9a8d4; }

/* Phù hợp với ai */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.fit-card { padding: 32px; }
.fit-card .eyebrow { margin-bottom: 4px; }
.fit-card h3 { font-size: 19px; margin-bottom: 18px; }
.fit-card ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--c-gray-700); margin-bottom: 12px; }
.fit-card ul li svg { width: 17px; height: 17px; color: var(--c-purple); flex-shrink: 0; margin-top: 2px; }
@media (max-width: 900px) {
  .fit-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.nxm-footer { background: var(--c-navy-900); color: var(--c-gray-300); padding: 72px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .brand-lockup { margin-bottom: 16px; }
.footer-brand .brand-lockup img { height: 42px; width: 42px; }
.footer-brand .brand-lockup .logo-word { color: var(--c-white); font-size: 20px; }
.footer-brand p { font-size: 14px; color: var(--c-gray-500); max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.footer-social a svg { width: 16px; height: 16px; }
.footer-social a:hover { background: var(--gradient-cta); border-color: transparent; }
.footer-col h5 { color: var(--c-white); font-family: var(--font-heading); font-size: 15px; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 14px; color: var(--c-gray-300); transition: color 0.2s ease; }
.footer-col ul li a:hover { color: var(--c-cyan); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; margin-bottom: 14px; }
.footer-contact li svg { width: 17px; height: 17px; color: var(--c-cyan); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; font-size: 13px; color: var(--c-gray-500);
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: var(--c-gray-500); }
.footer-bottom a:hover { color: var(--c-cyan); }

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

/* ==========================================================================
   Floating actions — CTA gọi nhanh + Back to top
   ========================================================================== */
.floating-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  border: none;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
}
.fab svg { width: 22px; height: 22px; }

.fab-cta {
  background: var(--gradient-cta);
  color: var(--c-white);
}
.fab-cta:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}
.fab-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--c-blue);
  opacity: 0.6;
  animation: fab-pulse-anim 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes fab-pulse-anim {
  0% { transform: scale(0.9); opacity: 0.55; }
  100% { transform: scale(1.4); opacity: 0; }
}

.fab-top {
  background: var(--c-white);
  color: var(--c-navy-900);
  border: 1px solid var(--c-gray-100);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
}
.fab-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.fab-top:hover { background: var(--c-gray-50); transform: translateY(-3px); }

@media (max-width: 640px) {
  .floating-actions { right: 16px; bottom: 16px; gap: 12px; }
  .fab { width: 46px; height: 46px; }
  .fab svg { width: 19px; height: 19px; }
}
