:root {
  --bg: #04122d;
  --bg-2: #071b41;
  --panel: #0a224f;
  --panel-soft: #0d2a61;
  --line: rgba(255,255,255,.12);
  --text: #f5f8ff;
  --muted: #b8c5dc;
  --blue: #1d8fff;
  --cyan: #35d9ff;
  --orange: #ff7b19;
  --white: #fff;
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(27, 139, 255, .15), transparent 25%),
    radial-gradient(circle at 90% 25%, rgba(53, 217, 255, .08), transparent 22%),
    var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 9999;
  background: var(--white);
  color: #111;
  padding: 10px 14px;
  border-radius: 10px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  transition: background .2s ease, border-color .2s ease, backdrop-filter .2s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(3, 15, 38, .86);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 24px rgba(41, 169, 255, .25);
}
.brand strong { display: block; letter-spacing: .08em; line-height: 1.05; }
.brand span { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; letter-spacing: .03em; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: #dbe7fa; font-size: 14px; font-weight: 650; transition: color .18s ease; }
.nav a:hover { color: var(--cyan); }
.nav .nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #03162f;
  font-weight: 800;
}
.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
}
.menu-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url('../images/brand/hero.webp') center 36% / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(2, 11, 28, .16) 0%, rgba(2, 11, 28, .18) 45%, rgba(3, 15, 38, .94) 92%, var(--bg) 100%),
    linear-gradient(90deg, rgba(3, 15, 38, .18), transparent 35%, rgba(3, 15, 38, .18));
}
.hero-glow {
  position: absolute;
  width: 440px;
  height: 440px;
  right: 4%;
  bottom: -190px;
  border-radius: 50%;
  background: rgba(20, 151, 255, .24);
  filter: blur(80px);
  z-index: -1;
}
.hero-inner {
  padding-top: 150px;
  padding-bottom: 74px;
}
.hero-copy {
  max-width: 720px;
  background: linear-gradient(135deg, rgba(4, 18, 45, .9), rgba(4, 18, 45, .68));
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(14px);
  padding: 30px;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .16em;
  font-weight: 850;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 9px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
  margin: 14px 0 18px;
  letter-spacing: -.04em;
}
.hero p {
  margin: 0;
  color: #d7e4f6;
  font-size: clamp(16px, 2vw, 19px);
  max-width: 620px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-proof {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  color: var(--muted);
  font-size: 13px;
}
.hero-proof span { display: inline-flex; gap: 8px; align-items: center; }
.hero-proof i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(135deg, var(--orange), #ffae2f);
  color: #1b1107;
  box-shadow: 0 12px 36px rgba(255, 123, 25, .25);
}
.btn--secondary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #03162f;
}
.btn--ghost { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.06); }
.btn--ghost:hover { background: rgba(255,255,255,.1); }

.section { padding: 96px 0; }
.section--soft { background: rgba(255,255,255,.025); border-block: 1px solid rgba(255,255,255,.06); }
.section-head {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px);
  gap: 36px;
  align-items: end;
  margin-bottom: 44px;
}
.section-head h2 {
  margin: 8px 0 0;
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.section-head p { margin: 0; color: var(--muted); }

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.value-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.02));
  position: relative;
  overflow: hidden;
}
.value-card::after {
  content: "";
  position: absolute;
  inset: auto -70px -70px auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(29, 143, 255, .16);
  filter: blur(18px);
}
.value-card .number { color: var(--cyan); font-weight: 850; font-size: 13px; letter-spacing: .12em; }
.value-card h3 { margin: 18px 0 8px; font-size: 20px; }
.value-card p { margin: 0; color: var(--muted); font-size: 14px; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter-btn {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  padding: 10px 15px;
  border-radius: 999px;
  cursor: pointer;
  color: #d6e1f4;
  font-weight: 750;
  font-size: 13px;
  transition: .18s ease;
}
.filter-btn:hover, .filter-btn.is-active {
  background: linear-gradient(135deg, rgba(29,143,255,.28), rgba(53,217,255,.13));
  border-color: rgba(53,217,255,.42);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.product-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(14,43,93,.92), rgba(7,25,60,.94));
  box-shadow: 0 12px 40px rgba(0,0,0,.16);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(53,217,255,.38);
  box-shadow: 0 22px 60px rgba(0,0,0,.26);
}
.product-media {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background: #edf7ff;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-media img { transform: scale(1.025); }
.product-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(4,18,45,.84);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  padding: 7px 10px;
  border-radius: 999px;
  color: #dff8ff;
  font-size: 11px;
  font-weight: 800;
}
.product-card__body { padding: 22px; }
.product-card h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.25; }
.product-card p { margin: 0; color: var(--muted); font-size: 14px; }
.mini-specs { margin: 18px 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.mini-specs li { color: #dce9fb; font-size: 13px; display: flex; align-items: flex-start; gap: 9px; }
.mini-specs li::before { content: ""; width: 6px; height: 6px; flex: 0 0 6px; margin-top: 7px; border-radius: 50%; background: var(--cyan); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: none;
  padding: 0;
  color: var(--cyan);
  font-weight: 800;
  cursor: pointer;
}
.text-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .18s ease; }
.text-link:hover svg { transform: translateX(4px); }

.feature-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
  gap: 38px;
  align-items: center;
  padding: 34px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(15,56,123,.72), rgba(5,24,58,.9));
  border: 1px solid rgba(53,217,255,.18);
  box-shadow: var(--shadow);
}
.feature-panel__image {
  overflow: hidden;
  border-radius: 22px;
  background: #eaf7ff;
  min-height: 420px;
}
.feature-panel__image img { width: 100%; height: 100%; object-fit: cover; }
.feature-panel h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.05; margin: 12px 0 16px; }
.feature-panel p { color: var(--muted); }
.feature-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.stat {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.08);
}
.stat strong { display: block; font-size: 22px; color: #fff; }
.stat span { font-size: 12px; color: var(--muted); }

.application-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.application-card {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
}
.application-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.application-card div { padding: 16px 18px 18px; }
.application-card strong { display: block; font-size: 15px; }
.application-card span { color: var(--muted); font-size: 13px; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.process-card {
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
}
.process-card b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #03162f;
  margin-bottom: 18px;
}
.process-card h3 { margin: 0 0 8px; font-size: 18px; }
.process-card p { margin: 0; color: var(--muted); font-size: 14px; }

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 44px;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #0b3e93, #0c6db8 56%, #09b9d9);
  box-shadow: var(--shadow);
}
.cta-panel::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -180px;
  top: -180px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
}
.cta-panel h2 { margin: 0 0 10px; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; }
.cta-panel p { margin: 0; color: rgba(255,255,255,.82); max-width: 720px; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; min-width: 220px; position: relative; z-index: 1; }

.site-footer {
  padding: 48px 0 24px;
  border-top: 1px solid var(--line);
  background: #020c20;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  gap: 34px;
}
.footer-brand { max-width: 420px; }
.footer-brand p, .footer-col p { color: var(--muted); margin: 12px 0 0; font-size: 14px; }
.footer-col h3 { margin: 0 0 12px; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: #eaf4ff; }
.footer-col a { display: block; color: var(--muted); margin: 8px 0; font-size: 14px; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); color: #7f91ad; font-size: 12px; }

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  display: grid;
  gap: 10px;
}
.floating-contact a {
  min-width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 14px 34px rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.18);
}
.floating-contact .call { background: var(--orange); color: #211006; }
.floating-contact .zalo { background: #087cf2; color: #fff; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0, 6, 18, .78);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .18s ease;
}
.modal[hidden] { display: none; }
.modal.is-open { opacity: 1; }
.modal-dialog {
  position: relative;
  width: min(1060px, 100%);
  max-height: min(88vh, 820px);
  overflow: auto;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 26px;
  background: #071a40;
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
}
.modal-close {
  position: sticky;
  top: 14px;
  float: right;
  margin: 14px 14px 0 0;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(4,18,45,.88);
  border-radius: 12px;
  cursor: pointer;
  z-index: 2;
}
.modal-product { display: grid; grid-template-columns: .88fr 1.12fr; min-height: 620px; }
.modal-product__image { background: #eef8ff; min-height: 100%; }
.modal-product__image img { width: 100%; height: 100%; object-fit: cover; }
.modal-product__content { padding: 44px 36px; }
.modal-product h2 { margin: 8px 0 12px; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; }
.modal-lead { color: var(--muted); margin: 0 0 24px; }
.spec-table { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.spec-row { display: grid; grid-template-columns: 170px 1fr; gap: 14px; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 13px; }
.spec-row:last-child { border-bottom: 0; }
.spec-row strong { color: #e8f3ff; }
.spec-row span { color: var(--muted); }
.modal-use { margin-top: 18px; color: var(--muted); font-size: 14px; }
.modal-use strong { color: #fff; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .hero { min-height: 720px; }
  .value-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-panel { grid-template-columns: 1fr; }
  .feature-panel__image { min-height: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .modal-product { grid-template-columns: 1fr; }
  .modal-product__image { max-height: 420px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--container)); }
  .site-header { background: rgba(3,15,38,.82); backdrop-filter: blur(14px); }
  .header-inner { min-height: 68px; }
  .brand img { width: 40px; height: 40px; }
  .brand span { display: none; }
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(4,18,45,.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px; border-radius: 12px; }
  .nav .nav-cta { text-align: center; }
  .hero {
    min-height: 700px;
    background: #04122d;
  }
  .hero::before { background-position: center top; background-size: auto 68%; background-repeat: no-repeat; }
  .hero::after {
    background: linear-gradient(180deg, rgba(3,15,38,.05) 0%, rgba(3,15,38,.25) 38%, rgba(3,15,38,.94) 66%, var(--bg) 100%);
  }
  .hero-inner { padding-top: 365px; padding-bottom: 52px; }
  .hero-copy { padding: 22px; border-radius: 22px; }
  .hero h1 { font-size: clamp(32px, 11vw, 48px); }
  .hero-proof { gap: 10px 18px; }
  .section { padding: 72px 0; }
  .section-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 32px; }
  .value-grid, .product-grid, .application-grid, .process-grid { grid-template-columns: 1fr; }
  .product-card { border-radius: 20px; }
  .feature-panel { padding: 20px; border-radius: 24px; gap: 24px; }
  .feature-panel__image { min-height: 290px; }
  .feature-stats { grid-template-columns: 1fr 1fr; }
  .cta-panel { grid-template-columns: 1fr; padding: 28px; border-radius: 24px; }
  .cta-actions { min-width: 0; flex-direction: row; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .floating-contact { right: 12px; bottom: 12px; }
  .floating-contact a { height: 46px; min-width: 46px; border-radius: 14px; padding: 0 12px; }
  .modal { padding: 12px; }
  .modal-dialog { border-radius: 20px; max-height: 94vh; }
  .modal-product__content { padding: 26px 18px 28px; }
  .modal-product__image { max-height: 300px; }
  .spec-row { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 420px) {
  .hero-actions .btn { width: 100%; }
  .feature-stats { grid-template-columns: 1fr; }
  .cta-actions .btn { width: 100%; }
  .floating-contact a { font-size: 0; width: 48px; }
  .floating-contact a::after { font-size: 18px; }
  .floating-contact .call::after { content: "☎"; }
  .floating-contact .zalo::after { content: "Z"; font-weight: 900; }
}
