/* ============================================
   SINOKEN (思诺康科技) — 改版网站样式
   配色方案: 深蓝 #0B1D3A | 科技蓝 #1A5FB4 | 金色 #C9A84C
   ============================================ */

/* --- 基础重置 & 全局 --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-dark: #0B1D3A;
  --primary: #1A5FB4;
  --primary-light: #2E7BD4;
  --accent-gold: #C9A84C;
  --accent-gold-light: #E8D48B;
  --text-dark: #1a1a2e;
  --text-muted: #5a6a7a;
  --text-light: #8a9aaa;
  --bg-light: #f5f7fa;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-sm: 6px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --header-height: 76px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--primary-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- 按钮 --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 95, 180, 0.35);
}

.btn-gold {
  background: var(--accent-gold);
  color: #fff;
}
.btn-gold:hover {
  background: #b89430;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* --- 顶部工具栏 --- */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.top-bar a {
  color: rgba(255, 255, 255, 0.75);
}
.top-bar a:hover {
  color: var(--accent-gold);
}
.top-bar .hotline {
  color: var(--accent-gold);
  font-weight: 600;
}
.top-bar .hotline i,
.top-bar .hotline svg {
  margin-right: 4px;
}

/* --- 主导航 --- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-color);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 1px;
}
.logo-img {
  height: 50px;
  width: auto;
  display: block;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-text h1 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
}
.logo-text span {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  padding: 8px 18px;
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}
.nav a:hover,
.nav a.active {
  color: var(--primary);
  background: rgba(26, 95, 180, 0.06);
}
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

/* 移动端汉堡菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero 区域 --- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0f2b55 50%, #1a3a6a 100%);
  color: #fff;
  padding: 100px 0 80px;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(26, 95, 180, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content h2 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero-content h2 span {
  color: var(--accent-gold);
}
.hero-content p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-badges {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}
.hero-badge .icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 32px;
  width: 100%;
  max-width: 420px;
}
.hero-card .stat-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-card .stat-row:last-child {
  border-bottom: none;
}
.hero-card .stat-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}
.hero-card .stat-value {
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 15px;
}
.hero-card .brand-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.hero-card .brand-strip span {
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.5px;
}

/* --- 通用 Section 标题 --- */
.section {
  padding: 80px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.section-header .subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}
.section-header .line {
  width: 60px;
  height: 4px;
  background: var(--accent-gold);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* --- 核心优势 --- */
.features {
  background: var(--bg-white);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
}
.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary-dark);
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- 品牌展示 --- */
.brands {
  background: var(--bg-light);
}
.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.brand-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.brand-card .brand-logo {
  height: 52px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-card .brand-logo img {
  max-height: 52px;
  max-width: 160px;
  object-fit: contain;
}
.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-gold);
}
.brand-card .brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}
.brand-card .brand-name .count {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
}
.brand-card .brand-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 8px;
}

/* --- 热销型号 (首页产品) --- */
.featured-products {
  background: var(--bg-white);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.product-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.product-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.product-card .model {
  font-family: "SF Mono", "Fira Code", "Consolas", monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  word-break: break-all;
}
.product-card .brand-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 10px;
  background: rgba(26, 95, 180, 0.08);
  color: var(--primary);
}

/* --- 分页控件 --- */
.photo-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.photo-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}
.photo-pagination a:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.photo-pagination a.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* --- 产品照片墙 --- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.photo-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  cursor: pointer;
}
.photo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.photo-card .photo-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  background: #eee;
}
.photo-card .photo-info {
  padding: 12px 14px;
}
.photo-card .photo-model {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
  word-break: break-all;
}

/* --- 新闻板块 --- */
.news {
  background: var(--bg-light);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.news-card-body {
  padding: 20px;
}
.news-card .date {
  font-size: 12px;
  color: var(--text-light);
  display: block;
  margin-bottom: 8px;
}
.news-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary-dark);
}
.news-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.news-card .read-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
}
/* 后台编辑器工具栏 */
.editor-toolbar {
  margin-bottom: 6px;
}
/* 新闻详情页 HTML 内容样式 */
.news-content-html {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-dark);
  margin-top: 8px;
}
.news-content-html img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 12px 0;
}
.news-content-html p {
  margin-bottom: 10px;
}
.news-loading,
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: var(--text-light);
  font-size: 14px;
}

/* --- 质量承诺条 --- */
.quality-strip {
  background: linear-gradient(135deg, var(--primary-dark), #0f2b55);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.quality-strip h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}
.quality-strip p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 32px;
}
.quality-strip .guarantee-badges {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.quality-strip .guarantee-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.quality-strip .guarantee-item .g-icon {
  font-size: 32px;
}
.quality-strip .guarantee-item .g-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

/* --- 底部 --- */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-about h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.footer-about p {
  font-size: 14px;
  line-height: 1.8;
  max-width: 300px;
}
.footer-links h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-links a {
  display: block;
  padding: 4px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}
.footer-links a:hover {
  color: var(--accent-gold);
}
.footer-contact h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-contact p {
  font-size: 14px;
  margin-bottom: 6px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.footer-contact .contact-label {
  color: rgba(255, 255, 255, 0.4);
  min-width: 60px;
  flex-shrink: 0;
}
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
}
.footer-bottom a:hover {
  color: var(--accent-gold);
}

/* ============================================
   内页通用样式
   ============================================ */

/* 内页 Banner */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark), #0f2b55);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.page-banner h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}
.page-banner .breadcrumb {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}
.page-banner .breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}
.page-banner .breadcrumb a:hover {
  color: var(--accent-gold);
}

/* 内页主体 */
.page-main {
  padding: 60px 0;
  min-height: 400px;
}

/* 侧边栏布局 */
.page-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
}
.sidebar {
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  padding: 24px 0;
  height: fit-content;
  position: sticky;
  top: calc(var(--header-height) + 24px);
}
.sidebar h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  padding: 0 20px 16px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 8px;
}
.sidebar a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text-muted);
  border-left: 3px solid transparent;
  transition: var(--transition);
}
.sidebar a:hover,
.sidebar a.active {
  color: var(--primary);
  background: rgba(26, 95, 180, 0.04);
  border-left-color: var(--primary);
}

/* --- 库存查询表格 --- */
.inventory-table-wrap {
  overflow-x: auto;
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}
.inventory-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.inventory-table th {
  background: var(--primary-dark);
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
}
.inventory-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-dark);
}
.inventory-table tr:hover td {
  background: rgba(26, 95, 180, 0.03);
}
.inventory-table .model-cell {
  font-family: "SF Mono", "Fira Code", "Consolas", monospace;
  font-weight: 500;
  color: var(--primary);
}
.table-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 24px;
}
.table-pagination a {
  padding: 6px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-muted);
  transition: var(--transition);
}
.table-pagination a:hover,
.table-pagination a.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* --- 联系我们内容 --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  padding: 32px;
}
.contact-info-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--primary-dark);
}
.contact-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
}
.contact-item:last-child {
  border-bottom: none;
}
.contact-item .ci-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(26, 95, 180, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}
.contact-item .ci-label {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 2px;
}
.contact-item .ci-value {
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 500;
}

/* --- 质量管控流程 --- */
.qc-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.qc-step {
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  padding: 28px 24px;
  position: relative;
}
.qc-step .step-num {
  font-size: 36px;
  font-weight: 800;
  color: rgba(26, 95, 180, 0.08);
  position: absolute;
  top: 12px;
  right: 16px;
  line-height: 1;
}
.qc-step h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.qc-step ul {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
  padding-left: 0;
}
.qc-step ul li {
  padding-left: 16px;
  position: relative;
}
.qc-step ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
}

/* --- 关于我们 --- */
.about-content {
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  padding: 40px;
}
.about-content h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 16px;
  margin-top: 32px;
}
.about-content h3:first-child {
  margin-top: 0;
}
.about-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* --- 如何购买 --- */
.purchase-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.purchase-step {
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}
.purchase-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.purchase-step .ps-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin: 0 auto 16px;
}
.purchase-step h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.purchase-step p {
  font-size: 13px;
  color: var(--text-muted);
}

.terms-box {
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  padding: 28px;
  margin-top: 24px;
}
.terms-box h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.terms-box p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================
   响应式 - 平板
   ============================================ */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content p {
    margin: 0 auto 32px;
  }
  .hero-badges {
    justify-content: center;
  }
  .hero-visual {
    display: none;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   响应式 - 手机
   ============================================ */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 16px;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border-color);
  }
  .nav.open {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
  .top-bar .container {
    flex-direction: column;
    text-align: center;
  }
  .hero {
    padding: 60px 0;
  }
  .hero-content h2 {
    font-size: 28px;
  }
  .hero-badges {
    flex-direction: column;
    align-items: center;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .brands-grid {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .quality-strip .guarantee-badges {
    gap: 20px;
  }
  .section-header h2 {
    font-size: 26px;
  }
  .page-banner h1 {
    font-size: 26px;
  }
  .about-content {
    padding: 24px;
  }
  .inventory-table {
    font-size: 12px;
  }
  .inventory-table th,
  .inventory-table td {
    padding: 10px 12px;
  }
}

/* --- 动画辅助 --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
