/* ========================================
   麦得高公司官网 - 主样式文件
   ======================================== */

/* CSS变量定义 */
:root {
  /* 品牌色 - 紫色系 */
  --primary-color: #7c3aed;
  --primary-dark: #5b21b6;
  --primary-light: #a78bfa;
  --secondary-color: #1e1b4b;
  --accent-color: #8b5cf6;
  
  /* 文字颜色 */
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-light: #999999;
  --text-white: #ffffff;
  
  /* 背景色 */
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #1a1a2e;
  --bg-overlay: rgba(0, 0, 0, 0.7);
  
  /* 间距 */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* 字体 */
  --font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 2.5rem;
  
  /* 圆角 */
  --border-radius: 8px;
  --border-radius-lg: 16px;
  
  /* 阴影 */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
  
  /* 过渡 */
  --transition: all 0.3s ease;
}

/* CSS Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* 容器 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

/* 区块 */
.section {
  padding: var(--spacing-xl) 0;
}

.section-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--spacing-lg);
  color: var(--text-primary);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  margin: var(--spacing-sm) auto 0;
}

/* ========================================
   导航栏样式
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.navbar-brand .logo-img {
  width: 280px;
  height: auto;
  object-fit: contain;
}

.navbar-brand .logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
}

.navbar-brand .logo-text-en {
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 2px;
}

.navbar-menu {
  display: flex;
  gap: var(--spacing-md);
}

.navbar-menu a {
  font-size: var(--font-size-base);
  color: var(--text-primary);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius);
  position: relative;
}

.navbar-menu a:hover,
.navbar-menu a.active {
  color: var(--primary-color);
}

.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
  width: 80%;
}

/* 汉堡菜单按钮 */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--spacing-xs);
}

.navbar-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

.navbar-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   页脚样式
   ======================================== */
.footer {
  background: var(--bg-dark);
  color: var(--text-white);
  padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.footer-section h4 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-sm);
  color: var(--primary-color);
}

.footer-section p,
.footer-section li {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--spacing-xs);
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   按钮样式
   ======================================== */
.btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--border-radius);
  font-size: var(--font-size-base);
  font-weight: 500;
  text-align: center;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary-color);
  color: var(--text-white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--text-white);
}

/* ========================================
   返回顶部按钮
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ========================================
   响应式断点
   ======================================== */

/* 平板端 */
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 移动端 */
@media (max-width: 768px) {
  :root {
    --font-size-2xl: 1.75rem;
    --font-size-3xl: 2rem;
  }
  
  .navbar .container {
    height: 60px;
  }
  
  .navbar-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: var(--spacing-md);
    gap: 0;
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  
  .navbar-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .navbar-menu a {
    padding: var(--spacing-sm);
    border-bottom: 1px solid var(--bg-light);
  }
  
  .navbar-toggle {
    display: flex;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .section {
    padding: var(--spacing-lg) 0;
  }
}

/* 小屏手机 */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}


/* ========================================
   首页样式
   ======================================== */

/* Hero区域 */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #16213e 100%);
  color: var(--text-white);
  padding-top: 70px;
}

.hero-content {
  max-width: 800px;
  padding: var(--spacing-md);
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid var(--primary-color);
  border-radius: 30px;
  font-size: var(--font-size-sm);
  color: var(--primary-light);
  margin-bottom: var(--spacing-md);
  letter-spacing: 1px;
}

.hero-title {
  font-size: 5rem;
  font-weight: 900;
  margin-bottom: var(--spacing-sm);
  background: linear-gradient(135deg, #a78bfa 0%, #c4b5fd 30%, #ffffff 50%, #c4b5fd 70%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 8px;
}

.hero-title .trademark {
  font-size: 1.2rem;
  font-weight: 400;
  -webkit-text-fill-color: var(--primary-light);
  vertical-align: super;
  margin-left: 2px;
}

.hero-subtitle {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 12px;
  margin-bottom: var(--spacing-md);
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Georgia', 'Times New Roman', serif;
  font-style: italic;
}

.hero-slogan {
  font-size: var(--font-size-2xl);
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
  color: var(--text-white);
  letter-spacing: 2px;
}

.hero-desc {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-lg);
  opacity: 0.7;
  letter-spacing: 1px;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  margin-bottom: var(--spacing-lg);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: var(--text-white);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-white);
}

.hero-hotline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hotline-label {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 2px;
}

.hotline-number {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 3px;
}

/* 公司简介预览 */
.about-preview {
  background: var(--bg-light);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  margin-bottom: var(--spacing-md);
  color: var(--text-secondary);
  line-height: 1.8;
}

/* 品牌展示 */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  max-width: 900px;
  margin: 0 auto;
}

.brand-card {
  background: var(--bg-white);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition);
}

.brand-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.brand-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--text-white);
  font-size: var(--font-size-2xl);
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
}

.brand-name {
  font-size: var(--font-size-xl);
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.brand-desc {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xs);
}

.brand-info {
  font-size: var(--font-size-sm);
  color: var(--text-light);
}

/* 资质荣誉预览 */
.honors-preview {
  background: var(--bg-light);
}

.honors-list {
  max-width: 700px;
  margin: 0 auto var(--spacing-lg);
}

.honors-list li {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.honor-icon {
  width: 30px;
  height: 30px;
  background: var(--primary-color);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-sm);
  flex-shrink: 0;
}

.text-center {
  text-align: center;
}

/* 响应式 - 首页 */
@media (max-width: 768px) {
  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
  
  .hero-title {
    font-size: 3rem;
    letter-spacing: 4px;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
    letter-spacing: 6px;
  }
  
  .hero-slogan {
    font-size: var(--font-size-lg);
  }
  
  .hero-desc {
    font-size: var(--font-size-base);
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .hotline-number {
    font-size: var(--font-size-xl);
  }
  
  .brands-grid {
    grid-template-columns: 1fr;
  }
}


/* ========================================
   页面头部样式
   ======================================== */
.page-header {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #16213e 100%);
  color: var(--text-white);
  padding: calc(70px + var(--spacing-xl)) 0 var(--spacing-xl);
  text-align: center;
}

.page-header h1 {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--spacing-sm);
}

.page-header p {
  font-size: var(--font-size-lg);
  opacity: 0.8;
}

/* ========================================
   关于我们页面样式
   ======================================== */
.company-intro {
  background: var(--bg-white);
}

.intro-content {
  max-width: 900px;
  margin: 0 auto;
}

.intro-text {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.intro-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
}

.feature-item {
  text-align: center;
  padding: var(--spacing-md);
  background: var(--bg-light);
  border-radius: var(--border-radius);
}

.feature-number {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
}

.feature-label {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

/* ========================================
   轮播组件样式
   ======================================== */
.carousel-section {
  background: var(--bg-light);
}

.carousel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.carousel-container {
  position: relative;
  width: 100%;
  background: #000;
}

.carousel-slide {
  display: none;
  width: 100%;
}

.carousel-slide.active {
  display: block;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  border: none;
  border-radius: 50%;
  font-size: var(--font-size-2xl);
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: var(--primary-color);
  color: var(--text-white);
}

.carousel-prev {
  left: 15px;
}

.carousel-next {
  right: 15px;
}

.carousel-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-indicators .indicator {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-indicators .indicator.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* 响应式 - 关于我们 */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .carousel-prev,
  .carousel-next {
    width: 40px;
    height: 40px;
    font-size: var(--font-size-lg);
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}


/* ========================================
   资质荣誉页面样式
   ======================================== */
.honors-section {
  background: var(--bg-white);
}

.honors-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  max-width: 1000px;
  margin: 0 auto;
}

.honor-card {
  background: var(--bg-light);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  text-align: center;
  transition: var(--transition);
}

.honor-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.honor-card-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
}

.honor-card h3 {
  font-size: var(--font-size-lg);
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.honor-card p {
  color: var(--primary-color);
  font-weight: 500;
}

/* 证书画廊 */
.gallery-section {
  background: var(--bg-light);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: var(--bg-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-overlay span {
  color: var(--text-white);
  font-size: var(--font-size-sm);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ========================================
   灯箱组件样式
   ======================================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  border: none;
  border-radius: 50%;
  font-size: var(--font-size-2xl);
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  border: none;
  border-radius: 50%;
  font-size: var(--font-size-2xl);
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* 响应式 - 资质荣誉 */
@media (max-width: 992px) {
  .honors-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .honors-cards {
    grid-template-columns: 1fr;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
}


/* ========================================
   联系我们页面样式
   ======================================== */
.contact-section {
  background: var(--bg-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: start;
}

.contact-info .section-title {
  text-align: left;
}

.contact-info .section-title::after {
  margin: var(--spacing-sm) 0 0;
}

.contact-item {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid var(--bg-light);
}

.contact-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.contact-detail h3 {
  font-size: var(--font-size-lg);
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.contact-detail p {
  color: var(--text-secondary);
  margin-bottom: 2px;
}

/* 地图占位 */
.map-placeholder {
  background: linear-gradient(135deg, var(--bg-light) 0%, #e8e8e8 100%);
  border-radius: var(--border-radius-lg);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-content {
  text-align: center;
  padding: var(--spacing-lg);
}

.map-icon {
  font-size: 4rem;
  margin-bottom: var(--spacing-sm);
}

.map-content h3 {
  font-size: var(--font-size-xl);
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.map-content p {
  color: var(--text-secondary);
}

.map-note {
  margin-top: var(--spacing-sm);
  font-size: var(--font-size-sm);
  color: var(--primary-color);
}

/* 合作加盟 */
.cooperation-section {
  background: var(--bg-light);
}

.cooperation-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.cooperation-content > p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  font-size: var(--font-size-lg);
}

.cooperation-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.coop-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  background: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.coop-icon {
  width: 30px;
  height: 30px;
  background: var(--primary-color);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-sm);
  flex-shrink: 0;
}

/* 响应式 - 联系我们 */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .map-placeholder {
    height: 300px;
  }
  
  .cooperation-features {
    grid-template-columns: 1fr;
  }
}


/* ========================================
   首页新增区块样式
   ======================================== */

/* 核心数据展示 */
.stats-section {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #16213e 100%);
  padding: var(--spacing-lg) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
}

.stat-item {
  text-align: center;
  padding: var(--spacing-md);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.8);
}

/* 服务流程 */
.process-section {
  background: var(--bg-white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
}

.process-item {
  text-align: center;
  padding: var(--spacing-md);
  position: relative;
}

.process-item:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--font-size-xl);
  color: var(--primary-color);
}

.process-step {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
}

.process-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
}

.process-item h3 {
  font-size: var(--font-size-lg);
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.process-item p {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

/* 核心优势 */
.advantages-section {
  background: var(--bg-white);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.advantage-card {
  background: var(--bg-light);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  text-align: center;
  transition: var(--transition);
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  background: var(--bg-white);
}

.advantage-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
}

.advantage-card h3 {
  font-size: var(--font-size-lg);
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.advantage-card p {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 合作加盟CTA */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  padding: var(--spacing-xl) 0;
}

.cta-content {
  text-align: center;
  color: var(--text-white);
}

.cta-content h2 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--spacing-sm);
}

.cta-content p {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-lg);
  opacity: 0.9;
}

.cta-section .btn-primary {
  background: var(--bg-white);
  color: var(--primary-color);
}

.cta-section .btn-primary:hover {
  background: var(--secondary-color);
  color: var(--text-white);
}

/* 响应式 - 新增区块 */
@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-item:not(:last-child)::after {
    display: none;
  }
  
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .stat-number {
    font-size: 2.5rem;
  }
  
  .advantages-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
  }
}


/* ========================================
   CSS纯样式图标（替代Emoji）
   ======================================== */

/* 基础图标样式 */
[class*="icon-"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* 服务流程图标 */
.process-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--spacing-sm);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.process-icon::before,
.process-icon::after {
  content: '';
  position: absolute;
}

/* 咨询图标 - 手机形状 */
.icon-consult::before {
  width: 24px;
  height: 38px;
  border: 3px solid #fff;
  border-radius: 6px;
}
.icon-consult::after {
  width: 10px;
  height: 3px;
  background: #fff;
  bottom: 22px;
  border-radius: 2px;
}

/* 鉴定图标 - 放大镜 */
.icon-verify::before {
  width: 22px;
  height: 22px;
  border: 3px solid #fff;
  border-radius: 50%;
}
.icon-verify::after {
  width: 12px;
  height: 3px;
  background: #fff;
  transform: rotate(45deg);
  bottom: 18px;
  right: 18px;
}

/* 价格图标 - 钱币 */
.icon-price::before {
  width: 30px;
  height: 30px;
  border: 3px solid #fff;
  border-radius: 50%;
}
.icon-price::after {
  content: '¥';
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

/* 完成图标 - 对勾 */
.icon-done::before {
  width: 14px;
  height: 24px;
  border-right: 4px solid #fff;
  border-bottom: 4px solid #fff;
  transform: rotate(45deg);
  margin-bottom: 6px;
}

/* 优势卡片图标 */
.advantage-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--spacing-sm);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

/* 认证图标 - 奖杯 */
.icon-cert::before {
  width: 20px;
  height: 16px;
  background: #fff;
  border-radius: 0 0 10px 10px;
}
.icon-cert::after {
  width: 8px;
  height: 10px;
  background: #fff;
  bottom: 14px;
}

/* 团队图标 - 人形 */
.icon-team::before {
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  top: 14px;
}
.icon-team::after {
  width: 24px;
  height: 14px;
  background: #fff;
  border-radius: 12px 12px 0 0;
  bottom: 14px;
}

/* 系统图标 - 电脑 */
.icon-system::before {
  width: 26px;
  height: 18px;
  border: 3px solid #fff;
  border-radius: 3px;
}
.icon-system::after {
  width: 14px;
  height: 4px;
  background: #fff;
  bottom: 14px;
}

/* 门店图标 - 商店 */
.icon-store::before {
  width: 26px;
  height: 18px;
  background: #fff;
  border-radius: 3px 3px 0 0;
  top: 16px;
}
.icon-store::after {
  width: 10px;
  height: 10px;
  background: var(--primary-color);
  bottom: 14px;
}

/* 闭环图标 - 循环箭头 */
.icon-loop::before {
  width: 24px;
  height: 24px;
  border: 3px solid #fff;
  border-radius: 50%;
  border-right-color: transparent;
}
.icon-loop::after {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 8px solid #fff;
  top: 10px;
  right: 14px;
}

/* 合作图标 - 握手 */
.icon-partner::before {
  width: 12px;
  height: 16px;
  background: #fff;
  border-radius: 3px;
  left: 16px;
  transform: rotate(-15deg);
}
.icon-partner::after {
  width: 12px;
  height: 16px;
  background: #fff;
  border-radius: 3px;
  right: 16px;
  transform: rotate(15deg);
}

/* 资质荣誉页图标 */
.honor-card-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--spacing-sm);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* 奖杯图标 */
.icon-trophy::before {
  content: '';
  width: 22px;
  height: 18px;
  background: #fff;
  border-radius: 0 0 11px 11px;
  position: absolute;
}
.icon-trophy::after {
  content: '';
  width: 8px;
  height: 12px;
  background: #fff;
  position: absolute;
  bottom: 18px;
}

/* 星星图标 */
.icon-star::before {
  content: '';
  width: 24px;
  height: 24px;
  background: #fff;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  position: absolute;
}

/* 文档图标 */
.icon-doc::before {
  content: '';
  width: 20px;
  height: 26px;
  background: #fff;
  border-radius: 2px;
  position: absolute;
}
.icon-doc::after {
  content: '';
  width: 12px;
  height: 2px;
  background: var(--primary-color);
  position: absolute;
  box-shadow: 0 5px 0 var(--primary-color), 0 10px 0 var(--primary-color);
}

/* 对勾图标 */
.icon-check::before {
  content: '';
  width: 12px;
  height: 22px;
  border-right: 4px solid #fff;
  border-bottom: 4px solid #fff;
  transform: rotate(45deg);
  position: absolute;
  margin-bottom: 4px;
}

/* 握手图标 */
.icon-handshake::before {
  content: '';
  width: 14px;
  height: 18px;
  background: #fff;
  border-radius: 3px;
  position: absolute;
  left: 20px;
  transform: rotate(-10deg);
}
.icon-handshake::after {
  content: '';
  width: 14px;
  height: 18px;
  background: #fff;
  border-radius: 3px;
  position: absolute;
  right: 20px;
  transform: rotate(10deg);
}

/* 联系页面图标 */
.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

/* 位置图标 */
.icon-location::before {
  content: '';
  width: 16px;
  height: 20px;
  background: #fff;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  position: absolute;
}
.icon-location::after {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  top: 18px;
}

/* 建筑图标 */
.icon-building::before {
  content: '';
  width: 18px;
  height: 22px;
  background: #fff;
  position: absolute;
}
.icon-building::after {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--primary-color);
  position: absolute;
  box-shadow: 6px 0 0 var(--primary-color), 0 6px 0 var(--primary-color), 6px 6px 0 var(--primary-color);
  top: 16px;
  left: 18px;
}

/* 手机图标 */
.icon-mobile::before {
  content: '';
  width: 16px;
  height: 24px;
  border: 2px solid #fff;
  border-radius: 4px;
  position: absolute;
}
.icon-mobile::after {
  content: '';
  width: 6px;
  height: 2px;
  background: #fff;
  position: absolute;
  bottom: 16px;
  border-radius: 1px;
}

/* 地图大图标 */
.map-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 auto var(--spacing-sm);
}

.icon-location-lg::before {
  content: '';
  width: 28px;
  height: 36px;
  background: #fff;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  position: absolute;
}
.icon-location-lg::after {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  top: 26px;
}


/* 电话图标 */
.icon-phone::before {
  content: '';
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-radius: 50%;
  position: absolute;
}
.icon-phone::after {
  content: '';
  width: 6px;
  height: 10px;
  background: #fff;
  position: absolute;
  bottom: 12px;
  left: 24px;
  border-radius: 0 0 3px 3px;
  transform: rotate(-30deg);
}
