/* ========================================
   品牌历程页面专用样式
   ======================================== */

/* Font Awesome 图标确保显示 */
.fas, .fa {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 5 Free", "Font Awesome 5 Pro", "FontAwesome";
  font-weight: 900;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.fas.fa-star::before { content: "\f005"; }
.fas.fa-crown::before { content: "\f521"; }
.fas.fa-lightbulb::before { content: "\f0eb"; }
.fas.fa-digital-tachograph::before { content: "\f566"; }
.fas.fa-map-marked-alt::before { content: "\f5a0"; }
.fas.fa-trophy::before { content: "\f091"; }
.fas.fa-rocket::before { content: "\f135"; }

/* 英雄区域 */
.process-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 120px 0 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 70px;
}

.process-hero::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"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.process-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.process-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.process-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* 主容器 */
.process-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

/* 时间线 */
.process-timeline {
  position: relative;
  padding: 15px 0;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-color), #F57C4A);
  transform: translateX(-50%);
  border-radius: 2px;
  z-index: 1;
}

/* 时间线项目 */
.timeline-item {
  position: relative;
  margin-bottom: 60px;
  width: 100%;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: 0;
  margin-right: calc(50% + 40px);
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: calc(50% + 40px);
  margin-right: 0;
  text-align: left;
}

.timeline-content {
  background: white;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow-light);
  position: relative;
  transition: all var(--transition-normal);
  z-index: 2;
}

.timeline-content:hover {
  transform: translateY(-5px);
  border-color: #d1d5db;
  box-shadow: var(--shadow-medium);
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border: 12px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -24px;
  border-left-color: white;
  transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -24px;
  border-right-color: white;
  transform: translateY(-50%);
}

/* 时间线圆点 */
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border: 4px solid white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: var(--shadow-light);
  z-index: 10;
}

.timeline-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.2;
  z-index: -1;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.2; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.1; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0.2; }
}

/* 时间线图片 */
.timeline-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
  transition: all var(--transition-normal);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.timeline-image:hover {
  transform: scale(1.02);
}

.timeline-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white;
  padding: 20px;
  font-weight: 600;
  font-size: 1.1rem;
}

.timeline-image-1 { 
  background-image: url('/images/p1.png');
  background-color: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.timeline-image-2 { 
  background-image: url('/images/p2.png');
  background-color: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}
.timeline-image-3 { 
  background-image: url('/images/p3.png');
  background-color: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}
.timeline-image-4 { 
  background-image: url('/images/p4.png');
  background-color: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}
.timeline-image-5 { 
  background-image: url('/images/p5.png');
  background-color: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}
.timeline-image-6 { 
  background-image: url('/images/p6.png');
  background-color: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}
.timeline-image-7 { 
  background-image: url('/images/p7.png');
  background-color: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.timeline-text-content {
  flex: 1;
}

/* 时间线内容样式 */
.timeline-year {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.timeline-year i {
  font-size: 1.2rem;
}

.timeline-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.timeline-description {
  color: var(--medium-text);
  line-height: 1.6;
  margin-bottom: 20px;
}

.timeline-achievements {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin-top: 15px;
}

.timeline-achievements h4 {
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.timeline-achievements ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-achievements li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--medium-text);
  line-height: 1.5;
}

.timeline-achievements li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .process-hero {
    padding: 100px 0 60px 0;
  }
  
  .process-hero h1 {
    font-size: 2.2rem;
  }
  
  .process-hero p {
    font-size: 1.1rem;
  }
  
  .process-container {
    padding: 40px 15px;
  }
  
  .process-timeline::before {
    left: 30px;
    z-index: 1;
  }
  
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 60px;
    margin-right: 0;
    text-align: left;
  }
  
  .timeline-item:nth-child(odd) .timeline-content::before,
  .timeline-item:nth-child(even) .timeline-content::before {
    left: -24px;
    border-right-color: white;
    border-left-color: transparent;
  }
  
  .timeline-dot {
    left: 30px;
    z-index: 10;
  }
  
  .timeline-year {
    font-size: 1.3rem;
  }
  
  .timeline-title {
    font-size: 1.3rem;
  }
}

/* 发展数据统计区域 */
.process-stats {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0;
  margin: 80px 0;
}

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

.stats-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 50px;
  position: relative;
}

.stats-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.stat-card {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-light);
  transition: all var(--transition-normal);
  border: 2px solid transparent;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
  border-color: var(--primary-color);
}

.stat-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 2rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 10px;
  line-height: 1;
  font-family: 'Arial', sans-serif;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-color);
  font-weight: 500;
}

/* 行动召唤区域 */
.process-cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.process-cta::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"><defs><pattern id="cta-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23cta-pattern)"/></svg>');
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.cta-description {
  font-size: 1.2rem;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 40px;
}

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

.cta-btn {
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 180px;
  justify-content: center;
}

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

.cta-btn:not(.outline):hover {
  background: transparent;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

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

.cta-btn.outline:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .stat-card {
    padding: 30px 20px;
  }
  
  .stat-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .stats-title {
    font-size: 2rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-description {
    font-size: 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .process-hero {
    padding: 60px 0;
  }
  
  .process-hero h1 {
    font-size: 1.75rem;
  }
  
  .timeline-content {
    padding: 20px;
  }
  
  .timeline-year {
    font-size: 1.25rem;
  }
  
  .timeline-title {
    font-size: 1.1rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .stats-title {
    font-size: 1.5rem;
  }
  
  .process-stats {
    padding: 60px 0;
    margin: 40px 0;
  }
  
  .process-cta {
    padding: 60px 0;
  }
  
  .cta-title {
    font-size: 1.5rem;
  }
}

