/* Support Page Specific Styles */

/* 英雄区域 */
.hero-section {
  padding-top: 180px;  /* 增加了padding-top值，防止内容被导航栏遮挡 */
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%), url('../R/PixPin_2025-06-26_15-38-23.png');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: white;  /* 设置为白色文字以在深色背景下获得更好的可读性 */
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 删除原来的径向渐变覆盖层，因为已经在background中添加了颜色覆盖 */
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: white;  /* 确保标题是白色 */
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 30px;
  line-height: 1.2;
  letter-spacing: -0.3px;
  color: #f0f0f0;  /* 稍微柔和一点的白色 */
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-tagline {
  font-size: 1.3rem;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
  color: #e0e0e0;  /* 柔和的浅灰色，确保在背景上可读 */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeIn 1s ease-out 0.6s both;
}

.hero-buttons {
  margin-top: 20px;
  display: flex;
  gap: 20px;
  justify-content: center;
  animation: fadeIn 1s ease-out 0.9s both;
}

.hero-btn {
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.primary-btn {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white; /* 确保按钮文字是白色 */
  font-weight: 600;
}

.primary-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.secondary-btn {
  background: transparent;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white; /* 确保按钮文字是白色 */
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="rgba(255,255,255,0.1)"/></svg>');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1; /* 确保波浪在背景之上但内容之下 */
}

.support-services {
  background: white;
  padding: 80px 0;
}

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

.support-service-card {
  background: #f5f5f7;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.service-icon {
  width: 80px;
  height: 80px;
  background: #e6f0ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.service-icon i {
  font-size: 32px;
  color: #0071e3;
}

.service-content {
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #1d1d1f;
}

.service-description {
  color: #515154;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  color: #0071e3;
  text-decoration: none;
  font-weight: 600;
  margin-top: auto;
  transition: color 0.3s;
}

.service-link:hover {
  color: #0056b8;
}

.service-link i {
  margin-left: 5px;
  transition: transform 0.3s;
}

.service-link:hover i {
  transform: translateX(3px);
}

/* Developer Resources Section */
.developer-resources {
  background: #f5f5f7;
  padding: 80px 0;
}

.dev-resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.dev-resource-card {
  background: white;
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.dev-resource-card:hover {
  transform: translateY(-10px);
}

.resource-icon {
  width: 70px;
  height: 70px;
  background: #e6f0ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.resource-icon i {
  font-size: 28px;
  color: #0071e3;
}

.resource-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.resource-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #1d1d1f;
}

.resource-description {
  color: #515154;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  color: #0071e3;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.resource-link:hover {
  color: #0056b8;
}

.resource-link i {
  margin-left: 5px;
  transition: transform 0.3s;
}

.resource-link:hover i {
  transform: translateX(3px);
}

/* Support Plans Section */
.support-plans {
  background: white;
  padding: 80px 0;
}

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

.plan-card {
  background: #f5f5f7;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.plan-card-highlighted {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.plan-card-highlighted::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  z-index: -1;
  filter: brightness(0.8);
}

.plan-card-highlighted .plan-title,
.plan-card-highlighted .plan-description,
.plan-card-highlighted .feature-tag {
  color: white;
}

.plan-icon {
  width: 70px;
  height: 70px;
  background: #e6f0ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.plan-icon i {
  font-size: 28px;
  color: #0071e3;
}

.plan-card-highlighted .plan-icon {
  background: rgba(255, 255, 255, 0.2);
}

.plan-card-highlighted .plan-icon i {
  color: white;
}

.plan-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #1d1d1f;
}

.plan-description {
  color: #515154;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.plan-features {
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.feature-tag {
  background: rgba(0, 113, 227, 0.1);
  color: #0071e3;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.plan-card-highlighted .feature-tag {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.plan-action {
  margin-top: 20px;
}

.plan-button {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  border: 2px solid #0071e3;
  color: #0071e3;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.button-primary {
  background: #0071e3;
  color: white;
}

.plan-button:hover {
  background: #0071e3;
  color: white;
  transform: translateY(-3px);
}

.plan-card-highlighted .plan-button {
  border-color: white;
  color: white;
}

.plan-card-highlighted .plan-button:hover {
  background: white;
  color: #0071e3;
}

/* 动画定义 */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .support-services-grid,
  .dev-resources-grid,
  .plans-grid {
    grid-template-columns: 1fr;
  }
  
  .support-services,
  .developer-resources,
  .support-plans {
    padding: 60px 0;
  }
  
  .plan-features {
    flex-direction: column;
    align-items: center;
  }
}