/* =========================================================
   Claw 通用智能体平台 — 企业级官网样式
   风格：大型科技企业级 · 现代 SaaS · 靛蓝渐变 · 明亮通透
   ========================================================= */

:root {
  --brand: #4f46e5;
  --brand-dark: #3730a3;
  --brand-2: #7c3aed;
  --brand-3: #06b6d4;
  --grad: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #06b6d4 100%);
  --grad-soft: linear-gradient(135deg, rgba(79,70,229,.08), rgba(6,182,212,.08));
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-2: #f8fafc;
  --bg-dark: #0b1220;
  --bg-dark-2: #111a2e;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(15,23,42,.18);
  --shadow-lg: 0 30px 80px -30px rgba(79,70,229,.35);
  --container: 1180px;
  --font: 'Inter','Noto Sans SC',system-ui,-apple-system,'PingFang SC','Microsoft YaHei',sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== 顶部分栏条 ===== */
.topbar {
  background: var(--ink);
  color: #cbd5e1;
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar-left { display: flex; align-items: center; gap: 8px; color: #94a3b8; }
.topbar-left i { color: #34d399; }
.topbar-right { display: flex; gap: 20px; }
.topbar-right a { color: #cbd5e1; transition: color .2s; }
.topbar-right a:hover { color: var(--white); }

/* ===== 导航 ===== */
.nav { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.85); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 42px; height: 42px; border-radius: 12px; overflow: hidden; background: var(--grad-soft); display: grid; place-items: center; }
.brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-text b { font-size: 22px; font-weight: 800; letter-spacing: .5px; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.brand-text small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links li a { display: block; padding: 10px 16px; font-size: 15px; font-weight: 500; color: var(--ink-2); border-radius: 10px; transition: all .2s; }
.nav-links li a:hover { color: var(--brand); background: var(--grad-soft); }
.nav-links li a.active { color: var(--brand); font-weight: 600; }
.nav-btn { background: var(--grad); color: #fff !important; box-shadow: 0 8px 20px -8px rgba(79,70,229,.6); }
.nav-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -8px rgba(79,70,229,.7); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); font-size: 22px; width: 44px; height: 44px; border-radius: 10px; color: var(--ink); cursor: pointer; }

/* ===== Hero ===== */
.hero { position: relative; padding: 90px 0 70px; overflow: hidden; background: linear-gradient(180deg, #eef2ff 0%, #ffffff 60%); }
.hero-bg { position: absolute; inset: 0; background:
  radial-gradient(60% 50% at 80% 10%, rgba(124,58,237,.12), transparent 60%),
  radial-gradient(50% 40% at 10% 20%, rgba(6,182,212,.12), transparent 60%);
  pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #e0e7ff; color: var(--brand); padding: 8px 16px; border-radius: 100px; font-size: 13px; font-weight: 600; box-shadow: 0 4px 14px -6px rgba(79,70,229,.25); }
.eyebrow i { color: var(--brand-2); }
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 900; line-height: 1.15; letter-spacing: -1px; margin: 22px 0 18px; color: var(--ink); }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 600px; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 15px; padding: 14px 28px; border-radius: 12px; border: none; cursor: pointer; transition: all .25s; }
.btn i { font-size: 18px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px -10px rgba(79,70,229,.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(79,70,229,.8); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }
.hero-meta { display: flex; gap: 22px; flex-wrap: wrap; color: var(--ink-2); font-size: 14px; margin-bottom: 30px; }
.hero-meta span { display: flex; align-items: center; gap: 6px; }
.hero-meta i { color: var(--brand); }
.hero-stats { display: flex; gap: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.stat .num { font-size: 34px; font-weight: 900; color: var(--ink); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .num i { font-style: normal; font-size: 22px; }
.stat .lab { font-size: 13px; color: var(--muted); }

/* Hero 视觉面板 */
.hero-visual { position: relative; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.orb-1 { width: 260px; height: 260px; background: #7c3aed; top: -40px; right: -30px; }
.orb-2 { width: 200px; height: 200px; background: #06b6d4; bottom: -40px; left: -30px; }
.hero-panel { position: relative; background: rgba(255,255,255,.9); backdrop-filter: blur(20px); border: 1px solid rgba(226,232,240,.8); border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden; }
.panel-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: #fafbff; }
.dots { display: flex; gap: 6px; }
.dots span { width: 10px; height: 10px; border-radius: 50%; }
.dots span:nth-child(1){ background: #f87171; } .dots span:nth-child(2){ background: #fbbf24; } .dots span:nth-child(3){ background: #34d399; }
.panel-head > span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.panel-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.task-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.task-row > i { font-size: 22px; }
.task-row.done > i { color: #10b981; }
.task-row.run > i { color: var(--brand-3); animation: spin 1.4s linear infinite; }
.task-row.wait > i { color: var(--brand-2); }
.task-row b { display: block; font-size: 14px; color: var(--ink); }
.task-row small { font-size: 12px; color: var(--muted); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== 徽标带 ===== */
.logos-band { background: #fff; padding: 40px 0; border-bottom: 1px solid var(--line); }
.logos-band p { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.logo-items { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.logo-items span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); color: var(--ink-2); font-size: 14px; font-weight: 500; transition: all .2s; }
.logo-items span:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.logo-items i { color: var(--brand); }

/* ===== 通用 Section ===== */
.section { padding: 90px 0; }
.section-light { background: var(--bg); }
.section-dark { background: var(--bg-dark); color: #e2e8f0; }
.section-dark h2, .section-dark .sec-eyebrow { color: #fff; }
.section-dark .sec-head p { color: #94a3b8; }
.section-grad { background: var(--grad); color: #fff; }
.section-grad .sec-eyebrow { background: rgba(255,255,255,.2); color: #fff; border-color: rgba(255,255,255,.3); }
.section-grad .sec-head p { color: rgba(255,255,255,.85); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.sec-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; letter-spacing: -1px; margin-bottom: 14px; color: var(--ink); }
.sec-head p { font-size: 16px; color: var(--muted); }

/* ===== 为什么选择 ===== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: all .3s; }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.why-ic { width: 56px; height: 56px; border-radius: 14px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 26px; margin-bottom: 20px; box-shadow: 0 10px 22px -8px rgba(79,70,229,.5); }
.why-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; color: var(--ink); }
.why-card p { font-size: 14.5px; color: var(--muted); }

/* ===== 应用场景 ===== */
.scenario-block { margin-bottom: 34px; }
.scenario-tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(124,58,237,.15); color: #a78bfa; padding: 10px 20px; border-radius: 100px; font-weight: 700; font-size: 16px; margin-bottom: 20px; }
.scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scenario-item { background: var(--bg-dark-2); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 24px; transition: all .3s; }
.scenario-item:hover { transform: translateY(-4px); border-color: rgba(167,139,250,.5); }
.scenario-item > i { font-size: 28px; color: #a78bfa; margin-bottom: 14px; display: block; }
.scenario-item h4 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.scenario-item p { color: #94a3b8; font-size: 14px; }

/* ===== 核心特性 ===== */
.feature-list { display: flex; flex-direction: column; gap: 18px; }
.feature-row { display: flex; align-items: flex-start; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; transition: all .3s; }
.feature-row:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.feature-icon { flex-shrink: 0; width: 60px; height: 60px; border-radius: 16px; background: var(--grad-soft); border: 1px solid #e0e7ff; color: var(--brand); display: grid; place-items: center; font-size: 28px; }
.feature-content h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.feature-content p { color: var(--muted); font-size: 15px; }

/* ===== 工作方式步骤 ===== */
.steps { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.step { flex: 1; min-width: 200px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 20px; padding: 28px; position: relative; text-align: center; backdrop-filter: blur(8px); }
.step-num { position: absolute; top: 16px; right: 20px; font-size: 40px; font-weight: 900; opacity: .18; color: #fff; }
.step i { font-size: 40px; margin-bottom: 14px; display: block; }
.step h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: #fff; }
.step p { font-size: 13.5px; color: rgba(255,255,255,.85); }
.step-arrow { color: #fff; font-size: 28px; opacity: .7; }

/* ===== 定价 ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 34px 30px; position: relative; transition: all .3s; display: flex; flex-direction: column; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card.featured { background: linear-gradient(180deg, #fff, #eef2ff); border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.price-badge { position: absolute; top: -14px; left: 30px; background: var(--bg-2); color: var(--ink-2); border: 1px solid var(--line); font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 100px; }
.price-badge.hot { background: var(--grad); color: #fff; border: none; }
.price-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; color: var(--ink); }
.price { font-size: 46px; font-weight: 900; color: var(--ink); margin-bottom: 6px; }
.price span { font-size: 20px; vertical-align: super; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.price-desc { color: var(--muted); font-size: 14px; margin-bottom: 22px; min-height: 40px; }
.price-card ul { margin-bottom: 28px; flex: 1; }
.price-card ul li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 14.5px; color: var(--ink-2); }
.price-card ul li i { color: var(--brand); }
.pricing-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 6px; }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--bg-dark-2); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; overflow: hidden; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 16px; color: #fff; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 24px; color: #a78bfa; transition: transform .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 20px; color: #94a3b8; font-size: 15px; }

/* ===== CTA ===== */
.cta { text-align: center; padding: 90px 0; }
.cta h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; margin-bottom: 16px; }
.cta p { font-size: 17px; color: rgba(255,255,255,.9); max-width: 640px; margin: 0 auto 34px; }
.cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.cta .btn-ghost { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.4); color: #fff; }
.cta .btn-ghost:hover { background: rgba(255,255,255,.25); color: #fff; }
.contact-links { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; color: rgba(255,255,255,.85); font-size: 15px; }
.contact-links a, .contact-links span { display: inline-flex; align-items: center; gap: 8px; }
.contact-links a:hover { color: #fff; }

/* ===== Footer ===== */
.footer { background: var(--bg-dark); color: #94a3b8; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer .brand-text b { -webkit-text-fill-color: #fff; }
.footer .brand-text small { color: #64748b; }
.footer-grid h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-grid a { display: block; padding: 6px 0; font-size: 14.5px; color: #94a3b8; transition: color .2s; }
.footer-grid a:hover { color: #a78bfa; }
.footer-grid p { font-size: 14.5px; margin-top: 16px; max-width: 340px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; text-align: center; font-size: 13.5px; color: #64748b; }

/* ===== 返回顶部 ===== */
.back-top { position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px; border-radius: 12px; background: var(--grad); color: #fff; border: none; font-size: 20px; cursor: pointer; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .3s; z-index: 999; }
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { transform: translateY(-3px); }

/* ===== 滚动显现动画 ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== 响应式 ===== */
@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 520px; }
  .why-grid, .scenario-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: #fff; flex-direction: column; justify-content: flex-start; padding: 90px 24px; gap: 8px; box-shadow: -10px 0 40px rgba(0,0,0,.1); transition: right .3s; z-index: 1001; }
  .nav-links.open { right: 0; }
  .nav-links li a { padding: 12px 16px; font-size: 16px; }
  .nav-toggle { display: block; position: relative; z-index: 1002; }
  .why-grid, .scenario-grid, .pricing-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; align-items: stretch; }
  .step-arrow { transform: rotate(90deg); text-align: center; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .topbar-right { display: none; }
  .section { padding: 64px 0; }
  .feature-row { flex-direction: column; gap: 14px; }
}
