:root {
  --teal: #00a39b;
  --teal-dark: #00857f;
  --blue: #2b5daa;
  --navy: #0d3b7a;
  --sky: #298ed0;
  --ink: #0f172a;
  --muted: #5b6b80;
  --line: #e2e8f0;
  --bg: #f5f8fc;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(13, 59, 122, 0.12);
  --header: 72px;
  --font: "Be Vietnam Pro", "Segoe UI", system-ui, sans-serif;
  --display: "Be Vietnam Pro", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--teal-dark); }
h1, h2, h3, .brand-name { font-family: var(--display); letter-spacing: 0; }
.container { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 32px)); }
.skip-link {
  position: absolute; left: -999px; top: 8px;
}
.skip-link:focus { left: 8px; background: #fff; padding: 8px 12px; z-index: 100; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header); gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; color: inherit; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 1.15rem; color: var(--blue); }
.brand-name em { color: var(--teal); font-style: normal; }
.brand-tag { font-size: .68rem; color: var(--muted); font-weight: 500; }
.site-nav { display: flex; align-items: center; gap: 6px 18px; }
.site-nav a { color: var(--ink); font-weight: 500; font-size: .95rem; }
.site-nav a.is-active { color: var(--blue); }
.nav-toggle {
  display: none; background: none; border: 0; width: 42px; height: 42px;
  flex-direction: column; justify-content: center; gap: 6px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; border-radius: 999px; padding: 11px 20px;
  font-weight: 700; font-size: .92rem; border: 1px solid transparent;
  cursor: pointer; font-family: inherit; transition: .2s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--teal), var(--sky)); color: #fff; box-shadow: 0 10px 24px rgba(0,163,155,.28); }
.btn-primary:hover { color: #fff; transform: translateY(-1px); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--navy); }
.btn-ghost { background: #eef4ff; color: var(--blue); }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: wait; }

.hero {
  position: relative; overflow: hidden;
  padding: 56px 0 80px;
  background: linear-gradient(180deg, #eef7fb 0%, #ffffff 72%);
}
.hero-bg {
  position: absolute; inset: -20% -10% auto;
  height: 520px;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(0,163,155,.18), transparent 50%),
    radial-gradient(ellipse at 80% 0%, rgba(43,93,170,.2), transparent 45%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: .06em; font-size: .75rem;
  font-weight: 700; color: var(--teal-dark); margin: 0 0 10px;
}
.hero h1, .page-hero h1 {
  font-size: clamp(1.85rem, 3.6vw, 2.85rem); line-height: 1.32; margin: 0 0 16px;
}
h2 { line-height: 1.35; }
h3 { line-height: 1.4; }
.hero h1 em { font-style: normal; color: var(--teal); }
.lead { font-size: 1.12rem; color: var(--muted); margin: 0 0 20px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 22px 0 0; list-style: none; color: var(--muted); font-size: .88rem; font-weight: 600; }
.trust-row li { position: relative; padding-left: 14px; }
.trust-row li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-card {
  background: var(--card); border-radius: 24px; padding: 26px;
  box-shadow: var(--shadow); border: 1px solid #edf2f7;
}
.register-panel { max-width: 440px; margin: 3rem auto 0; }

.showcase { padding: 8px 0 56px; }
.showcase-stage {
  background: linear-gradient(165deg, #0d3b7a 0%, #1a6a9a 48%, #00a39b 100%);
  border-radius: 28px; padding: 36px 28px 0; text-align: center;
  overflow: hidden;
}
.showcase-kicker {
  margin: 0 0 20px; color: rgba(255,255,255,.88); font-weight: 600; font-size: .95rem;
}
.showcase-caps {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  list-style: none; margin: 22px 0 0; padding: 0 0 28px;
}
.showcase-caps li {
  background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.22); border-radius: 999px;
  padding: 8px 14px; font-size: .85rem; font-weight: 600;
}
.showcase-mini {
  background: linear-gradient(165deg, #0d3b7a, #00a39b);
  border-radius: 20px; padding: 24px 12px 8px;
  display: grid; place-items: center;
}
.showcase-mini img { width: min(280px, 100%); margin-inline: auto; }
.showcase-mini-web img { width: 100%; max-width: none; }
.showcase-mini-cap {
  margin: 10px 0 4px; text-align: center; color: rgba(255,255,255,.88);
  font-size: .85rem; font-weight: 600;
}
.phone-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; align-items: end;
  list-style: none; margin: 0; padding: 4px 8px 0;
}
.phone-shot { margin: 0; }
.phone-shot img {
  width: min(100%, 300px); margin-inline: auto;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.3));
}
.phone-row .is-hero { transform: translateY(-20px) scale(1.06); z-index: 1; }
.phone-shot figcaption {
  color: rgba(255,255,255,.92); font-weight: 600; font-size: .88rem;
  margin: 2px 0 22px;
}
.pain-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.pain-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px;
}
.pain-card h3 { margin: 0 0 8px; font-size: 1.12rem; }
.pain-card p { margin: 0; color: var(--muted); }
.split-visual {
  display: grid; place-items: center; margin: 0;
  background: linear-gradient(165deg, #0d3b7a, #1a6a9a 48%, #00a39b);
  border: 0; border-radius: 24px; padding: 28px 16px 10px;
}
.split-visual img {
  width: min(320px, 100%); border-radius: 0; background: transparent;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.28));
}
.split-visual.is-web { padding: 16px 12px 8px; }
.split-visual.is-web img {
  width: 100%; max-width: none;
  filter: drop-shadow(0 14px 24px rgba(0,0,0,.28));
}
.desk-shot { margin: 0 8px 4px; }
.desk-shot img {
  width: min(1100px, 100%); margin-inline: auto;
  filter: drop-shadow(0 22px 36px rgba(0,0,0,.32));
}

.register-form__eyebrow { margin: 0; color: var(--teal-dark); font-weight: 700; font-size: .8rem; }
.register-form__title { margin: 6px 0 8px; font-size: 1.35rem; }
.register-form__lead { color: var(--muted); margin: 0 0 18px; font-size: .95rem; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 6px; }
.optional { color: var(--muted); font-weight: 400; }
.field input {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; font: inherit; background: #fbfcfe;
}
.field input:focus { outline: 2px solid rgba(0,163,155,.35); border-color: var(--teal); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); margin: 8px 0 14px; }
.check input { margin-top: 4px; }
.form-msg { font-size: .88rem; margin: 0 0 10px; }
.form-msg.is-error { color: #b42318; }
.form-msg.is-ok { color: var(--teal-dark); }
.register-form__login { text-align: center; font-size: .9rem; color: var(--muted); margin: 14px 0 0; }

.section { padding: 80px 0; }
.section-tight { padding-top: 24px; }
.section-alt { background: var(--bg); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head-left { text-align: left; margin-left: 0; max-width: 640px; }
.section-head-split {
  display: flex; justify-content: space-between; align-items: end; gap: 16px;
  text-align: left; max-width: none; margin-bottom: 32px;
}
.section-head h2, .page-hero h1 { margin: 0 0 10px; }
.section-head p, .section-head-left p { color: var(--muted); margin: 0; }
.feature-grid, .blog-grid, .price-grid {
  display: grid; gap: 20px;
}
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.card, .blog-card, .price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.icon-wrap {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 800;
  background: #e8f8f6; color: var(--teal-dark); margin-bottom: 12px;
}
.card h3, .blog-card h2, .blog-card h3 { margin: 0 0 8px; font-size: 1.12rem; }
.card p, .blog-card p { margin: 0; color: var(--muted); }
.center { text-align: center; }
.mt-lg { margin-top: 28px; }

.price-grid { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
.price-card { position: relative; }
.price-card.is-featured {
  border-color: transparent;
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(135deg, var(--teal), var(--blue)) border-box;
  border: 2px solid transparent;
  box-shadow: var(--shadow);
}
.badge {
  position: absolute; top: 16px; right: 16px; margin: 0;
  background: var(--navy); color: #fff; font-size: .72rem; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
}
.price { font-size: 2.2rem; font-weight: 800; margin: 4px 0 16px; color: var(--navy); }
.price span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price-period { color: var(--muted); margin: 0; }
.price-card ul { padding: 0; margin: 0 0 20px; list-style: none; }
.price-card li { padding: 8px 0; border-bottom: 1px dashed var(--line); }

.download { background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; }
.download-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; flex-wrap: wrap; }
.download h2 { margin: 0 0 8px; }
.download p { margin: 0; opacity: .9; }
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.store-badges img { height: 48px; width: auto; }

.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 4px 18px; margin-bottom: 10px;
}
.faq-item summary { cursor: pointer; font-weight: 700; padding: 14px 0; }
.faq-item p { color: var(--muted); margin: 0 0 14px; }

.cta-band { padding-top: 0; }
.cta-band-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  background: #0d3b7a; color: #fff; border-radius: 24px; padding: 32px 36px;
}
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; opacity: .85; }

.page-hero {
  padding: 48px 0 24px;
  background: linear-gradient(180deg, #eef7fb, #fff);
}
.prose { max-width: 760px; }
.prose.article { margin-inline: auto; }
.prose h2 { margin-top: 1.8em; }
.feature-list { display: grid; gap: 16px; }
.feature-row {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px;
}
.feature-row h2 { margin: 0 0 8px; font-size: 1.25rem; }
.feature-row p { margin: 0; color: var(--muted); }
.contact-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch;
}
.contact-panel {
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px;
  display: flex; flex-direction: column;
}
.contact-panel h2 { margin: 0 0 8px; }
.contact-lead { margin: 0 0 8px; }
.channel-list { display: grid; gap: 10px; margin-top: 8px; }
.channel {
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto;
  gap: 2px 12px; padding: 14px 16px; color: inherit;
  border: 1px solid var(--line); border-radius: 14px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.channel:hover {
  color: inherit; border-color: #b7e4e0; background: #f7fbfb;
  box-shadow: 0 8px 20px rgba(13, 59, 122, .06);
}
.channel-label { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-dark); }
.channel-value { grid-column: 1; font-weight: 700; font-size: 1.02rem; }
.channel-hint { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--muted); font-size: .82rem; text-align: right; }
.contact-meta {
  margin-top: auto; padding-top: 18px; color: var(--muted); font-size: .9rem;
}
.contact-meta p { margin: 0 0 8px; }
.contact-form { height: 100%; display: flex; flex-direction: column; }
.contact-form .register-form { flex: 1; }
.blog-grid { grid-template-columns: repeat(2, 1fr); }
.blog-grid-3 { grid-template-columns: repeat(3, 1fr); }
.blog-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.blog-card__cover { display: block; aspect-ratio: 16/9; background: #e8eef6; overflow: hidden; }
.blog-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: 18px 18px 20px; }
.blog-card .meta { color: var(--teal-dark); font-size: .8rem; font-weight: 700; margin: 0 0 8px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.blog-card .meta a { color: inherit; }
.blog-card h3 { margin: 0 0 8px; font-size: 1.12rem; line-height: 1.35; }
.blog-card h3 a { color: inherit; }
.blog-card h3 a:hover { color: var(--blue); }
.text-link { display: inline-block; margin-top: 12px; font-weight: 700; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step-card, .feature-block, .about-aside {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px;
}
.step-num {
  display: inline-block; font-family: var(--display); font-weight: 800;
  color: var(--teal); font-size: .9rem; letter-spacing: .08em; margin-bottom: 10px;
}
.step-card h2, .feature-block h2 { margin: 0 0 8px; font-size: 1.15rem; }
.step-card p, .feature-block p { margin: 0; color: var(--muted); }

.bento {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px;
}
.bento-main {
  grid-row: span 2; background: linear-gradient(160deg, #0d3b7a, #2b5daa);
  color: #fff; border-radius: 20px; padding: 28px;
}
.bento-main .eyebrow { color: #9ee6e1; }
.bento-main h3 { margin: 0 0 10px; font-size: 1.5rem; }
.bento-main p { color: rgba(255,255,255,.82); }
.bento-main .text-link { color: #fff; }

.faq-layout { display: grid; grid-template-columns: .7fr 1.1fr; gap: 40px; align-items: start; }
.feature-blocks { display: grid; gap: 14px; max-width: 800px; }
.feature-block { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.about-grid .prose { max-width: none; }
.about-aside h2 { margin: 0 0 8px; }
.about-aside .btn { margin: 12px 0; }

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  margin-bottom: 64px;
}
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }
.split h2 { margin: 0 0 12px; }
.split > div > p { color: var(--muted); }
.feature-note {
  background: var(--bg); border: 1px solid var(--line); border-radius: 24px;
  padding: 28px 28px 24px;
}
.feature-note ol { margin: 8px 0 0; padding-left: 1.2em; color: var(--ink); }
.feature-note li { margin: 0 0 10px; }
.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  list-style: none; margin: 0; padding: 0;
}
.stat-row li {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 16px; text-align: center;
}
.stat-row strong { display: block; font-size: 1.25rem; color: var(--navy); }
.stat-row span { color: var(--muted); font-size: .85rem; }
.compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.compare article {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px;
}
.compare .is-hl {
  border-color: transparent;
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(135deg, var(--teal), var(--blue)) border-box;
  border: 2px solid transparent;
}
.compare h3 { margin: 0 0 12px; }
.compare ul { margin: 0; padding-left: 1.15em; color: var(--muted); }
.compare li { margin: 0 0 8px; }
.check-list { margin: 16px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 8px 0 8px 28px; color: var(--ink); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 14px; width: 14px; height: 14px;
  border-radius: 50%; background: #e8f8f6;
  box-shadow: inset 0 0 0 4px var(--teal);
}

.blog-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.search-box { display: flex; gap: 8px; margin-bottom: 20px; }
.search-box input {
  flex: 1; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit;
}
.cat-nav { display: flex; flex-direction: column; gap: 4px; }
.cat-nav__title { font-weight: 700; margin: 0 0 8px; }
.cat-nav a {
  color: var(--ink); padding: 8px 12px; border-radius: 10px; font-weight: 500;
}
.cat-nav a.is-active, .cat-nav a:hover { background: #e8f8f6; color: var(--teal-dark); }
.empty-state { color: var(--muted); padding: 40px 0; }
.pager { display: flex; gap: 16px; align-items: center; justify-content: center; margin-top: 32px; font-weight: 600; }

.article-layout { max-width: 760px; margin-inline: auto; }
.article-head { margin-bottom: 24px; }
.article-meta { color: var(--muted); }
.article-cover { margin: 0 0 28px; border-radius: 16px; overflow: hidden; }
.article-cover img { width: 100%; }
.prose.article img { border-radius: 12px; margin: 1em 0; }
.prose.article p, .prose.article li { color: #334155; }
.article-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2rem; }
.page-hero-compact { padding-bottom: 8px; }

.site-footer { background: #0a274f; color: #d5e2f3; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.1fr; gap: 32px; padding-bottom: 36px; }
.site-footer h2 { color: #fff; font-size: .95rem; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 8px; }
.site-footer a { color: #d5e2f3; }
.site-footer a:hover { color: #fff; }
.brand-footer { margin-bottom: 12px; }
.footer-about { max-width: 280px; }
.footer-bar {
  border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0 24px; font-size: .85rem;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}
.footer-bar p { margin: 0; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { color: #d5e2f3; }
.social { display: flex; gap: 12px; margin-top: 16px; }
.contact-list { font-size: .92rem; }

.float-contact {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  display: flex; flex-direction: column; gap: 8px;
}
.chip {
  color: #fff !important; border-radius: 999px; padding: 10px 14px;
  font-weight: 700; font-size: .85rem; box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.chip-zalo { background: #0068ff; }
.chip-face { background: #1877f2; }
.chip-call { background: var(--teal-dark); }

@media (max-width: 900px) {
  .hero-grid, .contact-split, .feature-grid, .blog-grid, .blog-grid-3, .footer-grid, .price-grid,
  .step-grid, .bento, .faq-layout, .about-grid, .blog-layout, .split, .split-reverse,
  .stat-row, .compare, .pain-grid {
    grid-template-columns: 1fr;
  }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .split-reverse { direction: ltr; }
  .showcase-stage { padding: 24px 16px 0; border-radius: 20px; }
  .phone-row {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 12px; padding: 8px 4px 0; -webkit-overflow-scrolling: touch;
  }
  .phone-row li { flex: 0 0 70%; scroll-snap-align: center; }
  .phone-row .is-hero { transform: none; flex-basis: 76%; }
  .bento-main { grid-row: auto; }
  .section-head-split { flex-direction: column; align-items: start; }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: var(--header);
    background: #fff; flex-direction: column; padding: 12px 16px 20px;
    border-bottom: 1px solid var(--line); align-items: stretch;
  }
  .site-nav.is-open { display: flex; }
  .site-nav .btn { width: 100%; }
  .hero { padding-top: 28px; }
  .float-contact { right: 10px; bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-primary:hover { transform: none; }
}
