/* =========================================================
   星航启元官网 · 3D 风格样式
   目录：
   01 变量与基础     02 背景层(3D舞台)   03 通用组件(按钮/徽章/玻璃)
   04 顶部导航       05 Hero 首屏        06 数据/滚动带
   07 区块与卡片     08 产品详情/模型    09 关于页
   10 联系页表单     11 页脚             12 动画与响应式
   ========================================================= */

/* ============ 01 变量与基础 ============ */
:root {
  --bg: #05070f;
  --bg-2: #0a0e1f;
  --panel: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.1);
  --text: #e8edfb;
  --muted: #97a3c4;
  --c-blue: #4f8cff;
  --c-violet: #9b5cff;
  --c-cyan: #22d8ff;
  --c-rose: #ff5e9b;
  --grad: linear-gradient(135deg, var(--c-blue), var(--c-violet) 52%, var(--c-cyan));
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --shadow-1: 0 24px 70px rgba(0, 0, 0, 0.45);
  --max: 1180px;
  --header-h: 74px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 18px); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: inline-block; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
b, strong { font-weight: 700; }

.icon { width: 1.15em; height: 1.15em; flex: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

::selection { background: rgba(124, 140, 255, 0.45); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(79, 140, 255, 0.5), rgba(155, 92, 255, 0.5));
  border-radius: 8px;
  border: 2px solid var(--bg);
}

:focus-visible { outline: 2px solid #8ab4ff; outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  padding: 10px 18px; background: var(--c-blue); color: #fff; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ 02 背景层（3D 舞台） ============ */
.bg-stage { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(120% 100% at 50% 0%, var(--bg-2) 0%, var(--bg) 55%); }

#bg3d { position: absolute; inset: 0; width: 100%; height: 100%; }

.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.orb-a {
  width: 560px; height: 560px; left: -150px; top: -140px;
  background: radial-gradient(circle at 30% 30%, rgba(79, 140, 255, 0.55), transparent 65%);
  animation: orbFloat 22s ease-in-out infinite;
}
.orb-b {
  width: 540px; height: 540px; right: -160px; top: 28vh;
  background: radial-gradient(circle at 60% 40%, rgba(155, 92, 255, 0.5), transparent 65%);
  animation: orbFloat 27s ease-in-out infinite reverse;
}
.orb-c {
  width: 500px; height: 500px; left: 28vw; bottom: -200px;
  background: radial-gradient(circle at 50% 50%, rgba(34, 216, 255, 0.34), transparent 65%);
  animation: orbFloat 32s ease-in-out infinite;
}

.bg-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 12%, transparent 42%, rgba(2, 4, 10, 0.6) 100%);
}

/* ============ 03 通用组件 ============ */
.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.026));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* 主题色（决定图标/点缀渐变） */
.theme-blue   { --a1: #4f8cff; --a2: #9b5cff; }
.theme-cyan   { --a1: #22d8ff; --a2: #4f8cff; }
.theme-violet { --a1: #9b5cff; --a2: #ff5e9b; }
.theme-rose   { --a1: #ff5e9b; --a2: #ff9d5b; }
.theme-green  { --a1: #3ee6a3; --a2: #07c160; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 24px; border-radius: 14px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; line-height: 1.4; cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; }
.btn-lg { padding: 15px 30px; font-size: 16px; border-radius: 16px; }
.btn-sm { padding: 8px 16px; font-size: 14px; border-radius: 11px; }
.btn-block { width: 100%; justify-content: center; margin-top: 20px; }

.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 12px 32px rgba(99, 110, 255, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(99, 110, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.28); }
.btn-primary:active { transform: translateY(-1px); }

.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.22); }

/* 徽章 */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 13px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 2.2s ease-in-out infinite; }
.badge-dev  { color: #ffd166; background: rgba(255, 209, 102, 0.1);  border: 1px solid rgba(255, 209, 102, 0.34); }
.badge-live { color: #3ee6a3; background: rgba(62, 230, 163, 0.1);   border: 1px solid rgba(62, 230, 163, 0.34); }

/* 小标签 */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 15px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted);
}
.chip-sm { padding: 4px 11px; font-size: 12.5px; }
.chip-link { transition: 0.22s; color: var(--text); }
.chip-link:hover { border-color: rgba(124, 150, 255, 0.6); background: rgba(124, 150, 255, 0.12); transform: translateY(-2px); }

/* 倾斜卡片（鼠标 3D 跟随，JS 写入 --rx/--ry/--gx/--gy） */
.tilt {
  position: relative;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.18s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}
.tilt:hover { box-shadow: var(--shadow-1); border-color: rgba(255, 255, 255, 0.2); z-index: 2; }
.glare {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(440px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.13), transparent 46%);
  opacity: 0; transition: opacity 0.25s;
}
.tilt:hover .glare { opacity: 1; }

/* 滚动入场（与 tilt 共存时只做淡入，避免 transform 过渡互相覆盖） */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: opacity 0.8s ease, transform 0.18s ease-out, box-shadow 0.3s ease, border-color 0.3s ease; }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.4s; }
.reveal.in.tilt, .reveal.in.tilt:hover { transition-delay: 0s; }

/* 图标方块 */
.p-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; color: var(--a1, #8ab0ff);
  background: rgba(255, 255, 255, 0.06);
  background: linear-gradient(135deg, color-mix(in srgb, var(--a1, #8ab0ff) 20%, transparent), color-mix(in srgb, var(--a2, #5b6cff) 8%, transparent));
  border: 1px solid color-mix(in srgb, var(--a1, #8ab0ff) 36%, transparent);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--a1, #8ab0ff) 18%, transparent);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.p-icon .icon { width: 26px; height: 26px; }
.tilt:hover .p-icon { transform: translateY(-5px) scale(1.06); box-shadow: 0 16px 38px color-mix(in srgb, var(--a1, #8ab0ff) 30%, transparent); }
.p-icon-lg { width: 64px; height: 64px; border-radius: 18px; }
.p-icon-lg .icon { width: 30px; height: 30px; }

/* ============ 04 顶部导航 ============ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(5, 7, 15, 0.74);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.nav-row { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; filter: drop-shadow(0 4px 14px rgba(124, 110, 255, 0.45)); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 18px; letter-spacing: 0.06em; }
.brand-text small { font-size: 10px; letter-spacing: 0.3em; color: var(--muted); }

.main-nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative; padding: 9px 15px; border-radius: 10px;
  font-size: 15px; color: var(--muted); transition: 0.22s;
}
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px;
  border-radius: 2px; background: var(--grad);
}
.nav-cta { margin-left: 10px; }

.nav-toggle { display: none; position: relative; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.05); cursor: pointer; }
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px;
  background: var(--text); transition: 0.3s;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle.open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ============ 05 Hero 首屏 ============ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 60px) 0 90px;
  overflow: hidden;
}

/* 透视网格地板 */
.grid-floor {
  position: absolute; left: 50%; bottom: -2px; z-index: 0;
  width: min(170vw, 2000px); height: 44%;
  transform: translateX(-50%) perspective(620px) rotateX(61deg);
  transform-origin: 50% 100%;
  background-image:
    linear-gradient(rgba(116, 140, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 140, 255, 0.16) 1px, transparent 1px);
  background-size: 46px 46px;
  animation: gridMove 1.9s linear infinite;
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent 78%);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent 78%);
  opacity: 0.6; pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 999px;
  background: rgba(124, 150, 255, 0.1); border: 1px solid rgba(124, 150, 255, 0.3);
  color: #b9c8ff; font-size: 13.5px; letter-spacing: 0.04em;
}
.hero-badge .icon { width: 15px; height: 15px; color: var(--c-cyan); }

.hero-title {
  margin: 22px 0 18px;
  font-size: clamp(2.5rem, 5.4vw, 4.1rem);
  line-height: 1.16; letter-spacing: 0.01em; font-weight: 800;
  text-shadow: 0 10px 50px rgba(80, 100, 255, 0.25);
}
.hero-sub { max-width: 540px; color: var(--muted); font-size: 17px; }

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

/* 右侧 3D 悬浮场景（JS 写入 --srx/--sry 实现整体视差） */
.hero-visual { position: relative; }
.hv-scene {
  position: relative; height: 500px; max-width: 520px; margin-left: auto;
  transform-style: preserve-3d;
  transform: perspective(1100px) rotateX(var(--srx, 5deg)) rotateY(var(--sry, -9deg));
  transition: transform 0.25s ease-out;
}

.hv-ring {
  position: absolute; left: 50%; top: 50%; width: 420px; height: 420px;
  margin: -210px 0 0 -210px; border-radius: 50%;
  border: 1px dashed rgba(140, 160, 255, 0.34);
  box-shadow: 0 0 80px rgba(99, 110, 255, 0.16) inset;
  transform: translateZ(-80px);
  animation: ringSpin 46s linear infinite;
}
.hv-ring::after {
  content: ""; position: absolute; inset: 38px; border-radius: 50%;
  border: 1px solid rgba(140, 160, 255, 0.14);
}

.hv-card { position: absolute; padding: 16px; box-shadow: var(--shadow-1); }

.hv-chat { width: 264px; right: 4px; top: 26px; animation: hvFloatA 7s ease-in-out infinite; }
.hv-chat-head { display: flex; align-items: center; gap: 9px; font-size: 14px; margin-bottom: 11px; }
.hv-ava {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, #9b5cff, #4f8cff);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.14);
}
.online-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ee6a3; margin-left: auto; box-shadow: 0 0 10px #3ee6a3; animation: pulse 2.2s infinite; }

.bub {
  width: fit-content; max-width: 88%;
  padding: 8px 13px; margin: 7px 0;
  font-size: 13px; line-height: 1.55; color: #dde5fb;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px 14px 14px 4px;
}
.bub.right {
  margin-left: auto; color: #fff;
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.85), rgba(155, 92, 255, 0.85));
  border: none; border-radius: 14px 14px 4px 14px;
}
.typing-dots { display: inline-flex; gap: 5px; padding: 10px 14px; background: rgba(255, 255, 255, 0.07); border-radius: 14px 14px 14px 4px; }
.typing-dots span { width: 6px; height: 6px; border-radius: 50%; background: #aab8e8; animation: typing 1.3s ease-in-out infinite; }
.typing-dots span:nth-child(2) { animation-delay: 0.18s; }
.typing-dots span:nth-child(3) { animation-delay: 0.36s; }

.hv-editor { width: 252px; left: 0; bottom: 96px; animation: hvFloatB 8.5s ease-in-out infinite; }

.mock-bar { display: flex; align-items: center; gap: 6px; padding-bottom: 11px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); margin-bottom: 12px; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot.r { background: #ff6b6b; } .dot.y { background: #ffd166; } .dot.g { background: #3ee6a3; }
.mock-title { margin-left: 8px; font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }

.mline { height: 9px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); margin: 10px 0; }
.w60 { width: 60%; } .w70 { width: 70%; } .w75 { width: 75%; } .w80 { width: 80%; }
.w85 { width: 85%; } .w90 { width: 90%; } .w95 { width: 95%; }
.mline.shimmer {
  background: linear-gradient(90deg, rgba(79, 140, 255, 0.25), rgba(34, 216, 255, 0.55), rgba(155, 92, 255, 0.25));
  background-size: 200% 100%;
  animation: shimmer 2.2s linear infinite;
}
.mline.caret { position: relative; }
.mline.caret::after {
  content: ""; position: absolute; right: -10px; top: -2px; width: 2px; height: 13px;
  background: var(--c-cyan); animation: caretBlink 0.9s steps(1) infinite;
}

.ai-chip {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 11px; padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, var(--c-blue), var(--c-violet));
  box-shadow: 0 8px 22px rgba(99, 110, 255, 0.45);
}
.ai-chip .icon { width: 13px; height: 13px; }

.hv-widget { width: 196px; right: 92px; bottom: -14px; text-align: center; animation: hvFloatC 6s ease-in-out infinite; }
.hv-widget-head { font-size: 12px; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 8px; }
.hv-heart { color: var(--c-rose); animation: heartBeat 1.6s ease-in-out infinite; }
.hv-heart .icon { width: 38px; height: 38px; filter: drop-shadow(0 6px 18px rgba(255, 94, 155, 0.6)); }
.hv-days { margin-top: 8px; font-size: 13px; color: var(--muted); }
.hv-days b { color: var(--text); font-size: 17px; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; z-index: 2;
  width: 26px; height: 42px; margin-left: -13px;
  border: 1.6px solid rgba(255, 255, 255, 0.3); border-radius: 14px;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
  border-radius: 3px; background: var(--c-cyan);
  animation: scrollHint 1.8s ease-in-out infinite;
}

/* ============ 06 数据概览 / 滚动带 ============ */
.stats { padding: 26px 0 10px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { padding: 28px 18px; text-align: center; }
.stat-num { display: block; font-size: 38px; font-weight: 800; line-height: 1.1; letter-spacing: 0.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-num i { font-style: normal; font-size: 17px; margin-left: 3px; }
.stat > span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }

.marquee { overflow: hidden; margin-top: 50px; padding: 15px 0; border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.018); }
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee-set { display: flex; gap: 52px; padding-right: 52px; }
.marquee-set span {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font-size: 14px; letter-spacing: 0.22em; color: rgba(180, 195, 235, 0.55); text-transform: uppercase;
}
.marquee-set .icon { width: 11px; height: 11px; color: rgba(124, 150, 255, 0.7); }

/* ============ 07 区块与卡片 ============ */
.section { padding: 108px 0; }
.section-tight { padding: 64px 0; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.kicker {
  display: inline-block; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.34em; text-transform: uppercase; color: #8ab0ff;
  margin-bottom: 14px;
}
.section-head h2, .about-text h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.25; font-weight: 800; }
.section-head p { margin-top: 14px; color: var(--muted); }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* 技术领域卡片 */
.t-card { padding: 30px 26px; }
.t-card h3 { margin: 18px 0 9px; font-size: 18.5px; }
.t-card p { font-size: 14.5px; color: var(--muted); }

/* 产品卡片（首页） */
.p-card { display: flex; flex-direction: column; padding: 30px 28px; }
.p-card::before {
  content: ""; position: absolute; top: 0; left: 16%; right: 16%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--a1, #8ab0ff), var(--a2, #5b6cff), transparent);
  opacity: 0.85;
}
.p-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.p-card h3 { margin: 20px 0 4px; font-size: 21px; display: flex; align-items: baseline; gap: 10px; }
.p-card h3 small { font-size: 11.5px; font-weight: 500; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; }
.p-tagline { font-size: 14px; font-weight: 600; color: var(--a1, #8ab0ff); }
.p-short { margin: 12px 0 18px; font-size: 14.5px; color: var(--muted); flex: 1; }
.p-feats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.p-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 600; color: var(--a1, #8ab0ff); transition: gap 0.22s;
}
.p-link:hover { gap: 13px; }

/* CTA 横幅 */
.cta-band { position: relative; overflow: hidden; padding: 64px 40px; text-align: center; }
.cta-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; pointer-events: none; }
.cta-orb-a { width: 340px; height: 340px; left: -90px; top: -120px; background: radial-gradient(circle, rgba(79, 140, 255, 0.55), transparent 65%); }
.cta-orb-b { width: 340px; height: 340px; right: -90px; bottom: -140px; background: radial-gradient(circle, rgba(155, 92, 255, 0.5), transparent 65%); }
.cta-inner { position: relative; z-index: 1; }
.cta-inner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
.cta-inner p { margin: 12px 0 22px; color: var(--muted); }
.cta-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; margin-bottom: 30px; }
.cta-points span { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--muted); }
.cta-points .icon { width: 16px; height: 16px; color: #3ee6a3; }

/* ============ 08 产品详情页 ============ */
.page-hero { padding: calc(var(--header-h) + 86px) 0 30px; text-align: center; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.2; }
.page-hero p { max-width: 600px; margin: 16px auto 0; color: var(--muted); }
.page-hero-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

.prod-detail { padding: 86px 0; position: relative; }
.prod-detail::before {
  content: ""; position: absolute; top: 12%; bottom: 12%; width: 46%; z-index: -1;
  background: radial-gradient(60% 60% at 50% 50%, color-mix(in srgb, var(--a1, #4f8cff) 9%, transparent), transparent 75%);
  right: 0;
  pointer-events: none;
}
.prod-detail.flip::before { right: auto; left: 0; }

.prod-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 64px; align-items: center; }
.prod-detail.flip .prod-info { order: 2; }
.prod-detail.flip .prod-visual { order: 1; }

.prod-head { display: flex; align-items: center; gap: 18px; }
.prod-head-text h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; line-height: 1.2; }
.prod-head-text h2 small { font-size: 12px; font-weight: 500; letter-spacing: 0.2em; color: var(--muted); text-transform: uppercase; margin-left: 8px; }
.prod-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 9px; }
.prod-tagline { font-size: 14.5px; font-weight: 600; color: var(--a1, #8ab0ff); }

.prod-desc { margin: 22px 0 26px; color: var(--muted); font-size: 15.5px; }

.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.feat-grid li { display: flex; gap: 11px; align-items: flex-start; }
.feat-check {
  width: 22px; height: 22px; flex: none; margin-top: 2px;
  display: grid; place-items: center; border-radius: 7px;
  color: var(--a1, #8ab0ff);
  background: color-mix(in srgb, var(--a1, #8ab0ff) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--a1, #8ab0ff) 32%, transparent);
}
.feat-check .icon { width: 12px; height: 12px; }
.feat-grid b { display: block; font-size: 14.5px; }
.feat-grid span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 1px; }

.prod-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.prod-note { font-size: 13px; color: var(--muted); }

/* 产品视觉模型 */
.mock-scene { position: relative; max-width: 470px; margin: 0 auto; padding: 26px 0; }

.mock-window { position: relative; padding: 18px 20px 20px; box-shadow: var(--shadow-1); }
.mock-body { padding-top: 2px; }
.mock-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ai-chip-float { position: absolute; top: -14px; right: -12px; margin: 0; animation: floatY 4.5s ease-in-out infinite; }

.float-chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 999px;
  background: rgba(12, 16, 34, 0.82); border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 13px; font-weight: 600; color: var(--text);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
}
.float-chip .icon { width: 15px; height: 15px; color: var(--a1, #8ab0ff); }
.float-chip.f-a { left: -16px; top: 2px; animation: floatY 5.4s ease-in-out infinite; }
.float-chip.f-b { right: -10px; bottom: 16px; animation: floatY 6.2s ease-in-out 0.8s infinite; }

/* OnlyDuo 手机模型 */
.mock-phone { position: relative; width: min(330px, 100%); margin: 0 auto; padding: 18px; border-radius: 30px; box-shadow: var(--shadow-1); }
.phone-head { display: flex; align-items: center; gap: 11px; padding-bottom: 13px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.phone-head-text b { display: block; font-size: 15px; line-height: 1.3; }
.phone-head-text small { font-size: 12px; color: var(--muted); }
.phone-chat { padding: 15px 0 5px; }
.phone-input {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 11px; padding: 11px 15px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 13px; color: var(--muted);
}
.phone-input i { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--grad); color: #fff; }
.phone-input .icon { width: 14px; height: 14px; }

/* CarryOnly 双组件模型 */
.widget-duo { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; padding: 10px 4px; }
.widget { padding: 18px; }
.widget.w-a { transform: rotate(-3.5deg) translateY(10px); animation: floatY 6s ease-in-out infinite; }
.widget.w-b { transform: rotate(3deg) translateY(-8px); animation: floatY 7s ease-in-out 0.9s infinite; }
.w-head { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 12px; }
.w-head em { margin-left: auto; font-style: normal; font-size: 11.5px; color: var(--c-rose); white-space: nowrap; }
.w-ava { width: 26px; height: 26px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.14); }
.w-ava.a { background: linear-gradient(135deg, #ff5e9b, #ff9d5b); }
.w-ava.b { background: linear-gradient(135deg, #4f8cff, #22d8ff); }
.w-photo {
  height: 96px; border-radius: 13px;
  background:
    radial-gradient(70% 90% at 30% 20%, rgba(255, 94, 155, 0.5), transparent 60%),
    radial-gradient(70% 90% at 75% 80%, rgba(155, 92, 255, 0.45), transparent 60%),
    rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.w-days { padding: 10px 0 6px; text-align: center; }
.w-days b { display: block; font-size: 34px; line-height: 1.15; font-weight: 800;
  background: linear-gradient(135deg, #ff5e9b, #ff9d5b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.w-days span { font-size: 12px; color: var(--muted); }
.w-meta { display: flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.w-meta .icon { width: 14px; height: 14px; color: var(--c-rose); }
.w-link-heart {
  position: absolute; left: 50%; top: 50%; z-index: 3;
  width: 52px; height: 52px; margin: -26px 0 0 -26px;
  display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(135deg, #ff5e9b, #ff9d5b); color: #fff;
  box-shadow: 0 12px 34px rgba(255, 94, 155, 0.5);
  animation: heartBeat 1.6s ease-in-out infinite;
}
.w-link-heart .icon { width: 24px; height: 24px; }

/* 研发提示条 */
.dev-note { display: flex; align-items: center; gap: 24px; padding: 32px 36px; }
.dev-note-icon {
  width: 58px; height: 58px; flex: none; display: grid; place-items: center;
  border-radius: 16px; color: #ffd166;
  background: rgba(255, 209, 102, 0.1); border: 1px solid rgba(255, 209, 102, 0.3);
}
.dev-note-icon .icon { width: 26px; height: 26px; }
.dev-note-text { flex: 1; }
.dev-note-text h3 { font-size: 18px; margin-bottom: 6px; }
.dev-note-text p { font-size: 14px; color: var(--muted); }

/* ============ 09 关于页 ============ */
.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.about-text p { margin: 18px 0; color: var(--muted); font-size: 15.5px; }
.about-text p b { color: var(--text); }
.about-text .hero-chips { margin-top: 24px; }

.about-card { padding: 32px 30px; }
.about-card h3 { font-size: 17px; margin-bottom: 18px; line-height: 1.5; }
.info-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 13px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.09);
  font-size: 14px;
}
.info-list li:last-child { border-bottom: none; }
.info-list span { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); white-space: nowrap; }
.info-list .icon { width: 16px; height: 16px; color: #8ab0ff; }
.info-list b { text-align: right; font-size: 13.5px; }

/* 业务领域卡片 */
.f-card { display: flex; gap: 16px; align-items: flex-start; padding: 24px 22px; transition: transform 0.25s ease, border-color 0.25s ease; }
.f-card:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.2); }
.f-ico {
  width: 46px; height: 46px; flex: none; display: grid; place-items: center;
  border-radius: 13px; color: var(--a1, #8ab0ff);
  background: color-mix(in srgb, var(--a1, #8ab0ff) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--a1, #8ab0ff) 30%, transparent);
}
.f-ico .icon { width: 21px; height: 21px; }
.f-card h3 { font-size: 16.5px; margin-bottom: 5px; }
.f-card p { font-size: 13.5px; color: var(--muted); }

/* 时间线 */
.timeline-wrap .section-head { margin-bottom: 40px; }
.timeline { position: relative; max-width: 720px; margin: 0 auto; padding-left: 34px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, var(--c-blue), var(--c-violet) 60%, transparent);
}
.tl-item { position: relative; padding: 0 0 38px 24px; }
.tl-item:last-child { padding-bottom: 6px; }
.tl-item::before {
  content: ""; position: absolute; left: -34px; top: 5px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--c-violet);
  box-shadow: 0 0 14px rgba(155, 92, 255, 0.8);
}
.tl-year { font-size: 12.5px; font-weight: 700; letter-spacing: 0.22em; color: #8ab0ff; text-transform: uppercase; }
.tl-item h3 { margin: 5px 0 7px; font-size: 19px; }
.tl-item p { color: var(--muted); font-size: 14.5px; }

/* ============ 10 联系页 ============ */
.contact-grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 28px; align-items: start; }

.form-card { padding: 38px 36px; }
.form-card h2 { font-size: 24px; margin-bottom: 24px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field > span { font-size: 13.5px; color: var(--muted); }
.field i { color: var(--c-rose); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line); border-radius: 13px;
  color: var(--text); font-size: 14.5px; font-family: inherit;
  transition: border-color 0.22s, box-shadow 0.22s, background 0.22s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 21px) 50%, calc(100% - 15px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.field select option { background: var(--bg-2); color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: rgba(151, 163, 196, 0.55); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: rgba(124, 150, 255, 0.65);
  box-shadow: 0 0 0 4px rgba(124, 150, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
}

/* 蜜罐字段（对人类不可见） */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.alert {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 15px 18px; border-radius: 14px; margin-bottom: 22px;
  font-size: 14.5px;
}
.alert .icon { width: 19px; height: 19px; flex: none; margin-top: 3px; }
.alert-ok  { background: rgba(62, 230, 163, 0.1); border: 1px solid rgba(62, 230, 163, 0.32); color: #9ef2cf; }
.alert-ok .icon { color: #3ee6a3; }
.alert-bad { background: rgba(255, 107, 107, 0.09); border: 1px solid rgba(255, 107, 107, 0.32); color: #ffb3b3; }
.alert-bad .icon { color: #ff6b6b; }
.alert p { margin: 2px 0; }

.contact-aside { display: flex; flex-direction: column; gap: 18px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; }
.info-card h3 { font-size: 15.5px; margin-bottom: 4px; }
.info-card p, .info-card a { font-size: 13.5px; color: var(--muted); }
.info-card a:hover { color: var(--text); }
.info-card a { display: inline-flex; align-items: center; gap: 6px; }
.wechat-arrow { width: 13px; height: 13px; }
.info-card-note { border-color: rgba(255, 94, 155, 0.25); }

/* ============ 11 页脚 ============ */
.site-footer {
  margin-top: 40px;
  background: rgba(4, 6, 14, 0.82);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 44px;
  padding: 58px 0 40px;
}
.footer-brand p { margin: 18px 0 14px; font-size: 14px; color: var(--muted); max-width: 330px; }
.footer-loc { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.footer-loc .icon { width: 15px; height: 15px; color: #8ab0ff; }

.footer-col h4 { font-size: 15px; margin-bottom: 16px; letter-spacing: 0.06em; }
.footer-col a {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 0; font-size: 14px; color: var(--muted); transition: 0.2s;
  width: fit-content;
}
.footer-col a:hover { color: var(--text); transform: translateX(3px); }
.footer-col .icon { width: 15px; height: 15px; }
.dev-tag {
  font-style: normal; font-size: 10.5px; padding: 1.5px 8px; border-radius: 999px;
  color: #ffd166; background: rgba(255, 209, 102, 0.1); border: 1px solid rgba(255, 209, 102, 0.3);
}
.footer-cta { margin-top: 12px; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding: 20px 0 26px; border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px; color: rgba(151, 163, 196, 0.75);
}
.footer-bottom a:hover { color: var(--text); }

/* ============ 12 动画 ============ */
@keyframes orbFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(46px, 34px, 0); }
}
@keyframes gridMove { to { background-position: 0 46px; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.78); }
}
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes caretBlink { 50% { opacity: 0; } }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.55; }
  30% { transform: translateY(-4px); opacity: 1; }
}
@keyframes floatY {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}
@keyframes hvFloatA {
  0%, 100% { transform: translateZ(56px) translateY(0); }
  50% { transform: translateZ(56px) translateY(-14px); }
}
@keyframes hvFloatB {
  0%, 100% { transform: translateZ(14px) translateY(0); }
  50% { transform: translateZ(14px) translateY(-11px); }
}
@keyframes hvFloatC {
  0%, 100% { transform: translateZ(96px) translateY(0); }
  50% { transform: translateZ(96px) translateY(-9px); }
}
@keyframes ringSpin { to { transform: translateZ(-80px) rotate(360deg); } }
@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.14); }
  28% { transform: scale(1); }
  42% { transform: scale(1.1); }
}
@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(13px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============ 响应式 ============ */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin: 0 auto; }
  .hero-actions, .hero-chips { justify-content: center; }
  .hv-scene { margin: 0 auto; height: 460px; max-width: 480px; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }

  .prod-grid { grid-template-columns: 1fr; gap: 52px; }
  .prod-detail.flip .prod-info { order: 0; }
  .prod-detail.flip .prod-visual { order: 0; }
  .prod-detail::before { width: 100%; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed; top: calc(var(--header-h) + 10px); right: 16px; left: 16px;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 14px;
    background: rgba(8, 11, 24, 0.96);
    border: 1px solid var(--line); border-radius: 18px;
    box-shadow: var(--shadow-1);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: 0.28s ease;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav-link { padding: 13px 16px; }
  .nav-link.active::after { display: none; }
  .nav-link.active { background: rgba(124, 150, 255, 0.12); }
  .nav-cta { margin: 8px 4px 2px; justify-content: center; }
  .nav-toggle { display: block; }

  .section { padding: 84px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dev-note { flex-direction: column; align-items: flex-start; gap: 18px; }
  .feat-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero-badge { font-size: 12px; padding: 7px 13px; }
  .hv-scene { height: 420px; max-width: 360px; }
  .hv-chat { width: 232px; right: 0; }
  .hv-editor { width: 216px; bottom: 110px; }
  .hv-widget { width: 172px; right: 24px; bottom: -8px; }
  .hv-ring { width: 330px; height: 330px; margin: -165px 0 0 -165px; }

  .form-card { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding: 44px 0 30px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .widget-duo { grid-template-columns: 1fr; max-width: 250px; margin: 0 auto; }
  .widget.w-a, .widget.w-b { transform: none; }
  .w-link-heart { display: none; }
  .float-chip.f-a { left: 0; }
  .float-chip.f-b { right: 0; }
  .scroll-hint { display: none; }
}

/* 弱动效偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
