/* ══════════════ SUCCESS STORY — CHENNAI ══════════════ */

/* Hero */
.case-hero {
  background: var(--surface);
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.case-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 25%, rgba(59, 111, 212, 0.07) 0%, transparent 55%),
    radial-gradient(circle at 15% 85%, rgba(239, 72, 71, 0.05) 0%, transparent 55%);
  pointer-events: none;
}
.case-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}
.case-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  background: var(--gold-light);
  border: 1px solid rgba(239, 72, 71, 0.22);
  padding: 5px 13px;
  border-radius: 20px;
  margin-bottom: 28px;
}
.case-hero-eyebrow-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.5;
}
.case-hero-h1 {
  font-size: clamp(38px, 4.6vw, 60px);
  font-weight: 800;
  letter-spacing: -1.6px;
  color: var(--navy);
  line-height: 1.05;
  margin-bottom: 24px;
  max-width: 800px;
}
.case-hero-h1-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.case-hero-lead {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.65;
  font-weight: 500;
  max-width: 760px;
  margin-bottom: 32px;
}
.case-hero-callouts {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.case-hero-callout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--page-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
}
.case-hero-callout-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.case-hero-callout-dot.green {
  background: #16a34a;
}
.case-hero-callout-dot.gold {
  background: var(--gold);
}

/* Quick-stats strip */
.case-stats {
  background: linear-gradient(135deg, var(--navy) 0%, #122a55 100%);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.case-stats::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
  background-size: 14px 14px;
  opacity: 0.4;
  pointer-events: none;
}
.case-stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.case-stats-cell {
  border-left: 2px solid rgba(239, 72, 71, 0.4);
  padding-left: 18px;
}
.case-stats-cell:first-child {
  border-left-color: var(--gold);
}
.case-stats-num {
  font-family: var(--mono);
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1.2px;
  margin-bottom: 4px;
  line-height: 1.05;
}
.case-stats-num-unit {
  font-size: 18px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: -0.4px;
}
.case-stats-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}

/* Section base */
.case-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.case-section.alt {
  background: var(--page-bg);
}
.case-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(59, 111, 212, 0.18);
  padding: 5px 13px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.case-section-h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 22px;
  max-width: 760px;
}
.case-prose {
  font-size: 15.5px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 18px;
  max-width: 720px;
}
.case-prose:last-child {
  margin-bottom: 0;
}
.case-prose strong {
  color: var(--navy);
  font-weight: 700;
}
.case-prose em {
  font-style: italic;
  color: var(--navy);
}

/* The customer — small profile strip */
.case-customer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.case-customer-stats {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 30px;
  box-shadow: 0 1px 2px rgba(26, 60, 110, 0.04);
}
.case-customer-stats-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-3);
  margin-bottom: 18px;
}
.case-customer-stats-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f0f3f7;
}
.case-customer-stats-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.case-customer-stats-row:first-child {
  padding-top: 0;
}
.case-customer-stats-key {
  font-size: 13px;
  color: var(--text-2);
}
.case-customer-stats-val {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.2px;
}

/* Solution: integrations list */
.case-integrations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 28px 0 36px;
}
.case-integration {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color var(--tr), transform var(--tr);
}
.case-integration:hover {
  border-color: rgba(59, 111, 212, 0.3);
  transform: translateY(-1px);
}
.case-integration-icon {
  width: 32px;
  height: 32px;
  background: var(--accent-soft);
  border: 1px solid rgba(59, 111, 212, 0.14);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.case-integration-body {
  flex: 1;
  min-width: 0;
}
.case-integration-name {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.2px;
  margin-bottom: 3px;
}
.case-integration-desc {
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.5;
}

/* Blipper inset card */
.case-blipper {
  background: linear-gradient(135deg, var(--navy) 0%, #1f4787 100%);
  border-radius: var(--r-lg);
  padding: 36px 36px 32px;
  position: relative;
  overflow: hidden;
  margin: 32px 0;
  box-shadow: 0 12px 40px rgba(26, 60, 110, 0.18);
}
.case-blipper::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1px, transparent 0);
  background-size: 14px 14px;
  opacity: 0.5;
  pointer-events: none;
}
.case-blipper-inner {
  position: relative;
  z-index: 1;
}
.case-blipper-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.case-blipper-icon-tile {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.95);
  flex-shrink: 0;
  position: relative;
}
.case-blipper-icon-tile::after {
  content: "";
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
}
.case-blipper-title-block {
  flex: 1;
  min-width: 0;
}
.case-blipper-tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 4px;
}
.case-blipper-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}
.case-blipper-cert {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  background: rgba(239, 72, 71, 0.16);
  border: 1px solid rgba(239, 72, 71, 0.3);
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #fff;
  flex-shrink: 0;
}
.case-blipper-cert::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.case-blipper-prose {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  margin-bottom: 22px;
  max-width: 720px;
}
.case-blipper-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.case-blipper-feature {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.case-blipper-feature-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: rgba(255, 255, 255, 0.95);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.case-blipper-feature-title::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}
.case-blipper-feature-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.5;
}

/* Measurement framework — params list */
.case-params-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  margin-top: 30px;
}
.case-param-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #e8ecf2;
}
.case-param-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  width: 28px;
  flex-shrink: 0;
  letter-spacing: 1px;
}
.case-param-name {
  font-size: 13.5px;
  color: var(--navy);
  font-weight: 600;
  flex: 1;
}
.case-param-name strong {
  font-weight: 800;
}

/* Result section: emphasis */
.case-result-numbers {
  background: var(--surface);
  border: 1.5px solid var(--gold);
  border-radius: var(--r-lg);
  padding: 36px 40px;
  margin: 36px 0 24px;
  box-shadow:
    0 1px 2px rgba(239, 72, 71, 0.06),
    0 12px 36px rgba(239, 72, 71, 0.1);
  position: relative;
  overflow: hidden;
}
.case-result-numbers::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--accent) 100%);
}
.case-result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.case-result-cell {
  position: relative;
}
.case-result-cell:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -16px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--border);
}
.case-result-num {
  font-family: var(--mono);
  font-size: 44px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 8px;
}
.case-result-num-unit {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: -0.4px;
}
.case-result-label {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.5;
  font-weight: 600;
}

.case-citation {
  margin-top: 18px;
  padding: 12px 16px;
  background: var(--page-bg);
  border-left: 3px solid var(--accent);
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.55;
  font-style: italic;
}
.case-citation strong {
  font-style: normal;
  color: var(--navy);
}

/* Closing */
.case-closing {
  background: linear-gradient(135deg, var(--navy) 0%, #122a55 100%);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
.case-closing::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
  background-size: 14px 14px;
  opacity: 0.5;
  pointer-events: none;
}
.case-closing-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.case-closing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 5px 13px;
  border-radius: 20px;
  margin-bottom: 22px;
}
.case-closing-h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 20px;
}
.case-closing-prose {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 680px;
}
.case-closing-prose strong {
  color: #fff;
  font-weight: 600;
}
.case-closing-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* Responsive */
@media (max-width: 1024px) {
  .case-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .case-customer-grid { grid-template-columns: 1fr; gap: 36px; }
  .case-integrations { grid-template-columns: 1fr; }
  .case-params-grid { grid-template-columns: 1fr; }
  .case-result-grid { grid-template-columns: 1fr; gap: 24px; }
  .case-result-cell:not(:last-child)::after { display: none; }
  .case-result-cell:not(:last-child) { padding-bottom: 24px; border-bottom: 1px solid #f0f3f7; }
  .case-blipper-features { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .case-stats-grid { grid-template-columns: 1fr; }
  .case-blipper { padding: 28px 24px; }
  .case-result-numbers { padding: 28px 24px; }
  .case-closing-cta-row { flex-direction: column; align-items: stretch; }
  .case-closing-cta-row .btn { white-space: normal; text-align: center; justify-content: center; }
}
