:root {
  --navy: #061a3d;
  --blue-900: #073274;
  --blue-700: #075fc4;
  --blue-500: #0b8cff;
  --cyan: #37d5ff;
  --sky: #eaf7ff;
  --ice: #f6fbff;
  --line: #c9dff5;
  --text: #10213c;
  --muted: #5d6f88;
  --white: #ffffff;
  --shadow: 0 18px 42px rgba(7, 50, 116, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(55, 213, 255, 0.18), transparent 34rem),
    linear-gradient(180deg, #f5fbff 0%, #ffffff 42%, #f3f9ff 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Header / Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, #051431 0%, #061a3d 100%);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(94, 195, 255, 0.18);
}

.navbar {
  width: min(1180px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  line-height: 1;
}

.brand-logo {
  height: 38px;
  width: auto;
  display: block;
}

.brand-sub {
  color: #7fbaff;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex: 1;
}

.nav-menu a,
.language {
  color: #d7ecff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

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

.nav-menu a {
  position: relative;
  padding: 10px 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--cyan);
  transition: transform 0.2s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  transform: scaleX(1);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-panel {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-toggle {
  position: relative;
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transform-origin: center;
  transition: transform 0.24s ease, opacity 0.18s ease;
}

.site-header.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: inherit;
  line-height: 0;
}

.btn-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, #066dff, #00b8ff);
  box-shadow: 0 14px 24px rgba(11, 140, 255, 0.28);
}

.btn-ghost,
.btn-outline {
  color: var(--white);
  border-color: rgba(142, 203, 255, 0.58);
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost {
  border-radius: 999px;
  gap: 6px;
}

.btn-ghost .arrow {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.btn-ghost .arrow svg {
  width: 13px;
  height: 13px;
}


/* Hero AI Vision — video background */
.hero {
  --hero-min-height: 800px;
  --hero-video-fit-height: calc(46.25vw + 17px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: max(var(--hero-min-height), var(--hero-video-fit-height));
  display: flex;
  flex-direction: column;
  justify-content: start;
  /* padding: 96px max(24px, calc((100vw - 1180px) / 2)) 56px; */
  padding: 56px;
  background: #eaf3ff;
  color: #eaf3ff;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: -280px;
  left: -520px;
  width: 1100px;
  height: 1000px;
  z-index: -1;
  pointer-events: none;
  border-radius: 10%;
  background: rgba(255, 255, 255, 0.96);
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.16) 14%, #000 34%, #000 66%, rgba(0, 0, 0, 0.8) 86%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 14%, #000 34%, #000 66%, rgba(0, 0, 0, 0.6) 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.16) 14%, #000 34%, #000 66%, rgba(0, 0, 0, 0.8) 86%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 14%, #000 34%, #000 66%, rgba(0, 0, 0, 0.6) 86%, transparent 100%);
  mask-composite: intersect;
}

/* Overlay trắng mờ ở đáy hero (bên dưới hero-content) — chuyển mượt sang các section nền sáng bên dưới */
.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.4) 52%, rgba(255, 255, 255, 0.1) 84%, rgba(255, 255, 255, 0) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  flex: 1;
  /* max-width: 1180px; */
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 40px;
  align-items: start;
}

.hero-content {
  position: relative;
  z-index: 1;
  grid-column: 1;
  align-self: center;
  max-width: 430px;
}

.hero-command {
  --hero-command-width: 520px;
  position: relative;
  z-index: 1;
  grid-column: 3;
  align-self: center;
  justify-self: end;
  width: var(--hero-command-width);
  max-width: none;
  margin: 0;
  pointer-events: none;
  transform-origin: center right;
  isolation: isolate;
  overflow: visible;
}

.hero-command img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 42px rgba(3, 18, 46, 0.22));
}

.hero-command-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

@media (min-width: 1101px) and (max-width: 1439px) {
  .hero-inner {
    --hero-third-column-width: clamp(0px, calc(122.714vw - 1351.09px), 416px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, var(--hero-third-column-width));
  }

  .hero-command {
    width: var(--hero-command-width);
  }
}

@media (max-width: 1180px) {
  .hero {
    padding-inline: 0;
  }

  .hero-inner {
    width: min(1180px, calc(100% - 32px));
  }
}

.eyebrow {
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--blue-700);
}

.hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.2rem, 7.5vw, 4.4rem);
  line-height: 0.9;
  font-weight: 600;
  text-transform: uppercase;
}

.hero h2 {
  margin: 20px 0;
  color: var(--blue-500);
  font-size: clamp(.7rem, 4vw, 2rem);
  line-height: 1.08;
  font-weight: 500;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 540px;
  color: #37485f;
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero .btn-outline {
  color: var(--blue-900);
  border-color: rgba(11, 95, 196, 0.45);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}

.hero-stats {
  position: relative;
  z-index: 1;
  grid-column: 2;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(11, 95, 196, 0.22);
  border-radius: 10px;
  overflow: hidden;
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 35px rgba(7, 50, 116, 0.18);
}

.hero-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-115%);
  background: linear-gradient(110deg, transparent 0%, rgba(0, 184, 255, 0.2) 42%, transparent 70%);
}

.hero-stats.is-visible {
  animation: heroStatsGlow 1.25s ease 0.12s both;
}

.hero-stats.is-visible::before {
  animation: heroStatsSweep 1.05s ease 0.1s forwards;
}

.hero-stats div {
  --hero-stat-delay: 0ms;
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  min-width: 76px;
  padding: 13px 11px;
  text-align: center;
  border-right: 1px solid rgba(11, 50, 116, 0.12);
  white-space: nowrap;
  transition: opacity 0.48s ease, transform 0.48s ease, background 0.2s ease;
  transition-delay: var(--hero-stat-delay);
}

.hero-stats div:nth-child(2) { --hero-stat-delay: 65ms; }
.hero-stats div:nth-child(3) { --hero-stat-delay: 130ms; }
.hero-stats div:nth-child(4) { --hero-stat-delay: 195ms; }

.hero-stats.counters-ready div {
  opacity: 0;
  transform: translateY(10px);
}

.hero-stats.counters-ready.is-visible div {
  opacity: 1;
  transform: translateY(0);
}

.hero-stats div:hover {
  background: rgba(234, 247, 255, 0.62);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats strong {
  display: block;
  color: var(--navy);
  font-size: 1.33rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  min-height: 1.33rem;
}

.hero-stats span {
  color: var(--blue-700);
  font-size: 0.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

@keyframes heroStatsSweep {
  0% {
    opacity: 0;
    transform: translateX(-115%);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(115%);
  }
}

@keyframes heroStatsGlow {
  0% {
    box-shadow: 0 14px 35px rgba(7, 50, 116, 0.18);
  }
  45% {
    box-shadow: 0 18px 42px rgba(0, 184, 255, 0.22);
  }
  100% {
    box-shadow: 0 14px 35px rgba(7, 50, 116, 0.18);
  }
}

/* Shared sections */
.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
}

.section-muted {
  width: 100%;
  padding-inline: max(16px, calc((100vw - 1180px) / 2));
  background: linear-gradient(180deg, rgba(234, 247, 255, 0.55), rgba(255, 255, 255, 0.68));
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(30px, 1fr) auto minmax(30px, 1fr);
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  color: var(--blue-900);
  text-align: center;
}

.section-heading span {
  height: 1px;
  background: linear-gradient(90deg, transparent, #8fc9ff, transparent);
}

.section-heading h2,
.architecture-panel h2,
.capability-panel h2,
.why-panel h2 {
  margin: 0;
  color: var(--blue-900);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Nền tảng công nghệ SOTA */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}

.tech-card,
.app-card,
.architecture-panel,
.capability-panel,
.workflow-step,
.achievement-grid div,
/* .partner-row div, */
.news-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 28px rgba(7, 50, 116, 0.08);
}

.architecture-panel {
  --core-layer-gradient: linear-gradient(
    180deg,
    #061a45 0%,
    #0a2f78 28%,
    #0b51b4 55%,
    #1171d7 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.tech-card {
  min-height: 132px;
  padding: 18px 12px;
  text-align: center;
}

.icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  color: var(--blue-700);
  font-size: 1.4rem;
  font-weight: 800;
}

.icon svg {
  width: 36px;
  height: 36px;
  stroke-width: 1.6;
}

.tech-card h3 {
  margin: 0 0 8px;
  color: var(--blue-900);
  font-size: 0.78rem;
  line-height: 1.3;
  text-transform: uppercase;
}

.tech-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.45;
}

.feature-strip {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.feature-strip > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  text-align: left;
}

.feature-strip .fs-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--blue-700);
}

.feature-strip .fs-icon svg {
  width: 26px;
  height: 26px;
}

.feature-strip strong {
  display: block;
  color: var(--blue-900);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.feature-strip > div span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: none;
}

/* Ứng dụng AI trong nhiều lĩnh vực */
.application-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.app-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(7, 50, 116, 0.16);
}

/* Full-card click target; the inner "Tìm hiểu thêm" link stays above it */
.app-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.app-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(7, 50, 116, 0.82);
  color: #eaf7ff;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.app-card div a {
  position: relative;
  z-index: 2;
}

.app-card img {
  width: 100%;
  height: 156px;
  object-fit: cover;
  background: #d9efff;
}

.app-card div {
  padding: 18px;
}

.app-card h3,
.news-card h3 {
  margin: 0 0 10px;
  color: var(--blue-900);
  font-size: 0.98rem;
  text-transform: uppercase;
}

.app-card p,
.news-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.app-card a,
.news-readmore {
  color: var(--blue-700);
  font-size: 0.82rem;
  font-weight: 800;
}

.app-card div a::after,
.news-readmore::after {
  content: " →";
}

/* SOTA AI Core Architecture */
.three-column {
  display: grid;
  grid-template-columns: 0.95fr 1.1fr 1.05fr;
  gap: 16px;
  align-items: stretch;
}

.architecture-panel,
.capability-panel,
.why-panel {
  padding: 20px;
}

.architecture-panel h2,
.capability-panel h2,
.why-panel h2 {
  margin-bottom: 16px;
  text-align: center;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
}

.layer {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px;
  color: var(--white);
  text-align: center;
  border-radius: var(--radius);
  background-image: var(--core-layer-gradient);
  background-size: 100% 420%;
  background-position: center var(--layer-gradient-y, 50%);
}

.layer-dark {
  --layer-gradient-y: 0%;
}

.architecture-panel > .layer:nth-of-type(3) {
  --layer-gradient-y: 36%;
}

.architecture-panel > .layer:nth-of-type(5) {
  --layer-gradient-y: 68%;
}

.architecture-panel > .layer:nth-of-type(7) {
  --layer-gradient-y: 100%;
}

.layer h3 {
  margin: 0 0 6px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.layer p {
  margin: 0;
  color: #d8ebff;
  font-size: 0.72rem;
}

.layer-icons {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #aedaff;
}

.layer-icons svg {
  width: 18px;
  height: 18px;
}

.connector {
  width: 100%;
  height: 20px;
  margin: 3px auto;
  background: center / 18px 18px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c6cd6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v13'/%3E%3Cpath d='M6 12l6 6 6-6'/%3E%3C/svg%3E");
}

/* AI Capabilities */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.capability-grid div {
  min-height: 132px;
  display: grid;
  grid-template-rows: 52px minmax(34px, auto) minmax(28px, auto);
  align-items: center;
  justify-content: center;
  justify-items: center;
  /* row-gap: 1px; */
  padding: 14px 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--blue-900);
  text-align: center;
  background: rgba(246, 251, 255, 0.9);
}

.capability-grid span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  align-self: start;
  border-radius: 8px;
  overflow: hidden;
  color: var(--blue-700);
  background: #fff;
  border: 1px solid #a7d9ff;
}

.capability-grid span img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.capability-grid strong {
  display: block;
  color: var(--blue-900);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
  align-self: center;
  min-height: 1.75rem;
}

.capability-grid small {
  display: block;
  color: var(--muted);
  font-size: 0.6rem;
  line-height: 1.25;
  align-self: start;
}

/* Tại sao chọn SOTA */
.why-panel {
  position: relative;
  color: var(--white);
  background: #041b42;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.why-panel h2 {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.why-globe {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.9;
}

.why-globe::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 40% 48%, rgba(15, 145, 255, 0.08), transparent 34%),
    linear-gradient(90deg, rgba(4, 19, 46, 0.3), rgba(4, 19, 46, 0.14) 46%, rgba(4, 19, 46, 0.72) 100%),
    linear-gradient(180deg, rgba(4, 19, 46, 0.24), rgba(4, 19, 46, 0.76));
}

.why-globe-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(1.2) contrast(1.08);
}

.why-panel ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  flex: 1;
}

.why-panel li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.why-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  border: 0;
}

.why-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.why-panel li > div {
  display: grid;
  gap: 2px;
}

.why-panel strong {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 5px rgba(3, 16, 40, 0.5);
}

.why-panel li span {
  color: #ccecff;
  font-size: 0.72rem;
  line-height: 1.45;
  text-shadow: 0 1px 5px rgba(3, 16, 40, 0.5);
}

/* AI Workflow */
.workflow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.workflow-step {
  position: relative;
  min-height: 88px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  padding: 16px;
  color: var(--blue-900);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.workflow-step i {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1.6px solid rgba(82, 183, 255, 0.72);
  border-radius: 50%;
  font-style: normal;
  line-height: 1;
}

.workflow-step i svg {
  width: 30px;
  height: 30px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workflow-step strong {
  color: var(--blue-900);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.workflow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  opacity: 0.8;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c6cd6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h13'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/svg%3E");
}

.workflow-step span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: none;
}

/* Thành tựu */
.achievements-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(235, 248, 255, 0.82), rgba(255, 255, 255, 0.96) 72%),
    #ffffff;
}

.achievements-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.72;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(19, 137, 255, 0.09) 1px, transparent 1px),
    linear-gradient(180deg, rgba(18, 201, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
  animation: achievementGridDrift 18s linear infinite;
}

.achievements-section .section-heading,
.achievement-grid {
  position: relative;
  z-index: 1;
}

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

.achievement-grid div {
  --achievement-delay: 0ms;
  position: relative;
  overflow: hidden;
  min-height: 138px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 24px 12px;
  text-align: center;
  transition:
    opacity 0.55s ease,
    transform 0.55s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
  transition-delay: var(--achievement-delay);
}

.achievement-grid div:nth-child(2) { --achievement-delay: 70ms; }
.achievement-grid div:nth-child(3) { --achievement-delay: 140ms; }
.achievement-grid div:nth-child(4) { --achievement-delay: 210ms; }
.achievement-grid div:nth-child(5) { --achievement-delay: 280ms; }

.achievement-grid div::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-120%);
  background: linear-gradient(115deg, transparent 0%, rgba(18, 201, 255, 0.18) 42%, transparent 68%);
}

.achievement-grid div::after {
  content: "";
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--blue-700), var(--cyan));
  transition: transform 0.64s ease;
  transition-delay: var(--achievement-delay);
}

.achievement-grid div.is-visible::before {
  animation: achievementCardSweep 1.05s ease forwards;
  animation-delay: var(--achievement-delay);
}

.achievement-grid div.is-visible::after {
  transform: scaleX(1);
}

.achievement-grid div.reveal.is-visible:hover {
  transform: translateY(-5px);
  border-color: rgba(18, 201, 255, 0.42);
  box-shadow: 0 18px 38px rgba(7, 50, 116, 0.14);
}

.achievement-grid strong {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--blue-700);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-shadow: 0 10px 24px rgba(9, 102, 214, 0.14);
}

.achievement-grid span {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

@keyframes achievementGridDrift {
  to {
    background-position: 44px 44px, -44px 44px;
  }
}

@keyframes achievementCardSweep {
  0% {
    opacity: 0;
    transform: translateX(-120%);
  }
  32% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

/* Đối tác công nghệ */
.partner-row {
  position: relative;
  overflow: hidden;
  padding-bottom: 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.partner-marquee {
  display: flex;
  width: max-content;
  animation: partnerScroll 34s linear infinite;
}

.partner-row:hover .partner-marquee {
  animation-play-state: paused;
}

@keyframes partnerScroll {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .partner-marquee { animation: none; }
  .hero-stats.is-visible,
  .hero-stats.is-visible::before,
  .achievements-section::before,
  .achievement-grid div.is-visible::before {
    animation: none;
  }

  .hero-stats.counters-ready div {
    opacity: 1;
    transform: none;
  }

  .reveal,
  .hero-stats div,
  .achievement-grid div,
  .achievement-grid div::after {
    transition: none;
  }
}

.partner-item {
  flex: 0 0 auto;
  width: 150px;
  min-height: 64px;
  margin-right: 12px;
  margin-bottom: 12px;
  display: grid;
  place-items: center;
  padding: 10px;
  color: var(--blue-900);
  font-weight: 800;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
}

.partner-item img {
  height: 60px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(35%);
  opacity: 0.9;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.partner-item:hover img {
  filter: none;
  opacity: 1;
}

/* Tin tức & Insights */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover,
.news-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(7, 95, 196, 0.42);
  box-shadow: 0 20px 40px rgba(7, 50, 116, 0.16);
}

.news-card:focus-visible {
  outline: 3px solid rgba(55, 213, 255, 0.58);
  outline-offset: 3px;
}

.news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #dff3ff;
}

.news-card div {
  padding: 18px;
}

.news-card span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 9px;
  color: var(--white);
  background: var(--blue-700);
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.news-readmore {
  display: inline-flex;
}

/* CTA */
.cta-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(22px, 5vw, 74px);
  color: var(--white);
  border-radius: 10px;
  background:
    radial-gradient(circle at 88% 120%, rgba(116, 51, 255, 0.62), transparent 18rem),
    linear-gradient(135deg, #05255b, #075fc4 48%, #031638);
  box-shadow: var(--shadow);
}

.cta-section h2 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.cta-section p {
  margin: 0;
  color: #d6efff;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  color: #d7ecff;
  background: #031831;
  padding: 44px max(16px, calc((100vw - 1180px) / 2)) 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(5, minmax(96px, 1fr)) minmax(204px, 1.8fr);
  gap: 28px;
}

.footer-brand {
  margin-bottom: 18px;
}

.site-footer p {
  max-width: 350px;
  color: #9fbed9;
  font-size: 0.9rem;
  line-height: 1.7;
}

.site-footer h3 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.site-footer a:not(.brand) {
  display: block;
  margin-bottom: 10px;
  color: #a9c7e3;
  font-size: 0.86rem;
}

.socials {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.socials a {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 42px;
  height: 42px;
  display: grid !important;
  place-items: center;
  margin: 0 !important;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 24%, rgba(125, 204, 255, 0.5), transparent 34%),
    linear-gradient(145deg, #0a79e7 0%, #0646aa 55%, #03246f 100%);
  border: 1px solid rgba(112, 190, 255, 0.56);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 -8px 14px rgba(1, 18, 74, 0.48),
    0 10px 20px rgba(0, 74, 177, 0.26);
  color: var(--white) !important;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 2px 7px rgba(2, 15, 60, 0.5);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.socials a::before {
  content: "";
  position: absolute;
  inset: 5px;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 42%),
    radial-gradient(circle at 50% 84%, rgba(37, 129, 255, 0.42), transparent 52%);
  border: 1px solid rgba(170, 221, 255, 0.18);
}

.socials a:hover {
  transform: translateY(-2px);
  border-color: rgba(177, 225, 255, 0.8);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 -8px 14px rgba(1, 18, 74, 0.46),
    0 13px 24px rgba(0, 97, 218, 0.34);
}

.socials a[aria-label="Facebook"] {
  align-items: end;
  padding-bottom: 5px;
  font-size: 1.72rem;
}

.socials a[aria-label="LinkedIn"] {
  padding-top: 1px;
  font-size: 1.28rem;
}

.socials a[aria-label="YouTube"] {
  font-size: 0;
}

.socials a[aria-label="YouTube"]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 25px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 26'%3E%3Crect width='36' height='26' rx='6' fill='white'/%3E%3Cpath d='M15 8l9 5-9 5z' fill='%230856b5'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 2px 6px rgba(2, 15, 60, 0.42));
  transform: translate(-50%, -50%);
}

.socials a[aria-label="Zalo"] {
  font-size: 0.92rem;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(142, 203, 255, 0.18);
  color: #8aa9c7;
  font-size: 0.8rem;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 45;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background: rgba(2, 12, 30, 0.46);
  backdrop-filter: blur(4px);
}

@media (max-width: 1100px) {
  @keyframes mobileMenuDown {
    0% {
      opacity: 0;
      transform: translateY(-26px) scaleY(0.96);
    }

    64% {
      opacity: 1;
      transform: translateY(7px) scaleY(1.02);
    }

    82% {
      transform: translateY(-3px) scaleY(0.995);
    }

    100% {
      opacity: 1;
      transform: translateY(0) scaleY(1);
    }
  }

  @keyframes mobileMenuUp {
    0% {
      opacity: 1;
      transform: translateY(0) scaleY(1);
    }

    100% {
      opacity: 0;
      transform: translateY(-24px) scaleY(0.96);
    }
  }

  @keyframes mobileOverlayIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @keyframes mobileOverlayOut {
    from { opacity: 1; }
    to { opacity: 0; }
  }

  .navbar {
    position: relative;
    width: 100%;
    padding-inline: 16px 8px;
    gap: 16px;
  }

  .brand {
    flex: 0 1 auto;
    min-width: 0;
  }

  .nav-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 2;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 18px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    background: rgba(5, 21, 50, 0.98);
    border-top: 1px solid rgba(80, 172, 255, 0.18);
    box-shadow: 0 22px 48px rgba(2, 12, 30, 0.36);
    transform: translateY(-24px);
    transform-origin: top center;
  }

  .nav-toggle {
    flex: 0 0 42px;
    display: block;
    margin-left: auto;
  }

  .site-header.menu-open,
  .site-header.menu-closing {
    background: rgba(5, 21, 50, 0.98);
  }

  .site-header.menu-open .navbar,
  .site-header.menu-closing .navbar {
    height: 72px;
    flex-wrap: nowrap;
    padding-bottom: 0;
  }

  .site-header.menu-open .nav-panel,
  .site-header.menu-closing .nav-panel {
    visibility: visible;
    pointer-events: auto;
  }

  .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-menu a {
    padding: 14px 4px;
    border-bottom: 1px solid rgba(80, 172, 255, 0.12);
  }

  .nav-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 4px 0;
  }

  .site-header.menu-open .nav-panel {
    opacity: 1;
    animation: mobileMenuDown 0.48s cubic-bezier(0.2, 0.9, 0.25, 1.1) both;
  }

  .site-header.menu-closing .nav-panel {
    animation: mobileMenuUp 0.28s ease-in both;
  }

  .site-header.menu-open + .nav-overlay,
  .site-header.menu-closing + .nav-overlay {
    visibility: visible;
    pointer-events: auto;
  }

  .site-header.menu-open + .nav-overlay {
    opacity: 1;
    animation: mobileOverlayIn 0.24s ease both;
  }

  .site-header.menu-closing + .nav-overlay {
    animation: mobileOverlayOut 0.24s ease both;
  }
  .hero-overlay {
    left: -400px;
    background: rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(6px);
    /* height: 3000px; */
  }

  .hero-inner,
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 31px;
  }

  .hero-content,
  .hero-stats {
    grid-column: 1;
  }

  .hero-command {
    display: none;
    /* grid-column: 1;
    justify-self: center;
    --hero-command-width: 320px; */
  }

  .hero-content {
    justify-self: center;
    color: #eaf7ff;
    text-align: center;
    text-shadow: 0 2px 18px rgba(2, 12, 30, 0.42);
  }

  .hero-content .eyebrow {
    color: #66d8ff;
    justify-content: center;
    text-shadow: none;
  }

  .hero-content .eyebrow::before {
    background: #66d8ff;
  }

  .hero-content h1 {
    color: #f7fbff;
  }

  .hero-content h2 {
    color: #21c8ff;
  }

  .hero-copy {
    color: #dbeaf7;
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-content .btn-outline {
    color: #f1f8ff;
    border-color: rgba(143, 214, 255, 0.7);
    background: rgba(5, 21, 50, 0.4);
  }

  .hero-stats {
    width: fit-content;
    max-width: 100%;
    /* margin-inline: 0 auto; */
  }


  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .application-grid,
  .three-column {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-panel {
    grid-column: 1 / -1;
  }

  .workflow {
    grid-template-columns: repeat(3, 1fr);
  }

  .workflow-step:nth-child(3)::after {
    display: none;
  }

  .news-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .navbar {
    width: 100%;
  }


  .brand-sub {
    font-size: 0.45rem;
  }

  .hero {
    min-height: var(--hero-min-height);
    padding-top: 48px;
  }


  .feature-strip,
  .achievement-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    width: min(100%, 520px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 auto;
  }

  .hero-stats div {
    min-width: 0;
    padding: 14px 10px;
    white-space: normal;
  }

  .hero-stats div:nth-child(even) {
    border-right: 0;
  }

  .hero-stats div:nth-child(n + 3) {
    border-top: 1px solid rgba(11, 50, 116, 0.12);
  }

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

  .application-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .three-column,
  .news-grid {
    grid-template-columns: 1fr;
  }

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

  .workflow-step::after {
    display: none;
  }

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

  .news-card {
    grid-template-columns: 1fr;
  }

  .news-card img {
    height: 180px;
  }

  .cta-section,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 3.1rem;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .feature-strip,
  .capability-grid,
  .achievement-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .achievement-grid {
    grid-template-columns: repeat(1, 1fr);
  }

}
