/* ==========================================================================
   瓶装液化气销售配送系统 - 全局样式
   主题色：#0b5fa5（科技蓝，代表安全与专业）
   ========================================================================== */

:root {
  --primary: #0b5fa5;
  --primary-dark: #084a82;
  --primary-light: #e8f2fb;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --text: #2c3e50;
  --text-light: #6b7a8d;
  --bg: #ffffff;
  --bg-gray: #f5f8fb;
  --border: #e3eaf1;
  --danger: #dc2626;
  --success: #16a34a;
  --radius: 10px;
  --shadow: 0 4px 16px rgba(11, 95, 165, 0.10);
  --shadow-lg: 0 10px 32px rgba(11, 95, 165, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-dark); }
ul, ol { list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

/* ---------------- 头部 ---------------- */
.site-header { background: linear-gradient(135deg, #f7fbfe 0%, #ffffff 100%); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; flex-wrap: wrap; gap: 12px; }
.logo { display: flex; align-items: center; gap: 14px; }
.logo-icon {
  display: flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #1d84d6);
  color: #fff; font-size: 18px; font-weight: 700; letter-spacing: 1px;
  box-shadow: var(--shadow);
}
.logo-text strong { display: block; font-size: 20px; color: var(--primary-dark); line-height: 1.3; }
.logo-text em { display: block; font-style: normal; font-size: 13px; color: var(--text-light); }
.header-contact { text-align: right; }
.header-contact-label { display: block; font-size: 12px; color: var(--text-light); }
.header-contact-phone { display: inline-block; font-size: 24px; font-weight: 700; color: var(--accent-dark); }
.header-contact-sub { display: block; font-size: 12px; color: var(--text-light); }

/* ---------------- 导航 ---------------- */
.site-nav { background: linear-gradient(90deg, var(--primary-dark), var(--primary)); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.nav-list { display: flex; flex-wrap: wrap; }
.nav-list li { flex: 1; min-width: 100px; text-align: center; }
.nav-list a {
  display: block; padding: 14px 18px; color: rgba(255,255,255,.92);
  font-size: 16px; font-weight: 600; letter-spacing: 2px;
  border-bottom: 3px solid transparent;
}
.nav-list a:hover, .nav-list a.active { color: #fff; border-bottom-color: var(--accent); background: rgba(255,255,255,.08); }

/* ---------------- 通用板块 ---------------- */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, #1d84d6 100%);
  color: #fff; text-align: center; padding: 56px 20px 48px;
}
.page-banner h1 { font-size: 34px; margin-bottom: 12px; letter-spacing: 2px; }
.page-banner p { font-size: 16px; opacity: .92; max-width: 860px; margin: 0 auto; }
.breadcrumb { font-size: 13px; margin-top: 14px; color: rgba(255,255,255,.75); }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb a:hover { color: var(--accent); }

.section { padding: 64px 0; }
.section-gray { background: var(--bg-gray); }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 44px; }
.section-head h2 { font-size: 30px; color: var(--primary-dark); margin-bottom: 12px; position: relative; padding-bottom: 14px; }
.section-head h2::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 60px; height: 4px; border-radius: 2px; background: var(--accent); }
.section-head p { color: var(--text-light); font-size: 15px; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-block; padding: 12px 30px; border-radius: 30px;
  font-size: 16px; font-weight: 600; cursor: pointer; border: 2px solid transparent;
  transition: all .25s ease; text-align: center;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245,158,11,.35); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-block { display: block; width: 100%; }

/* ---------------- 首页 Hero ---------------- */
.hero { background: linear-gradient(135deg, #eaf3fb 0%, #f7fbfe 60%, #ffffff 100%); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 64px 20px; }
.hero h1 { font-size: 40px; line-height: 1.35; color: var(--primary-dark); margin-bottom: 18px; }
.hero h1 span { color: var(--accent-dark); }
.hero-lead { font-size: 17px; color: var(--text-light); margin-bottom: 26px; max-width: 620px; }
.hero-points { margin-bottom: 30px; }
.hero-points li { padding: 6px 0 6px 30px; position: relative; font-size: 15px; }
.hero-points li::before {
  content: "✓"; position: absolute; left: 0; top: 6px;
  width: 20px; height: 20px; line-height: 20px; text-align: center;
  background: var(--primary-light); color: var(--primary); border-radius: 50%; font-size: 12px; font-weight: 700;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-card {
  background: #fff; border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border); position: relative;
}
.hero-card h3 { color: var(--primary-dark); font-size: 18px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.hero-card ul li { padding: 5px 0; font-size: 14px; color: var(--text); border-bottom: 1px dashed var(--border); }
.hero-card ul li:last-child { border-bottom: none; }
.hero-card .hero-card-tag { position: absolute; top: -14px; right: 18px; background: var(--accent); color: #fff; font-size: 12px; padding: 4px 12px; border-radius: 12px; font-weight: 600; }

/* ---------------- 卡片 ---------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; transition: all .28s ease; position: relative;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.card-icon {
  width: 62px; height: 62px; border-radius: 16px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-light); font-size: 28px;
}
.card h3 { font-size: 19px; color: var(--primary-dark); margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--text-light); }

/* ---------------- 痛点/方案 ---------------- */
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.pain-item {
  display: flex; gap: 18px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
}
.pain-item .pain-icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.pain-item .pain-bad { background: #fdecec; }
.pain-item .pain-good { background: #e7f6ec; }
.pain-item h3 { font-size: 17px; margin-bottom: 6px; }
.pain-item p { font-size: 14px; color: var(--text-light); }
.pain-solve h3 { color: var(--success); }

/* ---------------- 流程 ---------------- */
.flow-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.flow-step { text-align: center; position: relative; padding: 24px 12px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.flow-step::after {
  content: "→"; position: absolute; right: -16px; top: 50%; transform: translateY(-50%);
  color: var(--accent); font-size: 22px; font-weight: 700; z-index: 2;
}
.flow-step:last-child::after { content: ""; }
.flow-step .step-num {
  counter-increment: step; width: 34px; height: 34px; line-height: 34px; margin: 0 auto 12px;
  background: var(--primary); color: #fff; border-radius: 50%; font-weight: 700;
}
.flow-step h3 { font-size: 15px; color: var(--primary-dark); margin-bottom: 8px; }
.flow-step p { font-size: 13px; color: var(--text-light); }

/* ---------------- 多端 ---------------- */
.device-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.device-card { text-align: center; padding: 34px 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.device-card .device-icon { width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%; background: linear-gradient(135deg, var(--primary-light), #dceefc); display: flex; align-items: center; justify-content: center; font-size: 34px; }
.device-card h3 { font-size: 18px; color: var(--primary-dark); margin-bottom: 10px; }
.device-card p { font-size: 14px; color: var(--text-light); }

/* ---------------- 数字统计 ---------------- */
.stats-bar { background: linear-gradient(90deg, var(--primary-dark), var(--primary)); color: #fff; padding: 40px 20px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item .stat-num { font-size: 36px; font-weight: 700; color: var(--accent); }
.stat-item .stat-label { font-size: 14px; opacity: .9; }

/* ---------------- FAQ ---------------- */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq-item h3 { font-size: 16px; color: var(--primary-dark); padding: 16px 22px; background: var(--primary-light); }
.faq-item p { padding: 14px 22px; font-size: 14px; color: var(--text); }
.faq-item p a { font-weight: 600; }

/* ---------------- 功能列表页 ---------------- */
.feature-block { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 56px; }
.feature-block:nth-child(even) .feature-desc { order: 2; }
.feature-block:last-child { margin-bottom: 0; }
.feature-desc h2 { font-size: 24px; color: var(--primary-dark); margin-bottom: 14px; position: relative; padding-bottom: 12px; }
.feature-desc h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; border-radius: 2px; background: var(--accent); }
.feature-desc p { font-size: 14px; color: var(--text-light); margin-bottom: 12px; }
.feature-desc ul li { padding: 5px 0 5px 26px; position: relative; font-size: 14px; }
.feature-desc ul li::before { content: "◆"; position: absolute; left: 0; color: var(--primary); font-size: 12px; top: 7px; }
.feature-visual {
  background: var(--primary-light); border-radius: var(--radius); min-height: 240px;
  display: flex; align-items: center; justify-content: center; font-size: 72px;
  border: 1px dashed var(--primary);
}

/* ---------------- 关于页 ---------------- */
.about-company { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-company h2 { font-size: 24px; color: var(--primary-dark); margin-bottom: 14px; }
.about-company p { font-size: 14px; color: var(--text-light); margin-bottom: 12px; }
.about-info { background: var(--primary-light); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); }
.about-info h3 { color: var(--primary-dark); margin-bottom: 14px; }
.about-info ul li { padding: 8px 0; font-size: 14px; border-bottom: 1px dashed var(--border); }
.about-info ul li:last-child { border-bottom: none; }
.about-info a { font-weight: 600; }

/* ---------------- 联系我们 ---------------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.contact-form h2 { font-size: 22px; color: var(--primary-dark); margin-bottom: 22px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group label .required { color: var(--danger); }
.form-control {
  width: 100%; padding: 11px 14px; font-size: 15px; color: var(--text);
  border: 1px solid #cbd8e4; border-radius: 8px; background: #fbfdff; transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(11,95,165,.15); background: #fff; }
textarea.form-control { resize: vertical; min-height: 110px; }
.captcha-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.captcha-row .form-control { width: 150px; flex-shrink: 0; }
.captcha-img { height: 44px; border-radius: 8px; border: 1px solid var(--border); cursor: pointer; }
.captcha-tip { font-size: 12px; color: var(--text-light); }
.form-hint { font-size: 12px; color: var(--text-light); margin-top: 4px; }
.form-alert { padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 18px; }
.form-alert.success { background: #e7f6ec; color: var(--success); border: 1px solid #b9e3c8; }
.form-alert.error { background: #fdecec; color: var(--danger); border: 1px solid #f3c1c1; }
.contact-side { display: flex; flex-direction: column; gap: 22px; }
.contact-card { background: var(--primary-light); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.contact-card h3 { color: var(--primary-dark); font-size: 17px; margin-bottom: 14px; }
.contact-card ul li { padding: 7px 0; font-size: 14px; }
.contact-card ul li a { font-weight: 600; }
.contact-tip { background: #fff; border-left: 4px solid var(--accent); border-radius: 6px; padding: 14px 18px; font-size: 13px; color: var(--text-light); box-shadow: var(--shadow); }

/* ---------------- 页脚 ---------------- */
.site-footer { background: #0d2b45; color: #c8d6e2; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 34px; padding: 46px 20px 30px; }
.footer-title { color: #fff; font-size: 16px; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 3px; background: var(--accent); border-radius: 2px; }
.footer-about p { font-size: 13px; line-height: 1.9; }
.footer-links li { padding: 4px 0; }
.footer-links a { color: #c8d6e2; font-size: 14px; }
.footer-links a:hover { color: var(--accent); }
.footer-info li { padding: 6px 0; font-size: 13px; }
.footer-info a { color: #c8d6e2; }
.footer-info a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; }
.footer-bottom p { font-size: 12px; text-align: center; color: #93a9bd; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; padding: 40px 20px; }
  .hero h1 { font-size: 32px; }
  .card-grid, .device-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-steps { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .flow-step::after { display: none; }
  .contact-grid, .about-company, .feature-block { grid-template-columns: 1fr; }
  .feature-block:nth-child(even) .feature-desc { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .header-inner { flex-direction: column; text-align: center; }
  .header-contact { text-align: center; }
  .logo-text strong { font-size: 17px; }
  .nav-list a { padding: 12px 8px; font-size: 14px; letter-spacing: 1px; }
  .page-banner { padding: 38px 20px; }
  .page-banner h1 { font-size: 26px; }
  .section { padding: 44px 0; }
  .section-head h2 { font-size: 24px; }
  .card-grid, .device-grid, .pain-grid { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 18px; }
  .hero h1 { font-size: 26px; }
  .hero-actions .btn { width: 100%; }
}
