.expert__cases {
    padding: 5rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.cases-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}
.section-title::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #4299e1;
    border-radius: 2px;
}
.section-subtitle {
    font-size: 1.2rem;
    color: #4a5568;
    max-width: 700px;
    margin: 2rem auto 0;
    line-height: 1.7;
}
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}
.case-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #edf2f7;
    transform: translateY(20px);
    opacity: 0;
    will-change: transform, opacity;
}
.case-card.visible {
    transform: translateY(0);
    opacity: 1;
}
.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(66, 153, 225, 0.15);
}
.case-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #4299e1;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 6px rgba(66, 153, 225, 0.2);
}
.case-badge i {
    font-size: 0.9rem;
}
.case-icon {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ebf4ff, #d6e6ff);
    position: relative;
    overflow: hidden;
}
.case-icon i {
    font-size: 3.5rem;
    color: #3182ce;
    position: relative;
    z-index: 2;
}
.case-content {
    padding: 1.8rem;
}
.case-category {
    display: inline-block;
    background: #ebf8ff;
    color: #3182ce;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}
.case-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2d3748;
    position: relative;
    padding-bottom: 0.8rem;
}
.case-name::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #4299e1;
    border-radius: 2px;
}
.case-desc {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}
.case-stats {
    display: flex;
    margin-bottom: 1.5rem;
    flex-direction: row;
}
.stat-item {
    display: flex;
    flex-direction: column;
    min-width: 80px;
}
.stat-label {
    font-size: 0.85rem;
    color: #718096;
    margin-top: 0.3rem;
}
.case-result {
    background: #f0f9ff;
    border-left: 3px solid #4299e1;
    padding: 1.2rem;
    border-radius: 0 8px 8px 0;
    margin-top: 1.2rem;
}
.result-title {
    font-weight: 600;
    color: #3182ce;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}
.result-desc {
    color: #4a5568;
    line-height: 1.6;
}
.light-accent {
    position: absolute;
    z-index: 0;
    opacity: 0.08;
    pointer-events: none;
}
.light-accent.circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 15px solid #4299e1;
    top: 5%;
    left: 5%;
}
.light-accent.triangle {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #63b3ed;
    bottom: 10%;
    right: 5%;
}
@media (max-width: 1200px) {
  .expert__cases {
    padding: 4rem 1rem;
  }
  .case-name {
    font-size: 1.4rem;
  }
  .section-subtitle {
    font-size: 1.1rem;
  }
}
@media (max-width: 992px) {
  .cases-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  .case-icon i {
    font-size: 3rem;
  }
  .case-content {
    padding: 1.5rem;
  }
  .case-name {
    font-size: 1.3rem;
  }
}
@media (max-width: 768px) {
  .expert__cases {
    padding: 3rem 1rem;
  }
  .cases-header {
    margin-bottom: 3rem;
  }
  .section-title::after {
    width: 60px;
    height: 3px;
  }
  .section-subtitle {
    font-size: 1rem;
    margin: 1.5rem auto 0;
  }
  .case-icon {
    height: 120px;
  }
  .case-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }
  .result-title {
    font-size: 1rem;
  }
}
@media (max-width: 576px) {
  .expert__cases {
    padding: 2.5rem 0.8rem;
  }
  .case-card {
    border-radius: 12px;
  }
  .cases-grid {
    padding: 1vh;
  }
  .case-content {
    padding: 1.2rem;
  }
  .case-name {
    font-size: 1.2rem;
  }
  .case-desc {
    font-size: 1rem;
  }
  .case-badge {
    top: 12px;
    right: 12px;
  }
  .light-accent.circle {
    width: 200px;
    height: 200px;
    border-width: 10px;
  }
  .light-accent.triangle {
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #63b3ed;
  }
}
