/* ── CASE STUDY 01 ───────────────────────────────────────── */

/* ── SHARED ──────────────────────────────────────────────── */
.glass-cs {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 18px;
}

.cs-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.cs-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.cs-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}

.cs-section {
  position: relative;
  z-index: 10;
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.cs-section-header {
  max-width: 680px;
  margin-bottom: 56px;
}

.cs-section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.cs-section-heading {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.cs-section-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 580px;
  font-style: italic;
}

/* ── HERO ────────────────────────────────────────────────── */
.cs-hero {
  position: relative;
  z-index: 10;
  padding: 120px 0 80px;
}

.cs-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cs-hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cs-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(79,127,255,0.1);
  border: 1px solid rgba(79,127,255,0.25);
  border-radius: 100px;
  padding: 4px 12px;
}
.cs-tag--muted {
  color: var(--text-faint);
  background: rgba(255,255,255,0.04);
  border-color: var(--border);
}

.cs-divider-dot {
  color: var(--text-faint);
  font-size: 18px;
}

/* Hero headline */
.cs-headline {
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: fadeUp 0.9s cubic-bezier(0.22,1,0.36,1) both;
}

.cs-result-number {
  font-size: clamp(56px, 9vw, 110px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, #8ab4ff 0%, #a78bfa 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cs-result-desc {
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text-primary);
}

.cs-hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 560px;
  animation: fadeUp 0.9s cubic-bezier(0.22,1,0.36,1) 0.1s both;
}

/* ── COMPARISON SLIDER ───────────────────────────────────── */
.cs-slider-wrap {
  margin-top: 8px;
}

.cs-container {
  position: relative;
  width: 100%;
  height: 560px;
  border-radius: 18px;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 80px rgba(0,0,0,0.4);
}

/* Sides */
.cs-after-side,
.cs-before-side {
  position: absolute;
  inset: 0;
}

.cs-before-side {
  clip-path: inset(0 50% 0 0);
}

/* Labels */
.cs-side-label {
  position: absolute;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 7px 14px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cs-side-label--after {
  right: 18px;
  background: rgba(79,127,255,0.18);
  border: 1px solid rgba(79,127,255,0.35);
  color: #8ab4ff;
}

.cs-side-label--before {
  left: 18px;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
}

/* Drag divider */
.cs-drag-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255,255,255,0.9);
  transform: translateX(-50%);
  z-index: 20;
  pointer-events: none;
}

.cs-drag-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
  pointer-events: all;
  cursor: ew-resize;
}

.cs-slider-hint {
  text-align: center;
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 12px;
  letter-spacing: 0.06em;
}

/* ── AFTER SCREEN MOCK ───────────────────────────────────── */
.cs-screen--after {
  width: 100%;
  height: 100%;
  background: #060610;
  display: flex;
  flex-direction: column;
}

.css-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  flex-shrink: 0;
}

.css-nav--dark {
  background: rgba(6,6,16,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.css-logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

.css-nav-links {
  display: flex;
  gap: 14px;
  flex: 1;
}
.css-nav-links span {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.12);
}
.css-nav-links span:nth-child(1) { width: 52px; }
.css-nav-links span:nth-child(2) { width: 60px; }
.css-nav-links span:nth-child(3) { width: 48px; }
.css-nav-links span:nth-child(4) { width: 56px; }

.css-btn {
  height: 28px;
  border-radius: 7px;
  flex-shrink: 0;
}
.css-btn--glow {
  width: 90px;
  background: rgba(79,127,255,0.25);
  border: 1px solid rgba(79,127,255,0.5);
  box-shadow: 0 0 14px rgba(79,127,255,0.25);
}

/* After hero */
.css-hero--dark {
  flex: 1;
  background: linear-gradient(160deg, #0a0a20 0%, #060614 60%, #06060e 100%);
  padding: 28px 20px 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.css-hero-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(79,127,255,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.css-eyebrow {
  width: 80px;
  height: 7px;
  border-radius: 4px;
  background: rgba(79,127,255,0.5);
}

.css-h1 {
  height: 14px;
  border-radius: 7px;
  background: rgba(255,255,255,0.75);
  width: 80%;
}
.css-h1--short { width: 55%; background: rgba(255,255,255,0.55); }

.css-hero-sub {
  width: 65%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.2);
  margin-top: 4px;
}

.css-btn--white {
  width: 100px;
  background: #fff;
  margin-top: 8px;
}

.css-hero-product {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 38%;
  height: 85%;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(79,127,255,0.15) 0%, rgba(100,80,200,0.1) 100%);
  border: 1px solid rgba(79,127,255,0.2);
}

/* After product grid */
.css-grid--dark {
  display: flex;
  gap: 8px;
  padding: 12px 20px;
  flex-shrink: 0;
}

.css-card--dark {
  flex: 1;
  height: 70px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.css-card--featured {
  background: rgba(79,127,255,0.1);
  border-color: rgba(79,127,255,0.25);
}

/* ── BEFORE SCREEN MOCK ──────────────────────────────────── */
.cs-screen--before {
  width: 100%;
  height: 100%;
  background: #f2f2f4;
  display: flex;
  flex-direction: column;
  filter: grayscale(0.75) brightness(0.92);
}

.css-nav--light {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
}
.css-logo-mark--dark { background: #ddd; }
.css-nav-links--dark span { background: rgba(0,0,0,0.15); }
.css-btn--generic {
  width: 85px;
  background: #1a73e8;
  opacity: 0.7;
}

/* Before hero */
.css-hero--light {
  flex: 1;
  background: #f8f8f8;
  display: flex;
  padding: 12px;
  gap: 10px;
  overflow: hidden;
}

.css-hero-img-block {
  width: 45%;
  background: #ddd;
  border-radius: 6px;
  flex-shrink: 0;
}

.css-hero-text-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.css-h1--dark { background: rgba(0,0,0,0.6); }
.css-hero-sub--dark { background: rgba(0,0,0,0.2); }

.css-btn--shopify {
  width: 90px;
  height: 28px;
  border-radius: 5px;
  background: #1a73e8;
}

/* Before product grid */
.css-grid--light {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 12px;
  flex-shrink: 0;
}
.css-card--light {
  width: calc(50% - 3px);
  height: 50px;
  border-radius: 6px;
  background: #e0e0e0;
  border: 1px solid #ccc;
}

/* ── GALLERY OF MISTAKES ─────────────────────────────────── */
.cs-before-section {
  background: linear-gradient(to bottom, var(--bg) 0%, rgba(30,6,6,0.18) 50%, var(--bg) 100%);
}

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

.mistake-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mistake-screen {
  position: relative;
  background: #f0f0f2;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  filter: grayscale(0.7) brightness(0.88);
  border: 1px solid rgba(255,255,255,0.06);
}

.mistake-screen--mobile {
  aspect-ratio: 2/3;
}

/* Mock browser bar */
.mock-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  background: #e8e8ea;
  flex-shrink: 0;
}
.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
}
.mock-url {
  font-family: 'Inter', sans-serif;
  font-size: 8px;
  color: #888;
  margin-left: 4px;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Loading state */
.mock-body--loading {
  padding: 10px;
}
.mock-load-bar {
  height: 3px;
  background: #ddd;
  border-radius: 2px;
  margin-bottom: 10px;
}
.mock-load-fill {
  height: 100%;
  background: #1a73e8;
  border-radius: 2px;
}
.mock-skeleton {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.skel {
  background: #e0e0e2;
  border-radius: 4px;
  animation: skelPulse 1.5s ease-in-out infinite;
}
.skel--nav  { height: 20px; }
.skel--hero { height: 55px; }
.skel-row   { display: flex; gap: 6px; }
.skel--card { flex: 1; height: 40px; }

@keyframes skelPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.55; }
}

/* Generic UI body */
.mock-body--generic {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f5f5f5;
}
.generic-nav { display: flex; gap: 8px; }
.g-line { height: 8px; background: #ddd; border-radius: 4px; }
.g-line--short { width: 40px; }
.g-line--mid   { width: 80px; }
.generic-ctas { display: flex; flex-direction: column; gap: 7px; }
.g-btn {
  height: 24px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 8px;
  font-weight: 600;
}
.g-btn--blue    { background: #1a73e8; color: white; }
.g-btn--outline { border: 1px solid #ccc; background: #fff; color: #333; }
.generic-note {
  font-family: 'Inter', sans-serif;
  font-size: 8px;
  color: #aaa;
  text-align: center;
  font-style: italic;
}

/* Product list mock */
.mock-body--list { padding: 10px; background: #f5f5f5; }
.g-product-row { display: flex; gap: 6px; margin-bottom: 6px; }
.g-product-card {
  flex: 1;
  height: 50px;
  background: #e4e4e6;
  border-radius: 5px;
  border: 1px solid #d8d8da;
}

/* Mobile nightmare */
.mock-bar--mobile {
  padding: 5px 8px;
  background: #e8e8ea;
}
.mock-url--mobile { font-size: 7px; }
.mock-body--mobile-nightmare {
  padding: 6px;
  background: #f5f5f5;
  overflow: hidden;
}
.mn-overflow { position: relative; }
.mn-nav-strip { height: 16px; background: #e0e0e0; border-radius: 3px; margin-bottom: 6px; }
.mn-hero-block { height: 35px; background: #d8d8d8; border-radius: 4px; margin-bottom: 6px; }
.mn-row { display: flex; gap: 5px; }
.mn-card { flex: 1; height: 40px; background: #e4e4e6; border-radius: 4px; }
.mn-card--crop { transform: translateX(15px); opacity: 0.7; }
.mn-overflow-arrow {
  font-family: 'Inter', sans-serif;
  font-size: 7px;
  color: #999;
  text-align: right;
  margin-top: 3px;
  letter-spacing: 0.05em;
}

/* Annotation SVG overlay */
.annotation-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.ann-ring {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawAnnotation 1s ease-out 0.8s forwards;
}
@keyframes drawAnnotation {
  to { stroke-dashoffset: 0; }
}

.mistake-label {
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mistake-label--bad {
  color: #ff5555;
}
.mistake-label--bad::before {
  content: '✗';
  font-size: 12px;
  color: #ff4040;
  font-weight: 700;
}

.mistake-caption {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-faint);
}

/* ── DIAGNOSIS / SCORECARD ───────────────────────────────── */
.scorecard-grid {
  display: flex;
  align-items: center;
  gap: 24px;
}

.scorecard {
  flex: 1;
  padding: 36px 28px;
}

.scorecard--fail { border-color: rgba(255,60,60,0.18); }
.scorecard--pass { border-color: rgba(79,127,255,0.25); box-shadow: 0 0 40px rgba(79,127,255,0.08); }

.scorecard-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.scorecard-label--fail { color: #ff6060; }
.scorecard-label--pass { color: #7fa8ff; }

.score-row {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.score-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.score-ring {
  width: 76px;
  height: 76px;
}

.ring-track {
  stroke: rgba(255,255,255,0.07);
  stroke-width: 8;
  fill: none;
}

.ring-fill {
  stroke-width: 8;
  fill: none;
  stroke-linecap: round;
  transform-origin: 50% 50%;
  transform: rotate(-90deg);
  stroke-dasharray: 251.2; /* 2*pi*40 */
  stroke-dashoffset: 251.2;
}

.score-num {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.score-cat {
  font-size: 10px;
  color: var(--text-faint);
  text-align: center;
  max-width: 64px;
  line-height: 1.3;
}

.scorecard-vs {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-faint);
  letter-spacing: 0.06em;
  flex-shrink: 0;
  padding: 0 4px;
}

/* ── RECONSTRUCTION ──────────────────────────────────────── */
.cs-reconstruction-section {
  overflow: hidden;
}

.recon-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(79,127,255,0.09) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.recon-features {
  display: flex;
  flex-direction: column;
  gap: 80px;
  position: relative;
  z-index: 1;
}

.recon-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.recon-row--reverse { direction: rtl; }
.recon-row--reverse > * { direction: ltr; }

.recon-mock-wrap {
  position: relative;
}

.recon-mock {
  padding: 20px;
  min-height: 280px;
  transition: transform 0.1s linear;
  overflow: hidden;
}

.recon-mock--mobile {
  max-width: 240px;
  margin: 0 auto;
  min-height: 380px;
}

/* Desktop recon mock contents */
.rm-nav {
  height: 28px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  margin-bottom: 16px;
}

.rm-hero {
  background: linear-gradient(160deg, rgba(79,127,255,0.08) 0%, rgba(100,80,200,0.05) 100%);
  border-radius: 12px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.rm-glow {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(79,127,255,0.3) 0%, transparent 70%);
}

.rm-eyebrow-line {
  width: 60px;
  height: 5px;
  border-radius: 3px;
  background: rgba(79,127,255,0.7);
  margin-bottom: 10px;
}

.rm-h1 {
  height: 12px;
  border-radius: 6px;
  background: rgba(255,255,255,0.6);
  width: 75%;
  margin-bottom: 8px;
}
.rm-h1--short { width: 50%; background: rgba(255,255,255,0.4); }

.rm-btns {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.rm-btn {
  height: 24px;
  border-radius: 6px;
}
.rm-btn--white { width: 80px; background: rgba(255,255,255,0.85); }
.rm-btn--outline { width: 70px; background: transparent; border: 1px solid rgba(255,255,255,0.25); }

/* Shopify connect mock */
.rm-shopify-connect {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px 10px;
}

.rmc-box {
  padding: 16px;
  border-radius: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rmc-box--custom {
  background: rgba(79,127,255,0.1);
  border: 1px solid rgba(79,127,255,0.3);
}
.rmc-box--shopify {
  background: rgba(100,195,80,0.07);
  border: 1px solid rgba(100,195,80,0.25);
}

.rmc-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: rgba(138,180,255,0.8);
  letter-spacing: 0.06em;
}
.rmc-label--shopify { color: rgba(100,195,80,0.8); }

.rmc-dots {
  display: flex;
  gap: 4px;
}
.rmc-dots::before,
.rmc-dots::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(79,127,255,0.5);
}
.rmc-shopify-dots {
  display: flex;
  gap: 4px;
}
.rmc-shopify-dots::before,
.rmc-shopify-dots::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(100,195,80,0.5);
}
.rmc-arrows { flex-shrink: 0; }

/* Mobile mock */
.rmm-frame {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.rmm-nav {
  height: 24px;
  background: rgba(255,255,255,0.06);
  border-radius: 5px;
  margin-bottom: 10px;
}
.rmm-hero {
  flex: 1;
  background: linear-gradient(160deg, rgba(79,127,255,0.1) 0%, rgba(60,40,120,0.06) 100%);
  border-radius: 10px;
  padding: 14px;
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;
}
.rmm-glow {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(79,127,255,0.35) 0%, transparent 70%);
}
.rmm-h1 {
  width: 85%;
  height: 10px;
  border-radius: 5px;
  background: rgba(255,255,255,0.65);
  margin-bottom: 6px;
}
.rmm-sub {
  width: 65%;
  height: 7px;
  border-radius: 4px;
  background: rgba(255,255,255,0.25);
  margin-bottom: 12px;
}
.rmm-btn {
  width: 70px;
  height: 20px;
  border-radius: 5px;
  background: rgba(255,255,255,0.8);
}
.rmm-cards {
  display: flex;
  gap: 8px;
}
.rmm-card {
  flex: 1;
  height: 50px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.rmm-card--featured {
  background: rgba(79,127,255,0.12);
  border-color: rgba(79,127,255,0.25);
}

/* Recon text side */
.recon-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  opacity: 0.7;
  margin-bottom: 8px;
}

.recon-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.recon-body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.recon-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.recon-bullets li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}
.recon-bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  opacity: 0.7;
}

/* ── WINS TABLE ──────────────────────────────────────────── */
.wins-table-wrap {
  max-width: 860px;
}

.wins-table {
  overflow: hidden;
}

.wins-row {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.5fr;
  padding: 18px 28px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.wins-row:last-child { border-bottom: none; }
.wins-row--last      { border-bottom: none; }
.wins-row:not(.wins-row--header):hover { background: rgba(255,255,255,0.02); }

.wins-row--header {
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.wins-col {
  font-size: 14px;
}

.wins-col--metric {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--text-muted);
}
.wins-col--metric svg { color: var(--text-faint); flex-shrink: 0; }

.wins-row--header .wins-col--metric { font-weight: 700; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); }
.wins-row--header .wins-col--before { font-weight: 700; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,80,80,0.55); }
.wins-row--header .wins-col--after  { font-weight: 700; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(79,127,255,0.7); }

.wins-value--bad {
  font-size: 18px;
  font-weight: 700;
  color: rgba(255,80,80,0.65);
  letter-spacing: -0.01em;
}

.wins-value--good {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #7fa8ff;
  text-shadow: 0 0 20px rgba(79,127,255,0.4);
}

/* ── TESTIMONIAL ─────────────────────────────────────────── */
.cs-quote-section {
  text-align: center;
}

.cs-testimonial {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.testimonial-quote-mark {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 100px;
  line-height: 0.7;
  color: rgba(79,127,255,0.22);
  font-weight: 700;
  user-select: none;
}

.testimonial-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(19px, 2.5vw, 27px);
  font-weight: 700;
  font-style: italic;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  border: none;
  padding: 0;
  margin: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(79,127,255,0.15);
  border: 1px solid rgba(79,127,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #8ab4ff;
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}
.author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}
.author-title {
  font-size: 12px;
  color: var(--text-faint);
}

/* ── CLOSER ──────────────────────────────────────────────── */
.cs-closer-section {
  text-align: center;
  background: linear-gradient(to bottom, transparent 0%, rgba(79,127,255,0.04) 50%, transparent 100%);
}

.cs-closer-inner {
  max-width: 580px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.cs-closer-heading {
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.cs-closer-sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
}

.cs-closer-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.cs-closer-btn {
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .mistakes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .scorecard-grid {
    flex-direction: column;
    gap: 16px;
  }
  .scorecard-vs { padding: 8px 0; }

  .recon-row {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .recon-row--reverse { direction: ltr; }
}

@media (max-width: 640px) {
  .cs-inner {
    padding: 0 20px;
  }

  .cs-hero-inner { padding: 0 20px; }
  .cs-section { padding: 60px 0; }

  .cs-container { height: 380px; }

  .mistakes-grid { grid-template-columns: 1fr; }

  .score-row { gap: 12px; }
  .score-ring { width: 58px; height: 58px; }

  .wins-row { padding: 14px 16px; }

  .cs-testimonial { gap: 18px; }
  .testimonial-quote-mark { font-size: 70px; }
}
