/* Lawbot 全站视觉同步：深紫纯色、暖白表面、黄色小面积强调 */
:root {
  --brand-900: #19181C;
  --brand-800: #302639;
  --brand-700: #4D424F;
  --brand-600: #5B535F;
  --brand-500: #6A5C72;
  --brand-400: #8B7F90;
  --brand-300: #C9BDD2;
  --brand-200: #DED5E5;
  --brand-100: #E9DFEF;
  --brand-50: #F2EEEB;
  --accent-600: #340A5E;
  --accent-500: #5A1B96;
  --accent-400: #71548E;
  --accent-100: #D5C5E0;
  --accent-50: #E9DFEF;
  --surface-dark: #21063C;
  --white: #FAF8F6;
  --black: #19181C;
  --signal: #FFF321;
  --font-sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
  --shadow-card: 0 4px 16px rgba(52,10,94,.05);
  --shadow-card-hover: 0 8px 24px rgba(52,10,94,.09);
}

body { background: #FAF8F6; color: #302639; }

/* 全站导航 */
.nav,
.site-header {
  background: rgba(242,238,235,.96);
  border-bottom-color: #D5C5E0;
  box-shadow: none;
}
.nav.scrolled { box-shadow: 0 4px 16px rgba(52,10,94,.07); }
.nav-logo,
.header-logo { color: #19181C; }
.nav-center a { color: #5B535F; transition: color 180ms ease-out, background-color 180ms ease-out; }
.nav-center a:hover { color: #21063C; background: #E9DFEF; }
.nav-center a.active { color: #340A5E; background: #E9DFEF; }
.nav-cta {
  color: #F2EEEB;
  background: #340A5E;
  border: 1px solid #340A5E;
  box-shadow: none;
  transition: transform 180ms ease-out, background-color 180ms ease-out;
}
.nav-cta:hover { color: #F2EEEB; background: #21063C; transform: translateY(-1px); filter: none; }
.nav-toggle { width: 44px; height: 44px; padding: 10px; }
.nav-toggle span { background: #340A5E; }
.nav a:focus-visible,
.nav button:focus-visible,
.site-header a:focus-visible,
.btn:focus-visible,
.qr-modal-close:focus-visible {
  outline: 3px solid #71548E;
  outline-offset: 3px;
}

/* 全站按钮与弹窗 */
.btn { transition: transform 180ms ease-out, background-color 180ms ease-out, border-color 180ms ease-out, color 180ms ease-out; }
.btn-accent,
.btn-primary {
  color: #F2EEEB;
  background: #340A5E;
  border-color: #340A5E;
  box-shadow: none;
}
.btn-accent:hover,
.btn-accent:hover:not(:disabled),
.btn-primary:hover,
.btn-primary:hover:not(:disabled) {
  color: #F2EEEB;
  background: #21063C;
  border-color: #21063C;
  box-shadow: none;
  filter: none;
  transform: translateY(-2px);
}
.btn-secondary { color: #340A5E; background: #FAF8F6; border-color: #C9BDD2; box-shadow: none; }
.btn-secondary:hover { color: #21063C; background: #E9DFEF; border-color: #71548E; }
.modal,
.qr-modal { background: #FAF8F6; border: 1px solid #D5C5E0; box-shadow: 0 20px 56px rgba(33,6,60,.20); }
.modal-close,
.qr-modal-close { color: #5B535F; }
.modal-close:hover,
.qr-modal-close:hover { color: #21063C; background: #E9DFEF; }

/* 首页价格区 */
.pricing-section { background: #FAF8F6; }
.pricing-section .pricing-card,
.pricing-section .enterprise-card {
  background: #FAF8F6;
  border: 1px solid #D8CBE2 !important;
  border-radius: 8px;
  box-shadow: none !important;
}
.pricing-section .pricing-slide { min-width: 100%; width: 100%; }
.pricing-track-wrap { border-radius: 8px; }
.pricing-left { border-color: #71548E; }
.pricing-section .pricing-badge,
.pricing-section .enterprise-badge { color: #FFF321; background: transparent; }
.pricing-section .pricing-amount .currency,
.pricing-section .pricing-amount .price { color: #FFF321; }
.pricing-section .pricing-feature-highlight { color: #340A5E !important; }
.pricing-section .pricing-features .check,
.pricing-section .enterprise-features .check { color: #340A5E; }
.pricing-section .pricing-peek,
.pricing-section .pricing-back { background: #340A5E; box-shadow: none; }
.pricing-section .pricing-peek:hover,
.pricing-section .pricing-back:hover { background: #21063C; }
.pricing-section .pricing-peek-label,
.pricing-section .pricing-peek-arrow { color: #F2EEEB; }
.pricing-section .carousel-dot.active { background: #340A5E; }
.pricing-section .team-price-box { background: #E9DFEF; }

/* 企业版 */
.enterprise-hero { background: #21063C; text-align: left; }
.enterprise-hero .container { max-width: 1120px; }
.enterprise-hero .badge {
  color: #D8CBE2;
  background: transparent;
  border: 1px solid #71548E;
  border-radius: 4px;
}
.enterprise-hero .badge .dot { background: #FFF321; animation: none; }
.enterprise-hero h1 { max-width: 920px; color: #F2EEEB; }
.enterprise-hero h1 .grad { color: #FFF321; background: none; -webkit-text-fill-color: #FFF321; }
.enterprise-hero .desc { max-width: 760px; margin-left: 0; color: #D8CBE2; }
.enterprise-hero .actions { justify-content: flex-start; }
.enterprise-hero .btn-accent { color: #21063C; background: #FFF321; border-color: #FFF321; }
.enterprise-hero .btn-accent:hover { color: #21063C; background: #E3DA1E; border-color: #E3DA1E; }
.enterprise-hero .actions .btn:not(.btn-accent) {
  color: #F2EEEB !important;
  background: transparent !important;
  border-color: #C2B6CF !important;
  box-shadow: none;
}
.enterprise-hero .actions .btn:not(.btn-accent):hover { background: rgba(242,238,235,.07) !important; }
.cap-section,
.pricing-section,
.cta-section { background: #FAF8F6; }
.cap-card,
.tier-card {
  background: #F2EEEB;
  border-color: #DED5E5;
  border-radius: 8px;
  box-shadow: none;
  transition: transform 200ms ease-out, border-color 200ms ease-out;
}
.cap-card:hover { border-color: #A894BB; box-shadow: none; }
.cap-card .icon { color: #5B327A; background: #E9DFEF; border-radius: 6px; }
.cap-card .highlight { color: #340A5E; background: #E9DFEF; }
.flow-section { background: #F2EEEB; }
.flow-num { color: #F2EEEB; background: #340A5E; }
.flow-step::after { background: #A894BB; }
.tier-card.featured { background: #E9DFEF; border: 1px solid #71548E; box-shadow: none; }
.tier-card.featured .popular-tag { color: #21063C; background: #FFF321; }
.tier-card .tier-price { color: #340A5E; }
.tier-card .tier-features li::before { background: #5A1B96; }
.deploy-chips .chip { color: #4D424F; background: #F2EEEB; border-color: #D5C5E0; }
.benchmark-bar { color: #340A5E; background: #E9DFEF; border-color: #D5C5E0; border-radius: 8px; }
.benchmark-bar .dot { background: #5A1B96; animation: none; }
.trust-section { color: #F2EEEB; background: #21063C; }
.trust-section .text-center p { color: #CDBDDB !important; }
.trust-item .num { color: #FFF321; }
.trust-item .label { color: #D8CBE2; }

/* 共创看板 */
.board-hero { background: #21063C; }
.board-hero::before { display: none; content: none; }
.board-badge { color: #D8CBE2; background: transparent; border-color: #71548E; }
.board-badge .dot { background: #FFF321; animation: none; }
.board-hero h1 { color: #F2EEEB; }
.board-hero h1 .accent { color: #FFF321; background: none; -webkit-text-fill-color: #FFF321; }
.board-lead { color: #D8CBE2; }
.board-lead .num,
.board-lead .ver { color: #FFF321; }
.bstat { background: #F2EEEB; border-color: #D5C5E0; border-radius: 8px; box-shadow: none; }
.bnum { color: #340A5E; }
.blabel { color: #5B535F; }
.board-section { background: #FAF8F6; }
.devboard-status { color: #340A5E; background: #E9DFEF; border-color: #D5C5E0; }
.devboard-status .dot { background: #5A1B96; }
.board-item,
.shipped-group {
  background: #F2EEEB;
  border-color: #DED5E5;
  border-radius: 8px;
  box-shadow: none;
  transition: transform 200ms ease-out, border-color 200ms ease-out;
}
.board-item:hover { border-color: #A894BB; box-shadow: none; }
.board-num { color: #340A5E; background: #E9DFEF; border-color: #D5C5E0; }
.src-chip { color: #4D424F; background: #FAF8F6; border-color: #DED5E5; }
.coder-yoga,
.board-item--done .board-coder { color: #340A5E; background: #E9DFEF; border-color: #D5C5E0; }
.coder-yoga .cdot { background: #71548E; }
.board-item--next { background: #FFF9D8; border-color: #D8CB7A; }
.board-item--next .board-num { color: #5B4B00; background: #FFF3A6; border-color: #D8CB7A; }
.board-next-label { color: #5B4B00; background: #FFF9D8; border-color: #D8CB7A; }
.shipped-label { color: #340A5E; background: #E9DFEF; border-color: #D5C5E0; }
.shipped-group[open] { border-color: #A894BB; }
.shipped-group-head:hover .shipped-ver,
.shipped-group[open] .shipped-arrow { color: #5A1B96; }
.board-item--done { background: #F2EEEB; border-color: #DED5E5; }
.board-item--done .board-num { color: #340A5E; background: #E9DFEF; border-color: #D5C5E0; }
.shipped-pending { background: #F2EEEB; border-color: #C9BDD2; }

/* 文档中心 */
.doc-layout { background: #FAF8F6; }
.doc-sidebar { background: #F2EEEB; border-right-color: #D5C5E0; }
.sidebar-group-title { color: #74697B; }
.sidebar-nav a { color: #4D424F; border-left-color: transparent; }
.sidebar-nav a:hover { color: #21063C; background: #E9DFEF; }
.sidebar-nav a.active { color: #340A5E; background: #E9DFEF; border-left-color: transparent; }
.doc-breadcrumb,
.doc-breadcrumb a { color: #5A1B96; }
.doc-content h1,
.doc-content h2,
.doc-content h3 { color: #21063C; }
.doc-content p,
.doc-content li { color: #4D424F; font-size: 16px; }
.doc-content code { color: #340A5E; background: #E9DFEF; }
.doc-content .hl { color: #6D5700; }
.doc-callout.info { color: #340A5E; background: #E9DFEF; border-left-color: #71548E; }
.doc-callout.info .doc-callout-icon { color: #5A1B96; }
.doc-callout.warn { background: #FFF9D8; border-left-color: #B99E14; color: #5B4B00; }
.doc-table th { color: #340A5E; background: #E9DFEF; border-color: #C9BDD2; }
.doc-table td { color: #4D424F; border-color: #DED5E5; }
.doc-tag.purple { color: #340A5E; background: #E9DFEF; border-color: #D5C5E0; }
.doc-tag.amber { color: #5B4B00; background: #FFF9D8; }
.doc-steps li::before,
.doc-ver-label .latest-tag { color: #F2EEEB; background: #340A5E; }
.doc-ver-date { color: #6D5700; }

/* 激活页 */
.site-header { height: 64px; }
.page-main { background: #F2EEEB; }
.card { background: #FAF8F6; border: 1px solid #D5C5E0; border-radius: 12px; box-shadow: 0 12px 32px rgba(52,10,94,.07); }
.field input { background: #FAF8F6; border-color: #C9BDD2; }
.field input:focus { border-color: #71548E; box-shadow: 0 0 0 3px rgba(113,84,142,.16); }
.badge-purchase { color: #340A5E; background: #E9DFEF; border-color: #D5C5E0; }
.redeem-download-box { background: #F2EEEB; border-color: #DED5E5; }
.redeem-step-badge,
.redeem-step-sep .redeem-step-badge { color: #F2EEEB; background: #340A5E; }
.btn-accent { color: #F2EEEB; background: #340A5E; box-shadow: none; }
.license-key-box { background: #21063C; }
.service-account-box { background: #F2EEEB; border-color: #D5C5E0; }

/* 全站页脚：结构、内容与首页一致 */
.footer { background: #21063C; border-top: 1px solid #71548E; padding: 48px 0 28px; }
.footer .container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; align-items: start; max-width: none; margin: 0; padding: 0; }
.footer-brand .logo { color: #F2EEEB; }
.footer-brand p,
.footer-links a,
.footer-qr .label,
.footer-social-item,
.footer-bottom { color: #CDBDDB; }
.footer-links h5 { margin-bottom: 14px; color: #F2EEEB; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.footer-links ul { display: flex; flex-direction: column; gap: 8px; list-style: none; }
.footer-links a { font-size: 13px; text-decoration: none; transition: color 180ms ease-out; }
.footer-links a:hover,
.footer-bottom a:hover,
.footer-os-btn:hover { color: #FFF321; }
.footer a:focus-visible { outline: 2px solid #FFF321; outline-offset: 4px; }
.contact-social-link { display: inline-flex; align-items: center; gap: 8px; color: #D8CBE2; font-size: 13px; line-height: 1.6; }
.contact-social-link img { display: block; flex-shrink: 0; width: auto; height: 16px; }
.contact-social-link .xhs-wordmark { height: 14px; }
.footer-qr { text-align: center; }
.footer-qr img { width: 100px; height: 100px; margin: 0 auto 8px; object-fit: cover; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; }
.footer-qr .label { font-size: 12px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; max-width: none; margin: 32px 0 0; padding: 24px 0 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; }
.footer-bottom a { color: #D8CBE2; text-decoration: none; }
.footer-os-btn { color: #CDBDDB; border-color: #71548E; }
.footer-os-btn:hover { border-color: #D8CBE2; }

@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 768px) {
  .footer .container { padding: 0 16px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-qr { text-align: left; }
  .footer-qr img { margin-left: 0; }
}

@media (max-width: 860px) {
  .nav-center { background: rgba(242,238,235,.98); border-bottom-color: #D5C5E0; }
  .nav-center a { display: flex; align-items: center; min-height: 44px; }
  .doc-content p,
  .doc-content li { font-size: 15px; }
}

@media (max-width: 600px) {
  .enterprise-hero { text-align: left; }
  .enterprise-hero h1 { font-size: 24px; letter-spacing: -.04em; }
  .enterprise-hero .actions { align-items: stretch; }
  .enterprise-hero .actions .btn { width: 100%; justify-content: center; }
  .board-hero::before { opacity: .04; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1 !important; transform: none !important; transition: none !important; }
  .board-badge .dot,
  .devboard-status .dot,
  .board-coder .cdot,
  .typing-caret { animation: none !important; }
  .cap-card,
  .board-item,
  .btn,
  .nav-cta { transition: none !important; }
  .cap-card:hover,
  .board-item:hover,
  .btn:hover,
  .nav-cta:hover { transform: none !important; }
}
