/* ============================================================
   院里有集 · 企业站样式
   主色 #FF6B35（本地生活暖橙）＋ 信任蓝 #1A73E8
   ============================================================ */

:root {
  --primary: #FF6B35;
  --primary-dark: #E85520;
  --primary-light: #FFF1EC;
  --blue: #1A73E8;
  --blue-light: #EAF2FE;
  --success: #00B42A;
  --warning: #FF7D00;
  --text: #1D2129;
  --text-2: #4E5969;
  --text-3: #86909C;
  --line: #E5E6EB;
  --bg: #F5F6F8;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(29, 33, 41, 0.06);
  --shadow-lg: 0 12px 40px rgba(29, 33, 41, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 15px;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== 顶部导航 ===== */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, #FF8A5B, #FF6B35);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 17px;
}
.nav { display: flex; gap: 30px; }
.nav a { color: var(--text-2); font-size: 15px; }
.nav a:hover, .nav a.active { color: var(--primary); text-decoration: none; font-weight: 600; }

/* ===== 主体 ===== */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section-title { font-size: 30px; font-weight: 700; text-align: center; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--text-3); margin-bottom: 44px; font-size: 15px; }
.section-head { max-width: 720px; margin: 0 auto 44px; }
.section-head h2 { font-size: 26px; font-weight: 700; margin-bottom: 10px; }
.section-head p { color: var(--text-2); font-size: 15px; }

/* ===== 首屏 ===== */
.hero {
  background: linear-gradient(135deg, #FF8A5B 0%, #FF6B35 60%, #F0531E 100%);
  color: #fff;
  padding: 84px 0 92px;
}
.hero-inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 22px;
}
.hero h1 { font-size: 42px; font-weight: 700; line-height: 1.35; margin-bottom: 20px; }
.hero p { font-size: 17px; opacity: 0.94; max-width: 660px; line-height: 1.85; }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 30px; border-radius: var(--radius);
  background: var(--primary); color: #fff; font-size: 15px; font-weight: 600;
  border: none; cursor: pointer;
}
.btn:hover { background: var(--primary-dark); text-decoration: none; color: #fff; }
.btn.ghost { background: transparent; border: 1px solid rgba(255,255,255,.55); color: #fff; }
.btn.ghost:hover { background: rgba(255,255,255,.14); }
.btn.blue { background: var(--blue); }
.btn.blue:hover { background: #1558C4; }
.btn.line { background: var(--white); color: var(--text-2); border: 1px solid var(--line); }
.btn.line:hover { background: var(--bg); color: var(--text); }
.btn.sm { height: 38px; padding: 0 20px; font-size: 14px; }

/* ===== 卡片 ===== */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
}
.card.hover { transition: .2s; }
.card.hover:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.card h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--text-2); }
.card ul { margin: 10px 0 0 18px; font-size: 14px; color: var(--text-2); }
.card li { margin-bottom: 6px; }

/* ===== 流程步骤 ===== */
.steps { display: flex; gap: 12px; counter-reset: step; }
.step {
  flex: 1; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 20px; position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 700; font-size: 14px;
  margin-bottom: 14px;
}
.step h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--text-2); }
@media (max-width: 900px) { .steps { flex-direction: column; } }

/* ===== 数据条 ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 16px; }
.stat .v { font-size: 32px; font-weight: 700; color: var(--primary); }
.stat .l { font-size: 14px; color: var(--text-3); margin-top: 6px; }

/* ===== 表格 ===== */
table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; }
th { background: var(--bg); padding: 14px 16px; text-align: left; font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--line); }
td { padding: 14px 16px; font-size: 14px; border-bottom: 1px solid var(--line); color: var(--text-2); }
tr:last-child td { border-bottom: none; }

/* ===== 表单 ===== */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 7px; }
.field label span { color: var(--danger); margin-right: 3px; }
.field input, .field select, .field textarea {
  width: 100%; height: 44px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 8px;
  font-size: 15px; font-family: inherit; color: var(--text); background: var(--white);
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.form-tip { font-size: 13px; color: var(--text-3); margin-top: 10px; }

/* ===== 提示条 ===== */
.notice {
  background: var(--blue-light); border-left: 4px solid var(--blue);
  padding: 16px 20px; border-radius: 8px; font-size: 14px; color: #1553A8;
  margin-bottom: 24px; line-height: 1.8;
}
.notice.warn { background: #FFF7E6; border-left-color: var(--warning); color: #874D00; }

/* ===== 演示页交互 ===== */
.demo-step { display: none; }
.demo-step.on { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.steps-bar { display: flex; gap: 0; margin-bottom: 32px; }
.steps-bar .sb {
  flex: 1; text-align: center; padding: 14px 8px; font-size: 14px;
  background: var(--white); border: 1px solid var(--line); color: var(--text-3);
  position: relative;
}
.steps-bar .sb:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.steps-bar .sb:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.steps-bar .sb.on { background: var(--primary); color: #fff; border-color: var(--primary); font-weight: 600; }
.steps-bar .sb.done { background: var(--primary-light); color: var(--primary); border-color: var(--primary-light); }

.pick-card {
  border: 2px solid var(--line); border-radius: var(--radius);
  padding: 18px; cursor: pointer; transition: .15s; background: var(--white);
}
.pick-card:hover { border-color: var(--primary-light); }
.pick-card.on { border-color: var(--primary); background: var(--primary-light); }
.pick-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.pick-card .meta { font-size: 13px; color: var(--text-3); }

.result-box {
  background: var(--success); color: #fff; border-radius: var(--radius);
  padding: 28px; text-align: center;
}
.result-box .r-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.result-box .r-text { font-size: 14px; opacity: .92; }

/* ===== 页脚 ===== */
.footer { background: #1D2129; color: #A9AEB8; padding: 44px 0 28px; margin-top: 60px; }
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h5 { font-size: 15px; color: #fff; margin-bottom: 14px; }
.footer a { color: #A9AEB8; font-size: 14px; display: block; margin-bottom: 9px; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #31353B; padding-top: 20px; font-size: 13px; line-height: 2; }
.footer-bottom .beian { color: #7A8089; }
.footer-bottom .beian-link { color: #7A8089; text-decoration: underline; display: inline; margin-bottom: 0; }
.footer-bottom .beian-link:hover { color: #FF6B35; }
