:root {
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1200px, calc(100vw - 48px));
  --topbar-hint: 64px;

  /* 固定浅色主题（全站浅色，首屏仍使用背景图，文字为白色） */
  --bg: #f5f7fb;
  --page-grad-a: rgba(37, 99, 235, 0.08);
  --page-grad-b: #edf2f7;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --line: rgba(17, 24, 39, 0.08);
  --text: #101828;
  --muted: #475467;
  --soft: #667085;
  --accent: #2563eb;
  --accent-deep: #1d4ed8;

  /* 顶部导航固定深色（更像系统官网），正文仍保持浅色 */
  --topbar-bg: linear-gradient(
    90deg,
    rgba(9, 16, 30, 0.70) 0%,
    rgba(38, 25, 118, 0.40) 45%,
    rgba(9, 16, 30, 0.70) 100%
  );
  --topbar-bg-scrolled: linear-gradient(
    90deg,
    rgba(9, 16, 30, 0.90) 0%,
    rgba(38, 25, 118, 0.54) 45%,
    rgba(9, 16, 30, 0.90) 100%
  );
  --topbar-border: rgba(255, 255, 255, 0.14);
  --topbar-shadow: 0 12px 30px rgba(2, 6, 23, 0.22);
  --topbar-text: rgba(255, 255, 255, 0.92);
  --topbar-text-soft: rgba(255, 255, 255, 0.78);

  --nav-bg: rgba(255, 255, 255, 0.06);
  --nav-border: rgba(255, 255, 255, 0.12);
  --nav-hover: rgba(255, 255, 255, 0.12);

  --tag-bg: rgba(15, 23, 42, 0.08);
  --tag-text: #1f2937;
  --download-btn-bg: var(--accent);
  --download-btn-text: #fff;

  --shadow-xl: 0 30px 80px rgba(15, 23, 42, 0.16);
  --shadow-lg: 0 18px 48px rgba(15, 23, 42, 0.12);
}

/* 字体（本地文件） */
@font-face {
  font-family: "AliMamaShuHeiTi";
  src: url("./fonts/ALIMAMA_SHUHEITI_BOLD.TTF") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AlibabaPuHuiTi";
  src: url("./fonts/ALIBABAPUHUITI-3-35-THIN.TTF") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AlibabaPuHuiTi";
  src: url("./fonts/ALIBABAPUHUITI-3-45-LIGHT.TTF") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AlibabaPuHuiTi";
  src: url("./fonts/ALIBABAPUHUITI-3-55-REGULAR.TTF") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AlibabaPuHuiTi";
  src: url("./fonts/ALIBABAPUHUITI-3-65-MEDIUM.TTF") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AlibabaPuHuiTi";
  src: url("./fonts/ALIBABAPUHUITI-3-75-SEMIBOLD.TTF") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AlibabaPuHuiTi";
  src: url("./fonts/ALIBABAPUHUITI-3-85-BOLD.TTF") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "AlibabaPuHuiTi", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Segoe UI", system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--text);
  background:
    radial-gradient(circle at top left, var(--page-grad-a), transparent 35%),
    linear-gradient(180deg, #f8fafc 0%, var(--page-grad-b) 100%);
  overflow-x: hidden;
}

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

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

.page-shell {
  min-height: 100vh;
}

[id] {
  scroll-margin-top: 92px;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  transform: none;
  padding: 0;
  border-bottom: 1px solid var(--topbar-border);
  border-radius: 0;
  background: var(--topbar-bg);
  backdrop-filter: blur(20px);
  box-shadow: var(--topbar-shadow);
  background-size: 200% 100%;
  animation: topbarShine 14s ease-in-out infinite;
  transition:
    background 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s ease,
    width 0.24s ease;
}

.topbar.is-scrolled {
  background: var(--topbar-bg-scrolled);
  border-bottom-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.26);
}

@keyframes topbarShine {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .topbar {
    animation: none;
    background-size: auto;
  }
}

.topbar-inner {
  width: 100%;
  margin: 0;
  padding: 12px 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--topbar-text);
  justify-self: start;
  margin-left: 28px;
}

.brand-mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.topnav {
  display: inline-flex;
  justify-self: center;
  align-items: center;
  gap: 6px;
  padding: 4px;
  color: var(--topbar-text-soft);
  font-size: 14px;
  font-weight: 500;
  background: var(--nav-bg);
  border: 1px solid var(--nav-border);
  border-radius: 999px;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.topnav::-webkit-scrollbar {
  display: none;
}

.topnav a {
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 0.22s ease, color 0.22s ease;
}

.topnav a:hover {
  color: var(--topbar-text);
  background: var(--nav-hover);
}

.topbar-right {
  justify-self: end;
}

/* 小高度横屏（例如手机横屏）：避免内容挤出首屏 */
@media (orientation: landscape) and (max-height: 520px) {
  .hero {
    padding-top: calc(var(--topbar-hint) + 18px);
    padding-bottom: 26px;
  }

  .hero-content {
    transform: translateY(-18px);
  }

  .hero-logo-wrap {
    width: 108px;
    height: 108px;
    margin-bottom: 14px;
  }
}

.hero {
  position: relative;
  min-height: 100svh;
  height: 100svh;
  padding: calc(var(--topbar-hint) + 40px) 24px 56px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background: url("./大图背景.png") center center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  padding: 0 24px;
  text-align: center;
  transform: translateY(-44px);
}

.hero-logo-wrap {
  width: 156px;
  height: 156px;
  margin: 0 auto 20px;
}

.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  filter: brightness(0) invert(1) drop-shadow(0 8px 22px rgba(0, 0, 0, 0.16));
}

.hero h1 {
  margin: 0;
  font-family: "AliMamaShuHeiTi", "AlibabaPuHuiTi", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 6.8vw, 86px);
  line-height: 1.04;
  letter-spacing: 0.10em;
  text-indent: 0.10em;
  color: #ffffff;
  text-shadow:
    0 10px 32px rgba(0, 0, 0, 0.26),
    0 2px 12px rgba(0, 0, 0, 0.18);
}

.hero-blessing {
  margin: 28px 0 0;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.96);
  font-weight: 600;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.hero-intro {
  width: min(620px, 100%);
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.85;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 72px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-head.compact {
  max-width: 620px;
}

.section-head.left {
  margin-bottom: 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 24, 39, 0.06);
  color: var(--soft);
  font-size: 13px;
  font-weight: 600;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.intro-strip {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding-top: 24px;
}

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

.principle-card,
.future-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
}

.principle-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.principle-card h3,
.future-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 600;
}

.principle-card p,
.future-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

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

.app-card {
  padding: 22px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 16px;
}

.app-media {
  height: 190px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background:
    radial-gradient(circle at 20% 30%, rgba(213, 149, 78, 0.45), transparent 44%),
    radial-gradient(circle at 80% 38%, rgba(143, 68, 133, 0.40), transparent 48%),
    radial-gradient(circle at 56% 70%, rgba(58, 24, 172, 0.38), transparent 55%),
    rgba(9, 16, 30, 0.92);
  background-size: 140% 140%;
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.14);
  position: relative;
  overflow: hidden;
  animation: appMediaFloat 10s ease-in-out infinite;
}

.app-media--asset {
  background: rgba(9, 16, 30, 0.92);
  animation: none;
}

.app-media-image,
.app-media-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-card--soon {
  border-style: dashed;
  background: rgba(255, 255, 255, 0.56);
}

.app-media--soon {
  background:
    radial-gradient(circle at 30% 30%, rgba(37, 99, 235, 0.18), transparent 52%),
    radial-gradient(circle at 70% 70%, rgba(148, 163, 184, 0.22), transparent 56%),
    linear-gradient(180deg, rgba(9, 16, 30, 0.88), rgba(9, 16, 30, 0.78));
  animation: none;
}

.product-cta--disabled {
  background: var(--accent-deep);
  color: #fff;
  opacity: 0.78;
  border-radius: 14px;
  box-shadow: none;
  pointer-events: none;
}

.app-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.10), transparent 34%, rgba(255, 255, 255, 0.06));
  opacity: 0.6;
}

@keyframes appMediaFloat {
  0% {
    background-position: 30% 30%;
    transform: translateY(0);
  }
  50% {
    background-position: 70% 60%;
    transform: translateY(-6px);
  }
  100% {
    background-position: 30% 30%;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-media {
    animation: none;
  }
}

.app-name {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.product-tag,
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.product-tag {
  background: var(--tag-bg);
  color: var(--tag-text);
}

.status-pill {
  background: rgba(37, 99, 235, 0.10);
  color: var(--accent);
}

.product-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  padding: 11px 18px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.26);
}

.product-cta:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.20);
}

.meta-chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 24, 39, 0.06);
  color: var(--soft);
  font-size: 13px;
}

.download-list {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.download-card {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
}

.download-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.download-card-top h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.download-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  border-top: 1px solid rgba(17, 24, 39, 0.06);
  margin-top: 18px;
}

.download-col {
  padding: 18px 18px 14px;
}

.download-col + .download-col {
  border-left: 1px solid rgba(17, 24, 39, 0.06);
}

.download-col-title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(17, 24, 39, 0.70);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.download-col-subtitle {
  color: rgba(71, 84, 103, 0.82);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.download-list-lite {
  display: grid;
}

.dl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.dl-row:last-child {
  border-bottom: none;
}

.dl-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.dl-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(248, 250, 252, 0.96);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(17, 24, 39, 0.72);
}

.dl-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.dl-platform {
  font-size: 15px;
  font-weight: 600;
}

.dl-btn {
  flex-shrink: 0;
  min-width: 96px;
  padding: 10px 16px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.dl-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
}

.dl-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--surface-strong);
  border: 1px solid rgba(17, 24, 39, 0.05);
}

.download-item strong {
  font-size: 15px;
}

.download-item span {
  color: var(--soft);
  font-size: 13px;
}

.download-link {
  flex-shrink: 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--download-btn-bg);
  color: var(--download-btn-text);
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.download-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.download-link:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.10);
}

.download-link.disabled {
  background: #d0d5dd;
  color: #667085;
  pointer-events: none;
}

.future-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(242, 247, 255, 0.78)),
    rgba(255, 255, 255, 0.72);
}

.future-card .grid-dots {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.future-card .grid-dots span {
  height: 62px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.18), rgba(255, 255, 255, 0.82));
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.community-grid,
.info-split {
  display: grid;
  gap: 22px;
}

.community-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.info-panel {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
}

.info-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.info-actions .cta-btn {
  flex-direction: row;
  min-height: 44px;
  padding: 10px 14px;
}

.info-actions .cta-btn small {
  display: none;
}

.info-card h3,
.info-panel h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.info-card p,
.info-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.community-join {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 10px;
  align-items: start;
}

.community-join-title {
  margin: 0;
  font-size: 22px;
  text-align: left;
}

.community-join-desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  text-align: left;
}

.community-code-trigger {
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.community-code-box {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  border: 1px dashed rgba(17, 24, 39, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(242, 247, 255, 0.88)),
    rgba(255, 255, 255, 0.76);
  display: grid;
  place-items: center;
  color: rgba(71, 84, 103, 0.72);
  font-size: 13px;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.community-code-trigger:hover .community-code-box {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.10);
}

.community-code-trigger:active .community-code-box {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

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

.info-block {
  display: grid;
  gap: 16px;
}

.section-head-outside {
  margin-bottom: 0;
}

.about-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 28%),
    radial-gradient(circle at left center, rgba(147, 51, 234, 0.06), transparent 32%),
    var(--surface);
}

.contact-panel {
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.07), transparent 26%),
    radial-gradient(circle at left center, rgba(14, 165, 233, 0.06), transparent 30%),
    var(--surface);
}

.about-panel::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 28px;
  width: 54px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.95), rgba(96, 165, 250, 0.42));
}

.contact-panel::before {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.95), rgba(56, 189, 248, 0.42));
}

.about-card-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
}

.about-card-head h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.about-card-mark {
  flex-shrink: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(17, 24, 39, 0.06);
  color: rgba(17, 24, 39, 0.46);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.contact-list,
.about-points {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.contact-item,
.about-point {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(17, 24, 39, 0.05);
}

.contact-item strong,
.about-point strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}

.contact-item span,
.about-point span {
  color: var(--muted);
  line-height: 1.8;
}

.about-manifesto {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  padding: 2px;
  display: grid;
  gap: 16px;
}

.about-hero-line {
  margin: 0;
  font-size: 16px;
  line-height: 2.02;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
}

.about-paragraph {
  margin: 0 !important;
  color: var(--muted);
  font-size: 16px;
  line-height: 2.02 !important;
}

.contact-brief {
  margin-top: 22px !important;
  color: var(--muted);
  font-size: 16px;
  line-height: 2 !important;
}

.contact-entry-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 0.84fr 0.84fr 1.12fr;
  gap: 16px;
  align-items: stretch;
}

.contact-entry-card,
.contact-meta-item {
  padding: 18px 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 24, 39, 0.06);
}

.contact-entry-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 240px;
  text-align: center;
}

.contact-entry-head strong,
.contact-meta-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.contact-entry-head span {
  display: block;
  margin-top: 6px;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.6;
}

.contact-entry-head {
  width: 100%;
}

.contact-code-box {
  width: 124px;
  height: 124px;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  border: 1px dashed rgba(17, 24, 39, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(242, 247, 255, 0.88)),
    rgba(255, 255, 255, 0.76);
  display: grid;
  place-items: center;
  color: rgba(71, 84, 103, 0.72);
  font-size: 14px;
  text-align: center;
}

.contact-code-box img,
.community-code-box img,
.qr-box img,
.code-modal-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.contact-code-trigger {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.contact-code-trigger .contact-code-box {
  margin-top: 0;
}

.contact-meta-stack {
  display: grid;
  gap: 16px;
}

.contact-meta-value {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
}

.contact-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(10px);
  z-index: 60;
}

.modal-backdrop.is-open {
  display: flex;
}

.contact-modal {
  position: relative;
  width: min(760px, 100%);
  max-height: min(94vh, 980px);
  overflow: auto;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.24);
}

.feedback-modal {
  width: min(860px, 100%);
}

/* 隐藏滚动条，但仍可滚动（避免出现明显滚动条） */
.contact-modal {
  scrollbar-width: none;
}

.contact-modal::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.code-modal {
  position: relative;
  width: min(420px, 100%);
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.24);
}

.code-modal-box {
  margin-top: 20px;
  width: min(100%, 320px);
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  border-radius: 24px;
  border: 1px dashed rgba(17, 24, 39, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(242, 247, 255, 0.88)),
    rgba(255, 255, 255, 0.76);
  display: grid;
  place-items: center;
  color: rgba(71, 84, 103, 0.72);
  font-size: 18px;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(248, 250, 252, 0.96);
  color: rgba(17, 24, 39, 0.74);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.contact-modal-head h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
}

.contact-modal-head h2 small {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(71, 84, 103, 0.74);
  letter-spacing: 0.01em;
}

.contact-modal-head p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.modal-head-en {
  font-size: 13px;
  color: rgba(71, 84, 103, 0.74) !important;
}

.contact-form {
  margin-top: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(17, 24, 39, 0.82);
}

.form-field span small {
  font-size: 12px;
  font-weight: 500;
  color: rgba(71, 84, 103, 0.7);
  letter-spacing: 0.01em;
}

.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice-option {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.choice-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-option span {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, 0.10);
  background: rgba(248, 250, 252, 0.92);
  color: rgba(17, 24, 39, 0.78);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.choice-option span small {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(71, 84, 103, 0.72);
  line-height: 1.2;
}

.choice-option input:checked + span {
  border-color: rgba(37, 99, 235, 0.24);
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.06);
}

.choice-option input:checked + span small {
  color: rgba(37, 99, 235, 0.82);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 16px;
  padding: 13px 14px;
  font: inherit;
  color: var(--text);
  background: rgba(248, 250, 252, 0.92);
  outline: none;
}

.form-field textarea {
  resize: vertical;
  min-height: 96px;
}

.form-field input:disabled,
.form-field textarea:disabled {
  color: rgba(148, 163, 184, 0.92);
  background: rgba(241, 245, 249, 0.92);
  border-color: rgba(148, 163, 184, 0.22);
  cursor: not-allowed;
}

.form-field.is-guided span {
  color: var(--accent);
}

.form-field.is-guided textarea {
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.06);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.form-field-full {
  grid-column: 1 / -1;
}

.is-hidden {
  display: none;
}

.form-actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.cta-btn:focus {
  outline: none;
}

.cta-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.form-actions .cta-btn {
  flex-direction: column;
  min-height: 54px;
  padding: 12px 22px;
}

.form-actions .cta-btn small {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.1;
  opacity: 0.82;
}

.upload-zone {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px 16px;
  border-radius: 20px;
  border: 1px dashed rgba(17, 24, 39, 0.18);
  background: rgba(248, 250, 252, 0.92);
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.upload-zone.is-dragover {
  border-color: rgba(37, 99, 235, 0.40);
  background: rgba(37, 99, 235, 0.06);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.upload-add {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, 0.10);
  background: rgba(255, 255, 255, 0.92);
  color: rgba(17, 24, 39, 0.72);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.upload-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(17, 24, 39, 0.82);
}

.upload-subtitle {
  margin-top: 4px;
  font-size: 13px;
  color: rgba(71, 84, 103, 0.78);
  line-height: 1.6;
}

.upload-input {
  display: none;
}

.upload-list {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.upload-item {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.92);
  overflow: hidden;
}

.upload-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background: rgba(241, 245, 249, 0.92);
}

.upload-thumb img,
.upload-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-meta {
  padding: 8px 10px 10px;
  font-size: 12px;
  color: rgba(71, 84, 103, 0.78);
  line-height: 1.4;
  word-break: break-all;
}

.upload-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.10);
  background: rgba(255, 255, 255, 0.92);
  color: rgba(17, 24, 39, 0.66);
  cursor: pointer;
  line-height: 1;
}

.cta-btn:hover {
  transform: translateY(-1px);
}

.cta-btn:active {
  transform: translateY(0) scale(0.98);
}

.contact-code-trigger:hover .contact-code-box {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.10);
}

.contact-code-trigger:active .contact-code-box {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.contact-code-box {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.upload-add:hover,
.upload-remove:hover {
  transform: translateY(-1px);
}

.upload-add:active,
.upload-remove:active {
  transform: translateY(0) scale(0.98);
}

.upload-add,
.upload-remove {
  transition: transform 0.18s ease;
}

.toast-host {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 80;
  display: grid;
  gap: 10px;
  pointer-events: none;
}

.toast {
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(17, 24, 39, 0.92);
  color: rgba(255, 255, 255, 0.94);
  font-size: 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.24);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.cta-btn.primary {
  background: #111827;
  color: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

/* 用于强调的湛蓝色按钮（仅在需要时额外加 .cta-blue） */
.cta-btn.cta-blue {
  background: var(--accent) !important;
  color: #fff !important;
}

.cta-btn.ghost {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 24, 39, 0.10);
  color: rgba(17, 24, 39, 0.84);
}

.form-actions .cta-btn.ghost {
  border: none;
}

.form-actions .cta-btn.ghost:hover {
  border: none;
}

.cta-btn.ghost:hover {
  background: rgba(255, 255, 255, 0.92);
}

.footer {
  margin-top: 56px;
  padding: 68px 0 0;
  background: #0b1220;
  color: rgba(255, 255, 255, 0.86);
}

.footer-inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1fr;
  gap: 26px;
  padding-bottom: 44px;
}

.footer-col h3 {
  margin: 0 0 18px;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.96);
}

.footer-col a {
  display: block;
  margin: 10px 0;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.18s ease;
}

.footer-col a:hover {
  color: rgba(255, 255, 255, 0.96);
}

.footer-kv {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  margin: 10px 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-value {
  color: rgba(255, 255, 255, 0.88);
}

.footer-qr {
  margin: 10px 0 14px;
}

.qr-box {
  width: 156px;
  height: 156px;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  text-align: center;
  line-height: 1.6;
}

.footer-links a {
  margin: 10px 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding: 18px 0;
}

.footer-bottom-inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.footer-legal {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.62);
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 1080px) {
  .hero {
    padding-bottom: 46px;
  }

  .principles,
  .product-grid,
  .download-grid,
  .community-grid,
  .info-split {
    grid-template-columns: 1fr;
  }

  .download-body {
    grid-template-columns: 1fr;
  }

  .download-col + .download-col {
    border-left: none;
    border-top: 1px solid rgba(17, 24, 39, 0.06);
  }

  .contact-entry-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(1200px, calc(100vw - 28px));
  }

  .topbar {
    top: 0;
  }

  .topbar-inner {
    padding: 10px 14px;
    grid-template-columns: auto 1fr;
  }

  .topnav {
    justify-self: end;
    gap: 6px;
    padding: 3px;
    max-width: 100%;
  }

  .topnav a {
    padding: 8px 10px;
    font-size: 12px;
  }

  .hero {
    min-height: 100svh;
    height: 100svh;
    padding-top: calc(var(--topbar-hint) + 26px);
    padding-bottom: 36px;
  }

  .hero-content {
    padding: 0 8px;
    transform: translateY(-30px);
  }

  .hero-logo-wrap {
    width: 120px;
    height: 120px;
    margin-bottom: 18px;
  }

  .hero-intro {
    font-size: 15px;
    width: min(100%, 420px);
  }

  .section {
    padding: 52px 0;
  }

  .intro-strip {
    padding-top: 12px;
  }

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

  .footer-inner {
    padding-bottom: 32px;
  }

  .footer-kv {
    grid-template-columns: 72px 1fr;
  }

  .download-link {
    width: 100%;
    text-align: center;
  }
}

/* ===== 法律文本页（privacy.html / terms.html） ===== */
.legal-main {
  padding-top: calc(var(--topbar-hint) + 24px);
}

.legal-doc {
  width: min(880px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 24px 0 8px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 24px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
}

.legal-back:hover {
  color: var(--accent-deep);
  text-decoration: underline;
}

.legal-doc h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.legal-subtitle {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.legal-doc h2 {
  margin: 36px 0 12px;
  font-size: 20px;
  font-weight: 700;
}

.legal-doc h3 {
  margin: 20px 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.legal-doc p,
.legal-doc li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.legal-doc p {
  margin: 10px 0;
}

.legal-doc ul,
.legal-doc ol {
  margin: 8px 0;
  padding-left: 24px;
}

.legal-doc li {
  margin: 6px 0;
}

.legal-doc a {
  color: var(--accent);
}

.legal-doc a:hover {
  text-decoration: underline;
}

.legal-update {
  margin-top: 44px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 13px;
}
