/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(0deg, #111827 0%, #111827 100%), white;
  color: #F3F4F6;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* 引入公共样式 */
@import url('common.css');

/* 首页特定样式 */
/* Header 样式覆盖 - 与About页面保持一致 */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(180, 239, 78, 0.2);
  box-shadow: 0 2px 20px rgba(180, 239, 78, 0.1);
}

/* 导航样式 - 修复文字可见性 */
nav#navigation ul li a {
  color: #2c3e50 !important;
  font-weight: 600;
  background: transparent;
}

nav#navigation ul li a:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, #B4EF4E 0%, #9DE83F 100%);
}

.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #f8fffe 0%, #e8f8f5 30%, #d5f4e6 100%);
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(180, 239, 78, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(255, 57, 210, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 50% 50%, rgba(26, 102, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

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

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

/* 修复主标题 - 使用单色而非渐变 */
.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #2c3e50;
  line-height: 1.2;
}

.hero-subtitle-cn {
  font-size: 1.5rem;
  color: #5a6c7d;
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-description {
  font-size: 1.3rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.hero-description-cn {
  font-size: 1.1rem;
  color: #5a6c7d;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* 解决方案部分样式 */
.solutions-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #2c3e50;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.3rem;
  color: #5a6c7d;
  font-weight: 500;
}

/* 修复安全保障部分文字颜色 */
.section-description {
  font-size: 1.2rem;
  color: #2c3e50 !important;
  margin-bottom: 1rem;
  line-height: 1.6;
  text-align: center;
  font-weight: 500;
}

.section-description-cn {
  font-size: 1.1rem;
  color: #5a6c7d !important;
  margin-bottom: 2rem;
  line-height: 1.6;
  text-align: center;
  font-weight: 400;
}

.solutions-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

/* 主要服务流程布局 */
.main-service-flow {
  display: grid;
  grid-template-columns: 2fr auto 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 2rem;
}

/* 自由职业者部分 */
.gig-worker-section {
  position: relative;
}

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, #B4EF4E 0%, #9DE83F 100%);
  color: #1a5f1a;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(180, 239, 78, 0.3);
  animation: badge-glow 2s infinite alternate;
}

@keyframes badge-glow {
  0% {
    box-shadow: 0 4px 12px rgba(180, 239, 78, 0.3);
  }
  100% {
    box-shadow: 0 6px 20px rgba(180, 239, 78, 0.5);
  }
}

.service-providers-group,
.clients-group {
  flex: 1;
  min-width: 300px;
}

.group-header {
  text-align: center;
  margin-bottom: 2rem;
}

.group-title {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.group-subtitle {
  font-size: 1.1rem;
  color: #5a6c7d;
  font-weight: 500;
}

.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* 客户部分 */
.client-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 服务箭头样式 */
.service-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.arrow-container {
  text-align: center;
  padding: 1rem;
}

.arrow-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.arrow-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: #B4EF4E;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #B4EF4E 0%, #9DE83F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 企业支持说明（角落位置） */
.business-support-note {
  position: absolute;
  top: 0rem;
  right: 4rem;
  z-index: 10;
}

.note-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1rem;
  border-radius: 15px;
  border: 1px solid rgba(26, 102, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.note-icon {
  font-size: 1rem;
}

.note-text {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
  white-space: nowrap;
}

/* 响应式布局 */
@media (max-width: 1024px) {
  .main-service-flow {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .service-arrow {
    transform: rotate(90deg);
    order: 2;
  }
  
  .gig-worker-section {
    order: 1;
  }
  
  .client-section {
    order: 3;
  }
  
  .business-support-note {
    position: static;
    margin-top: 2rem;
    display: flex;
    justify-content: center;
  }
  
  .arrow-text {
    transform: rotate(-90deg);
  }
}

@media (max-width: 768px) {
  .providers-grid {
    grid-template-columns: 1fr;
  }
  
  .section-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .arrow-text {
    font-size: 1rem;
  }
  
  .note-text {
    font-size: 0.75rem;
  }
}

.solution-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #B4EF4E 0%, #FF39D2 50%, #1A66FF 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.solution-card:hover::before {
  transform: scaleX(1);
}

.solution-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(180, 239, 78, 0.3);
}

.card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #B4EF4E 0%, #9DE83F 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.solution-card:hover .card-icon {
  transform: scale(1.1);
}

/* 自由职业者卡片特殊样式 - 突出显示平台重视 */
.solution-card.gig-worker-featured {
  background: linear-gradient(135deg, rgba(180, 239, 78, 0.08) 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 2px solid rgba(180, 239, 78, 0.3);
  box-shadow: 0 8px 32px rgba(180, 239, 78, 0.15);
  position: relative;
}

.solution-card.gig-worker-featured::before {
  background: linear-gradient(90deg, #B4EF4E 0%, #9DE83F 100%);
  height: 6px;
  transform: scaleX(1);
}

.solution-card.gig-worker-featured::after {
  content: '⭐ 平台重点支持';
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #B4EF4E 0%, #9DE83F 100%);
  color: #2c3e50;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(180, 239, 78, 0.3);
  z-index: 10;
  white-space: nowrap;
}

.solution-card.gig-worker-featured:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(180, 239, 78, 0.25);
  border-color: rgba(180, 239, 78, 0.5);
}

.solution-card.gig-worker-featured .card-icon {
  background: linear-gradient(135deg, #B4EF4E 0%, #9DE83F 100%);
  box-shadow: 0 8px 20px rgba(180, 239, 78, 0.3);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 8px 20px rgba(180, 239, 78, 0.3);
  }
  50% {
    box-shadow: 0 12px 30px rgba(180, 239, 78, 0.5);
  }
}

.solution-card.gig-worker-featured .card-title {
  color: #1a5f1a;
  font-weight: 700;
}

.solution-card.gig-worker-featured .card-subtitle {
  color: #2d7a2d;
  font-weight: 600;
}

/* 自由职业者优势列表样式 */
.gig-worker-benefits {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(180, 239, 78, 0.2);
}

.benefit-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: translateX(5px);
  background: rgba(180, 239, 78, 0.05);
  border-radius: 8px;
  padding-left: 0.5rem;
}

.benefit-icon {
  font-size: 1.2rem;
  margin-right: 0.8rem;
  width: 24px;
  text-align: center;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.benefit-text {
  font-size: 0.9rem;
  color: #2d7a2d;
  font-weight: 600;
  line-height: 1.4;
}

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

/* 响应式调整 */
@media (max-width: 768px) {
  .gig-worker-benefits {
    margin-top: 1rem;
  }
  
  .benefit-item {
    margin-bottom: 0.6rem;
  }
  
  .benefit-text {
    font-size: 0.85rem;
  }
}

/* 企业卡片特色样式 */
.solution-card.business-featured {
  background: linear-gradient(135deg, rgba(26, 102, 255, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 2px solid rgba(26, 102, 255, 0.2);
  box-shadow: 0 6px 24px rgba(26, 102, 255, 0.1);
}

.solution-card.business-featured::after {
  content: '🏢 企业优选';
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #1A66FF 0%, #0052CC 100%);
  color: white;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(26, 102, 255, 0.3);
  z-index: 10;
  white-space: nowrap;
}

.solution-card.business-featured:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(26, 102, 255, 0.2);
  border-color: rgba(26, 102, 255, 0.4);
}

.solution-card.business-featured .card-icon {
  background: linear-gradient(135deg, #1A66FF 0%, #0052CC 100%);
  box-shadow: 0 6px 16px rgba(26, 102, 255, 0.3);
}

.solution-card.business-featured .card-title {
  color: #1a4480;
  font-weight: 700;
}

.solution-card.business-featured .card-subtitle {
  color: #2d5aa0;
  font-weight: 600;
}

/* 客户卡片特色样式 */
.solution-card.client-featured {
  background: linear-gradient(135deg, rgba(255, 57, 210, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 2px solid rgba(255, 57, 210, 0.2);
  box-shadow: 0 6px 24px rgba(255, 57, 210, 0.1);
  max-width: 400px;
  margin: 0 auto;
}

.solution-card.client-enlarged {
  max-width: 500px;
  padding: 3rem;
  transform: scale(1.05);
}

.solution-card.client-featured::after {
  content: '💎 信任保障';
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #FF39D2 0%, #E625B8 100%);
  color: white;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(255, 57, 210, 0.3);
  z-index: 10;
  white-space: nowrap;
}

.solution-card.client-featured:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(255, 57, 210, 0.2);
  border-color: rgba(255, 57, 210, 0.4);
}

.solution-card.client-featured .card-icon {
  background: linear-gradient(135deg, #FF39D2 0%, #E625B8 100%);
  box-shadow: 0 6px 16px rgba(255, 57, 210, 0.3);
}

.solution-card.client-featured .card-title {
  color: #b8297a;
  font-weight: 700;
}

.solution-card.client-featured .card-subtitle {
  color: #d63ba3;
  font-weight: 600;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
  font-weight: 600;
}

.card-subtitle {
  font-size: 1.1rem;
  color: #5a6c7d;
  margin-bottom: 1rem;
  font-weight: 500;
}

.card-description {
  color: #2c3e50;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.card-description-cn {
  color: #5a6c7d;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.card-link {
  color: #1A66FF;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.card-link:hover {
  color: #FF39D2;
}

/* 工作流程部分 - 修复标题颜色 */
.how-it-works-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #e8f8f5 0%, #d5f4e6 100%);
}

.how-it-works-section .section-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #2c3e50;
  font-weight: 700;
}

.how-it-works-section .section-subtitle {
  text-align: center;
  font-size: 1.3rem;
  color: #5a6c7d;
  margin-bottom: 3rem;
  font-weight: 500;
}

.steps-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.step {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  gap: 2rem;
}

.step:nth-child(even) {
  flex-direction: row-reverse;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #B4EF4E 0%, #9DE83F 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
  box-shadow: 0 8px 25px rgba(180, 239, 78, 0.3);
  flex-shrink: 0;
}

.step-content {
  flex: 1;
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.step-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #2c3e50;
  font-weight: 600;
}

.step-content p {
  color: #5a6c7d;
  line-height: 1.6;
}

/* 安全保障部分 - 修复文字颜色 */
.safety-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
}

.safety-section .section-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #2c3e50;
  font-weight: 700;
}

.safety-section .section-subtitle {
  text-align: center;
  font-size: 1.3rem;
  color: #5a6c7d;
  margin-bottom: 3rem;
  font-weight: 500;
}

.safety-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.safety-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.safety-feature:hover {
  transform: translateY(-5px);
  border-color: rgba(26, 102, 255, 0.3);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1A66FF 0%, #0052E6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
  font-weight: 600;
}

.feature-text p {
  color: #5a6c7d;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .step {
    flex-direction: column !important;
    text-align: center;
  }
  
  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .safety-feature {
    flex-direction: column;
    text-align: center;
  }
}

/* 修复安全保障部分文字颜色 */
.safety-description {
  font-size: 1.2rem;
  color: #2c3e50 !important;
  margin-bottom: 1rem;
  line-height: 1.6;
  text-align: center;
  font-weight: 500;
}

.safety-description-cn {
  font-size: 1.1rem;
  color: #5a6c7d !important;
  margin-bottom: 2rem;
  line-height: 1.6;
  text-align: center;
  font-weight: 400;
}

.safety-text {
  text-align: center;
  margin-bottom: 3rem;
}
