/* ========================================
   寻机捡漏 - 企业官网全局样式
   二手印刷机械设备线上交易服务平台
   ======================================== */

/* ---------- CSS Variables ---------- */
:root {
  --red: #C41230;
  --red-dark: #a00e28;
  --black: #1A1A1A;
  --dark-gray: #333333;
  --medium-gray: #666666;
  --light-gray: #F5F5F5;
  --white: #FFFFFF;
  --border-color: #e0e0e0;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.15);
  --radius: 4px;
  --max-width: 1200px;
  --font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  --transition: all 0.3s ease-out;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-family);
  color: var(--dark-gray);
  background: var(--light-gray);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
input, textarea, button, select { font-family: inherit; font-size: inherit; }

/* ---------- Utility ---------- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.clearfix::after { content: ""; display: table; clear: both; }
.text-center { text-align: center; }
.text-red { color: var(--red); }

/* ---------- Scroll Animation ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Top Bar ---------- */
.top-bar {
  background: #eee;
  color: var(--medium-gray);
  font-size: 13px;
  line-height: 36px;
  border-bottom: 1px solid #e0e0e0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ---------- Header ---------- */
.header {
  background: var(--white);
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-img {
  height: 50px;
  width: auto;
}
.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--black);
}
.logo-text span {
  color: var(--red);
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-phone .phone-icon {
  width: 40px;
  height: 40px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-phone .phone-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}
.header-phone .phone-info {
  text-align: right;
}
.header-phone .phone-label {
  font-size: 12px;
  color: var(--medium-gray);
}
.header-phone .phone-number {
  font-size: 20px;
  font-weight: 700;
  color: var(--red);
}

/* ---------- Navigation ---------- */
.main-nav {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s;
}
.main-nav.scrolled {
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.nav-list {
  display: flex;
  justify-content: center;
}
.nav-list li a {
  display: block;
  color: var(--white);
  padding: 14px 28px;
  font-size: 15px;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-list li a:hover,
.nav-list li a.active {
  background: var(--red);
  color: var(--white);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile sidebar */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}
.mobile-nav-overlay.active { display: block; }
.mobile-nav {
  position: fixed;
  top: 0;
  right: -260px;
  width: 260px;
  height: 100%;
  background: var(--white);
  z-index: 1000;
  transition: right 0.3s ease;
  overflow-y: auto;
}
.mobile-nav.active { right: 0; }
.mobile-nav a {
  display: block;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
  color: var(--dark-gray);
  font-size: 15px;
}
.mobile-nav a:hover,
.mobile-nav a.active {
  background: var(--red);
  color: var(--white);
}

/* ---------- Banner ---------- */
.banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--black);
}
.banner-slider {
  display: flex;
  transition: transform 0.6s ease;
}
.banner-slide {
  min-width: 100%;
  position: relative;
}
.banner-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  z-index: 2;
}
.banner-content h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.banner-content p {
  font-size: 20px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  opacity: 0.9;
}
.banner-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.banner-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s;
}
.banner-dots span.active { background: var(--red); }
.banner-arrows {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(-50%);
  z-index: 3;
  pointer-events: none;
}
.banner-arrows button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.3);
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  pointer-events: auto;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner-arrows button:hover {
  background: var(--red);
  border-color: var(--red);
}

/* Inner page banner */
.page-banner {
  width: 100%;
  height: 260px;
  overflow: hidden;
  position: relative;
  background: var(--black);
}
.page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}
.page-banner .banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  text-align: center;
  z-index: 2;
}
.page-banner .banner-text h1 {
  font-size: 36px;
  font-weight: 700;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  background: var(--white);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--medium-gray);
}
.breadcrumb a { color: var(--medium-gray); }
.breadcrumb a:hover { color: var(--red); }

/* ---------- Section Titles ---------- */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}
.section-title .en {
  font-size: 14px;
  color: var(--medium-gray);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.section-title .line {
  width: 50px;
  height: 3px;
  background: var(--red);
  margin: 12px auto 0;
}

/* ---------- About Section (Home) ---------- */
.about-section {
  padding: 60px 0;
  background: var(--white);
}
.about-wrap {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.about-img {
  flex: 0 0 45%;
  position: relative;
}
.about-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
}
.about-img .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(196,18,48,0.85);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.about-img .play-btn:hover { transform: translate(-50%, -50%) scale(1.1); }
.about-img .play-btn::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent var(--white);
  margin-left: 4px;
}
.about-text {
  flex: 1;
}
.about-text .en-label {
  font-size: 14px;
  color: var(--medium-gray);
  margin-bottom: 5px;
}
.about-text h3 {
  font-size: 26px;
  color: var(--black);
  margin-bottom: 5px;
}
.about-text h3 span { color: var(--red); }
.about-text .desc {
  font-size: 15px;
  color: var(--dark-gray);
  line-height: 1.8;
  margin-top: 15px;
}
.about-text .btn-more {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 30px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 14px;
  transition: var(--transition);
}
.about-text .btn-more:hover { background: var(--red-dark); color: var(--white); }

/* ---------- Advantages Section ---------- */
.advantages-section {
  padding: 60px 0;
  background: var(--light-gray);
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.advantage-card {
  background: var(--white);
  padding: 35px 24px;
  text-align: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.advantage-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.advantage-card .icon svg {
  width: 30px;
  height: 30px;
  fill: var(--white);
}
.advantage-card h4 {
  font-size: 18px;
  color: var(--black);
  margin-bottom: 10px;
}
.advantage-card p {
  font-size: 14px;
  color: var(--medium-gray);
  line-height: 1.6;
}

/* ---------- Products Section ---------- */
.products-section {
  padding: 60px 0;
  background: var(--white);
}
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.category-tabs .tab {
  padding: 8px 24px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--dark-gray);
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
}
.category-tabs .tab:hover,
.category-tabs .tab.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.product-card .card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.product-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.product-card:hover .card-img img { transform: scale(1.05); }
.product-card .card-info {
  padding: 16px;
}
.product-card .card-info h4 {
  font-size: 15px;
  color: var(--black);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-card .card-info p {
  font-size: 13px;
  color: var(--medium-gray);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card .card-info .price {
  color: var(--red);
  font-size: 18px;
  font-weight: 700;
  margin-top: 8px;
}

/* ---------- Cases Section ---------- */
.cases-section {
  padding: 60px 0;
  background: var(--light-gray);
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.case-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.case-card .card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.case-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-card .card-title {
  padding: 14px 16px;
  background: var(--dark-gray);
  color: var(--white);
  font-size: 14px;
  text-align: center;
}

/* ---------- News Section ---------- */
.news-section {
  padding: 60px 0;
  background: var(--white);
}
.news-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}
.news-list {
  max-width: 900px;
  margin: 0 auto;
}
.news-item {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
  transition: var(--transition);
}
.news-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.news-item .thumb {
  flex: 0 0 160px;
  height: 100px;
  overflow: hidden;
  border-radius: var(--radius);
  margin-right: 20px;
}
.news-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-item .info { flex: 1; }
.news-item .info h4 {
  font-size: 16px;
  color: var(--black);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-item .info h4:hover { color: var(--red); }
.news-item .info p {
  font-size: 13px;
  color: var(--medium-gray);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-item .date-action {
  flex: 0 0 120px;
  text-align: center;
}
.news-item .date-action .date {
  font-size: 13px;
  color: var(--medium-gray);
  margin-bottom: 8px;
}
.news-item .date-action .btn-detail {
  display: inline-block;
  padding: 5px 16px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 12px;
  transition: var(--transition);
}
.news-item .date-action .btn-detail:hover { background: var(--red-dark); }

/* Section more link */
.section-more {
  text-align: center;
  margin-top: 30px;
}
.section-more a {
  display: inline-block;
  padding: 10px 36px;
  border: 1px solid var(--red);
  color: var(--red);
  border-radius: var(--radius);
  font-size: 14px;
  transition: var(--transition);
}
.section-more a:hover {
  background: var(--red);
  color: var(--white);
}

/* ---------- Culture Section ---------- */
.culture-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 100%);
  position: relative;
  overflow: hidden;
}
.culture-section .section-title h2 { color: var(--white); }
.culture-section .section-title .en { color: rgba(255,255,255,0.6); }
.culture-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.culture-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 30px 18px;
  text-align: center;
  transition: var(--transition);
}
.culture-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-4px);
}
.culture-card h4 {
  font-size: 16px;
  color: var(--white);
  margin-bottom: 10px;
}
.culture-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* ---------- Team Section ---------- */
.team-section {
  padding: 60px 0;
  background: var(--white);
}
.team-slider-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.team-slider {
  overflow: hidden;
}
.team-slider-inner {
  display: flex;
  transition: transform 0.5s ease;
}
.team-slide {
  min-width: 100%;
}
.team-slide img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: var(--radius);
}
.team-arrows {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}
.team-arrows button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--red);
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  pointer-events: auto;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-arrows button:hover { background: var(--red-dark); }
.team-dots {
  text-align: center;
  margin-top: 16px;
}
.team-dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color);
  margin: 0 5px;
  cursor: pointer;
  transition: background 0.3s;
}
.team-dots span.active { background: var(--red); }

/* ---------- Product List Page ---------- */
.product-list-section {
  padding: 50px 0;
  background: var(--light-gray);
}
.product-list-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}

/* ---------- Case List Page ---------- */
.case-list-section {
  padding: 50px 0;
  background: var(--light-gray);
}
.case-list-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}

/* ---------- News List Page ---------- */
.news-list-section {
  padding: 50px 0;
  background: var(--light-gray);
}

/* ---------- Pagination ---------- */
.pagination {
  text-align: center;
  padding: 30px 0;
}
.pagination a,
.pagination span {
  display: inline-block;
  min-width: 36px;
  height: 36px;
  line-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border-color);
  margin: 0 3px;
  text-align: center;
  font-size: 14px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.pagination a:hover,
.pagination span.current {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* ---------- Detail Page ---------- */
.detail-section {
  padding: 50px 0;
  background: var(--white);
}
.detail-section .container {
  max-width: 900px;
}
.detail-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}
.detail-header h1 {
  font-size: 26px;
  color: var(--black);
  margin-bottom: 10px;
}
.detail-header .meta {
  font-size: 13px;
  color: var(--medium-gray);
}
.detail-header .meta span {
  margin-right: 20px;
}
.detail-content {
  font-size: 15px;
  line-height: 1.9;
  color: var(--dark-gray);
}
.detail-content p { margin-bottom: 16px; }
.detail-content img {
  max-width: 100%;
  margin: 20px 0;
  border-radius: var(--radius);
}
.detail-content h3 {
  font-size: 20px;
  color: var(--black);
  margin: 30px 0 15px;
}
.detail-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.detail-content table th,
.detail-content table td {
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  font-size: 14px;
}
.detail-content table th {
  background: var(--light-gray);
  font-weight: 600;
  color: var(--black);
}
.detail-nav {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
}
.detail-nav a {
  font-size: 14px;
  color: var(--medium-gray);
}
.detail-nav a:hover { color: var(--red); }

/* ---------- Message/Contact Form ---------- */
.form-section {
  padding: 50px 0;
  background: var(--white);
}
.form-section .container {
  max-width: 900px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  margin-bottom: 0;
}
.form-group label {
  display: block;
  font-size: 14px;
  color: var(--dark-gray);
  margin-bottom: 6px;
  font-weight: 500;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--dark-gray);
  transition: border-color 0.2s;
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--red);
  outline: none;
}
.form-group input.error,
.form-group textarea.error {
  border-color: var(--red);
}
.form-group .error-msg {
  font-size: 12px;
  color: var(--red);
  margin-top: 4px;
  display: none;
}
.form-group.full-width {
  grid-column: 1 / -1;
}
.form-group textarea {
  height: 140px;
  resize: vertical;
}
.btn-submit {
  display: inline-block;
  padding: 12px 50px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  grid-column: 1 / -1;
  justify-self: center;
}
.btn-submit:hover { background: var(--red); }

/* ---------- Contact Cards ---------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 30px 0;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition);
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.contact-card .card-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 14px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card .card-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}
.contact-card h4 {
  font-size: 16px;
  color: var(--black);
  margin-bottom: 8px;
}
.contact-card p {
  font-size: 14px;
  color: var(--medium-gray);
}

/* Contact service text */
.contact-service-text {
  text-align: center;
  margin: 30px 0;
}
.contact-service-text h3 {
  font-size: 22px;
  color: var(--red);
  margin-bottom: 8px;
}
.contact-service-text p {
  font-size: 14px;
  color: var(--medium-gray);
}

/* ---------- Network Page ---------- */
.network-section {
  padding: 50px 0;
  background: var(--white);
}
.network-section .container {
  max-width: 900px;
}
.network-content {
  font-size: 15px;
  line-height: 2;
  color: var(--dark-gray);
}
.network-content p { margin-bottom: 20px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--dark-gray);
  color: rgba(255,255,255,0.8);
  padding-top: 0;
}
.footer-nav {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}
.footer-nav .container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--white); }
.footer-info {
  padding: 30px 0;
}
.footer-info .container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 30px;
  align-items: flex-start;
}
.footer-brand h4 {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand .btn-about {
  display: inline-block;
  padding: 6px 18px;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 13px;
  transition: var(--transition);
}
.footer-brand .btn-about:hover { background: var(--red); }
.footer-contact-item {
  margin-bottom: 20px;
}
.footer-contact-item .label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}
.footer-contact-item .value {
  font-size: 15px;
  color: var(--white);
  font-weight: 500;
}
.footer-contact-item .value svg {
  width: 16px;
  height: 16px;
  fill: var(--red);
  vertical-align: middle;
  margin-right: 6px;
}
.footer-qrcode {
  text-align: center;
}
.footer-qrcode img {
  width: 120px;
  height: 120px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 6px;
  margin-bottom: 8px;
}
.footer-qrcode .qrcode-text {
  font-size: 13px;
  color: var(--red);
  margin-bottom: 4px;
}
.footer-qrcode .qrcode-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.copyright {
  background: rgba(0,0,0,0.2);
  padding: 14px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.copyright a { color: rgba(255,255,255,0.4); }
.copyright a:hover { color: var(--white); }

/* ---------- Floating Sidebar ---------- */
.float-sidebar {
  position: fixed;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  position: relative;
}
.float-btn svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}
.float-btn-phone { background: var(--red); }
.float-btn-wechat { background: #07c160; }
.float-btn-top { background: var(--dark-gray); }
.float-btn:hover { transform: scale(1.1); }
.float-btn .tooltip {
  position: absolute;
  right: 56px;
  background: var(--white);
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: 12px;
  color: var(--dark-gray);
  white-space: nowrap;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.float-btn:hover .tooltip { opacity: 1; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.75);
  color: var(--white);
  padding: 16px 40px;
  border-radius: var(--radius);
  font-size: 15px;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.toast.show { opacity: 1; }

/* ---------- Lazy Load Placeholder ---------- */
.lazy-placeholder {
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 13px;
}

/* ===================================
   补全缺失的 CSS 样式
   =================================== */

/* ---------- Banner 箭头按钮 ---------- */
.banner-prev,
.banner-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.banner-prev { left: 20px; }
.banner-next { right: 20px; }
.banner-prev:hover,
.banner-next:hover { background: var(--primary); }

/* ---------- 内页 Banner ---------- */
.inner-banner {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}
.inner-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Validate Form ---------- */
.validate-form {
  width: 100%;
}

/* ---------- Required 标记 ---------- */
.required {
  color: var(--primary);
  margin-left: 2px;
}

/* ---------- 拨打电话按钮 ---------- */
.btn-call {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 12px 32px;
  border-radius: var(--radius);
  font-size: 16px;
  text-decoration: none;
  transition: background 0.3s;
}
.btn-call:hover { background: #a80f28; }

/* ---------- 高亮文字 ---------- */
.light { color: var(--primary); font-weight: 700; }

/* ===================================
   在线留言页面
   =================================== */
.message-section {
  padding: 60px 0;
  background: var(--bg-light);
}
.message-desc {
  text-align: center;
  color: var(--text-gray);
  font-size: 15px;
  margin-bottom: 40px;
  line-height: 1.8;
}
.message-form {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
}
.form-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-right {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.form-right textarea {
  flex: 1;
  min-height: 140px;
}

/* ===================================
   联系我们页面
   =================================== */
.contact-section {
  padding: 60px 0;
  background: var(--bg-light);
}
.contact-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 35px 30px;
  text-align: center;
  width: 260px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.contact-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(196,18,48,0.08);
  color: var(--primary);
  font-size: 24px;
}
.contact-card-info h4 {
  font-size: 15px;
  color: var(--text-gray);
  margin-bottom: 8px;
  font-weight: 400;
}
.contact-card-info p {
  font-size: 16px;
  color: var(--text-dark);
  font-weight: 700;
}
.contact-slogan {
  text-align: center;
  margin: 40px 0 50px;
}
.slogan-main {
  font-size: 22px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
}
.slogan-sub {
  font-size: 14px;
  color: var(--text-gray);
}

/* ===================================
   产品详情页
   =================================== */
.product-detail-section {
  padding: 60px 0;
}
.detail-top {
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
}
.detail-gallery {
  flex: 0 0 480px;
}
.main-img {
  width: 100%;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
  background: #f0f0f0;
}
.main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb-list {
  display: flex;
  gap: 10px;
}
.thumb-list .thumb {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s;
}
.thumb-list .thumb.active,
.thumb-list .thumb:hover {
  border-color: var(--primary);
}
.thumb-list .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-info {
  flex: 1;
}
.detail-title {
  font-size: 24px;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 15px;
}
.detail-price {
  font-size: 28px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 20px;
}
.detail-price span {
  font-size: 14px;
  color: var(--text-gray);
  font-weight: 400;
}
.detail-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 25px;
  padding: 15px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.detail-meta p {
  font-size: 14px;
  color: var(--text-gray);
}
.detail-meta strong {
  color: var(--text-dark);
  margin-right: 8px;
}
.detail-actions {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}
.btn-inquiry {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 12px 36px;
  border-radius: var(--radius);
  font-size: 16px;
  text-decoration: none;
  transition: background 0.3s;
  border: none;
  cursor: pointer;
}
.btn-inquiry:hover { background: #a80f28; }
.btn-action {
  display: inline-block;
  background: var(--text-dark);
  color: var(--white);
  padding: 12px 36px;
  border-radius: var(--radius);
  font-size: 16px;
  text-decoration: none;
  transition: background 0.3s;
  border: none;
  cursor: pointer;
}
.btn-action:hover { background: #333; }
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
}
.spec-table th,
.spec-table td {
  padding: 12px 16px;
  border: 1px solid #e8e8e8;
  text-align: left;
  font-size: 14px;
}
.spec-table th {
  background: var(--bg-light);
  color: var(--text-dark);
  font-weight: 600;
  width: 160px;
}
.spec-table td { color: var(--text-gray); }
.detail-desc {
  margin-bottom: 50px;
}
.detail-block {
  margin-bottom: 30px;
}
.detail-block h3 {
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.detail-block p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.8;
}
.related-products {
  padding: 50px 0;
  background: var(--bg-light);
}
.related-products .section-title { margin-bottom: 30px; }
.detail-images {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.detail-img {
  width: 200px;
  height: 150px;
  border-radius: var(--radius);
  overflow: hidden;
}
.detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===================================
   案例详情页
   =================================== */
.case-detail-section {
  padding: 60px 0;
}
.case-name {
  font-size: 24px;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 20px;
}
.desc-content {
  margin-bottom: 30px;
}
.desc-content h3 {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.desc-content p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 10px;
}
.customer-review {
  background: var(--bg-light);
  padding: 30px;
  border-radius: var(--radius);
  margin: 30px 0;
  border-left: 4px solid var(--primary);
}
.review-text {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 12px;
}
.review-author {
  font-size: 14px;
  color: var(--text-gray);
  text-align: right;
}
.related-cases {
  padding: 50px 0;
  background: var(--bg-light);
}
.related-cases .section-title { margin-bottom: 30px; }

/* ===================================
   新闻详情页
   =================================== */
.news-detail-section {
  padding: 60px 0;
}
.news-content {
  max-width: 800px;
  margin: 0 auto;
}
.news-content h1 {
  font-size: 26px;
  color: var(--text-dark);
  margin-bottom: 15px;
  line-height: 1.5;
}
.news-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}
.news-meta .source { font-weight: 600; }
.news-content .article-body {
  font-size: 15px;
  color: #444;
  line-height: 2;
}
.news-content .article-body p {
  margin-bottom: 18px;
}
.related-news {
  padding: 50px 0;
  background: var(--bg-light);
}
.related-news .section-title { margin-bottom: 30px; }
.related-news-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}
.news-thumb {
  width: 100px;
  height: 70px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}
.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related-news-item .info h4 {
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 6px;
  font-weight: 600;
}
.related-news-item .info p {
  font-size: 13px;
  color: var(--text-gray);
}
.related-news-item a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}
.related-news-item a:hover { color: var(--primary); }

/* ===================================
   关于我们页面
   =================================== */
.about-detail-section {
  padding: 60px 0;
}
.culture-bg {
  background: linear-gradient(135deg, #1a2a3a 0%, #2a3a4a 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.culture-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23ffffff" fill-opacity="0.03" width="100" height="100"/></svg>') repeat;
  pointer-events: none;
}
.culture-bg .section-title h2,
.culture-bg .section-title p { color: #fff; }
.culture-bg .section-title .en { color: rgba(255,255,255,0.5); }
.culture-bg .culture-card { border-color: rgba(255,255,255,0.2); }
.culture-bg .culture-card h3 { color: #fff; }
.culture-bg .culture-card p { color: rgba(255,255,255,0.8); }
.team-slider-outer {
  position: relative;
  overflow: hidden;
}
.team-prev,
.team-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.team-prev { left: 0; }
.team-next { right: 0; }
.team-prev:hover,
.team-next:hover { background: #a80f28; }

/* ===================================
   销售网络页面
   =================================== */
.network-img {
  width: 100%;
  max-height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 30px;
}
.network-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.network-intro {
  padding: 60px 0;
}
.network-intro h3 {
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.network-intro p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 15px;
}
.region-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 40px;
}
.region-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.region-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.region-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(196,18,48,0.08);
  color: var(--primary);
  font-size: 22px;
}
.region-card h4 {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-weight: 600;
}
.region-card p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ===== Wechat Popup ===== */
.wechat-popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}
.wechat-popup {
  background: #fff;
  border-radius: 8px;
  width: 340px;
  max-width: 90vw;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  overflow: hidden;
}
.wechat-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
  font-size: 16px;
  font-weight: 600;
  color: #1A1A1A;
}
.wechat-popup-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  line-height: 1;
  padding: 0;
}
.wechat-popup-close:hover {
  color: #C41230;
}
.wechat-popup-body {
  padding: 30px 20px;
  text-align: center;
}
.wechat-qr-placeholder {
  width: 160px;
  height: 160px;
  margin: 0 auto 15px;
  background: #F5F5F5;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #666;
}
.wechat-qr-placeholder svg {
  color: #07C160;
  margin-bottom: 8px;
}
.wechat-qr-placeholder p {
  font-size: 12px;
  color: #999;
  margin: 0;
}
.wechat-id {
  font-size: 14px !important;
  color: #333 !important;
  font-weight: 600;
  margin-top: 4px !important;
}
.wechat-tip {
  font-size: 13px;
  color: #999;
  margin: 10px 0 0;
}
