:root {
  color-scheme: light;
  scroll-padding-block-start: 88px;
  --blue: #0969c3;
  --blue-dark: #0759a6;
  --blue-soft: #e8f3ff;
  --ink: #182638;
  --muted: #536579;
  --line: #dfe7ef;
  --surface: #f6f9fc;
  --shadow: 0 12px 36px #163c6310;
}

*, *::before { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 400 15px/1.65 "Be Vietnam Pro", sans-serif;
}
a { color: var(--blue-dark); }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, strong { line-height: 1.25; }
p { color: var(--muted); }
.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 3; top: 8px; left: 16px; padding: 10px; background: white; }
.skip-link:not(:focus) { clip-path: inset(50%); }
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 2;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.site-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-size: 21px; }
.site-brand img { object-fit: contain; border-radius: 9px; }
.section-nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 28px); }
.section-nav a { padding-block: 10px; color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; }
.section-nav a:hover, .footer-inner a:hover { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 4px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}
.button-primary { background: var(--blue); color: #fff; }
.button-primary:hover { background: var(--blue-dark); }
.button-outline { background: #fff; border-color: var(--line); color: var(--blue-dark); }
.button-outline:hover { background: var(--blue-soft); border-color: #b5d4f0; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.hero {
  padding-block: clamp(48px, 7vw, 104px);
  background: radial-gradient(ellipse at 85% 35%, #deefff, transparent 63%), linear-gradient(#fff, var(--surface));
  border-bottom: 1px solid var(--line);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; gap: clamp(24px, 4vw, 52px); }
.eyebrow { color: var(--blue-dark); font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.hero-copy h1 { margin: 12px 0 18px; font-size: clamp(34px, 4.1vw, 56px); letter-spacing: -.045em; }
.hero-copy h1 span { display: block; color: var(--blue-dark); text-wrap: balance; }
.hero-copy > p:not(.eyebrow) { max-width: 48ch; font-size: clamp(15px, 1.25vw, 17px); }
.hero-copy .actions { margin-top: 25px; }
.product-preview { display: block; overflow: hidden; border: 1px solid #c9ddf0; border-radius: 16px; background: #fff; box-shadow: 0 22px 56px #1347751a; text-decoration: none; cursor: zoom-in; }
.product-preview:hover { border-color: var(--blue); }
.product-preview img { display: block; width: 100%; height: auto; }
.product-preview figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 12px;
  min-height: 44px;
  padding: 8px 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.preview-action { color: var(--blue-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.section { padding-block: clamp(48px, 6.5vw, 82px); }
.section-heading { max-width: 660px; margin-bottom: 26px; }
.section-heading h2, .final-panel h2 { margin-top: 7px; font-size: clamp(25px, 3vw, 38px); letter-spacing: -.035em; }
.section-heading > p:not(.eyebrow), .final-panel p { margin-top: 10px; }
.card-grid, .workflow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card, .workflow li { padding: clamp(16px, 2.4vw, 26px); border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.card { box-shadow: var(--shadow); }
.card h3, .workflow h3 { font-size: 17px; }
.card p, .workflow p { margin-top: 8px; font-size: 14px; }
.feature-icon { display: grid; width: 36px; height: 36px; place-items: center; margin-bottom: 14px; border-radius: 8px; background: var(--blue-soft); color: var(--blue-dark); font-size: 20px; font-weight: 700; }
.workflow-section { border-block: 1px solid var(--line); background: #edf5fd; }
.workflow { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.workflow li { counter-increment: step; }
.workflow li::before { content: counter(step); display: grid; width: 30px; height: 30px; place-items: center; margin-bottom: 14px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; }
.screenshot-section { border-bottom: 1px solid var(--line); background: #fff; }
.screenshot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.screenshot-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(12px, 2vw, 20px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.screenshot-card h3 { font-size: 17px; }
.screenshot-card p { margin-top: 5px; font-size: 14px; }
.screenshot-card a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  cursor: zoom-in;
}
.screenshot-card a:hover { border-color: var(--blue); }
.screenshot-card img { display: block; width: 100%; height: auto; }
.bot-grid .card { border-top: 3px solid #83b7e9; }
.bot-note { margin-top: 16px; font-size: 14px; }
.bot-note strong { color: var(--ink); }
.final-section { padding-bottom: clamp(42px, 6vw, 72px); }
.final-panel { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: clamp(18px, 4vw, 38px); border: 1px solid #cfe4f8; border-radius: 15px; background: var(--blue-soft); }
.final-panel h2 { margin-top: 0; }
.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner > div { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-inner > div a { padding-block: 8px; font-size: 13px; }

@media (max-width: 850px) {
  .hero-inner { grid-template-columns: 1fr; }
  .product-preview { width: min(100%, 560px); }
}
@media (max-width: 620px) {
  .container { width: calc(100% - 32px); }
  .card-grid, .workflow, .screenshot-grid { grid-template-columns: 1fr; gap: 10px; }
  .final-panel { align-items: start; flex-direction: column; }
  .footer-inner { flex-wrap: wrap; gap: 4px 14px; padding-block: 10px; }
}

.contact-section { padding-block-end: clamp(26px, 4vw, 50px); }
.final-section { padding-bottom: 18px; }
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px 28px;
  padding: clamp(16px, 3vw, 26px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.contact-panel h2 { margin-bottom: 8px; font-size: 20px; }
.contact-name { color: var(--ink); }
.contact-name span { color: var(--muted); font-size: 13px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 4px 17px; margin: 5px 0 10px; font-style: normal; }
.contact-links a { overflow-wrap: anywhere; font-size: 14px; }
.contact-credit, .contact-privacy { font-size: 13px; }
.contact-privacy { max-width: 67ch; margin-top: 3px; }
.contact-zalo { text-align: center; }
.contact-zalo-qr {
  position: relative;
  display: block;
  width: 164px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}
.contact-zalo img {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 168%;
  max-width: none;
  height: auto;
  transform: translate(-50%, -60.3%);
}
.contact-zalo figcaption { display: grid; justify-items: center; margin-top: 5px; color: var(--muted); font-size: 11px; }
.contact-zalo-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding-inline: 10px;
  font-size: 13px;
  font-weight: 600;
  text-underline-offset: 3px;
}
@media (max-width: 520px) {
  .contact-panel { grid-template-columns: minmax(0, 1fr); }
  .contact-zalo { justify-self: start; }
}

.section-nav .about-nav-link { color: var(--blue-dark); }
.about-us-section { padding-block: clamp(24px, 4vw, 52px); }
.about-us-section .section-heading { margin-bottom: 14px; }
.about-us-section .section-heading h2 { margin-top: 0; }
.about-us-topics { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.about-us-topics a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.about-us-topics a:hover { background: var(--blue-soft); }
.about-us-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.about-us-grid .card { grid-column: span 2; box-shadow: none; }
.about-us-grid .card:nth-last-child(-n+2) { grid-column: span 3; }
.about-us-grid .card:target { border-color: var(--blue); }
@media (max-width: 720px) {
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding-block: 8px 0; }
  .section-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; flex-wrap: wrap; gap: 0 12px; }
  .section-nav a { font-size: 12px; }
  :root { scroll-padding-block-start: 138px; }
  .about-us-grid { grid-template-columns: minmax(0, 1fr); }
  .about-us-grid .card, .about-us-grid .card:nth-last-child(-n+2) { grid-column: auto; }
}

@media (max-width: 370px) {
  :root { scroll-padding-block-start: 156px; }
}
