/* APP 官网 — 响应式 / 现代浏览器兼容 */
:root {
  --bg-deep: #0b0e14;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: #a0a0a0;
  --accent: #6c5ce7;
  --accent-dim: rgba(108, 92, 231, 0.2);
  --star: #fbbf24;
  --radius: 14px;
  --radius-pill: 999px;
  --header-h: 72px;
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 120% 80% at 100% 0%, rgba(108, 92, 231, 0.16), transparent 50%),
    radial-gradient(ellipse 80% 60% at 0% 100%, rgba(91, 79, 217, 0.1), transparent 45%),
    linear-gradient(180deg, #12151f 0%, var(--bg-deep) 40%, #08090d 100%);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #111;
  font-weight: 700;
}

.skip-link:focus {
  left: 0;
  top: max(0.5rem, env(safe-area-inset-top, 0px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  box-sizing: border-box;
  min-height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: 0;
  padding-left: max(clamp(1rem, 4vw, 2.5rem), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(1rem, 4vw, 2.5rem), env(safe-area-inset-right, 0px));
  border-bottom: 1px solid var(--border);
  background: rgba(12, 14, 20, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
  color: var(--accent);
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

/* Navbar / footer mascot logo (PNG) */
.brand .brand-logo-img,
img.brand-logo-img {
  width: 40px;
  height: 40px;
  max-width: 40px;
  max-height: 40px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.brand .brand-logo-img[width="36"],
img.brand-logo-img[width="36"] {
  width: 36px;
  height: 36px;
  max-width: 36px;
  max-height: 36px;
}

.brand .brand-logo-img[width="32"],
img.brand-logo-img[width="32"] {
  width: 32px;
  height: 32px;
  max-width: 32px;
  max-height: 32px;
  border-radius: 10px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-desktop a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-desktop a:hover {
  color: var(--text);
  background: var(--bg-card);
  text-decoration: none;
}

.nav-desktop a.is-active {
  color: var(--text);
  background: var(--accent-dim);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle .bar::before,
.nav-toggle .bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
}

.nav-toggle .bar::before {
  top: -6px;
}

.nav-toggle .bar::after {
  top: 6px;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 9, 13, 0.96);
  z-index: 110;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.5rem;
  border-top: 1px solid var(--border);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile a {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  flex: 0 0 auto;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  border: 1px solid transparent;
  text-align: left;
  overflow-wrap: anywhere;
}

.nav-mobile a:hover,
.nav-mobile a.is-active {
  background: var(--bg-card);
  border-color: var(--border);
}

.nav-mobile a.btn-download-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

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

  .nav-toggle {
    display: flex;
  }
}

main {
  padding-bottom: calc(4rem + env(safe-area-inset-bottom, 0px));
}

.container {
  min-width: 0;
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

.hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 8vw, 6rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-rating {
    justify-content: center;
  }
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  margin: 0 0 1.5rem;
  max-width: 36ch;
}

@media (max-width: 860px) {
  .lead {
    margin-inline: auto;
  }
}

.hero-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 1.75rem;
}

.stars {
  color: var(--star);
  letter-spacing: 2px;
  font-size: 1.1rem;
}

.rating-text {
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-actions .btn-store {
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #111;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

.btn-store > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.25;
}

.btn-store:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-store small {
  display: block;
  font-weight: 600;
  opacity: 0.75;
  font-size: 0.65rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-blob {
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(circle at 60% 40%, rgba(99, 102, 241, 0.35), transparent 65%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  max-width: min(340px, 85vw);
  border-radius: 24px;
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
}

.section-desc {
  color: var(--muted);
  margin: 0 0 2rem;
  max-width: 52ch;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: background 0.2s, border-color 0.2s;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(108, 92, 231, 0.28);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.page-hero {
  padding: clamp(2rem, 5vw, 3.5rem) 0 1.5rem;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
}

.page-hero .lead {
  max-width: 60ch;
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.article-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s, border-color 0.2s;
}

.article-item:hover {
  background: var(--bg-card-hover);
  border-color: rgba(108, 92, 231, 0.32);
  text-decoration: none;
}

.article-item .tag {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.article-item h2 {
  margin: 0.25rem 0 0;
  font-size: 1.05rem;
}

.article-item .meta {
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 640px) {
  .article-item {
    grid-template-columns: 1fr;
  }
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-q:hover {
  background: var(--bg-card-hover);
}

.faq-q .chev {
  flex-shrink: 0;
  transition: transform 0.25s;
  color: var(--muted);
}

.faq-item.is-open .faq-q .chev {
  transform: rotate(180deg);
}

.faq-a {
  display: none;
  padding: 0 1.25rem 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-item.is-open .faq-a {
  display: block;
}

.prose {
  max-width: 720px;
}

.prose h2 {
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul {
  padding-left: 1.25rem;
}

.legal {
  font-size: 0.95rem;
}

.legal h2 {
  font-size: 1.1rem;
  color: var(--text);
  margin-top: 2rem;
}

.legal h2:first-of-type {
  margin-top: 0;
}

.site-footer {
  margin-top: auto;
  padding: 2rem clamp(1rem, 4vw, 2.5rem);
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
}

.footer-inner {
  width: min(1120px, 100%);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

.copyright {
  font-size: 0.85rem;
  color: var(--muted);
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.social-row a:hover {
  color: var(--text);
  border-color: var(--accent);
  background: var(--accent-dim);
}

body.layout-column {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.layout-column main {
  flex: 1;
}

/* —— Migraine Buddy (English landing) —— */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header--mb {
  flex-wrap: wrap;
  gap: 0.5rem;
  background: #0a0e16;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav-desktop--mb {
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3.7rem;
}

.nav-desktop--mb a {
  position: relative;
  font-size: 1.29rem;
  padding: 0.45rem 0.75rem;
  color: rgba(255, 255, 255, 0.9);
}

.site-header--mb .nav-desktop--mb a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.brand-text-mb {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-text-mb__buddy {
  font-weight: 800;
}

.btn-lang-flag--wide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: auto;
  min-height: 42px;
  height: auto;
  padding: 0.45rem 0.8rem;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.btn-lang-flag--wide:hover,
.btn-lang-flag--wide[aria-expanded="true"] {
  background: transparent;
  border: none;
}

.btn-download-nav--secondary {
  background: #3d4b5f !important;
  color: #f8fafc !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  font-weight: 700;
}

.btn-download-nav--secondary:hover {
  filter: brightness(1.08);
  color: #fff !important;
}

.header-actions-mb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* TEMP: hide language + Download app in header until needed — delete this block to show again */
.site-header--mb .header-actions-mb .lang-wrap-mb,
.site-header--mb .header-actions-mb > .btn-download-nav {
  display: none !important;
}

.nav-mobile--mb a.btn-download-nav {
  display: none !important;
}

.btn-lang-flag {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  transition: border-color 0.2s, background 0.2s;
}

.btn-lang-flag:hover,
.btn-lang-flag[aria-expanded="true"] {
  border-color: var(--accent);
  background: var(--accent-dim);
}

/* Wide language control: no border/box (overrides .btn-lang-flag square + border) */
.btn-lang-flag.btn-lang-flag--wide {
  width: auto;
  min-width: auto;
  height: auto;
  min-height: 42px;
  border: none;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.btn-lang-flag.btn-lang-flag--wide:hover,
.btn-lang-flag.btn-lang-flag--wide[aria-expanded="true"] {
  border: none;
  background: transparent;
}

.lang-menu-mb {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  min-width: 9rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(14, 16, 22, 0.98);
  box-shadow: var(--shadow);
  z-index: 120;
}

.lang-menu-mb li {
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.56rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}

.lang-menu-mb li:hover {
  background: var(--bg-card-hover);
}

.lang-wrap-mb {
  position: relative;
}

.btn-download-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #0b0e14;
  font-weight: 800;
  font-size: 0.82rem;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 0.2s, transform 0.2s;
}

.btn-download-nav:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  text-decoration: none;
  color: #0b0e14;
}

.brand--mb {
  gap: 0.55rem;
}

.brand-mark-mb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, #6c5ce7, #4b3acb);
  color: #fff;
  font-weight: 900;
  font-size: 1.15rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.nav-mobile--mb a {
  font-size: 0.95rem;
}

@media (max-width: 1060px) {
  .nav-desktop--mb {
    display: none;
  }
}

@media (max-width: 1060px) {
  .site-header--mb .header-actions-mb {
    margin-left: auto;
  }
}

@media (max-width: 480px) {
  .btn-download-nav span {
    display: none;
  }

  .btn-download-nav::after {
    content: "App";
    font-size: 0.8rem;
  }
}

.hero--mb {
  position: relative;
  overflow: hidden;
  padding-top: clamp(2rem, 5vw, 3.5rem);
}

.hero-waves-mb {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 85% 10%, rgba(108, 92, 231, 0.2), transparent 55%),
    radial-gradient(ellipse 70% 50% at 5% 85%, rgba(91, 79, 217, 0.12), transparent 50%);
  pointer-events: none;
}

.hero--mb .hero-blob {
  background: radial-gradient(circle at 50% 45%, rgba(108, 92, 231, 0.42), transparent 62%);
  filter: blur(48px);
}

.hero-photo-mb {
  position: relative;
  z-index: 1;
  width: min(400px, 90vw);
  aspect-ratio: 4/5;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
  background: linear-gradient(145deg, rgba(108, 92, 231, 0.2), rgba(11, 14, 20, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-photo-mb-inner {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 65% 25%, rgba(255, 255, 255, 0.14), transparent 42%),
    linear-gradient(200deg, rgba(255, 255, 255, 0.06), transparent 50%),
    linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.5) 100%);
}

.section-wave-mb {
  height: 56px;
  margin-top: -1px;
  background: linear-gradient(180deg, transparent, rgba(108, 92, 231, 0.05));
  clip-path: polygon(0 35%, 100% 0, 100% 100%, 0 100%);
}

.section-title--center {
  text-align: center;
}

.section-desc--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-lead {
  text-align: center;
  color: var(--muted);
  max-width: 52ch;
  margin: -0.5rem auto 2rem;
}

.container--narrow {
  width: min(640px, 100% - 2rem);
}

.section--poll-mb {
  background: rgba(0, 0, 0, 0.22);
  border-block: 1px solid var(--border);
}

.poll-buttons-mb {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.btn-poll-mb {
  min-width: 130px;
  padding: 0.95rem 2rem;
  font: inherit;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 12px;
  border: 2px solid var(--accent);
  background: var(--accent-dim);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.btn-poll-mb:hover {
  background: rgba(108, 92, 231, 0.32);
  transform: translateY(-2px);
}

.poll-feedback-mb {
  min-height: 1.5rem;
  margin-top: 1.25rem;
  text-align: center;
  font-weight: 600;
  color: var(--accent);
}

.poll-hint-mb {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 46ch;
  margin-inline: auto;
}

.features-split-mb {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .features-split-mb {
    grid-template-columns: 1fr;
  }
}

.phone-mockups-mb {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-mb {
  width: 190px;
  border-radius: 26px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  background: #0a0c12;
  box-shadow: var(--shadow);
}

.phone-mb--back {
  position: absolute;
  left: 6%;
  top: 50%;
  transform: translateY(-50%) rotate(-9deg);
  height: 340px;
  opacity: 0.88;
  z-index: 0;
}

.phone-mb--front {
  position: relative;
  z-index: 1;
  height: 360px;
  transform: rotate(5deg);
}

.phone-notch-mb {
  height: 20px;
  margin: 0 auto;
  width: 38%;
  border-radius: 0 0 12px 12px;
  background: #000;
}

.phone-screen-mb {
  padding: 0.6rem 0.8rem 1rem;
  height: calc(100% - 20px);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mock-cal-mb {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  padding: 0.5rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.mock-cal-mb span {
  aspect-ratio: 1;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
}

.mock-cal-mb span.is-on {
  background: rgba(108, 92, 231, 0.45);
  color: #fff;
}

.mock-report-mb {
  flex: 1;
  border-radius: 10px;
  padding: 0.6rem;
  background: linear-gradient(180deg, rgba(108, 92, 231, 0.25), rgba(255, 255, 255, 0.03));
}

.mock-report-mb .bar {
  height: 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 0.45rem;
}

.mock-report-mb .bar:nth-child(2) {
  width: 80%;
}

.mock-report-mb .bar:nth-child(3) {
  width: 55%;
}

.feature-list-mb {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.feature-list-mb li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-ico-mb {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent-dim);
  color: var(--accent);
}

.feature-list-mb strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.feature-list-mb p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.card-grid--why-mb {
  margin-top: 0.5rem;
}

.card--why-mb h3 {
  margin: 0.85rem 0 0.5rem;
  font-size: 1.08rem;
}

.why-ico-mb {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.75rem;
}

.section-cta-mb {
  text-align: center;
  margin-top: 2rem;
}

.btn-primary-mb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.85rem;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #0b0e14;
  font-weight: 800;
  text-decoration: none;
  transition: filter 0.2s, transform 0.2s;
}

.btn-primary-mb:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  text-decoration: none;
  color: #0b0e14;
}

.section--testi-mb {
  background: linear-gradient(180deg, transparent, rgba(108, 92, 231, 0.04));
}

.testi-stars-illus {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
  margin: 1.5rem 0 2rem;
  flex-wrap: wrap;
}

.testi-person-mb {
  width: 64px;
  height: 80px;
  border-radius: 50% 50% 42% 42%;
  background: linear-gradient(180deg, rgba(108, 92, 231, 0.5), rgba(255, 255, 255, 0.08));
  position: relative;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.35);
}

.testi-person-mb::after {
  content: "★";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  color: #fbbf24;
  font-size: 0.9rem;
}

.carousel-mb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.carousel-viewport-mb {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  touch-action: pan-y pinch-zoom;
}

.carousel-track-mb {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.testi-card-mb {
  flex: 0 0 auto;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-sizing: border-box;
}

.testi-card-mb header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.65rem;
}

.testi-avatar-mb {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, #6c5ce7, #3b2d7a);
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.testi-avatar-mb--b {
  background: linear-gradient(135deg, #34d399, #065f46);
}

.testi-avatar-mb--c {
  background: linear-gradient(135deg, #f472b6, #9d174d);
}

.testi-avatar-mb--d {
  background: linear-gradient(135deg, #60a5fa, #1e3a8a);
}

.testi-meta-mb {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.testi-name-mb {
  font-weight: 800;
}

.testi-date-mb {
  font-size: 0.82rem;
  color: var(--muted);
}

.testi-card-mb .stars {
  margin-bottom: 0.55rem;
}

.testi-card-mb p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.carousel-btn-mb {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.carousel-btn-mb:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.carousel-dots-mb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.carousel-dot-mb {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.carousel-dot-mb.is-active {
  background: var(--accent);
  transform: scale(1.2);
}

.press-logos-mb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem 2.25rem;
  margin-top: 1.5rem;
}

.press-logo-mb {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  filter: grayscale(1);
}

.video-box-mb {
  position: relative;
  margin-top: 1.5rem;
  aspect-ratio: 16/9;
  max-width: 900px;
  margin-inline: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #161a26, #0b0e14);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.video-play-mb {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  padding-left: 4px;
  transition: transform 0.2s, background 0.2s;
}

.video-play-mb:hover {
  transform: scale(1.06);
  background: rgba(108, 92, 231, 0.4);
}

.video-note-mb {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.video-toast-mb {
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--accent);
}

.blog-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.25rem;
}

.link-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent);
  text-decoration: none;
}

.link-view-all:hover {
  text-decoration: underline;
}

.link-view-all .arr {
  transition: transform 0.2s;
}

.link-view-all:hover .arr {
  transform: translateX(4px);
}

.blog-grid-mb {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.75rem;
}

@media (max-width: 900px) {
  .blog-grid-mb {
    grid-template-columns: 1fr;
  }
}

.blog-card-mb {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.2s;
}

.blog-card-mb:hover {
  border-color: rgba(108, 92, 231, 0.35);
}

.blog-thumb-mb {
  display: block;
  height: 150px;
}

.blog-thumb-mb--1 {
  background-image: linear-gradient(135deg, rgba(108, 92, 231, 0.55), #1e1635);
}

.blog-thumb-mb--2 {
  background-image: linear-gradient(135deg, rgba(59, 130, 246, 0.45), #0f1729);
}

.blog-thumb-mb--3 {
  background-image: linear-gradient(135deg, rgba(244, 114, 182, 0.35), #2a1020);
}

.blog-body-mb {
  padding: 1rem 1.2rem 1.2rem;
}

.blog-body-mb h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}

.blog-body-mb h3 a {
  color: var(--text);
  text-decoration: none;
}

.blog-body-mb h3 a:hover {
  color: var(--accent);
}

.blog-body-mb p {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.section--dl-mb {
  padding-bottom: clamp(3rem, 8vw, 5.5rem);
}

.dlcta-grid-mb {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 800px) {
  .dlcta-grid-mb {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .dlcta-grid-mb .hero-actions {
    justify-content: center;
  }

  .dlcta-grid-mb .lead {
    margin-inline: auto;
  }
}

.dlcta-art-mb {
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.5rem;
}

.dlcta-phone-mb {
  width: 110px;
  height: 190px;
  border-radius: 18px;
  border: 3px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(108, 92, 231, 0.28), #0a0c12);
  box-shadow: var(--shadow);
  z-index: 1;
}

.dlcta-fig-mb {
  width: 44px;
  height: 76px;
  border-radius: 50% 50% 40% 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
}

.dlcta-fig-mb--l {
  transform: rotate(-14deg) translate(10px, 6px);
}

.dlcta-fig-mb--r {
  transform: rotate(14deg) translate(-10px, 6px);
}

.section--doctors-mb {
  border-block: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.12);
}

.doctors-inner-mb {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 768px) {
  .doctors-inner-mb {
    grid-template-columns: 1fr;
  }
}

.mini-card-mb {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.mini-card-mb h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.mini-card-mb p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer--mb {
  padding: 3rem clamp(1rem, 4vw, 2.5rem) 1.5rem;
}

/* Hero-only pages: domestic-style footer (ICP / copyright / legal) */
.site-footer--hero-only {
  padding: 1.75rem clamp(1rem, 4vw, 2rem) 2.25rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-china-mb {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1.5rem;
  text-align: center;
  max-width: none;
  width: 100%;
  margin-inline: auto;
}

.footer-china-mb .footer-icp {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
}

.footer-china-mb .footer-icp a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.footer-china-mb .footer-icp a:hover {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
}

.footer-china-mb .footer-icp-note {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.72rem;
  margin-left: 0.25rem;
}

.footer-china-mb .footer-copy {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

.footer-china-mb .footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  margin: 0;
  font-size: 0.82rem;
}

.footer-china-mb .footer-legal-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.footer-china-mb .footer-legal-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-china-mb .footer-dot {
  color: rgba(255, 255, 255, 0.25);
  user-select: none;
}

.footer-grid-mb {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr) 1.25fr;
  gap: 2rem 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  width: min(1120px, 100%);
  margin-inline: auto;
}

@media (max-width: 1000px) {
  .footer-grid-mb {
    grid-template-columns: 1fr 1fr;
  }

  .footer-aside-mb {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .footer-grid-mb {
    grid-template-columns: 1fr;
  }
}

p.footer-about-mb {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 34ch;
  line-height: 1.6;
}

.footer-col-mb h3 {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-col-mb ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col-mb li {
  margin-bottom: 0.45rem;
}

.footer-col-mb a {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.footer-col-mb a:hover {
  color: var(--accent);
}

.footer-aside-mb {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: flex-end;
}

@media (max-width: 1000px) {
  .footer-aside-mb {
    align-items: flex-start;
  }
}

.footer-badges-mb {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.btn-store--sm-mb {
  padding: 0.42rem 0.7rem;
  font-size: 0.68rem;
}

.btn-store--sm-mb svg {
  display: none;
}

.footer-social-mb {
  display: flex;
  gap: 0.45rem;
}

.social-ico-mb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
}

.social-ico-mb:hover {
  color: var(--text);
  border-color: var(--accent);
  background: var(--accent-dim);
}

.footer-bottom-mb {
  width: min(1120px, 100% - 2rem);
  margin: 1.5rem auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1.5rem;
}

.healint-copy {
  font-size: 0.85rem;
  color: var(--muted);
}

body.page-mb .nav-toggle {
  display: none;
}

@media (max-width: 1060px) {
  body.page-mb .nav-toggle {
    display: flex;
  }
}

/* —— B2B landing + shared nav active —— */
.nav-desktop--mb a.is-active {
  color: #ffffff;
  background: transparent;
  box-shadow: none;
}

.nav-desktop--mb a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(48%, 3rem);
  height: 2px;
  background: #3c4155;
  border-radius: 1px;
}

.nav-mobile--mb a.is-active {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.nav-mobile--mb a.is-active::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 2px;
  margin: 0.4rem auto 0;
  background: #3c4155;
  border-radius: 1px;
}

.hero--b2b .hero-b2b-photo {
  background: linear-gradient(165deg, rgba(108, 92, 231, 0.15), rgba(11, 14, 20, 0.92));
}

.hero-b2b-figure {
  position: relative;
  z-index: 1;
  width: min(420px, 92vw);
  /* 与主视觉一致：仅纵向收短，左右不变 */
  aspect-ratio: 12 / 13;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-b2b-figure::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 20%, rgba(255, 255, 255, 0.12), transparent 55%),
    linear-gradient(180deg, #2a3344 0%, #1a2130 45%, #121820 100%);
}

.hero-b2b-figure::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 72%;
  height: 58%;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(180deg, #f5f5f5 0%, #e8e8e8 100%);
  box-shadow: inset 0 -20px 40px rgba(0, 0, 0, 0.08);
}

.hero-b2b-coat {
  position: absolute;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: 78%;
  height: 42%;
  background: linear-gradient(180deg, #ffffff 0%, #ececec 100%);
  border-radius: 12px 12px 4px 4px;
  z-index: 1;
}

.hero-b2b-tie {
  position: absolute;
  bottom: 38%;
  left: 50%;
  transform: translateX(-50%);
  width: 8%;
  height: 14%;
  background: #2c3e50;
  border-radius: 2px;
  z-index: 2;
}

.hero-b2b-figure--app img {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center center;
  transform: scale(1.12);
  transform-origin: center center;
  display: block;
  z-index: 1;
  animation: none;
}

.hero-b2b-figure--app::before {
  z-index: 2;
  opacity: 0.14;
}

.hero-b2b-figure--app::after {
  display: none;
}

.b2b-decision {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.b2b-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 900px) {
  .b2b-split {
    grid-template-columns: 1fr;
  }
}

.b2b-dashboard-card {
  background: #f8f9fc;
  color: #1a1d26;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.b2b-dashboard-card h3 {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: #3d4454;
}

.b2b-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 120px;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e2e5ee;
}

.b2b-chart-bars span {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #6c5ce7, #9b8def);
  min-height: 12px;
}

.b2b-chart-bars span:nth-child(1) { height: 45%; }
.b2b-chart-bars span:nth-child(2) { height: 70%; }
.b2b-chart-bars span:nth-child(3) { height: 55%; }
.b2b-chart-bars span:nth-child(4) { height: 90%; }
.b2b-chart-bars span:nth-child(5) { height: 62%; }

.b2b-mini-cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.b2b-mini-cal i {
  aspect-ratio: 1;
  border-radius: 4px;
  background: #eef0f6;
  font-style: normal;
  font-size: 0.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8890a3;
}

.b2b-mini-cal i.on {
  background: rgba(108, 92, 231, 0.25);
  color: #4a3acb;
  font-weight: 800;
}

.b2b-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 800px) {
  .b2b-steps {
    grid-template-columns: 1fr;
  }
}

.b2b-step {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-align: left;
}

.b2b-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.b2b-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.b2b-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.b2b-trusted {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-block: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.15);
}

.b2b-experts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

.b2b-expert {
  text-align: center;
  max-width: 160px;
}

.b2b-expert-avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 0.65rem;
  border-radius: 50%;
  border: 3px solid rgba(108, 92, 231, 0.45);
  background: linear-gradient(135deg, #4a5568, #2d3748);
}

.b2b-expert-avatar--2 {
  background: linear-gradient(135deg, #6c5ce7, #322a6b);
}

.b2b-expert-avatar--3 {
  background: linear-gradient(135deg, #38b2ac, #234e52);
}

.b2b-expert-name {
  font-weight: 800;
  font-size: 0.92rem;
  display: block;
}

.b2b-expert-role {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.b2b-quote-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
  padding: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.35), rgba(20, 22, 35, 0.95));
  border: 1px solid rgba(108, 92, 231, 0.35);
}

@media (max-width: 700px) {
  .b2b-quote-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.b2b-quote-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  background: linear-gradient(145deg, #718096, #2d3748);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.b2b-quote-card blockquote {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.b2b-quote-card cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-weight: 800;
  color: var(--text);
}

.b2b-newsletter {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.b2b-newsletter .newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.b2b-newsletter .news-input {
  flex: 1;
  min-width: 220px;
  max-width: 360px;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.b2b-newsletter .news-input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.b2b-newsletter .news-input::placeholder {
  color: var(--muted);
}

@media (max-width: 640px) {
  .b2b-newsletter .news-input {
    min-width: 0;
    width: 100%;
    max-width: none;
  }
}

.form-msg {
  text-align: center;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--accent);
}

.b2b-split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.b2b-split-feature--reverse {
  direction: rtl;
}

.b2b-split-feature--reverse > * {
  direction: ltr;
}

@media (max-width: 900px) {
  .b2b-split-feature,
  .b2b-split-feature--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .b2b-split-feature--reverse > * {
    direction: ltr;
  }
}

.b2b-feature-visual {
  border-radius: 20px;
  min-height: 260px;
  background: linear-gradient(145deg, rgba(108, 92, 231, 0.2), rgba(11, 14, 20, 0.9));
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.b2b-phone-shot {
  position: absolute;
  inset: 10% 12%;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: #0e1018;
  box-shadow: var(--shadow);
}

.b2b-photo-soft {
  border-radius: 24px;
  min-height: 280px;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(255, 255, 255, 0.08), transparent 50%),
    linear-gradient(135deg, #2d3748, #1a202c);
}

.feature-bullets-mb {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.feature-bullets-mb li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.feature-bullets-mb .feature-ico-mb {
  margin-top: 2px;
}

.b2b-contact {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--border);
}

.b2b-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 860px) {
  .b2b-contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-form-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.contact-form-card label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--muted);
}

.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  margin-bottom: 1rem;
}

.contact-form-card textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form-card .btn-primary-mb {
  width: 100%;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.contact-msg {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}

.footer-grid-mb--b2b {
  grid-template-columns: 1.25fr repeat(4, 1fr) 1.2fr;
}

@media (max-width: 1100px) {
  .footer-grid-mb--b2b {
    grid-template-columns: 1fr 1fr;
  }

  .footer-aside-mb {
    grid-column: 1 / -1;
  }
}

/* Blog listing page */
.blog-page-feature {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .blog-page-feature {
    grid-template-columns: 1fr;
  }
}

.blog-feature-text {
  padding: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.45), rgba(59, 130, 246, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-feature-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.5rem;
}

.blog-feature-text h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
}

.blog-feature-img {
  border-radius: var(--radius);
  min-height: 280px;
  background: linear-gradient(135deg, #3d4a5c, #1e2533);
  position: relative;
  overflow: hidden;
}

.blog-feature-overlay {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(45, 212, 191, 0.35);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 900;
  font-size: clamp(1.25rem, 3vw, 2rem);
  letter-spacing: 0.06em;
}

.blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.blog-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
}

.blog-cats button {
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.blog-cats button.is-active,
.blog-cats button:hover {
  color: var(--text);
  border-color: var(--border);
  background: var(--bg-card);
}

.blog-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.blog-search input {
  border: none;
  background: none;
  color: var(--text);
  font: inherit;
  min-width: 180px;
}

.blog-search input:focus {
  outline: none;
}

.blog-search input::placeholder {
  color: var(--muted);
}

@media (max-width: 640px) {
  .blog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-cats {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding-bottom: 0.35rem;
    gap: 0.35rem 0.5rem;
    scrollbar-width: thin;
  }

  .blog-cats button {
    flex-shrink: 0;
  }

  .blog-search {
    min-width: 0;
    width: 100%;
  }

  .blog-search input {
    min-width: 0;
    flex: 1 1 auto;
    width: 0;
  }
}

.help-download-strip {
  max-width: 960px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  background: rgba(30, 33, 43, 0.85);
  border-radius: 16px;
}

@media (max-width: 640px) {
  .help-download-strip {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.1rem;
    gap: 1.25rem;
  }
}

.blog-card-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.blog-tags-row {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.pagination-mb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 2.5rem;
}

.pagination-mb button,
.pagination-mb a {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--muted);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: none;
}

.pagination-mb .is-current {
  background: var(--accent);
  color: #0b0e14;
  border-color: var(--accent);
  font-weight: 800;
}

.help-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  max-width: 900px;
  margin-inline: auto;
}

.help-grid-five {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.help-grid-five > .help-cat-card:nth-child(1),
.help-grid-five > .help-cat-card:nth-child(2),
.help-grid-five > .help-cat-card:nth-child(3) {
  grid-column: span 2;
}

.help-grid-five > .help-cat-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.help-grid-five > .help-cat-card:nth-child(5) {
  grid-column: 4 / span 2;
}

@media (max-width: 700px) {
  .help-grid-five {
    grid-template-columns: 1fr;
  }

  .help-grid-five > .help-cat-card:nth-child(1),
  .help-grid-five > .help-cat-card:nth-child(2),
  .help-grid-five > .help-cat-card:nth-child(3),
  .help-grid-five > .help-cat-card:nth-child(4),
  .help-grid-five > .help-cat-card:nth-child(5) {
    grid-column: auto;
  }
}

.help-cat-card {
  padding: 1.75rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(34, 37, 51, 0.65);
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
}

.help-cat-card:hover {
  border-color: rgba(108, 92, 231, 0.45);
  background: var(--bg-card-hover);
  text-decoration: none;
}

.help-cat-ico {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.help-cat-card h2 {
  margin: 0;
  font-size: 1.05rem;
}

.page-hero--center {
  text-align: center;
}

.page-hero--center .lead {
  margin-inline: auto;
}

/* —— Page 1: Chinese consumer homepage —— */
body.page-cn {
  --bg-deep: #12141d;
  background-color: #12141d;
}

.site-header--transparent {
  background: transparent !important;
  border-bottom: none;
  backdrop-filter: none;
}

.nav-caps a {
  font-size: 0.78rem !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.btn-sign-up {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  text-decoration: none;
  letter-spacing: 0.06em;
}

.btn-sign-up:hover {
  filter: brightness(1.08);
  text-decoration: none;
  color: #fff;
}

.lang-en-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.hero-cn-photo {
  /* 大图展示框；图片仅用 contain 适配，不用 transform 放大，避免裁切、保证整图可见 */
  width: min(560px, 95vw);
  aspect-ratio: 12 / 13;
  border-radius: 24px;
  background: transparent;
  border: none;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

.hero-cn-photo::after {
  display: none;
}

/* 主视觉：整图在框内等比放大至极限（contain），不裁切 */
.hero-cn-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  object-fit: contain;
  object-position: center center;
  display: block;
  z-index: 1;
  animation: none;
  box-shadow: none;
  border: none;
}

.section-download-purple {
  margin: clamp(2rem, 5vw, 4rem) auto;
  max-width: min(1120px, 100% - 2rem);
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.55), rgba(75, 58, 203, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.dl-purple-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 800px) {
  .dl-purple-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.newsletter-form--stack {
  flex-direction: column;
  align-items: stretch;
  max-width: 420px;
  margin-inline: auto;
}

.newsletter-form--stack .news-input {
  max-width: none;
  width: 100%;
}

.newsletter-form--stack .btn-primary-mb {
  align-self: center;
}

.blog-cats--underline .is-active {
  border: none !important;
  background: none !important;
  color: var(--text) !important;
  box-shadow: inset 0 -2px 0 var(--accent);
  border-radius: 0;
}

/* MBplus */
.mbplus-hero-illu {
  min-height: 220px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(108, 92, 231, 0.25), rgba(18, 20, 29, 0.9));
  border: 1px solid var(--border);
}

.mbplus-wavy-line {
  width: 2px;
  min-height: 48px;
  margin: 0 auto;
  background: linear-gradient(180deg, transparent, rgba(108, 92, 231, 0.6), transparent);
}

.community-ring {
  position: relative;
  width: min(360px, 85vw);
  height: min(360px, 85vw);
  margin: 2rem auto;
  border-radius: 50%;
  border: 2px dashed rgba(108, 92, 231, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.4) 0%, transparent 70%);
}

.community-center {
  text-align: center;
  padding: 1rem;
  max-width: 14ch;
}

.community-avatars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.community-avatars span {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6c5ce7, #2d3748);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.pricing-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 880px;
  margin: 2rem auto 0;
}

@media (max-width: 700px) {
  .pricing-row {
    grid-template-columns: 1fr;
  }
}

.pricing-card-mb {
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  position: relative;
}

.pricing-card-mb--light {
  background: #e8e9ef;
  color: #1a1d26;
}

.pricing-card-mb--light h3,
.pricing-card-mb--light .price-mb,
.pricing-card-mb--light li {
  color: #1a1d26;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  background: #6c5ce7;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.price-mb {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0.5rem 0 1rem;
}

.pricing-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.pricing-list li {
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.92rem;
  color: var(--muted);
}

.pricing-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.pricing-card-mb--light .pricing-list li::before {
  color: #6c5ce7;
}

/* ========== Cross-browser & mobile polish (Chrome / Edge / Firefox / Safari; Windows / macOS / iOS / Android) ========== */
html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@supports (height: 100dvh) {
  body {
    min-height: 100dvh;
  }
}

/* SVG flag — avoids broken regional-indicator emoji on Windows Edge */
.lang-flag {
  display: inline-block;
  width: 1.15rem;
  height: auto;
  vertical-align: -0.12em;
  margin-right: 0.2rem;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

button,
a.btn-store,
.nav-toggle,
.btn-poll-mb,
input[type="submit"],
.btn-primary-mb,
.hero-scroll-down {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(108, 92, 231, 0.22);
}

@media (max-width: 1060px) {
  .site-header--mb .header-actions-mb > .btn-download-nav {
    display: none;
  }
}

.hero-social-mb {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-social-mb li {
  margin: 0;
  padding: 0;
}

.hero-social-ico-mb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.hero-social-ico-mb:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  text-decoration: none;
  color: #fff;
}

@media (max-width: 860px) {
  #page-index .hero--mb .hero-grid {
    text-align: center;
    gap: 1.5rem;
  }

  #page-index .hero--mb .hero-copy-mb {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-social-mb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem 0.85rem;
  }

  #page-index .hero--mb h1 {
    font-size: clamp(1.65rem, 6.5vw, 2.2rem);
    line-height: 1.18;
  }

  #page-index .hero--mb .lead {
    max-width: 22rem;
    margin-inline: auto;
    font-size: clamp(0.95rem, 3.8vw, 1.06rem);
    color: rgba(255, 255, 255, 0.74);
  }

  #page-index .hero--mb .hero-rating {
    justify-content: center;
    margin-bottom: 1.5rem;
  }

  #page-index .hero--mb .hero-actions {
    justify-content: center;
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
  }

  #page-index .hero--mb .btn-store {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 0;
    min-height: 44px;
    justify-content: center;
    padding: 0.72rem 0.6rem;
  }

  #page-index .hero--mb .hero-visual {
    margin-top: 0.35rem;
    justify-content: center;
    width: 100%;
  }

  .hero--mb .hero-cn-photo {
    width: min(420px, 94vw);
    margin-inline: auto;
  }

  #page-index .hero-waves-mb {
    opacity: 1;
  }
}

.hero-scroll-down {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 1.75rem auto 0;
  border-radius: 50%;
  background: linear-gradient(145deg, #6c5ce7, #4b3acb);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(108, 92, 231, 0.42);
  transition: transform 0.2s, filter 0.2s;
  animation: float 2.8s ease-in-out infinite;
}

.hero-scroll-down:hover {
  filter: brightness(1.08);
  transform: scale(1.04);
  text-decoration: none;
  color: #fff;
}

.hero-scroll-down:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (min-width: 861px) {
  .hero-scroll-down {
    display: flex;
    width: auto;
    height: auto;
    margin-top: 2rem;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--accent);
    font-size: 1.5rem;
    animation: float 2.5s ease-in-out infinite;
  }

  .hero-scroll-down:hover {
    transform: none;
    filter: none;
    color: #a29bfe;
  }
}

/* Optional: drop a marketing PNG/JPG into assets/ as hero-person.jpg and uncomment:
#page-index .hero-cn-photo {
  background-image: url("../assets/hero-person.jpg");
  background-size: cover;
  background-position: top center;
}
#page-index .hero-cn-photo::after { opacity: 0.35; }
*/

/* iOS / Android: avoid automatic zoom on focus when font size is below 16px (Edge mobile same) */
@media (max-width: 720px) {
  input[type="text"],
  input[type="email"],
  input[type="search"],
  input[type="tel"],
  input[type="url"],
  input[type="password"],
  textarea,
  select {
    font-size: max(16px, 1em);
  }
}

/* Flex children: allow shrinking on narrow viewports (reduces horizontal overflow) */
.hero-grid > *,
.hero-actions {
  min-width: 0;
}

@supports (text-wrap: balance) {
  @media (max-width: 860px) {
    #page-index .hero--mb h1 {
      text-wrap: balance;
    }
  }
}
