﻿/* ==========================================================================
   开邻工坊 · 国内官网
   Dark premium theme — 深色渐变 / 光晕 / 玻璃卡片 / Bento 网格
   ========================================================================== */

:root {
  --bg: #05070f;
  --bg-2: #070b18;
  --panel: #0b1122;
  --panel-2: #0e1630;
  --text: #eaf0ff;
  --body: #a8b4cd;
  --muted: #7c89a4;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --accent: #5b8cff;
  --accent-2: #a77bff;
  --accent-3: #2ee6c5;
  --brand: #ff3b4e;
  --grad: linear-gradient(115deg, #5b8cff 0%, #8f7bff 52%, #c86bff 100%);
  --grad-soft: linear-gradient(115deg, rgba(91, 140, 255, 0.22), rgba(167, 123, 255, 0.22));
  --radius: 24px;
  --radius-sm: 16px;
  --max: 1200px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Code", Consolas, "Liberation Mono", Menlo, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: #2a3552 #060a14;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection {
  background: rgba(91, 140, 255, 0.35);
  color: #fff;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

code {
  font-family: var(--mono);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 10px;
  background: #111a33;
  color: #fff;
  border: 1px solid var(--line-strong);
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--grad);
}

/* ---------- 通用 ---------- */
.section {
  position: relative;
  padding: 108px 0;
  scroll-margin-top: 84px;
}

.section-line::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}


.section-head {
  max-width: 820px;
  margin-bottom: 50px;
}

.section-head h2 {
  font-size: clamp(30px, 3.9vw, 52px);
  font-weight: 800;
  margin: 18px 0 18px;
  letter-spacing: -0.03em;
}

.section-sub {
  font-size: clamp(15px, 1.2vw, 17.5px);
  color: var(--body);
  max-width: 46em;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.kicker-glow {
  color: #c7b3ff;
  text-shadow: 0 0 24px rgba(167, 123, 255, 0.45);
}


.muted {
  color: var(--muted);
}

.fineprint {
  margin-top: 26px;
  font-size: 13px;
  color: var(--muted);
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 14px 40px rgba(91, 140, 255, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.btn-primary:hover {
  box-shadow: 0 20px 54px rgba(122, 132, 255, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.btn-ghost,
.btn-glass {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

/* ---------- 头部 ---------- */
.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 60;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), backdrop-filter 0.25s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(5, 7, 15, 0.72);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(160%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
}

.brand-mark img {
  display: block;
  width: 30px;
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(255, 59, 78, 0.18));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand-text strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
}

.brand-text em {
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: 0.3em;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--body);
}

.nav > a {
  position: relative;
  padding: 8px 0;
  transition: color 0.2s var(--ease);
}

.nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1.5px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.25s var(--ease);
}

.nav > a:hover,
.nav > a.is-active {
  color: #fff;
}

.nav > a:hover::after,
.nav > a.is-active::after {
  transform: scaleX(1);
}

.nav .nav-cta {
  padding: 10px 22px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-strong);
}

.nav .nav-cta::after {
  display: none;
}

.nav .nav-cta:hover {
  background: var(--grad);
  border-color: transparent;
}

.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-btn span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 190px 0 0;
  background: radial-gradient(1200px 700px at 70% -10%, #16224a 0%, transparent 62%),
    radial-gradient(900px 600px at 10% 10%, #1a1233 0%, transparent 60%), var(--bg);
}

.hero-aurora {
  position: absolute;
  inset: -10% -10% auto;
  height: 110%;
  pointer-events: none;
  filter: blur(70px);
  opacity: 0.75;
}

.orb {
  position: absolute;
  border-radius: 50%;
  animation: float 18s ease-in-out infinite alternate;
}

.orb-a {
  width: 46vw;
  height: 46vw;
  left: -8vw;
  top: -10vw;
  background: radial-gradient(circle, rgba(91, 140, 255, 0.55), transparent 62%);
}

.orb-b {
  width: 40vw;
  height: 40vw;
  right: -6vw;
  top: 4vw;
  background: radial-gradient(circle, rgba(167, 123, 255, 0.5), transparent 60%);
  animation-delay: -6s;
}

.orb-c {
  width: 34vw;
  height: 34vw;
  left: 32vw;
  top: 34vw;
  background: radial-gradient(circle, rgba(255, 59, 78, 0.26), transparent 62%);
  animation-delay: -11s;
}

@keyframes float {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(2vw, 3vw, 0) scale(1.08);
  }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(64% 58% at 50% 26%, #000 12%, transparent 76%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  padding-bottom: 96px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #c8d4ef;
  backdrop-filter: blur(8px);
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(255, 59, 78, 0.18), 0 0 14px rgba(255, 59, 78, 0.8);
}

.hero h1 {
  margin: 26px 0 22px;
  font-size: clamp(52px, 6.9vw, 96px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: #fff;
}

.hero h1 .grad-text {
  display: inline-block;
  white-space: nowrap;
  filter: drop-shadow(0 10px 40px rgba(122, 132, 255, 0.35));
}

.lead {
  max-width: 30em;
  font-size: clamp(15px, 1.35vw, 18px);
  color: #b7c3dc;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 38px 0 46px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero-stats dt {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero-stats i {
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.hero-stats dd {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}

.hero-visual {
  position: relative;
}

.glow-frame {
  position: relative;
  border-radius: 26px;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.22), rgba(91, 140, 255, 0.28) 40%, rgba(255, 255, 255, 0.05));
  box-shadow: 0 40px 120px rgba(32, 48, 120, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.browser {
  border-radius: 25px;
  overflow: hidden;
  background: #0a1020;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid var(--line);
}

.browser-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}

.browser-bar i:nth-child(2) {
  background: #febc2e;
}

.browser-bar i:nth-child(3) {
  background: #28c840;
}

.browser-bar span {
  margin-left: 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.browser img {
  width: 100%;
}

.float-chip {
  position: absolute;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: #eaf0ff;
  background: rgba(12, 18, 38, 0.86);
  border: 1px solid var(--line-strong);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  animation: bob 6s ease-in-out infinite;
}

.chip-a {
  left: -22px;
  top: -20px;
}

.chip-b {
  right: -18px;
  bottom: -18px;
  animation-delay: -3s;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-caption {
  margin-top: 16px;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
}

/* 跑马灯 */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  animation: slide 42s linear infinite;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #8494b7;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-track span:nth-child(even) {
  color: #34405c;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- 滚动渐显 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

html.is-static {
  scroll-behavior: auto;
}

.is-static .reveal,
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal:nth-child(2) {
  transition-delay: 0.06s;
}

.reveal:nth-child(3) {
  transition-delay: 0.12s;
}

.reveal:nth-child(4) {
  transition-delay: 0.18s;
}

.reveal:nth-child(5) {
  transition-delay: 0.24s;
}

/* ---------- BENTO ---------- */
.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.mini-tags li {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12.5px;
  color: #c8d4ef;
}

/* ---------- 三步 ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.flow-step {
  position: relative;
  padding: 34px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.flow-step + .flow-step::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 50%;
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.flow-step:hover {
  transform: translateY(-4px);
  border-color: rgba(122, 152, 255, 0.4);
}

.flow-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 40px;
}

.flow-step h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.flow-step p {
  font-size: 14.5px;
  color: var(--body);
}

/* ---------- TABS 三种模式 ---------- */
.tabs {
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  overflow: hidden;
}

.tab-list {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
}

.tab {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--body);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.tab:hover {
  color: #fff;
}

.tab.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line-strong);
}

.tab-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(26px, 4vw, 52px);
}

.tab-panel[hidden] {
  display: none;
}

.tab-copy h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  margin-bottom: 14px;
}

.tab-copy p {
  color: var(--body);
  margin-bottom: 22px;
}

.tab-media {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0d1428;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.tab-media img {
  width: 100%;
}

.tab-media figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.tick-list {
  display: grid;
  gap: 11px;
}

.tick-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--body);
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg) translateY(-40%);
  border-radius: 1px;
}

.skills-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 28px;
  padding: 22px 26px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.skills-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.skill-pills li {
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  font-weight: 600;
  color: #c8d4ef;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.skill-pills li:hover {
  border-color: rgba(122, 152, 255, 0.5);
  color: #fff;
}

/* ---------- 专业工具 ---------- */
.pro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  gap: 20px;
  align-items: stretch;
}

.pro-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.pro-card:hover {
  transform: translateY(-4px);
  border-color: rgba(122, 152, 255, 0.4);
}

.pro-card-accent {
  background: linear-gradient(165deg, rgba(91, 140, 255, 0.14), rgba(167, 123, 255, 0.06));
  border-color: rgba(122, 152, 255, 0.3);
}

.pro-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pro-badge {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pro-sub {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.pro-card h3 {
  font-size: clamp(21px, 2vw, 28px);
}

.pro-media {
  margin: 10px 0 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
}

.pro-media img {
  width: 100%;
}

.pro-card .fineprint {
  margin-top: auto;
}

/* ---------- MCP ---------- */
.section-mcp {
  background: radial-gradient(900px 520px at 84% 0%, rgba(122, 132, 255, 0.22), transparent 62%),
    radial-gradient(760px 460px at 6% 96%, rgba(46, 230, 197, 0.08), transparent 62%), #060a16;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mcp-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}

.mcp-steps {
  display: grid;
  gap: 14px;
}

.mcp-step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.mcp-step > .mcp-idx {
  grid-row: 1 / span 2;
}

.mcp-step > h3,
.mcp-step > p {
  grid-column: 2;
}

.mcp-idx {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent);
  padding-top: 4px;
}

.mcp-step h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.mcp-step p {
  font-size: 14px;
  color: var(--body);
}

.mcp-step p + p {
  margin-top: 10px;
}

.inline-code {
  display: inline-block;
  padding: 7px 11px;
  border-radius: 8px;
  background: rgba(91, 140, 255, 0.14);
  border: 1px solid rgba(91, 140, 255, 0.25);
  color: #dbe6ff;
  font-size: 13px;
  word-break: break-all;
}

.mcp-code {
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: linear-gradient(165deg, rgba(13, 20, 44, 0.95), rgba(8, 12, 26, 0.95));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  padding: 22px;
}

.mcp-code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.seg {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
}

.seg-btn {
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--body);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.seg-btn.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.seg-panel {
  display: none;
}

.seg-panel.is-active {
  display: block;
}

.seg-panel[hidden] {
  display: none;
}

.mcp-code pre {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  max-width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.45);
}

.mcp-code pre code {
  font-size: 12.5px;
  line-height: 1.8;
  color: #dbe6ff;
  white-space: pre;
}

.copy-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: #dbe6ff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.copy-btn.is-done {
  border-color: rgba(46, 230, 197, 0.6);
  color: #7ef0d8;
}

.code-note {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.tool-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.tool-chips span {
  padding: 5px 10px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--mono);
  font-size: 11px;
  color: #b9c6e4;
}

/* ---------- 双卡 ---------- */
.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  /* 两张卡等宽，图框统一 4:3，左右视觉基线一致 */
}

.duo-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.duo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(122, 152, 255, 0.4);
}

.duo-card h2 {
  font-size: clamp(24px, 2.4vw, 34px);
}

.duo-media {
  margin: 12px 0 0;
  margin-top: auto;
  flex: none;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
}

.duo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.duo-card .fineprint {
  margin-top: 0;
}

/* ---------- 多端下载 ---------- */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.platform-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.platform-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 28px 70px rgba(20, 32, 80, 0.45);
}

.platform-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.platform-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(91, 140, 255, 0.12);
  color: #c8d4ef;
}

.platform-card h3 {
  font-size: 17px;
  font-weight: 700;
}

.platform-badge {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(46, 230, 197, 0.4);
  background: rgba(46, 230, 197, 0.12);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-3);
}

.platform-badge[hidden] {
  display: none;
}

.platform-meta {
  font-size: 12.5px;
  color: var(--muted);
}

.platform-desc {
  flex: 1;
  margin: 10px 0 22px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--body);
}

.platform-btn {
  width: 100%;
  min-height: 48px;
  font-size: 14.5px;
}

.link-inline {
  color: #dfe8fb;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.link-inline:hover {
  color: #fff;
  border-color: var(--accent);
}

/* ---------- 多端 ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.split h2 {
  font-size: clamp(26px, 3.2vw, 42px);
  margin: 16px 0 16px;
}

.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 26px;
}

.phone-stage::before {
  content: "";
  position: absolute;
  inset: 8% 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 140, 255, 0.32), rgba(167, 123, 255, 0.12) 45%, transparent 70%);
  filter: blur(36px);
  z-index: 0;
}

.phone {
  position: relative;
  z-index: 1;
  width: min(300px, 100%);
  border-radius: 34px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.55);
}

/* ---------- 行业 ---------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.industry-card {
  position: relative;
  padding: 38px 34px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)) padding-box,
    linear-gradient(150deg, rgba(91, 140, 255, 0.5), rgba(255, 255, 255, 0.06) 45%, rgba(167, 123, 255, 0.4)) border-box;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 36px 90px rgba(20, 32, 80, 0.5);
}

.industry-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.25);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #dbe6ff;
  margin-bottom: 18px;
}

.industry-card h3 {
  font-size: clamp(21px, 2.1vw, 27px);
  margin-bottom: 20px;
}

.industry-foot {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  font-weight: 700;
  color: #eaf0ff;
}

/* ---------- 能力板块：拆解爆款 / 商品套图 / 批量出图 ---------- */
.cap-block {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 52px;
  align-items: center;
  padding: 44px 0;
}

.cap-block + .cap-block {
  border-top: 1px solid var(--line);
}

.cap-block--flip {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
}

.cap-block--flip .cap-copy {
  order: 2;
}

.cap-block--flip .cap-media {
  order: 1;
}

.cap-copy {
  display: flex;
  flex-direction: column;
  gap: 13px;
  max-width: 42em;
}

.cap-badge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.cap-badge-name {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid rgba(91, 140, 255, 0.42);
  background: rgba(91, 140, 255, 0.14);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #bcd0ff;
}

.cap-copy h2 {
  font-size: clamp(24px, 2.6vw, 35px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 2px 0 2px;
}

.cap-lead {
  font-size: 15px;
  line-height: 1.85;
  color: var(--body);
}

.cap-sub {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.cap-sub h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.cap-sub p {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--body);
}

.cap-fit {
  margin-top: 3px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 700;
  color: #dbe6ff;
}

.cap-copy .fineprint {
  margin-top: 0;
}

.cap-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.cap-media img {
  width: 100%;
}

.cap-media figcaption {
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ---------- 社区 ---------- */
.section-community {
  border-top: 1px solid var(--line);
  background: radial-gradient(900px 500px at 12% 0%, rgba(91, 140, 255, 0.16), transparent 60%), #060a16;
}

.community-shot {
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.55);
}

.community-shot img {
  width: 100%;
}

/* ---------- 权益 ---------- */
.benefit-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.benefit-list li {
  position: relative;
  padding: 26px 18px 8px;
  border-top: 2px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.benefit-list li:hover {
  border-top-color: var(--accent);
  background: linear-gradient(180deg, rgba(91, 140, 255, 0.08), transparent);
}

.benefit-list b {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 26px;
}

.benefit-list h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.benefit-list p {
  font-size: 13.5px;
  color: var(--body);
}

/* ---------- CTA ---------- */
.section-cta {
  position: relative;
  overflow: hidden;
  background: #05070f;
  border-top: 1px solid var(--line);
}

.cta-aurora {
  position: absolute;
  inset: auto -10% -40% -10%;
  height: 90%;
  background: radial-gradient(closest-side, rgba(91, 140, 255, 0.35), transparent 70%),
    radial-gradient(closest-side at 70% 60%, rgba(167, 123, 255, 0.3), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.cta-inner h2 {
  font-size: clamp(32px, 4vw, 54px);
  margin: 16px 0 16px;
}

.hero-actions {
  margin-top: 32px;
  margin-bottom: 34px;
}

.contact-list {
  display: grid;
  gap: 9px;
  font-size: 14px;
}

.contact-list li {
  display: flex;
  gap: 14px;
}

.contact-list span {
  min-width: 72px;
  color: var(--muted);
}

.contact-list a {
  color: #dfe8fb;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-list a:hover {
  border-color: var(--accent);
}

.qr-card {
  margin: 0;
  padding: 24px;
  border-radius: 26px;
  background: #fff;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.qr-card img {
  width: 220px;
  height: 220px;
  margin: 0 auto;
}

.qr-card figcaption {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #0a1230;
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 76px 0 30px;
  border-top: 1px solid var(--line);
  background: #04060d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.footer-brand p {
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
}

.footer-nav h4 {
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #fff;
  text-transform: uppercase;
}

.footer-nav a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: var(--body);
  transition: color 0.2s var(--ease);
}

.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 26px;
  font-size: 12.5px;
  color: var(--muted);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-legal a:hover {
  color: #fff;
}

/* ---------- 内页（隐私政策 / 条款） ---------- */
.page-legal {
  background: radial-gradient(900px 500px at 80% -10%, rgba(91, 140, 255, 0.16), transparent 60%), var(--bg);
}

.legal-page {
  padding: 160px 0 110px;
}

.legal-head h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 16px 0 12px;
}

.legal-meta {
  color: var(--muted);
  font-size: 13.5px;
}

.notice {
  margin: 34px 0;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 59, 78, 0.28);
  background: rgba(255, 59, 78, 0.07);
  font-size: 13.5px;
  color: #ffc9cf;
}

.prose {
  max-width: 820px;
}

.prose h2 {
  font-size: 21px;
  margin: 38px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.prose h2:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.prose p,
.prose li {
  font-size: 14.5px;
  color: var(--body);
}

.prose ul {
  list-style: disc;
  padding-left: 20px;
  display: grid;
  gap: 7px;
  margin: 10px 0;
}

.prose ol {
  list-style: decimal;
  padding-left: 20px;
  display: grid;
  gap: 7px;
  margin: 10px 0;
}

.prose a {
  color: #9db8ff;
  border-bottom: 1px solid rgba(157, 184, 255, 0.35);
}

.back-home {
  display: inline-flex;
  margin-top: 44px;
  font-weight: 700;
  color: #dbe6ff;
}


/* ---------- 常见问题 FAQ ---------- */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  padding: 0 22px;
  transition: border-color 0.2s var(--ease);
}

.faq-item[open],
.faq-item:hover {
  border-color: rgba(122, 152, 255, 0.42);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-size: 16.5px;
  font-weight: 700;
  color: #fff;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.2s var(--ease);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  padding: 0 0 20px;
  font-size: 14.5px;
  color: var(--body);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1120px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 10px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .pro-grid,
  .mcp-grid,
  .split,
  .cta-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .tab-panel {
    grid-template-columns: 1fr;
  }

  .flow {
    grid-template-columns: 1fr;
  }

  .flow-step + .flow-step::before {
    display: none;
  }

  .benefit-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industry-grid,
  .duo {
    grid-template-columns: 1fr;
  }

  .cap-block {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 36px 0;
  }

  .cap-block--flip .cap-copy,
  .cap-block--flip .cap-media {
    order: 0;
  }

  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav {
    gap: 20px;
    font-size: 13.5px;
  }

  .qr-card {
    justify-self: start;
  }
}

@media (max-width: 860px) {
  .section {
    padding: 84px 0;
  }

  .hero {
    padding-top: 140px;
  }

  .menu-btn {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    background: rgba(6, 9, 20, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
  }

  .nav.is-open {
    display: flex;
  }

  .nav > a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  .nav > a::after {
    display: none;
  }

  .nav .nav-cta {
    margin-top: 14px;
    text-align: center;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 20px;
  }

  .chip-a {
    left: 8px;
  }

  .chip-b {
    right: 8px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-page {
    padding: 120px 0 80px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 36px, var(--max));
  }

  .hero h1 {
    font-size: clamp(46px, 13vw, 64px);
  }

  .benefit-list {
    grid-template-columns: 1fr;
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .tab-list {
    flex-wrap: wrap;
  }

  .cta-actions .btn,
  .hero-actions .btn {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .qr-card img {
    width: 180px;
    height: 180px;
  }

  .cap-block {
    gap: 22px;
    padding: 28px 0;
  }

  .cap-sub {
    padding: 14px 15px;
  }

  .cap-media figcaption {
    padding: 10px 14px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
