/* ============ 山东初创工程科技有限公司 官网样式 ============ */
:root {
  --primary: #0b4da2;
  --primary-dark: #08366f;
  --primary-light: #e8f1fc;
  --accent: #14b8c4;
  --text: #1f2933;
  --text-2: #5b6b7b;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --border: #e3eaf2;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(11, 77, 162, 0.08);
  --maxw: 1180px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--primary-dark); }
.logo-mark {
  width: 38px; height: 38px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; letter-spacing: 0.5px;
}
.logo small { display: block; font-size: 11px; font-weight: 400; color: var(--text-2); letter-spacing: 1px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 15px; color: var(--text-2); padding: 6px 2px; position: relative; transition: color 0.2s; }
.nav a:hover { color: var(--primary); }
.nav a.active { color: var(--primary); font-weight: 600; }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; border-radius: 2px; background: var(--primary);
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; border-radius: 8px; font-size: 15px; font-weight: 500;
  border: 1px solid transparent; cursor: pointer; transition: all 0.2s; line-height: 1.4;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary-light); }
.btn-ghost { border-color: var(--border); color: var(--text); background: #fff; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-sm { padding: 7px 16px; font-size: 14px; }
.avatar-btn {
  width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 400px at 85% -10%, rgba(20, 184, 196, 0.18), transparent 60%),
    linear-gradient(135deg, #07284f 0%, #0b4da2 60%, #1163c4 100%);
  color: #fff; padding: 110px 0 130px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: 50%; transform: translateY(-50%);
  width: 460px; height: 460px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 60px rgba(255, 255, 255, 0.03), inset 0 0 0 130px rgba(255, 255, 255, 0.03);
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero-tag {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 13px; letter-spacing: 2px; margin-bottom: 22px;
}
.hero h1 { font-size: 44px; line-height: 1.25; font-weight: 700; letter-spacing: 1px; }
.hero h1 em { font-style: normal; color: #6fe3ec; }
.hero p { margin-top: 20px; font-size: 17px; color: rgba(255, 255, 255, 0.82); max-width: 560px; }
.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-light { background: #fff; color: var(--primary); }
.hero .btn-light:hover { background: var(--primary-light); }
.hero .btn-hollow { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.hero .btn-hollow:hover { background: rgba(255, 255, 255, 0.1); }
.hero-card {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px; padding: 28px; backdrop-filter: blur(6px);
}
.hero-card h3 { font-size: 15px; letter-spacing: 2px; color: #6fe3ec; margin-bottom: 18px; }
.hero-stat { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.15); }
.hero-stat:last-child { border-bottom: none; }
.hero-stat b { font-size: 26px; color: #fff; }
.hero-stat span { font-size: 13px; color: rgba(255, 255, 255, 0.75); }

/* ---------- 区块通用 ---------- */
.section { padding: 90px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head .kicker { color: var(--accent); font-size: 14px; letter-spacing: 3px; font-weight: 600; }
.section-head h2 { font-size: 32px; margin: 10px 0 14px; color: var(--text); }
.section-head p { color: var(--text-2); font-size: 16px; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 20px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: 14.5px; }

/* 数字统计条 */
.stats-band { background: var(--primary-dark); color: #fff; padding: 54px 0; }
.stats-band .grid-4 { gap: 16px; }
.stat-item { text-align: center; }
.stat-item b { font-size: 38px; font-weight: 700; color: #6fe3ec; }
.stat-item p { margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, 0.75); }

/* ---------- 页脚 ---------- */
.footer { background: #0a1f38; color: rgba(255, 255, 255, 0.7); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer a, .footer p { font-size: 14px; color: rgba(255, 255, 255, 0.65); display: block; margin-bottom: 10px; }
.footer a:hover { color: #6fe3ec; }
.footer-brand p { margin-top: 12px; line-height: 1.8; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 20px 0; text-align: center; font-size: 13px; color: rgba(255, 255, 255, 0.45); }

/* ---------- 页面头图（内页） ---------- */
.page-hero {
  background: linear-gradient(135deg, #07284f, #0b4da2);
  color: #fff; padding: 72px 0; text-align: center;
}
.page-hero h1 { font-size: 34px; letter-spacing: 2px; }
.page-hero p { margin-top: 12px; color: rgba(255, 255, 255, 0.75); }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-item { display: flex; flex-direction: column; gap: 8px; }
.form-item.full { grid-column: 1 / -1; }
.form-item label { font-size: 14px; font-weight: 600; color: var(--text); }
.form-item label .req { color: #e5484d; margin-left: 2px; }
.form-item input, .form-item textarea, .form-item select {
  border: 1px solid var(--border); border-radius: 8px; padding: 11px 14px;
  font-size: 15px; font-family: inherit; background: #fff; color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-item input:focus, .form-item textarea:focus, .form-item select:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(11, 77, 162, 0.12);
}
.form-item textarea { resize: vertical; min-height: 120px; }
.form-msg { grid-column: 1 / -1; font-size: 14px; min-height: 20px; }
.form-msg.ok { color: #12805c; }
.form-msg.err { color: #e5484d; }

/* ---------- 模态框（登录/注册/个人中心） ---------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(10, 25, 45, 0.55);
  display: none; align-items: center; justify-content: center; z-index: 200; padding: 20px;
}
.modal-mask.open { display: flex; }
.modal {
  background: #fff; border-radius: 16px; width: 420px; max-width: 100%;
  max-height: 88vh; overflow: auto; padding: 34px 32px; position: relative;
  animation: pop 0.22s ease;
}
@keyframes pop { from { transform: scale(0.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 32px; height: 32px;
  border: none; background: var(--bg-soft); border-radius: 50%; cursor: pointer;
  font-size: 16px; color: var(--text-2);
}
.modal-close:hover { background: var(--border); color: var(--text); }
.modal h2 { font-size: 22px; margin-bottom: 6px; }
.modal .sub { color: var(--text-2); font-size: 14px; margin-bottom: 24px; }
.auth-tabs { display: flex; background: var(--bg-soft); border-radius: 10px; padding: 4px; margin-bottom: 24px; }
.auth-tabs button {
  flex: 1; border: none; background: transparent; padding: 9px 0; border-radius: 8px;
  font-size: 15px; cursor: pointer; color: var(--text-2); transition: all 0.2s;
}
.auth-tabs button.active { background: #fff; color: var(--primary); font-weight: 600; box-shadow: 0 2px 8px rgba(11, 77, 162, 0.1); }
.auth-pane { display: none; }
.auth-pane.active { display: block; }
.auth-tip { margin-top: 16px; font-size: 12.5px; color: #9aa7b4; text-align: center; line-height: 1.6; }

/* 个人中心 */
.me-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.me-head .avatar-btn { width: 52px; height: 52px; font-size: 20px; }
.me-head b { font-size: 17px; display: block; }
.me-head span { font-size: 13px; color: var(--text-2); }
.me-section { border-top: 1px solid var(--border); padding-top: 18px; margin-top: 18px; }
.me-section h4 { font-size: 15px; margin-bottom: 12px; }
.inquiry-item { background: var(--bg-soft); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; }
.inquiry-item .row1 { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; }
.inquiry-item .row1 time { font-weight: 400; color: var(--text-2); font-size: 12.5px; }
.inquiry-item p { font-size: 13.5px; color: var(--text-2); margin-top: 6px; }
.inquiry-item .att { margin-top: 8px; font-size: 13px; }
.inquiry-item .att a { color: var(--primary); }
.empty-tip { color: var(--text-2); font-size: 14px; text-align: center; padding: 18px 0; }

/* ---------- 系统界面展示 ---------- */
.shot-frame {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; box-shadow: var(--shadow); transition: transform 0.25s;
}
.shot-frame:hover { transform: translateY(-4px); }
.shot-frame .shot-bar {
  height: 34px; background: var(--bg-soft); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 6px; padding: 0 14px;
}
.shot-frame .shot-bar i {
  width: 10px; height: 10px; border-radius: 50%; display: inline-block;
}
.shot-frame .shot-bar i:nth-child(1) { background: #f87171; }
.shot-frame .shot-bar i:nth-child(2) { background: #fbbf24; }
.shot-frame .shot-bar i:nth-child(3) { background: #34d399; }
.shot-frame .shot-bar span { margin-left: 10px; font-size: 12px; color: var(--text-2); }
.shot-frame img { width: 100%; }
.shot-cap { text-align: center; font-size: 14px; color: var(--text-2); margin-top: 14px; }

/* ---------- 痛点卡片 ---------- */
.pain-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; transition: transform 0.25s, box-shadow 0.25s;
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pain-card .pain-tag {
  display: inline-block; background: #fdecec; color: #d14343;
  font-size: 12.5px; font-weight: 600; padding: 4px 12px; border-radius: 999px; margin-bottom: 16px;
}
.pain-card h3 { font-size: 17px; margin-bottom: 8px; }
.pain-card .pain-desc { color: var(--text-2); font-size: 14px; margin-bottom: 16px; }
.pain-card .pain-fix {
  border-top: 1px dashed var(--border); padding-top: 14px;
  font-size: 14px; color: var(--primary-dark);
}
.pain-card .pain-fix b { color: #12805c; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 18px 24px; gap: 16px;
    border-bottom: 1px solid var(--border); box-shadow: 0 12px 24px rgba(11, 77, 162, 0.08);
  }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .hero { padding: 70px 0 80px; }
  .hero-grid, .grid-3, .grid-4, .grid-2, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .section { padding: 64px 0; }
  .hero::after { display: none; }
  .header-actions .btn-outline { display: none; }
}
