/* ============================================================
   上车拼本 DeepAha · 企业官网样式
   视觉规范对齐小程序：深海军蓝 #1a1a2e + 珊瑚红 #e94560
   基调：年轻、社交、有梗、暗色潮酷
   ============================================================ */

:root {
  --navy: #1a1a2e;
  --navy-2: #232342;
  --navy-3: #121220;
  --coral: #e94560;
  --coral-dark: #d13a54;
  --coral-tint: #fdeef1;
  --bg: #f5f5f5;
  --card: #ffffff;
  --text: #1a1a2e;
  --muted: #999999;
  --muted-dark: #b9b9d1;
  --line: #e8e8ef;
  --line-dark: rgba(255, 255, 255, 0.1);
  --radius: 16px;
  --shadow: 0 6px 24px rgba(26, 26, 46, 0.08);
  --shadow-hover: 0 14px 38px rgba(26, 26, 46, 0.14);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- 通用元件 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 16px; line-height: 1;
  padding: 15px 32px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 8px 20px rgba(233, 69, 96, 0.35); }
.btn-primary:hover { background: var(--coral-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; }
.btn-outline { border-color: var(--coral); color: var(--coral); background: #fff; }
.btn-outline:hover { background: var(--coral-tint); }

.pill {
  display: inline-block; font-size: 13px; font-weight: 600;
  color: var(--coral); border: 1px solid rgba(233, 69, 96, 0.55);
  border-radius: 999px; padding: 6px 16px; letter-spacing: 0.5px;
}

/* 对齐小程序 .tag 样式 */
.tag {
  display: inline-block; font-size: 12px; line-height: 1.6;
  color: var(--coral); background: var(--coral-tint);
  padding: 3px 12px; border-radius: 999px; font-weight: 600;
}
.tag-dark { color: #fff; background: var(--navy); }

.sec-head { margin-bottom: 48px; }
.sec-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: var(--coral);
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px;
}
.sec-kicker::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--coral); }
.sec-title { font-size: 32px; font-weight: 800; letter-spacing: 0.5px; }
.sec-sub { color: var(--muted); margin-top: 8px; font-size: 16px; }

section { padding: 84px 0; }

/* 滚动显现 */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 导航 ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(26, 26, 46, 0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow 0.2s ease;
}
.site-nav.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand img { width: 38px; height: 38px; }
.brand-text { font-size: 19px; font-weight: 800; letter-spacing: 1px; line-height: 1.15; }
.brand-text small { display: block; font-size: 11px; font-weight: 500; color: var(--muted-dark); letter-spacing: 0.5px; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 15px; }
.nav-links a { color: var(--muted-dark); font-weight: 600; position: relative; padding: 4px 0; transition: color 0.15s ease; }
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%);
  width: 18px; height: 3px; border-radius: 2px; background: var(--coral);
}
.nav-links a.nav-cta {
  color: #fff; background: var(--coral); padding: 9px 20px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(233, 69, 96, 0.35);
}
.nav-links a.nav-cta:hover { background: var(--coral-dark); }
.nav-links a.nav-cta::after { display: none; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: 0.2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero（首页大_banner） ---------- */
.hero {
  background:
    radial-gradient(1000px 520px at 85% -10%, rgba(233, 69, 96, 0.28), transparent 60%),
    radial-gradient(760px 480px at 5% 15%, rgba(233, 69, 96, 0.12), transparent 55%),
    var(--navy);
  color: #fff; padding: 96px 0 90px; overflow: hidden;
  border-bottom: 1px solid var(--line-dark);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 52px; line-height: 1.18; font-weight: 800; margin: 22px 0 18px; letter-spacing: 1px; }
.hero h1 em { font-style: normal; color: var(--coral); }
.hero .lead { font-size: 18px; color: var(--muted-dark); max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.hero-badges .tag { font-size: 13px; padding: 5px 14px; }

.hero-art { position: relative; display: flex; justify-content: center; }
.hero-card {
  background: var(--navy-2); border: 1px solid var(--line-dark);
  border-radius: 24px; padding: 34px 30px 28px; width: 320px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.hero-card img { width: 96px; height: 96px; margin: 0 auto 14px; }
.hero-card h3 { text-align: center; font-size: 21px; font-weight: 800; letter-spacing: 2px; }
.hero-card p { text-align: center; color: var(--muted-dark); font-size: 13px; margin-top: 4px; }
.hero-card .mini-row { display: flex; justify-content: center; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.float-chip {
  position: absolute; background: #fff; color: var(--navy);
  font-size: 13px; font-weight: 700; border-radius: 12px; padding: 9px 14px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  animation: floaty 4.5s ease-in-out infinite;
}
.float-chip b { color: var(--coral); }
.float-chip.c1 { top: 8px; left: -6px; animation-delay: 0s; }
.float-chip.c2 { bottom: 30px; right: -10px; animation-delay: 1.4s; }
.float-chip.c3 { bottom: -14px; left: 24px; animation-delay: 2.6s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* 数据条 */
.stats { background: var(--navy-3); border-bottom: 1px solid var(--line-dark); padding: 34px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; color: #fff; }
.stat b { display: block; font-size: 34px; font-weight: 800; color: var(--coral); letter-spacing: 1px; }
.stat span { color: var(--muted-dark); font-size: 14px; }

/* ---------- 卡片网格 ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: rgba(233, 69, 96, 0.45); }
.card .ico {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--coral-tint); font-size: 26px; margin-bottom: 16px;
}
.card h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card .card-tags { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- 特色区块（图文左右） ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-visual {
  background: var(--navy); border-radius: 22px; padding: 40px;
  color: #fff; min-height: 320px; display: flex; flex-direction: column; justify-content: center; gap: 16px;
  box-shadow: 0 24px 50px rgba(26, 26, 46, 0.35);
}
.chat-bubble {
  background: var(--navy-2); border: 1px solid var(--line-dark);
  border-radius: 14px 14px 14px 4px; padding: 12px 16px; font-size: 14px;
  color: var(--muted-dark); max-width: 86%;
}
.chat-bubble.me { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: var(--coral); color: #fff; border-color: transparent; }
.chat-bubble b { color: #fff; }
.split-copy h3 { font-size: 28px; font-weight: 800; margin-bottom: 14px; }
.split-copy p { color: var(--muted); margin-bottom: 14px; }
.check-list { list-style: none; margin-top: 8px; }
.check-list li { padding: 7px 0 7px 30px; position: relative; color: var(--text); font-size: 15px; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 7px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--coral-tint); color: var(--coral);
  font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}

/* ---------- 信用分演示 ---------- */
.credit-demo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 10px; }
.credit-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 20px; text-align: center; box-shadow: var(--shadow);
}
.credit-item b { display: block; font-size: 30px; font-weight: 800; }
.credit-item b.up { color: #2aa876; }
.credit-item b.down { color: var(--coral); }
.credit-item span { color: var(--muted); font-size: 14px; }

/* ---------- 深色区块 ---------- */
.section-dark { background: var(--navy); color: #fff; }
.section-dark .sec-title { color: #fff; }
.section-dark .sec-sub { color: var(--muted-dark); }
.section-dark .card { background: var(--navy-2); border-color: var(--line-dark); box-shadow: none; }
.section-dark .card:hover { border-color: rgba(233, 69, 96, 0.6); }
.section-dark .card h3 { color: #fff; }
.section-dark .card p { color: var(--muted-dark); }
.section-dark .card .ico { background: rgba(233, 69, 96, 0.16); }

/* ---------- 新闻 ---------- */
.news-list { display: flex; flex-direction: column; gap: 18px; }
.news-item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 110px 1fr; gap: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.news-date { text-align: center; border-right: 1px dashed var(--line); padding-right: 20px; }
.news-date b { display: block; font-size: 26px; font-weight: 800; color: var(--coral); }
.news-date span { font-size: 13px; color: var(--muted); }
.news-body h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.news-body p { color: var(--muted); font-size: 14.5px; }
.news-body .news-more { margin-top: 10px; font-size: 14px; color: var(--coral); font-weight: 700; cursor: pointer; background: none; border: 0; padding: 0; font-family: inherit; }
.news-detail { display: none; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--text); font-size: 14.5px; }
.news-detail p { color: var(--text); margin-bottom: 8px; }
.news-item.expanded .news-detail { display: block; }

/* ---------- 时间线 ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--coral), rgba(233, 69, 96, 0.1)); }
.tl-item { position: relative; padding: 0 0 34px 12px; }
.tl-item::before {
  content: ""; position: absolute; left: -32px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 4px solid var(--coral);
}
.tl-item .tl-date { font-size: 13px; font-weight: 700; color: var(--coral); letter-spacing: 1px; }
.tl-item h4 { font-size: 18px; font-weight: 800; margin: 4px 0 6px; }
.tl-item p { color: var(--muted); font-size: 15px; }

/* ---------- 信息表 ---------- */
.info-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.info-table th, .info-table td { padding: 15px 22px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--line); }
.info-table th { width: 200px; color: var(--muted); font-weight: 600; background: #fafafc; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table td { font-weight: 600; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; box-shadow: var(--shadow);
}
.contact-card .ico {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: var(--coral-tint); display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.contact-card b { display: block; font-size: 15px; margin-bottom: 2px; }
.contact-card p, .contact-card a { color: var(--muted); font-size: 14.5px; }
.contact-card a:hover { color: var(--coral); }

.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font-size: 15px; font-family: inherit; color: var(--text);
  background: #fcfcfe; transition: border-color 0.15s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--coral); background: #fff;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ---------- FAQ ---------- */
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; overflow: hidden; box-shadow: var(--shadow); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 20px 24px; font-size: 16px; font-weight: 700; font-family: inherit; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-q::after { content: "+"; font-size: 22px; color: var(--coral); font-weight: 800; transition: transform 0.2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 24px 20px; color: var(--muted); font-size: 15px; }
.faq-item.open .faq-a { display: block; }

/* ---------- CTA ---------- */
.cta-band {
  background:
    radial-gradient(700px 320px at 80% 0%, rgba(233, 69, 96, 0.3), transparent 60%),
    var(--navy);
  color: #fff; border-radius: 24px; padding: 56px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  box-shadow: 0 24px 50px rgba(26, 26, 46, 0.35);
}
.cta-band h3 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.cta-band p { color: var(--muted-dark); max-width: 520px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy-3); color: var(--muted-dark); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding: 60px 0 44px; }
.f-brand .brand { margin-bottom: 14px; }
.f-brand p { font-size: 14px; max-width: 300px; }
.f-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 14px; letter-spacing: 1px; }
.f-col a, .f-col p { display: block; font-size: 14px; color: var(--muted-dark); padding: 4px 0; }
.f-col a:hover { color: var(--coral); }
.footer-bar { border-top: 1px solid var(--line-dark); padding: 20px 0; font-size: 13px; text-align: center; }
.footer-bar .container { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }

/* ---------- 页面内 Banner（子页通用） ---------- */
.page-banner {
  background:
    radial-gradient(800px 380px at 85% -20%, rgba(233, 69, 96, 0.25), transparent 60%),
    var(--navy);
  color: #fff; padding: 72px 0 64px; border-bottom: 1px solid var(--line-dark);
}
.page-banner h1 { font-size: 40px; font-weight: 800; margin: 18px 0 10px; letter-spacing: 1px; }
.page-banner p { color: var(--muted-dark); font-size: 17px; max-width: 640px; }
.breadcrumb { font-size: 13px; color: var(--muted-dark); }
.breadcrumb a:hover { color: var(--coral); }
.breadcrumb b { color: var(--coral); font-weight: 600; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero h1 { font-size: 40px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .credit-demo { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-3); border-bottom: 1px solid var(--line-dark);
    max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
  }
  .nav-links.open { max-height: 340px; }
  .nav-links a { padding: 15px 24px; border-top: 1px solid var(--line-dark); }
  .nav-links a.active::after { display: none; }
  .nav-links a.active { color: var(--coral); }
  .nav-links a.nav-cta { margin: 14px 24px 18px; text-align: center; padding: 12px; }
}
@media (max-width: 640px) {
  section { padding: 60px 0; }
  .hero { padding: 64px 0 60px; }
  .hero h1 { font-size: 32px; }
  .page-banner h1 { font-size: 30px; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 10px; }
  .news-date { border-right: 0; border-bottom: 1px dashed var(--line); padding: 0 0 10px; text-align: left; display: flex; gap: 10px; align-items: baseline; }
  .cta-band { padding: 40px 28px; }
  .form-row { grid-template-columns: 1fr; }
  .info-table th { width: 130px; }
}
