/* ==========================================
   华建净 - 华为云风格高端企业网站设计系统
   版本: 8.0 华为云风格
   ========================================== */

:root {
  --brand: #6B8E81;
  --brand-dark: #4a665c;
  --brand-light: #8fb0a5;
  --accent: #e8590c;
  --dark: #0a1628;
  --dark2: #142033;
  --dark3: #1a2942;
  --text-main: #1f2329;
  --text-sub: #4e5969;
  --text-light: #86909c;
  --text-muted: #c9cdd4;
  --bg-white: #ffffff;
  --bg-page: #f2f3f5;
  --bg-card: #ffffff;
  --border: #e5e6eb;
  --border-light: #f2f3f5;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.16);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-sm: 4px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
  --font: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "SF Mono", "Fira Code", monospace;
}

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

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text-main);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 14px;
}

a { color: var(--brand); text-decoration: none; transition: var(--transition-fast); }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; height: auto; display: block; }

/* ===== 通用按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; padding: 10px 24px; border-radius: 6px;
  font-size: 14px; font-weight: 500; cursor: pointer;
  transition: var(--transition); border: none; text-decoration: none;
  line-height: 1.5;
}
.btn-primary {
  background: var(--brand); color: #fff;
  box-shadow: 0 4px 12px rgba(107,142,129,0.3);
}
.btn-primary:hover {
  background: var(--brand-dark); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(107,142,129,0.4);
}
.btn-outline {
  background: transparent; color: var(--brand);
  border: 1px solid var(--brand);
}
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-white {
  background: #fff; color: var(--text-main);
  border: 1px solid var(--border);
}
.btn-white:hover { background: var(--bg-page); border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-sm { padding: 6px 16px; font-size: 12px; }

/* ===== 顶部导航 - 华为云风格 ===== */
.top-nav {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 10000; height: 64px;
  transition: var(--transition);
}
.top-nav.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,0.98);
}
.top-nav-inner {
  max-width: 1440px; margin: 0 auto;
  padding: 0 48px; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
@media (max-width: 768px) { .top-nav-inner { padding: 0 20px; } }

.top-nav-logo { display: flex; align-items: center; gap: 12px; }
.top-nav-logo img { height: 40px; width: auto; }
.top-nav-logo span {
  font-size: 18px; font-weight: 700; color: var(--text-main); letter-spacing: 0.5px;
}

.top-nav-menu { display: flex; align-items: center; gap: 0; list-style: none; }
.top-nav-menu > li { position: relative; }
.top-nav-menu > li > a {
  display: flex; align-items: center; gap: 4px;
  padding: 0 18px; height: 64px;
  font-size: 14px; color: var(--text-sub); font-weight: 500;
  text-decoration: none; transition: var(--transition-fast);
  white-space: nowrap;
}
.top-nav-menu > li > a:hover { color: var(--brand); }
.top-nav-menu > li > a .arrow {
  font-size: 10px; transition: var(--transition-fast); color: var(--text-light);
}
.top-nav-menu > li:hover > a .arrow { transform: rotate(180deg); color: var(--brand); }

/* 下拉菜单 */
.nav-dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 600px; max-width: 800px;
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl); border: 1px solid var(--border-light);
  opacity: 0; visibility: hidden; transition: var(--transition);
  padding: 24px; z-index: 10001;
}
.top-nav-menu > li:hover .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.dropdown-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px; border-radius: var(--radius);
  transition: var(--transition-fast); text-decoration: none;
}
.dropdown-item:hover { background: var(--bg-page); }
.dropdown-item .icon-box {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: rgba(107,142,129,0.1); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.dropdown-item .info h5 { font-size: 14px; font-weight: 600; color: var(--text-main); margin-bottom: 4px; }
.dropdown-item .info p { font-size: 12px; color: var(--text-light); line-height: 1.5; margin: 0; }

.top-nav-right { display: flex; align-items: center; gap: 16px; }
.top-nav-search {
  position: relative; width: 240px;
}
.top-nav-search input {
  width: 100%; height: 36px; border: 1px solid var(--border);
  border-radius: 18px; padding: 0 36px 0 14px;
  font-size: 13px; color: var(--text-sub); background: var(--bg-page);
  transition: var(--transition-fast); outline: none;
}
.top-nav-search input:focus {
  border-color: var(--brand); background: #fff;
  box-shadow: 0 0 0 3px rgba(107,142,129,0.08);
}
.top-nav-search button {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  border: none; background: none; color: var(--text-light);
  cursor: pointer; font-size: 14px;
}
.top-nav-phone {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--accent);
}
.top-nav-phone i { font-size: 16px; }

/* 移动端菜单按钮 */
.mobile-menu-btn {
  display: none; width: 40px; height: 40px;
  align-items: center; justify-content: center;
  cursor: pointer; flex-direction: column; gap: 5px;
}
.mobile-menu-btn span {
  display: block; width: 22px; height: 2px; background: var(--text-main);
  border-radius: 2px; transition: var(--transition-fast);
}
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* 移动端遮罩和菜单 */
.mobile-nav-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 9999; opacity: 0; visibility: hidden;
  transition: var(--transition);
}
.mobile-nav-overlay.active { opacity: 1; visibility: visible; }
.mobile-nav-panel {
  position: fixed; top: 64px; right: -100%; width: 80%; max-width: 360px;
  height: calc(100vh - 64px); background: #fff;
  z-index: 10000; transition: right 0.35s ease;
  overflow-y: auto; padding: 20px;
  box-shadow: -5px 0 30px rgba(0,0,0,0.15);
}
.mobile-nav-panel.active { right: 0; }
.mobile-nav-panel ul { list-style: none; }
.mobile-nav-panel ul li { border-bottom: 1px solid var(--border-light); }
.mobile-nav-panel ul li a {
  display: block; padding: 14px 0;
  font-size: 15px; color: var(--text-main); font-weight: 500;
}
.mobile-nav-panel ul li a:hover { color: var(--brand); padding-left: 5px; }

@media (max-width: 991px) {
  .top-nav-menu, .top-nav-search { display: none; }
  .mobile-menu-btn { display: flex; }
  .top-nav { height: 56px; }
  .top-nav-logo img { height: 34px; }
  .top-nav-phone { font-size: 13px; }
}

/* ===== Hero区域 - 华为云风格深色渐变 ===== */
.hero-section {
  position: relative; min-height: 680px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 50%, var(--dark3) 100%);
  display: flex; align-items: center; overflow: hidden;
  padding-top: 64px;
}
@media (max-width: 991px) { .hero-section { min-height: 520px; padding-top: 56px; } }

.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(107,142,129,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(107,142,129,0.05) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(107,142,129,0.06) 0%, transparent 45%);
}
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 48px;
  width: 100%; position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
@media (max-width: 991px) {
  .hero-inner { grid-template-columns: 1fr; padding: 0 20px; text-align: center; gap: 30px; }
}

.hero-content .tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 50px;
  background: rgba(107,142,129,0.15); color: var(--brand-light);
  font-size: 13px; font-weight: 500; margin-bottom: 24px;
  border: 1px solid rgba(107,142,129,0.2);
}
.hero-content h1 {
  font-size: 52px; font-weight: 700; color: #fff;
  line-height: 1.2; margin-bottom: 20px; letter-spacing: -0.5px;
}
@media (max-width: 991px) { .hero-content h1 { font-size: 32px; } }
@media (max-width: 480px) { .hero-content h1 { font-size: 26px; } }
.hero-content .hero-desc {
  font-size: 18px; color: rgba(255,255,255,0.65);
  line-height: 1.8; margin-bottom: 32px; max-width: 560px;
}
@media (max-width: 991px) { .hero-content .hero-desc { font-size: 15px; margin: 0 auto 24px; } }
.hero-content .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 991px) { .hero-content .hero-actions { justify-content: center; } }

.hero-stats {
  display: flex; gap: 40px; margin-top: 48px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 991px) { .hero-stats { justify-content: center; gap: 30px; } }
.hero-stats .stat h4 { font-size: 36px; font-weight: 700; color: #fff; line-height: 1; margin-bottom: 6px; }
.hero-stats .stat h4 span { font-size: 16px; color: var(--brand-light); font-weight: 500; }
.hero-stats .stat p { font-size: 13px; color: rgba(255,255,255,0.5); margin: 0; }

.hero-visual {
  position: relative; display: flex; align-items: center; justify-content: center;
}
.hero-visual img {
  border-radius: var(--radius-xl); box-shadow: var(--shadow-xl);
  max-height: 420px; object-fit: cover; width: 100%;
  border: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 991px) { .hero-visual { display: none; } }

/* ===== 通用区块标题 - 华为云风格 ===== */
.section-header {
  text-align: center; margin-bottom: 60px;
}
.section-header .section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--brand); font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px;
}
.section-header .section-label::before,
.section-header .section-label::after {
  content: ''; width: 20px; height: 2px; background: var(--brand); border-radius: 2px;
}
.section-header h2 {
  font-size: 36px; font-weight: 700; color: var(--text-main);
  line-height: 1.3; margin-bottom: 12px;
}
@media (max-width: 768px) { .section-header h2 { font-size: 26px; } }
.section-header p {
  font-size: 16px; color: var(--text-light); max-width: 600px;
  margin: 0 auto; line-height: 1.7;
}

/* ===== 产品服务 - 华为云风格卡片 ===== */
.section-light { background: var(--bg-page); }
.section-white { background: var(--bg-white); }
.section-dark { background: var(--dark); }
.section-padding { padding: 100px 0; }
@media (max-width: 768px) { .section-padding { padding: 60px 0; } }

.container-hw {
  max-width: 1440px; margin: 0 auto; padding: 0 48px;
}
@media (max-width: 768px) { .container-hw { padding: 0 20px; } }

.service-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
@media (max-width: 1199px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .service-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 480px) { .service-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--bg-card); border-radius: var(--radius-lg);
  padding: 32px 24px; border: 1px solid var(--border);
  transition: var(--transition); cursor: pointer;
  position: relative; overflow: hidden;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(107,142,129,0.2);
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--brand), var(--brand-light));
  transform: scaleX(0); transition: var(--transition); border-radius: 3px 3px 0 0;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card .card-img {
  position: relative;
  height: 160px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f0f0f0;
  margin-bottom: 20px;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.service-card:hover .card-img {
  transform: scale(1.05);
}
.service-card h4 {
  font-size: 17px; font-weight: 600; color: var(--text-main);
  margin-bottom: 10px; line-height: 1.4;
}
.service-card p {
  font-size: 13px; color: var(--text-light); line-height: 1.7;
  margin-bottom: 16px;
}
.service-card .card-link {
  font-size: 13px; font-weight: 500; color: var(--brand);
  display: inline-flex; align-items: center; gap: 4px;
}
.service-card .card-link::after {
  content: '→'; transition: var(--transition-fast); font-size: 11px;
}
.service-card:hover .card-link::after { transform: translateX(4px); }

/* ===== 解决方案 - 深色背景区 ===== */
.solution-section {
  background: var(--dark); position: relative; overflow: hidden;
}
.solution-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 50% 50%, rgba(107,142,129,0.06) 0%, transparent 60%);
}
.solution-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  position: relative; z-index: 1;
}
@media (max-width: 991px) { .solution-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .solution-grid { grid-template-columns: 1fr; } }

.solution-card {
  background: var(--dark2); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition); cursor: pointer;
}
.solution-card:hover {
  border-color: rgba(107,142,129,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.solution-card .sol-img {
  position: relative; padding-top: 56%; overflow: hidden;
  background: var(--dark3);
}
.solution-card .sol-img .bg-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.6s ease;
}
.solution-card:hover .sol-img .bg-img { transform: scale(1.08); }
.solution-card .sol-img .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--dark2) 0%, transparent 60%);
}
.solution-card .sol-body { padding: 24px; }
.solution-card .sol-body h4 { font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.solution-card .sol-body p { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 16px; }
.solution-card .sol-body .sol-link {
  font-size: 13px; font-weight: 500; color: var(--brand-light);
  display: inline-flex; align-items: center; gap: 4px;
}
.solution-card .sol-body .sol-link::after {
  content: '→'; transition: var(--transition-fast); font-size: 11px;
}
.solution-card:hover .sol-body .sol-link::after { transform: translateX(4px); }

/* ===== 案例展示 - 横向卡片 ===== */
.case-grid-hw {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 991px) { .case-grid-hw { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .case-grid-hw { grid-template-columns: 1fr; } }

.case-card-hw {
  background: var(--bg-card); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--border);
  transition: var(--transition); cursor: pointer;
}
.case-card-hw:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: rgba(107,142,129,0.15);
}
.case-card-hw .case-img {
  position: relative; padding-top: 60%; overflow: hidden; background: #f0f0f0;
}
.case-card-hw .case-img .bg-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.6s ease;
}
.case-card-hw:hover .case-img .bg-img { transform: scale(1.08); }
.case-card-hw .case-body { padding: 24px; }
.case-card-hw .case-body .tag {
  display: inline-block; padding: 3px 10px; border-radius: 4px;
  background: rgba(107,142,129,0.1); color: var(--brand);
  font-size: 12px; font-weight: 500; margin-bottom: 10px;
}
.case-card-hw .case-body h4 { font-size: 17px; font-weight: 600; color: var(--text-main); margin-bottom: 8px; line-height: 1.4; }
.case-card-hw .case-body p { font-size: 13px; color: var(--text-light); line-height: 1.7; }

/* ===== 优势 - 数字大标题 ===== */
.advantage-grid-hw {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
}
@media (max-width: 991px) { .advantage-grid-hw { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .advantage-grid-hw { grid-template-columns: 1fr; } }

.advantage-item-hw {
  background: var(--bg-card); padding: 48px 32px;
  border-right: 1px solid var(--border); transition: var(--transition);
  text-align: center;
}
.advantage-item-hw:last-child { border-right: none; }
@media (max-width: 991px) { .advantage-item-hw { border-right: none; border-bottom: 1px solid var(--border); } }
.advantage-item-hw:hover { background: var(--bg-page); }
.advantage-item-hw .num {
  font-size: 48px; font-weight: 700; color: var(--brand);
  line-height: 1; margin-bottom: 16px; opacity: 0.8;
}
.advantage-item-hw h4 { font-size: 18px; font-weight: 600; color: var(--text-main); margin-bottom: 10px; }
.advantage-item-hw p { font-size: 13px; color: var(--text-light); line-height: 1.7; }

/* ===== 新闻 - 简洁列表 ===== */
.news-list-hw {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
@media (max-width: 768px) { .news-list-hw { grid-template-columns: 1fr; } }

.news-item-hw {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px; background: var(--bg-card);
  border-radius: var(--radius); border: 1px solid var(--border);
  transition: var(--transition); text-decoration: none; color: inherit;
}
.news-item-hw:hover {
  border-color: var(--brand); box-shadow: var(--shadow-sm);
  transform: translateX(4px); text-decoration: none; color: inherit;
}
.news-item-hw .news-date {
  flex-shrink: 0; text-align: center; min-width: 56px;
}
.news-item-hw .news-date .day { font-size: 28px; font-weight: 700; color: var(--brand); line-height: 1; }
.news-item-hw .news-date .month { font-size: 12px; color: var(--text-light); text-transform: uppercase; }
.news-item-hw .news-body { flex: 1; min-width: 0; }
.news-item-hw .news-body h5 { font-size: 15px; font-weight: 600; color: var(--text-main); margin-bottom: 4px; line-height: 1.5; transition: var(--transition-fast); }
.news-item-hw:hover .news-body h5 { color: var(--brand); }
.news-item-hw .news-body p { font-size: 13px; color: var(--text-light); margin: 0; line-height: 1.5; }
.news-item-hw .news-arrow { color: var(--text-muted); font-size: 14px; transition: var(--transition-fast); }
.news-item-hw:hover .news-arrow { color: var(--brand); transform: translateX(4px); }

/* ===== Footer - 华为云深色风格 ===== */
.footer-hw {
  background: var(--dark); color: rgba(255,255,255,0.6);
  position: relative; border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-hw .footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px; padding: 80px 0 48px;
}
@media (max-width: 1199px) { .footer-hw .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 40px; } }
@media (max-width: 768px) { .footer-hw .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; padding: 50px 0 30px; } }
@media (max-width: 480px) { .footer-hw .footer-grid { grid-template-columns: 1fr; } }

.footer-hw .footer-brand .logo-row {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.footer-hw .footer-brand .logo-row img { height: 36px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-hw .footer-brand .logo-row span { font-size: 18px; font-weight: 700; color: #fff; }
.footer-hw .footer-brand p { font-size: 13px; line-height: 1.8; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.footer-hw .footer-brand .footer-contact p {
  font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.footer-hw .footer-brand .footer-contact i { color: var(--brand-light); font-size: 13px; }
.footer-hw .footer-brand .footer-contact a { color: rgba(255,255,255,0.7); }
.footer-hw .footer-brand .footer-contact a:hover { color: #fff; }
.footer-hw .footer-brand .qrcode-row {
  display: flex; gap: 16px; margin-top: 20px;
}
.footer-hw .footer-brand .qrcode-row .qrcode-box {
  text-align: center;
}
.footer-hw .footer-brand .qrcode-row .qrcode-box img {
  width: 100px; height: 100px; border-radius: 4px; margin-bottom: 6px;
  background: #fff; padding: 4px;
}
.footer-hw .footer-brand .qrcode-row .qrcode-box span {
  font-size: 11px; color: rgba(255,255,255,0.4);
}

.footer-hw .footer-col h5 {
  font-size: 14px; font-weight: 600; color: #fff;
  margin-bottom: 20px; letter-spacing: 0.5px;
}
.footer-hw .footer-col ul { list-style: none; }
.footer-hw .footer-col ul li { margin-bottom: 10px; }
.footer-hw .footer-col ul li a {
  font-size: 13px; color: rgba(255,255,255,0.55);
  text-decoration: none; transition: var(--transition-fast);
  display: flex; align-items: center; gap: 6px;
}
.footer-hw .footer-col ul li a:hover { color: #fff; padding-left: 4px; }

.footer-copyright-hw {
  border-top: 1px solid rgba(255,255,255,0.06); padding: 24px 0;
  text-align: center;
}
.footer-copyright-hw p { font-size: 12px; color: rgba(255,255,255,0.35); margin-bottom: 8px; }
.footer-copyright-hw a { color: rgba(255,255,255,0.45); margin: 0 10px; font-size: 12px; }
.footer-copyright-hw a:hover { color: #fff; }

/* ===== 悬浮按钮 - 右侧 ===== */
.float-bar {
  position: fixed; right: 24px; bottom: 100px;
  z-index: 9998; display: flex; flex-direction: column; gap: 12px;
}
.float-bar .float-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition);
  border: 1px solid var(--border); color: var(--text-sub); font-size: 18px;
  text-decoration: none;
}
.float-bar .float-btn:hover {
  background: var(--brand); color: #fff; border-color: var(--brand);
  transform: scale(1.1); box-shadow: 0 8px 24px rgba(107,142,129,0.4);
}
.float-bar .float-btn .tip {
  position: absolute; right: 60px; top: 50%; transform: translateY(-50%);
  background: var(--dark); color: #fff; padding: 8px 14px;
  border-radius: 6px; font-size: 12px; white-space: nowrap;
  opacity: 0; visibility: hidden; transition: var(--transition);
  pointer-events: none;
}
.float-bar .float-btn .tip::after {
  content: ''; position: absolute; right: -6px; top: 50%; transform: translateY(-50%);
  border-top: 6px solid transparent; border-bottom: 6px solid transparent;
  border-left: 6px solid var(--dark);
}
.float-bar .float-btn:hover .tip { opacity: 1; visibility: visible; right: 65px; }

@media (max-width: 991px) { .float-bar { display: none; } }

/* ===== 移动端底部栏 ===== */
.mobile-bottom-bar-hw {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff; box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
  z-index: 9999; display: none; border-top: 1px solid var(--border);
}
.mobile-bottom-bar-hw a {
  flex: 1; text-align: center; padding: 10px 0;
  color: var(--text-sub); font-size: 11px;
  text-decoration: none; display: flex; flex-direction: column;
  align-items: center; gap: 3px; transition: var(--transition-fast);
  border-right: 1px solid var(--border-light);
}
.mobile-bottom-bar-hw a:last-child { border-right: none; }
.mobile-bottom-bar-hw a i { font-size: 18px; }
.mobile-bottom-bar-hw a.active, .mobile-bottom-bar-hw a:hover { color: var(--brand); background: rgba(107,142,129,0.04); }
.mobile-bottom-bar-hw a.zx {
  background: var(--brand); color: #fff;
}
.mobile-bottom-bar-hw a.zx:hover { color: #fff; opacity: 0.9; }

@media (max-width: 991px) { .mobile-bottom-bar-hw { display: flex; } body { padding-bottom: 56px; } }

/* ===== 弹窗 ===== */
.popup-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px); z-index: 10001;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: var(--transition);
}
.popup-overlay.active { opacity: 1; visibility: visible; }
.popup-box {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl); max-width: 480px; width: 90%;
  transform: translateY(20px) scale(0.95); transition: var(--transition);
  overflow: hidden;
}
.popup-overlay.active .popup-box { transform: translateY(0) scale(1); }
.popup-header {
  background: var(--dark); color: #fff; padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.popup-header h3 { font-size: 16px; font-weight: 600; margin: 0; }
.popup-header .close { color: rgba(255,255,255,0.6); font-size: 20px; cursor: pointer; transition: var(--transition-fast); }
.popup-header .close:hover { color: #fff; transform: rotate(90deg); }
.popup-body { padding: 24px; }
.popup-body .form-group { margin-bottom: 16px; }
.popup-body .form-group label { display: block; font-size: 13px; color: var(--text-sub); margin-bottom: 6px; font-weight: 500; }
.popup-body .form-group input,
.popup-body .form-group textarea {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 14px; color: var(--text-main);
  background: var(--bg-page); transition: var(--transition-fast); outline: none;
}
.popup-body .form-group input:focus,
.popup-body .form-group textarea:focus {
  border-color: var(--brand); background: #fff;
  box-shadow: 0 0 0 3px rgba(107,142,129,0.08);
}
.popup-body .submit-btn {
  width: 100%; padding: 12px; background: var(--brand);
  color: #fff; border: none; border-radius: var(--radius);
  font-size: 15px; font-weight: 500; cursor: pointer; transition: var(--transition);
}
.popup-body .submit-btn:hover { background: var(--brand-dark); }

/* ===== 微信弹窗 ===== */
.weixin-popup-box {
  text-align: center; padding: 30px;
}
.weixin-popup-box img { width: 200px; height: 200px; border-radius: var(--radius); margin-bottom: 12px; }
.weixin-popup-box p { font-size: 14px; color: var(--text-sub); }

/* ===== 响应式通用 ===== */
@media (max-width: 768px) {
  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: 26px; }
  .section-header p { font-size: 14px; }
  .section-padding { padding: 60px 0; }
}

/* ===== 滚动条 ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-page); }
::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-light); }

/* ===== 动画 ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-up { animation: fadeUp 0.6s ease forwards; }

/* ===== 列表页 & 内容页兼容 ===== */
.page-banner-hw {
  position: relative; height: 320px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; margin-top: 64px;
}
@media (max-width: 991px) { .page-banner-hw { margin-top: 56px; height: 240px; } }
.page-banner-hw::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 50% 50%, rgba(107,142,129,0.1) 0%, transparent 60%);
}
.page-banner-hw .banner-inner {
  text-align: center; position: relative; z-index: 1;
}
.page-banner-hw .banner-inner h2 { font-size: 36px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.page-banner-hw .banner-inner p { font-size: 15px; color: rgba(255,255,255,0.55); margin: 0; }
@media (max-width: 768px) { .page-banner-hw .banner-inner h2 { font-size: 24px; } }

.breadcrumb-hw {
  background: var(--bg-page); border-bottom: 1px solid var(--border);
  padding: 12px 0; font-size: 13px; color: var(--text-light);
}
.breadcrumb-hw a { color: var(--text-sub); }
.breadcrumb-hw a:hover { color: var(--brand); }
.breadcrumb-hw .sep { margin: 0 8px; color: var(--text-muted); }

.content-layout {
  display: grid; grid-template-columns: 280px 1fr; gap: 32px;
  padding: 40px 0;
}
@media (max-width: 991px) { .content-layout { grid-template-columns: 1fr; } }

.sidebar-hw {
  background: var(--bg-card); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden; height: fit-content;
  position: sticky; top: 80px;
}
.sidebar-hw .sidebar-head {
  background: var(--dark); color: #fff; padding: 16px 20px;
  font-size: 15px; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.sidebar-hw .sidebar-body { padding: 8px 0; }
.sidebar-hw .sidebar-body a {
  display: block; padding: 12px 20px; font-size: 14px;
  color: var(--text-sub); border-left: 3px solid transparent;
  transition: var(--transition-fast); text-decoration: none;
}
.sidebar-hw .sidebar-body a:hover,
.sidebar-hw .sidebar-body a.active {
  color: var(--brand); background: rgba(107,142,129,0.04);
  border-left-color: var(--brand); padding-left: 24px;
}

.main-content-hw {
  background: var(--bg-card); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
}
.main-content-hw .content-head {
  padding: 32px 40px; border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(107,142,129,0.03) 0%, transparent 100%);
}
.main-content-hw .content-head h1 { font-size: 26px; font-weight: 700; color: var(--text-main); margin-bottom: 12px; line-height: 1.4; }
.main-content-hw .content-head .meta { display: flex; gap: 20px; font-size: 13px; color: var(--text-light); flex-wrap: wrap; }
.main-content-hw .content-body { padding: 32px 40px; font-size: 15px; line-height: 1.9; color: var(--text-sub); }
.main-content-hw .content-body img { border-radius: var(--radius); margin: 16px 0; box-shadow: var(--shadow-sm); }
.main-content-hw .content-body p { margin-bottom: 16px; }
.main-content-hw .content-body h2, .main-content-hw .content-body h3 { color: var(--text-main); margin: 24px 0 12px; font-weight: 600; }

@media (max-width: 768px) {
  .main-content-hw .content-head { padding: 20px 24px; }
  .main-content-hw .content-head h1 { font-size: 20px; }
  .main-content-hw .content-body { padding: 20px 24px; font-size: 14px; }
}

/* 分页 */
.pagination-hw {
  display: flex; justify-content: center; gap: 6px; padding: 24px 0;
}
.pagination-hw a, .pagination-hw b {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 12px;
  border-radius: var(--radius-sm); font-size: 13px;
  border: 1px solid var(--border); background: var(--bg-card);
  color: var(--text-sub); text-decoration: none; transition: var(--transition-fast);
}
.pagination-hw a:hover { border-color: var(--brand); color: var(--brand); }
.pagination-hw b { background: var(--brand); border-color: var(--brand); color: #fff; }

/* CTA区块 */
.cta-section-hw {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  border-radius: var(--radius-lg); padding: 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin: 32px 0;
}
@media (max-width: 768px) { .cta-section-hw { flex-direction: column; text-align: center; padding: 30px 24px; } }
.cta-section-hw .cta-text h3 { font-size: 20px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.cta-section-hw .cta-text p { font-size: 14px; color: rgba(255,255,255,0.55); margin: 0; }
.cta-section-hw .cta-btns { display: flex; gap: 12px; flex-shrink: 0; }
@media (max-width: 768px) { .cta-section-hw .cta-btns { flex-wrap: wrap; justify-content: center; } }
