/* ═══════════════════════════════════════════
   government-cooperation.css — 战码少年政企服务
   参照 qucodeUI GovernmentCooperation.css 设计
   ═══════════════════════════════════════════ */

.page-gov {
  --orange: #EA580C;
  --orange-light: #FED7AA;
  --blue: #2563EB;
  --blue-light: #DBEAFE;
  --teal: #0D9488;
  --teal-light: #CCFBF1;
}

/* ════════════════════ BANNER ════════════════════ */

.page-banner-gov {
  background: linear-gradient(135deg, #0B1E33 0%, #1E3A5F 40%, #EA580C 100%);
  min-height: 360px;
  position: relative;
  overflow: hidden;
}
.page-banner-gov .page-banner-tag { color: white !important; }
.page-banner-gov .page-banner-body { margin-left: auto; margin-right: auto; }
.page-banner-gov .page-banner-title {
  font-size: 3.5rem; line-height: 1.15; margin-bottom: 8px; text-align: center;
}
.page-banner-gov .page-banner-desc {
  font-size: 1.125rem; color: rgba(255,255,255,0.85);
  line-height: 1.7; font-weight: 450; text-align: center;
  max-width: 640px; margin-left: auto; margin-right: auto;
  word-break: keep-all; overflow-wrap: break-word; text-wrap: pretty;
}
.banner-title-gov-highlight {
  display: inline-block;
  background: linear-gradient(135deg, #FDBA74 0%, #F97316 50%, #EA580C 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; font-size: inherit;
}
@media (max-width: 640px) {
  .page-banner-gov { min-height: 320px; }
  .page-banner-gov .page-banner-title { font-size: 2.5rem; }
  .page-banner-gov .page-banner-desc {
    max-width: 92%; word-break: break-word; padding: 0 4px;
  }
}
.btn-glow { box-shadow: 0 0 24px rgba(249,115,22,0.35); }

/* ════════════════════ CORE SERVICES ════════════════════ */

.section-gov-cards {
  background: linear-gradient(135deg, #0B1E33 0%, #1E3A5F 50%, #1E40AF 100%);
  position: relative;
}
.gov-cards { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .gov-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gov-cards { grid-template-columns: repeat(3, 1fr); } }

.gov-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all 0.35s ease;
}
.gov-card:hover {
  background: rgba(255,255,255,0.10);
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.20);
}
.gov-card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 1.5rem;
}
.gov-card-icon-orange { background: rgba(249,115,22,0.20); color: #FB923C; }
.gov-card-icon-blue { background: rgba(59,130,246,0.20); color: #60A5FA; }
.gov-card-icon-teal { background: rgba(16,185,129,0.20); color: #34D399; }
.gov-card-title { color: white; font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.gov-card > p { color: rgba(255,255,255,0.65); font-size: 0.875rem; margin-bottom: 20px; }
.gov-list { list-style: none; padding: 0; margin: 0; }
.gov-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 10px; font-size: 0.875rem; color: rgba(255,255,255,0.75);
}
.gov-list li::before {
  content: '✓';
  color: #34D399;
  font-weight: 700;
  flex-shrink: 0;
}

/* ════════════════════ STATS ════════════════════ */

#stats { scroll-margin-top: 80px; }
.gov-stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 768px) { .gov-stats-row { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 480px) { .gov-stats-row { grid-template-columns: 1fr; } }

.gov-stat-card {
  text-align: center; background: white;
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 36px 24px; transition: all 0.3s ease;
  position: relative; overflow: hidden;
}
.gov-stat-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.06); transform: translateY(-4px);
}
.gov-stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #F97316, #EA580C);
}
.gov-stat-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: #FED7AA; color: #EA580C;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; font-size: 1.5rem;
  transition: transform 0.3s ease;
}
.gov-stat-card:hover .gov-stat-icon { transform: scale(1.1); }
.gov-stat-num {
  display: block; font-family: var(--font-display);
  font-size: 2.75rem; font-weight: 800; color: #EA580C;
  line-height: 1; margin-bottom: 4px;
}
.gov-stat-label { font-size: 0.9375rem; color: var(--text-secondary); font-weight: 500; }

/* ════════════════════ PARTNERS ════════════════════ */

.gov-partner-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
@media (min-width: 768px) { .gov-partner-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (max-width: 480px) { .gov-partner-grid { grid-template-columns: 1fr; gap: 12px; } }

.gov-partner-card {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 14px; padding: 28px 20px;
  background: white; border-radius: var(--radius-xl);
  border: 1px solid var(--border); text-align: center;
  min-height: 130px; transition: all 0.3s ease;
  position: relative; overflow: hidden;
}
.gov-partner-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #F97316, #EA580C, #FB923C);
  opacity: 0; transition: opacity 0.3s ease;
}
.gov-partner-card:hover::before { opacity: 1; }
.gov-partner-card:hover {
  border-color: #FDBA74;
  box-shadow: 0 8px 24px rgba(249,115,22,0.10);
  transform: translateY(-3px);
}
.gov-partner-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: #FFF7ED; color: #9CA3AF;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; transition: all 0.3s ease;
}
.gov-partner-card:hover .gov-partner-icon {
  background: #FED7AA; color: #EA580C; transform: scale(1.1);
}
.gov-partner-name {
  font-size: 0.875rem; font-weight: 600;
  color: var(--text-secondary); white-space: pre-line; line-height: 1.4;
}

/* ════════════════════ TIMELINE ════════════════════ */

.section-gov-timeline {
  background: linear-gradient(135deg, #0B1E33 0%, #1E3A5F 50%, #1E40AF 100%);
  position: relative;
}
.coop-timeline { max-width: 640px; margin: 0 auto; }
.coop-timeline-title {
  color: white; font-size: 1.125rem;
  font-weight: 700; margin-bottom: 24px; text-align: center;
}
.coop-timeline-list {
  position: relative; padding-left: 28px;
}
.coop-timeline-list::before {
  content: ''; position: absolute; left: 9px; top: 8px; bottom: 8px;
  width: 2px; background: rgba(249,115,22,0.25); border-radius: 2px;
}
.coop-timeline-item { position: relative; margin-bottom: 20px; }
.coop-timeline-item:last-child { margin-bottom: 0; }
.coop-timeline-dot {
  position: absolute; left: -24px; top: 18px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #F97316; box-shadow: 0 0 0 3px rgba(249,115,22,0.20);
  z-index: 1;
}
.coop-timeline-content {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg); padding: 16px 20px;
  transition: all 0.3s ease;
}
.coop-timeline-content:hover {
  background: rgba(255,255,255,0.10);
  transform: translateX(4px); border-color: rgba(255,255,255,0.15);
}
.coop-timeline-tag {
  display: inline-block; padding: 2px 10px; border-radius: var(--radius-full);
  font-size: 0.6875rem; font-weight: 700; color: #F97316;
  background: rgba(249,115,22,0.15); margin-bottom: 6px;
}
.coop-timeline-year {
  display: block; font-size: 0.75rem; font-weight: 700;
  color: rgba(255,255,255,0.5); margin-bottom: 4px;
}
.coop-timeline-content p {
  color: rgba(255,255,255,0.8); font-size: 0.9375rem;
  line-height: 1.5; margin: 0;
}

/* ════════════════════ OJ PLATFORM ════════════════════ */

.section-gov-oj { background: #F8FAFC; }
.gov-oj-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
@media (max-width: 1023px) { .gov-oj-grid { grid-template-columns: 1fr; gap: 32px; } }
.gov-oj-features { list-style: none; padding: 0; margin: 0 0 32px; }
.gov-oj-features li {
  display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px;
}
.gov-oj-features li:last-child { margin-bottom: 0; }
.gov-oj-feat-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(249,115,22,0.12), rgba(234,88,12,0.08));
  color: #EA580C; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; margin-top: 2px;
  font-size: 1.125rem;
}
.gov-oj-features li strong {
  display: block; font-size: 1rem; font-weight: 700;
  color: var(--text-primary); margin-bottom: 2px;
}
.gov-oj-features li p {
  font-size: 0.875rem; color: var(--text-secondary);
  line-height: 1.5; margin: 0;
}
.gov-oj-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #EA580C, #F97316);
  color: white; font-weight: 700; font-size: 1rem;
  border-radius: 10px; text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(234,88,12,0.30);
}
.gov-oj-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(234,88,12,0.45);
  color: white;
}

/* ════════════════════ CONTACT CTA ════════════════════ */

.section-gov-cta {
  position: relative; overflow: hidden; background: #0B1322;
}
.section-gov-cta-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 50%, rgba(234,88,12,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 70% 30%, rgba(249,115,22,0.08) 0%, transparent 70%);
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px; pointer-events: none;
}
.section-gov-cta-glow {
  position: absolute; top: -30%; left: 50%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(234,88,12,0.08) 0%, transparent 60%);
  transform: translateX(-50%); pointer-events: none;
}
.gov-cta-card {
  position: relative; text-align: center;
  background: linear-gradient(135deg, rgba(234,88,12,0.15), rgba(249,115,22,0.08));
  border: 1px solid rgba(234,88,12,0.20); border-radius: var(--radius-xl);
  padding: 48px 44px; color: white;
  backdrop-filter: blur(12px); overflow: hidden;
}
.gov-cta-card h3 { color: white; font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.gov-cta-card > p { color: rgba(255,255,255,0.65); margin-bottom: 28px; }
.gov-cta-contacts {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 28px;
}
.gov-cta-contact-item {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.8); font-size: 1.0625rem;
  font-weight: 500;
}
.gov-cta-contact-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(249,115,22,0.15); color: #FB923C;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .gov-cta-card { padding: 36px 24px; }
  .gov-cta-contacts { flex-direction: column; align-items: center; gap: 16px; }
}
