:root {
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #f8fafc;
  --brand: #e11d48;
  --brand-dark: #be123c;
  --green: #0f766e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 48%, #ffffff 100%);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.brand,
.brand > span:last-child,
.nav-links,
.header-actions,
.hero-actions,
.product-row,
.footer {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 10px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.language-switch button {
  min-width: 36px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.language-switch button.active {
  color: #fff;
  background: var(--brand);
}

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

html[data-lang="vi"] .lang-vi,
html[data-lang="en"] .lang-en {
  display: inline !important;
}

html[data-lang="vi"] p.vi,
html[data-lang="en"] p.en {
  display: block !important;
}

.brand {
  gap: 11px;
  min-width: 240px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #ef4444);
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(225, 29, 72, 0.22);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 19px;
  line-height: 1;
  letter-spacing: 0;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.nav-links {
  gap: 24px;
  color: #475569;
  font-size: 14px;
  font-weight: 800;
}

.nav-links a:hover {
  color: var(--brand);
}

.nav-action,
.primary-action,
.secondary-action,
.product-row a,
.contact a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
}

.nav-action {
  padding: 0 18px;
  color: #fff;
  background: var(--ink);
  font-size: 14px;
}

.hero {
  width: min(1160px, calc(100% - 32px));
  min-height: calc(100vh - 80px);
  margin: 0 auto;
  padding: 66px 0 82px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.84fr);
  align-items: center;
  gap: 56px;
}

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

.eyebrow,
.section-heading span,
.contact span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 640px;
  margin: 24px 0 0;
  color: #475569;
  font-size: 18px;
  line-height: 1.75;
}

.hero-copy p.en,
.about-grid p.en,
.principle-grid p.en,
.product-row p.en,
.contact p.en {
  margin-top: 12px;
  font-style: normal;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.primary-action {
  padding: 0 22px;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 18px 34px rgba(225, 29, 72, 0.24);
}

.secondary-action {
  padding: 0 20px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cbd5e1;
}

.hero-visual {
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 28px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.15);
}

.visual-header {
  height: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.visual-header span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #fb7185;
}

.visual-header span:nth-child(2) {
  background: #f59e0b;
}

.visual-header span:nth-child(3) {
  background: #14b8a6;
}

.visual-header strong {
  margin-left: 8px;
  color: var(--muted);
  font-size: 12px;
}

.visual-grid {
  min-height: 418px;
  display: grid;
  gap: 14px;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(226, 232, 240, 0.5) 1px, transparent 1px),
    linear-gradient(180deg, rgba(226, 232, 240, 0.5) 1px, transparent 1px),
    #fff;
  background-size: 38px 38px;
}

.visual-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.visual-card.primary {
  background: var(--ink);
  color: #fff;
}

.visual-card small {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.visual-card.primary small {
  color: #fb7185;
}

.visual-card strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
}

.visual-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.visual-card.primary p {
  color: #cbd5e1;
}

.section {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.contact h2 {
  margin: 10px 0 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

.about-grid,
.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.about-grid article,
.principle-grid article {
  min-height: 226px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
}

.about-grid h3,
.principle-grid h3,
.product-row h3 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
}

.about-grid h3 span,
.principle-grid h3 span {
  display: inline;
}

.about-grid p,
.principle-grid p,
.product-row p,
.contact p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.product-row {
  justify-content: space-between;
  gap: 28px;
  margin-top: 34px;
  padding: 30px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

.product-row div {
  max-width: 760px;
}

.product-row h3 {
  color: #fff;
  font-size: 28px;
}

.product-row .en,
.product-row h3 span {
  color: #cbd5e1;
}

.product-row p {
  color: #cbd5e1;
}

.product-row a {
  flex: 0 0 auto;
  padding: 0 20px;
  color: #fff;
  background: var(--brand);
}

.principle-grid span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.principle-grid h3 {
  margin-top: 18px;
}

.contact {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto 38px;
  padding: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-radius: 8px;
  background: #fff1f2;
  border: 1px solid #fecdd3;
}

.contact div {
  max-width: 720px;
}

.contact a {
  flex: 0 0 auto;
  padding: 0 20px;
  color: #fff;
  background: var(--brand);
}

.footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 34px;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.footer strong {
  color: var(--ink);
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

  .about-grid,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .contact,
  .product-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .topbar,
  .hero,
  .section,
  .contact,
  .footer {
    width: min(100% - 24px, 1160px);
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .language-switch button {
    min-width: 32px;
  }

  .nav-action {
    min-height: 40px;
    padding: 0 14px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-visual {
    border-radius: 18px;
  }

  .section {
    padding: 58px 0;
  }

  .product-row,
  .contact {
    padding: 24px;
  }

  .contact a,
  .product-row a {
    width: 100%;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
