/* ============================================
   璀错商贸企业站 - 现代化样式表 v2.0
   ============================================ */

/* CSS变量 */
:root {
  --primary: #1a56db;
  --primary-dark: #1e429f;
  --primary-light: #e1effe;
  --secondary: #0e9f6e;
  --accent: #f59e0b;
  --danger: #e02424;
  --warning: #c27803;
  --success: #057a55;
  --info: #0366a1;

  --text-900: #111827;
  --text-700: #374151;
  --text-500: #6b7280;
  --text-400: #9ca3af;
  --text-300: #d1d5db;

  --bg-50: #f9fafb;
  --bg-100: #f3f4f6;
  --bg-200: #e5e7eb;
  --bg-white: #ffffff;

  --border: #e5e7eb;
  --border-light: #f3f4f6;

  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);

  --radius-sm: 4px;
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1200px;
}

/* 重置 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-700);
  background: var(--bg-50);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { color: var(--text-900); font-weight: 700; line-height: 1.3; }
h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }
p { margin-bottom: 1rem; }

/* 容器 */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-fluid { width: 100%; padding: 0 20px; }

/* ============================================
   顶部导航
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.navbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: 68px;
  gap: 32px;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-900);
  flex-shrink: 0;
}
.navbar-logo .logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
}
.navbar-logo:hover { color: var(--text-900); }
.navbar-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.navbar-menu a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-700);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}
.navbar-menu a:hover,
.navbar-menu a.active {
  color: var(--primary);
  background: var(--primary-light);
}
.navbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-cart {
  position: relative;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-700);
  font-size: 1.2rem;
}
.nav-cart:hover { background: var(--bg-100); }
.nav-cart .badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--danger);
  color: #fff;
  font-size: 0.65rem;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  font-weight: 700;
}
.btn-nav {
  padding: 7px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}
.btn-nav-outline {
  border-color: var(--border);
  color: var(--text-700);
  background: transparent;
}
.btn-nav-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-nav-primary {
  background: var(--primary);
  color: #fff;
}
.btn-nav-primary:hover { background: var(--primary-dark); color: #fff; }
.nav-user {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-700);
  font-size: 0.9rem;
}
.nav-user:hover { background: var(--bg-100); }
.nav-user .avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-700);
}

/* ============================================
   Banner轮播
   ============================================ */
.banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1e3a8a 0%, #1a56db 50%, #0e9f6e 100%);
}
.banner-slides { position: relative; }
.banner-slide {
  display: none;
  padding: 80px 0;
  color: #fff;
  position: relative;
}
.banner-slide.active { display: block; animation: fadeIn 0.6s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.banner-content { max-width: 600px; }
.banner-tag {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(255,255,255,0.15);
  border-radius: 20px;
  font-size: 0.8rem;
  margin-bottom: 16px;
  backdrop-filter: blur(4px);
}
.banner-slide h1 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1.25;
}
.banner-slide p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 28px;
}
.banner-btns { display: flex; gap: 14px; }
.banner-btn {
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.banner-btn-primary {
  background: #fff;
  color: var(--primary);
}
.banner-btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.banner-btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.banner-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.banner-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.banner-dot.active { background: #fff; width: 28px; border-radius: 5px; }

/* ============================================
   通用区块
   ============================================ */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-white); }
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header .section-tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-500);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   卡片
   ============================================ */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
  overflow: hidden;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.card-body { padding: 24px; }
.card-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 网格 */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }

/* ============================================
   业务入口卡片
   ============================================ */
.business-card {
  padding: 32px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.business-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: var(--transition);
}
.business-card:hover::before { transform: scaleX(1); }
.business-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: var(--primary-light);
  transition: var(--transition);
}
.business-card:hover .business-icon {
  transform: scale(1.1) rotate(-5deg);
  background: var(--primary);
  color: #fff;
}
.business-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.business-card p { color: var(--text-500); font-size: 0.9rem; margin: 0; }

/* ============================================
   数据看板
   ============================================ */
.stats-section {
  background: linear-gradient(135deg, var(--text-900), #1f2937);
  color: #fff;
  padding: 56px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #60a5fa, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.stat-item .stat-label {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ============================================
   平台矩阵
   ============================================ */
.platform-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.platform-card {
  padding: 20px 12px;
  text-align: center;
  border-radius: var(--radius);
  background: var(--bg-white);
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}
.platform-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.platform-card .platform-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
}
.platform-card .platform-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-700);
}
.platform-card .platform-region {
  font-size: 0.7rem;
  color: var(--text-400);
  margin-top: 2px;
}

/* ============================================
   商品卡片
   ============================================ */
.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.product-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--bg-100);
}
.product-info { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-category {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px;
}
.product-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-900);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-desc {
  font-size: 0.85rem;
  color: var(--text-500);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.product-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--danger);
}
.product-price .original {
  font-size: 0.8rem;
  color: var(--text-400);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 6px;
}
.product-btn {
  padding: 6px 14px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.product-btn:hover { background: var(--primary-dark); }

/* ============================================
   资讯卡片
   ============================================ */
.article-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.article-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.article-thumb {
  width: 160px;
  height: 110px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
  background: var(--bg-100);
}
.article-content { flex: 1; min-width: 0; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-400);
  margin-bottom: 8px;
}
.article-meta .tag {
  padding: 2px 8px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 4px;
  font-weight: 600;
}
.article-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-900);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-title:hover { color: var(--primary); }
.article-summary {
  font-size: 0.88rem;
  color: var(--text-500);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   课程卡片
   ============================================ */
.course-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.course-cover {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.5rem;
}
.course-body { padding: 16px; }
.course-level {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.course-level.beginner { background: #dcfce7; color: #166534; }
.course-level.intermediate { background: #fef3c7; color: #92400e; }
.course-level.advanced { background: #fee2e2; color: #991b1b; }
.course-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-900);
}
.course-teacher { font-size: 0.85rem; color: var(--text-500); margin-bottom: 10px; }
.course-footer { display: flex; align-items: center; justify-content: space-between; }

/* ============================================
   按钮
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-decoration: none;
  line-height: 1.5;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-secondary:hover { background: #047857; color: #fff; }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text-700); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #b91c1c; color: #fff; }
.btn-warning { background: var(--warning); color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-sm { padding: 6px 14px; font-size: 0.8rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ============================================
   表单
   ============================================ */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-700);
  margin-bottom: 8px;
}
.form-group label .required { color: var(--danger); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-900);
  background: var(--bg-white);
  transition: var(--transition);
  font-family: inherit;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}
.form-control::placeholder { color: var(--text-400); }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { cursor: pointer; }
.form-row { display: flex; gap: 16px; }
.form-row .form-group { flex: 1; }
.form-text { font-size: 0.8rem; color: var(--text-400); margin-top: 6px; }
.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.form-check input { width: 16px; height: 16px; cursor: pointer; }
.form-check label { margin: 0; font-weight: 400; cursor: pointer; }

/* ============================================
   表格
   ============================================ */
.table-wrap {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.table thead {
  background: var(--bg-50);
  border-bottom: 2px solid var(--border);
}
.table th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--text-700);
  font-size: 0.85rem;
  white-space: nowrap;
}
.table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-700);
}
.table tbody tr:hover { background: var(--bg-50); }
.table tbody tr:last-child td { border-bottom: none; }

/* ============================================
   标签/徽章
   ============================================ */
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}
.tag-primary { background: var(--primary-light); color: var(--primary); }
.tag-success { background: #dcfce7; color: #166534; }
.tag-warning { background: #fef3c7; color: #92400e; }
.tag-danger { background: #fee2e2; color: #991b1b; }
.tag-info { background: #e0f2fe; color: #075985; }
.tag-default { background: var(--bg-100); color: var(--text-500); }

/* ============================================
   分页
   ============================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
}
.pagination a, .pagination span {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  border: 1px solid var(--border);
  color: var(--text-700);
  background: var(--bg-white);
  transition: var(--transition);
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .current {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  font-weight: 600;
}
.pagination .disabled { opacity: 0.5; cursor: not-allowed; }

/* ============================================
   提示框
   ============================================ */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 0.9rem;
  border: 1px solid transparent;
}
.alert-success { background: #dcfce7; color: #166534; border-color: #86efac; }
.alert-error { background: #fee2e2; color: #991b1b; border-color: #fca5a5; }
.alert-warning { background: #fef3c7; color: #92400e; border-color: #fcd34d; }
.alert-info { background: #e0f2fe; color: #075985; border-color: #7dd3fc; }

/* ============================================
   面包屑
   ============================================ */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.85rem;
  color: var(--text-400);
}
.breadcrumb a { color: var(--text-500); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 8px; }

/* ============================================
   页面标题区
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, #1e3a8a, var(--primary));
  color: #fff;
  padding: 48px 0;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { opacity: 0.85; margin: 0; }

/* ============================================
   筛选栏
   ============================================ */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.filter-bar .form-control { width: auto; min-width: 160px; }

/* ============================================
   购物车
   ============================================ */
.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 12px;
}
.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius);
}
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; color: var(--text-900); margin-bottom: 4px; }
.cart-item-price { color: var(--danger); font-weight: 700; }
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-control button {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg-50);
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-700);
  transition: var(--transition);
}
.qty-control button:hover { background: var(--bg-100); }
.qty-control input {
  width: 48px;
  height: 32px;
  border: none;
  text-align: center;
  font-size: 0.9rem;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.cart-summary {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 24px;
  position: sticky;
  top: 88px;
}
.cart-summary h3 { margin-bottom: 16px; font-size: 1.1rem; }
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-500);
}
.summary-row.total {
  border-top: 1px solid var(--border);
  margin-top: 12px;
  padding-top: 16px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-900);
}
.summary-row.total .amount { color: var(--danger); font-size: 1.3rem; }

/* ============================================
   支付方式
   ============================================ */
.payment-methods { display: flex; gap: 16px; margin-bottom: 24px; }
.payment-method {
  flex: 1;
  padding: 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.payment-method:hover { border-color: var(--primary-light); }
.payment-method.selected { border-color: var(--primary); background: var(--primary-light); }
.payment-method .icon { font-size: 2rem; margin-bottom: 8px; }
.payment-method .name { font-weight: 600; color: var(--text-900); }
.payment-method .desc { font-size: 0.8rem; color: var(--text-400); margin-top: 4px; }

/* 支付二维码 */
.qrcode-box {
  text-align: center;
  padding: 40px;
}
.qrcode-box img {
  width: 220px;
  height: 220px;
  margin: 0 auto 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
  background: #fff;
}
.qrcode-box .amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--danger);
  margin-bottom: 8px;
}

/* ============================================
   用户中心
   ============================================ */
.user-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 32px 0;
}
.user-sidebar {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 16px;
  height: fit-content;
  position: sticky;
  top: 88px;
}
.user-profile {
  text-align: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 12px;
}
.user-profile .avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 12px;
}
.user-profile .name { font-weight: 600; color: var(--text-900); }
.user-profile .level { font-size: 0.8rem; color: var(--text-400); margin-top: 4px; }
.user-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-700);
  font-size: 0.9rem;
  margin-bottom: 2px;
}
.user-menu a:hover, .user-menu a.active {
  background: var(--primary-light);
  color: var(--primary);
}
.user-content {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 24px;
  min-height: 400px;
}
.user-content h2 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

/* ============================================
   订单卡片
   ============================================ */
.order-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
}
.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: var(--bg-50);
  font-size: 0.85rem;
  color: var(--text-500);
}
.order-card-body { padding: 16px 20px; }
.order-card-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 20px;
  border-top: 1px solid var(--border-light);
}

/* ============================================
   页脚
   ============================================ */
.footer {
  background: var(--text-900);
  color: var(--text-300);
  padding: 56px 0 0;
  margin-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand h3 { color: #fff; margin-bottom: 16px; font-size: 1.2rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.8; opacity: 0.7; }
.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  color: var(--text-400);
  font-size: 0.85rem;
  padding: 5px 0;
}
.footer-col a:hover { color: #fff; }
.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.85rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-400);
}
.footer-bottom a { color: var(--text-400); }

/* ============================================
   工具类
   ============================================ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary { color: var(--primary); }
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }
.text-muted { color: var(--text-400); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.w-100 { width: 100%; }
.hidden { display: none !important; }

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .grid-5, .grid-6 { grid-template-columns: repeat(4, 1fr); }
  .platform-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ============================================
   兼容旧版类名
   ============================================ */
.business-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.platform-item {
  padding: 20px 12px;
  text-align: center;
  border-radius: var(--radius);
  background: var(--bg-white);
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  display: block;
  color: inherit;
}
.platform-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: inherit;
}
.platform-item .icon { font-size: 1.8rem; margin-bottom: 8px; }
.platform-item .name { font-size: 0.85rem; font-weight: 600; color: var(--text-700); }
.platform-item .region { font-size: 0.7rem; color: var(--text-400); margin-top: 2px; }

.product-cover {
  width: 100%;
  height: 160px;
  background: var(--bg-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.product-cover img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 16px; }
.product-body h3 { font-size: 1rem; margin-bottom: 8px; line-height: 1.4; }
.product-body h3 a { color: var(--text-900); }
.product-body h3 a:hover { color: var(--primary); }
.product-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: var(--text-400); margin-top: 8px; }
.article-tag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}
.article-cover {
  width: 100%;
  height: 160px;
  background: var(--bg-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  overflow: hidden;
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding: 16px; }
.article-body h3 { font-size: 1rem; margin: 8px 0; line-height: 1.4; }
.article-body h3 a { color: var(--text-900); }
.article-body h3 a:hover { color: var(--primary); }
.article-summary { font-size: 0.85rem; color: var(--text-500); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line { width: 50px; height: 3px; background: linear-gradient(90deg, var(--primary), var(--secondary)); margin: 12px auto 0; border-radius: 2px; }
.top-bar { display: none; }
.header { display: none; }

@media (max-width: 768px) {
  .business-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .navbar-menu { display: none; }
  .mobile-toggle { display: block; }
  .navbar-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
  }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-5, .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .platform-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .banner-slide h1 { font-size: 1.75rem; }
  .banner-slide { padding: 48px 0; }
  .section { padding: 40px 0; }
  .user-layout { grid-template-columns: 1fr; }
  .user-sidebar { position: static; }
  .form-row { flex-direction: column; gap: 0; }
  .article-card { flex-direction: column; }
  .article-thumb { width: 100%; height: 160px; }
  .payment-methods { flex-direction: column; }
  .cart-item { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .grid-5, .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================
   v4.0 全新大气样式
   ============================================ */

/* 顶部信息栏 */
.top-bar {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.top-bar-item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.top-bar-item .icon { font-size: 14px; }
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.top-bar-link {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.3s;
}
.top-bar-link:hover { color: #fff; }
.top-bar-link-primary {
  color: #4fc3f7;
  font-weight: 600;
}
.hide-mobile { display: inline; }
@media (max-width: 768px) {
  .hide-mobile { display: none; }
  .top-bar-left { gap: 12px; }
}

/* 全新主导航 */
.main-header {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s;
}
.main-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}
.main-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.brand-logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(102,126,234,0.4);
}
.brand-logo-text { line-height: 1.2; }
.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
  letter-spacing: 0.5px;
}
.brand-slogan {
  font-size: 11px;
  color: #999;
  margin: 2px 0 0 0;
  letter-spacing: 1px;
}

/* 主导航菜单 */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  padding: 10px 18px;
  color: #333;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s;
  position: relative;
}
.nav-link:hover {
  color: #667eea;
  background: rgba(102,126,234,0.08);
}
.nav-link.active {
  color: #667eea;
  background: rgba(102,126,234,0.1);
  font-weight: 600;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
}

/* 头部操作按钮 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.action-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f5f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}
.action-btn:hover {
  background: rgba(102,126,234,0.1);
  transform: translateY(-2px);
}
.action-icon { font-size: 18px; }
.action-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #f44336;
  color: #fff;
  font-size: 11px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  padding: 0 4px;
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 1024px) {
  .main-nav { display: none; }
  .main-nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    gap: 4px;
  }
  .main-nav.mobile-open .nav-link {
    width: 100%;
    padding: 12px 16px;
  }
  .mobile-menu-toggle { display: flex; }
}

/* 页面Banner */
.page-banner {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-size: cover;
  background-position: center;
  padding: 60px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.3);
}
.page-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.page-banner-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.page-banner-subtitle {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 20px;
}
.page-banner-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  opacity: 0.85;
}
.page-banner-breadcrumb a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
}
.page-banner-breadcrumb a:hover { opacity: 1; }
.breadcrumb-sep { opacity: 0.6; }
.breadcrumb-current { font-weight: 500; }

/* 友情链接 */
.friend-links-section {
  background: #f8f9fa;
  padding: 20px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.friend-links-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.friend-links-title {
  font-size: 14px;
  font-weight: 600;
  color: #666;
  flex-shrink: 0;
  padding-top: 2px;
}
.friend-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  flex: 1;
}
.friend-links-list a {
  color: #888;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}
.friend-links-list a:hover { color: #667eea; }

/* 全新页脚 */
.main-footer {
  background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
  color: rgba(255,255,255,0.7);
  padding-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand-col { grid-column: span 1; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.footer-brand-logo {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer-brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: bold;
}
.footer-brand-text { line-height: 1.2; }
.footer-brand-name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.footer-brand-slogan {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin: 2px 0 0 0;
  letter-spacing: 1px;
}
.footer-brand-desc {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.social-icon {
  position: relative;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s;
}
.social-icon:hover {
  background: rgba(102,126,234,0.3);
  transform: translateY(-3px);
}
.social-qrcode {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 100;
}
.social-icon:hover .social-qrcode {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.social-qrcode img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  display: block;
}
.qrcode-placeholder {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  color: #999;
  font-size: 12px;
  border-radius: 4px;
}

.footer-col-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 12px; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
  display: inline-block;
}
.footer-links a:hover {
  color: #4fc3f7;
  transform: translateX(5px);
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.contact-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.contact-value {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

/* 页脚底部 */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  background: rgba(0,0,0,0.2);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copyright p {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer-icp {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.icp-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}
.icp-link:hover { color: rgba(255,255,255,0.8); }
.icp-icon { width: 14px; height: 14px; }

@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand-col { grid-column: span 3; }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .footer-brand-col { grid-column: span 2; }
  .page-banner-title { font-size: 28px; }
  .page-banner { padding: 40px 0; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand-col { grid-column: span 1; }
}

/* 回到顶部 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(102,126,234,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s;
  z-index: 999;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(102,126,234,0.5);
}

/* 文章详情页增强 */
.article-guide {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
  border-left: 4px solid #667eea;
  padding: 20px 24px;
  border-radius: 0 12px 12px 0;
  margin-bottom: 30px;
}
.article-guide-title {
  font-size: 15px;
  font-weight: 600;
  color: #667eea;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-guide-content {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
  padding-top: 24px;
  border-top: 1px solid #eee;
}
.article-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: #f5f7fa;
  color: #666;
  border-radius: 20px;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s;
}
.article-tag:hover {
  background: rgba(102,126,234,0.1);
  color: #667eea;
}
.article-meta-enhanced {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 16px 20px;
  background: #f8f9fa;
  border-radius: 10px;
  margin-bottom: 24px;
  font-size: 13px;
  color: #888;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.meta-item .meta-icon { font-size: 15px; }
.read-time-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

/* 统计卡片 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}
.stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.3s;
  border: 1px solid #f0f0f0;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.stat-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.stat-card-title {
  font-size: 14px;
  color: #888;
  font-weight: 500;
}
.stat-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.stat-card-value {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
}
.stat-card-change {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.stat-card-change.up { color: #4caf50; }
.stat-card-change.down { color: #f44336; }

/* 蜘蛛统计 */
.spider-stats {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.spider-stats-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.spider-list { display: flex; flex-direction: column; gap: 12px; }
.spider-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.spider-name {
  width: 80px;
  font-size: 14px;
  color: #666;
  font-weight: 500;
}
.spider-bar-wrap {
  flex: 1;
  height: 8px;
  background: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
}
.spider-bar {
  height: 100%;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 4px;
  transition: width 0.5s ease;
}
.spider-count {
  width: 60px;
  text-align: right;
  font-size: 14px;
  color: #333;
  font-weight: 600;
}

/* 模板选择 */
.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.template-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #eee;
  transition: all 0.3s;
  cursor: pointer;
}
.template-card:hover {
  border-color: #667eea;
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(102,126,234,0.15);
}
.template-card.active {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}
.template-preview {
  height: 180px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.template-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.template-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #667eea;
  color: #fff;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}
.template-info { padding: 16px; }
.template-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}
.template-desc {
  font-size: 13px;
  color: #888;
  margin-bottom: 12px;
}
.template-actions {
  display: flex;
  gap: 8px;
}

/* 采集关键词批量导入 */
.keyword-import-area {
  background: #f8f9fa;
  border: 2px dashed #ddd;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  transition: all 0.3s;
}
.keyword-import-area:hover {
  border-color: #667eea;
  background: #f0f4ff;
}
.keyword-import-textarea {
  width: 100%;
  min-height: 120px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
  resize: vertical;
  font-family: inherit;
}
.keyword-import-textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}
.keyword-tags-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.keyword-tag-preview {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #e8f0fe;
  color: #1967d2;
  border-radius: 16px;
  font-size: 13px;
}
.keyword-tag-remove {
  cursor: pointer;
  font-weight: bold;
  opacity: 0.6;
}
.keyword-tag-remove:hover { opacity: 1; }

/* 文章质量检测结果 */
.quality-report {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #eee;
  margin-top: 20px;
}
.quality-score-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 16px;
}
.quality-score-circle.excellent { background: linear-gradient(135deg, #4caf50, #8bc34a); }
.quality-score-circle.good { background: linear-gradient(135deg, #2196f3, #03a9f4); }
.quality-score-circle.average { background: linear-gradient(135deg, #ff9800, #ffc107); }
.quality-score-circle.poor { background: linear-gradient(135deg, #f44336, #e91e63); }
.quality-level {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}
.quality-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}
.quality-detail-item {
  text-align: center;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 10px;
}
.quality-detail-label {
  font-size: 13px;
  color: #888;
  margin-bottom: 6px;
}
.quality-detail-value {
  font-size: 20px;
  font-weight: 700;
  color: #333;
}


/* ============================================
   v4.3 安全加固版 - 视觉增强
   ============================================ */

/* 渐变背景 */
.gradient-bg {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.gradient-primary {
  background: linear-gradient(135deg, #1a56db 0%, #0e9f6e 100%);
}
.gradient-hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #1a56db 50%, #0e9f6e 100%);
}

/* 动画 */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.animate-fade-in-up { animation: fadeInUp 0.6s ease-out forwards; }
.animate-fade-in { animation: fadeIn 0.5s ease-out forwards; }
.animate-pulse { animation: pulse 2s infinite; }
.animate-float { animation: float 3s ease-in-out infinite; }

/* 延迟动画 */
.delay-100 { animation-delay: 0.1s; opacity: 0; }
.delay-200 { animation-delay: 0.2s; opacity: 0; }
.delay-300 { animation-delay: 0.3s; opacity: 0; }
.delay-400 { animation-delay: 0.4s; opacity: 0; }
.delay-500 { animation-delay: 0.5s; opacity: 0; }

/* 卡片增强 */
.card-enhanced {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-light);
  overflow: hidden;
}
.card-enhanced:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

/* 按钮增强 */
.btn-enhanced {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.btn-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}
.btn-enhanced:hover::before {
  left: 100%;
}
.btn-enhanced:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-enhanced:active {
  transform: translateY(0);
}

/* 渐变文字 */
.text-gradient {
  background: linear-gradient(135deg, #1a56db, #0e9f6e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 玻璃态效果 */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 徽章 */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
}
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-success { background: #d1fae5; color: var(--success); }
.badge-warning { background: #fef3c7; color: var(--warning); }
.badge-danger { background: #fee2e2; color: var(--danger); }
.badge-info { background: #dbeafe; color: var(--info); }

/* 分割线 */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 2rem 0;
}

/* 首页Hero增强 */
.hero-enhanced {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1e3a8a 0%, #1a56db 50%, #0e9f6e 100%);
  color: white;
}
.hero-enhanced::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-enhanced::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(14,159,110,0.3) 0%, transparent 70%);
  border-radius: 50%;
}

/* 特性图标 */
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-light), #d1fae5);
}

/* 统计数字 */
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 响应式增强 */
@media (max-width: 768px) {
  .stat-number { font-size: 1.75rem; }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.375rem; }
}

/* 打印样式 */
@media print {
  .navbar, .footer, .no-print { display: none !important; }
  body { background: white; color: black; }
}

/* ============================================
   v4.4 全面响应式优化 + 通用美化
   ============================================ */

/* 通用容器响应式 */
@media (max-width: 1200px) {
  .container { max-width: 100%; padding: 0 20px; }
}

@media (max-width: 992px) {
  .container { padding: 0 15px; }
  h1 { font-size: 2rem !important; }
  h2 { font-size: 1.6rem !important; }
  h3 { font-size: 1.3rem !important; }
}

@media (max-width: 768px) {
  .container { padding: 0 12px; }
  h1 { font-size: 1.6rem !important; }
  h2 { font-size: 1.4rem !important; }
  h3 { font-size: 1.15rem !important; }
  p { font-size: 0.95rem; }
  .btn { padding: 10px 18px; font-size: 0.9rem; }
  .btn-lg { padding: 12px 24px; font-size: 0.95rem; }
  .card { padding: 15px; }
  .form-group { margin-bottom: 12px; }
  .form-control { padding: 10px 12px; font-size: 0.9rem; }
  table { font-size: 0.85rem; }
  th, td { padding: 8px 6px; }
}

@media (max-width: 480px) {
  .container { padding: 0 10px; }
  h1 { font-size: 1.4rem !important; }
  h2 { font-size: 1.25rem !important; }
  .btn { padding: 8px 14px; font-size: 0.85rem; }
  .btn-lg { padding: 10px 20px; font-size: 0.9rem; }
}

/* 网格布局响应式 */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; }

@media (max-width: 1200px) {
  .grid-5, .grid-6 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 992px) {
  .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .grid-2 { gap: 12px; }
}
@media (max-width: 480px) {
  .grid-2, .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: 1fr; gap: 10px; }
}

/* Flex布局响应式 */
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.gap-1 { gap: 5px; }
.gap-2 { gap: 10px; }
.gap-3 { gap: 15px; }
.gap-4 { gap: 20px; }

@media (max-width: 768px) {
  .flex-between { flex-direction: column; gap: 10px; align-items: flex-start; }
  .flex { flex-direction: column; }
  .flex-row-mobile { flex-direction: row !important; }
}

/* 文字工具类 */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-muted { color: var(--text-400); }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-white { color: #fff; }
.font-bold { font-weight: 700; }
.font-normal { font-weight: 400; }
.text-sm { font-size: 0.85rem; }
.text-lg { font-size: 1.15rem; }
.text-xl { font-size: 1.3rem; }
.text-2xl { font-size: 1.75rem; }
.text-3xl { font-size: 2.25rem; }

/* 间距工具类 */
.mt-1 { margin-top: 5px; }
.mt-2 { margin-top: 10px; }
.mt-3 { margin-top: 15px; }
.mt-4 { margin-top: 20px; }
.mt-5 { margin-top: 30px; }
.mb-1 { margin-bottom: 5px; }
.mb-2 { margin-bottom: 10px; }
.mb-3 { margin-bottom: 15px; }
.mb-4 { margin-bottom: 20px; }
.mb-5 { margin-bottom: 30px; }
.p-1 { padding: 5px; }
.p-2 { padding: 10px; }
.p-3 { padding: 15px; }
.p-4 { padding: 20px; }
.p-5 { padding: 30px; }

/* 显示隐藏 */
.hide-mobile { display: block; }
.show-mobile { display: none; }
@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
  .show-mobile { display: block !important; }
}
.hide-tablet { display: block; }
@media (min-width: 769px) and (max-width: 1024px) {
  .hide-tablet { display: none !important; }
}

/* 圆角工具类 */
.rounded { border-radius: 8px; }
.rounded-lg { border-radius: 16px; }
.rounded-xl { border-radius: 24px; }
.rounded-full { border-radius: 50%; }

/* 阴影工具类 */
.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.shadow { box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06); }
.shadow-md { box-shadow: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06); }
.shadow-lg { box-shadow: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05); }
.shadow-xl { box-shadow: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04); }

/* 动画 */
.animate-fade-in { animation: fadeIn 0.5s ease-out; }
.animate-slide-up { animation: slideUp 0.5s ease-out; }
.animate-slide-down { animation: slideDown 0.5s ease-out; }
.animate-scale-in { animation: scaleIn 0.3s ease-out; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }

/* 移动端安全区域适配（iPhone刘海屏） */
@supports (padding: max(0px)) {
  .safe-area-top { padding-top: max(0px, env(safe-area-inset-top)); }
  .safe-area-bottom { padding-bottom: max(0px, env(safe-area-inset-bottom)); }
  .safe-area-left { padding-left: max(0px, env(safe-area-inset-left)); }
  .safe-area-right { padding-right: max(0px, env(safe-area-inset-right)); }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
  .btn:active { transform: scale(0.98); }
  .card:active { transform: scale(0.99); }
  a, button { -webkit-tap-highlight-color: transparent; }
}

/* 横屏优化 */
@media (max-height: 500px) and (orientation: landscape) {
  .banner { min-height: auto; padding: 30px 0; }
  .banner-content h1 { font-size: 1.5rem !important; }
  .banner-content p { font-size: 0.9rem; margin-bottom: 1rem; }
}

/* 打印优化 */
@media print {
  .main-header, .top-bar, .footer, .no-print { display: none !important; }
  body { background: white; color: black; font-size: 12pt; }
  .container { max-width: 100%; padding: 0; }
  .card { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
  a { color: black; text-decoration: underline; }
}

/* ============================================
   v4.4.1 手机端深度优化（紧凑美观版）
   ============================================ */

@media (max-width: 768px) {
  /* 全局紧凑化 */
  body { font-size: 14px; line-height: 1.5; }
  
  /* 容器间距压缩 */
  .container { padding: 0 12px; }
  
  /* Hero区域高度优化 */
  .banner, .hero {
    min-height: 320px !important;
    padding: 40px 0 !important;
  }
  .banner-content, .hero-content {
    padding: 20px 0 !important;
  }
  .banner-content h1, .hero h1 {
    font-size: 1.5rem !important;
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
  }
  .banner-content p, .hero p {
    font-size: 0.9rem !important;
    margin-bottom: 15px !important;
    line-height: 1.5 !important;
  }
  .banner-buttons, .hero-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  .banner-buttons .btn, .hero-buttons .btn {
    flex: 1;
    min-width: 120px;
    padding: 10px 15px !important;
    font-size: 0.85rem !important;
  }
  
  /* 导航栏紧凑化 */
  .main-header {
    padding: 8px 0 !important;
  }
  .header-inner {
    padding: 0 12px !important;
  }
  .brand-logo {
    width: 36px !important;
    height: 36px !important;
  }
  .brand-name {
    font-size: 1.1rem !important;
  }
  .brand-slogan {
    font-size: 0.65rem !important;
  }
  .mobile-menu-btn {
    padding: 6px 10px !important;
  }
  
  /* 区块间距压缩 */
  .section {
    padding: 30px 0 !important;
  }
  .section-header {
    margin-bottom: 20px !important;
  }
  .section-title {
    font-size: 1.3rem !important;
    margin-bottom: 15px !important;
  }
  .section-subtitle {
    font-size: 0.85rem !important;
    margin-bottom: 0 !important;
  }
  
  /* 卡片紧凑化 */
  .card {
    padding: 12px !important;
    margin-bottom: 12px !important;
  }
  .card-header {
    padding: 10px 12px !important;
    margin-bottom: 10px !important;
  }
  .card-title {
    font-size: 1rem !important;
    margin-bottom: 0 !important;
  }
  .card-body {
    padding: 0 !important;
  }
  
  /* 商品卡片紧凑化 */
  .product-card {
    margin-bottom: 12px !important;
  }
  .product-card .product-image {
    height: 140px !important;
  }
  .product-card .product-info {
    padding: 10px !important;
  }
  .product-card .product-name {
    font-size: 0.9rem !important;
    margin-bottom: 5px !important;
    line-height: 1.3 !important;
    height: 2.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .product-card .product-price {
    font-size: 1.1rem !important;
    margin-bottom: 5px !important;
  }
  .product-card .product-meta {
    font-size: 0.75rem !important;
    margin-bottom: 8px !important;
  }
  .product-card .product-actions {
    display: flex;
    gap: 6px;
  }
  .product-card .product-actions .btn {
    flex: 1;
    padding: 6px 10px !important;
    font-size: 0.75rem !important;
  }
  
  /* 资讯卡片紧凑化 */
  .article-card {
    margin-bottom: 12px !important;
  }
  .article-card .article-image {
    height: 120px !important;
  }
  .article-card .article-content {
    padding: 10px !important;
  }
  .article-card .article-title {
    font-size: 0.9rem !important;
    margin-bottom: 5px !important;
    line-height: 1.3 !important;
    height: 2.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .article-card .article-excerpt {
    font-size: 0.8rem !important;
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .article-card .article-meta {
    font-size: 0.7rem !important;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  /* 表格紧凑化 */
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  table {
    font-size: 0.75rem !important;
    min-width: 500px;
  }
  th, td {
    padding: 6px 8px !important;
    white-space: nowrap;
  }
  th {
    font-size: 0.7rem !important;
  }
  
  /* 表单紧凑化 */
  .form-group {
    margin-bottom: 10px !important;
  }
  .form-label {
    font-size: 0.85rem !important;
    margin-bottom: 4px !important;
  }
  .form-control {
    padding: 8px 10px !important;
    font-size: 0.85rem !important;
  }
  .form-text {
    font-size: 0.75rem !important;
    margin-top: 3px !important;
  }
  
  /* 按钮紧凑化 */
  .btn {
    padding: 8px 14px !important;
    font-size: 0.85rem !important;
  }
  .btn-sm {
    padding: 5px 10px !important;
    font-size: 0.75rem !important;
  }
  .btn-lg {
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
  }
  .btn-block {
    width: 100%;
  }
  
  /* 页脚紧凑化 */
  .footer {
    padding: 30px 0 15px !important;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
  }
  .footer h4 {
    font-size: 0.95rem !important;
    margin-bottom: 10px !important;
  }
  .footer ul li {
    margin-bottom: 5px !important;
    font-size: 0.8rem !important;
  }
  .footer-bottom {
    padding-top: 15px !important;
    margin-top: 15px !important;
    font-size: 0.75rem !important;
    text-align: center;
  }
  .footer-bottom .flex-between {
    flex-direction: column !important;
    gap: 8px !important;
    text-align: center !important;
  }
  
  /* 分页紧凑化 */
  .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    margin-top: 15px !important;
  }
  .pagination li a, .pagination li span {
    padding: 5px 10px !important;
    font-size: 0.8rem !important;
    min-width: 32px;
    text-align: center;
  }
  
  /* 标签紧凑化 */
  .tag, .badge {
    padding: 2px 8px !important;
    font-size: 0.7rem !important;
  }
  
  /* 头像紧凑化 */
  .avatar {
    width: 32px !important;
    height: 32px !important;
  }
  .avatar-lg {
    width: 64px !important;
    height: 64px !important;
  }
  
  /* 统计卡片紧凑化 */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .stat-card {
    padding: 12px !important;
  }
  .stat-card .stat-value {
    font-size: 1.3rem !important;
    margin-bottom: 3px !important;
  }
  .stat-card .stat-label {
    font-size: 0.75rem !important;
  }
  .stat-card .stat-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 1rem !important;
  }
  
  /* 面包屑紧凑化 */
  .breadcrumb {
    padding: 8px 12px !important;
    margin-bottom: 15px !important;
    font-size: 0.75rem !important;
  }
  
  /* 提示框紧凑化 */
  .alert {
    padding: 10px 12px !important;
    margin-bottom: 12px !important;
    font-size: 0.85rem !important;
  }
  
  /* 模态框紧凑化 */
  .modal-dialog {
    margin: 10px !important;
    max-width: calc(100% - 20px) !important;
  }
  .modal-header {
    padding: 12px 15px !important;
  }
  .modal-title {
    font-size: 1rem !important;
  }
  .modal-body {
    padding: 15px !important;
  }
  .modal-footer {
    padding: 10px 15px !important;
  }
  
  /* 选项卡紧凑化 */
  .nav-tabs {
    margin-bottom: 15px !important;
    overflow-x: auto;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch;
  }
  .nav-tabs li a {
    padding: 8px 12px !important;
    font-size: 0.8rem !important;
    white-space: nowrap;
  }
  
  /* 进度条紧凑化 */
  .progress {
    height: 8px !important;
    margin-bottom: 8px !important;
  }
  
  /* 列表组紧凑化 */
  .list-group-item {
    padding: 10px 12px !important;
    font-size: 0.85rem !important;
  }
  
  /* 空状态紧凑化 */
  .empty-state {
    padding: 30px 20px !important;
  }
  .empty-state .empty-icon {
    font-size: 2.5rem !important;
    margin-bottom: 10px !important;
  }
  .empty-state .empty-text {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 480px) {
  /* 超小屏进一步紧凑 */
  .banner, .hero {
    min-height: 280px !important;
    padding: 30px 0 !important;
  }
  .banner-content h1, .hero h1 {
    font-size: 1.3rem !important;
  }
  .section {
    padding: 25px 0 !important;
  }
  .section-title {
    font-size: 1.15rem !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
  .stats-grid {
    grid-template-columns: 1fr !important;
  }
  .product-card .product-image {
    height: 120px !important;
  }
  .article-card .article-image {
    height: 100px !important;
  }
}

/* 手机端底部固定操作栏（购物车/结算等页面） */
@media (max-width: 768px) {
  .mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    z-index: 100;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
  }
  .mobile-bottom-bar .total-price {
    font-size: 1.1rem;
    font-weight: 700;
  }
  .mobile-bottom-bar .btn {
    flex: 0 0 auto;
    min-width: 120px;
  }
  body.has-mobile-bottom-bar {
    padding-bottom: 70px;
  }
}

/* ============================================
   v2.0 现代化大气头部样式
   ============================================ */

/* ========== 顶部信息栏 v2 ========== */
.top-bar-v2 {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: rgba(255,255,255,0.8);
    font-size: 0.82rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-bar-v2-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.top-bar-v2-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.top-bar-v2-item {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.top-bar-icon {
    width: 14px;
    height: 14px;
    color: #38bdf8;
    flex-shrink: 0;
}
.top-bar-v2-right {
    display: flex;
    align-items: center;
    gap: 15px;
}
.top-bar-v2-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}
.top-bar-v2-link:hover {
    color: #38bdf8;
}
.top-bar-v2-btn {
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s;
}
.top-bar-v2-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.4);
}
.top-bar-user {
    display: flex;
    align-items: center;
    gap: 12px;
}
.top-bar-user-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}
.top-bar-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
}
.top-bar-username {
    font-size: 0.82rem;
}

/* ========== 主导航栏 v2 ========== */
.main-header-v2 {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.main-header-v2.header-scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    background: rgba(255, 255, 255, 0.99);
}
.main-header-v2-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 12px 0;
}

/* ========== Logo v2 ========== */
.brand-v2 {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}
.brand-v2-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a56db 0%, #0e9f6e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.3);
    flex-shrink: 0;
}
.brand-v2-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.brand-v2-logo-icon {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
}
.brand-v2-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.brand-v2-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0.5px;
}
.brand-v2-slogan {
    font-size: 0.72rem;
    color: #64748b;
    margin: 0;
    letter-spacing: 1px;
}

/* ========== 搜索框 v2 ========== */
.header-search-v2 {
    flex: 1;
    max-width: 360px;
    margin: 0 20px;
}
.search-form-v2 {
    position: relative;
    display: flex;
    align-items: center;
}
.search-input-v2 {
    width: 100%;
    padding: 10px 50px 10px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 30px;
    font-size: 0.9rem;
    background: #f8fafc;
    transition: all 0.3s;
    outline: none;
}
.search-input-v2:focus {
    border-color: #1a56db;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.1);
}
.search-btn-v2 {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a56db 0%, #0e9f6e 100%);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.search-btn-v2:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.4);
}
.search-btn-v2 svg {
    width: 18px;
    height: 18px;
}

/* ========== 导航菜单 v2 ========== */
.main-nav-v2 {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}
.nav-list-v2 {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.nav-item-v2 {
    position: relative;
}
.nav-link-v2 {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 18px;
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 10px;
    transition: all 0.3s;
    position: relative;
    white-space: nowrap;
}
.nav-link-v2:hover {
    color: #1a56db;
    background: #eff6ff;
}
.nav-link-v2.active {
    color: #1a56db;
    background: linear-gradient(135deg, #eff6ff 0%, #ecfdf5 100%);
}
.nav-link-v2.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: linear-gradient(135deg, #1a56db 0%, #0e9f6e 100%);
    border-radius: 2px;
}
.nav-arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.3s;
}
.nav-item-v2:hover .nav-arrow {
    transform: rotate(180deg);
}

/* 下拉子菜单 */
.submenu-v2 {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    padding: 8px;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    border: 1px solid rgba(0,0,0,0.05);
}
.nav-item-v2:hover .submenu-v2 {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.submenu-link-v2 {
    display: block;
    padding: 10px 14px;
    color: #475569;
    text-decoration: none;
    font-size: 0.88rem;
    border-radius: 8px;
    transition: all 0.2s;
}
.submenu-link-v2:hover {
    background: #eff6ff;
    color: #1a56db;
    padding-left: 18px;
}

/* ========== 右侧操作区 v2 ========== */
.header-actions-v2 {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.action-btn-v2 {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    text-decoration: none;
    transition: all 0.3s;
    background: transparent;
    border: none;
    cursor: pointer;
}
.action-btn-v2:hover {
    background: #eff6ff;
    color: #1a56db;
    transform: translateY(-2px);
}
.action-btn-v2 svg {
    width: 20px;
    height: 20px;
}
.action-badge-v2 {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

/* 汉堡菜单按钮 */
.hamburger-btn {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s;
}
.hamburger-btn:hover {
    background: #eff6ff;
}
.hamburger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: #334155;
    border-radius: 2px;
    transition: all 0.3s;
}

/* ========== 移动端搜索框 ========== */
.mobile-search-box {
    display: none;
    padding: 10px 0;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}
.mobile-search-box.open {
    display: block;
}

/* ========== 移动端遮罩层 ========== */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    backdrop-filter: blur(4px);
}

/* 移动端导航头部 */
.mobile-nav-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
}
.mobile-nav-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
}
.mobile-nav-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: none;
    background: #f1f5f9;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
}
.mobile-nav-close svg {
    width: 18px;
    height: 18px;
}

/* 移动端导航底部 */
.mobile-nav-footer {
    display: none;
    padding: 20px;
    border-top: 1px solid #e2e8f0;
    gap: 10px;
    margin-top: auto;
}
.mobile-nav-btn {
    flex: 1;
    padding: 12px;
    text-align: center;
    background: linear-gradient(135deg, #1a56db 0%, #0e9f6e 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
}
.mobile-nav-btn-outline {
    background: transparent;
    color: #1a56db;
    border: 2px solid #1a56db;
}

/* ========== 页面Banner v2 ========== */
.page-banner-v2 {
    position: relative;
    background: linear-gradient(135deg, #1e3a8a 0%, #1a56db 50%, #0e9f6e 100%);
    padding: 60px 0 80px;
    overflow: hidden;
}
.page-banner-v2-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 40%);
}
.page-banner-v2-content {
    position: relative;
    z-index: 2;
    color: #fff;
}
.page-banner-v2-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    margin-bottom: 16px;
    opacity: 0.9;
}
.page-banner-v2-breadcrumb a {
    display: flex;
    align-items: center;
    gap: 4px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: opacity 0.3s;
}
.page-banner-v2-breadcrumb a:hover {
    opacity: 1;
}
.page-banner-v2-breadcrumb svg {
    width: 14px;
    height: 14px;
}
.breadcrumb-sep-v2 {
    opacity: 0.5;
}
.breadcrumb-current-v2 {
    color: #fff;
    font-weight: 600;
}
.page-banner-v2-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 12px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.page-banner-v2-subtitle {
    font-size: 1.05rem;
    opacity: 0.9;
    margin: 0;
    max-width: 600px;
    line-height: 1.6;
}
.page-banner-v2-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 3;
}
.page-banner-v2-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ========== 响应式适配 ========== */
@media (max-width: 1200px) {
    .main-header-v2-inner {
        gap: 20px;
    }
    .nav-link-v2 {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    .brand-v2-name {
        font-size: 1.1rem;
    }
    .brand-v2-slogan {
        font-size: 0.7rem;
    }
}

@media (max-width: 992px) {
    .header-search-v2 {
        display: none;
    }
    .hide-mobile-search {
        display: flex !important;
    }
    .main-nav-v2 {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 340px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        box-shadow: -10px 0 40px rgba(0,0,0,0.15);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        overflow-y: auto;
    }
    .main-nav-v2.mobile-open {
        right: 0;
    }
    .mobile-nav-header {
        display: flex;
    }
    .mobile-nav-footer {
        display: flex;
    }
    .nav-list-v2 {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 16px;
        flex: 1;
    }
    .nav-item-v2 {
        border-bottom: 1px solid #f1f5f9;
    }
    .nav-link-v2 {
        padding: 14px 12px;
        border-radius: 0;
        justify-content: space-between;
    }
    .nav-link-v2.active::after {
        display: none;
    }
    .nav-link-v2.active {
        background: transparent;
        color: #1a56db;
    }
    .nav-arrow {
        transition: transform 0.3s;
    }
    .nav-item-v2.submenu-open .nav-arrow {
        transform: rotate(180deg);
    }
    .submenu-v2 {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 10px 20px;
        display: none;
    }
    .nav-item-v2.submenu-open .submenu-v2 {
        display: block;
    }
    .submenu-link-v2 {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    .hamburger-btn {
        display: flex;
    }
    .brand-v2-name {
        font-size: 1.1rem;
    }
    .brand-v2-slogan {
        display: none;
    }
    .page-banner-v2 {
        padding: 40px 0 60px;
    }
    .page-banner-v2-title {
        font-size: 1.6rem;
    }
    .page-banner-v2-subtitle {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .top-bar-v2-left {
        gap: 12px;
    }
    .top-bar-v2-item span {
        font-size: 0.75rem;
    }
    .brand-v2-logo {
        width: 40px;
        height: 40px;
    }
    .brand-v2-name {
        font-size: 1rem;
    }
    .action-btn-v2 {
        width: 38px;
        height: 38px;
    }
    .hamburger-btn {
        width: 38px;
        height: 38px;
    }
    .page-banner-v2-title {
        font-size: 1.4rem;
    }
    .page-banner-v2-wave {
        height: 40px;
    }
}

/* ============================================
   v2.0 紧凑美观页脚样式
   ============================================ */

/* 友情链接 v2 */
.friend-links-v2 {
    background: #f8fafc;
    padding: 12px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}
.friend-links-v2-inner {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.friend-links-v2-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    flex-shrink: 0;
}
.friend-links-v2-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 15px;
    flex: 1;
}
.friend-links-v2-list a {
    font-size: 0.8rem;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}
.friend-links-v2-list a:hover {
    color: #1a56db;
}

/* 页脚主体 v2 */
.main-footer-v2 {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #94a3b8;
}
.footer-v2-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 30px;
    padding: 40px 0 30px;
}
.footer-v2-col {
    min-width: 0;
}

/* 品牌列 */
.footer-v2-brand-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.footer-v2-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
}
.footer-v2-logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1a56db 0%, #0e9f6e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
}
.footer-v2-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.footer-v2-brand-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}
.footer-v2-brand-slogan {
    font-size: 0.72rem;
    color: #64748b;
    margin: 0;
    letter-spacing: 0.5px;
}
.footer-v2-brand-desc {
    font-size: 0.82rem;
    line-height: 1.6;
    color: #94a3b8;
    margin: 0 0 15px;
}

/* 社交图标 */
.footer-v2-social {
    display: flex;
    gap: 8px;
}
.social-v2-item {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s;
}
.social-v2-item:hover {
    background: #1a56db;
    color: #fff;
    transform: translateY(-2px);
}
.social-v2-item svg {
    width: 16px;
    height: 16px;
}

/* 列标题 */
.footer-v2-col-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px;
    position: relative;
    padding-bottom: 10px;
}
.footer-v2-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #1a56db, #0e9f6e);
    border-radius: 1px;
}

/* 链接列表 */
.footer-v2-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-v2-links li {
    margin-bottom: 8px;
}
.footer-v2-links li:last-child {
    margin-bottom: 0;
}
.footer-v2-links a {
    font-size: 0.82rem;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}
.footer-v2-links a:hover {
    color: #38bdf8;
    padding-left: 5px;
}

/* 联系方式 */
.footer-v2-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-v2-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.82rem;
    line-height: 1.5;
}
.footer-v2-contact li:last-child {
    margin-bottom: 0;
}
.contact-v2-icon {
    width: 16px;
    height: 16px;
    color: #38bdf8;
    flex-shrink: 0;
    margin-top: 2px;
}

/* 页脚底部 */
.footer-v2-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 15px 0;
}
.footer-v2-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.footer-v2-copyright {
    font-size: 0.78rem;
    color: #64748b;
}
.footer-v2-icp {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.icp-v2-link {
    font-size: 0.78rem;
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s;
}
.icp-v2-link:hover {
    color: #38bdf8;
}

/* 回到顶部 v2 */
.back-to-top-v2 {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1a56db 0%, #0e9f6e 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(26, 86, 219, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
    z-index: 999;
}
.back-to-top-v2.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top-v2:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26, 86, 219, 0.5);
}
.back-to-top-v2 svg {
    width: 20px;
    height: 20px;
}

/* ========== 页脚响应式 ========== */
@media (max-width: 992px) {
    .footer-v2-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        padding: 30px 0 20px;
    }
    .footer-v2-brand {
        grid-column: 1 / -1;
    }
    .footer-v2-brand-desc {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .footer-v2-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 25px 0 15px;
    }
    .footer-v2-col-title {
        font-size: 0.85rem;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }
    .footer-v2-links li {
        margin-bottom: 6px;
    }
    .footer-v2-links a {
        font-size: 0.78rem;
    }
    .footer-v2-contact li {
        font-size: 0.78rem;
        margin-bottom: 10px;
    }
    .footer-v2-brand-desc {
        font-size: 0.78rem;
        margin-bottom: 12px;
    }
    .footer-v2-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    .footer-v2-icp {
        justify-content: center;
    }
    .friend-links-v2 {
        padding: 10px 0;
    }
    .friend-links-v2-inner {
        gap: 10px;
    }
    .friend-links-v2-list {
        gap: 6px 12px;
    }
    .friend-links-v2-list a {
        font-size: 0.75rem;
    }
    .back-to-top-v2 {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 400px) {
    .footer-v2-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ============================================
   v4.7 前端美工修复优化
   ============================================ */

/* 搜索框放大优化 */
.header-search-v2 {
    max-width: 480px !important;
    flex: 1 1 400px !important;
    margin: 0 25px !important;
}
.search-input-v2 {
    padding: 12px 55px 12px 20px !important;
    font-size: 0.95rem !important;
    border-radius: 30px !important;
}
.search-btn-v2 {
    width: 40px !important;
    height: 40px !important;
    right: 5px !important;
}
.search-btn-v2 svg {
    width: 20px !important;
    height: 20px !important;
}

/* Banner内容居中显示 */
.banner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
}
.banner-slide {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    opacity: 0 !important;
    transition: opacity 0.8s ease !important;
}
.banner-slide.active {
    opacity: 1 !important;
    position: relative !important;
}
.banner-content {
    text-align: center !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    position: relative !important;
    z-index: 2 !important;
}
.banner-content h1 {
    text-align: center !important;
    margin-bottom: 20px !important;
    line-height: 1.3 !important;
}
.banner-content p {
    text-align: center !important;
    margin: 0 auto 30px !important;
    max-width: 600px !important;
    line-height: 1.7 !important;
}
.banner-content .btn {
    display: inline-block !important;
    margin: 5px !important;
}
.banner-dots {
    position: absolute !important;
    bottom: 25px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    gap: 10px !important;
    z-index: 5 !important;
}
.banner-dots span {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.4) !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
}
.banner-dots span.active {
    background: #fff !important;
    width: 30px !important;
    border-radius: 6px !important;
}

/* 修复字体重叠问题 */
.banner-content h1 {
    letter-spacing: normal !important;
    word-spacing: normal !important;
}
.section-header h2 {
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
}
.section-header p {
    line-height: 1.6 !important;
    margin-bottom: 15px !important;
}
.business-card h3 {
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
}
.business-card p {
    line-height: 1.6 !important;
}
.platform-item .name {
    line-height: 1.4 !important;
}
.product-card .product-name {
    line-height: 1.4 !important;
    height: auto !important;
    min-height: 2.8em !important;
}
.article-card .article-title {
    line-height: 1.4 !important;
    height: auto !important;
    min-height: 2.8em !important;
}

/* 区块间距优化 */
.section {
    padding: 50px 0 !important;
}
.section-header {
    margin-bottom: 35px !important;
    text-align: center !important;
}
.section-header .line {
    margin: 15px auto 0 !important;
}

/* 核心业务卡片优化 */
.business-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 25px !important;
}
.business-card {
    background: #fff !important;
    border-radius: 16px !important;
    padding: 30px 25px !important;
    text-align: center !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06) !important;
    border: 1px solid rgba(0,0,0,0.04) !important;
    transition: all 0.3s ease !important;
}
.business-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12) !important;
}
.business-icon {
    width: 60px !important;
    height: 60px !important;
    margin: 0 auto 20px !important;
    background: linear-gradient(135deg, #eff6ff 0%, #ecfdf5 100%) !important;
    border-radius: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.8rem !important;
}

/* 平台矩阵优化 */
.platform-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
}
.platform-item {
    background: #fff !important;
    border-radius: 12px !important;
    padding: 25px 20px !important;
    text-align: center !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05) !important;
    border: 1px solid rgba(0,0,0,0.04) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    color: inherit !important;
}
.platform-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    border-color: #1a56db !important;
}
.platform-item .icon {
    font-size: 2rem !important;
    margin-bottom: 12px !important;
}
.platform-item .name {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 5px !important;
}
.platform-item .region {
    font-size: 0.8rem !important;
    color: #64748b !important;
}

/* 响应式优化 */
@media (max-width: 992px) {
    .business-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .platform-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .banner-content h1 {
        font-size: 1.8rem !important;
    }
    .banner-content p {
        font-size: 0.95rem !important;
    }
}
@media (max-width: 576px) {
    .business-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    .platform-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .business-card {
        padding: 20px 15px !important;
    }
    .platform-item {
        padding: 18px 12px !important;
    }
    .section {
        padding: 35px 0 !important;
    }
    .section-header {
        margin-bottom: 25px !important;
    }
    .banner-content h1 {
        font-size: 1.5rem !important;
    }
}

/* 友情链接切换样式 */
.friend-links-v2-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.friend-links-v2-tabs {
    display: flex;
    gap: 5px;
}
.friend-tab-btn {
    padding: 4px 12px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #64748b;
    border-radius: 15px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
}
.friend-tab-btn:hover {
    border-color: #1a56db;
    color: #1a56db;
}
.friend-tab-btn.active {
    background: #1a56db;
    color: #fff;
    border-color: #1a56db;
}
.friend-apply-btn {
    margin-left: auto;
    padding: 5px 14px;
    background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    color: #fff;
    border-radius: 15px;
    font-size: 0.8rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}
.friend-apply-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}
.friend-links-v2-images {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}
.friend-image-link {
    display: inline-block;
    padding: 5px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    transition: all 0.3s;
}
.friend-image-link:hover {
    border-color: #1a56db;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.friend-image-link img {
    max-height: 30px;
    max-width: 120px;
    object-fit: contain;
    display: block;
}

@media (max-width: 576px) {
    .friend-links-v2-header {
        gap: 10px;
    }
    .friend-apply-btn {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
    .friend-image-link img {
        max-height: 25px;
        max-width: 100px;
    }
}

/* ============================================
   v5.1 前端优化样式
   ============================================ */

/* 1. 首页Banner PC端强制居中 */
.banner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    min-height: 480px !important;
    position: relative !important;
    overflow: hidden !important;
}
.banner-slide {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 480px !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    opacity: 0 !important;
    transition: opacity 0.8s ease !important;
}
.banner-slide.active {
    opacity: 1 !important;
    position: relative !important;
    z-index: 1 !important;
}
.banner-content {
    text-align: center !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
}
.banner-content h1 {
    text-align: center !important;
    margin: 0 auto 20px !important;
    line-height: 1.3 !important;
}
.banner-content p {
    text-align: center !important;
    margin: 0 auto 30px !important;
    max-width: 600px !important;
    line-height: 1.7 !important;
}
.banner-content .btn {
    display: inline-block !important;
    margin: 5px !important;
}
.banner-dots {
    position: absolute !important;
    bottom: 25px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    gap: 10px !important;
    z-index: 10 !important;
}

/* 2. 汉堡菜单按钮优化（更明显） */
.hamburger-btn {
    display: none;
    width: 44px !important;
    height: 44px !important;
    border-radius: 10px !important;
    border: 2px solid #e2e8f0 !important;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px !important;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}
.hamburger-btn:hover {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%) !important;
    border-color: #1a56db !important;
    transform: scale(1.05);
}
.hamburger-btn:active {
    transform: scale(0.95);
}
.hamburger-btn span {
    display: block !important;
    width: 22px !important;
    height: 2.5px !important;
    background: linear-gradient(90deg, #1a56db 0%, #0e9f6e 100%) !important;
    border-radius: 3px !important;
    transition: all 0.3s;
}

/* 3. 底部移动端优化：快速链接和服务支持并列居中 */
@media (max-width: 768px) {
    .footer-v2-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
        text-align: center !important;
    }
    .footer-v2-col {
        text-align: center !important;
        width: 100% !important;
    }
    .footer-v2-col-title {
        text-align: center !important;
        justify-content: center !important;
    }
    .footer-v2-col-title::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    .footer-v2-links {
        text-align: center !important;
    }
    .footer-v2-links li {
        text-align: center !important;
    }
    .footer-v2-links li a {
        justify-content: center !important;
        text-align: center !important;
    }
    .footer-v2-about {
        grid-column: 1 / -1 !important;
        text-align: center !important;
    }
    .footer-v2-about p {
        text-align: center !important;
    }
    .footer-v2-contact {
        grid-column: 1 / -1 !important;
        text-align: center !important;
    }
    .footer-v2-contact-item {
        justify-content: center !important;
        text-align: center !important;
    }
    .footer-v2-bottom {
        text-align: center !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    .footer-v2-bottom-left,
    .footer-v2-bottom-right {
        text-align: center !important;
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    .footer-v2-grid {
        grid-template-columns: 1fr !important;
    }
    .banner {
        min-height: 380px !important;
    }
    .banner-slide {
        min-height: 380px !important;
    }
    .banner-content h1 {
        font-size: 1.5rem !important;
    }
    .banner-content p {
        font-size: 0.9rem !important;
    }
}

/* ============================================
   v5.3 修复样式（汉堡按钮+底部响应式）
   ============================================ */

/* 修复汉堡按钮：确保移动端显示 */
@media (max-width: 992px) {
    .hamburger-btn {
        display: flex !important;
    }
    .main-nav-v2 {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 340px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        box-shadow: -10px 0 40px rgba(0,0,0,0.15);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        overflow-y: auto;
        display: flex !important;
    }
    .main-nav-v2.mobile-open {
        right: 0;
    }
    .mobile-nav-header {
        display: flex !important;
    }
    .nav-list-v2 {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        padding: 10px 16px !important;
        flex: 1 !important;
    }
    .nav-item-v2 {
        border-bottom: 1px solid #f1f5f9;
    }
    .nav-link-v2 {
        padding: 14px 12px !important;
        border-radius: 0 !important;
        justify-content: space-between !important;
    }
    .mobile-overlay {
        display: block !important;
    }
}

@media (max-width: 576px) {
    .hamburger-btn {
        width: 40px !important;
        height: 40px !important;
    }
}

/* 修复底部移动端响应式 */
@media (max-width: 768px) {
    .footer-v2-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 25px !important;
        text-align: center !important;
    }
    .footer-v2-col {
        text-align: center !important;
        width: 100% !important;
    }
    .footer-v2-brand {
        grid-column: 1 / -1 !important;
        text-align: center !important;
    }
    .footer-v2-brand p {
        text-align: center !important;
    }
    .footer-v2-contact-col {
        grid-column: 1 / -1 !important;
        text-align: center !important;
    }
    .footer-v2-col-title {
        text-align: center !important;
        justify-content: center !important;
    }
    .footer-v2-col-title::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    .footer-v2-links {
        text-align: center !important;
    }
    .footer-v2-links li {
        text-align: center !important;
    }
    .footer-v2-links li a {
        justify-content: center !important;
        text-align: center !important;
    }
    .footer-v2-contact li {
        justify-content: center !important;
        text-align: center !important;
    }
    .footer-v2-bottom {
        text-align: center !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    .footer-v2-bottom-left,
    .footer-v2-bottom-right {
        text-align: center !important;
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    .footer-v2-grid {
        grid-template-columns: 1fr !important;
    }
}

/* 移动端遮罩层 */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

/* ============================================
   v5.4 最终修复样式（彻底解决蒙层/汉堡/底部问题）
   ============================================ */

/* 1. 蒙层：默认隐藏，只在菜单打开时通过JS显示 */
.mobile-overlay {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

/* 2. 汉堡按钮：PC端隐藏，移动端显示 */
.hamburger-btn {
    display: none !important;
}

@media (max-width: 992px) {
    .hamburger-btn {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
        border: 1px solid #cbd5e1;
        border-radius: 10px;
        cursor: pointer;
        gap: 5px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transition: all 0.2s ease;
    }
    .hamburger-btn:hover {
        background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
        border-color: #1a56db;
    }
    .hamburger-btn:active {
        transform: scale(0.95);
    }
    .hamburger-btn span {
        display: block !important;
        width: 22px;
        height: 2.5px;
        background: linear-gradient(90deg, #1a56db, #0e9f6e);
        border-radius: 2px;
    }

    /* 移动端导航菜单：从右侧滑出 */
    .main-nav-v2 {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 85% !important;
        max-width: 340px !important;
        height: 100vh !important;
        background: #fff !important;
        flex-direction: column !important;
        align-items: stretch !important;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15) !important;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        z-index: 999 !important;
        overflow-y: auto !important;
        display: flex !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .main-nav-v2.mobile-open {
        right: 0 !important;
    }
    .mobile-nav-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        background: linear-gradient(135deg, #1a56db, #0e9f6e);
        color: #fff;
    }
    .mobile-nav-title {
        font-size: 16px;
        font-weight: 600;
    }
    .mobile-nav-close {
        background: rgba(255, 255, 255, 0.2);
        border: none;
        color: #fff;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .nav-list-v2 {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        padding: 10px 16px !important;
        flex: 1 !important;
    }
    .nav-item-v2 {
        border-bottom: 1px solid #f1f5f9;
    }
    .nav-link-v2 {
        padding: 14px 12px !important;
        border-radius: 0 !important;
        justify-content: space-between !important;
        font-size: 15px;
    }
    .nav-link-v2:hover {
        background: #f8fafc;
    }
    .header-v2-actions {
        gap: 8px !important;
    }
}

@media (max-width: 576px) {
    .hamburger-btn {
        width: 40px !important;
        height: 40px !important;
    }
    .hamburger-btn span {
        width: 20px !important;
    }
}

/* 3. 底部移动端响应式：768px以下2列，480px以下1列 */
@media (max-width: 768px) {
    .footer-v2-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 25px !important;
        text-align: center !important;
    }
    .footer-v2-col {
        text-align: center !important;
        width: 100% !important;
    }
    .footer-v2-brand {
        grid-column: 1 / -1 !important;
        text-align: center !important;
    }
    .footer-v2-brand p {
        text-align: center !important;
    }
    .footer-v2-contact-col {
        grid-column: 1 / -1 !important;
        text-align: center !important;
    }
    .footer-v2-col-title {
        text-align: center !important;
        justify-content: center !important;
    }
    .footer-v2-col-title::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    .footer-v2-links {
        text-align: center !important;
    }
    .footer-v2-links li {
        text-align: center !important;
    }
    .footer-v2-links li a {
        justify-content: center !important;
        text-align: center !important;
    }
    .footer-v2-contact li {
        justify-content: center !important;
        text-align: center !important;
    }
    .footer-v2-bottom {
        text-align: center !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    .footer-v2-bottom-left,
    .footer-v2-bottom-right {
        text-align: center !important;
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    .footer-v2-grid {
        grid-template-columns: 1fr !important;
    }
}

/* 4. 平板端适配（769px - 992px） */
@media (min-width: 769px) and (max-width: 992px) {
    .footer-v2-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .footer-v2-brand {
        grid-column: 1 / -1 !important;
    }
}

/* ============================================
   v5.6 认证页面样式（登录/注册重新设计）
   ============================================ */

/* 认证页面容器 */
.auth-page {
    min-height: calc(100vh - 200px);
    padding: 40px 20px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f5f0 50%, #fef3f2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 认证容器（左右分栏） */
.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 960px;
    width: 100%;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.auth-container-wide {
    max-width: 1100px;
}

/* 左侧品牌展示区 */
.auth-left {
    background: linear-gradient(135deg, #1a56db 0%, #0e9f6e 100%);
    padding: 50px 40px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.auth-left::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

/* 品牌区 */
.auth-brand {
    position: relative;
    z-index: 1;
}

.auth-logo {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.auth-brand h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-slogan {
    font-size: 15px;
    opacity: 0.9;
}

/* 特性列表 */
.auth-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 40px 0;
    position: relative;
    z-index: 1;
}

.auth-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.auth-feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.auth-feature h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.auth-feature p {
    font-size: 13px;
    opacity: 0.85;
    line-height: 1.5;
}

.auth-footer-text {
    font-size: 12px;
    opacity: 0.7;
    position: relative;
    z-index: 1;
}

/* 右侧表单区 */
.auth-right {
    padding: 50px 45px;
    display: flex;
    align-items: center;
}

.auth-form-wrapper {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

/* 表单头部 */
.auth-form-header {
    margin-bottom: 30px;
}

.auth-form-header h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 8px;
}

.auth-form-header p {
    font-size: 14px;
    color: #718096;
}

/* 警告框 */
.auth-alert {
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.auth-alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.auth-alert-icon {
    font-size: 18px;
}

/* 表单 */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 两列行 */
.auth-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* 表单组 */
.auth-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-form-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.auth-required {
    color: #ef4444;
}

/* 输入框包装器（带图标） */
.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-icon {
    position: absolute;
    left: 16px;
    font-size: 16px;
    z-index: 1;
    opacity: 0.6;
}

/* 大输入框 */
.auth-form-input {
    width: 100%;
    height: 52px;
    padding: 0 16px 0 48px;
    font-size: 15px;
    color: #1a202c;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.25s ease;
    outline: none;
    box-sizing: border-box;
}

.auth-form-input::placeholder {
    color: #9ca3af;
}

.auth-form-input:focus {
    background: #fff;
    border-color: #1a56db;
    box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.1);
}

.auth-form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}

/* 验证码行 */
.auth-captcha-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.auth-captcha-img {
    height: 52px;
    width: 120px;
    cursor: pointer;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    object-fit: cover;
    transition: border-color 0.25s ease;
    flex-shrink: 0;
}

.auth-captcha-img:hover {
    border-color: #1a56db;
}

.auth-form-hint {
    font-size: 12px;
    color: #9ca3af;
    margin-top: -8px;
}

/* 表单选项 */
.auth-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -4px;
}

.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #4b5563;
    cursor: pointer;
}

.auth-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #1a56db;
    cursor: pointer;
}

.auth-forgot-link {
    font-size: 14px;
    color: #1a56db;
    text-decoration: none;
    font-weight: 500;
}

.auth-forgot-link:hover {
    text-decoration: underline;
}

/* 协议 */
.auth-form-agreement {
    margin-top: -4px;
}

.auth-form-agreement a {
    color: #1a56db;
    text-decoration: none;
}

.auth-form-agreement a:hover {
    text-decoration: underline;
}

/* 提交按钮 */
.auth-submit-btn {
    width: 100%;
    height: 54px;
    background: linear-gradient(135deg, #1a56db 0%, #0e9f6e 100%);
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 86, 219, 0.3);
    letter-spacing: 2px;
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 86, 219, 0.4);
}

.auth-submit-btn:active {
    transform: translateY(0);
}

/* 表单底部 */
.auth-form-footer {
    margin-top: 28px;
    text-align: center;
    font-size: 14px;
    color: #6b7280;
}

.auth-register-link {
    color: #1a56db;
    text-decoration: none;
    font-weight: 600;
    margin-left: 4px;
}

.auth-register-link:hover {
    text-decoration: underline;
}

/* 响应式：平板端 */
@media (max-width: 900px) {
    .auth-container {
        grid-template-columns: 1fr;
        max-width: 520px;
    }
    .auth-left {
        display: none;
    }
    .auth-right {
        padding: 40px 30px;
    }
}

/* 响应式：手机端 */
@media (max-width: 576px) {
    .auth-page {
        padding: 20px 12px;
    }
    .auth-right {
        padding: 30px 20px;
    }
    .auth-form-header h2 {
        font-size: 22px;
    }
    .auth-form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .auth-form-input {
        height: 48px;
        font-size: 14px;
    }
    .auth-submit-btn {
        height: 50px;
        font-size: 16px;
    }
    .auth-captcha-img {
        height: 48px;
        width: 100px;
    }
    .auth-form-options {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

/* ============================================
   v5.8 最终修复：汉堡菜单移至左上角LOGO旁 + 底部两列并列
   覆盖所有之前版本的冲突规则（使用 !important 确保优先级最高）
   ============================================ */

/* === 1. 品牌区域 + 汉堡菜单包裹层 === */
.brand-hamburger-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* === 2. 汉堡按钮：PC端隐藏，移动端紧贴LOGO右侧显示 === */
.hamburger-btn,
.hamburger-btn-left {
    display: none !important;
}

@media (max-width: 992px) {
    .hamburger-btn,
    .hamburger-btn-left {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 42px;
        height: 42px;
        background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
        border: 1px solid #cbd5e1;
        border-radius: 10px;
        cursor: pointer;
        gap: 5px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transition: all 0.2s ease;
        flex-shrink: 0;
    }
    .hamburger-btn:hover,
    .hamburger-btn-left:hover {
        background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
        border-color: #1a56db;
    }
    .hamburger-btn:active,
    .hamburger-btn-left:active {
        transform: scale(0.95);
    }
    .hamburger-btn span,
    .hamburger-btn-left span {
        display: block !important;
        width: 22px;
        height: 2.5px;
        background: linear-gradient(90deg, #1a56db, #0e9f6e);
        border-radius: 2px;
    }

    /* === 3. 移动端导航菜单：从左侧滑出（因为按钮在左上角） === */
    .main-nav-v2 {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        right: auto !important;
        width: 85% !important;
        max-width: 320px !important;
        min-width: 200px !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: #fff !important;
        flex-direction: column !important;
        align-items: stretch !important;
        box-shadow: 10px 0 40px rgba(0, 0, 0, 0.15) !important;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        z-index: 999 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    .main-nav-v2.mobile-open {
        left: 0 !important;
    }

    /* 导航子元素全部100%宽度防溢出 */
    .main-nav-v2 > * {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .nav-list-v2 {
        width: 100% !important;
        flex-direction: column !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .nav-item-v2 {
        width: 100% !important;
        border-bottom: 1px solid #f1f5f9;
    }
    .nav-link-v2 {
        padding: 14px 12px !important;
        border-radius: 0 !important;
        justify-content: space-between !important;
        font-size: 15px;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .submenu-v2 {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .submenu-link-v2 {
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    /* 移动端导航头部 */
    .mobile-nav-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        background: linear-gradient(135deg, #1a56db, #0e9f6e);
        color: #fff;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .mobile-nav-title {
        font-size: 16px;
        font-weight: 600;
    }
    .mobile-nav-close {
        background: rgba(255, 255, 255, 0.2);
        border: none;
        color: #fff;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* 移动端导航底部操作区 */
    .mobile-nav-footer {
        display: flex !important;
    }

    /* 确保header内容不溢出 */
    .main-header-v2-inner {
        overflow: visible !important;
    }
    .header-actions-v2 {
        gap: 6px !important;
        flex-shrink: 1 !important;
    }
    .brand-v2-name {
        font-size: 1rem !important;
    }
    .brand-v2-slogan {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .hamburger-btn,
    .hamburger-btn-left {
        width: 38px !important;
        height: 38px !important;
    }
    .hamburger-btn span,
    .hamburger-btn-left span {
        width: 20px !important;
    }
    .brand-v2-logo {
        width: 40px;
        height: 40px;
    }
    .brand-v2-name {
        font-size: 0.9rem !important;
    }
    /* 极小屏幕下导航宽度收窄 */
    .main-nav-v2 {
        width: 80% !important;
        max-width: 300px !important;
    }
    .container {
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }
}

/* 防止水平滚动 */
body {
    overflow-x: hidden;
}

/* === 4. 底部Footer：手机/iPad端 快速链接+服务支持 两列并列 === */

/* 平板端（769px-992px）：2列布局 */
@media (min-width: 769px) and (max-width: 992px) {
    .footer-v2-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 25px !important;
    }
    .footer-v2-brand {
        grid-column: 1 / -1 !important;
    }
    .footer-v2-contact-col {
        grid-column: 1 / -1 !important;
    }
}

/* 手机端（<=768px）：快速链接和服务支持保持两列并列 */
@media (max-width: 768px) {
    .footer-v2-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
    }
    .footer-v2-brand {
        grid-column: 1 / -1 !important;
        text-align: center !important;
    }
    .footer-v2-brand p,
    .footer-v2-brand-desc {
        text-align: center !important;
    }
    .footer-v2-col {
        text-align: center !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    .footer-v2-col-title {
        text-align: center !important;
        justify-content: center !important;
    }
    .footer-v2-col-title::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    .footer-v2-links {
        text-align: center !important;
    }
    .footer-v2-links li {
        text-align: center !important;
    }
    .footer-v2-links li a {
        justify-content: center !important;
        text-align: center !important;
    }
    .footer-v2-contact-col {
        grid-column: 1 / -1 !important;
        text-align: center !important;
    }
    .footer-v2-contact li {
        justify-content: center !important;
        text-align: center !important;
    }
    .footer-v2-bottom {
        text-align: center !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
}

/* 超小屏幕（<=480px）：仍然保持快速链接+服务支持两列并列 */
@media (max-width: 480px) {
    .footer-v2-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
    }
    .footer-v2-col-title {
        font-size: 0.85rem !important;
    }
    .footer-v2-links li a {
        font-size: 0.8rem !important;
    }
}

/* 极小屏幕（<=360px）：仍然两列，进一步缩小 */
@media (max-width: 360px) {
    .footer-v2-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
    .footer-v2-col-title {
        font-size: 0.8rem !important;
    }
    .footer-v2-links li a {
        font-size: 0.75rem !important;
    }
}
