* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --primary-color: #1e88e5;
  --secondary-color: #0d47a1;
  --accent-color: #ff6f00;
  --text-color: #333;
  --light-color: #f5f5f5;
  --dark-color: #1a1a1a;
  --white: #ffffff;
  --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

body {
  font-family: 'Microsoft YaHei', 'PingFang SC', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  padding-top: 40px;
}

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

.sidebar-overlay.show {
  display: block;
  opacity: 1;
}

@media (max-width: 768px) {
  body {
    padding-top: 0;
  }
}

/* 顶部联系栏 */
.top-bar {
  background: linear-gradient(90deg, #f8f9fa 0%, #e9ecef 100%);
  color: #495057;
  padding: 8px 0;
  font-size: 14px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  border-bottom: 1px solid #dee2e6;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.top-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.top-bar-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.top-bar-label {
  font-weight: 500;
  color: #1a5fb4;
}

.top-bar-phone,
.top-bar-email {
  color: #495057;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.3s;
  padding: 2px 8px;
  border-radius: 4px;
}

.top-bar-phone:hover,
.top-bar-email:hover {
  color: #1a5fb4;
  background: rgba(26, 95, 180, 0.08);
}

.phone-icon,
.email-icon {
  font-size: 12px;
}

/* 小屏幕响应式 - 顶部联系栏 */
@media (max-width: 768px) {
  .top-bar {
    padding: 6px 0;
    font-size: 12px;
  }
  .top-bar-content {
    justify-content: center;
  }
  .top-bar-label {
    display: none;
  }
  .top-bar-phone:not(:first-of-type),
  .top-bar-email {
    display: none;
  }
  .top-bar-phone:first-of-type {
    display: flex;
  }
}

/* 超小屏幕 */
@media (max-width: 480px) {
  .top-bar {
    padding: 5px 0;
    font-size: 11px;
  }
  .top-bar-phone:first-of-type {
    font-size: 11px;
  }
  .top-bar-phone:first-of-type .phone-icon {
    display: none;
  }
}

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

/* 导航栏 */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 40px;
  z-index: 1000;
  transition: all 0.3s;
}

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

.logo h1 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo .tagline {
  font-size: 12px;
  color: #666;
  margin-top: -5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

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

.nav-menu a:hover {
  color: var(--primary-color);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-color);
  margin: 3px 0;
  transition: 0.3s;
}

/* 横幅 */
.hero {
  background: url('/images/hero-bg.svg') center/cover no-repeat,
              linear-gradient(135deg, #1e88e5 0%, #0d47a1 100%);
  color: var(--white);
  padding: 200px 0 120px;
  text-align: center;
  margin-top: 60px;
  position: relative;
  min-height: 600px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.1);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h2 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: bold;
}

.hero-subtitle {
  font-size: 28px;
  margin-bottom: 15px;
  opacity: 0.95;
}

.hero-desc {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-slogan {
  font-size: 20px;
  margin-bottom: 25px;
  color: #ffd700;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* 首页徽章 */
.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 10px 25px;
  border-radius: 30px;
  margin-bottom: 25px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 16px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* 首页特性 */
.hero-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 20px;
  border-radius: 25px;
  transition: all 0.3s;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #4caf50;
  border-radius: 50%;
  font-size: 14px;
  font-weight: bold;
}

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

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 14px 35px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  margin: 5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.btn-primary:hover {
  background: var(--light-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.btn-block {
  width: 100%;
  margin: 0;
  border-radius: 8px;
}

/* 通用样式 */
.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: var(--text-color);
  position: relative;
  font-weight: bold;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  margin: 15px auto 0;
  border-radius: 2px;
}

section {
  padding: 80px 0;
  position: relative;
}

/* 关于我们 */
.about {
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.about-text p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: #555;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: var(--light-color);
  border-radius: 10px;
}

.stat-number {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.stat-label {
  color: #666;
  font-size: 14px;
}

.image-placeholder {
  background: var(--light-color);
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.placeholder-icon {
  font-size: 64px;
  margin-bottom: 10px;
}

.about-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.about-img:hover {
  transform: scale(1.02);
}

/* 产品中心 */
.products {
  background: linear-gradient(135deg, #f5f5f5 0%, #e8eaf6 100%);
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 25px;
  border: 2px solid var(--primary-color);
  background: var(--white);
  color: var(--primary-color);
  cursor: pointer;
  border-radius: 25px;
  transition: all 0.3s;
  font-size: 14px;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary-color);
  color: var(--white);
}

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

.product-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  opacity: 0;
  transition: opacity 0.3s;
}

.product-card:hover::before {
  opacity: 1;
}

.product-image {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #e8f0fe 0%, #cce0ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.1));
}

.product-image img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  transition: transform 0.3s;
}

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

.product-info {
  padding: 20px;
}

.product-category {
  color: var(--primary-color);
  font-size: 14px;
  margin-bottom: 5px;
  text-transform: uppercase;
  font-weight: 500;
}

.product-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--text-color);
}

.product-price {
  font-size: 24px;
  color: var(--accent-color);
  font-weight: bold;
}

/* 模态框 */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  overflow-y: auto;
}

.modal-content {
  background-color: var(--white);
  margin: 5% auto;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 700px;
  position: relative;
  animation: slideDown 0.3s ease-out;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes slideDown {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.close {
  position: absolute;
  right: 20px;
  top: 10px;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  color: #666;
  transition: color 0.3s;
}

.close:hover {
  color: var(--primary-color);
}

/* 服务项目 */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  text-align: center;
  padding: 40px 30px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 0;
}

.service-card:hover::before {
  opacity: 0.05;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 64px;
  margin-bottom: 20px;
  display: inline-block;
  transition: transform 0.3s;
  position: relative;
  z-index: 1;
}

.service-card:hover .service-icon {
  transform: scale(1.2) rotate(5deg);
}

.service-card h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
  font-size: 22px;
}

.service-card p {
  color: #666;
  line-height: 1.6;
}

/* 联系我们 */
.contact {
  background: var(--light-color);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-simple {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-info-simple {
  margin-top: 30px;
  padding: 20px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.contact-info-simple p {
  margin: 10px 0;
  font-size: 16px;
  color: #555;
}

.info-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.info-card h3 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.info-icon {
  font-size: 24px;
  margin-right: 15px;
  min-width: 30px;
}

.info-text {
  color: #555;
  font-size: 16px;
}

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

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

.contact-form-wrapper h3 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  font-family: inherit;
}

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

.form-section {
  margin-bottom: 15px;
  padding: 15px;
  background: var(--light-color);
  border-radius: 5px;
}

/* 新联系我们页面样式 */
.contact-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-info-card {
  background: var(--white);
  padding: 25px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.contact-info-card h3 {
  margin-bottom: 20px;
  color: var(--text-color);
  font-size: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

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

.contact-icon {
  font-size: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e3f2fd;
  border-radius: 50%;
}

.contact-item strong {
  display: block;
  color: var(--text-color);
  font-size: 14px;
  margin-bottom: 4px;
}

.contact-item p {
  color: #666;
  font-size: 15px;
  margin: 0;
}

.contact-right {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.map-container {
  background: var(--white);
  padding: 10px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.map-container iframe {
  display: block;
  border-radius: 8px;
}

.map-wrapper {
  width: 100%;
  margin-bottom: 15px;
}

.map-js-container {
  width: 100%;
}

.amap-container {
  width: 100%;
  height: 450px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.amap-container iframe,
.amap-container img {
  display: none !important;
}

.map-full {
  width: 100%;
}

.map-full iframe {
  display: block;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.map-marker-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  padding: 15px 20px;
  border-radius: 8px;
  margin-top: 15px;
  box-shadow: var(--shadow);
}

.marker-icon {
  font-size: 20px;
  margin-right: 10px;
}

.marker-text {
  flex: 1;
  color: var(--text-color);
  font-size: 14px;
}

.marker-nav-btn {
  padding: 8px 20px;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.marker-nav-btn:hover {
  background: var(--secondary-color);
}

.map-card {
  background: var(--white);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.map-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.map-card-icon {
  font-size: 24px;
  margin-right: 10px;
}

.map-card-header h3 {
  color: var(--primary-color);
  margin: 0;
  font-size: 18px;
}

.map-card-body {
  margin-bottom: 15px;
}

.map-card-address {
  color: var(--text-color);
  font-size: 14px;
  margin-bottom: 5px;
}

.map-card-name {
  color: var(--text-color);
  font-size: 13px;
  font-weight: 500;
}

.map-card-image {
  width: 100%;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.map-card-image img {
  width: 100%;
  height: auto;
  display: block;
}

.map-card-actions {
  display: flex;
  gap: 10px;
}

.map-btn {
  flex: 1;
  padding: 10px 15px;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

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

.map-btn-primary:hover {
  background: var(--secondary-color);
}

.map-btn-secondary {
  background: var(--light-color);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

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

@media (max-width: 992px) {
  .contact-full {
    grid-template-columns: 1fr;
  }
  
  .map-container iframe {
    height: 350px;
  }
}

.form-section h4 {
  margin-bottom: 10px;
  color: var(--primary-color);
  font-size: 16px;
}

.product-checkboxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.checkbox-item {
  display: flex;
  align-items: center;
}

.checkbox-item input {
  margin-right: 10px;
  margin-bottom: 0;
  width: auto;
}

.checkbox-item label {
  cursor: pointer;
  font-size: 14px;
}

/* 页脚 */
.footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: var(--white);
  padding: 60px 0 20px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  margin-bottom: 20px;
  color: var(--primary-color);
  font-weight: bold;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #999;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  color: #666;
}

/* 友链样式 */
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.friend-link-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: #999;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s;
  max-width: 120px;
  overflow: hidden;
}

.friend-link-item:hover {
  background: var(--primary-color);
  color: #fff;
}

.friend-link-item img {
  max-height: 24px;
  max-width: 80px;
}

.loading {
  text-align: center;
  padding: 40px;
  color: #999;
}

/* 规格样式 */
.specifications {
  margin: 20px 0;
  padding: 20px;
  background: var(--light-color);
  border-radius: 5px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-name {
  font-weight: 500;
  color: var(--text-color);
}

.spec-value {
  color: #666;
}

/* 滚动动画 */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 按钮悬浮效果 */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

/* 统计数据动画 */
.stat-number {
  animation: countUp 1s ease-out;
}

@keyframes countUp {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

/* 服务图标动画 */
.service-card:hover .service-icon {
  animation: bounce 0.5s ease-out;
}

@keyframes bounce {
  0%, 100% { transform: scale(1.2) rotate(5deg); }
  50% { transform: scale(1.3) rotate(-5deg); }
}

/* 加载动画 */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.loading::before {
  content: '';
  width: 20px;
  height: 20px;
  border: 3px solid var(--primary-color);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  
  .navbar .container {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 8px 10px;
    height: auto;
    min-height: 50px;
  }
  
  .navbar .logo {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
  }
  
  .navbar .logo h1 {
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.2;
  }
  
  .navbar .logo .tagline {
    display: none;
  }
  
  /* 移动端热线电话 */
  .navbar .mobile-phone {
    display: flex !important;
    align-items: center;
    padding: 6px 12px;
    background: linear-gradient(135deg, #1e88e5 0%, #0d47a1 100%);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-right: 8px;
  }
  
  .navbar .mobile-phone span {
    margin-right: 5px;
  }
  
  .top-bar {
    display: none;
  }
  
  .nav-menu {
    display: flex;
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 60px 0 30px 0;
    box-shadow: -5px 0 20px rgba(0,0,0,0.15);
    z-index: 1003;
    overflow-y: auto;
    transition: right 0.3s ease;
    margin: 0;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu li {
    border-bottom: none;
    margin: 0;
  }
  
  .nav-menu li:last-child {
    border-bottom: none;
  }
  
  .nav-menu a {
    display: block;
    padding: 15px 20px;
    font-size: 15px;
    min-height: 50px;
    line-height: 20px;
    touch-action: manipulation;
    color: #333;
    text-align: left;
    border-left: 3px solid transparent;
    margin: 0;
  }
  
  .nav-menu a:hover,
  .nav-menu a.active {
    background: #f0f7ff;
    color: var(--primary-color);
    border-left-color: var(--primary-color);
  }
  
  .nav-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    margin: 0;
    z-index: 1003;
    flex-shrink: 0;
  }
  
  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s;
    border-radius: 2px;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s;
  }
  
  .sidebar-overlay.show {
    display: block;
    opacity: 1;
  }
  
  .hero-content h2 {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 20px;
  }
  
  .hero-desc {
    font-size: 16px;
  }
  
  .about-content,
  .contact-content,
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .product-checkboxes {
    grid-template-columns: 1fr;
  }
}

/* 资质荣誉样式 */
.qualifications {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

.section-subtitle {
  text-align: center;
  color: #666;
  font-size: 16px;
  margin-top: -30px;
  margin-bottom: 50px;
}

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

.qualification-card {
  background: var(--white);
  padding: 35px 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.qualification-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(196, 30, 58, 0.15);
  border-color: var(--primary-color);
}

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

.qualification-card h3 {
  color: var(--primary-color);
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
}

.qualification-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 992px) {
  .qualifications-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .qualifications {
    padding: 60px 0;
  }
  
  .qualifications-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .section-subtitle {
    font-size: 14px;
  }
}

/* 电话链接样式 */
.phone-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
  padding: 2px 0;
  display: inline-block;
  min-height: 44px;
  line-height: 44px;
}

.phone-link:hover {
  color: var(--secondary-color);
  border-bottom-color: var(--primary-color);
  transform: translateY(-1px);
}

.phone-link:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .phone-link {
    font-size: 16px;
    padding: 8px 0;
    min-height: 48px;
    line-height: 48px;
  }
}
