:root {
  --page-bg: #f3f8f8;
  --surface: #ffffff;
  --surface-muted: #eaf5f5;
  --text: #17211f;
  --text-muted: #5d6965;
  --primary: #087c84;
  --primary-strong: #07545c;
  --accent: #d82c9f;
  --gold: #d8892d;
  --border: #d4e4e5;
  --hero: #092c4a;
  --hero-soft: #e8f4f5;
  --shadow: 0 12px 28px rgba(9, 44, 74, 0.1);
  --radius: 8px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Avenir Next", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--page-bg);
  line-height: 1.62;
}

a {
  color: inherit;
}

.container {
  width: min(var(--container), 92vw);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1.1;
}

.brand-copy strong {
  color: var(--primary-strong);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}

.brand-copy small {
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
}

.lang-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 8px;
  min-width: 62px;
  height: 38px;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
}

.promo-marquee {
  flex: 1;
  min-width: 180px;
  height: 38px;
  border: 1px solid #cddbd3;
  border-radius: 8px;
  overflow: hidden;
  background: #f8faf8;
  display: flex;
  align-items: center;
}

.promo-track {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  white-space: nowrap;
  color: var(--primary-strong);
  font-weight: 750;
  font-size: 0.92rem;
  padding-left: 18px;
  animation: promo-scroll 42s linear infinite;
}

.promo-track span::after {
  content: "/";
  margin-left: 26px;
  color: var(--accent);
}

@keyframes promo-scroll {
  from {
    transform: translateX(0);
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .promo-track {
    animation: none;
  }
}

.hero {
  padding: 70px 0 56px;
  background: var(--hero);
  color: #ffffff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: 42px;
  align-items: center;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #bde5db;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.08;
  margin: 0 0 18px;
}

.hero .subtitle {
  margin: 0 0 22px;
  color: #e7f3ef;
  font-size: 1.12rem;
  max-width: 650px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  text-decoration: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(198, 75, 111, 0.25);
}

.btn-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.46);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
  color: #f5fbf9;
}

.product-visual {
  position: relative;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  align-items: stretch;
  background: #f6fbf8;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.hero-icon {
  width: 112px;
  height: 112px;
  border-radius: 8px;
  object-fit: cover;
  align-self: center;
  justify-self: center;
  box-shadow: var(--shadow);
}

.hero-stat {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-stat strong {
  font-size: 2rem;
  line-height: 1;
  color: var(--primary-strong);
}

.hero-stat span {
  color: var(--text-muted);
  font-weight: 700;
}

.phone-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.phone-strip img {
  display: block;
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.screen-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.screen-card {
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.screen-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1320 / 2868;
  object-fit: cover;
  object-position: top center;
}

.screen-card figcaption {
  display: grid;
  gap: 4px;
  padding: 14px;
  color: var(--text-muted);
}

.screen-card figcaption strong {
  color: var(--text);
}

section {
  padding: 38px 0 12px;
}

.section-heading {
  margin: 0 0 20px;
  max-width: 850px;
}

.section-heading h2 {
  margin: 0 0 8px;
  font-size: 2rem;
  line-height: 1.18;
}

.section-heading p {
  margin: 0;
  color: var(--text-muted);
}

.grid {
  display: grid;
  gap: 14px;
}

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.card-emphasis {
  border-top: 3px solid var(--accent);
}

.card-product {
  border-top: 3px solid var(--gold);
}

.card h3 {
  margin: 0 0 10px;
  line-height: 1.28;
}

.card p {
  margin: 0;
  color: var(--text-muted);
}

.tag {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--primary-strong);
  font-weight: 850;
}

.feature-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--text-muted);
}

.feature-list li + li {
  margin-top: 6px;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.area-card {
  min-height: 86px;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 14px;
  font-weight: 800;
  color: #22302c;
  box-shadow: var(--shadow);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.workflow article {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
}

.workflow span {
  display: block;
  color: var(--accent);
  font-weight: 900;
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.workflow h3 {
  margin: 0 0 8px;
}

.workflow p {
  margin: 0;
  color: var(--text-muted);
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
}

.faq details + details {
  margin-top: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.faq p {
  margin: 10px 0 2px;
  color: var(--text-muted);
}

.store-list {
  display: grid;
  gap: 10px;
}

.store-item {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.store-item:last-child {
  border-bottom: 0;
}

.store-label {
  color: var(--text-muted);
  font-weight: 800;
}

.support {
  margin: 30px auto 44px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.support h2 {
  margin: 0 0 8px;
}

.support p {
  margin: 0 0 14px;
  color: var(--text-muted);
}

.page-main {
  padding: 44px 0 24px;
}

.page-card h1 {
  margin-top: 0;
  line-height: 1.18;
}

.page-card .eyebrow {
  color: var(--primary-strong);
}

.page-card h2 {
  margin-top: 24px;
}

.page-card p,
.page-card li {
  color: var(--text-muted);
}

footer {
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  padding: 18px 0 24px;
}

.footer-wrap {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto minmax(260px, 1fr);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-studio {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-monogram {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--hero);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.footer-studio strong,
.footer-studio span {
  display: block;
}

.footer-studio strong {
  color: var(--text);
  font-size: 0.92rem;
}

.footer-studio span {
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--primary-strong);
  text-decoration: none;
  font-weight: 800;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-note {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 360px;
  justify-self: end;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  grid-column: 1 / -1;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.74rem;
  white-space: nowrap;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.footer-legal strong {
  color: var(--primary-strong);
  letter-spacing: 0.08em;
}

.lang-section[data-lang-section="en"] {
  display: none;
}

html[lang="en"] .lang-section[data-lang-section="vi"] {
  display: none;
}

html[lang="en"] .lang-section[data-lang-section="en"] {
  display: block;
}

html[lang="en"] .lang-section[data-lang-section="en"].footer-inline {
  display: flex;
}

@media (max-width: 980px) {
  .hero {
    padding: 46px 0 38px;
  }

  .hero-grid,
  .grid-3,
  .grid-2,
  .area-grid,
  .workflow,
  .screen-gallery {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .promo-marquee {
    display: none;
  }

  .product-visual {
    grid-template-columns: 1fr;
  }

  .phone-strip img {
    max-height: 100%;
  }

  .store-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-wrap {
    grid-template-columns: 1fr;
  }

  .footer-note {
    justify-self: start;
  }

  .footer-legal {
    justify-content: flex-start;
    white-space: normal;
    flex-wrap: wrap;
  }

  .card,
  .support {
    padding: 18px;
  }
}

@media (max-width: 620px) {
  .topbar-inner {
    gap: 8px;
  }

  .hero h1 {
    font-size: 1.95rem;
  }

  .hero .subtitle {
    font-size: 1rem;
  }

  .section-heading h2 {
    font-size: 1.55rem;
  }

  .phone-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .phone-strip img {
    max-height: 100%;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --page-bg: #0b151d;
    --surface: #12202b;
    --surface-muted: #172c37;
    --text: #edf7f8;
    --text-muted: #bed0d4;
    --primary: #68d1d1;
    --primary-strong: #96e2e2;
    --accent: #f07aca;
    --gold: #efb15d;
    --border: #28404b;
    --hero: #061d35;
    --shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  }

  .topbar,
  footer {
    background: rgba(15, 22, 20, 0.9);
  }

  .promo-marquee,
  .phone-strip img,
  .product-visual,
  .area-card,
  .support,
  .screen-card {
    background: var(--surface);
  }

  .area-card {
    color: var(--text);
  }

  .hero-stat {
    background: #13231f;
  }
}
