/* 车熊熊官网样式
 * 品牌 Token 与 cxx-app / cxx-h5-miniapp 保持一致，便于三端观感统一。
 */

:root {
  --cxx-primary: #E47937;
  --cxx-action: #B75A27;
  --cxx-soft: #FAE4D7;
  --cxx-subtle: #FCF2EB;
  --cxx-ink: #3B2419;
  --cxx-bg: #FFF9F2;
  --cxx-text: #3D3630;
  --cxx-text-muted: #7C716A;
  --cxx-line: #EADFD4;
  --cxx-radius: 14px;
  --cxx-max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cxx-bg);
  color: var(--cxx-text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

a {
  color: var(--cxx-action);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: var(--cxx-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* 顶部导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 249, 242, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--cxx-line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 40px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
}

.nav a {
  color: var(--cxx-text);
  font-weight: 500;
}

.nav a:hover {
  color: var(--cxx-action);
  text-decoration: none;
}

.nav .nav-cta {
  background: var(--cxx-action);
  color: #fff;
  padding: 9px 20px;
  border-radius: 999px;
}

.nav .nav-cta:hover {
  background: var(--cxx-ink);
  color: #fff;
}

/* 首屏 */
.hero {
  padding: 76px 0 68px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  background: var(--cxx-soft);
  color: var(--cxx-action);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: 40px;
  line-height: 1.32;
  color: var(--cxx-ink);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: normal;
  color: var(--cxx-primary);
}

.hero p.lead {
  margin: 0 0 32px;
  font-size: 17px;
  color: var(--cxx-text-muted);
  max-width: 34em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--cxx-action);
  color: #fff;
}

.btn-primary:hover {
  background: var(--cxx-ink);
}

.btn-ghost {
  background: transparent;
  color: var(--cxx-action);
  border-color: var(--cxx-soft);
}

.btn-ghost:hover {
  background: var(--cxx-soft);
}

.hero-art {
  background: var(--cxx-subtle);
  border: 1px solid var(--cxx-line);
  border-radius: 24px;
  padding: 48px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-art img {
  width: 190px;
  height: auto;
  margin: 0 auto;
}

/* 区块 */
.section {
  padding: 68px 0;
}

.section-alt {
  background: #fff;
  border-top: 1px solid var(--cxx-line);
  border-bottom: 1px solid var(--cxx-line);
}

.section-head {
  max-width: 40em;
  margin-bottom: 42px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: 28px;
  color: var(--cxx-ink);
  font-weight: 700;
}

.section-head p {
  margin: 0;
  color: var(--cxx-text-muted);
  font-size: 16px;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--cxx-line);
  border-radius: var(--cxx-radius);
  padding: 28px 26px;
}

.section-alt .card {
  background: var(--cxx-subtle);
}

.card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--cxx-ink);
  font-weight: 600;
}

.card p {
  margin: 0;
  font-size: 15px;
  color: var(--cxx-text-muted);
}

.card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 15px;
  color: var(--cxx-text-muted);
}

.card li {
  margin-bottom: 6px;
}

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--cxx-action);
  background: var(--cxx-soft);
  border-radius: 6px;
  padding: 3px 10px;
  margin-bottom: 14px;
}

/* 流程 */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 8px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cxx-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--cxx-ink);
  font-weight: 600;
}

.step p {
  margin: 0;
  font-size: 14px;
  color: var(--cxx-text-muted);
}

/* 联系 */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.contact-item {
  background: var(--cxx-subtle);
  border: 1px solid var(--cxx-line);
  border-radius: var(--cxx-radius);
  padding: 24px;
}

.contact-item .label {
  font-size: 13px;
  color: var(--cxx-text-muted);
  margin-bottom: 8px;
}

.contact-item .value {
  font-size: 16px;
  color: var(--cxx-ink);
  font-weight: 600;
  word-break: break-all;
}

/* 页脚 */
.site-footer {
  background: var(--cxx-ink);
  color: #E8DCD2;
  padding: 52px 0 34px;
  font-size: 14px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.site-footer h4 {
  margin: 0 0 14px;
  font-size: 14px;
  color: #fff;
  font-weight: 600;
}

.site-footer p {
  margin: 0 0 8px;
  line-height: 1.8;
}

.site-footer a {
  color: #E8DCD2;
}

.site-footer a:hover {
  color: #fff;
}

.footer-brand img {
  height: 40px;
  width: auto;
  background: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  color: #B9A99C;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}

/* 法律文档页 */
.legal {
  padding: 56px 0 72px;
}

.legal .doc {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--cxx-line);
  border-radius: 18px;
  padding: 48px 52px 56px;
}

.legal h1 {
  margin: 0 0 10px;
  font-size: 30px;
  color: var(--cxx-ink);
  font-weight: 700;
}

.legal .meta {
  color: var(--cxx-text-muted);
  font-size: 14px;
  margin: 0 0 10px;
}

.legal .notice {
  background: var(--cxx-subtle);
  border-left: 3px solid var(--cxx-primary);
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--cxx-text-muted);
  margin: 26px 0 34px;
}

.legal h2 {
  margin: 40px 0 14px;
  font-size: 20px;
  color: var(--cxx-ink);
  font-weight: 600;
  padding-top: 8px;
}

.legal h3 {
  margin: 26px 0 10px;
  font-size: 16px;
  color: var(--cxx-ink);
  font-weight: 600;
}

.legal p,
.legal li {
  font-size: 15px;
  color: var(--cxx-text);
}

.legal ul {
  padding-left: 20px;
}

.legal li {
  margin-bottom: 6px;
}

.legal hr {
  border: 0;
  border-top: 1px solid var(--cxx-line);
  margin: 44px 0 0;
}

.back-link {
  display: inline-block;
  margin-bottom: 26px;
  font-size: 14px;
  color: var(--cxx-text-muted);
}

/* 响应式 */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-art {
    order: -1;
    padding: 32px 24px;
  }

  .hero-art img {
    width: 140px;
  }

  .grid-3,
  .grid-4,
  .steps,
  .contact-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 30px;
  }

  .nav {
    gap: 18px;
    font-size: 14px;
  }

  .nav .nav-cta {
    padding: 8px 16px;
  }

  .legal .doc {
    padding: 32px 24px 40px;
  }

  .section {
    padding: 48px 0;
  }
}

@media (max-width: 620px) {
  .nav {
    display: none;
  }
}
