/* ========== Hero ========== */
.ep-hero {
  background: linear-gradient(170deg, #f5f8ff 0%, #edf2fe 40%, #e8effc 100%);
  padding: 56px 0 132px;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 52px;
}

.hero-left {
  flex: 1;
}

.hero-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--color-text-primary);
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin-bottom: 6px;
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.hero-btns {
  display: flex;
  gap: 14px;
}

.btn-hero-primary {
  padding: 13px 36px;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
}
.btn-hero-primary:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 4px 16px rgba(30,91,255,0.3);
  transform: translateY(-1px);
}

.btn-hero-outline {
  padding: 13px 36px;
  background: white;
  color: var(--color-text-primary);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-hero-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* 世界地图 */
.hero-map {
  flex: 0 0 780px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.map-img {
  width: 100%;
  max-width: 700px;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

.map-overlay {
  width: 100%;
  max-width: 700px;
  aspect-ratio: 700 / 360;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  overflow: visible;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.map-route {
  fill: none;
  stroke: rgba(42, 105, 255, 0.72);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dasharray: 8 10;
  filter: url(#mapGlow);
  animation: mapRouteFlow 2.4s linear infinite;
}

.map-flight {
  filter: url(#mapGlow);
}

.map-flight-glow {
  fill: rgba(47, 107, 255, 0.18);
}

.map-flight-dot {
  fill: #ffffff;
  stroke: #1f5cff;
  stroke-width: 2;
}

.map-point {
  color: #1f5cff;
}

.map-point-origin {
  color: #06235f;
}

.map-point-ring {
  fill: currentColor;
  opacity: 0.12;
  transform-origin: center;
  animation: mapPointPulse 2.8s ease-out infinite;
}

.map-point-core {
  fill: #ffffff;
  stroke: currentColor;
  stroke-width: 2.5;
}

.map-point-label {
  fill: #071736;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.4px;
  paint-order: stroke;
  stroke: rgba(239, 244, 255, 0.92);
  stroke-width: 4;
  stroke-linejoin: round;
}

@keyframes mapRouteFlow {
  to {
    stroke-dashoffset: -36;
  }
}

@keyframes mapPointPulse {
  0% {
    opacity: 0.24;
    transform: scale(0.65);
  }
  70% {
    opacity: 0;
    transform: scale(1.65);
  }
  100% {
    opacity: 0;
    transform: scale(1.65);
  }
}

/* ========== 筛选面板 ========== */
.enterprise-section {
  background: white;
  padding-top: 0;
  position: relative;
  z-index: 2;
}

.enterprise-section .container-wide {
  display: flow-root;
}

.filter-panel {
  background: white;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
  padding: 28px 24px 26px;
  margin-top: -104px;
  margin-bottom: 36px;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 18px;
  margin-bottom: 18px;
}
.filter-row-2 { margin-bottom: 0; }

.filter-field {
  min-width: 0;
}

.filter-actions {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}

/* ========== 企业卡片列表 ========== */
.ent-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.ent-card {
  background: white;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  transition: all var(--transition-normal);
}
.ent-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: rgba(59,130,246,0.2);
}

.ec-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4px;
}

.ec-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.4;
}

.ec-more {
  font-size: 12px;
  color: var(--color-text-muted);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 8px;
}
.ec-more:hover { color: var(--color-primary); }

.ec-country {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.ec-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.eci-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.eci-label {
  font-size: 11px;
  color: var(--color-text-muted);
}

.eci-val {
  font-size: 12px;
  color: var(--color-primary);
  font-weight: 600;
}

.code-font {
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  letter-spacing: -0.3px;
}

.date-font {
  font-size: 12px;
  color: var(--color-text-secondary);
}

.ec-amount {
  font-size: 17px;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 10px;
}

.ec-desc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.ecd-label {
  font-size: 11px;
  color: var(--color-text-muted);
}

.ecd-val {
  font-size: 12px;
  color: var(--color-text-secondary);
}

.ec-product {
  font-size: 12.5px;
  color: var(--color-text-secondary);
  line-height: 1.5;
  padding-top: 8px;
  border-top: 1px dashed var(--color-border-light);
}

/* 分页 */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 24px 0;
}

.pg-btn {
  min-width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: white;
  font-size: 13px;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.pg-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.pg-btn.pg-active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  font-weight: 600;
}
.pg-dots {
  color: var(--color-text-muted);
  font-size: 13px;
  padding: 0 4px;
}

/* 响应式 */
@media (max-width: 1024px) {
  .ep-hero { padding-bottom: 112px; }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-map { flex: 0 0 auto; width: 100%; max-width: 520px; }
  .ent-list { grid-template-columns: repeat(2, 1fr); }
  .filter-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .ep-hero { padding-bottom: 88px; }
  .filter-panel { margin-top: -72px; padding: 22px 18px; }
  .hero-title { font-size: 28px; }
  .hero-subtitle { font-size: 16px; }
  .hero-btns { justify-content: center; flex-wrap: wrap; }
  .map-point-label { font-size: 12px; }
  .filter-grid { grid-template-columns: 1fr; }
  .ent-list { grid-template-columns: 1fr; }
  .ec-info-grid { grid-template-columns: 1fr 1fr; }
  .eci-item:last-child { grid-column: span 2; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 24px; }
  .ec-info-grid { grid-template-columns: 1fr; }
  .eci-item:last-child { grid-column: span 1; }
  .hero-btns { flex-direction: column; }
  .btn-hero-primary, .btn-hero-outline { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .map-route,
  .map-point-ring {
    animation: none;
  }

  .map-flight {
    display: none;
  }
}
