/* Kafox 软件中心 — 全局样式 */

:root {
  --bg-deep: #f4f6fb;
  --bg-surface: #ffffff;
  --bg-elevated: #ffffff;
  --bg-muted: #eef1f7;
  --border: rgba(15, 23, 42, 0.09);
  --text: #0f172a;
  --text-muted: #64748b;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-dim: rgba(37, 99, 235, 0.16);
  --on-accent: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --shadow: 0 4px 20px rgba(15, 23, 42, 0.06), 0 16px 48px rgba(15, 23, 42, 0.05);
  --header-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.logo-img {
  display: block;
  flex-shrink: 0;
  height: 48px;
  width: auto;
  max-width: min(160px, 46vw);
  object-fit: contain;
}

.logo-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  line-height: 1.2;
  margin-top: 10px;
}

.logo-heading-main {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.logo-heading-sub {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text);
}

.nav-dropdown {
  position: relative;
}

/* 桌面主导航：悬停 / 焦点在区域内时展开，避免点击切换 */
@media (min-width: 721px) {
  .nav-dropdown .nav-dropdown-menu {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.18s ease,
      visibility 0.18s ease;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  /* 填补按钮与面板之间的缝隙，避免鼠标经过时菜单闪关 */
  .nav-dropdown-menu::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    height: 14px;
  }
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  font: inherit;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.nav-dropdown-trigger:hover {
  color: var(--text);
}

.nav-dropdown-trigger::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.65;
}

.nav-dropdown-trigger[aria-expanded="true"] {
  color: var(--text);
}

.nav-dropdown-trigger[aria-expanded="true"]::after {
  opacity: 1;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
}

.nav-dropdown-mega {
  width: min(640px, calc(100vw - 32px));
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-mega-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0 20px;
  padding: 20px;
  align-items: stretch;
}

.nav-mega-col {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-mega-col > li + li {
  margin-top: 4px;
}

.nav-mega-divider {
  width: 1px;
  background: #eee;
  align-self: stretch;
  min-height: 100%;
}

.nav-mega-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 10px;
  margin: 0 -6px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}

.nav-mega-item:hover {
  background: rgba(15, 23, 42, 0.04);
}

.nav-mega-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.nav-mega-icon[data-accent="blue"] {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.nav-mega-icon[data-accent="orange"] {
  background: linear-gradient(135deg, #fb923c, #ea580c);
}

.nav-mega-icon[data-accent="green"] {
  background: linear-gradient(135deg, #34d399, #059669);
}

.nav-mega-icon[data-accent="violet"] {
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
}

.nav-mega-icon[data-accent="slate"] {
  background: linear-gradient(135deg, #94a3b8, #64748b);
}

.nav-mega-text {
  display: block;
  min-width: 0;
  text-align: left;
}

.nav-mega-title {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: #333;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.nav-mega-sub {
  display: block;
  margin-top: 4px;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: #888;
}

.nav-drawer-group {
  padding: 4px 0 8px;
  border-bottom: 1px solid var(--border);
}

.nav-drawer-heading {
  display: block;
  padding: 8px 0 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-drawer-product-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-drawer-product-list li {
  border-bottom: 1px solid var(--border);
}

.nav-drawer-product-list li:last-child {
  border-bottom: none;
}

.nav-drawer-product-list .nav-mega-item {
  margin: 0;
  padding: 14px 0;
  border-radius: 0;
}

.nav-drawer-product-list .nav-mega-item:hover {
  background: transparent;
}

.nav-drawer-product-list .nav-mega-title {
  color: var(--text);
}

.nav-drawer-product-list .nav-mega-sub {
  color: var(--text-muted);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

.nav-drawer {
  display: none;
  flex-direction: column;
  padding: 16px 20px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.nav-drawer a {
  padding: 12px 0;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.nav-drawer a:last-child {
  border-bottom: none;
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-drawer:not([hidden]) {
    display: flex;
  }
}

/* Hero */

.hero {
  position: relative;
  padding: clamp(72px, 12vw, 120px) 0 clamp(40px, 5vw, 64px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 85% 55% at 50% -18%, rgba(59, 130, 246, 0.18), transparent 52%),
    radial-gradient(ellipse 45% 40% at 95% 8%, rgba(79, 70, 229, 0.1), transparent),
    linear-gradient(180deg, #f8faff 0%, #eef2ff 45%, #f1f5f9 100%);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 78% 68% at 38% 32%, black 15%, transparent 70%);
  opacity: 0.95;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(
    from 160deg at 50% 45%,
    transparent 0deg,
    rgba(59, 130, 246, 0.09) 42deg,
    transparent 95deg,
    rgba(99, 102, 241, 0.07) 165deg,
    transparent 235deg,
    rgba(37, 99, 235, 0.06) 310deg,
    transparent 360deg
  );
  animation: hero-bg-rotate 56s linear infinite;
}

.hero-bg-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: -20%;
  height: 28%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(59, 130, 246, 0.07) 45%,
    rgba(147, 197, 253, 0.12) 50%,
    rgba(59, 130, 246, 0.06) 55%,
    transparent 100%
  );
  animation: hero-scan 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes hero-bg-rotate {
  to {
    transform: rotate(1turn);
  }
}

@keyframes hero-scan {
  0% {
    transform: translateY(0);
    opacity: 0.35;
  }
  50% {
    opacity: 0.85;
  }
  100% {
    transform: translateY(420%);
    opacity: 0.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg::after {
    animation: none;
  }

  .hero-bg-scan {
    animation: none;
    opacity: 0.25;
    top: 30%;
  }
}

.hero-bg-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
  z-index: 0;
}

.hero-mini {
  position: relative;
  min-height: clamp(120px, 16vw, 168px);
  padding: 10px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #eef2ff;
  border-bottom: 1px solid var(--border);
}

.hero-mini-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

/* 与全站 .container 同宽，避免 width:100% 盖住 min(1120px, 100% - 40px) 导致贴边 */
.container.hero-mini-content {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

.hero-mini-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  text-align: center;
  padding-left: clamp(16px, 3vw, 20px);
  padding-right: clamp(16px, 3vw, 20px);
  box-sizing: border-box;
}

.hero-mini-inner-with-media {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.hero-mini-media {
  flex: 0 0 auto;
  width: clamp(150px, 20vw, 210px);
  max-width: 52%;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(
    165deg,
    rgba(37, 99, 235, 0.08) 0%,
    rgba(99, 102, 241, 0.05) 55%,
    rgba(241, 245, 249, 0.65) 100%
  );
  border: 1px solid rgba(37, 99, 235, 0.22);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.05),
    0 6px 18px rgba(37, 99, 235, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.hero-mini-media-placeholder,
.hero-mini-media-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.hero-mini-inner-with-media .hero-mini-text {
  flex: 1 1 auto;
}

.hero-mini-inner-with-media .hero-mini-actions {
  flex: 0 0 auto;
}

.hero-mini-inner-with-media .hero-mini-title {
  justify-content: flex-start;
}

.hero-mini-text {
  min-width: 0;
  flex: 0 1 auto;
}

.hero-mini-title {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 10px;
  row-gap: 4px;
}

.hero-mini-name {
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.1;
}

h1.hero-mini-name {
  margin: 0;
}

.hero-mini-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(37, 99, 235, 0.18);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  white-space: nowrap;
}

.hero-mini-sub {
  margin-top: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  flex-basis: 100%;
  width: 100%;
  white-space: normal;
}

.hero-mini-actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.hero-mini-download-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  max-width: min(320px, 100%);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.45;
  color: #64748b;
}

.hero-mini-download-note-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: #94a3b8;
}

.hero-mini-download-note-icon svg {
  display: block;
}

.hero-mini-download-note-text {
  min-width: 0;
}

.hero-mini-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  padding: 10px 18px 10px 12px;
  margin: 0;
  text-decoration: none;
  color: #ffffff;
  background: var(--accent);
  border: none;
  border-radius: 6px;
  box-shadow: none;
  transition: filter 0.15s ease;
}

.hero-mini-download-btn:hover {
  background: var(--accent-hover);
  filter: none;
}

.hero-mini-download-btn:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.55);
  outline-offset: 3px;
}

.hero-mini-download-btn--green {
  background: #10b981;
}

.hero-mini-download-btn--green:hover {
  background: #059669;
}

.hero-mini-download-btn--green:focus-visible {
  outline-color: rgba(16, 185, 129, 0.55);
}

.hero-mini-download-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #ffffff;
}

.hero-mini-download-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 0;
  text-align: left;
}

.hero-mini-download-line1 {
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.hero-mini-download-line2 {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.3;
  opacity: 0.96;
}

.hero-mini-download-line3 {
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.3;
  opacity: 0.88;
}

.hero-mini .hero-bg {
  inset: -40%;
}

.hero-mini .hero-bg::after {
  opacity: 0.55;
}

.hero-mini .hero-bg-scan {
  opacity: 0.45;
}

@media (max-width: 900px) {
  .hero-mini-inner {
    width: 100%;
  }

  .hero-mini-inner-with-media {
    flex-direction: column;
    text-align: center;
  }

  .hero-mini-inner-with-media .hero-mini-title {
    justify-content: center;
  }

  .hero-mini-inner-with-media .hero-mini-actions {
    align-items: center;
  }

  .hero-mini-inner-with-media .hero-mini-download-note {
    justify-content: center;
  }

  .hero-mini-inner-with-media .hero-mini-download-note-text {
    text-align: center;
  }

  .hero-mini-media {
    max-width: min(250px, 76%);
  }
}

@media (max-width: 560px) {
  .hero-mini {
    min-height: 132px;
    padding: 12px 0;
  }

  .hero-mini--case-hero {
    min-height: auto;
    padding: 14px 0 18px;
  }

  .hero-mini-inner {
    align-items: flex-start;
  }

  .hero-mini-sub {
    white-space: normal;
  }

  .hero-mini-download-btn {
    padding: 8px 14px 8px 10px;
    gap: 10px;
  }

  .hero-mini-download-icon {
    width: 38px;
    height: 38px;
  }

  .hero-mini-download-icon svg {
    width: 38px;
    height: 38px;
  }

  .hero-mini-download-line1 {
    font-size: 0.92rem;
  }

  .hero-mini-download-line2 {
    font-size: 0.72rem;
  }

  .hero-mini-download-line3 {
    font-size: 0.68rem;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-switcher {
  margin-bottom: 8px;
}

.hero-panel-wrap {
  position: relative;
  margin-bottom: 20px;
  /* 相对正文栏左右外扩，拉远两枚箭头间距 */
  --hero-carousel-breakout: min(112px, 14vw);
  max-width: none;
  margin-left: calc(-1 * var(--hero-carousel-breakout));
  margin-right: calc(-1 * var(--hero-carousel-breakout));
  width: calc(100% + 2 * var(--hero-carousel-breakout));
  --hero-carousel-btn-offset: 0;
}

.hero-carousel-btn {
  position: absolute;
  z-index: 3;
  top: 50%;
  margin-top: -22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  transition:
    color 0.2s,
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s,
    transform 0.15s ease;
}

.hero-carousel-prev {
  left: var(--hero-carousel-btn-offset);
}

.hero-carousel-next {
  right: var(--hero-carousel-btn-offset);
}

.hero-carousel-btn:hover {
  color: var(--accent);
  border-color: rgba(37, 99, 235, 0.35);
  background: var(--bg-surface);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
}

.hero-carousel-btn:active {
  transform: scale(0.96);
}

.hero-carousel-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hero-panel-wrap .hero-panel {
  padding-left: 76px;
  padding-right: 76px;
}

.hero-panel-wrap:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

@media (max-width: 520px) {
  .hero-panel-wrap {
    --hero-carousel-breakout: min(40px, 5vw);
    --hero-carousel-btn-offset: -6px;
  }

  .hero-panel-wrap .hero-panel {
    padding-left: 58px;
    padding-right: 58px;
  }
}

.hero-panel.switch-next .hero-title,
.hero-panel.switch-next .hero-meta-tags,
.hero-panel.switch-next .hero-lead {
  animation: heroSwitchNext 0.38s ease;
}

.hero-panel.switch-prev .hero-title,
.hero-panel.switch-prev .hero-meta-tags,
.hero-panel.switch-prev .hero-lead {
  animation: heroSwitchPrev 0.38s ease;
}

@keyframes heroSwitchNext {
  from {
    opacity: 0;
    transform: translateX(14px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroSwitchPrev {
  from {
    opacity: 0;
    transform: translateX(-14px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-panel.switch-next .hero-title,
  .hero-panel.switch-next .hero-meta-tags,
  .hero-panel.switch-next .hero-lead,
  .hero-panel.switch-prev .hero-title,
  .hero-panel.switch-prev .hero-meta-tags,
  .hero-panel.switch-prev .hero-lead {
    animation: none;
  }
}

.hero-panel .hero-title,
.hero-panel .hero-meta-tags {
  transition: opacity 0.2s ease;
}

.hero-title {
  margin: 0 0 8px;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-meta-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
}

.hero-meta-tag {
  display: inline-block;
  padding: 4px 10px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  white-space: nowrap;
}

.hero-meta-tag-note {
  font-family: inherit;
  font-size: 0.8rem;
  letter-spacing: 0;
}

.hero-lead {
  margin: 0 0 28px;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-primary[data-accent="green"] {
  background: #059669;
  color: #fff;
}

.btn-primary[data-accent="green"]:hover {
  background: #047857;
}

.btn-ghost {
  background: var(--bg-surface);
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: rgba(37, 99, 235, 0.28);
  background: var(--bg-muted);
}

.hero-cta-doc {
  gap: 8px;
}

.hero-cta-doc-icon {
  flex-shrink: 0;
  color: #94a3b8;
}

.hero-cta-doc:hover .hero-cta-doc-icon {
  color: #64748b;
}

/* Sections */

.section {
  padding: clamp(56px, 8vw, 88px) 0;
}

.section-head {
  margin-bottom: 32px;
  max-width: 560px;
}

.section-title {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-desc {
  margin: 0;
  color: var(--text-muted);
}

/* 产品介绍（四卡片） */

.product-intro {
  background: var(--bg-deep);
  padding-top: clamp(16px, 2.5vw, 28px);
}

.product-intro-title {
  margin: 0 0 clamp(28px, 4vw, 40px);
  font-size: clamp(1.65rem, 3.2vw, 2rem);
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.02em;
  color: var(--text);
}

.product-intro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
}

@media (max-width: 1024px) {
  .product-intro-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .product-intro-grid {
    grid-template-columns: 1fr;
  }
}

.product-intro-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-surface);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.product-intro-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(180deg, #eef3f9 0%, #e8eef6 100%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.product-intro-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.product-intro-grid[data-accent="green"] .product-intro-icon {
  color: #059669;
}

.product-intro-card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.product-intro-card-body {
  flex: 1;
  padding: 18px 18px 20px;
  background: #fff;
}

.product-intro-card-body p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.product-intro-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.product-intro-link:hover {
  text-decoration: underline;
}

/* Filters */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-btn {
  padding: 8px 16px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.filter-btn:hover {
  color: var(--text);
  border-color: rgba(15, 23, 42, 0.14);
  background: var(--bg-muted);
}

.filter-btn.is-active {
  color: var(--on-accent);
  background: var(--accent);
  border-color: var(--accent);
}

/* Product grid */

.product-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.product-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.product-card[data-accent="blue"] {
  --card-accent: #2563eb;
}

.product-card[data-accent="orange"] {
  --card-accent: #f59e0b;
}

.product-card[data-accent="violet"] {
  --card-accent: #a78bfa;
}

.product-card[data-accent="green"] {
  --card-accent: #34d399;
}

.product-card[data-accent="slate"] {
  --card-accent: #94a3b8;
}

.product-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.product-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--card-accent) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--card-accent) 40%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--card-accent);
  font-family: var(--font-mono);
}

.product-meta {
  text-align: right;
}

.product-version {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.product-category {
  font-size: 0.75rem;
  color: var(--card-accent);
  font-weight: 600;
}

.product-name {
  margin: 0 0 6px;
  font-size: 1.2rem;
  font-weight: 700;
}

.product-tagline {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.product-desc {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.download-block {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: auto;
}

.download-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.download-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.download-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}

.download-link:hover {
  border-color: var(--card-accent);
  background: color-mix(in srgb, var(--card-accent) 10%, var(--bg-surface));
}

.download-link span:last-child {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
}

.doc-link {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
}

.doc-link:hover {
  color: var(--accent);
}

.product-extra-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.notice-banner {
  margin-bottom: 28px;
  padding: 16px 18px;
  background: #fffbeb;
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-sm);
  color: #92400e;
  font-size: 0.92rem;
  line-height: 1.55;
}

.notice-banner strong {
  color: #78350f;
}

.empty-state {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 20px;
}

/* Footer */

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
}

.footer-inner {
  text-align: center;
}

.footer-copy {
  margin: 0 0 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 640px;
  margin-inline: auto;
}

.footer-note a {
  color: var(--accent);
  text-decoration: none;
}

.footer-note a:hover {
  text-decoration: underline;
}

/* GoGoMail 内页 indexGM.htm */

.gm-page {
  padding-bottom: clamp(48px, 8vw, 80px);
}

.gm-article {
  max-width: min(1120px, 100%);
  margin-inline: auto;
  padding-top: clamp(32px, 5vw, 48px);
}

.gm-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 32px 40px;
  align-items: start;
}

.gm-main {
  min-width: 0;
}

.gm-main > .gm-section:first-child {
  margin-top: 0;
}

.gm-aside > .gm-aside-section:first-child {
  margin-top: 0;
}

.gm-aside {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  padding: 0 20px 22px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gm-aside--plain {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.gm-aside-section {
  margin-top: 0;
}

.gm-aside-downloads {
  overflow: visible;
}

.gm-aside-downloads-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  background: linear-gradient(165deg, #ffffff 0%, #f5f8ff 48%, #f1f5f9 100%);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 16px 40px rgba(37, 99, 235, 0.07);
}

.gm-aside-downloads-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #6366f1 45%, #8b5cf6);
}

.gm-aside-downloads-panel .gm-aside-lead,
.gm-aside-downloads-panel .gm-aside-actions,
.gm-aside-downloads-panel .gm-download-group,
.gm-aside-downloads-panel .gm-download-list,
.gm-aside-downloads-panel .gm-aside-details {
  position: relative;
  z-index: 1;
}

.gm-aside-downloads-panel .gm-aside-lead {
  margin-top: 8px;
}

.gm-aside-downloads h2 {
  margin: 0 0 8px;
}

.gm-aside-section + .gm-aside-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.gm-aside-lead {
  margin: 10px 0 14px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.gm-aside-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.gm-download-link--primary {
  border-color: color-mix(in srgb, var(--accent) 36%, var(--border));
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--accent) 10%, #ffffff) 0%,
    color-mix(in srgb, var(--accent) 6%, #f8faff) 100%
  );
}

.gm-aside-details {
  margin-top: 12px;
}

.gm-aside-details > summary {
  list-style: none;
}

.gm-aside-details > summary::-webkit-details-marker {
  display: none;
}

.gm-download-summary {
  user-select: none;
}

.gm-aside-details[open] .gm-download-summary .gm-download-link-arrow {
  transform: rotate(180deg);
}

.gm-aside-details-body {
  margin-top: 10px;
}

.gm-aside .gm-section h2 {
  font-size: 1.12rem;
  padding-bottom: 8px;
}

.gm-aside .gm-section ul {
  font-size: 0.9rem;
}

.gm-inline-links--stack {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.gm-note--compact {
  margin-top: 14px;
  font-size: 0.8rem;
}

.gm-aside-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.gm-aside-card-head h2 {
  margin: 0;
  padding: 0;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.gm-aside .gm-section .gm-aside-card-head h2 {
  padding-bottom: 0;
}

.gm-aside-card-head--download {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent) 12%, transparent) 0%,
    color-mix(in srgb, var(--accent) 4%, transparent) 100%
  );
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border));
}

.gm-aside-card-head--oem {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, #7c3aed 14%, transparent) 0%,
    color-mix(in srgb, #059669 8%, transparent) 100%
  );
  border: 1px solid color-mix(in srgb, #7c3aed 24%, var(--border));
}

.gm-aside-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, var(--bg-surface));
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border));
}

.gm-aside-card-icon--oem {
  color: #6d28d9;
  background: color-mix(in srgb, #7c3aed 16%, var(--bg-surface));
  border-color: color-mix(in srgb, #7c3aed 32%, var(--border));
}

.gm-download-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gm-download-list li {
  margin: 0;
}

.gm-aside-downloads-panel .gm-download-group {
  margin: 0;
  padding: 12px 12px 11px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(37, 99, 235, 0.1);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.gm-download-group-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.gm-download-group-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  color: color-mix(in srgb, var(--text-muted) 85%, var(--text));
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: none;
}

.gm-download-group-icon svg {
  width: 14px;
  height: 14px;
  opacity: 0.88;
}

.gm-aside-downloads .gm-download-group-title {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
  line-height: 1.3;
}

.gm-aside-downloads-panel .gm-download-list--stacked {
  gap: 6px;
}

.gm-aside-downloads-panel .gm-download-link--row {
  padding: 9px 11px;
  border-radius: 9px;
  font-size: 0.86rem;
  font-weight: 400;
  border-left: 3px solid transparent;
  transition:
    border-color 0.18s ease,
    border-left-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
}

.gm-aside-downloads-panel .gm-download-link--row:hover {
  border-left-color: color-mix(in srgb, var(--accent) 70%, transparent);
}

.gm-download-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-page);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.45;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
}

.gm-download-link:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  background: color-mix(in srgb, var(--accent) 8%, var(--bg-page));
  color: var(--accent);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--accent) 12%, transparent);
}

.gm-aside .gm-download-link {
  font-weight: 400;
}

.gm-download-link.gm-download-link--static {
  cursor: default;
}

.gm-download-link.gm-download-link--static:hover {
  border-color: var(--border);
  background: var(--bg-page);
  color: var(--text);
  box-shadow: none;
}

.gm-download-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.gm-download-link-text {
  flex: 1;
  min-width: 0;
}

.gm-download-link-arrow {
  flex-shrink: 0;
  font-size: 0.85rem;
  opacity: 0.55;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.gm-download-link:hover .gm-download-link-arrow {
  opacity: 0.95;
  transform: translate(1px, -1px);
}

.gm-note--aside-foot {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--text-muted) 8%, var(--bg-surface));
  border: 1px dashed color-mix(in srgb, var(--text-muted) 28%, var(--border));
}

.gm-oem-panel {
  margin: 0;
}

.gm-oem-intro {
  margin: 0 0 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.gm-oem-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gm-oem-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, #7c3aed 6%, var(--bg-page)) 0%,
    var(--bg-page) 100%
  );
}

.gm-oem-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5b21b6;
  background: color-mix(in srgb, #7c3aed 14%, var(--bg-surface));
  border: 1px solid color-mix(in srgb, #7c3aed 28%, var(--border));
}

.gm-oem-text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text);
}

.gm-oem-text strong {
  color: var(--text);
}

.gm-oem-qq {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  margin: 0 2px;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  text-decoration: none;
  vertical-align: baseline;
}

.gm-oem-qq:hover {
  filter: brightness(1.06);
  text-decoration: none;
}

.gm-aside .gm-aside-section .gm-aside-card-head + .gm-download-list {
  margin-top: 0;
}

@media (max-width: 900px) {
  .gm-layout {
    grid-template-columns: 1fr;
  }

  .gm-aside {
    position: static;
  }
}

.gm-article-head {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.gm-article-head h1 {
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.gm-lead {
  margin: 0 0 20px;
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.gm-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gm-section {
  margin-top: 40px;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.gm-section h2 {
  margin: 0 0 16px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-dim);
}

.gm-section h3 {
  margin: 24px 0 12px;
  font-size: 1.05rem;
  font-weight: 600;
}

.gm-section p,
.gm-section li {
  color: var(--text);
  line-height: 1.75;
}

.gm-section ul {
  margin: 0 0 16px;
  padding-left: 1.35rem;
}

.gm-section ul li + li {
  margin-top: 8px;
}

.gm-section-overview h2 {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 8px;
}

.gm-aside .gm-aside-downloads > h2 {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 8px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
}

.gm-section-title::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  vertical-align: 0.12em;
  border-radius: 1px;
  background: var(--accent);
  opacity: 0.55;
}

.gm-section-title::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin-top: 12px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), #6366f1);
}

.gm-overview-lead {
  margin: 0 0 18px;
  padding: 14px 18px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 12px;
  border-left: 4px solid var(--accent);
}

.gm-overview-panel {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  background: linear-gradient(165deg, #ffffff 0%, #f5f8ff 48%, #f1f5f9 100%);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 16px 40px rgba(37, 99, 235, 0.07);
}

.gm-overview-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #6366f1 45%, #8b5cf6);
}

.gm-overview-panel-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  padding: 18px 22px 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, transparent 100%);
}

.gm-overview-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.gm-overview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gm-overview-tag {
  padding: 5px 11px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
}

.gm-overview-panel-body {
  padding: 18px 22px 22px;
}

.gm-overview-panel-body p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.82;
  color: var(--text-muted);
}

.gm-overview-panel-body p + p {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px dashed rgba(15, 23, 42, 0.1);
}

@media (max-width: 480px) {
  .gm-overview-panel-top {
    padding: 16px 16px 12px;
  }

  .gm-overview-panel-body {
    padding: 16px 16px 20px;
  }
}

.case-study-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.case-study-panel .gm-overview-panel-body h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.case-study-panel .case-study-cta {
  margin-top: 1rem;
}

/* 客户列表页（caselist）顶栏：标题与正文区同宽左对齐 */

.hero-mini--case-hero {
  min-height: clamp(148px, 20vw, 210px);
  padding: clamp(16px, 2.5vw, 26px) 0 clamp(20px, 3vw, 32px);
}

.hero-mini--case-hero .hero-mini-content--case {
  justify-content: flex-start;
  align-items: center;
}

/* 与下方「部分客户列表」共用 .section-head：同 max-width(560px)、同左缘对齐 */
.hero-mini--case-hero .hero-case-section-head {
  margin-bottom: 0;
  text-align: left;
}

.hero-mini--case-hero h1.hero-mini-name {
  font-size: clamp(1.55rem, 3.4vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
  margin: 0 0 8px;
}

.hero-mini-sub--case {
  margin: 0;
  padding: 0;
  font-size: clamp(0.86rem, 1.9vw, 0.95rem);
  line-height: 1.5;
  color: var(--text-muted);
}

/* 客户列表页（caselist） */

.partial-customer-page {
  background: var(--bg-surface);
  min-height: calc(100vh - var(--header-h) - 120px);
  /* 与顶栏主标题区衔接：略小于通用 .section */
  padding-top: clamp(10px, 1.6vw, 18px);
  padding-bottom: clamp(48px, 7vw, 80px);
}

.partial-customer-page .partial-customer-head {
  margin-bottom: clamp(16px, 2.2vw, 24px);
}

.partial-customer-page .section-title {
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

.partial-customer-list-wrap {
  width: 100%;
}

.partial-customer-head .section-desc + .partial-customer-count {
  margin-top: 12px;
}

.partial-customer-count {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}

.partial-customer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partial-customer-item {
  margin: 0;
  padding: 14px 18px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.partial-customer-item:hover {
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
}

@media (max-width: 900px) {
  .partial-customer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .partial-customer-grid {
    grid-template-columns: 1fr;
  }
}

.gm-section-changelog h2 {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 8px;
}

.gm-changelog-lead {
  margin: 0 0 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.gm-changelog {
  position: relative;
  padding-left: 4px;
  margin-top: 4px;
}

.gm-changelog::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(
    180deg,
    rgba(37, 99, 235, 0.55) 0%,
    rgba(99, 102, 241, 0.25) 45%,
    rgba(37, 99, 235, 0.08) 100%
  );
}

.gm-changelog-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.gm-changelog-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 18px;
  margin: 0;
  cursor: pointer;
  color: var(--accent);
  background: linear-gradient(165deg, #ffffff 0%, #f8faff 100%);
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 12px;
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.04),
    0 8px 24px rgba(37, 99, 235, 0.06);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.18s ease;
}

.gm-changelog-toggle:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow:
    0 2px 8px rgba(15, 23, 42, 0.06),
    0 12px 32px rgba(37, 99, 235, 0.1);
}

.gm-changelog-toggle:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.55);
  outline-offset: 3px;
}

.gm-changelog-toggle-text {
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: var(--accent);
}

.gm-changelog-toggle-icon {
  display: flex;
  line-height: 0;
  transition: transform 0.22s ease;
}

.gm-changelog-toggle.is-expanded .gm-changelog-toggle-icon {
  transform: rotate(180deg);
}

.gm-changelog-more {
  margin-top: 18px;
}

.gm-changelog-more .gm-update + .gm-update {
  margin-top: 18px;
}

.gm-update {
  position: relative;
  margin-bottom: 0;
  margin-left: 36px;
  padding: 18px 20px 20px;
  background: linear-gradient(165deg, #ffffff 0%, #f8faff 55%, #f1f5f9 100%);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 14px;
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.04),
    0 10px 36px rgba(37, 99, 235, 0.06);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.18s ease;
}

.gm-update + .gm-update {
  margin-top: 18px;
}

.gm-update:hover {
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow:
    0 4px 14px rgba(15, 23, 42, 0.06),
    0 16px 44px rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}

.gm-update::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 22px;
  width: 13px;
  height: 13px;
  background: var(--bg-surface);
  border: 3px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--bg-deep);
  z-index: 1;
}

.gm-update h3 {
  margin: 0 0 14px;
  padding-bottom: 12px;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
  border-bottom: 1px dashed rgba(15, 23, 42, 0.1);
}

.gm-update h3::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  margin-bottom: 2px;
  vertical-align: middle;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  border-radius: 2px;
}

.gm-update p {
  margin: 0;
  padding-left: 2px;
  font-size: 0.9rem;
  line-height: 1.72;
  white-space: pre-line;
  color: var(--text-muted);
}

.gm-note--changelog {
  margin-top: 28px;
  border-left: 3px solid rgba(37, 99, 235, 0.35);
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.06), var(--bg-muted));
}

@media (max-width: 560px) {
  .gm-changelog::before {
    left: 11px;
  }

  .gm-update {
    margin-left: 28px;
    padding: 16px 16px 18px;
  }

  .gm-update::before {
    left: -24px;
    width: 11px;
    height: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gm-update {
    transition: none;
  }

  .gm-update:hover {
    transform: none;
  }

  .gm-changelog-toggle-icon {
    transition: none;
  }
}

.gm-note {
  margin-top: 20px;
  padding: 14px 16px;
  background: var(--bg-muted);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.gm-note a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.gm-note a:hover {
  text-decoration: underline;
}

.gm-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.gm-inline-links a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.gm-inline-links a:hover {
  text-decoration: underline;
}

/* 联系我们 — 团队与产品介绍 */

.contact-about-page {
  background: var(--bg-surface);
}

.contact-about-body {
  max-width: 72ch;
}

.contact-about-body h3 {
  margin: 1.6rem 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--text);
  letter-spacing: -0.01em;
}

.contact-about-body h3:first-child {
  margin-top: 0;
}

.contact-about-body p {
  margin: 0 0 1rem;
  color: var(--text);
  line-height: 1.65;
}

.contact-about-body p:last-child {
  margin-bottom: 0;
}

.contact-about-body a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  word-break: break-all;
}

.contact-about-body a:hover {
  text-decoration: underline;
}

.contact-about-page .contact-about-subhead {
  margin-top: clamp(40px, 6vw, 56px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--border);
}

/* 联系页专用：顶栏「联系我们」标题与客户案例页 hero 共用全局样式；以下为正文区 */

main.contact-page .contact-hero-support {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 10px;
  row-gap: 6px;
  margin: 8px 0 0;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

main.contact-page .contact-hero-support-label {
  margin: 0;
  font-size: clamp(0.78rem, 1.5vw, 0.88rem);
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--text);
  white-space: nowrap;
}

main.contact-page .contact-hero-support-sep {
  display: inline-block;
  width: 1px;
  height: 0.95em;
  background: rgba(15, 23, 42, 0.14);
  flex-shrink: 0;
  align-self: center;
}

main.contact-page .contact-hero-support-txt {
  margin: 0;
  font-size: clamp(0.78rem, 1.5vw, 0.88rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--text);
}

main.contact-page .contact-hero-support-qq-wrap {
  display: inline-flex;
  align-items: center;
  column-gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

main.contact-page .contact-hero-support-qq-display {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 4px 12px 4px 4px;
  flex-shrink: 0;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 11px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

main.contact-page .contact-hero-support-qq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

main.contact-page .contact-hero-support-qq-img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  pointer-events: none;
}

main.contact-page .contact-hero-support-qq-main {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}

main.contact-page .contact-hero-support-qq-label {
  font-size: clamp(0.72rem, 1.35vw, 0.8rem);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

main.contact-page .contact-hero-support-qq-num {
  font-family: inherit;
  font-size: clamp(0.78rem, 1.45vw, 0.86rem);
  font-weight: 600;
  letter-spacing: normal;
  color: var(--accent);
}

main.contact-page .contact-about-page.section {
  padding: clamp(18px, 2.8vw, 32px) 0 clamp(36px, 5.5vw, 64px);
}

main.contact-page .contact-about-page .section-head {
  margin-bottom: clamp(12px, 1.8vw, 18px);
  max-width: 48rem;
}

main.contact-page .contact-about-page .section-title {
  margin: 0;
  font-size: clamp(0.95rem, 1.65vw, 1.1rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #475569;
  padding: 2px 0 2px 14px;
  border-left: 3px solid var(--accent);
  border-radius: 2px 0 0 2px;
  line-height: 1.4;
  background: linear-gradient(
    90deg,
    rgba(37, 99, 235, 0.06) 0%,
    transparent 100%
  );
}

main.contact-page .contact-about-body h3 {
  margin: 1.25rem 0 0.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
  letter-spacing: -0.01em;
}

main.contact-page .contact-about-body h3:first-child {
  margin-top: 0;
}

main.contact-page .contact-about-body p {
  font-size: 0.94rem;
  line-height: 1.68;
  color: #334155;
}

main.contact-page .contact-about-page .contact-about-subhead {
  margin-top: clamp(22px, 3.5vw, 34px);
  padding-top: clamp(18px, 2.8vw, 26px);
}

@supports not (color: color-mix(in srgb, red, blue)) {
  .product-icon {
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.35);
  }

  .download-link:hover {
    background: #eff6ff;
  }
}
