/* OpClaw 官网 · LightVela 风格主题
   配色基线取自 lightvela.com 实测（观测 2026-09-28）：
   页底 #f7f4ff / 主色紫 #6a4fde·#7a66e8 / 卡片底 #eef0ff / 气泡深 #111b21 / 强调橙 #f2a33c */

:root {
  --bg: #f7f4ff;
  --bg-soft: #eef0ff;
  --surface: #ffffff;
  --primary: #6a4fde;
  --primary-2: #7a66e8;
  --accent: #f2a33c;
  --ink: #14121f;
  --ink-2: #3a3750;
  --muted: #6b6a80;
  --bubble: #111b21;
  --line: #ece9fb;
  --radius: 24px;
  --radius-sm: 16px;
  --shadow: 0 10px 30px rgba(20, 18, 31, .07);
  --shadow-lg: 0 18px 48px rgba(106, 79, 222, .16);
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .card:hover, .btn:hover { transform: none; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247, 244, 255, .86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: .3px; }
.brand img { width: 30px; height: 30px; }
.brand span { background: linear-gradient(92deg, var(--primary), var(--primary-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav-links a {
  padding: 8px 12px; border-radius: 999px; font-size: 15px; color: var(--ink-2);
  transition: background .18s, color .18s;
}
.nav-links a:hover { background: var(--bg-soft); color: var(--primary); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(92deg, var(--primary), var(--primary-2));
  color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 15px;
  box-shadow: var(--shadow-lg); white-space: nowrap;
}
.nav-cta:hover { filter: brightness(1.06); }
.nav-toggle { display: none; margin-left: auto; background: var(--bg-soft); border: 0; border-radius: 12px; padding: 8px 14px; font-size: 15px; cursor: pointer; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 16px;
  transition: transform .16s, box-shadow .16s, filter .16s;
}
.btn-primary { background: linear-gradient(92deg, var(--primary), var(--primary-2)); color: #fff; box-shadow: var(--shadow-lg); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { background: var(--surface); color: var(--primary); border: 1px solid var(--line); box-shadow: var(--shadow); }
.btn-ghost:hover { transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: var(--bg-soft); color: var(--primary); font-size: 14px; font-weight: 600; margin-bottom: 20px;
}
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; }
.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.7rem); line-height: 1.16; font-weight: 800;
  margin: 0 0 18px; letter-spacing: -.5px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(92deg, var(--primary), var(--primary-2) 45%, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 18px; color: var(--ink-2); max-width: 34em; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-note { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.hero-note b { color: var(--ink); font-weight: 700; }

/* 手机 mockup */
.phone {
  width: 330px; max-width: 100%; margin: 0 auto;
  background: #fff; border-radius: 34px; padding: 10px;
  box-shadow: 0 26px 60px rgba(20, 18, 31, .16), 0 0 0 1px rgba(20,18,31,.05);
}
.phone-screen { background: var(--bg-soft); border-radius: 26px; overflow: hidden; }
.phone-bar {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff;
  border-bottom: 1px solid var(--line);
}
.phone-bar .ava { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-2)); display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 700; }
.phone-bar .who { font-size: 14px; font-weight: 700; }
.phone-bar .st { font-size: 11px; color: var(--muted); }
.phone-body { padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 84%; padding: 10px 13px; border-radius: 16px; font-size: 13.5px; line-height: 1.55; }
.bubble.in { background: var(--bubble); color: #eef0ff; border-bottom-left-radius: 5px; align-self: flex-start; }
.bubble.out { background: linear-gradient(92deg, var(--primary), var(--primary-2)); color: #fff; border-bottom-right-radius: 5px; align-self: flex-end; }
.bubble .meta { display: block; margin-top: 4px; font-size: 11px; opacity: .65; }
.file-card {
  align-self: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 12px; display: flex; align-items: center; gap: 10px; font-size: 13px; box-shadow: var(--shadow);
}
.file-card .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--bg-soft); display: grid; place-items: center; font-size: 16px; }
.file-card b { display: block; font-size: 13px; }
.file-card span { font-size: 11px; color: var(--muted); }
.phone-input {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: #fff;
  border-top: 1px solid var(--line);
}
.phone-input .box { flex: 1; background: var(--bg-soft); border-radius: 999px; padding: 8px 14px; font-size: 12.5px; color: var(--muted); }
.phone-input .send { width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 14px; }

/* ---------- 通用区块 ---------- */
.section { padding: 76px 0; }
.section-alt { background: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; margin: 0 0 12px; letter-spacing: -.3px; }
.section-head p { color: var(--muted); font-size: 16.5px; margin: 0; }

.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(106, 79, 222, .14); }
.card h3 { margin: 0 0 10px; font-size: 18px; font-weight: 700; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--bg-soft); font-size: 22px; margin-bottom: 16px;
}

/* 渠道 */
.chan-icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 19px; margin-bottom: 14px;
}
.ci-feishu { background: #3370ff; }
.ci-dingtalk { background: #1f6feb; }
.ci-wechat { background: #3fa478; }
.ci-mm { background: #6a4fde; }

/* 技能标签 */
.skill-cat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.skill-cat h3 { margin: 0 0 14px; font-size: 17px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: var(--bg-soft); color: var(--primary); border-radius: 999px;
  padding: 6px 13px; font-size: 13.5px; font-weight: 500;
}

/* marquee */
.marquee { overflow: hidden; padding: 18px 0; background: #fff; border-block: 1px solid var(--line); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: slide 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 步骤 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.step .no {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(92deg, var(--primary), var(--primary-2)); color: #fff; font-weight: 800; margin-bottom: 16px;
}
.step h3 { margin: 0 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.step code {
  display: inline-block; margin-top: 12px; background: var(--bg-soft); color: var(--primary);
  padding: 8px 12px; border-radius: 10px; font-size: 13px; word-break: break-all;
}

/* 价格 */
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.price-card.hot { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); position: relative; }
.price-card.hot::after {
  content: "最受欢迎"; position: absolute; top: -13px; left: 30px;
  background: var(--primary); color: #fff; font-size: 12px; padding: 4px 12px; border-radius: 999px;
}
.price-name { font-size: 17px; font-weight: 700; }
.price-val { font-size: 34px; font-weight: 800; margin: 10px 0 4px; letter-spacing: -.5px; }
.price-val small { font-size: 15px; font-weight: 600; color: var(--muted); }
.price-list { list-style: none; padding: 0; margin: 18px 0 24px; display: flex; flex-direction: column; gap: 10px; }
.price-list li { display: flex; gap: 9px; font-size: 14.5px; color: var(--ink-2); }
.price-list li::before { content: "✓"; color: var(--primary); font-weight: 700; }
.price-card .btn { margin-top: auto; }
.price-note { margin-top: 26px; background: var(--bg-soft); border-radius: var(--radius-sm); padding: 16px 20px; font-size: 14.5px; color: var(--ink-2); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 18px 22px; font-size: 16px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; color: var(--ink); }
.faq-q::after { content: "+"; color: var(--primary); font-size: 22px; font-weight: 700; transition: transform .2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 22px 20px; color: var(--muted); font-size: 15px; }
.faq-item.open .faq-a { display: block; }
.faq-a code { background: var(--bg-soft); color: var(--primary); padding: 2px 7px; border-radius: 6px; font-size: 13px; }

/* CTA */
.cta {
  background: linear-gradient(120deg, #6a4fde, #7a66e8 55%, #8f7bf0);
  border-radius: 32px; padding: 56px 40px; text-align: center; color: #fff; box-shadow: var(--shadow-lg);
}
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin: 0 0 12px; }
.cta p { margin: 0 0 26px; opacity: .92; font-size: 17px; }
.cta .btn-primary { background: #fff; color: var(--primary); box-shadow: none; }
.cta .btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); box-shadow: none; }
.cta-points { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; margin-top: 30px; font-size: 14.5px; opacity: .95; }
.cta-points span::before { content: "✓ "; font-weight: 700; }

/* 页脚 */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 54px 0 30px; margin-top: 20px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.foot-brand { font-weight: 800; font-size: 19px; display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.foot-brand img { width: 28px; height: 28px; }
.foot-slogan { color: var(--muted); font-size: 14.5px; }
.foot-col h4 { margin: 0 0 14px; font-size: 15px; }
.foot-col a { display: block; color: var(--muted); font-size: 14.5px; padding: 4px 0; }
.foot-col a:hover { color: var(--primary); }
.foot-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* 响应式 */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .phone { width: 300px; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-links.show { display: flex; position: absolute; top: 66px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 12px; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
}
@media (max-width: 620px) {
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .cta { padding: 40px 22px; border-radius: 24px; }
  .hero { padding: 46px 0 36px; }
}

/* ---- 集团站点统一 topbar（20261008） ---- */
@media(max-width:720px){}
