/* ── Case Study Layout ── */
.cs-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.cs-section {
  padding: 80px 0;
}

/* ── Background grid ── */
.cs-bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

.cs-glow-top {
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(176, 38, 255, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Glow line separator ── */
.cs-glow-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pink), var(--purple), var(--cyan), transparent);
  opacity: 0.3;
  position: relative;
  z-index: 1;
}

/* ── Nav override for case study page ── */
.cs-nav-back {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.2s, letter-spacing 0.2s;
}
.cs-nav-back:hover {
  color: var(--pink);
  letter-spacing: 3px;
}

/* ── Hero ── */
.cs-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 80px;
  position: relative;
}

.cs-hero-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 6px 20px;
  border-radius: 30px;
  margin-bottom: 28px;
  background: rgba(0, 240, 255, 0.04);
}

.cs-hero-title {
  font-family: var(--mono);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: 6px;
  background: linear-gradient(135deg, var(--pink), var(--purple), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cs-hero-sub {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.cs-hero-tagline {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--text-gray);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 300;
}

.cs-hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.cs-btn-primary {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 28px;
  background: linear-gradient(270deg, var(--pink), var(--purple));
  color: #fff;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  transition: box-shadow 0.3s, transform 0.2s;
}
.cs-btn-primary:hover {
  box-shadow: 0 0 24px rgba(255, 45, 149, 0.4);
  transform: translateY(-2px);
}

.cs-btn-outline {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 28px;
  background: transparent;
  color: var(--cyan);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 6px;
  text-decoration: none;
  transition: box-shadow 0.3s, transform 0.2s, border-color 0.2s;
}
.cs-btn-outline:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
  transform: translateY(-2px);
}

.cs-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: csFloat 2.5s ease-in-out infinite;
}

.cs-scroll-hint span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dimmer);
}

.cs-scroll-arrow {
  width: 16px;
  height: 16px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  opacity: 0.4;
}

@keyframes csFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── Section header ── */
.cs-section-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}
.cs-section-tag::before {
  content: '> ';
  color: var(--text-muted);
}

.cs-section-title {
  font-family: var(--mono);
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 700;
  letter-spacing: 2px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.cs-section-desc {
  color: var(--text-gray);
  font-size: 15px;
  max-width: 680px;
  font-weight: 300;
  line-height: 1.7;
}

/* ── Overview ── */
.cs-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 40px;
  align-items: start;
}

.cs-overview-text p {
  color: var(--text-gray);
  margin-bottom: 16px;
  font-weight: 300;
  line-height: 1.8;
  font-size: 15px;
}

.cs-overview-text strong { color: #fff; font-weight: 600; }

.cs-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cs-meta-card {
  background: var(--card-bg);
  border: 1px solid rgba(0, 240, 255, 0.1);
  border-radius: 8px;
  padding: 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cs-meta-card:hover {
  border-color: rgba(0, 240, 255, 0.25);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.08);
}

.cs-meta-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.cs-meta-value {
  font-size: 14px;
  font-weight: 600;
}
.cs-meta-value.c-cyan   { color: var(--cyan); }
.cs-meta-value.c-pink   { color: var(--pink); }
.cs-meta-value.c-purple { color: var(--purple); }

/* ── Stats ── */
.cs-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.cs-stat-box {
  text-align: center;
  background: var(--card-bg);
  border: 1px solid rgba(0, 240, 255, 0.1);
  border-radius: 8px;
  padding: 28px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cs-stat-box:hover {
  border-color: rgba(0, 240, 255, 0.25);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.08);
}

.cs-stat-number {
  font-family: var(--mono);
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
  margin-bottom: 8px;
}
.cs-stat-number.c-pink   { color: var(--pink);   text-shadow: 0 0 20px rgba(255,45,149,0.4); }
.cs-stat-number.c-cyan   { color: var(--cyan);   text-shadow: 0 0 20px rgba(0,240,255,0.4); }
.cs-stat-number.c-purple { color: var(--purple); text-shadow: 0 0 20px rgba(176,38,255,0.4); }
.cs-stat-number.c-mix    { background: linear-gradient(135deg,var(--pink),var(--purple)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }

.cs-stat-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Timeline ── */
.cs-timeline {
  position: relative;
  margin-top: 48px;
  padding-left: 40px;
}

.cs-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--purple), var(--pink), transparent);
}

.cs-timeline-item {
  position: relative;
  margin-bottom: 48px;
  padding-left: 24px;
}

.cs-timeline-item::before {
  content: '';
  position: absolute;
  left: -49px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  background: var(--bg-dark);
  z-index: 2;
  transition: background 0.3s, box-shadow 0.3s;
}
.cs-timeline-item:nth-child(2)::before { border-color: var(--purple); }
.cs-timeline-item:nth-child(3)::before { border-color: var(--pink); }
.cs-timeline-item:nth-child(4)::before { border-color: var(--cyan); }
.cs-timeline-item:nth-child(5)::before { border-color: var(--purple); }

.cs-timeline-item:hover::before { background: var(--cyan); box-shadow: 0 0 12px rgba(0,240,255,0.5); }
.cs-timeline-item:nth-child(2):hover::before { background: var(--purple); box-shadow: 0 0 12px rgba(176,38,255,0.5); }
.cs-timeline-item:nth-child(3):hover::before { background: var(--pink); box-shadow: 0 0 12px rgba(255,45,149,0.5); }

.cs-timeline-phase {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 4px;
}
.cs-timeline-item:nth-child(2) .cs-timeline-phase { color: var(--purple); }
.cs-timeline-item:nth-child(3) .cs-timeline-phase { color: var(--pink); }
.cs-timeline-item:nth-child(5) .cs-timeline-phase { color: var(--purple); }

.cs-timeline-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.cs-timeline-desc {
  color: var(--text-gray);
  font-weight: 300;
  line-height: 1.8;
  font-size: 14px;
}
.cs-timeline-desc strong { color: #e2e8f0; font-weight: 600; }

/* ── Terminal block ── */
.cs-terminal {
  background: var(--card-bg2);
  border: 1px solid rgba(0, 240, 255, 0.12);
  border-radius: 8px;
  padding: 24px 28px;
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 2;
  overflow-x: auto;
}

.cs-terminal .prompt { color: var(--pink); font-weight: 700; }
.cs-terminal .cmd    { color: var(--text-gray); }
.cs-terminal .out    { color: var(--text-muted); padding-left: 16px; }
.cs-terminal .hi-c   { color: var(--cyan); }
.cs-terminal .hi-p   { color: var(--pink); }
.cs-terminal .hi-m   { color: var(--purple); }

/* ── Stack grid ── */
.cs-stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.cs-stack-card {
  background: var(--card-bg);
  border: 1px solid rgba(0, 240, 255, 0.1);
  border-radius: 8px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.cs-stack-card:hover {
  border-color: rgba(0, 240, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 240, 255, 0.08);
}

.cs-stack-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}
.cs-stack-card.a-pink::before   { background: linear-gradient(90deg, var(--pink), var(--purple)); }
.cs-stack-card.a-cyan::before   { background: linear-gradient(90deg, var(--cyan), #2979ff); }
.cs-stack-card.a-purple::before { background: linear-gradient(90deg, var(--purple), var(--pink)); }

.cs-stack-header {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.cs-stack-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.cs-stack-desc {
  font-size: 13px;
  color: var(--text-gray);
  font-weight: 300;
  line-height: 1.7;
}

.cs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.cs-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  border: 1px solid;
}
.cs-tag.t-cyan   { color: var(--cyan);   border-color: rgba(0,240,255,0.3);   background: rgba(0,240,255,0.06); }
.cs-tag.t-pink   { color: var(--pink);   border-color: rgba(255,45,149,0.3);  background: rgba(255,45,149,0.06); }
.cs-tag.t-purple { color: var(--purple); border-color: rgba(176,38,255,0.3);  background: rgba(176,38,255,0.06); }

/* ── Challenges grid ── */
.cs-challenges-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.cs-challenge-card {
  background: var(--card-bg);
  border: 1px solid rgba(0, 240, 255, 0.1);
  border-radius: 8px;
  padding: 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cs-challenge-card:hover {
  border-color: rgba(0, 240, 255, 0.25);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.07);
}

.cs-challenge-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.cs-challenge-icon svg { width: 20px; height: 20px; }
.cs-challenge-icon.icon-problem  { background: rgba(255,45,149,0.1);  color: var(--pink); }
.cs-challenge-icon.icon-solution { background: rgba(0,240,255,0.1);   color: var(--cyan); }

.cs-challenge-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.cs-challenge-label.problem { color: var(--pink); }
.cs-challenge-label.solution { color: var(--cyan); }

.cs-challenge-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.cs-challenge-desc {
  font-size: 13px;
  color: var(--text-gray);
  font-weight: 300;
  line-height: 1.7;
}

/* ── Features grid ── */
.cs-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.cs-feature-card {
  background: var(--card-bg);
  border: 1px solid rgba(0, 240, 255, 0.1);
  border-radius: 8px;
  padding: 24px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.cs-feature-card:hover {
  border-color: rgba(0, 240, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 240, 255, 0.07);
}

.cs-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(176,38,255,0.1);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.cs-feature-icon svg { width: 22px; height: 22px; }
.cs-feature-icon.ic-cyan   { background: rgba(0,240,255,0.1);   color: var(--cyan); }
.cs-feature-icon.ic-pink   { background: rgba(255,45,149,0.1);  color: var(--pink); }
.cs-feature-icon.ic-purple { background: rgba(176,38,255,0.1);  color: var(--purple); }
.cs-feature-title { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.cs-feature-desc  { font-size: 13px; color: var(--text-gray); font-weight: 300; line-height: 1.7; }

/* ── Learnings two-col ── */
.cs-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.cs-col-block {
  background: var(--card-bg);
  border: 1px solid rgba(0, 240, 255, 0.1);
  border-radius: 8px;
  padding: 32px;
}

.cs-col-title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cs-col-title.t-cyan { color: var(--cyan); }
.cs-col-title.t-pink { color: var(--pink); }

.cs-col-list { list-style: none; }
.cs-col-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 14px;
  color: var(--text-gray);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
}
.cs-col-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.cs-col-list.cyan-dots li::before  { background: var(--cyan);  box-shadow: 0 0 6px rgba(0,240,255,0.4); }
.cs-col-list.pink-dots li::before  { background: var(--pink);  box-shadow: 0 0 6px rgba(255,45,149,0.4); }

/* ── Gallery ── */
.cs-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
  margin-top: 40px;
}

.cs-gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 240, 255, 0.12);
  cursor: pointer;
  background: var(--card-bg);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.cs-gallery-item.cs-gallery-wide {
  grid-column: span 2;
}

.cs-gallery-item:hover {
  border-color: rgba(0, 240, 255, 0.35);
  box-shadow: 0 8px 32px rgba(0, 240, 255, 0.1);
  transform: translateY(-2px);
}

.cs-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}

.cs-gallery-item:hover img {
  transform: scale(1.04);
}

/* Placeholder when image is missing */
.cs-gallery-item.cs-placeholder {
  background: var(--card-bg2);
}
.cs-gallery-item.cs-placeholder img {
  display: none;
}
.cs-gallery-item.cs-placeholder::before {
  content: 'Screenshot à venir';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.cs-gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0);
  transition: background 0.3s, color 0.3s;
}

.cs-gallery-item:hover .cs-gallery-overlay {
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255,255,255,0.9);
}

.cs-gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.8);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cs-gallery-item:hover .cs-gallery-caption {
  transform: translateY(0);
}

/* ── Lightbox ── */
.cs-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  animation: lbIn 0.2s ease;
}

.cs-lightbox.active {
  display: flex;
}

@keyframes lbIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.cs-lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cs-lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  border: 1px solid rgba(0, 240, 255, 0.2);
  box-shadow: 0 0 60px rgba(0, 240, 255, 0.1);
  animation: lbImgIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes lbImgIn {
  from { transform: scale(0.92); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

#cs-lightbox-caption {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-align: center;
}

.cs-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: #fff;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.cs-lightbox-close:hover { background: rgba(255,255,255,0.16); }

.cs-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: #fff;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.cs-lightbox-nav:hover { background: rgba(255,255,255,0.16); }
.cs-lightbox-nav.prev { left: 20px; }
.cs-lightbox-nav.next { right: 20px; }

@media (max-width: 900px) {
  .cs-gallery { grid-template-columns: 1fr 1fr; }
  .cs-gallery-item.cs-gallery-wide { grid-column: span 2; }
}

@media (max-width: 600px) {
  .cs-gallery { grid-template-columns: 1fr; }
  .cs-gallery-item.cs-gallery-wide { grid-column: span 1; }
  .cs-lightbox-nav { display: none; }
}

/* ── Fade in animation ── */
.cs-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cs-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Footer ── */
.cs-footer {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid rgba(0, 240, 255, 0.08);
  position: relative;
  z-index: 1;
}

.cs-footer-text {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-dimmer);
}

.cs-footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 12px;
}

.cs-footer-links a {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.cs-footer-links a:hover { color: var(--cyan); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .cs-overview-grid,
  .cs-challenges-grid,
  .cs-two-col { grid-template-columns: 1fr; }
  .cs-features-grid { grid-template-columns: 1fr 1fr; }
  .cs-stats-row { grid-template-columns: 1fr 1fr; }
}

/* ── Pricing ── */
.cs-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 40px;
}

.cs-pricing-card {
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.3s;
}

.cs-pricing-card.tier-cyan  { border-color: rgba(0,240,255,0.2); }
.cs-pricing-card.tier-purple { border-color: rgba(176,38,255,0.2); }
.cs-pricing-card.tier-pink  { border-color: rgba(255,45,149,0.2); }

.cs-pricing-card.tier-cyan:hover  { box-shadow: 0 8px 40px rgba(0,240,255,0.12); }
.cs-pricing-card.tier-purple:hover { box-shadow: 0 8px 40px rgba(176,38,255,0.12); }
.cs-pricing-card.tier-pink:hover  { box-shadow: 0 8px 40px rgba(255,45,149,0.15); }

.cs-pricing-card.featured {
  border-color: rgba(255,45,149,0.4);
}

.cs-pricing-featured-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #0a0010;
  background: var(--pink);
  text-align: center;
  padding: 5px 0;
}

.cs-pricing-card:not(.featured)::before {
  content: '';
  display: block;
  height: 26px; /* matches .cs-pricing-featured-label height */
}

.cs-pricing-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.cs-pricing-badge {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 3px 10px;
  border-radius: 4px;
}
.badge-cyan   { color: var(--cyan);   background: rgba(0,240,255,0.1);   border: 1px solid rgba(0,240,255,0.3); }
.badge-purple { color: var(--purple); background: rgba(176,38,255,0.1);  border: 1px solid rgba(176,38,255,0.3); }
.badge-pink   { color: var(--pink);   background: rgba(255,45,149,0.1);  border: 1px solid rgba(255,45,149,0.3); }

.cs-pricing-price {
  margin-top: 16px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.cs-pricing-amount {
  font-family: var(--mono);
  font-size: 36px;
  font-weight: 700;
  color: #fff;
}
.cs-pricing-period {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-muted);
}

.cs-pricing-promise {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--text-gray);
  margin-top: 8px;
  font-style: italic;
  line-height: 1.4;
}

.cs-pricing-features {
  list-style: none;
  padding: 20px 24px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.cs-pricing-features li {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--text-gray);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.cs-pi {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.cs-pi.cyan   { color: var(--cyan); }
.cs-pi.purple { color: var(--purple); }
.cs-pi.pink   { color: var(--pink); }
.cs-pi.muted  { color: rgba(255,255,255,0.2); }

.cs-pricing-extra {
  font-family: var(--mono);
  font-size: 10px !important;
  color: rgba(255,255,255,0.3) !important;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 10px;
  margin-top: 4px;
}

.cs-pricing-foot {
  padding: 12px 24px 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.cs-pricing-frais {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.5px;
}

.cs-pricing-note {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 24px;
  padding: 14px 18px;
  border-left: 2px solid rgba(176,38,255,0.4);
  background: rgba(176,38,255,0.05);
  border-radius: 0 6px 6px 0;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .cs-pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 600px) {
  .cs-features-grid,
  .cs-meta-grid { grid-template-columns: 1fr; }
  .cs-stats-row { grid-template-columns: 1fr 1fr; }
  .cs-section { padding: 48px 0; }
  .cs-timeline { padding-left: 24px; }
  .cs-timeline-item::before { left: -33px; }
}