﻿*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 1rem;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

.hidden {
  display: none !important;
}

.landing-desktop-only {
  display: none;
}

@media (min-width: 1024px) {
  .landing-desktop-only {
    display: flex;
  }
}

.font-inter,
.landing-page {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.landing-page {
  min-height: 100vh;
  background: #fff;
  color: #0f172a;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.landing-page button,
.landing-page input,
.landing-page textarea,
.landing-page select {
  font: inherit;
  letter-spacing: inherit;
}

.landing-page img {
  max-width: 100%;
  height: auto;
}

.landing-page h1,
.landing-page h2,
.landing-page h3,
.landing-page h4,
.landing-page h5,
.landing-page h6 {
  margin: 0;
}

.landing-page main section[id] {
  scroll-margin-top: 5rem;
}

.seo-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:root {
  --landing-navy: #0b1e4a;
  --landing-primary: #2563eb;
  --landing-cyan: #38bdf8;
  --landing-dark-bg: url('/assets/landing/bg-dark.png');

  /* Typography tokens (match screenshot @ 1440px) */
  --t-body-lg-size: 1.125rem; /* 18px */
  --t-body-lg-line: 1.75rem;  /* 28px */

  --t-section-h2-size: 2.5rem; /* 40px */
  --t-section-h2-line: 3rem;   /* 48px */

  --t-hero-title-size: 3rem;    /* 48px */
  --t-hero-title-line: 3.5rem;  /* 56px */
  --t-hero-subtitle-size: 3.5rem; /* 56px */
  --t-hero-subtitle-line: 4rem;   /* 64px */
}

.landing-dark-bg {
  background-color: #071536;
  background-image: var(--landing-dark-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.landing-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
  color: #fff;
}

.landing-header--scrolled {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 4px 24px rgb(15 23 42 / 8%);
}

.landing-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.landing-header__brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  font-size: 1.125rem;
}

.landing-page .landing-header__logo {
  width: 2rem;
  height: 2rem;
  max-width: 2rem;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.landing-page .landing-header__logo--on-light {
  display: none;
}

.landing-page .landing-header--scrolled .landing-header__logo--on-dark {
  display: none;
}

.landing-page .landing-header--scrolled .landing-header__logo--on-light {
  display: block;
}

.landing-header__nav {
  align-items: center;
  gap: 2rem;
}

.landing-header__nav-link {
  padding: 0;
  background: none;
  border: none;
  color: inherit;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
  opacity: 0.9;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.landing-header__nav-link:hover {
  opacity: 1;
}

.landing-header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language switcher — transparent header (over hero) */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.25rem;
  border-radius: 9999px;
  flex-shrink: 0;
}

.lang-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  transition: all 0.2s;
  line-height: 1.25;
}

.lang-btn:hover {
  color: #ffffff;
}

.lang-btn.active {
  color: #ffffff;
  background: #2563eb;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

/* Language switcher — scrolled (light) header */
.landing-header--scrolled .lang-switcher {
  background: rgb(15 23 42 / 6%);
  border-color: rgb(15 23 42 / 12%);
}

.landing-header--scrolled .lang-btn {
  color: rgb(15 23 42 / 45%);
}

.landing-header--scrolled .lang-btn:hover {
  color: #0f172a;
}

.landing-header--scrolled .lang-btn.active {
  color: #ffffff;
  background: #2563eb;
}

/* Multilingual resilient CSS — default VI visible if JS fails */
.lang-vi {
  display: block;
}

.lang-en {
  display: none !important;
}

span.lang-vi,
a.lang-vi,
strong.lang-vi,
em.lang-vi {
  display: inline;
}

button.lang-vi,
.landing-header__nav-link.lang-vi,
.landing-header__login.lang-vi,
.landing-header__cta.lang-vi,
.hero__btn.lang-vi {
  display: inline-flex;
}

.hero__badge.lang-vi {
  display: inline-flex;
}

.features__badge.lang-vi,
.ai-copilot__badge.lang-vi,
.integrations__badge.lang-vi,
.mobile-app__badge.lang-vi,
.testimonials__badge.lang-vi,
.pricing__badge.lang-vi {
  display: inline-block;
}

li.lang-vi {
  display: list-item;
}

.testimonials__author strong.lang-vi,
.testimonials__author span.lang-vi {
  display: block;
}

body.active-lang-en .lang-vi {
  display: none !important;
}

body.active-lang-en .lang-en {
  display: block !important;
}

body.active-lang-en span.lang-en,
body.active-lang-en a.lang-en,
body.active-lang-en strong.lang-en,
body.active-lang-en em.lang-en {
  display: inline !important;
}

body.active-lang-en button.lang-en,
body.active-lang-en .landing-header__nav-link.lang-en,
body.active-lang-en .landing-header__login.lang-en,
body.active-lang-en .landing-header__cta.lang-en,
body.active-lang-en .hero__btn.lang-en,
body.active-lang-en .hero__badge.lang-en {
  display: inline-flex !important;
}

body.active-lang-en .features__badge.lang-en,
body.active-lang-en .ai-copilot__badge.lang-en,
body.active-lang-en .integrations__badge.lang-en,
body.active-lang-en .mobile-app__badge.lang-en,
body.active-lang-en .testimonials__badge.lang-en,
body.active-lang-en .pricing__badge.lang-en {
  display: inline-block !important;
}

body.active-lang-en li.lang-en {
  display: list-item !important;
}

body.active-lang-en .testimonials__author strong.lang-en,
body.active-lang-en .testimonials__author span.lang-en {
  display: block !important;
}

body.active-lang-vi .lang-en {
  display: none !important;
}

body.active-lang-vi .lang-vi {
  display: block;
}

body.active-lang-vi span.lang-vi,
body.active-lang-vi a.lang-vi,
body.active-lang-vi strong.lang-vi,
body.active-lang-vi em.lang-vi {
  display: inline;
}

body.active-lang-vi button.lang-vi,
body.active-lang-vi .landing-header__nav-link.lang-vi,
body.active-lang-vi .landing-header__login.lang-vi,
body.active-lang-vi .landing-header__cta.lang-vi,
body.active-lang-vi .hero__btn.lang-vi,
body.active-lang-vi .hero__badge.lang-vi {
  display: inline-flex;
}

body.active-lang-vi .features__badge.lang-vi,
body.active-lang-vi .ai-copilot__badge.lang-vi,
body.active-lang-vi .integrations__badge.lang-vi,
body.active-lang-vi .mobile-app__badge.lang-vi,
body.active-lang-vi .testimonials__badge.lang-vi,
body.active-lang-vi .pricing__badge.lang-vi {
  display: inline-block;
}

body.active-lang-vi li.lang-vi {
  display: list-item;
}

body.active-lang-vi .testimonials__author strong.lang-vi,
body.active-lang-vi .testimonials__author span.lang-vi {
  display: block;
}

/* Inline bilingual pairs inside flex/inline parents */
.lang-inline.lang-vi,
.lang-inline.lang-en {
  display: none !important;
}

body:not(.active-lang-en) .lang-inline.lang-vi {
  display: inline !important;
}

body.active-lang-en .lang-inline.lang-en {
  display: inline !important;
}

body.active-lang-en .lang-inline.lang-vi {
  display: none !important;
}

body.active-lang-vi .lang-inline.lang-en {
  display: none !important;
}

/* Keep desktop-only auth buttons hidden on small screens even when lang-active */
@media (max-width: 1023px) {
  .landing-header__login.landing-desktop-only,
  .landing-header__cta.landing-desktop-only {
    display: none !important;
  }
}

.landing-header__brand-text {
  white-space: nowrap;
  flex-shrink: 0;
}

.landing-header__login {
  background: none;
  border: none;
  color: inherit;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.landing-header--scrolled .landing-header__login {
  color: #2563eb;
}

.landing-header__cta {
  border: none;
  border-radius: 9999px;
  padding: 0.625rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  background: #2563eb;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  body.active-lang-vi .landing-header__inner {
    max-width: min(90rem, calc(100% - 2rem));
  }

  body.active-lang-vi .landing-header__nav {
    gap: 2rem;
  }
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 1.5rem 4rem;
  background-color: #071536;
  background-image: var(--landing-dark-bg, url('/assets/landing/bg-dark.png'));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  text-align: center;
}

.hero__glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgb(7 21 54 / 35%) 0%,
    transparent 40%,
    rgb(7 21 54 / 20%) 100%
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgb(255 255 255 / 20%);
  background: rgb(0 0 0 / 20%);
  font-size: 0.8125rem;
  margin-bottom: 1.5rem;
}

.hero__badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #22c55e;
}

.hero__title {
  font-size: var(--t-hero-title-size);
  line-height: var(--t-hero-title-line);
  font-weight: 800;
  margin: 0 0 0.75rem;
}

.hero__subtitle {
  font-size: var(--t-hero-subtitle-size);
  line-height: var(--t-hero-subtitle-line);
  font-weight: 800;
  color: #7dd3fc;
  margin: 0 0 1.25rem;
}

.hero__desc {
  max-width: 720px;
  margin: 0 auto 2rem;
  color: #fff;
  font-size: var(--t-body-lg-size);
  line-height: var(--t-body-lg-line);
  font-weight: 400;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  border: none;
}

.hero__btn--primary {
  background: #fff;
  color: #2563eb;
}

.hero__btn--ghost {
  background: rgb(255 255 255 / 10%);
  color: #fff;
  border: 1px solid rgb(255 255 255 / 25%);
}

.hero__btn-icon {
  width: 1.125rem;
  height: 1.125rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.25rem;
  margin-bottom: 3.25rem;
  font-size: 0.875rem;
  color: rgb(255 255 255 / 85%);
}

.hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__trust-item img {
  width: 1.125rem;
  height: 1.125rem;
}

.hero__phones {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto 2rem;
  flex-wrap: wrap;
}

.hero__phones .phone-demo {
  flex: 0 0 auto;
}

.hero__stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.hero__store {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.5rem;
  min-width: 11.5rem;
  padding: 0.875rem 1.375rem;
  border-radius: 0.75rem;
  text-decoration: none;
  font-size: 0.8125rem;
  color: #fff;
  text-align: left;
  line-height: 1.15;
}

.hero__store-text {
  display: block;
  line-height: 1.15;
}

.hero__store-text span {
  display: block;
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1.2;
  opacity: 0.92;
  white-space: nowrap;
  text-align: left;
}

.hero__store-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
  margin-top: 0.125rem;
  white-space: nowrap;
  text-align: left;
}

.hero__store-text strong.lang-vi,
.hero__store-text strong.lang-en {
  display: block;
}

body.active-lang-en .hero__store-text strong.lang-en {
  display: block !important;
}

body.active-lang-en .hero__store-text strong.lang-vi {
  display: none !important;
}

body.active-lang-vi .hero__store-text strong.lang-vi {
  display: block !important;
}

body.active-lang-vi .hero__store-text strong.lang-en {
  display: none !important;
}

.hero__store img {
  width: 1.75rem;
  height: 1.75rem;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
}

.hero__store--apple {
  background: #000;
}

.hero__store--play {
  background: rgb(255 255 255 / 12%);
  border: 1px solid rgb(255 255 255 / 20%);
}

.features {
  padding: 5rem 1.5rem;
  background: #fff;
}

.features__container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.features__badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.features__title {
  font-size: var(--t-section-h2-size);
  line-height: var(--t-section-h2-line);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 1rem;
}

.features__title-accent {
  display: block;
  color: #2563eb;
}

.features__intro {
  max-width: 680px;
  margin: 0 auto 2.75rem;
  color: #0f172a;
  font-size: var(--t-body-lg-size);
  line-height: var(--t-body-lg-line);
  font-weight: 400;
}

.features__tabs {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 9999px;
  background: #fff;
  box-shadow: 0 8px 32px rgb(15 23 42 / 8%);
  margin-bottom: 3rem;
}

.features__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  border-radius: 9999px;
  padding: 0.625rem 1rem;
  background: transparent;
  color: #0f172a;
  font-weight: 600;
  cursor: pointer;
}

.features__tab img {
  width: 1rem;
  height: 1rem;
  filter: brightness(0) saturate(100%);
}

.features__tab--active {
  background: #2563eb;
  color: #fff;
}

.features__tab--active img {
  filter: brightness(0) invert(1);
}

.features__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  text-align: left;
  align-items: center;
}

.features__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.features__tag img {
  width: 0.875rem;
  height: 0.875rem;
  filter: brightness(0) saturate(100%) invert(25%) sepia(93%) saturate(1966%) hue-rotate(210deg)
    brightness(94%) contrast(102%);
}

.features__copy h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 1rem;
}

.features__copy p {
  color: #0f172a;
  font-size: var(--t-body-lg-size);
  line-height: var(--t-body-lg-line);
  font-weight: 400;
  margin: 0 0 1.5rem;
}

.features__copy ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.features__copy li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  color: #334155;
}

.features__copy li img {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.features__cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.features__cta {
  border: none;
  border-radius: 9999px;
  padding: 0.75rem 1.25rem;
  background: #2563eb;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.features__link {
  border: none;
  background: none;
  color: #2563eb;
  font-weight: 600;
  cursor: pointer;
}

.features__mockup {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 900px) {
  .features__panel {
    grid-template-columns: 1fr;
  }

  .features__mockup {
    order: -1;
  }
}

.ai-copilot {
  padding: 5rem 1.5rem;
  background-color: #071536;
  background-image: var(--landing-dark-bg, url('/assets/landing/bg-dark.png'));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

.ai-copilot__container {
  max-width: 1200px;
  margin: 0 auto;
}

.ai-copilot__header {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 3rem;
}

.ai-copilot__badge {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: rgb(255 255 255 / 10%);
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.ai-copilot__header h2 {
  font-size: var(--t-section-h2-size);
  line-height: var(--t-section-h2-line);
  font-weight: 800;
  margin: 0;
}

.ai-copilot__accent {
  display: block;
  color: #38bdf8;
}

.ai-copilot__header p {
  color: #fff;
  font-size: var(--t-body-lg-size);
  line-height: var(--t-body-lg-line);
  font-weight: 400;
  margin: 0;
}

.ai-copilot__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

.ai-copilot__card {
  padding: 1.25rem;
  border-radius: 1rem;
  background: rgb(255 255 255 / 6%);
  border: 1px solid rgb(255 255 255 / 8%);
}

.ai-copilot__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.ai-copilot__icon img {
  width: 1.25rem;
  height: 1.25rem;
  filter: brightness(0) invert(1);
}

.ai-copilot__card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.ai-copilot__card p {
  margin: 0;
  font-size: 0.875rem;
  color: rgb(255 255 255 / 72%);
  line-height: 1.6;
}

.ai-copilot__phones {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: end;
}

.ai-copilot__phones .phone-demo {
  flex: 0 0 auto;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .ai-copilot__header,
  .ai-copilot__grid {
    grid-template-columns: 1fr;
  }

  .ai-copilot__phones {
    grid-template-columns: repeat(2, 1fr);
  }
}

.integrations {
  padding: 5rem 1.5rem;
  background: #f8fafc;
  text-align: center;
}

.integrations__container {
  max-width: 1000px;
  margin: 0 auto;
}

.integrations__badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.integrations h2 {
  font-size: var(--t-section-h2-size);
  line-height: var(--t-section-h2-line);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 1rem;
}

.integrations__accent {
  color: #2563eb;
}

.integrations p {
  color: #0f172a;
  font-size: var(--t-body-lg-size);
  line-height: var(--t-body-lg-line);
  font-weight: 400;
  margin: 0 0 2.5rem;
}

.integrations__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.integrations__card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  box-shadow: 0 4px 20px rgb(15 23 42 / 6%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.integrations__card img {
  width: 2.5rem;
  height: 2.5rem;
}

.integrations__card span {
  font-weight: 600;
  color: #334155;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .integrations__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mobile-app {
  padding: 3rem 1.5rem 5rem;
  background: #fff;
}

.mobile-app__banner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  padding: 3rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 55%, #3b82f6 100%);
  color: #fff;
}

.mobile-app__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mobile-app__badge {
  display: inline-block;
  align-self: flex-start;
  width: fit-content;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: rgb(255 255 255 / 15%);
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.mobile-app h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 1rem;
}

.mobile-app__title-line {
  display: block;
}

.mobile-app__accent {
  color: #7dd3fc;
}

.mobile-app__copy > p {
  color: #fff;
  font-size: var(--t-body-lg-size);
  line-height: var(--t-body-lg-line);
  font-weight: 400;
  margin: 0 0 1.5rem;
}

.mobile-app__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.mobile-app__feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
}

.mobile-app__feature img {
  width: 1.25rem;
  height: 1.25rem;
}

.mobile-app__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.mobile-app__store {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.5rem;
  min-width: 11.5rem;
  padding: 0.875rem 1.375rem;
  border-radius: 0.75rem;
  text-decoration: none;
  color: #fff;
  font-size: 0.8125rem;
  text-align: left;
  line-height: 1.15;
  background: rgb(255 255 255 / 12%);
  border: 1px solid rgb(255 255 255 / 20%);
}

.mobile-app__store-text {
  display: block;
  line-height: 1.15;
}

.mobile-app__store-text span {
  display: block;
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1.2;
  opacity: 0.92;
  white-space: nowrap;
  text-align: left;
}

.mobile-app__store-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
  margin-top: 0.125rem;
  white-space: nowrap;
  text-align: left;
}

.mobile-app__store-text strong.lang-vi,
.mobile-app__store-text strong.lang-en {
  display: block;
}

body.active-lang-en .mobile-app__store-text strong.lang-en {
  display: block !important;
}

body.active-lang-en .mobile-app__store-text strong.lang-vi {
  display: none !important;
}

body.active-lang-vi .mobile-app__store-text strong.lang-vi {
  display: block !important;
}

body.active-lang-vi .mobile-app__store-text strong.lang-en {
  display: none !important;
}

.mobile-app__store--apple {
  background: #000;
  border-color: #000;
}

.mobile-app__store--play {
  background: rgb(255 255 255 / 12%);
  border: 1px solid rgb(255 255 255 / 20%);
}

.mobile-app__store img {
  width: 1.75rem;
  height: 1.75rem;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
}

.mobile-app__note {
  font-size: 0.75rem;
  color: rgb(255 255 255 / 70%);
  margin: 0;
}

.mobile-app__phones {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  align-self: stretch;
  gap: 0.75rem;
  min-height: 100%;
  overflow: visible;
}

.mobile-app__phones .phone-demo {
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .mobile-app__banner {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
  }
}

.testimonials {
  padding: 5rem 1.5rem;
  background: #fff;
  text-align: center;
}

.testimonials__container {
  max-width: 1100px;
  margin: 0 auto;
}

.testimonials__badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.testimonials h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 2.5rem;
  line-height: 1.25;
}

.testimonials__accent {
  display: block;
  color: #2563eb;
}

.testimonials__loading {
  color: #64748b;
  padding: 2rem;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  text-align: left;
}

.testimonials__card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: #f8fafc;
  border: 1px solid transparent;
}

.testimonials__card--highlight {
  background: #fff;
  border-color: #2563eb;
  box-shadow: 0 8px 24px rgb(37 99 235 / 10%);
}

.testimonials__stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonials__stars img {
  width: 1rem;
  height: 1rem;
}

.testimonials__quote {
  color: #475569;
  line-height: 1.7;
  margin: 0 0 1.25rem;
  min-height: 5.5rem;
}

.testimonials__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.testimonials__author img,
.testimonials__avatar-fallback {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonials__avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dbeafe;
  color: #2563eb;
  font-size: 0.75rem;
  font-weight: 700;
}

.testimonials__author strong {
  display: block;
  color: #0f172a;
  font-size: 0.9375rem;
}

.testimonials__author span {
  display: block;
  color: #64748b;
  font-size: 0.8125rem;
}

@media (max-width: 900px) {
  .testimonials__grid {
    grid-template-columns: 1fr;
  }
}

.pricing {
  padding: 5rem 1.5rem;
  background: #f8fafc;
  text-align: center;
}

.pricing__container {
  max-width: 1100px;
  margin: 0 auto;
}

.pricing__badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.pricing h2 {
  font-size: var(--t-section-h2-size);
  line-height: var(--t-section-h2-line);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 1rem;
}

.pricing__accent {
  display: block;
  color: #2563eb;
}

.pricing > .pricing__container > p {
  color: #0f172a;
  font-size: var(--t-body-lg-size);
  line-height: var(--t-body-lg-line);
  font-weight: 400;
  margin: 0 0 2.5rem;
}

.pricing__grid {
  --pricing-card-base: 29.25rem;
  --pricing-card-selected: 31.75rem;
  --pricing-slot-height: 31.75rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
  justify-content: center;
  gap: 1.25rem;
  align-items: start;
  padding-top: 0.75rem;
  text-align: left;
  height: var(--pricing-slot-height);
  min-height: var(--pricing-slot-height);
  max-height: var(--pricing-slot-height);
}

.pricing__status {
  color: #64748b;
  font-size: 0.9375rem;
  margin: 0;
}

.pricing__status.hidden {
  display: none;
}

.pricing__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 320px;
  height: var(--pricing-card-base);
  min-height: var(--pricing-card-base);
  max-height: var(--pricing-card-base);
  box-sizing: border-box;
  overflow: visible;
  padding: 1.5rem 1.5rem 1.25rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  cursor: pointer;
  isolation: isolate;
  transform: translateZ(0);
  transform-origin: top center;
  transition:
    color 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    transform 0.28s ease;
}

.pricing__card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  opacity: 0;
  transition: opacity 0.28s ease;
  z-index: -1;
  pointer-events: none;
}

.pricing__card--highlight {
  color: #fff;
  border-color: transparent;
  box-shadow: 0 20px 40px rgb(37 99 235 / 25%);
  z-index: 1;
  /* Grow visually without changing layout box — siblings stay put */
  transform: scale(1.06);
}

.pricing__card--highlight::before {
  opacity: 1;
}

.pricing__popular {
  position: absolute;
  top: 0;
  right: 1.5rem;
  transform: translateY(-50%);
  z-index: 2;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  background: #fbbf24;
  color: #78350f;
  font-size: 0.6875rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgb(0 0 0 / 8%);
}

.pricing__card h3 {
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
  min-height: 1.5rem;
}

.pricing__desc {
  flex-shrink: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  margin: 0;
  opacity: 0.85;
  /* Reserve 3 lines so price/CTA start at the same height across cards */
  height: 4.2rem;
  min-height: 4.2rem;
  max-height: 4.2rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.pricing__price {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  font-size: 1.875rem;
  font-weight: 800;
  margin: 0;
  /* Keep price row height stable whether note (/tháng) exists or not */
  height: 3.25rem;
  min-height: 3.25rem;
  line-height: 1.15;
}

.pricing__price small {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0.85;
  line-height: 1.2;
}

.pricing__cta {
  flex-shrink: 0;
  width: 100%;
  height: 2.75rem;
  border: 1px solid transparent;
  border-radius: 9999px;
  padding: 0.75rem 1rem;
  font-weight: 600;
  cursor: pointer;
  margin: 0;
  background: #2563eb;
  color: #fff;
  transition:
    background 0.28s ease,
    color 0.28s ease,
    border-color 0.28s ease;
}

.pricing__card--highlight .pricing__cta {
  background: rgb(255 255 255 / 20%);
  color: #fff;
  border-color: rgb(255 255 255 / 30%);
}

.pricing__card ul {
  list-style: none;
  padding: 0;
  margin: 0.375rem 0 0;
  display: grid;
  grid-auto-rows: min-content;
  align-content: start;
  gap: 0;
  row-gap: 0.45rem;
  flex: 1;
  min-height: 0;
  overflow: visible;
}

.pricing__card--highlight ul {
  /* Center feature list in the remaining space under the CTA */
  align-content: center;
}

.pricing__card li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.pricing__tick {
  position: relative;
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

.pricing__tick img {
  position: absolute;
  inset: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin: 0;
  transition: opacity 0.28s ease;
}

.pricing__tick-dark {
  opacity: 0;
}

.pricing__card--highlight .pricing__tick-light {
  opacity: 0;
}

.pricing__card--highlight .pricing__tick-dark {
  opacity: 1;
}

@media (max-width: 900px) {
  .pricing__grid {
    height: auto;
    min-height: unset;
    max-height: none;
    grid-template-columns: minmax(280px, 320px);
    align-items: stretch;
  }

  .pricing__card {
    height: auto;
    min-height: var(--pricing-card-base);
    max-height: none;
  }

  .pricing__card--highlight {
    height: auto;
    min-height: var(--pricing-card-base);
    max-height: none;
    transform: none;
  }
}

.signup {
  padding: 5rem 1.5rem;
  background: #fff;
}

.signup__container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.signup__title {
  font-size: var(--t-section-h2-size);
  line-height: var(--t-section-h2-line);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 1rem;
}

.signup__title-accent {
  display: block;
  color: #2563eb;
}

.signup__desc {
  color: #0f172a;
  font-size: var(--t-body-lg-size);
  line-height: var(--t-body-lg-line);
  font-weight: 400;
  margin: 0 0 2rem;
  max-width: 520px;
}

.signup__contacts {
  display: grid;
  gap: 1rem;
  max-width: 560px;
}

.signup__contact {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.875rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border-radius: 0.875rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.signup__contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  background: #eff6ff;
}

.signup__contact-icon img {
  width: 20px;
  height: 20px;
}

.signup__contact-text span {
  display: block;
  font-size: 0.8125rem;
  color: #64748b;
  margin-bottom: 0.125rem;
}

.signup__contact-text strong {
  display: block;
  color: #0f172a;
  font-size: 0.9375rem;
}

.signup__form {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 12px 40px rgb(15 23 42 / 8%);
  display: grid;
  gap: 1rem;
}

.signup__form-header h3 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}

.signup__form-header p {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: #64748b;
}

.signup__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.signup__field {
  display: grid;
  grid-template-rows: auto auto minmax(1.125rem, auto);
  gap: 0.375rem;
  font-size: 0.875rem;
  color: #334155;
}

.signup__label {
  font-weight: 500;
}

.signup__required {
  color: #dc2626;
}

.signup__form input,
.signup__form textarea,
.signup__form select {
  width: 100%;
  min-height: 2.625rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.625rem;
  padding: 0.625rem 0.75rem;
  font: inherit;
  background: #fff;
  box-sizing: border-box;
}

.signup__form select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  background-size: 1rem;
  cursor: pointer;
}

.signup__form input:focus,
.signup__form textarea:focus,
.signup__form select:focus {
  outline: 2px solid #93c5fd;
  border-color: #2563eb;
}

.signup__field em {
  min-height: 1.125rem;
  line-height: 1.125rem;
  font-size: 0.75rem;
  font-style: normal;
  color: #dc2626;
  visibility: hidden;
}

.signup__field em.signup__error--visible {
  visibility: visible;
}

.signup__textarea {
  grid-template-rows: auto auto auto minmax(1.125rem, auto);
}

.signup__textarea textarea {
  resize: vertical;
  min-height: 6rem;
}

.signup__counter {
  text-align: right;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: -0.125rem;
}

.signup__alert {
  padding: 0.75rem 1rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
}

.signup__alert--success {
  background: #dcfce7;
  color: #166534;
}

.signup__alert--error {
  background: #fee2e2;
  color: #991b1b;
}

.signup__submit {
  border: none;
  border-radius: 9999px;
  padding: 0.875rem 1.5rem;
  background: #2563eb;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.signup__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.signup__disclaimer {
  margin: 0;
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.5;
}

.signup__disclaimer a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.signup__disclaimer a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .signup__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .signup__row {
    grid-template-columns: 1fr;
  }

  .signup__form {
    padding: 1.25rem;
  }
}

.landing-footer {
  position: relative;
  background-color: #05102a;
  background-image: var(--landing-dark-bg, url('/assets/landing/bg-dark.png'));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: rgb(255 255 255 / 85%);
  padding: 4rem 1.5rem 1.5rem;
}

.landing-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgb(5 16 42 / 72%);
  pointer-events: none;
}

.landing-footer__grid,
.landing-footer__bottom {
  position: relative;
  z-index: 1;
}

.landing-footer__grid {
  max-width: 1200px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.landing-footer__logo-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1rem;
}

.landing-page .landing-footer__logo-row img {
  width: 2rem;
  height: 2rem;
  max-width: 2rem;
  object-fit: contain;
}

.landing-footer__logo-row strong {
  color: #fff;
  font-size: 1.125rem;
}

.landing-footer__brand p {
  line-height: 1.7;
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
}

.landing-footer__contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.625rem;
  font-size: 0.8125rem;
}

.landing-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.landing-footer__contact img {
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
  filter: brightness(0) saturate(100%) invert(52%) sepia(86%) saturate(1523%) hue-rotate(203deg) brightness(101%) contrast(94%);
}

.landing-footer h4 {
  color: #fff;
  margin: 0 0 1rem;
  font-size: 0.9375rem;
}

.landing-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.landing-footer a {
  color: rgb(255 255 255 / 72%);
  text-decoration: none;
  font-size: 0.8125rem;
}

.landing-footer a:hover {
  color: #fff;
}

.landing-footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 10%);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
}

.landing-footer__legal {
  display: flex;
  gap: 1rem;
}

@media (max-width: 900px) {
  .landing-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .landing-footer__grid {
    grid-template-columns: 1fr;
  }
}

.phone-demo {
  --phone-frame-padding: 12px;
  --phone-frame-radius: 16px;
  --phone-img-radius: 12px;

  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  width: auto;
  flex: 0 0 auto;
}

.phone-demo__frame {
  display: inline-block;
  padding: var(--phone-frame-padding);
  border-radius: var(--phone-frame-radius);
  border: 1px solid rgb(255 255 255 / 50%);
  background: rgb(255 255 255 / 20%);
  box-shadow: 0 0 32px rgb(255 255 255 / 12%);
  line-height: 0;
  overflow: visible;
}

.phone-demo__frame img {
  display: block;
  border-radius: var(--phone-img-radius);
  width: var(--phone-demo-width, 220px);
  height: auto;
  max-width: none;
  filter:
    drop-shadow(0 0 24px rgb(255 255 255 / 18%))
    drop-shadow(0 0 8px rgb(255 255 255 / 12%));
}

.phone-demo--no-glow .phone-demo__frame img {
  filter: none;
}

.phone-demo--elevated {
  transform: translateY(-12px);
}

.phone-demo__caption {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  width: calc(
    var(--phone-demo-width, 220px) + 2 * (var(--phone-frame-padding) + 1px)
  );
}

.phone-demo__caption--dark {
  color: rgb(255 255 255 / 88%);
}

/* Features tab — nền sáng, khung tương phản nhẹ */
.phone-demo--compact {
  --phone-frame-padding: 14px;
  --phone-frame-radius: 18px;
  --phone-img-radius: 14px;
}

.phone-demo--compact .phone-demo__frame {
  border-color: rgb(15 23 42 / 10%);
  background: rgb(248 250 252);
  box-shadow: 0 12px 40px rgb(15 23 42 / 10%);
}

.phone-demo--mobile {
  --phone-frame-padding: 10px;
  --phone-frame-radius: 14px;
  --phone-img-radius: 10px;
}

.phone-demo--mobile .phone-demo__caption {
  font-size: 0.8125rem;
  margin-top: 0.625rem;
}

.phone-demo--mobile.phone-demo--elevated {
  transform: translateY(-10px);
}

@media (max-width: 768px) {
  .phone-demo--hero {
    --phone-frame-padding: 10px;
    --phone-frame-radius: 14px;
    --phone-img-radius: 10px;
  }

  .phone-demo--hero .phone-demo__frame img {
    width: 180px;
  }

  .phone-demo--hero .phone-demo__caption {
    width: calc(180px + 2 * (var(--phone-frame-padding) + 1px));
  }

  .phone-demo--hero.phone-demo--elevated .phone-demo__frame img {
    width: 200px;
  }

  .phone-demo--hero.phone-demo--elevated .phone-demo__caption {
    width: calc(200px + 2 * (var(--phone-frame-padding) + 1px));
  }

  .phone-demo--elevated {
    transform: none;
  }

  .phone-demo--compact .phone-demo__frame img {
    width: 240px;
  }

  .phone-demo--compact .phone-demo__caption {
    width: calc(240px + 2 * (var(--phone-frame-padding) + 1px));
  }
}


