/* ============================================================
   安徽巴克德 - 全局样式
   ============================================================ */

:root {
  --primary: #0e9aa8;          /* 主色 - 青蓝 */
  --primary-dark: #0a7a85;
  --primary-light: #4ab8c2;
  --secondary: #0c4a6e;        /* 深蓝 */
  --accent: #f59e0b;           /* 强调色 */
  --text: #1e293b;             /* 主文本 */
  --text-light: #64748b;       /* 次要文本 */
  --border: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-dark: #0f172a;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow: 0 4px 12px rgba(15, 23, 42, .08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, .12);
  --radius: 8px;
  --radius-lg: 14px;
  --transition: .25s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.3; color: var(--text); }

.container { width: min(1200px, 92%); margin: 0 auto; }

/* ============================================================
   Header
   ============================================================ */
.site-header-wrap { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 2px 12px rgba(0, 0, 0, .06); }
body { padding-top: 73px; }
.topbar {
  background: var(--secondary);
  color: #cbd5e1;
  font-size: 12.5px;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: #cbd5e1; }
.topbar a:hover { color: #fff; }
.topbar-info span + span { margin-left: 22px; }

.header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
  color: var(--secondary);
}
.brand-logo {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -1px;
}
.brand small { display: block; font-size: 11px; color: var(--text-light); font-weight: 400; }

/* 原图 Logo（用户提供的素材，保持原样，仅控制显示尺寸） */
.brand-logo-wrap { padding: 0; gap: 0; }
.brand-logo-wrap:hover { color: inherit; }
.logo-img { display: block; width: auto; max-width: 100%; }
.brand-logo-wrap .logo-img { height: 40px; }   /* Header 左上角原图高度 */
.footer-brand { display: inline-block; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; padding: 14px 20px; margin-bottom: 20px; }
.footer-brand .logo-img { height: 68px; margin-bottom: 0; }
@media (max-width: 600px) {
  .brand-logo-wrap .logo-img { height: 30px; }
  .footer-brand .logo-img { height: 44px; }
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 18px;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  border-radius: 6px;
  position: relative;
}
.nav a:hover, .nav a.active { color: var(--primary); }
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(14, 154, 168, .25);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-sm { padding: 6px 14px; font-size: 13px; }

/* ============================================================
   Hero Banner
   ============================================================ */
.hero {
  position: relative;
  min-height: 560px;
  background:
    linear-gradient(120deg, rgba(12, 74, 110, .92) 0%, rgba(14, 154, 168, .85) 100%),
    radial-gradient(at 80% 20%, rgba(245, 158, 11, .35), transparent 50%),
    radial-gradient(at 20% 80%, rgba(14, 154, 168, .5), transparent 50%),
    #0c4a6e;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner { padding: 80px 0; position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 30px;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 54px);
  color: #fff;
  margin-bottom: 20px;
  max-width: 800px;
}
.hero h1 span { color: #fbbf24; }
.hero p.lead {
  font-size: 17px;
  max-width: 620px;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-actions .btn-primary { background: #fbbf24; color: #1e293b; }
.hero-actions .btn-primary:hover { background: #f59e0b; color: #1e293b; }
.hero-actions .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.hero-actions .btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ============================================================
   Section
   ============================================================ */
.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--bg-dark); color: #fff; }

.section-head { text-align: center; margin-bottom: 56px; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 13px;
  color: var(--primary);
  letter-spacing: 2px;
  margin-bottom: 12px;
  font-weight: 600;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 14px;
}
.section-head p {
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto;
  font-size: 16px;
}

/* ============================================================
   产品卡片
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.product-card:hover::before { transform: scaleX(1); }
.product-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(14, 154, 168, .12), rgba(12, 74, 110, .12));
  color: var(--primary);
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 28px;
  margin-bottom: 22px;
}
.product-card h3 { font-size: 20px; margin-bottom: 12px; }
.product-card p { color: var(--text-light); margin-bottom: 20px; font-size: 14.5px; min-height: 64px; }
.product-card .link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}
.product-card .link::after { content: '→'; transition: transform .2s; }
.product-card:hover .link::after { transform: translateX(4px); }

/* ============================================================
   服务优势 (按参考图)
   ============================================================ */
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.feature-col {
  padding: 48px 36px;
  background: #fff;
  border-right: 1px solid var(--border);
  text-align: center;
}
.feature-col:last-child { border-right: 0; }
.feature-col p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 28px;
  min-height: 130px;
}
.feature-col .cta {
  display: block;
  background: var(--primary);
  color: #fff;
  padding: 16px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
}
.feature-col .cta:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14, 154, 168, .25);
}

/* ============================================================
   数据统计
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stat-item {
  text-align: center;
  padding: 30px 20px;
}
.stat-num {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.stat-label { color: rgba(255, 255, 255, .8); font-size: 15px; }

/* ============================================================
   客户案例
   ============================================================ */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.case-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  position: relative;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}
.case-thumb.tag-orange { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.case-thumb.tag-green { background: linear-gradient(135deg, #10b981, #059669); }
.case-thumb.tag-purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.case-body { padding: 24px; }
.case-body .industry {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(14, 154, 168, .1);
  color: var(--primary);
  border-radius: 30px;
  font-size: 12px;
  margin-bottom: 10px;
}
.case-body h4 { font-size: 18px; margin-bottom: 10px; }
.case-body p { color: var(--text-light); font-size: 14px; }

/* ============================================================
   行业Logo墙
   ============================================================ */
.industry-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}
.industry-tag {
  padding: 22px 16px;
  background: #fff;
  border-radius: var(--radius);
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.industry-tag:hover { border-color: var(--primary); color: var(--primary); }

/* ============================================================
   About / 联系
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text h2 { font-size: 32px; margin-bottom: 18px; }
.about-text p { color: var(--text-light); margin-bottom: 16px; }
.about-points { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
}
.about-points li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: rgba(14, 154, 168, .12);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
}
.about-visual {
  height: 380px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(14, 154, 168, .1), rgba(12, 74, 110, .1)),
    repeating-linear-gradient(45deg, transparent 0 20px, rgba(14, 154, 168, .05) 20px 21px);
  display: grid;
  place-items: center;
  position: relative;
  border: 1px solid var(--border);
}
.about-visual .big {
  font-size: 120px;
  font-weight: 800;
  color: rgba(14, 154, 168, .15);
}

/* ============================================================
   联系我们
   ============================================================ */
.contact-card {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
}
.contact-card h2 { color: #fff; font-size: 32px; margin-bottom: 14px; }
.contact-card p { color: rgba(255, 255, 255, .85); margin-bottom: 30px; }
.contact-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.contact-actions .btn-primary { background: #fbbf24; color: #1e293b; }
.contact-actions .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: #f8fafc;
  color: #475569;
  padding: 56px 0 0;
}
.footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 40px;
}
.footer h5 { color: #0c2538; font-size: 16px; margin-bottom: 18px; font-weight: 600; }
.footer ul li { margin-bottom: 10px; font-size: 14px; color: #475569; }
.footer ul a:hover { color: #0c2538; }
.footer p { font-size: 14px; line-height: 1.8; color: #475569; }

.footer-hq { display: flex; align-items: center; gap: 28px; }
.footer-hq-skyline { flex: 0 0 auto; width: 240px; }
.footer-hq-skyline svg { width: 100%; height: auto; display: block; }
.footer-hq-info h4 { font-size: 22px; color: #0c2538; margin-bottom: 14px; font-weight: 800; letter-spacing: 3px; }
.footer-hq-info ul { list-style: none; padding: 0; margin: 0; }
.footer-hq-info li { color: #475569; font-size: 14px; padding: 6px 0; display: flex; gap: 10px; align-items: center; }
.fhi-ico { font-size: 16px; width: 22px; flex-shrink: 0; text-align: center; }

.qr-section { background: #f8fafc; }
.qr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 960px; margin: 10px auto 0; }
.qr-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 20px 22px; display: flex; flex-direction: column; align-items: center; transition: var(--transition); }
.qr-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.qr-card img { width: 180px; height: 180px; object-fit: contain; margin-bottom: 16px; }
.qr-card h4 { font-size: 17px; color: var(--secondary); margin-bottom: 8px; font-weight: 700; }
.qr-card p { color: var(--text-light); font-size: 13.5px; line-height: 1.7; }
@media (max-width: 900px) { .qr-grid { grid-template-columns: 1fr; gap: 16px; max-width: 320px; } }
@media (max-width: 500px) { .qr-grid { grid-template-columns: 1fr; } }

.copyright {
  border-top: 1px solid #e2e8f0;
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

/* ============================================================
   表单
   ============================================================ */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 14px; }
.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  transition: border .2s, box-shadow .2s;
  background: #fff;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 154, 168, .15);
}
textarea.form-control { resize: vertical; min-height: 120px; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 900px) {
  .feature-row, .stats { grid-template-columns: 1fr; }
  .feature-col { border-right: 0; border-bottom: 1px solid var(--border); }
  .about-grid { grid-template-columns: 1fr; }
  .footer .container { grid-template-columns: 1fr 1fr; gap: 30px; }
  .nav { display: none; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .footer .container { grid-template-columns: 1fr; }
  .topbar-info span + span { margin-left: 12px; }
  .contact-card { padding: 40px 24px; }
}
