/* 保障页面样式 */

/* 保障页面容器 */
.guarantee-page-container {
  background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 100%);
  min-height: calc(100vh - 60px);
  padding-bottom: calc(80px + env(safe-area-inset-bottom));
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  color: white;
  overflow-y: visible;
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
}

/* 保护状态 */
.guarantee-status {
  padding: calc(20px + env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left));
  text-align: center;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

.status-text {
  font-size: 13px;
  color: white;
  font-weight: 500;
}

/* 核心保障区域 */
.guarantee-hero {
  text-align: center;
  padding: 20px 16px 40px;
}

.guarantee-shield {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  background: transparent;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: floatUpDown 3s ease-in-out infinite;
}

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

.shield-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.shield-text {
  position: relative;
  z-index: 2;
  margin-top: 80px;
  font-size: 12px;
  color: white;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.shield-text {
  font-size: 12px;
  color: white;
  font-weight: 600;
  line-height: 1.3;
}

.guarantee-title {
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  line-height: 1.2;
}

.guarantee-title .highlight {
  color: #fbbf24;
}

.guarantee-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
}

.guarantee-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.guarantee-benefit {
  font-size: 18px;
  color: white;
  margin-bottom: 30px;
}

.guarantee-benefit .highlight {
  color: #fbbf24;
  font-weight: 600;
}

/* 核心指标 */
.guarantee-stats {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  padding: 0 20px;
}

.guarantee-stats .stat-item {
  flex: 1;
  text-align: center;
}

.guarantee-stats .stat-value {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 6px;
}

.guarantee-stats .stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* 专属特权 */
.guarantee-privileges {
  padding: 40px 16px;
}

.guarantee-privileges .section-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
  color: white;
}

.section-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin-bottom: 24px;
}

.privilege-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.privilege-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  backdrop-filter: blur(10px);
}

.privilege-number {
  font-size: 20px;
  font-weight: 700;
  color: #fbbf24;
  flex-shrink: 0;
  width: 32px;
}

.privilege-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.privilege-icon i {
  font-size: 20px;
  color: white;
}

.privilege-content {
  flex: 1;
}

.privilege-title {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin-bottom: 6px;
}

.privilege-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

/* 智能保障流程 */
.guarantee-process {
  padding: 40px 16px;
}

.guarantee-process .section-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  color: white;
}

.process-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
  border-radius: 12px;
}

.process-tab {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.process-tab.active {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#buyerSteps {
  display: flex;
}

#sellerSteps {
  display: none;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.step-content {
  flex: 1;
  padding-top: 4px;
}

.step-title {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

/* 行动号召 */
.guarantee-cta {
  padding: 40px 16px;
  text-align: center;
}

.cta-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(251, 191, 36, 0.4);
}

.cta-icon i {
  font-size: 40px;
  color: white;
}

.cta-title {
  font-size: 20px;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
}

.cta-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

.cta-button {
  width: 100%;
  max-width: 300px;
  padding: 16px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.4);
  transition: all 0.2s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5);
}

.cta-button:active {
  transform: translateY(0);
}

/* 高亮文本 */
.highlight {
  color: #fbbf24;
}

