/* 灵犀太初 AI 销售智能体服务官网 —— PRD 色板：深靛蓝 + 科技青 + 冷白 */
:root {
  --navy: #1B2A4A;
  --teal: #2FB6A8;
  --teal-dark: #26998D;
  --bg: #F5F7FA;
  --text: #1F2937;
  --muted: #6B7280;
  --line: #E5E9F0;
  --white: #FFFFFF;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }

/* Header */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { font-size: 16px; font-weight: 500; letter-spacing: .5px; white-space: nowrap; }
.brand span { color: var(--teal); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-size: 13px; color: #C7D2E4; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.on { color: #fff; border-bottom-color: var(--teal); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; margin-left: auto; }

/* Buttons */
.btn {
  display: inline-block; background: var(--teal); color: #fff; font-size: 14px;
  padding: 12px 30px; border-radius: 4px; border: 0; cursor: pointer;
  transition: background .2s; white-space: nowrap;
}
.btn:hover { background: var(--teal-dark); }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-sm.on { background: var(--teal-dark); }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); background: transparent; }

/* Hero */
.hero { background: var(--navy); color: #fff; text-align: center; padding: 100px 24px 90px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border: 1px solid rgba(47,182,168,.18); border-radius: 50%; }
.hero .badge, .page-hero .badge {
  display: inline-block; font-size: 12px; color: var(--teal);
  border: 1px solid var(--teal); border-radius: 20px; padding: 5px 16px;
  margin-bottom: 26px; letter-spacing: 1px;
}
.hero h1 { font-size: 42px; font-weight: 500; letter-spacing: 1px; margin-bottom: 18px; }
.hero p { font-size: 16px; color: #C7D2E4; max-width: 660px; margin: 0 auto 34px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .btn-ghost { border-color: rgba(255,255,255,.3); color: #fff; }
.hero .btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

.page-hero { background: var(--navy); color: #fff; text-align: center; padding: 74px 24px 64px; }
.page-hero h1 { font-size: 34px; font-weight: 500; margin-bottom: 14px; }
.page-hero p { color: #C7D2E4; font-size: 15px; max-width: 620px; margin: 0 auto; }

/* Sections */
.section { padding: 76px 0; }
.section-alt { background: var(--white); }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { font-size: 26px; font-weight: 500; color: var(--navy); margin-bottom: 8px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Cards */
.card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 30px 24px; }
.card h3 { font-size: 16px; font-weight: 500; color: var(--navy); margin: 14px 0 8px; }
.card p { font-size: 13px; color: var(--muted); }
.card-num { font-size: 13px; color: var(--teal); letter-spacing: 2px; }
.card-icon { display: inline-block; font-size: 12px; color: var(--teal); border: 1px solid var(--teal); border-radius: 4px; padding: 3px 10px; }
.card-accent { border-color: var(--teal); }
.steps .step-card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 28px 22px; }
.step-card span { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; background: var(--teal); color: #fff; border-radius: 50%; font-size: 13px; }
.step-card h3 { font-size: 15px; font-weight: 500; color: var(--navy); margin: 14px 0 6px; }
.step-card p { font-size: 13px; color: var(--muted); }

/* CTA band */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--teal); border-radius: 8px; padding: 34px 36px; flex-wrap: wrap; }
.cta-band h2 { font-size: 22px; font-weight: 500; color: var(--navy); margin-bottom: 6px; }

/* Feature rows */
.feature-list { display: flex; flex-direction: column; gap: 60px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature.reverse .feature-visual { order: 2; }
.feature-visual { background: var(--white); border: 1px solid var(--line); border-radius: 8px; min-height: 240px; display: flex; align-items: center; justify-content: center; padding: 24px; }
.feature-text h2 { font-size: 28px; font-weight: 500; color: var(--navy); margin-bottom: 14px; }
.feature-text p { color: var(--muted); font-size: 15px; }
.mini-chat { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 300px; }
.bubble { font-size: 12px; padding: 9px 13px; border-radius: 10px; max-width: 85%; }
.bubble.ai { background: var(--bg); align-self: flex-start; }
.bubble.user { background: var(--teal); color: #fff; align-self: flex-end; }
.mini-cards { display: flex; gap: 14px; }
.mini-card { width: 120px; height: 140px; border: 1px solid var(--line); border-radius: 6px; font-size: 12px; color: var(--muted); display: flex; align-items: center; justify-content: center; text-align: center; }
.mini-form { display: flex; flex-direction: column; gap: 10px; width: 220px; }
.mini-form span { border: 1px solid var(--line); border-radius: 4px; padding: 8px 12px; font-size: 12px; color: var(--muted); }
.mini-form .mini-submit { background: var(--teal); color: #fff; text-align: center; border-color: var(--teal); }
.mini-chart { display: flex; align-items: flex-end; gap: 18px; height: 140px; }
.mini-chart .bar { width: 32px; background: var(--teal); border-radius: 3px 3px 0 0; }

/* Flow */
.flow { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.flow-node { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 24px 20px; text-align: center; width: 190px; }
.flow-node span { font-size: 12px; color: var(--teal); }
.flow-node h3 { font-size: 15px; font-weight: 500; color: var(--navy); margin: 8px 0 6px; }
.flow-node p { font-size: 12px; color: var(--muted); }
.flow-arrow { color: var(--teal); font-size: 20px; }
.fact-note { text-align: center; font-size: 13px; color: var(--muted); max-width: 760px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--line); }

/* Forms */
.form-wrap { max-width: 760px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; color: var(--navy); margin-bottom: 8px; }
.field label em { color: #DC2626; font-style: normal; }
.field input[type=text], .field input[type=tel], .field input[type=email], .field input[type=file], .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; font-size: 14px; font-family: inherit;
}
.field input:focus { outline: none; border-color: var(--teal); }
.field small { display: block; color: var(--muted); font-size: 12px; margin-top: 6px; }
.err { color: #DC2626; font-size: 12px; display: block; margin-top: 4px; }
.err ul { list-style: none; }
.checkbox-group { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; }
.checkbox-group label { display: flex; align-items: center; gap: 6px; margin: 0; font-weight: 400; color: var(--text); cursor: pointer; }
.captcha-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.captcha-row label { margin: 0; }
.captcha-row input { width: 130px !important; }
.captcha-img { height: 40px; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 16px; }
.form-alert { background: #FEF2F2; color: #B91C1C; padding: 10px 14px; border-radius: 4px; font-size: 13px; margin-bottom: 20px; }
.asset-card { text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 30px; }
.asset-placeholder { height: 140px; background: var(--bg); border: 1px dashed var(--line); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.asset-card h3 { font-size: 15px; color: var(--navy); font-weight: 500; margin-bottom: 6px; }
.asset-card p { font-size: 13px; color: var(--muted); }
.qr-section { text-align: center; margin-top: 40px; }
.qr-section img { width: 160px; height: 160px; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; }
.qr-section p { margin-top: 10px; font-size: 13px; }
.success-wrap { text-align: center; padding: 60px 0; }
.success-icon { width: 60px; height: 60px; background: var(--teal); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; margin: 0 auto 24px; }
.success-wrap h1 { font-size: 28px; font-weight: 500; color: var(--navy); margin-bottom: 10px; }
.success-wrap .btn { margin-top: 28px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 18px; color: var(--navy); font-weight: 500; margin: 28px 0 10px; }
.prose p { color: var(--muted); margin-bottom: 12px; }

/* Footer */
.site-footer { background: var(--navy); color: #C7D2E4; padding: 48px 0 28px; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { font-size: 15px; color: #fff; margin-bottom: 10px; }
.site-footer .muted { color: #8FA0BC; font-size: 12px; }
.footer-title { color: #fff; margin-bottom: 12px; font-size: 13px; }
.footer-grid a { display: block; margin-bottom: 8px; font-size: 12px; }
.footer-grid a:hover { color: var(--teal); }
.footer-qr img { width: 90px; height: 90px; object-fit: contain; background: #fff; border-radius: 4px; }
.footer-qr .muted { margin-top: 6px; font-size: 11px; }
.footer-bottom { text-align: center; padding-top: 22px; font-size: 12px; color: #8FA0BC; }
.footer-bottom a:hover { color: var(--teal); }
.footer-bottom span { margin: 0 8px; }

/* Responsive */
@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 16px 24px; gap: 4px; }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .header-inner .btn-sm { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; gap: 24px; }
  .feature.reverse .feature-visual { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .hero { padding: 70px 20px 60px; }
  .hero h1 { font-size: 28px; }
  .page-hero h1 { font-size: 26px; }
  .section { padding: 52px 0; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-wrap { padding: 24px 20px; }
  .cta-band { padding: 24px; }
  .flow-node { width: 100%; }
  .flow-arrow { transform: rotate(90deg); }
}
