/* ========================================
   代理加盟页面样式 - 2026版
   Agent Page Styles
======================================== */

:root {
  --primary: #2B6DE8;
  --primary-light: #6366F1;
  --secondary: #8B5CF6;
  --accent: #F59E0B;
  --success: #10B981;
  --danger: #EF4444;
  --text-primary: #1a1a2e;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --bg-light: #f8fafc;
  --border-light: #e2e8f0;
  --card-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Hero Section */
.agent-hero {
  position: relative;
  padding: 120px 0 100px;
  margin-top: 70px;
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 50%, #3b82f6 100%);
  overflow: hidden;
}

.agent-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 70%, rgba(251, 191, 36, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.3) 0%, transparent 50%);
}

.agent-hero .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.agent-hero-content {
  max-width: 600px;
}

.agent-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.3) 0%, rgba(245, 158, 11, 0.3) 100%);
  border: 1px solid rgba(251, 191, 36, 0.5);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: #fbbf24;
  margin-bottom: 24px;
}

.agent-hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.agent-hero-title span {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.agent-hero-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  line-height: 1.9;
  margin-bottom: 32px;
}

.agent-hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-agent-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #1e3a5f;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-agent-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
}

.btn-agent-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-agent-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

.agent-hero-illustration {
  width: 420px;
  flex-shrink: 0;
}

/* Features Section */
.agent-features {
  padding: 80px 0;
  background: #fff;
}

.agent-features .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-box {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-light);
  border-radius: 16px;
  transition: all 0.3s;
}

.feature-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  font-size: 32px;
}

.feature-icon.blue { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); }
.feature-icon.purple { background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%); }
.feature-icon.orange { background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%); }
.feature-icon.green { background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%); }
.feature-icon.pink { background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%); }
.feature-icon.cyan { background: linear-gradient(135deg, #cffafe 0%, #a5f3fc 100%); }
.feature-icon.yellow { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); }
.feature-icon.red { background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%); }

.feature-box h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

/* Steps Section */
.agent-steps {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.agent-steps .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
}

.steps-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}

.steps-wrapper::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 100px;
  right: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  border-radius: 2px;
}

.step-item {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
}

.step-item:nth-child(2) .step-number { color: var(--secondary); }
.step-item:nth-child(3) .step-number { color: var(--success); }
.step-item:nth-child(4) .step-number { color: var(--accent); }

.step-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px;
}

.step-item p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

/* Levels Section */
.agent-levels {
  padding: 80px 0;
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
}

.agent-levels .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.agent-levels .section-header {
  color: #fff;
}

.agent-levels .section-title {
  color: #fff;
}

.agent-levels .section-subtitle {
  color: rgba(255,255,255,0.7);
}

.levels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.level-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s;
  position: relative;
}

.level-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.level-card.featured {
  transform: scale(1.05);
  box-shadow: 0 20px 50px rgba(251, 191, 36, 0.3);
}

.level-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.level-badge {
  position: absolute;
  top: 20px;
  right: -35px;
  padding: 6px 40px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  transform: rotate(45deg);
}

.level-header {
  padding: 30px;
  text-align: center;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.level-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 36px;
}

.level-card:nth-child(1) .level-icon {
  background: linear-gradient(135deg, #c0c0c0 0%, #a8a8a8 100%);
}

.level-card:nth-child(2) .level-icon {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.level-card:nth-child(3) .level-icon {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

.level-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.level-body {
  padding: 30px;
  text-align: center;
}

.level-price {
  margin-bottom: 24px;
}

.level-price .label {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.level-price .amount {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-primary);
}

.level-price .amount span {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-secondary);
}

.level-discount {
  padding: 16px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 12px;
  margin-bottom: 24px;
}

.level-discount p {
  font-size: 15px;
  font-weight: 600;
  color: #b45309;
  margin: 0;
}

.level-status {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
}

.level-status.open {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: #059669;
}

.level-status.closed {
  background: var(--bg-light);
  color: var(--text-muted);
}

.level-footer {
  padding: 0 30px 30px;
}

.btn-level {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-level.primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
}

.btn-level.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(43, 109, 232, 0.4);
}

.btn-level.disabled {
  background: var(--bg-light);
  color: var(--text-muted);
  cursor: not-allowed;
}

/* Requirements Section */
.agent-requirements {
  padding: 80px 0;
  background: #fff;
}

.agent-requirements .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.requirements-card {
  display: flex;
  gap: 60px;
  align-items: center;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 24px;
  padding: 50px 60px;
}

.requirements-content {
  flex: 1;
}

.requirements-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 24px;
}

.requirements-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.requirements-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.requirements-list li svg {
  width: 22px;
  height: 22px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

.requirements-note {
  padding: 16px 20px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 10px;
  border-left: 4px solid #f59e0b;
}

.requirements-note p {
  font-size: 14px;
  color: #b45309;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.requirements-illustration {
  width: 300px;
  flex-shrink: 0;
}

/* ========================================
   Responsive Styles
======================================== */
@media (max-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .levels-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .agent-hero .container {
    flex-direction: column;
    text-align: center;
  }
  
  .agent-hero-content {
    max-width: 100%;
  }
  
  .agent-hero-btns {
    justify-content: center;
  }
  
  .agent-hero-illustration {
    display: none;
  }
  
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .steps-wrapper {
    flex-direction: column;
    gap: 40px;
  }
  
  .steps-wrapper::before {
    display: none;
  }
  
  .levels-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .level-card.featured {
    transform: none;
  }
  
  .requirements-card {
    flex-direction: column;
    padding: 40px;
  }
  
  .requirements-illustration {
    display: none;
  }
}

@media (max-width: 768px) {
  .agent-hero {
    padding: 100px 0 70px;
  }
  
  .agent-hero-title {
    font-size: 32px;
  }
  
  .agent-hero-subtitle {
    font-size: 14px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .feature-box {
    padding: 24px 16px;
  }
  
  .feature-icon {
    width: 56px;
    height: 56px;
    font-size: 26px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .level-body {
    padding: 24px;
  }
  
  .level-price .amount {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .agent-hero-title {
    font-size: 26px;
  }
  
  .agent-hero-btns {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-agent-primary,
  .btn-agent-outline {
    width: 100%;
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .feature-box h3 {
    font-size: 14px;
  }
  
  .step-number {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }
  
  .requirements-card {
    padding: 30px 20px;
  }
  
  .requirements-content h2 {
    font-size: 24px;
  }
}














