/* 烟台悦心交互软件科技有限公司 - 官网公共样式 */

:root {
  --primary: #1f4e5f;
  --primary-light: #2c6e85;
  --accent: #4a9d8f;
  --bg: #ffffff;
  --bg-alt: #f7f9fa;
  --text: #2c3e50;
  --text-muted: #6b7c8c;
  --border: #e3e8eb;
  --radius: 8px;
  --maxw: 1000px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.8;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ===== 顶栏 ===== */
.site-header {
  background: var(--primary);
  color: #fff;
  padding: 52px 24px 48px;
  text-align: center;
}
.site-header .logo {
  font-size: 1.15em;
  letter-spacing: 4px;
  opacity: .75;
  margin-bottom: 18px;
  font-weight: 300;
}
.site-header h1 {
  font-size: 2.1em;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 1.4;
}
.site-header .tagline {
  margin-top: 14px;
  color: rgba(255,255,255,.78);
  font-size: .95em;
}

/* ===== 导航 ===== */
.site-nav {
  background: var(--primary-light);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.site-nav ul {
  list-style: none;
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.site-nav a {
  display: block;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  padding: 14px 26px;
  font-size: .95em;
  transition: background .2s, color .2s;
}
.site-nav a:hover { background: var(--primary); color: #fff; }
.site-nav a.active { background: var(--primary); color: #fff; }

/* ===== 主体 ===== */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 24px 72px;
}
main.narrow { max-width: 780px; }

.section { margin-bottom: 64px; }
.section:last-child { margin-bottom: 0; }

.section-title {
  font-size: 1.45em;
  font-weight: 500;
  margin-bottom: 28px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
  line-height: 1.3;
}
.section-sub {
  color: var(--text-muted);
  font-size: .95em;
  margin-top: -18px;
  margin-bottom: 28px;
}

p { margin-bottom: 16px; color: #4a5a6a; }
.lead { font-size: 1.05em; color: var(--text); }

/* ===== 卡片网格 ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(31,78,95,.1);
}
.card h3 {
  font-size: 1.15em;
  font-weight: 500;
  margin-bottom: 8px;
}
.card .status {
  display: inline-block;
  font-size: .78em;
  padding: 3px 11px;
  border-radius: 12px;
  margin-bottom: 14px;
  font-weight: 500;
}
.status.soon { background: #fff4e0; color: #a86a12; }
.status.dev  { background: #e3f2f8; color: #1f6f8b; }
.status.plan { background: #eef1f3; color: #6b7c8c; }
.card p { font-size: .93em; margin-bottom: 14px; }
.card .meta { font-size: .84em; color: var(--text-muted); }

/* ===== 特性列表 ===== */
.feature-list { list-style: none; display: grid; gap: 14px; }
.feature-list li {
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .95em;
  color: #4a5a6a;
}
.feature-list strong { color: var(--text); }

/* ===== 资质徽章 ===== */
.credentials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}
.cred {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: .9em;
}
.cred .label { color: var(--text-muted); font-size: .88em; display: block; margin-bottom: 4px; }
.cred .value { color: var(--text); font-weight: 500; }
.cred a { color: var(--primary-light); }

/* ===== 信息表 ===== */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
}
.info-table th, .info-table td {
  padding: 14px 20px;
  text-align: left;
  font-size: .93em;
  border-bottom: 1px solid var(--border);
}
.info-table tr:last-child td { border-bottom: none; }
.info-table th {
  width: 130px;
  color: var(--text);
  font-weight: 500;
  background: #eef2f4;
}
.info-table td { color: #4a5a6a; }

/* ===== 按钮 ===== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: .95em;
  transition: background .2s;
  margin: 4px 8px 4px 0;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); }
.btn-outline { border: 1px solid var(--accent); color: var(--primary); }
.btn-outline:hover { background: var(--accent); color: #fff; }

/* ===== 提示块 ===== */
.notice {
  background: #fff9ec;
  border-left: 4px solid #e0a63a;
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .92em;
  color: #7a5c1e;
  margin-bottom: 20px;
}
.notice.info { background: #eef6f8; border-left-color: var(--accent); color: #356b7a; }

/* ===== 页脚 ===== */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,.6);
  text-align: center;
  padding: 30px 20px;
  font-size: .85em;
  line-height: 2;
}
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

/* 公安备案徽标 */
.gongan-badge {
  height: 20px;
  width: auto;
  vertical-align: -4px;
  margin-right: 5px;
  opacity: .85;
}

/* 资质区补充说明 */
.section-note {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.7;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .site-header { padding: 38px 18px 34px; }
  .site-header h1 { font-size: 1.5em; }
  .site-nav a { padding: 12px 16px; font-size: .88em; }
  main { padding: 40px 18px 56px; }
  .section { margin-bottom: 48px; }
  .section-title { font-size: 1.25em; }
  .info-table th { width: auto; display: block; border-bottom: none; padding-bottom: 4px; }
  .info-table td { display: block; padding-top: 0; }
  .info-table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); }
}
