/* =========================================================
   欣创未来软件开发工作室 · 官网样式
   策略：无外部依赖、CSS 变量驱动、移动优先
   ========================================================= */

/* ---------- 设计令牌 ---------- */
:root {
  --bg: #06090F;
  --bg-soft: #0A0F1A;
  --bg-raise: #0E1420;

  --surface: rgba(255, 255, 255, 0.035);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #E9EDF6;
  --text-soft: #B7C1D4;
  --muted: #8B97AD;

  --primary: #5B8CFF;
  --violet: #A78BFA;
  --cyan: #22D3EE;

  --grad-brand: linear-gradient(135deg, #5B8CFF 0%, #8B7BFF 55%, #A78BFA 100%);
  --grad-text: linear-gradient(100deg, #FFFFFF 0%, #C9D6FF 45%, #A9B7FF 100%);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;

  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 18px 40px -24px rgba(0, 0, 0, 0.9);
  --shadow-glow: 0 14px 40px -12px rgba(91, 140, 255, 0.45);

  --container: 1180px;
  --header-h: 72px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "MiSans",
    "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 700;
  text-wrap: balance;
}

p { text-wrap: pretty; }

h1 { font-size: clamp(2.1rem, 5.6vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.08rem, 1.6vw, 1.28rem); }

p { margin: 0 0 1em; color: var(--text-soft); }
p:last-child { margin-bottom: 0; }

a { color: var(--primary); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--cyan); }

ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

::selection { background: rgba(91, 140, 255, 0.32); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 999;
  padding: 10px 18px;
  background: var(--primary);
  color: #fff;
  border-radius: 0 0 10px 10px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- 布局工具 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.container-narrow { max-width: 860px; }

.section {
  position: relative;
  padding-block: clamp(72px, 9vw, 128px);
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018) 0%, rgba(255, 255, 255, 0) 100%);
  border-block: 1px solid rgba(255, 255, 255, 0.05);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(38px, 5vw, 60px);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #A9B8FF;
  background: rgba(91, 140, 255, 0.1);
  border: 1px solid rgba(91, 140, 255, 0.22);
  border-radius: 100px;
}

.section-head h2 { color: #F4F7FF; }

.section-desc {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn-primary {
  background: var(--grad-brand);
  color: #06090F;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  color: #06090F;
  transform: translateY(-2px);
  box-shadow: 0 20px 46px -12px rgba(91, 140, 255, 0.6);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.26);
  color: #fff;
  transform: translateY(-2px);
}

.btn-block { width: 100%; }

/* =========================================================
   页头
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(6, 9, 15, 0.55);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(6, 9, 15, 0.86);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.brand:hover { color: var(--text); }

.brand-mark { display: grid; place-items: center; flex: none; }

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand-text em {
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  position: relative;
  padding: 8px 13px;
  font-size: 0.9rem;
  color: var(--text-soft);
  border-radius: 8px;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }

.nav a.is-active { color: #fff; }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
}

.nav .nav-cta {
  margin-left: 10px;
  padding: 9px 18px;
  font-weight: 600;
  color: #06090F;
  background: var(--grad-brand);
  border-radius: 100px;
}
.nav .nav-cta:hover { color: #06090F; background: var(--grad-brand); filter: brightness(1.08); }
.nav .nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 1.6px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 25px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* =========================================================
   首屏
   ========================================================= */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(64px, 10vw, 130px));
  padding-bottom: clamp(64px, 8vw, 110px);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.glow-a {
  width: min(720px, 90vw);
  height: min(720px, 90vw);
  top: -22%;
  left: 50%;
  transform: translateX(-58%);
  background: radial-gradient(circle, rgba(91, 140, 255, 0.55) 0%, rgba(91, 140, 255, 0) 68%);
  animation: drift 18s ease-in-out infinite alternate;
}
.glow-b {
  width: min(560px, 80vw);
  height: min(560px, 80vw);
  top: 8%;
  right: -14%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.42) 0%, rgba(167, 139, 250, 0) 70%);
  animation: drift 22s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-4%, 4%, 0) scale(1.08); }
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 78%);
}

.hero-inner { max-width: 940px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 6px 15px 6px 12px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #C6D2F5;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  backdrop-filter: blur(8px);
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.16);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.16); }
  50% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0.04); }
}

.hero h1 {
  margin-bottom: 24px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 strong {
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 60ch;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.85;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(48px, 6vw, 72px);
  padding: 26px 4px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding-inline: 12px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.hero-stats li:last-child { border-right: 0; }

.stat-num {
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* =========================================================
   服务卡片
   ========================================================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  padding: 30px 26px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.018) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
    background-color 0.35s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(91, 140, 255, 0.16), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); border-color: rgba(120, 155, 255, 0.34); }
.card:hover::before { opacity: 1; }

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  color: #B9C8FF;
  background: rgba(91, 140, 255, 0.1);
  border: 1px solid rgba(91, 140, 255, 0.22);
  border-radius: 13px;
}
.card-icon svg { width: 23px; height: 23px; }

.card h3 { color: #F1F5FF; }

.card p {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.8;
}

.card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed rgba(255, 255, 255, 0.09);
}

.card-list li {
  font-size: 0.78rem;
  color: #A8B4CC;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.045);
  border-radius: 6px;
}

/* =========================================================
   工作室产品
   ========================================================= */
.product-list {
  display: grid;
  gap: 26px;
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(22px, 3vw, 40px);
  align-items: center;
  padding: clamp(18px, 2.2vw, 28px);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.014) 100%);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius-lg) + 4px);
  box-shadow: var(--shadow-card);
  transition: border-color 0.35s var(--ease);
}
.product:hover { border-color: rgba(120, 155, 255, 0.3); }
.product--flip .product-media { order: 2; }

.product-media {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0;
  min-height: 320px;
  padding: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(circle at 28% 12%, rgba(91, 140, 255, 0.24), transparent 62%),
    radial-gradient(circle at 82% 92%, rgba(167, 139, 250, 0.18), transparent 58%),
    #080D18;
}

.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 20%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 20%, transparent 82%);
  pointer-events: none;
}

.product-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 26px 48px -24px rgba(0, 0, 0, 0.95);
}

.product-media--tall img {
  width: auto;
  max-width: 100%;
  max-height: 380px;
}

.product-media--icon img {
  width: 128px;
  height: 128px;
  max-height: none;
  border: 0;
  border-radius: 30px;
  box-shadow: 0 24px 54px -18px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.product-platform {
  position: relative;
  z-index: 1;
  margin: 20px 0 0;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: #8492AA;
}

.product-body { padding: 2px 4px; }

.product-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.product-kind {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: #A9B8FF;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(91, 140, 255, 0.1);
  border: 1px solid rgba(91, 140, 255, 0.22);
}

.product-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: #6FD3A6;
}
.product-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.16);
}
.product-status--muted { color: #8B99B4; }
.product-status--muted i {
  background: #66748C;
  box-shadow: 0 0 0 3px rgba(102, 116, 140, 0.14);
}

.product-body h3 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2.2vw, 1.68rem);
  letter-spacing: -0.02em;
  color: #F4F7FF;
}

.product-one {
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 500;
  color: #C9D3E6;
}

.product-desc { font-size: 0.92rem; color: var(--muted); line-height: 1.85; }

.product-points {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.09);
}
.product-points li {
  position: relative;
  padding-left: 18px;
  font-size: 0.87rem;
  color: #A8B4CC;
  line-height: 1.7;
}
.product-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: rotate(45deg);
}
.product-points code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  padding: 1px 5px;
  color: #B9C8FF;
  background: rgba(91, 140, 255, 0.12);
  border-radius: 4px;
}

.product-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}
.product-links { margin-top: 18px; }

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px 9px 15px;
  font-size: 0.86rem;
  font-weight: 500;
  color: #DCE4F5;
  background: rgba(91, 140, 255, 0.1);
  border: 1px solid rgba(91, 140, 255, 0.3);
  border-radius: 100px;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease), transform 0.25s var(--ease);
}
.product-link svg { transition: transform 0.25s var(--ease); }
.product-link:hover {
  color: #fff;
  background: rgba(91, 140, 255, 0.22);
  border-color: rgba(91, 140, 255, 0.55);
  transform: translateY(-1px);
}
.product-link:hover svg { transform: translate(1px, -1px); }

.product-stack span {
  font-size: 0.75rem;
  color: #8E9BB5;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 6px;
}

/* =========================================================
   服务案例
   ========================================================= */
.case-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}

.case-feature-body { padding-top: 6px; }

.case-feature-body .section-head {
  max-width: none;
  margin-bottom: 26px;
}

.case-detail {
  padding-top: 24px;
  border-top: 1px dashed rgba(255, 255, 255, 0.09);
}

.case-meta {
  margin-bottom: 10px;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7E8BA3;
}

.case-feature-body h3 {
  margin-bottom: 14px;
  font-size: clamp(1.25rem, 2.1vw, 1.6rem);
  color: #F4F7FF;
}

.case-feature-body > p {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.85;
}

.case-feature-visual {
  position: relative;
  padding-bottom: 96px;
}

.browser-frame {
  position: relative;
  z-index: 1;
  border-radius: 14px;
  overflow: hidden;
  background: #0A0F1A;
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 34px 64px -34px rgba(0, 0, 0, 0.95);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.045);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.browser-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.browser-bar span {
  margin-left: 8px;
  font-size: 0.74rem;
  color: #7E8BA3;
}
.browser-frame img { display: block; width: 100%; height: auto; }

.phone-frame {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 0;
  width: 124px;
  aspect-ratio: 9 / 18.5;
  padding: 3px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(158deg, #303B50 0%, #141B28 42%, #0B111B 100%);
  box-shadow:
    0 30px 52px -14px rgba(0, 0, 0, 0.92),
    0 0 0 1px rgba(255, 255, 255, 0.09);
}
.phone-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 19px;
}

.visual-caption {
  position: absolute;
  left: 2px;
  bottom: 22px;
  max-width: calc(100% - 160px);
  font-size: 0.73rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: #6E7A90;
}

/* =========================================================
   流程时间线
   ========================================================= */
.timeline {
  position: relative;
  display: grid;
  gap: 0;
  padding-left: 42px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, rgba(91, 140, 255, 0.7), rgba(167, 139, 250, 0.35), transparent);
}

.timeline-item {
  position: relative;
  padding: 0 0 34px 0;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-index {
  position: absolute;
  left: -42px;
  top: 2px;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  font-size: 0.72rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #A9B8FF;
  background: #0B1220;
  border: 1px solid rgba(91, 140, 255, 0.4);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--bg);
}

.timeline-body {
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.026);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.timeline-body:hover {
  border-color: rgba(120, 155, 255, 0.3);
  background: rgba(255, 255, 255, 0.045);
}

.timeline-body h3 { margin-bottom: 7px; color: #F1F5FF; }
.timeline-body p { font-size: 0.93rem; color: var(--muted); }

.timeline-out {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.09);
  font-size: 0.86rem !important;
  color: #A9B8FF !important;
}
.timeline-out strong { color: #C7D2FF; font-weight: 600; }

/* =========================================================
   技术栈
   ========================================================= */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tech-group {
  padding: 24px 26px;
  background: rgba(255, 255, 255, 0.026);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.tech-group h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8E9BB5;
}
.tech-group h3::before {
  content: "";
  width: 3px;
  height: 13px;
  border-radius: 2px;
  background: var(--grad-brand);
}

.tech-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-chips li {
  padding: 6px 13px;
  font-size: 0.86rem;
  color: #C4CDE0;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease),
    background-color 0.2s var(--ease);
}
.tech-chips li:hover {
  color: #fff;
  background: rgba(91, 140, 255, 0.13);
  border-color: rgba(91, 140, 255, 0.32);
}

/* =========================================================
   关于
   ========================================================= */
.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.about-text h2 { margin-bottom: 20px; }
.about-text > p { color: var(--muted); font-size: 0.98rem; line-height: 1.85; }

.about-points {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}
.about-points li {
  position: relative;
  padding-left: 22px;
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: rotate(45deg);
}
.about-points strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.98rem;
  color: #EDF1FF;
}
.about-points span {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
}

.about-panel {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 28px 26px;
  background: linear-gradient(170deg, rgba(91, 140, 255, 0.1), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(91, 140, 255, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.fact-list { display: grid; gap: 0; margin-bottom: 24px; }
.fact-list > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}
.fact-list > div:last-child { border-bottom: 0; }
.fact-list dt { flex: none; font-size: 0.86rem; color: var(--muted); }
.fact-list dd { font-size: 0.88rem; color: #DCE3F5; text-align: right; }

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.16);
  vertical-align: middle;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-list {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  position: relative;
  padding: 22px 44px 22px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #E9EDF6;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: #fff; }

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -6px;
  border-right: 1.6px solid var(--muted);
  border-bottom: 1.6px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: -2px;
  border-color: var(--primary);
}

.faq-answer {
  padding: 0 44px 22px 0;
  animation: faqIn 0.32s var(--ease);
}
.faq-answer p { font-size: 0.94rem; color: var(--muted); line-height: 1.85; }

@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   联系
   ========================================================= */
.contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.contact-intro h2 { margin-bottom: 18px; }

.contact-lead {
  max-width: 46ch;
  font-size: 0.96rem;
  color: var(--muted);
  line-height: 1.85;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}
.contact-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  color: #B9C8FF;
  background: rgba(91, 140, 255, 0.1);
  border: 1px solid rgba(91, 140, 255, 0.2);
  border-radius: 10px;
}
.contact-icon svg { width: 19px; height: 19px; }
.contact-k {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 1px;
}
.contact-list a, .contact-list div > span:last-child {
  font-size: 0.95rem;
  color: #DCE3F5;
}
.contact-list a:hover { color: var(--cyan); }

.contact-form {
  padding: clamp(24px, 3vw, 34px);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.field { margin-bottom: 16px; }

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.84rem;
  font-weight: 500;
  color: #C3CDE2;
  letter-spacing: 0.02em;
}
.req { color: #FF7A8A; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.93rem;
  color: var(--text);
  background: rgba(8, 12, 20, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background-color 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.field textarea { resize: vertical; min-height: 96px; line-height: 1.7; }

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%238B97AD' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

.field select option { background: #0D1424; color: var(--text); }

.field input::placeholder,
.field textarea::placeholder { color: #5F6B80; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(91, 140, 255, 0.65);
  background: rgba(10, 15, 26, 0.95);
  box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.14);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: rgba(255, 106, 122, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 106, 122, 0.1);
}

.field-error {
  min-height: 0;
  margin: 5px 0 0;
  font-size: 0.78rem;
  color: #FF8794;
  line-height: 1.5;
}
.field-error:empty { display: none; }

.form-note {
  margin: 12px 0 0;
  font-size: 0.78rem;
  color: #6E7A90;
  line-height: 1.6;
  text-align: center;
}
.form-note.is-ok { color: #4ADE9B; }
.form-note.is-warn { color: #FBBF6E; }

/* =========================================================
   页脚
   ========================================================= */
.site-footer {
  position: relative;
  padding-top: clamp(48px, 6vw, 72px);
  background: #05080D;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr);
  gap: clamp(32px, 5vw, 60px);
  padding-bottom: 44px;
}

.footer-brand p {
  margin-top: 16px;
  max-width: 34ch;
  font-size: 0.88rem;
  color: #6E7A90;
  line-height: 1.8;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.footer-nav h4 {
  margin-bottom: 14px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6E7A90;
  font-weight: 600;
}
.footer-nav a {
  display: block;
  padding: 5px 0;
  font-size: 0.88rem;
  color: #A3AFC4;
}
.footer-nav a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: #5A6577;
}

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--text-soft);
  background: rgba(14, 20, 32, 0.85);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), opacity 0.25s var(--ease);
}
.to-top:hover {
  color: #fff;
  border-color: rgba(120, 155, 255, 0.5);
  transform: translateY(-3px);
}
.to-top[hidden] { display: none; }

/* =========================================================
   滚动揭示动画
   ========================================================= */
/* 仅在 JS 可用时启用隐藏：脚本加载失败时内容保持可见 */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product { grid-template-columns: 1fr; gap: 20px; }
  .product--flip .product-media { order: 0; }
  .product-media { min-height: 240px; }
  .case-feature { grid-template-columns: 1fr; }
  .phone-frame { width: 112px; right: 20px; }
  .about-inner { grid-template-columns: 1fr; }
  .about-panel { position: static; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-form { max-width: 560px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 64px; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 20px 22px;
    background: #070B12;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 28px 50px -28px rgba(0, 0, 0, 0.95);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
      visibility 0.25s var(--ease);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

  .nav a { padding: 12px 8px; font-size: 1rem; border-radius: 8px; }
  .nav a.is-active::after { display: none; }
  .nav .nav-cta { margin: 12px 0 0; padding: 13px 18px; text-align: center; }

  .nav-toggle { display: block; }

  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 8px; }
  .hero-stats li { padding: 16px 8px; }

  .tech-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .container { padding-inline: 18px; }
  .card-grid { grid-template-columns: 1fr; }
  .product { padding: 16px; border-radius: var(--radius); }
  .product-media { min-height: 210px; padding: 18px; }
  .product-media img { max-height: 260px; }
  .product-media--tall img { max-height: 300px; }
  .product-media--icon img { width: 104px; height: 104px; border-radius: 24px; }
  .product-body { padding: 0 2px; }
  .phone-frame { display: none; }
  .case-feature-visual { padding-bottom: 0; }
  .visual-caption {
    position: static;
    max-width: none;
    margin-top: 10px;
    padding-left: 2px;
  }
  .hero-actions .btn { flex: 1 1 100%; }
  .timeline { padding-left: 34px; }
  .timeline-index { left: -34px; width: 27px; height: 27px; font-size: 0.66rem; }
  .timeline::before { left: 13px; }
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .to-top { right: 16px; bottom: 18px; }
}

/* =========================================================
   无障碍与降低动效
   ========================================================= */
@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;
  }
  .js .reveal, .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .to-top, .hero-bg, .contact-form, .nav-toggle { display: none !important; }
  body { background: #fff; color: #111; }
  .js .reveal, .reveal { opacity: 1 !important; transform: none !important; }
}
