* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f5f8ff;
}

:root {
  --index-bg: #f5f8ff;
  --index-surface: #ffffff;
  --index-border: rgba(11, 49, 137, 0.15);
  --index-primary: #1a55ff;
  --index-primary-soft: #5fb5ff;
  --index-text: #0b142d;
  --index-muted: #5a6480;
  --index-shadow: 0 30px 90px rgba(16, 51, 125, 0.12);
  --index-radial-1: radial-gradient(circle at 20% 15%, rgba(95, 181, 255, 0.25), transparent 40%);
  --index-radial-2: radial-gradient(circle at 80% 0%, rgba(26, 85, 255, 0.25), transparent 45%);
  --index-primary-gradient: linear-gradient(120deg, #1a55ff, #46b2ff);
  --index-primary-shadow: 0 16px 36px rgba(26, 85, 255, 0.35);
  --index-icon-shadow: 0 12px 28px rgba(26, 85, 255, 0.35);
  --index-ghost-fill: rgba(26, 85, 255, 0.08);
  --index-ghost-border: rgba(26, 85, 255, 0.35);
  --index-highlight-bg: rgba(26, 85, 255, 0.08);
  --index-highlight-border: rgba(26, 85, 255, 0.18);
  --index-chip-bg: rgba(26, 85, 255, 0.12);
  --index-chip-border: rgba(26, 85, 255, 0.25);
  --index-floating-gradient: linear-gradient(145deg, rgba(26, 85, 255, 0.08), rgba(71, 181, 255, 0.14));
  --index-floating-border: rgba(26, 85, 255, 0.25);
  --index-floating-shadow: 0 25px 65px rgba(26, 85, 255, 0.25);
  --index-outline-dashed: rgba(26, 85, 255, 0.3);
  --index-outline-strong: rgba(26, 85, 255, 0.35);
  --index-stack-bg: rgba(26, 85, 255, 0.05);
  --index-stack-border: rgba(26, 85, 255, 0.3);
  --index-timeline-stage: rgba(26, 85, 255, 0.35);
  --index-network-border: rgba(73, 169, 255, 0.35);
  --index-network-shadow: 0 30px 80px rgba(20, 60, 130, 0.35);
  --index-network-chip-bg: rgba(26, 85, 255, 0.08);
  --index-network-chip-border: rgba(26, 85, 255, 0.25);
  --index-network-surface: #031238;
  --index-partner-card-bg: rgba(26, 85, 255, 0.06);
  --index-partner-card-border: rgba(26, 85, 255, 0.35);
  --index-cta-gradient: linear-gradient(120deg, #1550f5, #4bc1ff);
  --index-dock-bg: rgba(26, 85, 255, 0.85);
  --index-dock-shadow: 0 12px 30px rgba(26, 85, 255, 0.35);
  --index-dock-wechat-bg: rgba(13, 35, 78, 0.92);
  --index-hero-chip-text: var(--index-primary);
}

.index-home.theme-day {
  color-scheme: light;
}

.index-home.theme-night {
  color-scheme: dark;
  --index-bg: #050608;
  --index-surface: #0f111a;
  --index-border: rgba(235, 197, 125, 0.22);
  --index-primary: #f3c969;
  --index-primary-soft: #ffe3a3;
  --index-text: #f8f2e7;
  --index-muted: #c3c4ce;
  --index-shadow: 0 35px 95px rgba(0, 0, 0, 0.75);
  --index-radial-1: radial-gradient(circle at 20% 15%, rgba(243, 201, 105, 0.22), transparent 40%);
  --index-radial-2: radial-gradient(circle at 80% 0%, rgba(141, 109, 58, 0.4), transparent 45%);
  --index-primary-gradient: linear-gradient(130deg, #f7ce68, #f5a623);
  --index-primary-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
  --index-icon-shadow: 0 12px 28px rgba(0, 0, 0, 0.65);
  --index-ghost-fill: rgba(243, 201, 105, 0.12);
  --index-ghost-border: rgba(243, 201, 105, 0.5);
  --index-highlight-bg: rgba(243, 201, 105, 0.12);
  --index-highlight-border: rgba(243, 201, 105, 0.4);
  --index-chip-bg: rgba(243, 201, 105, 0.14);
  --index-chip-border: rgba(243, 201, 105, 0.35);
  --index-floating-gradient: linear-gradient(145deg, rgba(12, 12, 15, 0.9), rgba(46, 35, 17, 0.9));
  --index-floating-border: rgba(243, 201, 105, 0.25);
  --index-floating-shadow: 0 25px 65px rgba(0, 0, 0, 0.65);
  --index-outline-dashed: rgba(243, 201, 105, 0.35);
  --index-outline-strong: rgba(243, 201, 105, 0.45);
  --index-stack-bg: rgba(243, 201, 105, 0.06);
  --index-stack-border: rgba(243, 201, 105, 0.35);
  --index-timeline-stage: rgba(243, 201, 105, 0.4);
  --index-network-border: rgba(243, 201, 105, 0.3);
  --index-network-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  --index-network-chip-bg: rgba(243, 201, 105, 0.12);
  --index-network-chip-border: rgba(243, 201, 105, 0.3);
  --index-network-surface: #050c18;
  --index-partner-card-bg: rgba(255, 255, 255, 0.05);
  --index-partner-card-border: rgba(243, 201, 105, 0.4);
  --index-cta-gradient: linear-gradient(120deg, #1a1a1a, #3a2a1e);
  --index-dock-bg: rgba(243, 201, 105, 0.85);
  --index-dock-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  --index-dock-wechat-bg: rgba(19, 16, 12, 0.92);
  --index-hero-chip-text: #fef6de;
}

.index-home {
  min-height: 100vh;
  padding: clamp(18px, 3vw, 48px);
  background: var(--index-radial-1), var(--index-radial-2), var(--index-bg);
  color: var(--index-text);
  font-family: "HarmonyOS Sans", "Segoe UI", "Microsoft YaHei", sans-serif;
  transition: background 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

.index-home section {
  scroll-margin-top: 120px;
}

.hero-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: clamp(12px, 2.4vw, 20px);
  border-radius: 22px;
  background: var(--index-surface);
  border: 1px solid var(--index-border);
  box-shadow: var(--index-shadow);
  margin-bottom: clamp(18px, 3vw, 30px);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 3;
}

.hero-header.nav-open {
  box-shadow: var(--index-shadow), 0 20px 50px rgba(4, 13, 41, 0.25);
}

.masthead-shell {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  min-width: 260px;
}

.mobile-nav-grid {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.mobile-nav-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
}

.nav-links-card {
  min-width: 320px;
}

.nav-controls-card {
  flex: 0 0 auto;
}

.nav-card-head {
  display: none;
}

.nav-card-label {
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--index-muted);
}

.nav-card-hint {
  font-size: 0.85rem;
  color: var(--index-muted);
}

.nav-controls-body {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.mobile-nav-header {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-nav-close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid var(--index-border);
  background: var(--index-surface);
  color: var(--index-text);
  padding: 10px 16px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.mobile-nav-close-icon {
  display: inline-flex;
  position: relative;
  width: 14px;
  height: 14px;
}

.mobile-nav-close-icon span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform-origin: center;
}

.mobile-nav-close-icon span:first-child {
  transform: translateY(-50%) rotate(45deg);
}

.mobile-nav-close-icon span:last-child {
  transform: translateY(-50%) rotate(-45deg);
}

.mobile-nav-close-label {
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mobile-nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid var(--index-border);
  background: var(--index-surface);
  color: var(--index-text);
  padding: 10px 18px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
  position: relative;
  z-index: 5;
}

.index-home.theme-night .mobile-nav-toggle {
  border-color: rgba(243, 201, 105, 0.4);
}

.mobile-nav-icon {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-icon span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero-header.nav-open .mobile-nav-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hero-header.nav-open .mobile-nav-icon span:nth-child(2) {
  opacity: 0;
}

.hero-header.nav-open .mobile-nav-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav-toggle-label {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
}

.mobile-nav-drawer {
  display: none;
}

.mobile-nav-panel {
  display: none;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 280px;
  position: relative;
  z-index: 5;
}

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  box-shadow: var(--index-icon-shadow);
}

.brand-icon img {
  width: 42px;
  height: 42px;
}

.brand-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-title {
  font-weight: 700;
}

.brand-subtitle {
  font-size: 0.85rem;
  color: var(--index-muted);
}

.primary-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 32px);
  min-width: 260px;
  flex-wrap: wrap;
}

.primary-nav-link {
  background: transparent;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--index-text);
  padding: 8px 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

.primary-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: transparent;
  transition: background 0.25s ease, transform 0.25s ease;
  transform: scaleX(0.4);
}

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

.primary-nav-link:hover::after,
.primary-nav-link:focus-visible::after {
  background: var(--index-primary);
  transform: scaleX(1);
}

.primary-nav-link:focus-visible {
  outline: none;
}

.nav-index {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--index-muted);
}

.nav-text {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
  white-space: normal;
  line-height: 1.4;
}

.masthead-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: fit-content;
  flex-wrap: nowrap;
}

.hero-toolbar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(26, 85, 255, 0.12);
  box-shadow: var(--index-shadow);
  flex-wrap: nowrap;
  min-width: fit-content;
}

.index-home.theme-night .hero-toolbar {
  background: rgba(10, 12, 20, 0.78);
  border-color: rgba(243, 201, 105, 0.25);
}

.toolbar-block {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: auto;
  white-space: nowrap;
}

.toolbar-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--index-muted);
}

.toolbar-divider {
  width: 1px;
  height: 32px;
  background: var(--index-border);
  opacity: 0.6;
}

.index-home.theme-night .toolbar-divider {
  background: rgba(243, 201, 105, 0.4);
}

.toggle-hint {
  font-size: 0.72rem;
  color: var(--index-muted);
  white-space: nowrap;
  margin-left: 4px;
}

.toggle-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--index-ghost-border);
  background: var(--index-ghost-fill);
}

.toggle-btn {
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--index-muted);
  font-size: 0.82rem;
  padding: 6px 11px;
  cursor: pointer;
  transition: 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.toggle-btn.active {
  color: #fff;
  background: var(--index-primary-gradient);
  box-shadow: var(--index-primary-shadow);
}

.toggle-icon {
  font-size: 1rem;
}

.hero-header-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.primary-btn,
.ghost-btn {
  border-radius: 999px;
  padding: 12px 26px;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.primary-btn {
  background: var(--index-primary-gradient);
  color: #fff;
  box-shadow: var(--index-primary-shadow);
}

.ghost-btn {
  background: var(--index-ghost-fill);
  color: var(--index-primary);
  border-color: var(--index-ghost-border);
  text-align: center;
}

.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px);
}

.hero-shell {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 4vw, 48px);
  align-items: flex-start;
  margin-bottom: clamp(32px, 5vw, 60px);
}

.hero-content h1 {
  font-size: clamp(2.7rem, 5vw, 3.8rem);
  margin: 14px 0;
  line-height: 1.15;
}

.hero-eyebrow {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--index-primary);
}

.hero-description {
  color: var(--index-muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.hero-highlights span {
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--index-highlight-bg);
  border: 1px solid var(--index-highlight-border);
  color: var(--index-primary);
  font-weight: 600;
  font-size: 0.92rem;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-media-main {
  position: relative;
  padding: 24px;
  border-radius: 32px;
  background: var(--index-surface);
  border: 1px solid var(--index-border);
  box-shadow: var(--index-shadow);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-media img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 25px 55px rgba(5, 35, 92, 0.35));
  transition: filter 0.3s ease;
}

.index-home.theme-night .hero-media img {
  filter: drop-shadow(0 35px 65px rgba(0, 0, 0, 0.65));
}

.hero-chip {
  position: absolute;
  top: 24px;
  left: 24px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--index-chip-bg);
  border: 1px solid var(--index-chip-border);
  color: var(--index-hero-chip-text);
  text-align: left;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.hero-chip span {
  display: block;
  font-size: 1.35rem;
  font-weight: 600;
}

.hero-chip p {
  margin: 2px 0 0;
  font-size: 0.86rem;
}

.hero-media-floating {
  padding: 20px;
  border-radius: 28px;
  background: var(--index-floating-gradient);
  border: 1px solid var(--index-floating-border);
  box-shadow: var(--index-floating-shadow);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-floating-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  color: var(--index-primary);
}

.hero-floating-meta strong {
  font-size: 1.35rem;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: clamp(40px, 5vw, 60px);
}

.stat-chip {
  padding: 22px;
  border-radius: 24px;
  background: var(--index-surface);
  border: 1px solid var(--index-border);
  box-shadow: var(--index-shadow);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  color: var(--index-primary);
}

.stat-label {
  margin: 4px 0;
  font-weight: 600;
}

.stat-chip span {
  font-size: 0.9rem;
  color: var(--index-muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin: 10px 0;
}

.section-heading p {
  color: var(--index-muted);
  line-height: 1.6;
}

.eyebrow {
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--index-primary-soft);
}

.usecase-section {
  margin-bottom: clamp(56px, 7vw, 90px);
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.usecase-card {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--index-border);
  background: var(--index-surface);
  box-shadow: var(--index-shadow);
  transition: transform 0.25s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.usecase-card:hover {
  transform: translateY(-4px);
}

.usecase-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--index-primary);
  font-weight: 600;
}

.stack-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  margin-bottom: clamp(56px, 7vw, 90px);
}

.stack-media {
  padding: 20px;
  border-radius: 32px;
  background: var(--index-surface);
  border: 1px solid var(--index-border);
  box-shadow: var(--index-shadow);
}

.stack-media img {
  width: 100%;
  height: auto;
  display: block;
}

.stack-content h2 {
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  margin: 10px 0;
}

.stack-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stack-layer {
  padding: 18px;
  border-radius: 20px;
  background: var(--index-stack-bg);
  border: 1px dashed var(--index-stack-border);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.stack-layer ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--index-muted);
}

.modules-section {
  margin-bottom: clamp(56px, 7vw, 90px);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.module-card {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--index-border);
  background: var(--index-surface);
  box-shadow: var(--index-shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.module-category {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: var(--index-primary-soft);
  text-transform: uppercase;
}

.timeline-section {
  margin-bottom: clamp(56px, 7vw, 90px);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.timeline-card {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--index-border);
  background: var(--index-surface);
  box-shadow: var(--index-shadow);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.timeline-stage {
  font-size: 2rem;
  font-weight: 600;
  color: var(--index-timeline-stage);
}

.network-section {
  margin-bottom: clamp(56px, 7vw, 90px);
}

.alliance-panel {
  padding: clamp(18px, 5vw, 28px);
  border-radius: 26px;
  border: 1px solid var(--index-border);
  background: var(--index-surface);
  box-shadow: var(--index-shadow);
  display: grid;
  gap: 26px;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.static-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  background: var(--index-bg);
  border-radius: 20px;
  padding: 6px;
}

.marquee-row {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px dashed var(--index-outline-dashed);
  padding: 18px 0;
  background: linear-gradient(90deg, rgba(26, 85, 255, 0.05), rgba(26, 85, 255, 0.02), rgba(26, 85, 255, 0.05));
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  animation: alliance-marquee 26s linear infinite;
}

.marquee-row:hover .marquee-track {
  animation-play-state: paused;
}

.logo-card {
  min-width: 130px;
  height: 86px;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid var(--index-border);
  background: var(--index-highlight-bg);
  box-shadow: var(--index-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.logo-card img {
  max-height: 36px;
  max-width: 140px;
  object-fit: contain;
}

.logo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--index-primary-shadow);
  border-color: var(--index-outline-strong);
  background: var(--index-ghost-fill);
}

@keyframes alliance-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.partners-section {
  margin-bottom: clamp(56px, 7vw, 90px);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  text-align: center;
}

.partners-grid span {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--index-border);
  background: var(--index-surface);
  box-shadow: var(--index-shadow);
  font-weight: 600;
  letter-spacing: 0.12em;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.partners-cta {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.partners-cta div {
  padding: 18px;
  border-radius: 18px;
  border: 1px dashed var(--index-partner-card-border);
  background: var(--index-partner-card-bg);
  color: var(--index-primary);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.cta-section {
  margin-bottom: clamp(56px, 7vw, 90px);
}

.cta-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 32px;
  background: var(--index-cta-gradient);
  color: #fff;
  box-shadow: var(--index-shadow);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.cta-text {
  max-width: 560px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
}

.cta-actions .primary-btn,
.cta-actions .ghost-btn {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  background: transparent;
}

.site-footer {
  margin-top: clamp(32px, 6vw, 60px);
  padding: 18px 0 32px;
  color: var(--index-muted);
  text-align: center;
}

.site-footer__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--index-primary);
  text-decoration: none;
  font-weight: 600;
}

.site-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 1200px) {
  .primary-nav {
    justify-content: flex-start;
    gap: 18px;
  }
}

@media (max-width: 992px) {
  .hero-header {
    flex-wrap: nowrap;
    align-items: center;
    position: sticky;
    top: 16px;
    z-index: 40;
    padding: 14px 18px;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .desktop-nav-shell {
    display: none;
  }

  .mobile-nav-drawer {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 45;
    pointer-events: none;
  }

  .mobile-nav-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 13, 41, 0.65);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }

  .mobile-nav-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(520px, 100%);
    height: 100%;
    padding: clamp(18px, 4vw, 32px);
    box-sizing: border-box;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    overflow: hidden;
    background: transparent;
  }

  .mobile-nav-drawer.open {
    pointer-events: auto;
  }

  .mobile-nav-drawer.open .mobile-nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav-drawer.open .mobile-nav-panel {
    transform: translateX(0);
  }

  .mobile-nav-sheet {
    width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px 16px 24px;
    background: var(--index-surface);
    box-shadow: var(--index-shadow);
    border-radius: 28px;
    border: 1px solid var(--index-border);
    min-width: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-nav-header {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    padding-bottom: 8px;
  }

  .mobile-nav-grid {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .mobile-nav-card {
    width: 100%;
    padding: 18px 20px;
    border-radius: 24px;
    border: 1px solid var(--index-border);
    background: var(--index-surface);
    box-shadow: var(--index-shadow);
    gap: 16px;
  }

  .nav-controls-card {
    padding-bottom: 4px;
  }

  .nav-card-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-bottom: 1px solid var(--index-border);
    padding-bottom: 10px;
  }

  .nav-card-label {
    color: var(--index-primary);
    font-size: 0.78rem;
  }

  .nav-card-hint {
    color: var(--index-muted);
  }

  .primary-nav {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 6px;
  }

  .primary-nav-link {
    width: 100%;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--index-border);
    font-size: 1rem;
  }

  .primary-nav-link::after {
    display: none;
  }

  .primary-nav-link:last-child {
    border-bottom: none;
  }

  .nav-links-card .nav-index {
    min-width: 52px;
  }

  .masthead-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: -2px;
  }

  .nav-controls-body {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .hero-toolbar {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.97);
    margin-top: 0;
  }

  .index-home.theme-night .hero-toolbar {
    background: rgba(10, 12, 20, 0.92);
  }

  .hero-toolbar .toolbar-label,
  .hero-toolbar .toggle-hint {
    display: none;
  }

  .toolbar-block {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .toggle-group {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
  }

  .theme-toggle {
    grid-template-columns: repeat(2, minmax(110px, 1fr));
  }

  .language-toggle {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .toggle-btn {
    width: 100%;
    flex: 1 1 auto;
    justify-content: center;
  }

  .toggle-hint {
    width: 100%;
    margin-left: 0;
    text-align: left;
  }

  .hero-header-actions {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }

  .hero-header-actions .ghost-btn,
  .hero-header-actions .primary-btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .hero-media {
    order: -1;
  }
}

@media (max-width: 768px) {
  .index-home {
    padding: 24px 18px 40px;
  }

  .hero-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
  }

  .brand-mark {
    min-width: 0;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .brand-info {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand-title,
  .brand-subtitle {
    white-space: normal;
    word-break: break-word;
  }

  .mobile-nav-toggle {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  .hero-highlights span {
    width: calc(50% - 10px);
    text-align: center;
  }

  .hero-media-main {
    padding: 18px;
  }

  .hero-chip {
    position: static;
    margin-bottom: 12px;
  }

  .stack-section {
    grid-template-columns: 1fr;
  }

  .stack-content {
    order: 1;
  }

  .stack-media {
    order: 2;
  }

  .stat-strip,
  .usecase-grid,
  .module-grid,
  .timeline-grid,
  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .static-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .logo-card {
    height: 72px;
    padding: 10px 12px;
  }

  .logo-card img {
    max-height: 30px;
  }

  .marquee-track {
    gap: 10px;
  }
}

@media (max-width: 576px) {
  .hero-highlights span {
    width: 100%;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-floating-meta {
    flex-direction: column;
    gap: 8px;
  }

  .partners-cta {
    grid-template-columns: 1fr;
  }

  .static-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .logo-card {
    height: 64px;
    padding: 8px 10px;
  }

  .logo-card img {
    max-height: 26px;
  }

  .marquee-track {
    gap: 8px;
  }
}

@media (max-width: 430px) {
  .mobile-nav-sheet {
    padding: 44px 14px 20px;
  }

  .mobile-nav-card {
    padding: 16px 18px;
    border-radius: 20px;
  }

  .nav-links-card .nav-index {
    min-width: 42px;
  }

  .primary-nav-link {
    gap: 10px;
    padding: 12px 0;
  }

  .hero-toolbar {
    padding: 12px;
    border-radius: 18px;
  }

  .hero-toolbar .toggle-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }

  .hero-toolbar .toggle-btn {
    flex: 1 1 calc(50% - 6px);
  }
}

.floating-dock {
  position: fixed;
  right: clamp(16px, 4vw, 42px);
  bottom: clamp(40px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 20;
}

.floating-dock.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dock-btn {
  border: none;
  border-radius: 18px;
  padding: 12px 16px;
  background: var(--index-dock-bg);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: var(--index-dock-shadow);
  position: relative;
  font-size: 0.9rem;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.dock-icon {
  font-size: 1.1rem;
}

.dock-btn.wechat {
  background: var(--index-dock-wechat-bg);
}

.wechat-pop {
  position: absolute;
  right: calc(100% + 12px);
  bottom: 0;
  padding: 16px;
  border-radius: 16px;
  background: var(--index-surface);
  color: var(--index-text);
  width: 180px;
  box-shadow: var(--index-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.wechat-pop img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 8px;
}

.wechat-pop p {
  margin: 0;
  font-size: 0.81rem;
  color: var(--index-muted);
}

.dock-btn.wechat:hover .wechat-pop {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
