/* ===== 页面专属 CSS · 首页 ===== */
.page-home {
  --home-hero-bg: var(--deep-blue);
  --home-card-bg: var(--tech-white);
  --home-accent: var(--electric-purple);
  --home-cta: var(--vibrant-orange);
  --home-text-light: var(--tech-white);
  --home-text-dark: var(--deep-space-gray);
  --home-font-heading: var(--font-heading);
  --home-font-body: var(--font-body);
  --home-font-data: var(--font-data);
  --home-radius: 12px;
  --home-transition: var(--transition);

  background-color: var(--tech-white);
  color: var(--home-text-dark);
  font-family: var(--home-font-body);
  line-height: 1.5;
}

/* ---------- 面包屑 ---------- */
.home-breadcrumb {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1rem 0;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: var(--home-accent);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.home-breadcrumb-item {
  color: var(--home-text-dark);
  opacity: 0.6;
}
.home-breadcrumb-sep {
  opacity: 0.4;
}
.home-breadcrumb-current {
  font-weight: 600;
  color: var(--home-accent);
}

/* ---------- 首屏 · 左右分屏 ---------- */
.home-hero {
  background: var(--home-hero-bg);
  color: var(--home-text-light);
  padding: 2rem 1rem 3rem;
  position: relative;
  overflow: hidden;
}
.home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(123, 45, 142, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 111, 0, 0.08) 0%, transparent 50%),
    linear-gradient(135deg, transparent 40%, rgba(255, 111, 0, 0.03) 80%);
  pointer-events: none;
}
.home-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* 左侧 · 品牌叙事 */
.home-hero-left {
  flex: 0 0 auto;
}
.home-hero-badge {
  display: inline-block;
  background: var(--home-cta);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
}
.home-hero-title {
  font-family: var(--home-font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  background: linear-gradient(135deg, #fff 30%, var(--home-cta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.home-hero-desc {
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 32rem;
  margin: 0 0 1.5rem;
  opacity: 0.92;
}
.home-hero-highlight {
  color: var(--home-cta);
  font-weight: 700;
  font-family: var(--home-font-data);
  font-size: 1.25em;
}
.home-hero-image-wrap {
  border-radius: var(--home-radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(123, 45, 142, 0.4);
  max-width: 100%;
}
.home-hero-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  aspect-ratio: 800 / 600;
}

/* 右侧 · 功能亮点切换 */
.home-hero-right {
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--home-radius);
  padding: 1.5rem;
  border: 1px solid rgba(123, 45, 142, 0.25);
  backdrop-filter: blur(4px);
}
.home-hero-right-title {
  font-family: var(--home-font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 1rem;
  letter-spacing: 0.04em;
  color: var(--home-cta);
}
.home-feature-switcher {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.home-fs-radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.home-fs-labels {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.home-fs-label {
  flex: 1;
  min-width: 5rem;
  text-align: center;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: background var(--home-transition), border-color var(--home-transition), box-shadow var(--home-transition);
  color: rgba(255, 255, 255, 0.7);
}
.home-fs-label:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--home-accent);
}
.home-fs-radio:checked + .home-fs-labels .home-fs-label,
.home-fs-radio:focus-visible + .home-fs-labels .home-fs-label {
  outline: none;
}
.home-fs-radio#hf-1:checked ~ .home-fs-labels label[for="hf-1"],
.home-fs-radio#hf-2:checked ~ .home-fs-labels label[for="hf-2"],
.home-fs-radio#hf-3:checked ~ .home-fs-labels label[for="hf-3"] {
  background: var(--home-accent);
  border-color: var(--home-accent);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(123, 45, 142, 0.3);
}
.home-fs-radio:focus-visible ~ .home-fs-labels label {
  outline: 2px solid var(--home-cta);
  outline-offset: 2px;
}

.home-fs-panels {
  position: relative;
}
.home-fs-panel {
  display: none;
  padding: 1rem 0 0;
  animation: homeFadeIn 0.3s ease-in-out;
}
.home-fs-radio#hf-1:checked ~ .home-fs-panels #hfp-1,
.home-fs-radio#hf-2:checked ~ .home-fs-panels #hfp-2,
.home-fs-radio#hf-3:checked ~ .home-fs-panels #hfp-3 {
  display: block;
}
@keyframes homeFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.home-fs-panel-num {
  display: inline-block;
  font-family: var(--home-font-data);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--home-cta);
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}
.home-fs-panel-title {
  font-family: var(--home-font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #fff;
}
.home-fs-panel-desc {
  font-size: 0.9375rem;
  line-height: 1.5;
  opacity: 0.8;
  margin: 0 0 0.75rem;
}
.home-fs-panel-icon {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 200 / 200;
  object-fit: cover;
}

/* ---------- 核心功能速览 ---------- */
.home-features {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1rem;
}
.home-section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.home-section-title {
  font-family: var(--home-font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--home-text-dark);
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}
.home-section-subtitle {
  font-size: 1.0625rem;
  color: #555;
  margin: 0;
}
.home-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.home-feature-card {
  background: var(--home-card-bg);
  border-radius: var(--home-radius);
  padding: 1.75rem 1.5rem;
  position: relative;
  border: 1px solid rgba(0, 51, 102, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform var(--home-transition), box-shadow var(--home-transition), border-color var(--home-transition);
  cursor: default;
  display: flex;
  flex-direction: column;
}
.home-feature-card:hover,
.home-feature-card:focus-within {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 32px rgba(0, 51, 102, 0.12);
  border-color: var(--home-accent);
}
.home-feature-card-num {
  font-family: var(--home-font-data);
  font-size: 2rem;
  font-weight: 700;
  color: var(--home-accent);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.75rem;
  opacity: 0.6;
}
.home-feature-card-title {
  font-family: var(--home-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--home-text-dark);
}
.home-feature-card-desc {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #444;
  margin: 0 0 1rem;
  flex: 1;
}
.home-feature-card-tag {
  display: inline-block;
  background: rgba(123, 45, 142, 0.1);
  color: var(--home-accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 2rem;
  align-self: flex-start;
  margin-bottom: 0.75rem;
}
.home-feature-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--home-cta);
  text-decoration: none;
  transition: color var(--home-transition);
  align-self: flex-start;
  border-bottom: 2px solid transparent;
}
.home-feature-card-link:hover,
.home-feature-card-link:focus-visible {
  color: var(--home-accent);
  border-bottom-color: var(--home-accent);
  outline: none;
}
.home-feature-card:focus-within .home-feature-card-link {
  outline: 2px solid var(--home-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- 数据实时同步 ---------- */
.home-realtime {
  background: var(--home-hero-bg);
  color: var(--home-text-light);
  padding: 3rem 1rem;
  position: relative;
  overflow: hidden;
}
.home-realtime::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 111, 0, 0.06) 100%);
  pointer-events: none;
}
.home-realtime-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.home-realtime-visual {
  flex: 0 0 auto;
  border-radius: var(--home-radius);
  overflow: hidden;
  border: 2px solid rgba(123, 45, 142, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  max-width: 100%;
}
.home-realtime-chart {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  aspect-ratio: 400 / 300;
}
.home-realtime-content {
  flex: 1;
}
.home-realtime-badge {
  display: inline-block;
  background: var(--home-cta);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  margin-bottom: 0.75rem;
}
.home-realtime-title {
  font-family: var(--home-font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 0 1rem;
  line-height: 1.15;
}
.home-realtime-desc {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
  margin: 0 0 1.25rem;
  max-width: 32rem;
}
.home-realtime-strong {
  color: var(--home-cta);
  font-family: var(--home-font-data);
  font-weight: 700;
}
.home-realtime-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.home-realtime-item {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  opacity: 0.85;
}
.home-realtime-item::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--home-cta);
  font-weight: 700;
}

/* ---------- 正版保障 ---------- */
.home-trust {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1rem;
}
.home-trust-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
  background: var(--home-card-bg);
  border-radius: var(--home-radius);
  padding: 2.5rem 1.5rem;
  border: 1px solid rgba(0, 51, 102, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.home-trust-seal {
  flex-shrink: 0;
}
.home-trust-image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 50%;
  aspect-ratio: 150 / 150;
  object-fit: cover;
  box-shadow: 0 0 0 4px rgba(123, 45, 142, 0.15);
}
.home-trust-content {
  flex: 1;
}
.home-trust-title {
  font-family: var(--home-font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--home-text-dark);
  margin: 0 0 0.75rem;
}
.home-trust-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  max-width: 28rem;
  margin: 0 auto 1.5rem;
}
.home-trust-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.home-trust-link {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2rem;
  transition: background var(--home-transition), color var(--home-transition), box-shadow var(--home-transition);
}
.home-trust-link:first-child {
  background: var(--home-accent);
  color: #fff;
}
.home-trust-link:first-child:hover,
.home-trust-link:first-child:focus-visible {
  background: var(--home-cta);
  box-shadow: 0 4px 16px rgba(255, 111, 0, 0.3);
  outline: none;
}
.home-trust-link:last-child {
  background: transparent;
  color: var(--home-accent);
  border: 2px solid var(--home-accent);
}
.home-trust-link:last-child:hover,
.home-trust-link:last-child:focus-visible {
  background: var(--home-accent);
  color: #fff;
  outline: none;
}

/* ---------- 桌面端媒体查询 ---------- */
@media (min-width: 768px) {
  .home-hero-inner {
    flex-direction: row;
    align-items: stretch;
    gap: 2rem;
  }
  .home-hero-left {
    flex: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .home-hero-right {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .home-hero-title {
    font-size: 3rem;
  }
  .home-features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .home-realtime-inner {
    flex-direction: row;
    align-items: center;
  }
  .home-realtime-visual {
    flex: 0 0 42%;
  }
  .home-realtime-title {
    font-size: 2rem;
  }
  .home-trust-inner {
    flex-direction: row;
    text-align: left;
    padding: 3rem;
  }
  .home-trust-content {
    text-align: left;
  }
  .home-trust-desc {
    margin: 0 0 1.5rem;
  }
  .home-trust-actions {
    justify-content: flex-start;
  }
}

/* ---------- 桌面大屏微调 ---------- */
@media (min-width: 1024px) {
  .home-hero {
    padding: 3rem 2rem 4rem;
  }
  .home-hero-title {
    font-size: 3.5rem;
  }
  .home-features {
    padding: 4rem 2rem;
  }
  .home-realtime {
    padding: 4rem 2rem;
  }
  .home-trust {
    padding: 4rem 2rem;
  }
}
