:root {
  --bg: #f4f6f8;
  --bg-mid: #eef1f4;
  --bg-elev: #ffffff;
  --bg-soft: #f8fafb;
  --ink: #12151a;
  --ink-muted: #5a6573;
  --ink-faint: #8b95a3;
  --line: rgba(18, 21, 26, 0.1);
  --accent: #0e7c6b;
  --accent-bright: #12987f;
  --accent-deep: #0a5c50;
  --accent-dim: rgba(14, 124, 107, 0.12);
  --shop: #2f6fad;
  --shop-dim: rgba(47, 111, 173, 0.12);
  --warn: #b8862d;
  --bad: #c25a5a;
  --ok: #1a8f6e;
  --btn-ink: #ffffff;
  --radius: 14px;
  --radius-sm: 10px;
  --font-display: "Outfit", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", system-ui, sans-serif;
  --max: 1160px;
  --page-gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 7vh, 5.25rem);
  --section-lead-gap: 2rem;
  --card-gap: 1.5rem;
  --card-pad: 1.6rem;
  --shadow: 0 18px 50px rgba(18, 21, 26, 0.08);
  --shadow-lg: 0 28px 70px rgba(18, 21, 26, 0.12);
}

.page-huoke {
  --accent: #4f6ef7;
  --accent-bright: #6b84f8;
  --accent-deep: #3a56d4;
  --accent-dim: rgba(79, 110, 247, 0.12);
}

.page-huoke .brand-gradient {
  background: linear-gradient(120deg, #3a56d4, #7a5af8 55%, #4f6ef7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-huoke .product-card.is-current {
  border-color: rgba(79, 110, 247, 0.35);
  background:
    linear-gradient(160deg, rgba(79, 110, 247, 0.08), transparent 50%),
    #fff;
}

.page-huoke .product-card.is-current .product-eyebrow {
  color: #4f6ef7;
}

.page-huoke .product-card:not(.is-current) .product-eyebrow {
  color: #0a5c50;
}

.page-huoke .nav-dropdown-card.is-current {
  border-color: rgba(79, 110, 247, 0.28);
  background: rgba(79, 110, 247, 0.08);
}

.page-huoke .nav-dropdown-card.is-current .nav-dropdown-name {
  color: #3a56d4;
}

.page-huoke .nav-dropdown-card:not(.is-current) .nav-dropdown-name {
  color: #0a5c50;
}

.page-huoke .mobile-product-link.is-current {
  border-color: rgba(79, 110, 247, 0.28);
  background: rgba(79, 110, 247, 0.08);
  color: #3a56d4;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.page-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 45% at 0% 0%, rgba(14, 124, 107, 0.1), transparent 55%),
    radial-gradient(ellipse 45% 40% at 100% 10%, rgba(47, 111, 173, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 35% at 50% 100%, rgba(14, 124, 107, 0.06), transparent 55%),
    linear-gradient(180deg, #f7f9fb 0%, #f1f4f7 45%, #eef2f5 100%);
}

.page-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0.75rem;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: min(var(--max), calc(100% - 2 * var(--page-gutter)));
  margin: 0.75rem auto 0;
  padding: 0.7rem 1rem 0.7rem 1.15rem;
  border: 1px solid rgba(18, 21, 26, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 8px 30px rgba(18, 21, 26, 0.06);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: visible;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(14, 124, 107, 0.18);
  box-shadow: 0 12px 36px rgba(18, 21, 26, 0.1);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 6px;
  display: block;
  flex-shrink: 0;
  object-fit: cover;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.nav > a,
.nav-link {
  color: var(--ink-muted);
  font: inherit;
  font-size: 0.92rem;
  text-decoration: none;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav > a:hover,
.nav-link:hover,
.nav-item.is-open .nav-dropdown-toggle {
  color: var(--ink);
  background: rgba(18, 21, 26, 0.05);
  text-decoration: none;
}

.nav-item {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.nav-caret {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.nav-item.is-open .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  z-index: 50;
  display: grid;
  gap: 0.4rem;
  min-width: 17.5rem;
  padding: 0.55rem;
  border: 1px solid rgba(18, 21, 26, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 40px rgba(18, 21, 26, 0.12);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
}

.nav-dropdown[hidden] {
  display: none !important;
}

.nav-dropdown-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-dropdown-card:hover {
  background: rgba(18, 21, 26, 0.04);
  text-decoration: none;
}

.nav-dropdown-card.is-current {
  border-color: rgba(14, 124, 107, 0.28);
  background: rgba(14, 124, 107, 0.06);
}

.nav-dropdown-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.nav-dropdown-card:not(.is-current) .nav-dropdown-name {
  color: #3a56d4;
}

.nav-dropdown-desc {
  font-size: 0.78rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

.nav-cta {
  color: var(--accent) !important;
  background: var(--accent-dim) !important;
  font-weight: 600;
}

.header-trial-mobile.btn,
.nav-toggle {
  display: none;
}

.nav-toggle {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(18, 21, 26, 0.1);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 1rem;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-menu-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-menu-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: var(--btn-ink);
  background: linear-gradient(135deg, #17a890, var(--accent) 55%, var(--accent-deep));
  box-shadow: 0 10px 28px rgba(14, 124, 107, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 14px 34px rgba(14, 124, 107, 0.36);
}

.btn-secondary {
  color: var(--ink);
  background: #fff;
  border-color: rgba(18, 21, 26, 0.12);
}

.btn-secondary:hover {
  border-color: rgba(14, 124, 107, 0.45);
  color: var(--accent);
  box-shadow: 0 8px 24px rgba(18, 21, 26, 0.06);
}

.btn-ghost {
  min-height: 2.35rem;
  padding: 0 1rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
  background: transparent;
  border-color: rgba(18, 21, 26, 0.12);
  border-radius: 999px;
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: rgba(18, 21, 26, 0.22);
}

.hero {
  position: relative;
  padding: clamp(1.75rem, 4vh, 3rem) var(--page-gutter) var(--section-y);
  overflow: hidden;
}

.hero-shell {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 40%, rgba(14, 124, 107, 0.1), transparent 42%),
    radial-gradient(circle at 18% 78%, rgba(47, 111, 173, 0.07), transparent 40%);
}

.hero-inner,
.hero-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero-brand {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.8vw, 3.1rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
  max-width: 100%;
  word-break: keep-all;
}

.brand-gradient {
  background: linear-gradient(105deg, #0f1720 8%, #0e7c6b 55%, #2f6fad 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title {
  margin: 0 0 1.15rem;
  max-width: 22em;
  font-size: clamp(1.2rem, 2.1vw, 1.45rem);
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink);
}

.hero-lead {
  margin: 0 0 2rem;
  max-width: 34rem;
  color: var(--ink-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-sister {
  margin: 1.15rem 0 0;
  max-width: 34rem;
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.hero-sister a {
  color: #4f6ef7;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(79, 110, 247, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.hero-sister a:hover {
  color: #3a56d4;
  border-bottom-color: #3a56d4;
}

.hero-visual {
  animation: rise 0.9s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.dash-stage {
  position: relative;
  padding: 0.25rem 0 0;
  max-width: 100%;
}

.hero-slides {
  position: relative;
  width: min(100%, 520px);
  margin-left: auto;
  margin-right: 0;
  min-height: 420px;
}

.hero-slides .mock-window {
  position: absolute;
  inset: 0;
  width: 100%;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s;
  animation: none;
  pointer-events: none;
}

.hero-slides .mock-window.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  animation: drift 9s ease-in-out infinite;
}

.hero-dots {
  display: flex;
  justify-content: flex-end;
  gap: 0.45rem;
  width: min(100%, 520px);
  margin: 0.85rem 0 0 auto;
}

.hero-dots button {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(18, 21, 26, 0.18);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
  width: 1.35rem;
  background: var(--accent);
}

.hero-dots button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.mock-list-dense .amt {
  font-variant-numeric: tabular-nums;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.mock-window {
  position: relative;
  width: min(100%, 520px);
  margin-left: auto;
  margin-right: 0;
  border-radius: 16px;
  border: 1px solid rgba(18, 21, 26, 0.08);
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0) rotate(-0.3deg);
  }
  50% {
    transform: translateY(-10px) rotate(0.3deg);
  }
}

.mock-chrome {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: #f8fafb;
}

.mock-chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(18, 21, 26, 0.15);
}

.mock-chrome span:nth-child(1) {
  background: #ef9a9a;
}

.mock-chrome span:nth-child(2) {
  background: #f0c56e;
}

.mock-chrome span:nth-child(3) {
  background: #7dcea0;
}

.mock-chrome em {
  margin-left: 0.7rem;
  font-style: normal;
  font-size: 0.82rem;
  color: var(--ink-faint);
}

.mock-body {
  display: grid;
  grid-template-columns: 52px 1fr;
  min-height: 340px;
}

.mock-side {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1rem 0.75rem;
  border-right: 1px solid var(--line);
  background: #f6f8fa;
}

.mock-side i {
  display: block;
  width: 100%;
  height: 10px;
  border-radius: 4px;
  background: rgba(18, 21, 26, 0.08);
}

.mock-side i.on {
  background: linear-gradient(90deg, var(--accent), transparent);
}

.mock-main {
  padding: 1rem 1.1rem 1.15rem;
}

.mock-kpi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.kpi-card {
  padding: 0.7rem 0.75rem;
  border-radius: var(--radius-sm);
  background: #f7f9fb;
  border: 1px solid rgba(18, 21, 26, 0.06);
}

.kpi-card small {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.7rem;
  color: var(--ink-faint);
}

.kpi-card strong {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.5vw, 1.2rem);
  color: var(--ink);
  word-break: break-all;
}

.kpi-card .up,
.amt.up {
  color: var(--ok);
}

.kpi-card .warn-num {
  color: var(--warn);
}

.amt.down {
  color: var(--bad);
}

.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  height: 72px;
  margin-bottom: 1rem;
  padding: 0.5rem 0.35rem 0;
}

.mock-chart .bar {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #2bb89d, rgba(14, 124, 107, 0.25));
  animation: barGrow 1.2s ease both;
}

.mock-chart .bar:nth-child(odd) {
  animation-delay: 0.1s;
  opacity: 0.8;
}

@keyframes barGrow {
  from {
    transform: scaleY(0.2);
    transform-origin: bottom;
    opacity: 0;
  }
  to {
    transform: scaleY(1);
    transform-origin: bottom;
    opacity: 1;
  }
}

.mock-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mock-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.65rem 0.2rem;
  font-size: 0.84rem;
  border-top: 1px solid rgba(18, 21, 26, 0.06);
  color: var(--ink);
}

.mock-list li > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tag {
  font-size: 0.72rem;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
}

.tag.ok {
  color: var(--ok);
  background: rgba(26, 143, 110, 0.1);
}

.tag.warn {
  color: var(--warn);
  background: rgba(184, 134, 45, 0.1);
}

.tag.bad {
  color: var(--bad);
  background: rgba(194, 90, 90, 0.1);
}

.section {
  position: relative;
  padding: var(--section-y) var(--page-gutter);
  scroll-margin-top: 5.5rem;
}

/* Hero 与下一块之间不要叠两份大间距 */
.hero + .section {
  padding-top: calc(var(--section-y) * 0.55);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
}

.section-lead {
  margin: 0 0 var(--section-lead-gap);
  max-width: 36rem;
  color: var(--ink-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.pains {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.7) 30%, transparent);
}

.pain-grid,
.feature-grid,
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--card-gap);
}

.pain-card {
  padding: var(--card-pad);
  border-radius: var(--radius);
  border: 1px solid rgba(18, 21, 26, 0.08);
  background: #fff;
  box-shadow: 0 8px 28px rgba(18, 21, 26, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.pain-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 124, 107, 0.28);
  box-shadow: var(--shadow);
}

.pain-icon {
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.9rem;
  color: var(--accent);
}

.pain-icon.warn {
  color: var(--warn);
}

.pain-icon svg {
  width: 100%;
  height: 100%;
}

.pain-compare {
  margin-bottom: 0.9rem;
}

.pain-compare p {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

.pain-compare span {
  display: inline-block;
  min-width: 2.4rem;
  margin-right: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pain-compare .before span {
  color: var(--bad);
}

.pain-compare .after span {
  color: var(--ok);
}

.pain-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
}

.feature {
  padding: var(--card-pad);
  border-radius: var(--radius);
  border: 1px solid rgba(18, 21, 26, 0.08);
  background: #fff;
  box-shadow: 0 8px 28px rgba(18, 21, 26, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-accent {
  border-color: rgba(14, 124, 107, 0.35);
  background:
    linear-gradient(160deg, rgba(14, 124, 107, 0.08), transparent 55%),
    #fff;
  box-shadow: 0 12px 36px rgba(14, 124, 107, 0.08);
}

.feature-top {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.feature-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.feature h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
}

.feature p {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.8;
}

.collab {
  background: #e9eef3;
}

.collab-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
  flex-wrap: wrap;
}

.collab-node {
  min-width: 220px;
  padding: var(--card-pad);
  border-radius: var(--radius);
  border: 1px solid rgba(18, 21, 26, 0.08);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.collab-node:hover {
  transform: translateY(-3px);
}

.collab-node.company {
  border-color: rgba(14, 124, 107, 0.35);
}

.collab-node.shop {
  border-color: rgba(47, 111, 173, 0.35);
}

.collab-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.9rem;
  color: var(--accent);
}

.collab-node.shop .collab-icon {
  color: var(--shop);
}

.collab-icon svg {
  width: 100%;
  height: 100%;
}

.collab-label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.8rem;
  color: var(--ink-faint);
}

.collab-node strong {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
}

.collab-node code {
  font-family: ui-monospace, monospace;
  font-size: 0.82rem;
  color: var(--accent);
}

.collab-node.shop code {
  color: var(--shop);
}

.collab-link {
  position: relative;
  width: min(140px, 22vw);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--shop));
  overflow: hidden;
}

.collab-link .pulse {
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px var(--accent), 0 0 12px rgba(14, 124, 107, 0.5);
  animation: travel 2.2s linear infinite;
}

.collab-link .pulse.delay {
  animation-delay: 1.1s;
  opacity: 0.7;
}

@keyframes travel {
  0% {
    left: -10%;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

.price-grid {
  align-items: stretch;
}

.pricing-error {
  margin: 0 0 var(--section-lead-gap);
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(180, 83, 9, 0.28);
  background: rgba(251, 191, 36, 0.12);
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.price-grid.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--card-pad);
  border-radius: var(--radius);
  border: 1px solid rgba(18, 21, 26, 0.08);
  background: #fff;
  box-shadow: 0 8px 28px rgba(18, 21, 26, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  min-width: 0;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.price-card.featured {
  border-color: rgba(14, 124, 107, 0.45);
  border-width: 2px;
  padding-top: calc(var(--card-pad) + 0.35rem);
  background:
    linear-gradient(180deg, rgba(14, 124, 107, 0.08), #fff 42%);
  box-shadow: var(--shadow-lg);
  z-index: 1;
}

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

.price-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  left: auto;
  transform: none;
  margin: 0;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #17a890, var(--accent));
  white-space: nowrap;
}

.price-card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  color: var(--ink);
}

.price {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.price strong {
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.price-card.featured .price strong {
  font-size: clamp(2.15rem, 2.6vw, 2.75rem);
  color: var(--accent-deep);
}

.price span {
  color: var(--ink-faint);
}

.price .price-from {
  margin-left: 0.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.price-year {
  margin: 0.35rem 0 1.1rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.price-card ul {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  color: var(--ink-muted);
  flex: 1;
}

.price-card li {
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(18, 21, 26, 0.06);
}

.price-card .btn {
  width: 100%;
}

.products {
  background: #eef2f6;
}

/* 紧挨首屏：略收上边距，首屏滚一下就能看到双产品 */
.hero + .products {
  padding-top: calc(var(--section-y) * 0.7);
  padding-bottom: calc(var(--section-y) * 0.85);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--card-gap);
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: var(--card-pad);
  border-radius: var(--radius);
  border: 1px solid rgba(18, 21, 26, 0.08);
  background: #fff;
  box-shadow: 0 8px 28px rgba(18, 21, 26, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.product-card.is-current {
  border-color: rgba(14, 124, 107, 0.35);
  background:
    linear-gradient(160deg, rgba(14, 124, 107, 0.07), transparent 50%),
    #fff;
}

.product-eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.product-card:not(.is-current) .product-eyebrow {
  color: #4f6ef7;
}

.product-card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
}

.product-card > p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
  line-height: 1.75;
  flex: 1;
}

.product-points {
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
  color: var(--ink-muted);
}

.product-points li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1rem;
  border-bottom: 1px solid rgba(18, 21, 26, 0.06);
}

.product-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent-dim);
  box-shadow: inset 0 0 0 2px var(--accent);
}

.product-card:not(.is-current) .product-points li::before {
  background: rgba(79, 110, 247, 0.15);
  box-shadow: inset 0 0 0 2px #4f6ef7;
}

.product-card .btn {
  align-self: flex-start;
  min-width: 10rem;
}

.demo-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.trial-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.trial-action {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  padding: var(--card-pad);
  border-radius: 16px;
  border: 1px solid rgba(18, 21, 26, 0.08);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.trial-cta {
  width: 100%;
}

.trial-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-faint);
  line-height: 1.6;
}

.demo-points {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ink-muted);
  line-height: 1.85;
}

.demo-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  padding: 1.75rem;
  border-radius: 16px;
  border: 1px solid rgba(18, 21, 26, 0.08);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.demo-form label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

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

.demo-form input,
.demo-form select,
.demo-form textarea {
  width: 100%;
  padding: 0.9rem 0.2rem 0.75rem;
  border: 0;
  border-bottom: 1px solid rgba(18, 21, 26, 0.14);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
  box-shadow: 0 1px 0 0 var(--accent);
  background: rgba(14, 124, 107, 0.04);
}

.demo-form textarea {
  resize: vertical;
  min-height: 5rem;
}

.btn-submit {
  position: relative;
}

.btn-submit.is-loading .btn-label {
  opacity: 0;
}

.btn-submit.is-loading .btn-loading {
  opacity: 1;
}

.btn-loading {
  position: absolute;
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  opacity: 0;
  animation: spin 0.7s linear infinite;
}

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

.form-hint {
  grid-column: 1 / -1;
  margin: 0;
  min-height: 1.4em;
  font-size: 0.92rem;
  color: var(--accent);
}

.form-hint.error {
  color: var(--bad);
}

.site-footer {
  border-top: 1px solid rgba(18, 21, 26, 0.08);
  padding: 2.75rem var(--page-gutter) 3.25rem;
  background: #e8edf2;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}

.footer-brand {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}

.footer-inner > div > p {
  margin: 0;
  color: var(--ink-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  color: var(--ink-muted);
}

.footer-meta {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-faint);
}

.footer-filing {
  margin: 0.45rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  font-size: 0.82rem;
}

.footer-filing a {
  color: var(--ink-faint);
  text-decoration: none;
}

.footer-filing a:hover {
  color: var(--ink-muted);
  text-decoration: underline;
}

#filing-mps {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

#filing-mps .mps-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero {
    padding-top: 1.5rem;
  }

  .hero-shell {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .mock-window {
    width: min(100%, 460px);
    margin: 0 auto;
  }

  .hero-slides {
    width: min(100%, 460px);
    margin: 0 auto;
    min-height: 400px;
  }

  .hero-dots {
    width: min(100%, 460px);
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .price-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .price-card.featured {
    order: -1;
  }
}

@media (max-width: 980px) {
  .nav,
  .header-login {
    display: none;
  }

  .header-trial-mobile.btn {
    display: inline-flex;
    margin-left: auto;
    min-height: 2.4rem;
    padding: 0 1rem;
    font-size: 0.9rem;
  }

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

  .site-header {
    top: 0.5rem;
    border-radius: 16px;
    gap: 0.65rem;
  }

  .site-header.is-menu-open {
    border-radius: 16px 16px 0 0;
    background: rgba(255, 255, 255, 0.96);
  }

  .mobile-nav {
    display: block;
    position: sticky;
    top: 0;
    z-index: 39;
    width: min(var(--max), calc(100% - 2 * var(--page-gutter)));
    margin: 0 auto;
  }

  .mobile-nav[hidden] {
    display: none !important;
  }

  .mobile-nav-panel {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.75rem 1rem 1rem;
    border: 1px solid rgba(18, 21, 26, 0.08);
    border-top: 0;
    border-radius: 0 0 16px 16px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    box-shadow: 0 16px 36px rgba(18, 21, 26, 0.1);
  }

  .mobile-nav-label {
    margin: 0.15rem 0 0;
    padding: 0 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--ink-muted);
  }

  .mobile-product-link {
    display: block;
    padding: 0.85rem 0.75rem;
    border-radius: 12px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    border: 1px solid transparent;
  }

  .mobile-product-link.is-current {
    border-color: rgba(14, 124, 107, 0.28);
    background: rgba(14, 124, 107, 0.06);
  }

  .mobile-product-link:not(.is-current) {
    color: #3a56d4;
  }

  .mobile-nav-panel a:not(.btn) {
    display: block;
    padding: 0.85rem 0.75rem;
    border-radius: 12px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
  }

  .mobile-nav-panel a:not(.btn):hover {
    background: rgba(18, 21, 26, 0.05);
    text-decoration: none;
  }

  .mobile-nav-panel .btn {
    width: 100%;
    margin-top: 0.25rem;
  }

  body.is-nav-open {
    overflow: hidden;
  }

  .pain-grid,
  .feature-grid,
  .product-grid,
  .demo-inner,
  .trial-inner,
  .demo-form {
    grid-template-columns: 1fr;
  }

  .pain-grid,
  .feature-grid {
    gap: 1.25rem;
  }

  .collab-flow {
    gap: 1.25rem;
  }

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

  .collab-link {
    width: 3px;
    height: 56px;
    background: linear-gradient(180deg, var(--accent), var(--shop));
  }

  .collab-link .pulse {
    left: 50%;
    margin-left: -5px;
    animation-name: travel-v;
  }
}

@keyframes travel-v {
  0% {
    top: -10%;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}
