/* 基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #b91c1c;
  --primary-dark: #991b1b;
  --primary-light: #dc2626;
  --gold: #d97706;
  --text: #1f1f1f;
  --text-light: #666;
  --bg: #fefefe;
  --bg-light: #f9f9f9;
  --white: #ffffff;
  --shadow: 0 2px 10px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center {
  text-align: center;
}

/* 按钮 */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-block {
  width: 100%;
  text-align: center;
}

.btn-plain {
  background: transparent;
  color: var(--white);
  border: none;
  padding: 12px 30px;
}

.btn-plain:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

@media (max-width: 768px) {
  .btn-plain {
    background: transparent;
    border: 2px solid var(--white);
  }
}

/* 导航栏 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  z-index: 1000;
  padding: 12px 0;
  min-height: 60px;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.logo-img {
  height: 45px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-weight: bold;
  font-size: 16px;
}

.logo-subtitle {
  font-size: 12px;
  color: var(--text-light);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s;
  padding: 5px 0;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text);
  transition: 0.3s;
}

/* 英雄区域 */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 20px;
  animation: fadeInUp 1s;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: 30px;
  opacity: 0.9;
  animation: fadeInUp 1s 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  animation: fadeInUp 1s 0.4s both;
}

.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background: var(--white);
  width: 30px;
  border-radius: 6px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255,255,255,0.2);
  border: none;
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: 0.3s;
}

.hero-arrow:hover {
  background: rgba(255,255,255,0.3);
}

.hero-prev { left: 20px; }
.hero-next { right: 20px; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 页面横幅 */
.page-banner {
  position: relative;
  height: 350px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 60px;
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(185, 28, 28, 0.85) 0%, rgba(153, 27, 27, 0.9) 100%);
}

.page-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
}

.page-banner-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 15px;
}

.page-banner-content p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* 通用区块 */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 15px;
}

.section-line {
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 0 auto 20px;
}

.section-desc {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.section-header.light {
  color: var(--white);
}

.section-header.light .section-desc {
  color: rgba(255,255,255,0.8);
}

.section-header.light .section-line {
  background: rgba(255,255,255,0.5);
}

/* 关于我们 */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.8;
}

.about-tags {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.tag {
  padding: 8px 20px;
  background: rgba(185, 28, 28, 0.1);
  color: var(--primary);
  border-radius: 20px;
  font-size: 14px;
}

/* 产品 */
.products {
  background: var(--bg-light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  height: 220px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-info {
  padding: 20px;
}

.product-name {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.product-desc {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 15px;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.product-features span {
  padding: 4px 12px;
  background: rgba(217, 119, 6, 0.1);
  color: var(--gold);
  border-radius: 12px;
  font-size: 12px;
}

/* 产品卡片简洁版 */
.products-section {
  background: var(--bg-light);
}

.product-card-simple {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 25px;
  border: 1px solid #e5e5e5;
  transition: box-shadow 0.3s;
  min-height: 320px;
}

.product-card-simple:hover {
  box-shadow: var(--shadow-lg);
}

.product-card-simple:last-child {
  margin-bottom: 0;
}

.product-card-image {
  height: 100%;
  min-height: 320px;
  overflow: hidden;
  border-right: 1px solid #e5e5e5;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card-simple:hover .product-card-image img {
  transform: scale(1.05);
}

.product-card-content {
  padding: 30px 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.product-card-header h2 {
  font-size: 1.5rem;
  color: var(--text);
  margin: 0;
}

.product-price {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary);
}

.product-price span {
  font-size: 0.9rem;
  font-weight: normal;
  color: var(--text-light);
}

.product-card-desc {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 14px;
}

.product-card-info {
  display: flex;
  gap: 30px;
  margin-bottom: 15px;
  padding: 12px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.info-item {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-size: 12px;
  color: #999;
  margin-bottom: 4px;
}

.info-value {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

.product-card-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.product-card-tags span {
  padding: 4px 12px;
  background: rgba(185, 28, 28, 0.08);
  color: var(--primary);
  border-radius: 4px;
  font-size: 12px;
  border: 1px solid rgba(185, 28, 28, 0.2);
}

.product-card-content .btn-primary {
  width: 140px;
  text-align: center;
  padding: 12px 20px;
}

/* 产品详情旧样式保留 */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  padding: 50px 0;
  border-bottom: 1px solid #eee;
}

.product-detail:last-child {
  border-bottom: none;
}

.product-detail-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.product-detail-image img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

.product-detail-info h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.product-detail-desc {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 25px;
}

.product-detail-features {
  margin-bottom: 25px;
}

.product-detail-features h4 {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.product-detail-features ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.product-detail-features li {
  color: var(--text-light);
}

.product-detail-specs {
  background: var(--bg-light);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 25px;
}

.product-detail-specs h4 {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.product-detail-specs p {
  margin-bottom: 8px;
  color: var(--text-light);
}

.product-detail-price {
  margin-bottom: 25px;
}

.product-detail-price .price {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary);
}

.product-detail-price .unit {
  font-size: 1rem;
  color: var(--text-light);
}

.product-detail-price .price-note {
  display: block;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 5px;
}

/* 特色 */
.features {
  background: var(--primary);
  color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.feature-item {
  padding: 30px 20px;
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.feature-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.feature-item h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.feature-item p {
  opacity: 0.9;
  line-height: 1.8;
}

/* 联系 */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.contact-item {
  text-align: center;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.contact-icon {
  font-size: 40px;
  margin-bottom: 20px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.contact-icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.contact-item h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.contact-item p {
  color: var(--text-light);
  margin-bottom: 5px;
}

/* 联系页面 */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2,
.contact-form-wrapper h2 {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: var(--primary);
}

.contact-info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: 8px;
}

.contact-info-icon {
  font-size: 32px;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.contact-info-item h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.contact-info-item p {
  color: var(--text-light);
  margin-bottom: 5px;
  font-size: 14px;
}

.contact-form-wrapper {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-note {
  text-align: center;
  color: var(--text-light);
  font-size: 13px;
  margin-top: 15px;
}

/* 品牌展示 */
.brand-showcase {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.brand-showcase h2 {
  padding: 25px 25px 0;
  font-size: 1.5rem;
  color: var(--primary);
}

.brand-showcase-image {
  height: 250px;
  overflow: hidden;
}

.brand-showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-showcase-content {
  padding: 25px;
}

.brand-showcase-content h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text);
}

.brand-showcase-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 25px;
}

.brand-stats {
  display: flex;
  justify-content: space-around;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.brand-stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary);
}

.stat-label {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 5px;
}

/* 品牌展示区二维码 */
.brand-qrcode {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  text-align: center;
}

.brand-qrcode img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.brand-qrcode p {
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
}

/* 地图 */
.map-section {
  background: var(--bg-light);
}

.map-placeholder {
  height: 300px;
  background: var(--white);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.map-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.map-placeholder p {
  color: var(--text-light);
}

.map-note {
  font-size: 14px;
  margin-top: 10px;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.faq-item {
  background: var(--white);
  padding: 25px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.faq-item h3 {
  font-size: 1rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.faq-item p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.8;
}

/* 时间线 */
.timeline-section {
  background: var(--bg-light);
}

.timeline {
  position: relative;
  padding: 30px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary) 0%, rgba(185, 28, 28, 0.3) 100%);
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-content {
  width: 42%;
  padding: 28px 30px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(0,0,0,0.05);
}

.timeline-content:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: auto;
  margin-left: 5%;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: auto;
  margin-right: 5%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  background: var(--white);
  border: 4px solid var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.1);
  transition: all 0.3s;
}

.timeline-item:hover::after {
  transform: translateX(-50%) scale(1.2);
  box-shadow: 0 0 0 6px rgba(185, 28, 28, 0.15);
}

.timeline-year {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(185, 28, 28, 0.3);
}

.timeline-content h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.timeline-content p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
}

/* 核心价值观 */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.value-item {
  text-align: center;
  padding: 30px 20px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.value-item:hover {
  transform: translateY(-5px);
}

.value-icon {
  font-size: 40px;
  margin-bottom: 18px;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(135deg, rgba(185, 28, 28, 0.08) 0%, rgba(185, 28, 28, 0.03) 100%);
  border-radius: 16px;
}

.value-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.value-item h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.value-item p {
  color: var(--text-light);
  font-size: 14px;
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.cta-section p {
  opacity: 0.9;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.cta-section .btn-outline-primary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.cta-section .btn-outline-primary:hover {
  background: var(--white);
  color: var(--primary);
}

/* 页脚 */
.footer {
  background: var(--white);
  border-top: 1px solid #eee;
  padding: 30px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  height: 35px;
  width: auto;
}

.footer-brand .logo-icon {
  width: 32px;
  height: 32px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-copyright {
  color: var(--text-light);
  font-size: 14px;
}

/* 回到顶部 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  box-shadow: var(--shadow);
  z-index: 999;
}

/* 有漂浮二维码时，回到顶部按钮移到左下角 */
body:has(.float-qrcode) .back-to-top {
  left: 20px;
  right: auto;
  bottom: 20px;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* 漂浮二维码 */
.float-qrcode {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  z-index: 998;
  text-align: center;
  transition: all 0.3s;
  animation: fadeInUp 0.5s ease;
}

.float-qrcode:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}

.float-qrcode-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  background: #666;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.float-qrcode-close:hover {
  background: var(--primary);
  transform: scale(1.1);
}

.float-qrcode-title {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 10px;
  font-weight: 500;
}

.float-qrcode-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 响应式 */
@media (max-width: 992px) {
  .products-grid,
  .features-grid,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-content,
  .product-detail,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }
  
  .product-card-simple {
    grid-template-columns: 1fr;
  }
  
  .product-card-image {
    height: 200px;
    border-right: none;
    border-bottom: 1px solid #e5e5e5;
  }
  
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    justify-content: flex-start;
    padding-left: 50px;
  }
  
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin: 0;
    width: 100%;
  }
  
  .timeline-item::after {
    left: 20px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: var(--shadow);
    display: none;
    z-index: 999;
  }
  
  .nav-links.show {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .products-grid,
  .features-grid,
  .contact-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero-arrow {
    display: none;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .product-detail-features ul {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  /* 移动端页面横幅优化 */
  .page-banner {
    height: 250px;
    margin-top: 60px;
  }
  
  .page-banner-content h1 {
    font-size: 1.8rem;
  }
  
  /* 移动端产品卡片优化 */
  .product-card-simple {
    margin-bottom: 20px;
  }
  
  .product-card-content {
    padding: 20px;
  }
  
  .product-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .product-card-header h2 {
    font-size: 1.3rem;
  }
  
  .product-price {
    font-size: 1.5rem;
  }
  
  .product-card-info {
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .product-card-tags {
    flex-wrap: wrap;
  }
  
  /* 移动端地图区域优化 */
  #mapContainer {
    height: 350px;
    border-radius: 12px;
  }
  
  /* 移动端联系页面优化 */
  .contact-info-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .contact-info-icon {
    margin: 0 auto;
  }
  
  .brand-showcase h2 {
    padding: 20px 20px 0;
  }
  
  .brand-stats {
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .brand-stat-item {
    min-width: 80px;
  }
  
  /* 移动端关于我们页面优化 */
  .about-image img {
    height: 280px;
  }
  
  .about-tags {
    justify-content: center;
  }
  
  /* 移动端特色区域优化 */
  .feature-item {
    padding: 25px 15px;
  }
  
  .feature-icon img {
    width: 50px;
    height: 50px;
  }
  
  /* 移动端FAQ优化 */
  .faq-item {
    padding: 20px;
  }
  
  /* 移动端按钮优化 */
  .btn {
    padding: 12px 24px;
    font-size: 15px;
  }
  
  .product-card-content .btn-primary {
    width: 100%;
  }
  
  /* 移动端时间线优化 */
  .timeline-content {
    padding: 20px;
  }
  
  /* 移动端核心价值观优化 */
  .value-item {
    padding: 25px 15px;
  }
  
  /* 移动端页脚优化 */
  .footer {
    padding: 25px 0;
  }
  
  .footer-brand {
    flex-direction: column;
    gap: 8px;
  }
  
  .footer-links {
    gap: 15px;
  }
  
  .footer-copyright {
    margin-top: 10px;
  }
  
  /* 移动端回到顶部按钮 */
  .back-to-top {
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
  
  body:has(.float-qrcode) .back-to-top {
    left: 15px;
    bottom: 15px;
  }
  
  /* 移动端漂浮二维码 */
  .float-qrcode {
    bottom: 15px;
    right: 15px;
    padding: 12px;
  }
  
  .float-qrcode-img {
    width: 100px;
    height: 100px;
  }
  
  .float-qrcode-title {
    font-size: 13px;
  }
  
  /* 移动端品牌展示二维码 */
  .brand-qrcode img {
    width: 120px;
    height: 120px;
  }
}

/* 超小屏幕适配 */
@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .hero-title {
    font-size: 1.6rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .page-banner {
    height: 200px;
  }
  
  .page-banner-content h1 {
    font-size: 1.5rem;
  }
  
  .page-banner-content p {
    font-size: 0.9rem;
  }
  
  .product-card-image {
    height: 180px;
  }
  
  #mapContainer {
    height: 280px;
  }
  
  .brand-showcase-image {
    height: 200px;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .about-image img {
    height: 220px;
  }
}
