/* ============================================================
   星客AI官网 · 样式
   风格：白底分节、浅灰交替、蓝紫渐变主色、琥珀点缀、
        圆角卡片 + 柔和阴影、滚动渐显、跑马灯、数字滚动。
   零依赖：不用框架、不用图标库，图标全是内联 SVG。
   ============================================================ */

:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --ink-3: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f6f8fc;
  --bg-sunken: #eef2f8;

  --brand: #2f6fe0;
  --brand-2: #8b5cf6;
  --brand-3: #c084fc;
  --amber: #f59e0b;
  --green: #16a34a;
  /* 强调用的红。站内此前没有红色 —— 加它是为了 .intro-safe 那段
     「不碰你的账号密码」，那是买家最在意、也最该被一眼看到的一条。 */
  --red: #d92d20;

  --grad: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  --grad-soft: linear-gradient(135deg, #e8efff 0%, #f3ecff 100%);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 10px 30px -12px rgba(15, 23, 42, .12);
  --shadow-lg: 0 2px 6px rgba(15, 23, 42, .06), 0 30px 60px -24px rgba(47, 111, 224, .28);

  --container: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0; }

.container { width: min(var(--container), 100% - 48px); margin: 0 auto; }

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

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 12px;
  font-weight: 600; font-size: 15px; line-height: 1;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, color .18s, border-color .18s;
  white-space: nowrap;
}
.btn-lg { padding: 15px 26px; font-size: 16px; border-radius: 14px; }
.btn-primary {
  color: #fff; background: var(--grad);
  box-shadow: 0 8px 20px -8px rgba(47, 111, 224, .6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(47, 111, 224, .65); }
.btn-primary:active { transform: translateY(0); }
.btn-outline { color: var(--brand); background: #fff; border-color: #cfdcf7; }
.btn-outline:hover { background: #f0f5ff; border-color: var(--brand); transform: translateY(-2px); }
.btn-ghost { color: var(--ink-2); background: transparent; }
.btn-ghost:hover { background: var(--bg-sunken); }
.btn-light { color: var(--brand); background: #fff; }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(0,0,0,.35); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }

/* ---------------- 顶栏 ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(15,23,42,.25); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.brand-mark { display: inline-flex; }
.brand-mark img { border-radius: 8px; display: block; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { padding: 8px 12px; border-radius: 10px; color: var(--ink-2); font-size: 15px; transition: background .15s, color .15s; }
.nav a:hover, .nav a.active { color: var(--brand); background: #eef3ff; }
.header-cta { margin-left: auto; display: flex; gap: 8px; }
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }

/* ---------------- 首屏 ---------------- */
.hero { position: relative; padding: 88px 0 72px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 14s ease-in-out infinite alternate; }
.glow-a { width: 560px; height: 560px; left: -160px; top: -140px; background: #c7d7ff; }
.glow-b { width: 520px; height: 520px; right: -120px; top: 40px; background: #e6d8ff; animation-delay: -5s; }
.glow-c { width: 360px; height: 360px; left: 46%; bottom: -200px; background: #ffe9c2; opacity: .45; animation-delay: -9s; }
@keyframes drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(30px, 24px, 0) scale(1.06); } }

.hero h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 800; margin: 0 0 18px; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 540px; }
.hero-tagline { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; color: var(--ink); margin-top: 6px; }
.hero-claim { font-size: 17px; font-weight: 600; color: var(--ink-2); margin-top: 8px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-media { position: relative; }
.video-frame {
  position: relative; border-radius: var(--r-lg); background: #0f172a;
  box-shadow: var(--shadow-lg); overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform .6s var(--ease);
}
.hero-media:hover .video-frame { transform: perspective(1200px) rotateY(0) rotateX(0); }
.video-img { display: block; width: 100%; height: auto; }

/* ---- 首屏：文案三行居中平铺，演示视频宽屏整幅在下 ---- */
.hero-head { text-align: center; margin-bottom: 32px; }
.hero-head h1 { margin: 0 0 16px; }
.hero-sub {
  display: flex; justify-content: center; align-items: baseline;
  gap: 6px 20px; flex-wrap: wrap; margin: 0;
}
.hero-sub .hero-tagline, .hero-sub .hero-claim { margin: 0; }
.hero-head .hero-actions { justify-content: center; margin-top: 26px; }

/* 视频比正文容器宽（正文 1180，这里最宽 1760），而且由视口高度反推宽度上限，
   保证整幅在一屏里看得全、不用滚。素材 2524x1080 = 2.337:1；上方那三行文案
   连同 hero 内边距实测固定占 405px，所以可用高度是 100vh-430px（多留 25px
   透气），再乘 2.337 换成宽度。max(720px,…) 是下限，屏太矮时宁可滚一点也不
   把视频压成邮票。四个值取最小，谁先碰壁听谁的。 */
.hero-media {
  position: relative; margin: 0 auto;
  width: min(1760px, 94vw, max(720px, calc((100vh - 430px) * 2.337)));
}

/* 整幅视频不做 3D 倾斜 —— 满宽元素一转就露边、还会裁掉内容。 */
.video-frame-wide, .hero-media:hover .video-frame-wide { transform: none; }
.hero-video { display: block; width: 100%; height: auto; background: #0f172a; }

/* 浮动卡片贴在视频左右外沿：视频自带「买家端 / 商家AI客服端」红字标注，
   卡片不能盖住它们。.fc-1 放左下并抬到 64px，避开鼠标悬停时才出现的原生
   控件条（约 40px 高）。 */
.hero-media .fc-1 { left: -28px; bottom: 64px; top: auto; }
.hero-media .fc-2 { right: -20px; top: 24px; }

/* 「开启声音」只在浏览器拦掉有声自动播时出现，放在控件条上方避开它。 */
.sound-cue {
  position: absolute; right: 16px; bottom: 58px; z-index: 3;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 16px; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 700; color: #fff;
  background: var(--brand); box-shadow: var(--shadow-lg);
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.sound-cue[hidden] { display: none; }
.sound-cue:hover { background: #2559b8; transform: translateY(-1px); }
.sound-cue:focus-visible { outline: 3px solid var(--brand-3); outline-offset: 2px; }

@media (max-width: 1280px) {
  .hero-media { width: min(96vw, max(560px, calc((100vh - 430px) * 2.337))); }
  .hero-media .fc-1 { left: 12px; }
  .hero-media .fc-2 { right: 12px; }
}
@media (max-width: 720px) {
  .hero-media { width: calc(100% - 24px); }
  .hero-media .fc-1, .hero-media .fc-2 { display: none; }
  .sound-cue { right: 10px; bottom: 48px; padding: 8px 13px; font-size: 13px; }
}

/* 占位标记：后期替换时一眼能找到 */
.ph-label {
  position: absolute; left: 12px; bottom: 10px; z-index: 2;
  padding: 3px 8px; border-radius: 6px; font-size: 11px; letter-spacing: .06em;
  color: #fff; background: rgba(245, 158, 11, .92);
}

.float-card {
  position: absolute; padding: 10px 14px; border-radius: 14px; background: #fff;
  box-shadow: var(--shadow-lg); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px;
  animation: floaty 6s ease-in-out infinite;
}
.float-card em { font-style: normal; font-weight: 500; color: var(--amber); font-size: 11px; }
.fc-1 { left: -28px; bottom: 34px; }
.fc-2 { right: -20px; top: 28px; animation-delay: -3s; }
.fc-2 b { font-size: 18px; color: var(--brand); }
.fc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(22,163,74,.18); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------------- 平台 ---------------- */
.platforms { padding: 16px 0 56px; }
.section-kicker { display: block; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--brand); text-transform: uppercase; }
.section-kicker.center { text-align: center; }
.section-kicker em { font-style: normal; color: var(--amber); letter-spacing: 0; }
.platforms .section-kicker { text-align: center; margin-bottom: 18px; }
.platform-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 12px; }
.platform-row li {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  width: 132px; padding: 18px 8px 16px; border-radius: 18px;
  color: var(--ink); font-weight: 700; font-size: 15px; text-align: center;
  transition: transform .25s var(--ease), background .25s;
}
.platform-row li:hover { transform: translateY(-4px); background: var(--bg-alt); }
.platform-row img { width: 60px; height: 60px; border-radius: 16px; object-fit: contain; box-shadow: var(--shadow); background: #fff; }
.platform-row li.soon { color: var(--ink-3); font-weight: 500; }
.platform-row li.soon img { filter: grayscale(1); opacity: .55; }
.platform-row small { font-size: 11px; padding: 2px 8px; border-radius: 6px; background: var(--bg-sunken); margin-top: -4px; }

/* ---------------- 分节通用 ---------------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.section-head.left { text-align: left; margin: 0; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; margin-top: 12px; }
.section-sub { color: var(--ink-3); font-size: 17px; margin-top: 14px; }
.section-sub a { color: var(--brand); font-weight: 600; }

/* ---------------- 卡片 ---------------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px 28px;
  box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #d9e4ff; }
.card p { color: var(--ink-3); font-size: 15px; text-align: justify; }
/* 玻璃深色方块 + 渐变字形 + 同色光晕。悬停时整块抬起、光晕更亮。 */
.gicon {
  position: relative; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(160deg, #263247, #0f172a);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 -1px 0 rgba(0,0,0,.4), 0 10px 24px -10px var(--g2);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.gicon::before {
  content: ""; position: absolute; inset: -6px; border-radius: 22px; z-index: -1;
  background: radial-gradient(closest-side, var(--g1), transparent 70%); opacity: .35; filter: blur(8px);
  transition: opacity .3s;
}
.gicon svg { filter: drop-shadow(0 2px 6px var(--g2)); }
.card:hover .gicon { transform: translateY(-3px) rotate(-3deg); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), inset 0 -1px 0 rgba(0,0,0,.4), 0 16px 30px -10px var(--g2); }
.card:hover .gicon::before { opacity: .7; }
.card h3 { font-size: 20px; margin: 18px 0 10px; }

/* ---------------- 三步 ---------------- */
.steps { display: grid; gap: 64px; }
.step { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.step-rev .step-text { order: 2; }
.step-no { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--brand-2); background: #f1e9ff; padding: 4px 10px; border-radius: 8px; }
.step h3 { font-size: 26px; margin: 14px 0 12px; }
.step p { color: var(--ink-2); font-size: 16px; }
.checks { margin-top: 16px; display: grid; gap: 8px; color: var(--ink-2); font-size: 15px; }
.checks li { display: flex; align-items: center; gap: 10px; }
.checks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none; background: var(--grad); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.4-3.9-3.9 1.4-1.4 2.5 2.5 5.4-5.4 1.4 1.4z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.4-3.9-3.9 1.4-1.4 2.5 2.5 5.4-5.4 1.4 1.4z'/%3E%3C/svg%3E") center/contain no-repeat; }

.shot-img {
  margin: 0; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.shot-img img { display: block; width: 100%; height: auto; }
.step:hover .shot-img { transform: translateY(-4px); box-shadow: 0 2px 6px rgba(15,23,42,.06), 0 40px 70px -28px rgba(47,111,224,.35); }

/* ---------------- 数字 ---------------- */
.voices-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.voices-copy h2 { font-size: clamp(30px, 3.8vw, 44px); font-weight: 800; margin: 12px 0 16px; }
.voices-copy p { color: var(--ink-2); font-size: 17px; max-width: 30em; }

/* 轮播：一次一张，横向滑动。JS 只改 --i，别的都交给 CSS。 */
.tcarousel { --i: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.ttrack { display: flex; width: 100%; transform: translateX(calc(var(--i) * -100%)); transition: transform .55s var(--ease); }
.tslide { flex: 0 0 100%; width: 100%; min-width: 100%; margin: 0; padding: 34px 36px 26px; box-sizing: border-box; }
.stars { display: flex; gap: 4px; margin-bottom: 18px; }
.stars i { width: 20px; height: 20px; background: #e2e8f0; clip-path: polygon(50% 2%, 62% 36%, 98% 38%, 69% 60%, 79% 96%, 50% 75%, 21% 96%, 31% 60%, 2% 38%, 38% 36%); }
.stars i.on { background: #f59e0b; }
.tslide blockquote { margin: 0 0 24px; font-size: 17px; line-height: 1.75; color: var(--ink-2); text-align: justify; min-height: 4.5em; }
.tslide figcaption { display: flex; align-items: center; gap: 14px; }
.tslide b { display: block; font-size: 16px; }
.tslide small { color: var(--ink-3); font-size: 14px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px #fff, 0 6px 14px -6px rgba(15,23,42,.35); }
.tnav { display: flex; align-items: center; justify-content: space-between; padding: 0 20px 18px; }
.tarrow { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink-2); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.tarrow:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.tdots { display: flex; gap: 8px; }
.tdots button { width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; background: #cbd5e1; cursor: pointer; transition: width .25s var(--ease), background .25s; }
.tdots button.on { width: 24px; background: var(--brand); }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 88px; }
.stat b { display: block; font-size: 52px; line-height: 1; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stat strong { display: block; font-size: 20px; font-weight: 800; margin: 16px 0 8px; }
.stat span { display: block; color: var(--ink-3); font-size: 15px; line-height: 1.65; }

/* ---------------- 价格 ---------------- */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.price { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px 26px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.price:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #cfdcf7; }
.price h3 { font-size: 18px; }
.price-qty { display: flex; align-items: baseline; gap: 6px; margin-top: 2px; }
.price-qty b { font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price-qty small { color: var(--ink-3); font-size: 16px; }
.price-num { display: flex; align-items: baseline; gap: 2px; margin: 4px 0 6px; color: var(--brand); }
.price-num i { font-style: normal; font-size: 18px; font-weight: 700; }
.price-num b { font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; }
.price .checks { margin: 4px 0 18px; flex-grow: 1; }
.price .checks li::before { background: var(--green); }
.price .btn { justify-content: center; }
.badge { position: absolute; top: -1px; right: 18px; padding: 5px 12px; border-radius: 0 0 10px 10px; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #f59e0b, #ea580c); box-shadow: 0 4px 10px -4px #ea580c; }
.price-note { text-align: center; color: var(--ink-3); font-size: 13px; margin-top: 22px; }

/* ---------------- 跑马灯 ---------------- */

/* ---------------- FAQ ---------------- */

/* ---------------- CTA ---------------- */
.cta-banner { position: relative; padding: 96px 0; color: #fff; text-align: center; background: var(--grad); overflow: hidden; }
.cta-banner::before, .cta-banner::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.14); filter: blur(30px); }
.cta-banner::before { width: 420px; height: 420px; left: -120px; top: -160px; }
.cta-banner::after { width: 360px; height: 360px; right: -100px; bottom: -180px; }
.cta-banner h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; position: relative; }
.cta-banner p { margin-top: 12px; font-size: 17px; opacity: .92; position: relative; }
.cta-banner .hero-actions { justify-content: center; position: relative; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: #0b1220; color: #94a3b8; padding: 64px 0 28px; }
/* 三列：品牌 + 产品 + 支持。「关注」那一列删掉之后要跟着减一列，
   否则右边会空出一格。 */
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-brand .brand { display: inline-flex; align-items: center; padding: 0; color: #fff; line-height: 28px; }
.footer-brand .qr-row { margin-top: 18px; }
.qr-row { display: flex; gap: 12px; }
/* 页脚的联系卡：小二维码 + 一行字，横排。
   **写成 `.site-footer .qr-qq`（0,2,0）而不是 `.qr-qq`（0,1,0）** ——
   上面有 `.site-footer a { display: block; padding: 5px 0 }`（0,1,1），
   单类压不过它，`display` 和 `padding` 会被接管、排不成横排。 */
.site-footer .qr-qq {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px;
  border: 1px solid #1e293b; border-radius: 14px; background: rgba(255, 255, 255, .03);
  transition: border-color .18s, background .18s;
}
.site-footer .qr-qq:hover { border-color: #33415a; background: rgba(255, 255, 255, .06); }
.site-footer .qr-qq img {
  width: 68px; height: 68px; flex-shrink: 0;
  background: #fff; padding: 4px; border-radius: 8px; box-sizing: border-box;
}
.site-footer .qr-qq span { font-size: 12.5px; line-height: 1.5; white-space: nowrap; }
.site-footer .qr-qq span b { display: block; color: #fff; font-size: 14px; margin-bottom: 2px; }
.site-footer .qr-qq:hover span { color: #cbd5e1; }

/* ---------------- 「联系我们」弹窗 ---------------- */
.cmodal { position: fixed; inset: 0; z-index: 100; display: none; }
.cmodal.on { display: grid; place-items: center; }
.cmodal-mask { position: absolute; inset: 0; background: rgba(8, 13, 25, .58); backdrop-filter: blur(3px); }
.cmodal-card {
  position: relative; width: min(340px, calc(100vw - 40px));
  padding: 30px 28px 24px; border-radius: var(--r-lg);
  background: #fff; color: var(--ink); text-align: center; box-shadow: var(--shadow-lg);
  animation: cmodal-in .22s var(--ease);
}
@keyframes cmodal-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .cmodal-card { animation: none; } }
.cmodal-card h3 { font-size: 19px; font-weight: 800; }
.cmodal-tip { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.cmodal-tip b { color: var(--brand); }
.cmodal-qr {
  width: 200px; height: 200px; margin: 18px auto 0;
  border: 1px solid var(--line); border-radius: 12px; padding: 8px; box-sizing: border-box;
}
.cmodal-alt { margin-top: 16px; font-size: 13px; color: var(--ink-3); }
.cmodal-alt a { color: var(--brand); font-weight: 600; }
.cmodal-alt a:hover { text-decoration: underline; }
.cmodal-x {
  position: absolute; top: 10px; right: 12px; width: 32px; height: 32px;
  border: 0; background: transparent; border-radius: 8px; cursor: pointer;
  font-size: 22px; line-height: 1; color: var(--ink-3);
}
.cmodal-x:hover { background: var(--bg-sunken); color: var(--ink); }

.site-footer h4 { color: #fff; font-size: 14px; line-height: 28px; margin: 0 0 12px; }
.site-footer a { display: block; padding: 5px 0; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid #1e293b; font-size: 13px; }
.footer-bottom em { font-style: normal; color: var(--amber); }

.to-top { position: fixed; right: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--brand); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .25s; z-index: 40; }
.to-top.show { opacity: 1; transform: none; }

/* ---------------- 滚动渐显 ---------------- */
/* 只在脚本跑起来之后才藏（html.js）—— 没有 JS 的环境里页面照样全显示。 */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; } .delay-2 { transition-delay: .2s; } .delay-3 { transition-delay: .3s; } .delay-4 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .glow, .float-card, .shot-progress span { animation: none !important; }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .feature-grid, .price-grid, .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .voices-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .video-frame { transform: none; }
  .fc-1 { left: 8px; } .fc-2 { right: 8px; }
  .step, .step-rev { grid-template-columns: 1fr; }
  .step-rev .step-text { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .nav { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 68px; background: #fff; padding: 12px 20px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
  .site-header.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .feature-grid, .price-grid, .stat-grid, .quote-grid, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .quote-grid { gap: 14px; }
  .hero h1 { font-size: 34px; }
}


/* ============================================================
   使用教程页（tech.html）
   两栏文档版式：左侧粘性目录 + 右侧正文。
   图片与视频还没拍，全部用 .ph 占位块顶着 —— 每一块都写清了
   「这里该放什么、要拍到什么、多大尺寸」，拍好了直接把 .ph-box
   换成 <img> 或 <video> 即可，外面的 figure/figcaption 不用动。
   ============================================================ */

/* ---------------- 两栏版式 ----------------
   没有首屏 —— 顶栏之下直接是目录与正文（2026-09-07 用户定的）。 */
.doc { padding: 40px 0 88px; }
.doc-grid {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

/* 左侧目录：跟着滚，当前分节高亮（高亮由页内脚本加 .on）。 */
.doc-side { position: sticky; top: 92px; }
.doc-toc { display: grid; gap: 2px; border-left: 2px solid var(--line); }
.doc-toc-title {
  font-size: 12px; font-weight: 800; letter-spacing: .08em;
  color: var(--ink-3); padding: 0 0 10px 16px; margin-left: -2px;
}
.doc-toc a {
  padding: 7px 14px; margin-left: -2px;
  border-left: 2px solid transparent;
  font-size: 14.5px; color: var(--ink-3); font-weight: 600;
  transition: color .16s, border-color .16s;
}
.doc-toc a:hover { color: var(--ink); }
.doc-toc a.on { color: var(--brand); border-left-color: var(--brand); }

/* 右侧正文。min-width: 0 是必须的 —— 网格轨道默认按 min-content 撑开，
   平台表那个 min-width: 560px 会连着把整页顶宽，手机上右半边直接被裁掉。 */
.doc-body { max-width: 760px; min-width: 0; }
.doc-sec { scroll-margin-top: 96px; }
.doc-sec + .doc-sec { margin-top: 64px; padding-top: 8px; }
.doc-body h1,
.doc-body h2 {
  font-size: clamp(24px, 2.6vw, 30px); font-weight: 900;
  padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 22px;
}
.doc-body h3 { font-size: 19px; font-weight: 800; margin: 34px 0 12px; }
.doc-body h4 { font-size: 16.5px; font-weight: 800; margin-bottom: 6px; }
.doc-body p { color: var(--ink-2); margin: 12px 0; }
.doc-body p b, .doc-body li b { color: var(--ink); font-weight: 700; }
.doc-body code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13.5px; background: var(--bg-sunken);
  padding: 2px 7px; border-radius: 6px; color: var(--ink);
  word-break: break-all;
}
.d-btnrow { margin-top: 16px; }

/* ---------------- 简介卡片 ----------------
   第一节那块「星客AI是什么」：一段导语 + 主要功能五条。
   整块淡底 + 左侧一道渐变，和正文其余部分拉开层次。 */
.intro-card {
  position: relative; overflow: hidden;
  margin: 20px 0 6px; padding: 26px 28px 24px;
  border: 1px solid #dbe6fb; border-radius: var(--r-lg);
  background: linear-gradient(180deg, #f7faff 0%, #fdfbff 100%);
  box-shadow: var(--shadow);
}
.intro-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--grad);
}
.intro-lead { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.intro-icon {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad); color: #fff;
}
.intro-lead p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.85; }
.intro-plat { color: var(--brand); font-weight: 700; }

.intro-sub {
  margin: 22px 0 12px; padding-top: 18px; border-top: 1px dashed #d7e2f6;
  font-weight: 800; color: var(--ink); font-size: 15.5px;
}
.intro-feats { display: grid; gap: 12px; }
.intro-feats li {
  position: relative; padding-left: 28px;
  color: var(--ink-2); font-size: 15px; line-height: 1.8;
}
.intro-feats li::before {
  content: ""; position: absolute; left: 6px; top: 11px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad); box-shadow: 0 0 0 4px rgba(47, 111, 224, .12);
}
.intro-feats b {
  color: var(--ink); font-weight: 800;
}
.intro-feats b::after { content: "："; font-weight: 600; color: var(--ink-3); }
/* 「不调用私有接口、不碰账号密码」那一段。**整段加粗标红**：这是买家最
   在意的一条，此前它是灰色小字，排得比周围的功能点还轻。
   **必须写成 `.doc-body p.intro-safe`**：上面第 382 行有一条
   `.doc-body p { color: var(--ink-2) }`，它是 (0,1,1)，单写 `.intro-safe`
   是 (0,1,0)，会被压掉 —— 而且只压掉 color、压不掉 font-weight，于是页面上
   长成「加粗了但还是黑的」，看起来像改了一半。 */
.doc-body p.intro-safe {
  margin: 20px 0 0; padding-top: 16px; border-top: 1px dashed #d7e2f6;
  font-size: 14px; color: var(--red); font-weight: 700; line-height: 1.8;
}

/* 已经换成真图的插图（和 .ph 用同一套外框，只是没有占位块） */
.doc-fig { margin: 26px 0; }
.doc-fig img {
  width: 100%; height: auto; border-radius: var(--r);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.doc-fig figcaption { margin-top: 10px; font-size: 13.5px; color: var(--ink-3); text-align: center; }

/* 简介里的下载按钮 —— 按钮和那句安装说明并排，窄屏折行 */
.d-get {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px;
  margin: 26px 0 6px; padding: 22px 24px;
  border: 1px solid #d7e4fb; border-radius: var(--r); background: var(--grad-soft);
}
.d-get-note { flex: 1 1 320px; min-width: 0; font-size: 14.5px; color: var(--ink-2); }
/* 「不要让电脑休眠」。这一句在 `.d-get-note` 这个 span 里，不在 `<p>` 里，
   所以不受 `.doc-body p b` 那条影响；写足两级只是与上面 `.intro-safe`
   保持一致，免得下一个人以为这里可以只写一个类。 */
.d-get-note b.d-get-warn { color: var(--red); font-weight: 700; }

/* 正文里要人一眼看到的那几个词（「重启」这类一漏就白做的动作）。
   **写成 `.doc-body .hot`（0,2,0）而不是 `.hot`（0,1,0）**：正文里有
   `.doc-body p b { color: var(--ink) }`（0,1,2），单类压不过它 —— 表现会是
   「加粗了但还是黑的」，而那看起来像改了一半。 */
.doc-body .hot { color: var(--red); font-weight: 700; }

/* ---------------- 列表 ---------------- */
.d-list { display: grid; gap: 10px; margin: 14px 0; }
.d-list li {
  position: relative; padding-left: 20px;
  color: var(--ink-2); line-height: 1.75;
}
.d-list li::before {
  content: ""; position: absolute; left: 4px; top: 12px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
}

/* 快速上手：带序号的一串 */
.d-flow { counter-reset: f; display: grid; gap: 10px; margin: 18px 0; }
.d-flow li {
  counter-increment: f;
  display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: baseline;
  padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; box-shadow: var(--shadow);
}
.d-flow li::before {
  content: counter(f);
  width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center; align-self: start;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 13px;
}
/* b 与 span 都锁在第二列 —— 不锁的话 span 会被自动排到第二行的序号格里，
   在 30px 宽的格子里被压成一竖条字。 */
.d-flow b { grid-column: 2; display: block; font-weight: 800; }
.d-flow b a { color: inherit; }
.d-flow b a:hover { color: var(--brand); }
.d-flow span { grid-column: 2; color: var(--ink-3); font-size: 14.5px; }

/* 正式步骤：大号序号 + 小标题 + 说明 */
/* 全局那条 `ul { list-style: none }` 管不到 ol，这两处都是 ol，不关掉的话
   系统的「1.」会和自己画的序号徽章并排出现。 */
.d-flow, .d-steps { list-style: none; padding-left: 0; }
.d-steps { counter-reset: s; display: grid; gap: 22px; margin: 20px 0; }
.d-steps > li {
  counter-increment: s;
  position: relative; padding-left: 52px;
}
.d-steps > li::before {
  content: counter(s);
  position: absolute; left: 0; top: 0;
  width: 34px; height: 34px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--grad-soft); color: var(--brand);
  font-weight: 800; font-size: 15px;
  border: 1px solid #dbe5fb;
}
.d-steps > li > p:first-of-type { margin-top: 6px; }

/* ---------------- 两张对照卡 ---------------- */
.d-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.d-card {
  padding: 22px; border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; box-shadow: var(--shadow);
}
.d-card-tag {
  display: inline-block; margin-bottom: 10px; padding: 3px 10px; border-radius: 999px;
  background: #eaf1ff; color: var(--brand); font-size: 12px; font-weight: 800;
}
.d-card-tag-alt { background: #f3ecff; color: #7c3aed; }

/* 每个平台小节开头那一行：接入方式徽章 + 一句话 */
.d-kind { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 14px 0 18px; }
.d-kind-tag {
  padding: 3px 11px; border-radius: 999px;
  background: #eaf1ff; color: var(--brand); font-size: 12.5px; font-weight: 800;
}
.d-kind-tag-alt { background: #f3ecff; color: #7c3aed; }
.d-kind-txt { flex: 1 1 320px; min-width: 0; color: var(--ink-2); }
.d-card p { font-size: 14.5px; margin-top: 8px; }

/* ---------------- 表格 ---------------- */
.d-table-wrap {
  margin: 20px 0; overflow-x: auto;
  border: 1px solid var(--line); border-radius: var(--r); background: #fff;
}
.d-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.d-table th, .d-table td {
  text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line);
  vertical-align: top; color: var(--ink-2);
}
.d-table thead th {
  background: var(--bg-alt); color: var(--ink);
  font-weight: 800; font-size: 13.5px; letter-spacing: .02em;
}
.d-table tbody tr:last-child td { border-bottom: 0; }
.d-table td b { color: var(--ink); }
.d-soon {
  display: inline-block; padding: 2px 9px; border-radius: 6px;
  background: var(--bg-sunken); color: var(--ink-3); font-size: 12.5px; font-weight: 700;
}

/* ---------------- 三种接待模式 ---------------- */
.d-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0; }
.d-mode {
  padding: 20px; border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; box-shadow: var(--shadow);
}
.d-mode-rec { border-color: #b9cdf5; box-shadow: var(--shadow-lg); }
.d-mode-badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: var(--bg-sunken); color: var(--ink-2); font-size: 12px; font-weight: 800;
}
.d-mode h4 { margin: 12px 0 6px; font-size: 17px; }
.d-mode > p { font-size: 14px; margin: 0 0 12px; }
.d-mode ul { display: grid; gap: 7px; }
.d-mode li {
  position: relative; padding-left: 16px;
  font-size: 13.5px; color: var(--ink-3); line-height: 1.65;
}
.d-mode li::before {
  content: ""; position: absolute; left: 2px; top: 9px;
  width: 5px; height: 5px; border-radius: 50%; background: #c3cede;
}
.d-mode-rec .d-mode-badge { background: var(--grad); color: #fff; }

/* ---------------- 提示块 ---------------- */
.callout {
  margin: 22px 0; padding: 18px 22px;
  border-radius: var(--r); border: 1px solid var(--line);
  border-left-width: 4px; background: var(--bg-alt);
}
.callout > b { display: block; font-weight: 800; margin-bottom: 6px; }
.callout p { margin: 6px 0 0; font-size: 14.5px; }
.callout-tip { border-left-color: var(--green); background: #f2fbf5; border-color: #cdeed9; }
.callout-note { border-left-color: var(--brand); background: #f4f8ff; border-color: #d7e4fb; }
.callout-warn { border-left-color: var(--amber); background: #fff9ef; border-color: #fbe6c2; }
.callout-cta {
  border-left-color: var(--brand-2); background: var(--grad-soft); border-color: #ded0fb;
  padding: 26px 28px;
}
.callout-cta > b { font-size: 18px; }

/* ---------------- 常见问题 ---------------- */
.faq { display: grid; gap: 10px; margin-top: 18px; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--r); background: #fff;
  box-shadow: var(--shadow); overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none;
  padding: 16px 46px 16px 20px; position: relative;
  font-weight: 700; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg); transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details[open] summary { color: var(--brand); }
.faq p { margin: 0; padding: 0 20px 18px; font-size: 14.5px; }

/* ---------------- 图片 / 视频占位 ----------------
   拍好素材之后：把 .ph-box 整块换成 <img src="…" alt="…"> 或
   <video controls poster="…">，并把 figure 上的 .ph 类去掉。 */
.ph { margin: 26px 0; }
.ph-box {
  display: grid; place-content: center; justify-items: center; gap: 8px;
  text-align: center; padding: 34px 26px;
  border: 2px dashed #c9d6ee; border-radius: var(--r);
  background:
    repeating-linear-gradient(45deg, #f7f9ff 0 12px, #f1f5fd 12px 24px);
  min-height: 190px;
}
.ph-video .ph-box { min-height: 260px; border-color: #d9c9f2; background: repeating-linear-gradient(45deg, #faf7ff 0 12px, #f4eeff 12px 24px); }
.ph-kind {
  padding: 3px 12px; border-radius: 999px;
  background: var(--amber); color: #fff; font-size: 12px; font-weight: 800;
}
.ph-video .ph-kind { background: var(--brand-2); }
.ph-box b { font-size: 16px; font-weight: 800; color: var(--ink); }
.ph-note { max-width: 560px; font-size: 13.5px; color: var(--ink-3); line-height: 1.7; }
.ph figcaption { margin-top: 10px; font-size: 13.5px; color: var(--ink-3); text-align: center; }
.ph img, .ph video {
  width: 100%; border-radius: var(--r); border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1000px) {
  .doc-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  /* 目录改成横着一条，跟在标题下面滚动 */
  .doc-side { position: static; min-width: 0; }
  .doc-toc {
    display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px;
    border-left: 0; border-bottom: 1px solid var(--line);
  }
  .doc-toc-title { display: none; }
  .doc-toc a {
    white-space: nowrap; margin-left: 0; border-left: 0;
    border-bottom: 2px solid transparent; padding: 8px 10px;
  }
  .doc-toc a.on { border-left: 0; border-bottom-color: var(--brand); }
  .d-modes { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .d-two { grid-template-columns: 1fr; }
  .d-steps > li { padding-left: 44px; }
  .callout { padding: 16px 18px; }
  .intro-card { padding: 20px 18px; }
  .intro-lead { grid-template-columns: 1fr; gap: 10px; }
  .ph-box { padding: 26px 18px; min-height: 160px; }
}
