/* 电能去向科学证明方案 */
.energy-proof-section {
  margin-top: 60px;
  padding: 48px;
  background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.12);
}

.energy-proof-header {
  text-align: center;
  margin-bottom: 48px;
}

.energy-proof-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  border-radius: 50%;
  margin-bottom: 20px;
  color: white;
  animation: pulse 2s ease-in-out infinite;
}

.energy-proof-header h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #065F46;
  margin-bottom: 12px;
}

.energy-proof-subtitle {
  font-size: 1rem;
  color: #475569;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* 电表安装位置图 */
.meter-layout-section {
  margin-bottom: 48px;
  padding: 32px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.meter-layout-section h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1E3A8A;
  text-align: center;
  margin-bottom: 8px;
}

.meter-layout-desc {
  text-align: center;
  color: #64748B;
  font-size: 0.9375rem;
  margin-bottom: 32px;
}

.circuit-measurement-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.circuit-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px;
  background: white;
  border-radius: 12px;
  border: 2px solid #E5E7EB;
  min-width: 140px;
  transition: all 0.3s ease;
}

.circuit-node:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.circuit-node-source {
  border-color: #F59E0B;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
}

.circuit-node-device {
  border-color: #10B981;
  background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
}

.circuit-node-meter {
  border-color: #3B82F6;
  background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
}

.circuit-node-destination {
  border-color: #8B5CF6;
  background: linear-gradient(135deg, #EDE9FE 0%, #DDD6FE 100%);
}

.node-label-large {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1E293B;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.3;
}

.node-meter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.meter-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  color: white;
}

.meter-badge-in {
  background: #F59E0B;
}

.meter-badge-feedback {
  background: #3B82F6;
}

.meter-badge-public {
  background: #8B5CF6;
}

.meter-desc {
  font-size: 0.75rem;
  color: #64748B;
}

.meter-readout {
  margin-top: 8px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.readout-label {
  font-size: 0.6875rem;
  color: #64748B;
}

.readout-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1E293B;
}

.node-status {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #059669;
}

.circuit-connection {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 60px;
}

.connection-line {
  width: 60px;
  height: 3px;
  background: #CBD5E1;
  border-radius: 2px;
}

.connection-line-feedback {
  background: linear-gradient(90deg, #10B981 0%, #3B82F6 100%);
  animation: flowPulse 2s ease-in-out infinite;
}

@keyframes flowPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.connection-label {
  font-size: 0.6875rem;
  color: #94A3B8;
  font-weight: 500;
}

.connection-label-feedback {
  color: #059669;
  font-weight: 600;
}

/* 测量点说明 */
.measurement-points {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  background: #F8FAFC;
  border-radius: 12px;
}

.measurement-point {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 16px;
  background: white;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  flex: 1;
}

.measurement-point-highlight {
  border-color: #3B82F6;
  background: #EFF6FF;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.point-number {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  background: #64748B;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 8px;
}

.measurement-point-highlight .point-number {
  background: #3B82F6;
}

.point-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1E293B;
  text-align: center;
  margin-bottom: 4px;
}

.point-desc {
  font-size: 0.6875rem;
  color: #64748B;
  text-align: center;
}

.point-arrow {
  font-size: 1.25rem;
  color: #94A3B8;
  font-weight: 700;
}

/* 三种证明方法 */
.proof-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.proof-method-card {
  background: white;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.proof-method-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.proof-method-primary {
  border-color: #10B981;
}

.method-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.method-badge-1 {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.method-badge-2 {
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
}

.method-badge-3 {
  background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
}

.proof-method-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 8px;
}

.method-principle {
  font-size: 0.875rem;
  color: #64748B;
  font-style: italic;
  margin-bottom: 20px;
}

.method-explanation {
  margin-bottom: 20px;
}

.explanation-step {
  font-size: 0.875rem;
  color: #475569;
  padding: 8px 0;
  border-bottom: 1px solid #F1F5F9;
  line-height: 1.5;
}

.explanation-result {
  font-size: 0.9375rem;
  color: #059669;
  font-weight: 600;
  padding: 12px;
  background: #ECFDF5;
  border-radius: 8px;
  margin-top: 12px;
}

.text-green {
  color: #059669;
  font-weight: 600;
}

.text-gray {
  color: #94A3B8;
}

.method-proof {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: #065F46;
  padding: 8px 12px;
  background: #ECFDF5;
  border-radius: 8px;
}

.proof-item svg {
  flex-shrink: 0;
  color: #10B981;
}

/* 逻辑排除法 */
.exclusion-proof {
  background: #F8FAFC;
  border-radius: 12px;
  padding: 16px;
  margin-top: 16px;
}

.exclusion-proof h5 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 12px;
}

.exclusion-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid #E5E7EB;
}

.exclusion-item:last-child {
  border-bottom: none;
}

.exclusion-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748B;
}

.exclusion-value {
  font-size: 0.8125rem;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}

.exclusion-good {
  background: #D1FAE5;
  color: #065F46;
  font-weight: 600;
}

.exclusion-bad {
  background: #FEE2E2;
  color: #991B1B;
}

/* 电压差原理 */
.voltage-explanation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  background: #F8FAFC;
  border-radius: 12px;
  margin-bottom: 20px;
}

.voltage-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px;
  background: white;
  border-radius: 8px;
  border: 2px solid #E5E7EB;
}

.voltage-label {
  font-size: 0.6875rem;
  color: #64748B;
  font-weight: 500;
}

.voltage-value {
  font-size: 1.25rem;
  font-weight: 700;
}

.voltage-high {
  color: #10B981;
}

.voltage-normal {
  color: #3B82F6;
}

.voltage-low {
  color: #94A3B8;
}

.voltage-desc {
  font-size: 0.625rem;
  color: #94A3B8;
}

.voltage-arrow {
  font-size: 1.25rem;
  color: #3B82F6;
  font-weight: 700;
}

.voltage-proof {
  margin-top: 16px;
}

.voltage-proof h5 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 12px;
}

.formula-box {
  padding: 16px;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  border-radius: 12px;
  text-align: center;
  margin-bottom: 12px;
}

.formula-label {
  font-size: 0.75rem;
  color: #92400E;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.formula-code {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1E293B;
  font-family: 'Courier New', monospace;
  display: block;
  margin-bottom: 8px;
}

.formula-desc {
  font-size: 0.75rem;
  color: #92400E;
}

.formula-explain {
  font-size: 0.8125rem;
  color: #475569;
  padding: 8px 12px;
  background: #F8FAFC;
  border-radius: 6px;
  margin-bottom: 8px;
}

/* 测量步骤 */
.measurement-steps {
  margin-bottom: 48px;
  padding: 32px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.measurement-steps h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1E293B;
  text-align: center;
  margin-bottom: 32px;
}

.steps-timeline {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px;
  background: #F8FAFC;
  border-radius: 12px;
  flex: 1;
  min-width: 140px;
  max-width: 180px;
  transition: all 0.3s ease;
}

.step-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.step-complete {
  background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
  border: 2px solid #10B981;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #64748B;
  color: white;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 12px;
}

.step-complete .step-number {
  background: #10B981;
}

.step-item h5 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 8px;
  text-align: center;
}

.step-item p {
  font-size: 0.75rem;
  color: #64748B;
  line-height: 1.4;
  text-align: center;
}

/* 核心结论 */
.proof-conclusion {
  padding: 32px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  border-radius: 16px;
  text-align: center;
  color: white;
}

.conclusion-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  margin-bottom: 16px;
}

.proof-conclusion h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.conclusion-text {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 24px;
}

.conclusion-formula {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  flex-wrap: wrap;
}

.formula-part, .formula-result {
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.formula-equals {
  font-size: 1.5rem;
  font-weight: 700;
}

/* 移动端适配 - 电能证明方案 */
@media (max-width: 768px) {
  .energy-proof-section {
    padding: 32px 20px;
    margin-top: 40px;
  }

  .energy-proof-header {
    margin-bottom: 32px;
  }

  .energy-proof-icon-wrapper {
    width: 64px;
    height: 64px;
  }

  .energy-proof-icon-wrapper svg {
    width: 32px;
    height: 32px;
  }

  .energy-proof-header h3 {
    font-size: 1.375rem;
  }

  .energy-proof-subtitle {
    font-size: 0.875rem;
  }

  .meter-layout-section {
    padding: 24px 20px;
    margin-bottom: 32px;
  }

  .circuit-measurement-diagram {
    flex-direction: column;
    gap: 8px;
  }

  .circuit-connection {
    transform: rotate(90deg);
    min-width: auto;
    min-height: 60px;
  }

  .proof-methods-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 32px;
  }

  .measurement-points {
    flex-direction: column;
    gap: 12px;
  }

  .point-arrow {
    transform: rotate(90deg);
  }

  .steps-timeline {
    flex-direction: column;
    gap: 12px;
  }

  .step-item {
    min-width: 100%;
    max-width: 100%;
  }

  .voltage-explanation {
    flex-direction: column;
    gap: 8px;
  }

  .voltage-arrow {
    transform: rotate(90deg);
  }

  .conclusion-formula {
    flex-direction: column;
    gap: 12px;
  }
}

/* ===== 全新电能证明方案样式 ===== */

/* 销售开场白 */
.sales-opening {
  margin-bottom: 40px;
}

.opening-quote {
  padding: 24px 32px;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  border-radius: 16px;
  border-left: 4px solid #F59E0B;
  position: relative;
}

.quote-icon {
  position: absolute;
  top: 16px;
  left: 16px;
  color: #F59E0B;
  opacity: 0.3;
}

.opening-quote p {
  font-size: 1rem;
  color: #92400E;
  line-height: 1.8;
  font-style: italic;
  margin: 0;
  padding-left: 24px;
}

/* 电路路径图 */
.circuit-path-section {
  margin-bottom: 48px;
  padding: 32px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.circuit-path-section h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1E293B;
  text-align: center;
  margin-bottom: 8px;
}

.circuit-path-desc {
  text-align: center;
  color: #64748B;
  font-size: 0.9375rem;
  margin-bottom: 32px;
  padding: 12px;
  background: #F8FAFC;
  border-radius: 8px;
}

.circuit-flow-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 800px;
  margin: 0 auto;
}

.flow-node {
  padding: 20px;
  background: white;
  border-radius: 12px;
  border: 2px solid #E5E7EB;
  text-align: center;
  width: 100%;
  max-width: 400px;
  transition: all 0.3s ease;
}

.flow-node:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.flow-node-grid {
  border-color: #F59E0B;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
}

.flow-node-public {
  border-color: #3B82F6;
  background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
}

.flow-node-elevator {
  border-color: #8B5CF6;
  background: linear-gradient(135deg, #EDE9FE 0%, #DDD6FE 100%);
}

.flow-node-control {
  border-color: #10B981;
  background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
}

.flow-node-catux {
  border-color: #F97316;
  background: linear-gradient(135deg, #FFEDD5 0%, #FED7AA 100%);
}

.flow-node-meter {
  border-color: #EF4444;
  background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%);
}

.flow-node-return {
  border-color: #06B6D4;
  background: linear-gradient(135deg, #CFFAFE 0%, #A5F3FC 100%);
}

.node-badge {
  display: inline-block;
  padding: 4px 12px;
  background: #64748B;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 6px;
  margin-bottom: 8px;
}

.meter-badge-feedback {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
}

.flow-node h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 8px;
}

.flow-node .node-desc {
  font-size: 0.8125rem;
  color: #475569;
  margin-bottom: 4px;
}

.flow-node .node-note {
  font-size: 0.75rem;
  color: #94A3B8;
  font-style: italic;
}

.flow-node .node-output {
  margin-top: 8px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 6px;
  display: inline-flex;
  gap: 8px;
  font-size: 0.8125rem;
}

.output-label {
  color: #64748B;
}

.output-value {
  font-weight: 700;
  color: #F97316;
}

.flow-arrow {
  font-size: 1.5rem;
  color: #94A3B8;
  font-weight: 700;
}

.flow-arrow-feedback {
  color: #EF4444;
  animation: bounce 1s ease-in-out infinite;
}

.flow-arrow-return {
  color: #06B6D4;
}

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

/* 物理定律部分 */
.physics-laws-section {
  margin-bottom: 48px;
}

.physics-laws-section h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1E293B;
  text-align: center;
  margin-bottom: 8px;
}

.laws-desc {
  text-align: center;
  color: #64748B;
  font-size: 0.9375rem;
  margin-bottom: 32px;
}

.laws-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.law-card {
  padding: 28px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-top: 4px solid transparent;
  transition: all 0.3s ease;
}

.law-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.law-card-energy {
  border-top-color: #10B981;
}

.law-card-kirchhoff {
  border-top-color: #3B82F6;
}

.law-card-voltage {
  border-top-color: #F59E0B;
}

.law-card-formula {
  border-top-color: #8B5CF6;
}

.law-number {
  display: inline-block;
  padding: 4px 12px;
  background: #F8FAFC;
  color: #64748B;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 6px;
  margin-bottom: 12px;
}

.law-card h5 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 8px;
}

.law-formula {
  font-size: 0.9375rem;
  color: #059669;
  font-weight: 600;
  margin-bottom: 8px;
}

.law-explain {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 16px;
}

.law-application {
  padding: 12px;
  background: #F0F9FF;
  border-radius: 8px;
  border-left: 3px solid #3B82F6;
}

.application-tag {
  display: inline-block;
  padding: 2px 8px;
  background: #3B82F6;
  color: white;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: 8px;
}

.law-application p {
  font-size: 0.8125rem;
  color: #1E3A8A;
  margin: 0;
  line-height: 1.5;
}

.formula-display {
  font-size: 1.25rem;
  font-weight: 700;
  color: #8B5CF6;
  font-family: 'Courier New', monospace;
  background: #F8FAFC;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 12px;
}

/* 电流流向分析 */
.current-flow-section {
  margin-bottom: 48px;
}

.current-flow-section h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1E293B;
  text-align: center;
  margin-bottom: 8px;
}

.flow-desc {
  text-align: center;
  color: #64748B;
  font-size: 0.9375rem;
  margin-bottom: 32px;
}

.flow-scenarios {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  overflow-x: hidden;
}

.flow-scenario {
  padding: 28px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.flow-scenario:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.scenario-self {
  border-left: 4px solid #3B82F6;
}

.scenario-public {
  border-left: 4px solid #10B981;
}

.scenario-protection {
  grid-column: 1 / -1;
  border-left: 4px solid #F59E0B;
}

.scenario-header {
  margin-bottom: 20px;
}

.scenario-badge {
  display: inline-block;
  padding: 4px 12px;
  background: #3B82F6;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 6px;
  margin-bottom: 8px;
}

.scenario-badge-success {
  background: #10B981;
}

.scenario-badge-warning {
  background: #F59E0B;
}

.scenario-header h5 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 8px;
}

.scenario-condition {
  font-size: 0.8125rem;
  color: #64748B;
  font-style: italic;
}

.voltage-chain {
  padding: 20px;
  background: #F8FAFC;
  border-radius: 12px;
  margin-bottom: 16px;
  max-width: 100%;
  overflow-x: auto;
}

.voltage-chain-path {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  background: #F8FAFC;
  padding: 16px;
  border-radius: 8px;
}

.voltage-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  background: white;
  border-radius: 8px;
  border: 2px solid #E5E7EB;
}

.v-label {
  font-size: 0.75rem;
  color: #64748B;
  font-weight: 500;
}

.v-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1E293B;
}

.voltage-link {
  font-size: 1.25rem;
  color: #3B82F6;
  font-weight: 700;
}

.scenario-result {
  padding: 16px;
  background: #ECFDF5;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #065F46;
  line-height: 1.6;
}

.protection-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.protection-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #F8FAFC;
  border-radius: 8px;
}

.step-badge-protection {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #F59E0B;
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.protection-step p {
  font-size: 0.875rem;
  color: #475569;
  margin: 0;
}

.protection-result {
  background: #FEE2E2;
}

.protection-result .step-badge-protection {
  background: #EF4444;
}

.protection-result p {
  color: #991B1B;
  font-weight: 600;
}

/* 能量方程部分 */
.energy-equation-section {
  margin-bottom: 48px;
  padding: 32px;
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  border-radius: 16px;
}

.energy-equation-section h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1E293B;
  text-align: center;
  margin-bottom: 8px;
}

.equation-desc {
  text-align: center;
  color: #64748B;
  font-size: 0.9375rem;
  margin-bottom: 32px;
}

.system-boundaries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.boundary-card {
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.boundary-highlight {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  border: 2px solid #F59E0B;
}

.boundary-card h5 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 8px;
}

.boundary-card p {
  font-size: 0.875rem;
  color: #475569;
  margin-bottom: 4px;
}

.boundary-note {
  font-size: 0.75rem;
  color: #94A3B8;
  font-style: italic;
}

.equation-derivation {
  padding: 24px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 24px;
}

.equation-derivation h5 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 16px;
  text-align: center;
}

.equation-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  margin-bottom: 12px;
  background: #F8FAFC;
  border-radius: 8px;
}

.step-label {
  display: inline-block;
  padding: 4px 8px;
  background: #3B82F6;
  color: white;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 4px;
  flex-shrink: 0;
}

.equation-step code {
  font-size: 1rem;
  font-weight: 600;
  color: #1E293B;
  font-family: 'Courier New', monospace;
}

.equation-step p {
  font-size: 0.8125rem;
  color: #64748B;
  margin: 4px 0 0;
}

.equation-final {
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  border: 2px solid #10B981;
}

.equation-conclusion {
  padding: 24px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  border-radius: 12px;
  color: white;
}

.conclusion-highlight {
  text-align: center;
}

.conclusion-highlight p {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* 实测方案 */
.test-plans-section {
  margin-bottom: 48px;
}

.test-plans-section h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1E293B;
  text-align: center;
  margin-bottom: 8px;
}

.test-desc {
  text-align: center;
  color: #64748B;
  font-size: 0.9375rem;
  margin-bottom: 32px;
}

.test-plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.test-plan {
  padding: 28px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.test-plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.test-plan-3 {
  grid-column: 1 / -1;
}

.plan-badge {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 6px;
  margin-bottom: 12px;
}

.test-plan h5 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 8px;
}

.plan-principle {
  font-size: 0.8125rem;
  color: #64748B;
  font-style: italic;
  margin-bottom: 16px;
}

.plan-steps {
  margin-bottom: 16px;
}

.plan-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  margin-bottom: 8px;
  background: #F8FAFC;
  border-radius: 8px;
}

.plan-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #3B82F6;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.plan-step p {
  font-size: 0.8125rem;
  color: #475569;
  margin: 0;
  line-height: 1.5;
}

.plan-result {
  padding: 16px;
  background: #ECFDF5;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #065F46;
  line-height: 1.6;
}

/* Q&A部分 */
.qa-section {
  margin-bottom: 48px;
}

.qa-section h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1E293B;
  text-align: center;
  margin-bottom: 8px;
}

.qa-desc {
  text-align: center;
  color: #64748B;
  font-size: 0.9375rem;
  margin-bottom: 32px;
}

.qa-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.qa-item {
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.qa-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.qa-question {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1E293B;
}

.qa-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.qa-answer {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.6;
  padding: 12px;
  background: #F0F9FF;
  border-radius: 8px;
  border-left: 3px solid #3B82F6;
}

/* 兜底方案 */
.fallback-section {
  margin-bottom: 48px;
}

.fallback-section h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1E293B;
  text-align: center;
  margin-bottom: 8px;
}

.fallback-desc {
  text-align: center;
  color: #64748B;
  font-size: 0.9375rem;
  margin-bottom: 32px;
}

.fallback-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fallback-card {
  padding: 28px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.fallback-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.fallback-card-primary {
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  border: 2px solid #10B981;
}

.fallback-badge {
  display: inline-block;
  padding: 4px 12px;
  background: #64748B;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 6px;
  margin-bottom: 12px;
}

.fallback-card h5 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 12px;
}

.fallback-card p {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 12px;
}

.fallback-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fallback-card li {
  font-size: 0.8125rem;
  color: #475569;
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.fallback-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10B981;
  font-weight: 700;
}

/* 最终结论 */
.final-conclusion {
  padding: 40px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  border-radius: 16px;
  text-align: center;
  color: white;
}

.final-conclusion h4 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.final-text {
  font-size: 1.125rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

/* 逻辑推导总结 */
.logic-summary {
  margin-top: 40px;
  padding: 32px;
  background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
  border-radius: 16px;
  border: 2px solid #10B981;
}

.logic-summary h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #065F46;
  text-align: center;
  margin-bottom: 32px;
}

.logic-chain {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.chain-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  max-width: 160px;
  text-align: center;
  position: relative;
}

.chain-step p {
  font-size: 0.8125rem;
  color: #475569;
  line-height: 1.4;
  margin: 0;
}

.chain-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 50%;
}

.chain-icon {
  font-size: 1rem;
  color: #10B981;
  font-weight: 700;
}

.chain-final {
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  border: 2px solid #10B981;
}

.chain-final p {
  color: #065F46;
  font-weight: 700;
}

.chain-arrow {
  font-size: 1.25rem;
  color: #10B981;
  font-weight: 700;
  animation: arrowPulseLogic 1.5s ease-in-out infinite;
}

@keyframes arrowPulseLogic {
  0%, 100% { opacity: 0.6; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(4px); }
}

/* 移动端适配 - 逻辑推导方案 */
@media (max-width: 768px) {
  .test-plans-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .test-plan-3 {
    grid-column: auto;
  }

  .logic-summary {
    padding: 24px 20px;
    margin-top: 32px;
  }

  .logic-chain {
    flex-direction: column;
    gap: 12px;
  }

  .chain-step {
    max-width: 100%;
    padding: 16px;
  }

  .chain-arrow {
    transform: rotate(90deg);
  }

  .opening-quote {
    padding: 20px;
  }

  .opening-quote p {
    font-size: 0.9375rem;
    padding-left: 0;
  }

  .circuit-path-section {
    padding: 24px 20px;
  }

  .circuit-flow-diagram {
    gap: 4px;
  }

  .flow-arrow {
    transform: rotate(-90deg);
  }

  .laws-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .flow-scenarios {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .flow-scenario {
    padding: 20px;
  }

  .scenario-protection {
    grid-column: auto;
  }

  .voltage-chain {
    padding: 12px;
  }

  .voltage-chain-path {
    flex-direction: column;
    gap: 8px;
    padding: 12px;
  }

  .voltage-link {
    transform: rotate(90deg);
  }

  .voltage-node {
    padding: 10px 16px;
    width: 100%;
    max-width: 260px;
  }

  .system-boundaries {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .test-plans-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .test-plan-3 {
    grid-column: auto;
  }

  .qa-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .fallback-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .final-conclusion {
    padding: 32px 20px;
  }

  .final-text {
    font-size: 1rem;
  }

  .logic-summary {
    margin-top: 40px;
    padding: 32px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  }

  .logic-chain {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .chain-arrow {
    transform: rotate(90deg);
  }
}

