html,
body {
  margin: 0;
  background: #ffffff !important;
  scroll-behavior: smooth;
}

.rvb-page {
  --ink: #07090d;
  --muted: #5f6875;
  --soft: #f6f8fb;
  --surface: #ffffff;
  --line: #e8edf3;
  --line-strong: #d7e0eb;
  --accent: #006cff;
  --accent-soft: #eaf3ff;
  --shadow: 0 22px 70px rgba(20, 32, 50, 0.08);
  --radius: 8px;
  color: var(--ink);
  background: var(--surface);
  font-family: Aptos, "Segoe UI", "Noto Sans Thai", "Leelawadee UI", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  overflow: hidden;
  overflow-x: hidden;
}

.rvb-page[lang="th"] {
  font-family: "Noto Sans Thai", "Leelawadee UI", Tahoma, Aptos, "Segoe UI", sans-serif;
}

.rvb-page[lang="zh"] {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Aptos, "Segoe UI", sans-serif;
}

.rvb-page *,
.rvb-page *::before,
.rvb-page *::after {
  box-sizing: border-box;
}

.rvb-page a {
  color: inherit;
  text-decoration: none;
}

.rvb-page img {
  max-width: 100%;
  display: block;
}

.rvb-top {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px clamp(20px, 6vw, 112px);
  border-bottom: 1px solid var(--line);
  background: #fafbfc;
  color: #4f5967;
  font-size: 12px;
  line-height: 1.4;
}

.rvb-top-messages {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: clamp(18px, 4vw, 58px);
}

.rvb-lang-switcher {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
}

.rvb-lang-switcher button {
  min-width: 38px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #4f5967;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.rvb-lang-switcher button[aria-pressed="true"] {
  background: var(--ink);
  color: #ffffff;
}

.rvb-header {
  min-height: 78px;
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 clamp(28px, 6vw, 112px);
  border-bottom: 1px solid rgba(232, 237, 243, 0.86);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.rvb-logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  width: clamp(178px, 17vw, 240px);
}

.rvb-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.rvb-header nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  margin-left: auto;
  color: #151a22;
  font-size: 14px;
  white-space: nowrap;
}

.rvb-header nav a,
.rvb-footer a {
  transition: color 0.18s ease;
}

.rvb-header nav a:hover,
.rvb-footer a:hover {
  color: var(--accent);
}

.rvb-btn,
.rvb-quote {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.rvb-page[lang="th"] .rvb-btn,
.rvb-page[lang="th"] .rvb-quote,
.rvb-page[lang="zh"] .rvb-btn,
.rvb-page[lang="zh"] .rvb-quote {
  font-weight: 760;
  line-height: 1.15;
}

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

.rvb-btn:active,
.rvb-quote:active {
  transform: translateY(1px);
}

.rvb-quote,
.rvb-btn-dark {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #ffffff !important;
  box-shadow: 0 14px 30px rgba(7, 9, 13, 0.13);
}

.rvb-btn-light {
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: var(--ink) !important;
}

.rvb-hero {
  min-height: 100dvh;
  min-height: clamp(760px, calc(100dvh - 110px), 940px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(340px, 0.52fr) minmax(0, 1.48fr);
  align-items: center;
  gap: 0;
  padding: clamp(54px, 6vw, 94px) clamp(22px, 5vw, 96px);
  overflow: hidden;
  isolation: isolate;
}

.rvb-hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff);
  pointer-events: none;
  z-index: 1;
}

.rvb-hero::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: min(52vw, 690px);
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.94) 38%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.rvb-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.rvb-kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rvb-hero h1,
.rvb-section-head h2,
.rvb-install h2,
.rvb-detail h2,
.rvb-contact h2,
.rvb-newsletter h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 820;
  letter-spacing: 0;
}

.rvb-hero h1 {
  max-width: 560px;
  font-size: clamp(42px, 4.75vw, 74px);
  line-height: 1.02;
}

.rvb-page[lang="th"] .rvb-hero h1 {
  max-width: 590px;
  font-size: clamp(40px, 4.25vw, 68px);
  line-height: 1.12;
  font-weight: 780;
}

.rvb-page[lang="zh"] .rvb-hero h1 {
  max-width: 560px;
  font-size: clamp(42px, 4.45vw, 70px);
  line-height: 1.12;
  font-weight: 780;
}

.rvb-lead,
.rvb-section-head p,
.rvb-install-copy p,
.rvb-detail p,
.rvb-support p,
.rvb-policy-grid p,
.rvb-contact p,
.rvb-newsletter p,
.rvb-footer p,
.rvb-footer a {
  color: var(--muted);
  line-height: 1.68;
}

.rvb-lead {
  max-width: 520px;
  margin: 24px 0 0;
  font-size: clamp(15px, 1vw, 17px);
}

.rvb-page[lang="th"] .rvb-lead,
.rvb-page[lang="th"] .rvb-section-head p,
.rvb-page[lang="th"] .rvb-policy-grid p,
.rvb-page[lang="th"] .rvb-contact p,
.rvb-page[lang="th"] .rvb-newsletter p,
.rvb-page[lang="th"] .rvb-footer p,
.rvb-page[lang="th"] .rvb-footer a {
  line-height: 1.82;
}

.rvb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.rvb-hero-stage {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 0;
  width: min(88vw, 1560px);
  min-height: 100%;
  display: grid;
  place-items: center end;
  transform: translate3d(var(--rvb-x, 0), var(--rvb-y, 0), 0) rotateX(var(--rvb-rx, 0deg)) rotateY(var(--rvb-ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out;
}

.rvb-hero-stage img {
  width: min(1540px, 92vw);
  height: min(96dvh, 900px);
  max-width: none;
  object-fit: contain;
  transform: translateX(2vw);
  filter: saturate(0.98) contrast(1.02) drop-shadow(0 22px 42px rgba(30, 46, 70, 0.08));
}

.rvb-section {
  padding: clamp(66px, 7vw, 108px) clamp(28px, 6vw, 112px);
}

.rvb-section-head {
  max-width: 890px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.rvb-section-head.rvb-narrow {
  max-width: 780px;
}

.rvb-section-head h2,
.rvb-install h2,
.rvb-contact h2,
.rvb-newsletter h2 {
  font-size: clamp(34px, 4.3vw, 64px);
  line-height: 1.04;
}

.rvb-page[lang="th"] .rvb-section-head h2,
.rvb-page[lang="th"] .rvb-contact h2,
.rvb-page[lang="th"] .rvb-newsletter h2 {
  font-size: clamp(32px, 3.85vw, 58px);
  line-height: 1.16;
  font-weight: 780;
}

.rvb-page[lang="zh"] .rvb-section-head h2,
.rvb-page[lang="zh"] .rvb-contact h2,
.rvb-page[lang="zh"] .rvb-newsletter h2 {
  line-height: 1.14;
  font-weight: 780;
}

.rvb-section-head p {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: 17px;
}

.rvb-device-section {
  background: #ffffff;
}

.rvb-device-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
}

.rvb-device-tile {
  display: grid;
  grid-template-columns: minmax(138px, 42%) minmax(0, 1fr);
  grid-template-rows: minmax(178px, 1fr);
  gap: clamp(10px, 1vw, 16px);
  align-items: center;
  min-height: clamp(210px, 17vw, 280px);
  padding: 0 0 10px;
  border-bottom: 1px solid var(--line);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.rvb-device-tile span {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  min-height: clamp(165px, 14vw, 225px);
  display: grid;
  place-items: center end;
}

.rvb-device-tile img {
  width: 100%;
  height: clamp(150px, 13vw, 218px);
  object-fit: contain;
  object-position: right center;
  transform-origin: right center;
  transition: transform 0.36s ease;
}

.rvb-device-tile b {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  color: var(--ink);
  font-size: clamp(21px, 1.55vw, 28px);
  line-height: 1.1;
  white-space: nowrap;
}

.rvb-device-tile:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.rvb-device-tile:hover img {
  transform: scale(1.035);
}

.rvb-products {
  background: var(--soft);
}

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

.rvb-product-card {
  grid-column: span 4;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 46px rgba(20, 32, 50, 0.045);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.rvb-product-card-large {
  grid-column: span 8;
}

.rvb-product-media {
  width: 100%;
}

.rvb-product-card img {
  width: 100%;
  height: clamp(180px, 21vw, 340px);
  object-fit: contain;
  object-position: center;
  border-radius: calc(var(--radius) - 2px);
  background: #f9fbfe;
}

.rvb-product-card-large img {
  height: clamp(260px, 30vw, 430px);
}

.rvb-product-card:hover {
  border-color: #d4deea;
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.rvb-card-label {
  margin-top: 20px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
}

.rvb-product-card h3 {
  margin: 10px 0;
  font-size: clamp(22px, 2vw, 31px);
  line-height: 1.08;
}

.rvb-product-price {
  margin: 0 0 10px;
  color: var(--ink);
  font-weight: 850;
}

.rvb-product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.rvb-install {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  background: #ffffff;
}

.rvb-install-media {
  min-width: 0;
}

.rvb-install-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 26px 74px rgba(20, 32, 50, 0.08);
}

.rvb-install-copy {
  min-width: 0;
}

.rvb-step-list {
  display: grid;
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.rvb-step-list article {
  display: grid;
  grid-template-columns: 54px minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.rvb-step-list span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.rvb-step-list h3 {
  margin: 0;
  font-size: 21px;
}

.rvb-step-list p {
  margin: 0;
}

.rvb-detail-list {
  display: grid;
  gap: 0;
  background: #ffffff;
}

.rvb-detail {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  padding: clamp(34px, 5vw, 72px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 104px;
}

.rvb-detail:first-child {
  border-top: 0;
  padding-top: 0;
}

.rvb-detail-flip img {
  order: 2;
}

.rvb-detail img {
  width: 100%;
  max-height: 430px;
  object-fit: contain;
  border-radius: var(--radius);
  background: #f9fbfe;
  box-shadow: 0 18px 54px rgba(20, 32, 50, 0.055);
}

.rvb-detail h2 {
  font-size: clamp(31px, 3.5vw, 54px);
  line-height: 1.05;
}

.rvb-detail p {
  max-width: 680px;
  margin: 18px 0 0;
  font-size: 16px;
}

.rvb-detail ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.rvb-detail li {
  position: relative;
  padding-left: 18px;
  color: #28313d;
  line-height: 1.55;
}

.rvb-detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.rvb-support {
  background: var(--soft);
}

.rvb-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.rvb-proof-grid div {
  min-height: 220px;
  padding: 28px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: #ffffff;
}

.rvb-proof-grid b {
  display: block;
  margin-bottom: 46px;
  color: var(--accent);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
}

.rvb-proof-grid h3,
.rvb-policy-grid h2 {
  margin: 0 0 10px;
  font-size: 21px;
}

.rvb-proof-grid p {
  margin: 0;
}

.rvb-policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.rvb-policy-grid article {
  min-height: 210px;
  padding: 28px;
  background: #ffffff;
  scroll-margin-top: 104px;
}

.rvb-policy-grid p {
  margin: 0;
}

.rvb-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  margin: clamp(66px, 7vw, 108px) clamp(28px, 6vw, 112px) 0;
  padding: clamp(34px, 5vw, 62px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f7fbff, #ffffff);
  scroll-margin-top: 104px;
}

.rvb-contact div {
  max-width: 800px;
}

.rvb-contact h2 {
  max-width: 760px;
}

.rvb-contact p {
  max-width: 720px;
  margin: 18px 0 0;
}

.rvb-newsletter {
  text-align: center;
  background: #ffffff;
}

.rvb-newsletter h2 {
  font-size: clamp(32px, 3.7vw, 56px);
}

.rvb-newsletter p {
  margin: 14px auto 0;
  max-width: 580px;
}

.rvb-newsletter form {
  width: min(520px, 100%);
  display: flex;
  margin: 28px auto 0;
}

.rvb-newsletter input {
  width: 100%;
  min-width: 0;
  height: 52px;
  border: 1px solid var(--line-strong);
  border-right: 0;
  border-radius: 999px 0 0 999px;
  padding: 0 20px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

.rvb-newsletter input::placeholder {
  color: #7d8795;
}

.rvb-newsletter input:focus {
  outline: 2px solid rgba(0, 108, 255, 0.32);
  outline-offset: 2px;
}

.rvb-newsletter button {
  height: 52px;
  border: 1px solid var(--ink);
  border-radius: 0 999px 999px 0;
  padding: 0 26px;
  background: var(--ink);
  color: #ffffff;
  font: inherit;
  font-weight: 850;
  white-space: nowrap;
}

.rvb-footer {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding: 58px clamp(28px, 6vw, 112px);
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.rvb-footer-logo {
  width: min(190px, 100%);
  height: auto;
  margin-bottom: 18px;
  object-fit: contain;
}

.rvb-footer h4 {
  margin: 0 0 16px;
  font-size: 15px;
}

.rvb-footer p,
.rvb-footer a {
  display: block;
  margin: 0 0 9px;
  font-size: 14px;
}

.rvb-reveal-ready [data-rvb-reveal] {
  opacity: 1;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.rvb-reveal-ready [data-rvb-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .rvb-page *,
  .rvb-page *::before,
  .rvb-page *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-rvb-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .rvb-header nav {
    gap: 18px;
    font-size: 13px;
  }

  .rvb-product-card {
    grid-column: span 6;
  }

  .rvb-product-card-large {
    grid-column: span 12;
  }

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

@media (max-width: 940px) {
  .rvb-header nav {
    display: none;
  }

  .rvb-hero,
  .rvb-install,
  .rvb-detail {
    grid-template-columns: 1fr;
  }

  .rvb-hero {
    align-content: start;
    gap: 28px;
    padding-top: 54px;
  }

  .rvb-hero::after {
    width: 100%;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 46%, rgba(255, 255, 255, 0) 100%);
  }

  .rvb-hero-stage {
    position: relative;
    inset: auto;
    width: 100%;
    z-index: 1;
    min-height: 360px;
    place-items: center;
  }

  .rvb-hero-stage img {
    width: min(980px, 122vw);
    height: auto;
    transform: translateX(0);
  }

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

  .rvb-detail-flip img {
    order: 0;
  }

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

@media (max-width: 640px) {
  .rvb-top {
    min-height: auto;
    justify-content: center;
    padding: 8px 20px;
  }

  .rvb-top-messages {
    display: none;
  }

  .rvb-lang-switcher {
    width: 100%;
    max-width: 230px;
    justify-content: center;
  }

  .rvb-header {
    min-height: 66px;
    padding: 0 20px;
  }

  .rvb-logo {
    width: 158px;
  }

  .rvb-quote {
    min-height: 40px;
    padding: 0 16px;
  }

  .rvb-hero,
  .rvb-section {
    padding: 50px 22px;
  }

  .rvb-hero {
    min-height: 100dvh;
    max-width: 100vw;
  }

  .rvb-hero-copy,
  .rvb-lead,
  .rvb-actions {
    min-width: 0;
  }

  .rvb-hero-copy {
    width: 100%;
    max-width: 320px;
  }

  .rvb-lead,
  .rvb-actions {
    width: 100%;
    max-width: 320px;
  }

  .rvb-hero h1 {
    max-width: 10ch;
    font-size: clamp(38px, 11vw, 46px);
  }

  .rvb-page[lang="th"] .rvb-hero h1,
  .rvb-page[lang="zh"] .rvb-hero h1 {
    max-width: 11ch;
    font-size: clamp(34px, 9.4vw, 42px);
  }

  .rvb-lead {
    font-size: 16px;
  }

  .rvb-actions {
    display: grid;
    gap: 10px;
  }

  .rvb-actions .rvb-btn {
    width: 100%;
    padding: 0 16px;
  }

  .rvb-hero-stage {
    min-height: 280px;
  }

  .rvb-hero-stage img {
    width: 116vw;
    transform: translateX(-2vw);
  }

  .rvb-section-head h2,
  .rvb-install h2,
  .rvb-contact h2,
  .rvb-newsletter h2 {
    font-size: clamp(31px, 10vw, 42px);
  }

  .rvb-device-grid,
  .rvb-product-grid,
  .rvb-proof-grid,
  .rvb-policy-grid,
  .rvb-footer {
    grid-template-columns: 1fr;
  }

  .rvb-product-card,
  .rvb-product-card-large {
    grid-column: span 12;
    min-height: 0;
  }

  .rvb-product-card img,
  .rvb-product-card-large img {
    height: 240px;
  }

  .rvb-step-list article {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 8px 14px;
  }

  .rvb-step-list article p {
    grid-column: 2;
  }

  .rvb-detail ul {
    grid-template-columns: 1fr;
  }

  .rvb-contact {
    flex-direction: column;
    align-items: flex-start;
    margin: 52px 22px 0;
    padding: 28px 22px;
  }

  .rvb-newsletter form {
    display: grid;
    gap: 10px;
  }

  .rvb-newsletter input,
  .rvb-newsletter button {
    width: 100%;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
  }

  .rvb-newsletter button {
    border-color: var(--ink);
  }
}
