:root {
  color-scheme: light;
  --bg: #f6f2ff;
  --ink: #181221;
  --muted: #6c6278;
  --purple: #6d35c9;
  --purple-dark: #3b1b75;
  --gold: #ffc857;
  --card: #ffffff;
  --line: rgba(68, 42, 111, 0.15);
  --shadow: 0 18px 45px rgba(46, 26, 84, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.6;
}

img,
video {
  display: block;
  width: 100%;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  border-radius: 8px;
}

.language-switch {
  display: flex;
  padding: 3px;
  background: #f2eaff;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-switch button {
  min-width: 34px;
  padding: 6px 8px;
  color: var(--purple-dark);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}

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

.mini-cta {
  padding: 8px 13px;
  color: #fff;
  background: var(--purple);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero {
  padding: 18px 18px 34px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 200, 87, 0.35), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f6f2ff 100%);
}

.hero-media {
  position: relative;
  overflow: hidden;
  margin: 0 auto 24px;
  max-width: 460px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-media img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 18px;
}

.hero-badge {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 12px;
  color: #fff;
  background: rgba(24, 18, 33, 0.78);
  border-radius: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.hero-copy,
.section-heading,
.contact {
  max-width: 720px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--purple);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: 28px;
  line-height: 1.18;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.lead,
.section-heading p,
.feature p,
.contact p,
.footer {
  color: var(--muted);
}

.lead {
  font-size: 16px;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  box-shadow: 0 14px 28px rgba(109, 53, 201, 0.28);
}

.ghost {
  color: var(--purple-dark);
  background: #eadfff;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 18px 22px;
}

.trust-strip div {
  padding: 16px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 10px 26px rgba(46, 26, 84, 0.08);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--purple);
  font-size: 22px;
  line-height: 1.1;
}

.trust-strip span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: 44px 18px;
}

.feature-grid {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin: 22px auto 0;
}

.feature {
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(46, 26, 84, 0.08);
}

.feature span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.product-show,
.scenes {
  background: #fff;
}

.product-cards,
.video-grid {
  display: grid;
  gap: 14px;
  max-width: 720px;
  margin: 22px auto 0;
}

.product-cards figure,
.testimonial-card {
  margin: 0;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(46, 26, 84, 0.08);
}

.product-cards img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 12px;
  background: #fff;
}

.product-cards figcaption,
.testimonial-card figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
}

.video-grid video {
  overflow: hidden;
  background: #111;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.tag-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 720px;
  margin: 22px auto 0;
}

.tag-grid span {
  padding: 14px 12px;
  background: #f6f2ff;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  font-weight: 800;
}

.proof {
  background: #f1e9ff;
}

.gallery {
  column-count: 2;
  column-gap: 10px;
  max-width: 720px;
  margin: 22px auto 0;
}

.testimonial-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 10px;
  break-inside: avoid;
}

.testimonial-card img {
  height: auto;
  background: #eee8f8;
}

.empty-state {
  padding: 22px;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
}

.load-more {
  width: min(100%, 720px);
  margin: 18px auto 0;
  color: var(--purple-dark);
  background: #fff;
  border: 1px solid var(--line);
}

.load-more[hidden] {
  display: none;
}

.contact {
  padding: 44px 18px calc(44px + env(safe-area-inset-bottom));
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 200, 87, 0.3), transparent 30%),
    linear-gradient(135deg, #2b1459, #12091f);
}

.contact .eyebrow {
  color: var(--gold);
}

.contact p {
  color: rgba(255, 255, 255, 0.75);
}

.contact .button {
  width: 100%;
  margin-top: 16px;
  background: var(--gold);
  color: #24133e;
  box-shadow: none;
}

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

.wechat-copy {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 18px;
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

[dir="rtl"] body {
  font-family: Arial, "Tahoma", sans-serif;
}

[dir="rtl"] .hero-copy,
[dir="rtl"] .section-heading,
[dir="rtl"] .contact,
[dir="rtl"] .feature,
[dir="rtl"] .product-cards figcaption,
[dir="rtl"] .testimonial-card figcaption {
  text-align: right;
}

@media (min-width: 760px) {
  .topbar {
    padding-left: max(24px, 8vw);
    padding-right: max(24px, 8vw);
  }

  .hero {
    display: grid;
    grid-template-columns: 0.88fr 1fr;
    gap: 42px;
    align-items: center;
    min-height: calc(100vh - 60px);
    padding: 56px 8vw;
  }

  .hero-media {
    margin-bottom: 0;
  }

  h1 {
    font-size: 58px;
  }

  .trust-strip {
    max-width: 920px;
    margin: -18px auto 0;
  }

  .feature-grid,
  .product-cards,
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery {
    column-count: 3;
  }
}

@media (max-width: 430px) {
  .topbar {
    align-items: flex-start;
    gap: 10px;
  }

  .top-actions {
    flex-direction: column;
    align-items: flex-end;
  }

  .mini-cta {
    font-size: 12px;
  }
}
