#profit-model {
  position: relative;
  overflow: hidden;
}

.pm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pm-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--card-border);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.pm-card.highlighted {
  border: 1px solid var(--blue);
  box-shadow: 0 4px 32px rgba(26, 58, 143, .15);
}

.pm-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  color: var(--text);
  margin-bottom: 28px;
}

.pm-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.pm-item:last-child { margin-bottom: 0; }

.pm-icon {
  flex-shrink: 0;
  margin-top: 2px;
  width: 22px;
  height: 22px;
}

.pm-icon--negative circle { fill: #dc2626; }
.pm-icon--positive circle { fill: #22c55e; }

.pm-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
}

.pm-item p {
  font-size: .875rem;
  color: var(--text-sub);
  line-height: 1.55;
}

/* ── DARK MODE ──────────────────────────────────────── */
[data-theme="dark"] #profit-model::before,
[data-theme="dark"] #profit-model::after {
  content: '';
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
}

[data-theme="dark"] #profit-model::before {
  left: 8%;
  top: 15%;
  width: 48%;
  height: 55%;
  background: radial-gradient(circle, rgba(26, 82, 219, 0.1) 0%, transparent 68%);
}

[data-theme="dark"] #profit-model::after {
  right: 6%;
  bottom: 8%;
  width: 42%;
  height: 50%;
  background: radial-gradient(circle, rgba(75, 47, 111, 0.12) 0%, transparent 70%);
}

[data-theme="dark"] #profit-model > .container {
  position: relative;
  z-index: 1;
}

[data-theme="dark"] #profit-model .section-heading h2 {
  color: #ffffff;
}

[data-theme="dark"] #profit-model .section-heading h2 .blue {
  color: var(--blue);
}

[data-theme="dark"] #profit-model .section-heading p {
  color: var(--text-sub);
}

[data-theme="dark"] #profit-model .pm-card {
  background: rgba(24, 24, 28, 0.88);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

[data-theme="dark"] #profit-model .pm-card.highlighted {
  border-color: var(--blue);
  background: rgba(26, 26, 32, 0.94);
  box-shadow:
    0 4px 36px rgba(0, 51, 160, 0.28),
    inset 0 1px 0 rgba(120, 175, 255, 0.08);
}

[data-theme="dark"] #profit-model .pm-card h3 {
  color: #ffffff;
  font-weight: 700;
}

[data-theme="dark"] #profit-model .pm-item h4 {
  color: #f1f5f9;
}

[data-theme="dark"] #profit-model .pm-icon--negative circle {
  fill: #ef4444;
}

[data-theme="dark"] #profit-model .pm-icon--positive circle {
  fill: #22c55e;
}

/* ── ANIMATIONS ─────────────────────────────────────── */
#profit-model .section-heading,
#profit-model .pm-card,
#profit-model .pm-item {
  opacity: 0;
}

#profit-model.pm-visible .section-heading {
  animation: pm-fade-down 0.6s ease forwards;
}

#profit-model.pm-visible .pm-card:nth-child(1) {
  animation: pm-slide-left 0.65s ease 0.15s forwards;
}
#profit-model.pm-visible .pm-card:nth-child(2) {
  animation: pm-slide-right 0.65s ease 0.15s forwards;
}

#profit-model.pm-visible .pm-card:nth-child(1) .pm-item:nth-child(2) { animation: pm-fade-up 0.45s ease 0.4s  forwards; }
#profit-model.pm-visible .pm-card:nth-child(1) .pm-item:nth-child(3) { animation: pm-fade-up 0.45s ease 0.55s forwards; }
#profit-model.pm-visible .pm-card:nth-child(1) .pm-item:nth-child(4) { animation: pm-fade-up 0.45s ease 0.7s  forwards; }
#profit-model.pm-visible .pm-card:nth-child(1) .pm-item:nth-child(5) { animation: pm-fade-up 0.45s ease 0.85s forwards; }
#profit-model.pm-visible .pm-card:nth-child(2) .pm-item:nth-child(2) { animation: pm-fade-up 0.45s ease 0.4s  forwards; }
#profit-model.pm-visible .pm-card:nth-child(2) .pm-item:nth-child(3) { animation: pm-fade-up 0.45s ease 0.55s forwards; }
#profit-model.pm-visible .pm-card:nth-child(2) .pm-item:nth-child(4) { animation: pm-fade-up 0.45s ease 0.7s  forwards; }
#profit-model.pm-visible .pm-card:nth-child(2) .pm-item:nth-child(5) { animation: pm-fade-up 0.45s ease 0.85s forwards; }

@keyframes pm-fade-down {
  from { opacity: 0; transform: translateY(-24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pm-slide-left {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes pm-slide-right {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes pm-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  #profit-model .section-heading,
  #profit-model .pm-card,
  #profit-model .pm-item {
    opacity: 1;
    animation: none !important;
    transform: none !important;
  }
}

@media (max-width: 1024px) {
  .pm-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 768px) {
  .pm-card { padding: 20px; }
  .pm-card h3 { font-size: 1.25rem; margin-bottom: 20px; }
  .pm-item { gap: 12px; margin-bottom: 16px; }
  .pm-item h4 { font-size: .9375rem; }
  .pm-item p { font-size: .8125rem; }
}
