/* ===== 解决方案页面专属样式 ===== */

/* ===== Nav Dropdown ===== */
.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 140px; padding: 8px 0; margin-top: 12px;
  background: rgba(10, 22, 40, 0.98); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; opacity: 0; visibility: hidden;
  transition: all .3s; pointer-events: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.dropdown-menu::before {
  content: ""; position: absolute; top: -6px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: rgba(10, 22, 40, 0.98);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-left: 1px solid rgba(255,255,255,0.1);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  margin-top: 8px;
}
.dropdown-item {
  display: block; padding: 8px 20px; font-size: 13px;
  color: rgba(255,255,255,0.6); transition: all .3s;
}
.dropdown-item:hover {
  color: #fff; background: rgba(37,99,235,0.15);
}

/* ===== Hero Banner (背景装饰) ===== */
.sol-hero-bg { overflow: hidden; }
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.particle {
  position: absolute; border-radius: 50%;
  background: rgba(37,99,235,0.3); filter: blur(1px);
  animation: drift 8s ease-in-out infinite;
}
.p1 { width: 6px; height: 6px; top: 20%; left: 15%; animation-delay: 0s; }
.p2 { width: 4px; height: 4px; top: 60%; left: 25%; animation-delay: 1.5s; }
.p3 { width: 8px; height: 8px; top: 30%; right: 20%; animation-delay: 3s; }
.p4 { width: 5px; height: 5px; top: 70%; right: 30%; animation-delay: 4.5s; }
.p5 { width: 3px; height: 3px; top: 45%; left: 50%; animation-delay: 2s; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0); opacity: 0.3; }
  25% { transform: translate(20px, -30px); opacity: 0.8; }
  50% { transform: translate(-10px, -50px); opacity: 0.5; }
  75% { transform: translate(15px, -20px); opacity: 0.7; }
}

/* ===== Ecosystem ===== */
.sol-ecosystem { padding: 70px 0; background: #fff; }
.eco-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.eco-card {
  text-align: center; padding: 36px 24px; border-radius: 12px;
  background: #f8fafc; border: 1px solid #e2e8f0;
  transition: all .4s cubic-bezier(.4,0,.2,1);
}
.eco-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(37,99,235,.1);
  border-color: rgba(37,99,235,0.2);
}
.eco-icon {
  width: 52px; height: 52px; margin: 0 auto 18px;
  color: #2563eb;
}
.eco-card h3 { font-size: 17px; font-weight: 600; color: #1a1a2e; margin-bottom: 10px; }
.eco-card p { font-size: 13px; color: #666; line-height: 1.7; }

/* ===== Solution Detail ===== */
.sol-detail { padding: 80px 0; background: #fff; }
.sol-detail-inner { display: flex; gap: 50px; align-items: center; }
.sol-detail-image { flex: 0 0 500px; }
.sol-detail-image img { width: 100%; height: 380px; object-fit: cover; border-radius: 16px; }
.sol-detail-img-placeholder {
  width: 100%; height: 380px; border-radius: 16px; position: relative;
  background: linear-gradient(135deg, #0f2847, #1a365d, #1e40af);
  overflow: hidden;
}
.img-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(37,99,235,0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(96,165,250,0.15) 0%, transparent 50%);
}
.img-dots { position: absolute; inset: 0; }
.dot {
  position: absolute; width: 8px; height: 8px; border-radius: 50%;
  background: rgba(96,165,250,0.5);
  animation: dot-blink 3s ease-in-out infinite;
}
.dot-1 { top: 30%; left: 25%; animation-delay: 0s; }
.dot-2 { top: 50%; left: 60%; animation-delay: 1s; }
.dot-3 { top: 70%; left: 40%; animation-delay: 2s; }
@keyframes dot-blink {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}
.sol-detail-content { flex: 1; }
.detail-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px 0; border-bottom: 1px solid #f0f0f0;
  transition: all .3s;
}
.detail-item:last-child { border-bottom: none; }
.detail-item:hover { padding-left: 8px; }
.detail-icon {
  flex: 0 0 44px; width: 44px; height: 44px; color: #2563eb;
}
.detail-text h3 { font-size: 17px; font-weight: 600; color: #1a1a2e; margin-bottom: 8px; }
.detail-text p { font-size: 14px; color: #666; line-height: 1.7; }

/* ===== Advantages ===== */
.sol-advantages { padding: 80px 0; background: #f0f4f8; }
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.adv-card {
  background: #fff; border-radius: 14px; padding: 36px 28px;
  position: relative; overflow: hidden;
  transition: all .4s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.adv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
}
.adv-accent {
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
}
.accent-blue { background: linear-gradient(90deg, #2563eb, #60a5fa); }
.accent-green { background: linear-gradient(90deg, #10b981, #34d399); }
.accent-purple { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.adv-icon { width: 48px; height: 48px; margin-bottom: 20px; }
.adv-card h3 { font-size: 18px; font-weight: 600; color: #1a1a2e; margin-bottom: 12px; }
.adv-card p { font-size: 14px; color: #666; line-height: 1.7; }

/* ===== Representative Case ===== */
.sol-case { padding: 80px 0; background: #fff; }
.sol-case-card {
  display: flex; gap: 40px; align-items: center;
  background: #f8fafc; border-radius: 16px; overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: box-shadow .3s;
}
.sol-case-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.sol-case-image { flex: 0 0 460px; height: 320px; }
.sol-case-image img { width: 100%; height: 100%; object-fit: cover; }
.sol-case-img-placeholder {
  width: 100%; height: 100%; position: relative;
  background: linear-gradient(135deg, #1a365d, #2563eb);
}
.case-badge {
  position: absolute; top: 16px; left: 16px;
  padding: 6px 14px; border-radius: 20px;
  background: rgba(37,99,235,0.8); color: #fff;
  font-size: 12px; font-weight: 500;
  backdrop-filter: blur(4px);
}
.sol-case-content { flex: 1; padding: 30px 30px 30px 0; }
.sol-case-content h3 { font-size: 22px; font-weight: 600; color: #1a1a2e; margin-bottom: 14px; }
.sol-case-content p { font-size: 14px; color: #666; line-height: 1.8; margin-bottom: 28px; }
.sol-case-stats { display: flex; gap: 40px; }
.sol-case-stat { text-align: center; }
.sol-stat-num {
  font-size: 36px; font-weight: 700;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sol-stat-unit {
  font-size: 18px; font-weight: 600;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sol-case-stat p { font-size: 13px; color: #999; margin-top: 4px; }

/* ===== Moments ===== */
.sol-moments { padding: 80px 0; background: #f8fafc; }
.moments-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.moment-card {
  display: flex; gap: 0; background: #fff; border-radius: 14px;
  overflow: hidden; border: 1px solid #e2e8f0;
  transition: all .4s cubic-bezier(.4,0,.2,1);
}
.moment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
}
.moment-text { flex: 1; padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.moment-tag {
  display: inline-block; width: fit-content;
  padding: 4px 12px; border-radius: 4px; font-size: 12px;
  background: #eff6ff; color: #2563eb; font-weight: 500;
  margin-bottom: 12px;
}
.moment-text h3 { font-size: 18px; font-weight: 600; color: #1a1a2e; margin-bottom: 10px; }
.moment-text p { font-size: 13px; color: #666; line-height: 1.7; }
.moment-image { flex: 0 0 220px; min-height: 180px; }
.moment-img-placeholder { width: 100%; height: 100%; }
.mi-1 { background: linear-gradient(135deg, #1e40af, #3b82f6); }
.mi-2 { background: linear-gradient(135deg, #0f766e, #14b8a6); }
.mi-3 { background: linear-gradient(135deg, #9333ea, #a78bfa); }
.mi-4 { background: linear-gradient(135deg, #ea580c, #fb923c); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .sol-detail-inner { flex-direction: column; }
  .sol-detail-image { flex: none; width: 100%; }
  .sol-case-card { flex-direction: column; }
  .sol-case-image { flex: none; width: 100%; height: 240px; }
  .sol-case-content { padding: 24px; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .eco-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .eco-card { padding: 24px 16px; }
  .adv-grid { grid-template-columns: 1fr; }
  .sol-case-stats { gap: 24px; }
  .sol-stat-num { font-size: 28px; }
  .moments-grid { grid-template-columns: 1fr; }
  .moment-image { flex: 0 0 160px; }
  .dropdown-menu { display: none; }
}

@media (max-width: 480px) {
  .eco-grid { grid-template-columns: 1fr; }
  .sol-case-stats { flex-direction: column; gap: 16px; }
  .moment-card { flex-direction: column; }
  .moment-image { flex: none; height: 160px; }
}
