.case-page {
  background: #f8fafc;
  color: #0f172a;
  min-height: 100vh;
}

.case-hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 90px 28px 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.case-badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.case-hero-left h1 {
  font-size: clamp(46px, 6vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  margin: 0 0 22px;
  color: #0f172a;
  font-weight: 950;
}

.case-hero-left h1 span {
  color: #4f46e5;
}

.case-hero-left p {
  max-width: 540px;
  font-size: 18px;
  line-height: 1.8;
  color: #475569;
  margin: 0 0 28px;
}

.case-trust-row {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #334155;
}

.case-avatar-stack {
  display: flex;
}

.case-avatar-stack span {
  width: 34px;
  height: 34px;
  margin-left: -8px;
  border: 3px solid white;
  border-radius: 999px;
  background: #0f172a;
  color: white;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
}

.case-avatar-stack span:first-child {
  margin-left: 0;
}

.case-hero-card {
  position: relative;
}

.case-dashboard-card {
  position: relative;
  padding: 28px;
  border-radius: 30px;
  background: white;
  border: 1px solid #e5e7eb;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.12);
}

.case-dashboard-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.case-mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.case-mini-stats div {
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #f8fafc;
}

.case-mini-stats small {
  display: block;
  color: #64748b;
  margin-bottom: 8px;
}

.case-mini-stats b {
  display: block;
  font-size: 28px;
  color: #0f172a;
}

.case-mini-stats em {
  color: #16a34a;
  font-style: normal;
  font-weight: 800;
}

.case-chart {
  margin-top: 28px;
  height: 180px;
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, #eef2ff, #ffffff);
}

.case-chart span {
  flex: 1;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #6366f1, #a5b4fc);
}

.case-floating-metric {
  position: absolute;
  left: -34px;
  bottom: 40px;
  padding: 16px 20px;
  border-radius: 20px;
  background: white;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.14);
}

.case-floating-metric strong {
  display: block;
  font-size: 30px;
  color: #4f46e5;
}

.case-list-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 28px 90px;
}

.case-filter-shell {
  display: grid;
  grid-template-columns: 1.4fr 220px 180px auto;
  gap: 16px;
  margin-bottom: 28px;
}

.case-search-box,
.case-filter-shell select,
.case-filter-shell button {
  height: 52px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: white;
  color: #0f172a;
  padding: 0 16px;
  font-weight: 700;
}

.case-search-box {
  display: flex;
  align-items: center;
}

.case-search-box input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: #0f172a;
  font-size: 15px;
}

.case-featured-card {
  display: grid;
  grid-template-columns: 1fr 240px 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 54px;
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(135deg, #ffffff, #eef2ff);
  border: 1px solid #e5e7eb;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
}

.case-featured-content span {
  display: block;
  color: #4f46e5;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.case-featured-content small {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: white;
  color: #475569;
  font-weight: 800;
}

.case-featured-content h2 {
  font-size: 34px;
  line-height: 1.1;
  margin: 0 0 14px;
  letter-spacing: -0.04em;
}

.case-featured-content p {
  color: #475569;
  line-height: 1.7;
}

.case-featured-content a,
.case-card-body a {
  color: #4f46e5;
  font-weight: 900;
  text-decoration: none;
}

.case-featured-metrics {
  display: grid;
  gap: 16px;
  border-left: 1px solid #c7d2fe;
  padding-left: 28px;
}

.case-featured-metrics b {
  display: block;
  font-size: 28px;
  color: #4f46e5;
}

.case-featured-metrics small {
  color: #64748b;
}

.case-featured-image {
  height: 260px;
  border-radius: 24px;
  overflow: hidden;
  background: #0f172a;
}

.case-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-section-head {
  margin-bottom: 24px;
}

.case-section-head h2 {
  font-size: 34px;
  margin: 0 0 8px;
}

.case-section-head p {
  color: #64748b;
  margin: 0;
}

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

.case-card {
  overflow: hidden;
  border-radius: 24px;
  background: white;
  border: 1px solid #e5e7eb;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.case-card-image {
  position: relative;
  height: 210px;
  background: #0f172a;
}

.case-card-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card-brand {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
}

.case-card-brand img,
.case-card-brand span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #4f46e5;
  color: white;
  display: grid;
  place-items: center;
  object-fit: cover;
  font-size: 11px;
  font-weight: 900;
}

.case-card-body {
  padding: 22px;
}

.case-card-body > span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 12px;
  font-weight: 900;
}

.case-card-body h3 {
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 18px;
  letter-spacing: -0.03em;
}

.case-card-metrics {
  display: flex;
  gap: 18px;
  margin-bottom: 20px;
}

.case-card-metrics b {
  color: #0f172a;
  display: block;
}

.case-card-metrics small {
  color: #64748b;
  font-size: 12px;
}

.case-loading {
  grid-column: 1 / -1;
  padding: 40px;
  text-align: center;
  background: white;
  border-radius: 24px;
  color: #64748b;
}

@media (max-width: 900px) {
  .case-hero,
  .case-featured-card,
  .case-grid,
  .case-filter-shell {
    grid-template-columns: 1fr;
  }

  .case-hero {
    padding-top: 60px;
  }

  .case-floating-metric {
    position: static;
    margin-top: 18px;
  }

  .case-featured-metrics {
    border-left: none;
    padding-left: 0;
  }
}
.case-blog-shell {
  background: #f8fafc;
  padding: 34px 24px 80px;
  color: #0f172a;
}

.case-blog-container {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 42px;
}

.case-blog-main {
  min-width: 0;
}

.case-blog-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin: 0 0 28px;
  font-size: 13px;
  color: #64748b;
}

.case-blog-breadcrumb a {
  color: #64748b;
  text-decoration: none;
  font-weight: 700;
}

.case-blog-breadcrumb b {
  color: #0f172a;
}

.case-blog-category {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef2ff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.case-blog-main h1 {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.055em;
  color: #0f172a;
}

.case-blog-excerpt {
  max-width: 780px;
  margin: 0 0 26px;
  font-size: 18px;
  line-height: 1.75;
  color: #475569;
}

.case-blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  color: #64748b;
  font-size: 14px;
  margin-bottom: 30px;
}

.case-blog-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.case-blog-author img,
.case-blog-author span {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #2563eb;
  color: white;
  display: grid;
  place-items: center;
  object-fit: cover;
  font-size: 12px;
  font-weight: 900;
}

.case-blog-author strong,
.case-blog-author small {
  display: block;
}

.case-blog-author strong {
  color: #0f172a;
}

.case-blog-cover {
  height: 390px;
  border-radius: 18px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
  margin-bottom: 24px;
}

.case-blog-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-blog-toc {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 20px;
  margin-bottom: 24px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.05);
  overflow-x: auto;
}

.case-blog-toc strong {
  white-space: nowrap;
}

.case-blog-toc a {
  white-space: nowrap;
  color: #2563eb;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.case-blog-content-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 34px;
  margin-bottom: 22px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.045);
}

.case-blog-content-card h2 {
  font-size: 30px;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
  color: #0f172a;
}

.case-blog-content-card h3 {
  font-size: 23px;
  letter-spacing: -0.035em;
  margin: 28px 0 10px;
  color: #0f172a;
}

.case-blog-content-card p {
  font-size: 16px;
  line-height: 1.9;
  color: #334155;
  margin: 0 0 16px;
}

.case-inline-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.case-inline-metrics div {
  padding: 18px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #dbeafe;
}

.case-inline-metrics b {
  display: block;
  font-size: 28px;
  color: #2563eb;
}

.case-inline-metrics span {
  color: #64748b;
  font-weight: 700;
}

.case-blog-quote {
  padding: 28px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ecfdf5, #eff6ff);
  border: 1px solid #bfdbfe;
  margin-bottom: 24px;
}

.case-blog-quote p {
  font-size: 19px;
  line-height: 1.8;
  color: #0f172a;
  font-weight: 700;
}

.case-blog-quote strong,
.case-blog-quote span {
  display: block;
}

.case-blog-quote span {
  color: #64748b;
}

.case-blog-sidebar {
  display: grid;
  gap: 22px;
  align-self: start;
  position: sticky;
  top: 92px;
}

.case-sidebar-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.case-sidebar-card h3 {
  margin: 0 0 18px;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.case-sidebar-card p {
  color: #475569;
  line-height: 1.75;
}

.case-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.case-sidebar-brand img,
.case-sidebar-brand span {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #2563eb;
  color: white;
  display: grid;
  place-items: center;
  object-fit: cover;
  font-weight: 900;
}

.case-sidebar-brand strong,
.case-sidebar-brand small {
  display: block;
}

.case-sidebar-brand small {
  color: #64748b;
}

.case-sidebar-result {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid #eef2f7;
}

.case-sidebar-result span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #eef2ff;
  color: #2563eb;
}

.case-sidebar-result b,
.case-sidebar-result small {
  display: block;
}

.case-sidebar-result b {
  font-size: 22px;
  color: #2563eb;
}

.case-sidebar-result small {
  color: #64748b;
}

.case-subscribe-card {
  background: linear-gradient(135deg, #ffffff, #eef2ff);
}

.case-subscribe-card a {
  display: inline-flex;
  margin-top: 12px;
  padding: 13px 16px;
  border-radius: 12px;
  background: #0f172a;
  color: white;
  text-decoration: none;
  font-weight: 900;
}

@media (max-width: 900px) {
  .case-blog-container {
    grid-template-columns: 1fr;
  }

  .case-blog-sidebar {
    position: static;
  }

  .case-blog-cover {
    height: 260px;
  }

  .case-inline-metrics {
    grid-template-columns: 1fr;
  }
}
