/* ============================================================
   EZCARS 设计系统
   ============================================================ */
:root {
  /* 品牌色 */
  --navy-900: #0a1524;
  --navy-800: #0e1c30;
  --navy-700: #16283f;
  --navy-600: #1f3a5a;
  --prime: #0ea5b7;
  --prime-dark: #0a8496;
  --prime-soft: #e6f7f9;
  --accent: #ff7a1a;
  --accent-dark: #e56600;
  --gold: #f5b301;
  --ink: #16273b;
  --ink-soft: #4a5b6e;
  --ink-mute: #8b97a5;
  --line: #e6ebf1;
  --bg: #f5f7fa;
  --bg-soft: #eef2f7;
  --white: #ffffff;
  --success: #16a34a;
  --danger: #dc2626;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(13, 27, 42, .08);
  --shadow: 0 6px 24px rgba(13, 27, 42, .09);
  --shadow-lg: 0 18px 50px rgba(13, 27, 42, .16);
  --maxw: 1200px;
  --font: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; }
ul { list-style: none; }
h1,h2,h3,h4 { line-height: 1.25; color: var(--ink); font-weight: 700; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- 布局辅助 ---------- */
.section { padding: 64px 0; }
.section-soft { background: var(--white); }
.center { text-align: center; }
.mt-8{margin-top:8px}.mt-16{margin-top:16px}.mt-24{margin-top:24px}.mt-32{margin-top:32px}.mt-40{margin-top:40px}
.mb-8{margin-bottom:8px}.mb-16{margin-bottom:16px}.mb-24{margin-bottom:24px}.mb-32{margin-bottom:32px}
.flex { display: flex; align-items: center; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.gap-8{gap:8px}.gap-12{gap:12px}.gap-16{gap:16px}.gap-24{gap:24px}
.grid { display: grid; gap: 24px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 10px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; transition: all .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--prime); color: #fff; }
.btn-primary:hover { background: var(--prime-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(14,165,183,.3); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,122,26,.3); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--prime); color: var(--prime); }
.btn-ghost { background: transparent; color: inherit; }
.btn-lg { padding: 15px 32px; font-size: 16px; border-radius: 12px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-white { background: #fff; color: var(--navy-800); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.2); }

/* ---------- 文本标签 ---------- */
.tag {
  display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 6px;
  font-size: 12px; font-weight: 600; line-height: 1.3;
}
.tag-prime { background: var(--prime-soft); color: var(--prime-dark); }
.tag-orange { background: #fff0e3; color: var(--accent-dark); }
.tag-dark { background: var(--navy-800); color: #fff; }
.tag-gray { background: var(--bg-soft); color: var(--ink-soft); }
.tag-green { background: #e7f7ec; color: var(--success); }

/* ---------- 卡片 ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-soft { box-shadow: var(--shadow-sm); }

/* ---------- 区块标题 ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; }
.sec-title { font-size: 30px; font-weight: 800; letter-spacing: -.5px; }
.sec-sub { color: var(--ink-mute); margin-top: 8px; }
.sec-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--prime); font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.sec-kicker::before { content: ''; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }

/* ---------- 表单 ---------- */
.input, .select, .textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); font-size: 14px; transition: border-color .2s, box-shadow .2s;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--prime); box-shadow: 0 0 0 3px rgba(14,165,183,.12); }
.label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.field { margin-bottom: 18px; }

/* ---------- Toast ---------- */
.toasts { position: fixed; top: 82px; right: 20px; z-index: 1200; display: flex; flex-direction: column; gap: 10px; }
.toast {
  display: flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 10px;
  background: #fff; box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 500;
  animation: slideIn .3s ease; border-left: 4px solid var(--prime);
}
.toast.err { border-left-color: var(--danger); }
.toast.ok { border-left-color: var(--success); }
@keyframes slideIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }

/* ---------- 图标 ---------- */
.icon { width: 24px; height: 24px; display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* ---------- 骨架 / 动画 ---------- */
.fade-enter-active,.fade-leave-active{transition:opacity .25s ease}
.fade-enter-from,.fade-leave-to{opacity:0}
.fade-up-enter-active{transition:all .4s ease}
.fade-up-enter-from{opacity:0;transform:translateY(16px)}
.fade-up-enter-to{opacity:1;transform:none}
.fade-up-leave-active{transition:all .3s ease}
.fade-up-leave-to{opacity:0;transform:translateY(-16px)}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ---------- 滚动条 ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #cfd8e1; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #aab7c3; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy-900); color: #b9c3cf; }
.site-footer a { color: #b9c3cf; transition: color .2s; }
.site-footer a:hover { color: #fff; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .section { padding: 44px 0; }
  .sec-title { font-size: 24px; }
}
@media (max-width: 640px) {
  .sec-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .btn-lg { width: 100%; }
}

/* ---------- 全平台自适应 增强 ---------- */
* { -webkit-tap-highlight-color: transparent; }
img, video { max-width: 100%; height: auto; }
button, a { touch-action: manipulation; }
@media (max-width: 768px) {
  .container { padding: 0 16px; }
}
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  body { font-size: 14px; }
}
/* 刘海屏安全区 */
@supports (padding: max(0px)) {
  .app-shell { padding-bottom: env(safe-area-inset-bottom); }
  .site-footer { padding-bottom: env(safe-area-inset-bottom); }
}

/* 全站鼠标：小方向盘 */
*, *::before, *::after { cursor: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%3E%3Ccircle%20cx='16'%20cy='16'%20r='12'%20fill='none'%20stroke='%23fff'%20stroke-width='3.4'/%3E%3Ccircle%20cx='16'%20cy='16'%20r='12'%20fill='none'%20stroke='%23000'%20stroke-width='1.8'/%3E%3Cpath%20d='M16%2016%20L16%2026'%20stroke='%23fff'%20stroke-width='3.4'/%3E%3Cpath%20d='M16%2016%20L16%2026'%20stroke='%23000'%20stroke-width='1.8'/%3E%3Cpath%20d='M16%2016%20L6.5%2012'%20stroke='%23fff'%20stroke-width='3.4'/%3E%3Cpath%20d='M16%2016%20L6.5%2012'%20stroke='%23000'%20stroke-width='1.8'/%3E%3Cpath%20d='M16%2016%20L25.5%2012'%20stroke='%23fff'%20stroke-width='3.4'/%3E%3Cpath%20d='M16%2016%20L25.5%2012'%20stroke='%23000'%20stroke-width='1.8'/%3E%3Ccircle%20cx='16'%20cy='16'%20r='4.2'%20fill='%23000'/%3E%3C/svg%3E") 16 16, auto; }
input, textarea, select { cursor: auto; }

/* 网站开关：关闭 / 建设中 拦截页 */
.site-gate{position:fixed;inset:0;z-index:9999;background:linear-gradient(140deg,#0a1524 0%,#0e1c30 45%,#12395c 100%);display:flex;align-items:center;justify-content:center;color:#fff;font-family:'PingFang SC','Microsoft YaHei',-apple-system,'Segoe UI',Roboto,sans-serif}
.site-gate-card{text-align:center;max-width:480px;padding:40px}
.site-gate-ic{font-size:64px;line-height:1}
.site-gate-card h1{font-size:30px;margin:18px 0 8px;font-weight:800;letter-spacing:2px}
.site-gate-card p{color:#a9bccf;font-size:15px;margin:0}
.site-gate-bar{width:220px;height:4px;background:rgba(255,255,255,.12);border-radius:3px;margin:26px auto 0;overflow:hidden}
.site-gate-bar i{display:block;height:100%;width:45%;background:linear-gradient(90deg,#0ea5b7,#7ee0d0);animation:siteSlide 1.2s ease-in-out infinite}
@keyframes siteSlide{0%{transform:translateX(-120%)}100%{transform:translateX(260%)}}
.site-gate-foot{margin-top:28px;font-size:12px;color:#5b6b7d;letter-spacing:2px}
