:root {
  /* 主题色系：柔和琥珀与青绿，避免过度粉蓝 */
  --color-brand: #f2a65a;
  --color-accent: #3aa69a;
  --color-bg: #f9f6f3;
  --color-surface: rgba(255, 255, 255, 0.85);
  --color-text: #27313a;
  --color-subtle: #5c6c7a;
  --color-line: rgba(39, 49, 58, 0.08);
  --shadow-soft: 0 20px 40px rgba(30, 41, 59, 0.14);
  --shadow-card: 0 16px 32px rgba(32, 43, 54, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 16px;
  --font-main: "Poppins", "Microsoft YaHei", sans-serif;
  --transition-base: 220ms ease;
  --body-background: radial-gradient(
      circle 320px at 12% 20%,
      rgba(250, 218, 185, 0.5),
      transparent 60%
    ),
    radial-gradient(
      circle 420px at 86% 18%,
      rgba(176, 227, 219, 0.45),
      transparent 60%
    ),
    var(--color-bg);
}

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

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--body-background);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  transition: background 320ms ease, color 220ms ease;
}

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

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

/* 顶部导航 */
.global-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(22px, 3vw, 48px);
  padding: 18px clamp(24px, 6vw, 80px);
  background: rgba(249, 246, 243, 0.78);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(39, 49, 58, 0.08);
  border-radius: 0 0 26px 26px;
  box-shadow: 0 18px 36px rgba(31, 41, 55, 0.08);
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease,
    transform 220ms ease;
  overflow: hidden;
  will-change: background-color, box-shadow, transform;
}

.global-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(242, 166, 90, 0.18), rgba(58, 166, 154, 0.12));
  pointer-events: none;
  z-index: -1;
}

.global-header::after {
  content: "";
  position: absolute;
  left: clamp(24px, 6vw, 80px);
  bottom: 0;
  width: 140px;
  height: 2px;
  background: linear-gradient(90deg, rgba(242, 166, 90, 0.75), rgba(58, 166, 154, 0.75));
  border-radius: 999px;
  opacity: 0.85;
  pointer-events: none;
  z-index: -1;
}

.global-header.is-sticky {
  background: rgba(249, 246, 243, 0.9);
  box-shadow: 0 16px 32px rgba(31, 41, 55, 0.12);
  border-bottom-color: rgba(39, 49, 58, 0.12);
  transform: translateY(-2px);
}

.global-header.is-sticky::before {
  opacity: 0.6;
}

.global-header.is-sticky::after {
  width: 110px;
  opacity: 0.75;
}

.logo-group {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  font-weight: 600;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(39, 49, 58, 0.06);
  border-radius: 20px;
  box-shadow: 0 12px 24px rgba(30, 41, 59, 0.08);
  transition: transform var(--transition-base), box-shadow var(--transition-base),
    background-color 220ms ease;
}

.logo-group > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-group::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(140deg, rgba(242, 166, 90, 0.2), rgba(58, 166, 154, 0.18));
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
  z-index: -1;
}

.logo-group:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(30, 41, 59, 0.12);
  background: rgba(255, 255, 255, 0.72);
}

.logo-group:hover::after {
  opacity: 1;
}

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82));
  border: 1px solid rgba(39, 49, 58, 0.08);
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.16), inset 0 2px 8px rgba(255, 255, 255, 0.45);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.logo-group:hover .brand-logo {
  transform: rotate(-3deg) scale(1.04);
  box-shadow: 0 16px 28px rgba(31, 41, 55, 0.22), inset 0 3px 10px rgba(255, 255, 255, 0.55);
}

.brand-name {
  display: block;
  font-size: 1.18rem;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.brand-tagline {
  display: block;
  font-size: 0.78rem;
  color: rgba(39, 49, 58, 0.6);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 44px);
  font-size: 0.95rem;
}

.nav-link {
  position: relative;
  padding: 10px 0;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text);
  transition: color var(--transition-base), transform var(--transition-base);
}

.nav-link::after {
  content: "";
  position: absolute;
  inset: auto 0 -6px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-brand), var(--color-accent));
  border-radius: 12px;
  opacity: 0;
  transform: scaleX(0.4);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--color-brand);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-link.active,
.nav-link[aria-current="page"] {
  color: var(--color-brand);
}

.nav-link.active::after,
.nav-link[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.32);
  border: 1px solid rgba(39, 49, 58, 0.06);
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(30, 41, 59, 0.08);
  transition: background-color 220ms ease, box-shadow var(--transition-base);
}

.nav-actions:hover {
  box-shadow: 0 16px 30px rgba(30, 41, 59, 0.12);
}

.nav-actions .pill-button {
  box-shadow: 0 12px 24px rgba(240, 173, 104, 0.2);
}

.nav-actions .pill-button--ghost {
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(39, 49, 58, 0.12);
  box-shadow: 0 12px 24px rgba(30, 41, 59, 0.08);
}

.nav-actions .pill-button + .pill-button {
  margin-left: 4px;
}

.nav-actions .theme-toggle {
  border: 1px solid rgba(39, 49, 58, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.5));
  border-radius: 14px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  color: var(--color-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 10px 18px rgba(31, 41, 55, 0.12);
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 14px 24px rgba(31, 41, 55, 0.16);
  border-color: rgba(58, 166, 154, 0.3);
}

.theme-toggle i {
  font-size: 1.2rem;
  display: none;
}

body:not(.dark-theme) .theme-toggle [data-theme-icon="sun"] {
  display: inline-flex;
}

body.dark-theme .theme-toggle {
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(19, 26, 40, 0.9), rgba(16, 22, 34, 0.78));
  color: #edf3ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 22px rgba(2, 6, 14, 0.48);
}

body.dark-theme .theme-toggle [data-theme-icon="moon"] {
  display: inline-flex;
}

body:not(.dark-theme) .theme-toggle [data-theme-icon="moon"] {
  display: none;
}

body.dark-theme .theme-toggle [data-theme-icon="sun"] {
  display: none;
}

.theme-toggle:focus-visible {
  outline: 2px solid rgba(58, 166, 154, 0.6);
  outline-offset: 4px;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(39, 49, 58, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.64));
  border-radius: 16px;
  padding: 10px;
  font-size: 1.3rem;
  color: var(--color-text);
  box-shadow: 0 12px 24px rgba(31, 41, 55, 0.14);
  transition: transform var(--transition-base), box-shadow var(--transition-base),
    background-color 220ms ease, border-color 220ms ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(31, 41, 55, 0.18);
  border-color: rgba(58, 166, 154, 0.32);
}

/* 按钮风格 */
.pill-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(240, 173, 104, 0.96),
    rgba(58, 166, 154, 0.9)
  );
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  cursor: pointer;
}

.pill-button:hover,
.pill-button:focus-visible {
  transform: translateY(-1px) scale(1.01);
  box-shadow: var(--shadow-card);
}

.pill-button--ghost {
  background: rgba(255, 255, 255, 0.5);
  color: var(--color-text);
  border: 1px solid rgba(39, 49, 58, 0.12);
}

.pill-button--light {
  background: rgba(255, 255, 255, 0.75);
  color: var(--color-text);
  padding-inline: 16px;
  border: 1px solid rgba(39, 49, 58, 0.08);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-base);
  border: 1px solid transparent;
  cursor: pointer;
}

.cta-button--primary {
  background: linear-gradient(135deg, #f2a65a, #3aa69a);
  color: #fff;
  box-shadow: var(--shadow-card);
}

.cta-button--primary:hover,
.cta-button--primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(58, 166, 154, 0.25);
}

.cta-button--outline {
  border: 1px solid rgba(58, 166, 154, 0.4);
  color: var(--color-accent);
  background: rgba(255, 255, 255, 0.55);
}

.cta-button--outline:hover,
.cta-button--outline:focus-visible {
  background: rgba(58, 166, 154, 0.1);
  color: var(--color-text);
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--color-accent);
  transition: gap var(--transition-base), color var(--transition-base);
}

.cta-link:hover,
.cta-link:focus-visible {
  gap: 10px;
  color: var(--color-brand);
}

/* 英雄区域 */
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(40px, 6vw, 72px);
  padding: clamp(60px, 11vw, 120px) clamp(20px, 6vw, 72px) 120px;
  align-items: center;
  position: relative;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  filter: blur(0);
  opacity: 0.55;
  z-index: -1;
  border-radius: 50%;
}

.hero::before {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(242, 166, 90, 0.45), transparent 65%);
  top: -120px;
  right: 0;
}

.hero::after {
  width: 280px;
  height: 280px;
  background: radial-gradient(
    circle,
    rgba(58, 166, 154, 0.35),
    transparent 70%
  );
  bottom: -80px;
  left: 12%;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(58, 166, 154, 0.12);
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: background-color 220ms ease, color 220ms ease;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  margin: 26px 0 18px;
  line-height: 1.15;
}

.hero p {
  margin: 0 0 28px;
  max-width: 540px;
  color: var(--color-subtle);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 28px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-subtle);
}

.hero__visual {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 24px;
  overflow: visible;
}

.device-frame {
  position: relative;
  width: clamp(240px, 26vw, 320px);
  aspect-ratio: 9/19;
  border-radius: 36px;
  background: #121820;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.device-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 36%;
  height: 12px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 0 0 12px 12px;
}

.device-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
}

.device-frame img,
.device-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.device-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 720ms ease, transform 720ms ease;
}

.device-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.floating-card {
  position: absolute;
  left: -60vw;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-card);
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
  animation: floating-slide var(--floating-duration, 12s) linear infinite;
  animation-delay: var(--floating-delay, 0s);
  opacity: 0;
  transition: background-color 220ms ease, color 220ms ease;
}

.floating-card i {
  color: var(--color-accent);
  font-size: 1.2rem;
}

.floating-card--one {
  top: 12%;
  --floating-duration: 10s;
  --floating-delay: 0s;
}

.floating-card--two {
  bottom: 18%;
  --floating-duration: 11s;
  --floating-delay: 1s;
}

.floating-card--three {
  top: 36%;
  --floating-duration: 12s;
  --floating-delay: 2s;
}

.floating-card--four {
  bottom: 36%;
  --floating-duration: 13s;
  --floating-delay: 3s;
}

.floating-card--five {
  top: 64%;
  --floating-duration: 14s;
  --floating-delay: 4s;
}

@keyframes floating-slide {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateX(160vw);
    opacity: 0;
  }
}

/* 通用段落 */
section {
  padding: clamp(72px, 12vw, 120px) clamp(20px, 6vw, 72px);
}

.section-heading {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
  color: var(--color-text);
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin: 12px 0;
}

.section-heading p {
  color: var(--color-subtle);
  margin: 0 auto;
  line-height: 1.6;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(242, 166, 90, 0.16);
  color: var(--color-brand);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

/* 下载区块 */
.download__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.download-card {
  background: var(--color-surface);
  backdrop-filter: blur(22px);
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(39, 49, 58, 0.08);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 210px;
}

.download-icon {
  font-size: 2rem;
  color: var(--color-accent);
}

/* 功能亮点 */
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.75)
  );
  border: 1px solid rgba(39, 49, 58, 0.08);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-card:hover,
.feature-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(32, 43, 54, 0.16);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(58, 166, 154, 0.14);
  color: var(--color-accent);
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.feature-card h3 {
  margin: 0 0 12px;
}

.feature-card p {
  margin: 0;
  color: var(--color-subtle);
  line-height: 1.6;
}

/* 资源预览 */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.gallery-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(39, 49, 58, 0.08);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.gallery-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.gallery-card__info {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gallery-card__info h3 {
  margin: 0;
}

.gallery-card__info p {
  margin: 0;
  color: var(--color-subtle);
  line-height: 1.6;
}

/* 更新历史 */
.updates__panel {
  max-width: 840px;
  margin: 0 auto;
  padding: 32px clamp(20px, 6vw, 48px);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(39, 49, 58, 0.08);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.updates__status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(58, 166, 154, 0.12);
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.9rem;
}

.updates__status[hidden] {
  display: none;
}

.updates__spinner {
  animation: spin 1.1s linear infinite;
}

.updates__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.updates__item {
  border-radius: var(--radius-md);
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(39, 49, 58, 0.08);
  box-shadow: 0 8px 20px rgba(20, 28, 38, 0.12);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.updates__item:hover,
.updates__item:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(20, 28, 38, 0.18);
}

.updates__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: var(--color-subtle);
}

.updates__meta span {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(242, 166, 90, 0.18);
  color: var(--color-brand);
  font-weight: 600;
}

.updates__meta time {
  font-weight: 600;
  color: var(--color-text);
}

.updates__title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
}

.updates__desc {
  color: var(--color-text);
  line-height: 1.6;
  font-size: 0.94rem;
  display: grid;
  gap: 8px;
}

.updates__desc p {
  margin: 0;
}

.updates__desc-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.updates__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 0;
  gap: 12px;
}

.updates__actions button {
  transition: all var(--transition-base);
}

.updates__actions button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(58, 166, 154, 0.2);
}

.updates__footer {
  font-size: 0.85rem;
  color: var(--color-subtle);
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* 社区展示 */
.community {
  position: relative;
}

.community::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(160deg, rgba(58, 166, 154, 0.16), transparent 60%);
}

.community__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.community-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 260px;
}

.community-card__header {
  display: flex;
  gap: 16px;
  align-items: center;
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6);
}

.community-card span {
  color: var(--color-subtle);
  font-size: 0.88rem;
}

.community-card p {
  margin: 0;
  color: var(--color-text);
  line-height: 1.55;
}

/* FAQ */
.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  border-radius: var(--radius-md);
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(39, 49, 58, 0.08);
  box-shadow: var(--shadow-soft);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-weight: 600;
  cursor: pointer;
  color: var(--color-text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary i {
  transition: transform var(--transition-base);
}

.faq-item[open] summary i {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 16px 0 0;
  color: var(--color-subtle);
  line-height: 1.6;
}

/* 旗下网站 */
.network__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.network-card {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(39, 49, 58, 0.08);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
}

.network-card h3 {
  margin: 0;
}

.network-card p {
  margin: 0;
  color: var(--color-subtle);
  line-height: 1.6;
}

/* 页脚 */
.global-footer {
  padding: clamp(64px, 10vw, 120px) clamp(20px, 6vw, 72px);
  background: linear-gradient(135deg, rgba(29, 35, 44, 0.98) 0%, rgba(20, 25, 35, 0.95) 100%);
  color: rgba(255, 255, 255, 0.86);
  transition: background-color 220ms ease, color 220ms ease;
  position: relative;
  overflow: hidden;
}

.global-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 166, 90, 0.5), rgba(58, 166, 154, 0.5), transparent);
}

.global-footer::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(242, 166, 90, 0.1), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.footer__top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 56px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.footer__brand {
  position: relative;
}

.footer__brand .brand-logo {
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 12px rgba(242, 166, 90, 0.2));
  transition: transform var(--transition-base), filter var(--transition-base);
}

.footer__brand .brand-logo:hover {
  transform: translateY(-2px) scale(1.05);
  filter: drop-shadow(0 6px 16px rgba(242, 166, 90, 0.3));
}

.footer__brand p {
  margin: 20px 0 0;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  max-width: 320px;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
}

.footer__links > div {
  position: relative;
}

.footer__links h4 {
  margin: 0 0 20px;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 12px;
}

.footer__links h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-brand), var(--color-accent));
  border-radius: 2px;
}

.footer__links a {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  transition: all var(--transition-base);
  padding: 4px 0;
  position: relative;
  padding-left: 0;
}

.footer__links a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-brand), var(--color-accent));
  transition: width var(--transition-base);
  border-radius: 2px;
}

.footer__links a:hover,
.footer__links a:focus-visible {
  color: #fff;
  padding-left: 16px;
  transform: translateX(4px);
}

.footer__links a:hover::before,
.footer__links a:focus-visible::before {
  width: 12px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  font-size: 0.875rem;
  position: relative;
  z-index: 1;
}

.footer__bottom > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__bottom #copyrightText {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.footer__bottom #icpInfo {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8rem;
  line-height: 1.6;
}

.footer__bottom #icpInfo a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition-base);
  margin: 0 4px;
}

.footer__bottom #icpInfo a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.footer__social {
  display: flex;
  gap: 12px;
  font-size: 1.3rem;
}

.footer__social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.footer__social a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: linear-gradient(135deg, var(--color-brand), var(--color-accent));
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
  z-index: -1;
}

.footer__social a:hover,
.footer__social a:focus-visible {
  color: #fff;
  transform: translateY(-4px) scale(1.1);
  border-color: rgba(242, 166, 90, 0.4);
  box-shadow: 0 8px 20px rgba(242, 166, 90, 0.2);
}

.footer__social a:hover::before,
.footer__social a:focus-visible::before {
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

/* 动画 */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 420ms ease, transform 420ms ease;
}

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

/* 响应式适配 */
@media (max-width: 960px) {
  .global-header {
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
  }

  .top-nav,
  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .global-header.is-open {
    transform: none;
    overflow: visible;
    align-items: stretch;
    background: rgba(249, 246, 243, 0.94);
    border-radius: 0 0 26px 26px;
    box-shadow: 0 16px 26px rgba(18, 26, 36, 0.12);
    gap: 10px;
  }

  .global-header.is-open .logo-group {
    width: 100%;
    justify-content: flex-start;
  }
  
  .global-header.is-open .logo-group > div {
    flex-direction: column;
    align-items: flex-start;
  }

  .global-header.is-open .top-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    width: 100%;
    padding: 16px clamp(10px, 4vw, 20px);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 24px rgba(18, 26, 36, 0.12);
  }

  .global-header.is-open .nav-link {
    padding: 10px 6px;
    font-size: 1rem;
    border-radius: 12px;
    transition: background-color var(--transition-base), padding var(--transition-base);
  }

  .global-header.is-open .nav-link:hover,
  .global-header.is-open .nav-link:focus-visible,
  .global-header.is-open .nav-link.active {
    background: rgba(242, 166, 90, 0.12);
    padding: 10px 12px;
  }

  .global-header.is-open .nav-link::after {
    bottom: 6px;
  }

  .global-header.is-open .nav-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    padding: 0 clamp(10px, 4vw, 20px) 16px;
  }

  .global-header.is-open .nav-actions .pill-button,
  .global-header.is-open .nav-actions .pill-button--ghost {
    width: 100%;
    justify-content: center;
  }

  .global-header.is-open .nav-actions .theme-toggle {
    align-self: center;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 96px;
    padding-bottom: 88px;
  }

  .hero__content {
    order: 2;
    display: grid;
    gap: 18px;
    justify-items: center;
  }

  .hero__actions {
    flex-direction: column;
    width: min(320px, 100%);
  }

  .hero__stats {
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    justify-items: center;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 80px;
  }

  .theme-toggle {
    width: 40px;
    height: 40px;
  }

  .download__grid,
  .features__grid,
  .gallery__grid,
  .community__grid,
  .network__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .download-card,
  .feature-card,
  .gallery-card,
  .community-card,
  .network-card {
    padding: 24px;
  }

  .updates__panel {
    padding: 24px;
    gap: 18px;
  }

  .updates__actions {
    padding: 12px 0;
  }

  .footer__top {
    gap: 36px;
  }
}

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

  .hero__visual {
    gap: 18px;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.3rem);
  }

  .hero__badge {
    font-size: 0.8rem;
  }

  .hero__stats {
    gap: 16px;
  }

  .hero__stats li {
    align-items: center;
  }

  .hero__actions {
    width: 100%;
  }

  .hero__actions .cta-button {
    width: 100%;
    justify-content: center;
  }

  .floating-card {
    position: static;
    animation: none;
    opacity: 1;
    transform: none;
  }

  .global-footer {
    padding: clamp(48px, 8vw, 80px) clamp(20px, 5vw, 40px);
    text-align: center;
  }

  .global-footer::after {
    width: 300px;
    height: 300px;
    top: -30%;
    right: -20%;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 36px;
  }

  .footer__brand {
    text-align: center;
  }

  .footer__brand p {
    max-width: 100%;
    margin: 16px auto 0;
  }

  .footer__links {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer__links h4 {
    text-align: center;
  }

  .footer__links h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer__links a {
    text-align: center;
    padding-left: 0;
  }

  .footer__links a::before {
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .footer__links a:hover,
  .footer__links a:focus-visible {
    padding-left: 0;
    transform: translateX(0) scale(1.05);
  }

  .footer__links a:hover::before,
  .footer__links a:focus-visible::before {
    width: 24px;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .footer__bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer__bottom > div:first-child {
    align-items: center;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__social a {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .download-card,
  .feature-card,
  .gallery-card,
  .community-card,
  .network-card,
  .updates__item {
    padding: 20px;
  }

  .updates__panel {
    padding: 20px;
  }

  .updates__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .updates__meta span {
    font-size: 0.8rem;
  }

  .footer__links h4 {
    font-size: 0.95rem;
  }

  .footer__links a {
    font-size: 0.88rem;
  }
}

/* 可访问性优化 */
.cta-button:focus-visible,
.pill-button:focus-visible,
.nav-link:focus-visible,
.cta-link:focus-visible,
.footer__links a:focus-visible,
.footer__social a:focus-visible {
  outline: 2px solid rgba(58, 166, 154, 0.6);
  outline-offset: 4px;
}

/* 暗色主题 */
body.dark-theme {
  --color-bg: #0c1018;
  --color-text: #f4f6fb;
  --color-subtle: #a5b2c7;
  --color-line: rgba(255, 255, 255, 0.08);
  --color-surface: rgba(19, 25, 37, 0.78);
  --shadow-soft: 0 24px 50px rgba(0, 0, 0, 0.42);
  --shadow-card: 0 20px 44px rgba(2, 10, 25, 0.52);
  --body-background: radial-gradient(
      circle 320px at 14% 18%,
      rgba(52, 94, 140, 0.32),
      transparent 60%
    ),
    radial-gradient(
      circle 420px at 82% 22%,
      rgba(146, 80, 196, 0.28),
      transparent 66%
    ),
    linear-gradient(160deg, #06080f, #101726);
}

body.dark-theme .brand-logo {
  background: rgba(21, 28, 40, 0.9);
  box-shadow: inset 0 2px 6px rgba(72, 88, 110, 0.35),
    inset 0 -4px 12px rgba(0, 0, 0, 0.45);
}

body.dark-theme .pill-button--ghost {
  background: rgba(19, 25, 37, 0.72);
  color: #f8fbff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

body.dark-theme .pill-button--light {
  background: rgba(19, 25, 38, 0.82);
  color: #f8fbff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

body.dark-theme .cta-button--outline {
  border: 1px solid rgba(58, 166, 154, 0.5);
  background: rgba(15, 22, 33, 0.68);
  color: #8be4d9;
}

body.dark-theme .hero__badge {
  background: rgba(58, 166, 154, 0.18);
  color: #89f1e0;
}

body.dark-theme .floating-card {
  background: rgba(17, 23, 34, 0.92);
  color: #f4f6fb;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-theme .updates__status {
  background: rgba(58, 166, 154, 0.18);
  color: #89f1e0;
}

body.dark-theme .updates__desc {
  color: #edf2ff;
}

body.dark-theme .updates__meta span {
  background: rgba(242, 166, 90, 0.22);
  color: #ffd9a8;
}

body.dark-theme .updates__meta time {
  color: #f4f6fb;
}

body.dark-theme .updates__desc-list {
  color: #dfe7fb;
}

body.dark-theme .gallery-card,
body.dark-theme .feature-card,
body.dark-theme .community-card,
body.dark-theme .faq-item,
body.dark-theme .network-card,
body.dark-theme .download-card,
body.dark-theme .updates__panel,
body.dark-theme .updates__item {
  background: rgba(17, 23, 36, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-card);
}

body.dark-theme .feature-card {
  background: linear-gradient(
    145deg,
    rgba(18, 26, 40, 0.94),
    rgba(22, 32, 48, 0.78)
  );
}

body.dark-theme .community::before {
  background: linear-gradient(160deg, rgba(58, 166, 154, 0.18), transparent 60%);
}

body.dark-theme .global-footer {
  background: linear-gradient(135deg, rgba(7, 10, 18, 0.98) 0%, rgba(4, 6, 12, 0.95) 100%);
  color: rgba(231, 236, 245, 0.9);
}

body.dark-theme .global-header {
  background: rgba(11, 16, 26, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 18px 40px rgba(2, 6, 14, 0.42);
}

body.dark-theme .global-header.is-sticky {
  background: rgba(11, 16, 26, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 48px rgba(2, 6, 14, 0.5);
}

body.dark-theme .global-footer::before {
  background: linear-gradient(90deg, transparent, rgba(242, 166, 90, 0.4), rgba(58, 166, 154, 0.4), transparent);
}

body.dark-theme .global-footer::after {
  background: radial-gradient(circle, rgba(242, 166, 90, 0.08), transparent 70%);
}

body.dark-theme .footer__brand p {
  color: rgba(231, 236, 245, 0.78);
}

body.dark-theme .footer__links h4 {
  color: rgba(255, 255, 255, 0.95);
}

body.dark-theme .footer__links a {
  color: rgba(231, 236, 245, 0.72);
}

body.dark-theme .footer__links a:hover,
body.dark-theme .footer__links a:focus-visible {
  color: #ffffff;
}

body.dark-theme .footer__bottom #copyrightText {
  color: rgba(231, 236, 245, 0.85);
}

body.dark-theme .footer__bottom #icpInfo {
  color: rgba(231, 236, 245, 0.65);
}

body.dark-theme .footer__bottom #icpInfo a {
  color: rgba(231, 236, 245, 0.7);
}

body.dark-theme .footer__bottom #icpInfo a:hover {
  color: var(--color-accent);
}

body.dark-theme .footer__social a {
  color: rgba(231, 236, 245, 0.8);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .footer__social a:hover,
body.dark-theme .footer__social a:focus-visible {
  border-color: rgba(242, 166, 90, 0.3);
  box-shadow: 0 8px 20px rgba(242, 166, 90, 0.15);
}

body.dark-theme .logo-group {
  background: rgba(19, 25, 38, 0.78);
  border-color: rgba(255, 255, 255, 0.06);
  color: #f4f6fb;
  box-shadow: 0 12px 24px rgba(2, 6, 14, 0.5);
}

body.dark-theme .logo-group::after {
  background: linear-gradient(140deg, rgba(242, 166, 90, 0.24), rgba(58, 166, 154, 0.24));
}

body.dark-theme .brand-tagline {
  color: rgba(231, 236, 245, 0.66);
}

body.dark-theme .nav-link {
  color: rgba(231, 236, 245, 0.92);
}

body.dark-theme .nav-link::after {
  background: linear-gradient(90deg, rgba(242, 166, 90, 0.65), rgba(58, 166, 154, 0.6));
}

body.dark-theme .nav-link:hover,
body.dark-theme .nav-link:focus-visible,
body.dark-theme .nav-link.active,
body.dark-theme .nav-link[aria-current="page"] {
  color: #ffffff;
}

body.dark-theme .nav-actions {
  background: rgba(19, 26, 40, 0.72);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 28px rgba(2, 6, 14, 0.5);
}

body.dark-theme .nav-actions .pill-button {
  box-shadow: 0 12px 24px rgba(242, 166, 90, 0.24);
}

body.dark-theme .nav-actions .pill-button--ghost {
  background: rgba(19, 25, 38, 0.88);
  border-color: rgba(255, 255, 255, 0.1);
  color: #f4f6fb;
}

body.dark-theme .menu-toggle {
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(19, 26, 40, 0.92), rgba(17, 24, 37, 0.78));
  color: #f4f6fb;
  box-shadow: 0 14px 30px rgba(2, 6, 14, 0.48);
}

/* 暗色主题下小屏幕导航菜单样式 */
body.dark-theme .global-header.is-open {
  background: rgba(11, 16, 26, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 32px rgba(2, 6, 14, 0.6);
}

body.dark-theme .global-header.is-open .top-nav {
  background: rgba(17, 23, 36, 0.95);
  box-shadow: 0 12px 24px rgba(2, 6, 14, 0.5);
}

body.dark-theme .global-header.is-open .nav-link {
  color: rgba(231, 236, 245, 0.9);
}

body.dark-theme .global-header.is-open .nav-link:hover,
body.dark-theme .global-header.is-open .nav-link:focus-visible,
body.dark-theme .global-header.is-open .nav-link.active {
  background: rgba(242, 166, 90, 0.18);
  color: #ffffff;
}

body.dark-theme .global-header.is-open .nav-link::after {
  background: linear-gradient(90deg, rgba(242, 166, 90, 0.6), rgba(58, 166, 154, 0.55));
}

body.dark-theme .global-header.is-open .nav-actions {
  background: transparent;
  border: none;
  box-shadow: none;
}

body.dark-theme .global-header.is-open .nav-actions .pill-button--ghost {
  background: rgba(19, 25, 38, 0.88);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f4f6fb;
}

body.dark-theme .global-header.is-open .nav-actions .pill-button--ghost:hover {
  background: rgba(22, 30, 45, 0.95);
  border-color: rgba(242, 166, 90, 0.4);
}

body.dark-theme .global-header.is-open .logo-group {
  background: rgba(19, 25, 38, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .global-header.is-open .logo-group:hover {
  background: rgba(22, 30, 45, 0.9);
}

body.dark-theme .global-header.is-open .nav-actions .theme-toggle {
  border-color: rgba(255, 255, 255, 0.15);
  background: linear-gradient(135deg, rgba(19, 26, 40, 0.95), rgba(16, 22, 34, 0.85));
  color: #edf3ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 10px 20px rgba(2, 6, 14, 0.5);
}

body.dark-theme .global-header.is-open .nav-actions .theme-toggle:hover {
  border-color: rgba(242, 166, 90, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 12px 24px rgba(2, 6, 14, 0.6);
}

