/* ============================================================
   BLINK BEYOND — CASE STUDIES & DETAIL PAGE STYLESHEET
   ============================================================ */

/* ── Main Layout ── */
.cs-page-wrapper {
  min-height: 100vh;
  background: #06060c;
  color: #ffffff;
  padding-top: clamp(24px, 4vh, 48px);
  padding-bottom: 80px;
}

.cs-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header Banner ── */
.cs-header-banner {
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 24px;
}

.cs-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 30px;
  background: rgba(61, 61, 255, 0.12);
  border: 1px solid rgba(61, 61, 255, 0.3);
  color: #3D3DFF;
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cs-header-title {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 10px;
}

.cs-header-desc {
  font-family: var(--font-body, sans-serif);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 680px;
  line-height: 1.5;
}

/* ── Split Layout: Left Menu + Right Grid ── */
.cs-main-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  align-items: start;
}

/* ── Left Sidebar Menu (4 Core Sections) ── */
.cs-sidebar {
  position: sticky;
  top: 110px;
  background: #0d0e18;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.cs-sidebar-title {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-left: 12px;
}

.cs-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.cs-nav-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
}

.cs-nav-btn .cs-nav-icon {
  font-size: 16px;
  opacity: 0.7;
  transition: transform 0.25s ease;
}

.cs-nav-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.1);
}

.cs-nav-btn:hover .cs-nav-icon {
  transform: translateX(3px);
  opacity: 1;
}

.cs-nav-btn.active {
  background: rgba(61, 61, 255, 0.15);
  border-color: rgba(61, 61, 255, 0.4);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(61, 61, 255, 0.2);
}

.cs-nav-btn.active .cs-nav-icon {
  color: #3D3DFF;
  opacity: 1;
}

/* ── Right Content Area ── */
.cs-content-area {
  min-width: 0;
}

/* Category Filter Bar */
.cs-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.cs-filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cs-pill {
  padding: 8px 18px;
  border-radius: 30px;
  background: #0f101c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cs-pill:hover,
.cs-pill.active {
  background: #3D3DFF;
  border-color: #3D3DFF;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(61, 61, 255, 0.4);
}

.cs-count-tag {
  font-family: var(--font-body, sans-serif);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ── UIverse Style Cards Grid ── */
.cs-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

/* Individual UIverse-style Card */
.uiverse-card {
  background: linear-gradient(145deg, #0d0f1b 0%, #070810 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.uiverse-card:hover {
  transform: translateY(-6px);
  border-color: rgba(61, 61, 255, 0.5);
  box-shadow: 0 16px 36px rgba(61, 61, 255, 0.25), 0 12px 24px rgba(0, 0, 0, 0.5);
}

/* ── Web Dev Card Browser Bar ── */
.webdev-card-browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: rgba(10, 12, 22, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  z-index: 3;
}

.webdev-browser-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.webdev-browser-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.webdev-browser-dot.red {
  background: #ff5f56;
}

.webdev-browser-dot.yellow {
  background: #ffbd2e;
}

.webdev-browser-dot.green {
  background: #27c93f;
}

.webdev-browser-url {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.5px;
}

/* ── Web Dev Card Preview Container ── */
.webdev-card-preview {
  min-height: 160px;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  overflow: hidden;
}

.webdev-card-preview-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.uiverse-card:hover .webdev-card-preview-bg {
  transform: scale(1.08);
  opacity: 0.4;
}

.webdev-client-meta {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  width: fit-content;
  z-index: 2;
}

.webdev-impact-badge {
  display: none !important;
}

/* ── Web Dev Card Body ── */
.webdev-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.webdev-industry-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #00d2ff;
  margin-bottom: 6px;
}

.webdev-metrics-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px 0;
}

.webdev-metric-chip {
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.webdev-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.webdev-tech-pill {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(61, 61, 255, 0.12);
  border: 1px solid rgba(61, 61, 255, 0.25);
  padding: 3px 9px;
  border-radius: 4px;
}

.webdev-live-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.webdev-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00ffaa;
  box-shadow: 0 0 8px #00ffaa;
  display: inline-block;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.3);
    opacity: 0.5;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.uiverse-card-preview {
  height: 180px;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 20px;
  overflow: hidden;
}

.uiverse-card-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.uiverse-card:hover .uiverse-card-preview::before {
  transform: scale(1.08);
  opacity: 0.55;
}

.uiverse-badge {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(10, 10, 20, 0.75);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: fit-content;
  z-index: 2;
}

.uiverse-stat-pill {
  font-family: var(--font-body, sans-serif);
  font-size: 12px;
  font-weight: 700;
  color: #00ffaa;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 170, 0.3);
  width: fit-content;
  z-index: 2;
  align-self: flex-end;
}

.uiverse-card-body {
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.uiverse-card-title {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1.22;
  margin-bottom: 8px;
  transition: color 0.25s ease;
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.uiverse-card:hover .uiverse-card-title {
  color: #3D3DFF;
}

.uiverse-card-desc {
  font-family: var(--font-body, sans-serif);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.45;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.uiverse-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.uiverse-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.uiverse-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #3D3DFF;
  text-transform: uppercase;
  transition: transform 0.25s ease;
}

.uiverse-card:hover .uiverse-view-btn {
  transform: translateX(4px);
  color: #ffffff;
}

/* ── INSTAGRAM GRID SHOWCASE (Authentic Dark Mode) ── */
.insta-profile-card {
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 4px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.insta-profile-header {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
}

.insta-avatar-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  flex-shrink: 0;
}

.insta-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #000;
  border: 3px solid #121212;
}

.insta-profile-info {
  flex: 1;
  min-width: 260px;
}

.insta-handle-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.insta-handle {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #f5f5f5;
  letter-spacing: 0;
}

.insta-verified {
  display: inline-flex;
  align-items: center;
}

.insta-cta-btn {
  padding: 7px 18px;
  border-radius: 8px;
  background: #0095f6;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.insta-cta-btn:hover {
  opacity: 0.85;
}

.insta-msg-btn {
  padding: 7px 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #f5f5f5;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.insta-msg-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.insta-bio {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

/* Instagram Tabs */
.insta-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 20px;
  padding-top: 0;
}

.insta-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border-top: 1px solid transparent;
  margin-top: -1px;
  transition: color 0.2s ease;
}

.insta-tab.active {
  color: #f5f5f5;
  border-top-color: #f5f5f5;
}

.insta-tab:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* 3-Column Instagram Reel Grid */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.insta-post-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: #080912;
  transition: opacity 0.2s ease;
}

.insta-post-card:hover {
  opacity: 0.85;
}

.insta-reel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.insta-play-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.insta-post-overlay {
  display: none !important;
}

.insta-overlay-stats {
  display: none !important;
}

.insta-overlay-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 700;
  font-size: 15px;
}

/* Instagram Lightbox Modal */
.insta-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.insta-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.insta-modal-box {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  max-width: 960px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 400px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.9);
  max-height: 88vh;
  position: relative;
}

@media (max-width: 768px) {
  .insta-modal-box {
    grid-template-columns: 1fr;
    max-height: 92vh;
    overflow-y: auto;
  }
}

.insta-modal-media {
  background: #000;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}

.insta-modal-details {
  background: #000000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Modal Header */
.insta-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.insta-modal-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.insta-modal-user-line {
  display: flex;
  align-items: center;
  gap: 6px;
}

.insta-modal-username {
  font-size: 14px;
  font-weight: 600;
  color: #f5f5f5;
}

.insta-modal-dot {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.insta-modal-follow {
  font-size: 14px;
  font-weight: 600;
  color: #0095f6;
  text-decoration: none;
  transition: opacity 0.2s;
}

.insta-modal-follow:hover {
  color: #ffffff;
}

.insta-modal-audio-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

.insta-modal-dots {
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  letter-spacing: 2px;
  font-size: 14px;
}

/* Comments & Caption Scroll Area */
.insta-modal-comments-area {
  padding: 16px;
  flex: 1;
  overflow-y: auto;
  min-height: 140px;
}

.insta-modal-caption-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.insta-modal-caption-content {
  font-size: 13.5px;
  line-height: 1.45;
  color: #f5f5f5;
}

.insta-modal-username-inline {
  font-weight: 600;
  color: #ffffff;
  margin-right: 6px;
}

.insta-modal-caption-text {
  color: rgba(255, 255, 255, 0.9);
  word-break: break-word;
}

.insta-modal-timestamp {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 10px;
  letter-spacing: 0.2px;
}

/* Action Icons Bar */
.insta-modal-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.insta-action-icons-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.insta-action-btn {
  background: none;
  border: none;
  color: #f5f5f5;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, color 0.15s ease;
}

.insta-action-btn:hover {
  transform: scale(1.1);
  color: #ff3040;
}

/* Metrics */
.insta-modal-metrics {
  padding: 0 16px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.insta-likes-count {
  font-size: 14px;
  font-weight: 600;
  color: #f5f5f5;
}

.insta-views-count {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

/* Comment Input Row */
.insta-modal-input-row {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  gap: 10px;
}

.insta-comment-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #f5f5f5;
  font-size: 13.5px;
  outline: none;
}

.insta-comment-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.insta-comment-submit {
  background: none;
  border: none;
  color: #0095f6;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  opacity: 0.6;
}

.insta-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.insta-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ── CASE STUDY DETAIL PAGE STYLES ── */
.cs-detail-hero {
  padding: 40px 0 30px;
}

.cs-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 24px;
}

.cs-breadcrumb a {
  color: #3D3DFF;
  text-decoration: none;
}

.cs-detail-title {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: clamp(34px, 4.5vw, 62px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.08;
  margin-bottom: 14px;
}

.cs-detail-tagline {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 30px;
  max-width: 800px;
  line-height: 1.5;
}

/* Key Metrics Stats Bar */
.cs-detail-stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.cs-detail-stat-card {
  background: linear-gradient(145deg, #0e1120 0%, #070812 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.cs-stat-number {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 28px;
  font-weight: 800;
  color: #00ffaa;
  margin-bottom: 4px;
}

.cs-stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Live Deployed Project Button */
.cs-live-btn-wrap {
  margin-bottom: 40px;
}

.cs-live-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  border-radius: 50px;
  background: #3D3DFF;
  color: #ffffff;
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 0 30px rgba(61, 61, 255, 0.5), 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cs-live-btn:hover {
  background: #2a2aff;
  box-shadow: 0 0 45px rgba(61, 61, 255, 0.8), 0 14px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(-3px);
}

.cs-live-btn .btn-icon {
  font-size: 18px;
}

/* Big Showcase Image Frame */
.cs-showcase-frame {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #0d0f1a;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  margin-bottom: 50px;
  position: relative;
}

.cs-browser-header {
  height: 40px;
  background: #141624;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}

.cs-browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.cs-browser-dot.red {
  background: #ff5f56;
}

.cs-browser-dot.yellow {
  background: #ffbd2e;
}

.cs-browser-dot.green {
  background: #27c93f;
}

.cs-browser-url {
  margin-left: 12px;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 16px;
  border-radius: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cs-showcase-image-box {
  width: 100%;
  min-height: 400px;
  max-height: 550px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

/* Narrative Sections Grid */
.cs-story-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.cs-story-box {
  background: #0d0e1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
}

.cs-story-num {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 12px;
  font-weight: 700;
  color: #3D3DFF;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.cs-story-heading {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cs-story-p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
}

.cs-feature-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cs-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.85);
}

.cs-feature-item::before {
  content: '✦';
  color: #3D3DFF;
  font-size: 12px;
  margin-top: 2px;
}

/* Tech Stack Badge List */
.cs-tech-pill-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.cs-tech-pill {
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

/* ── Mobile Responsive Rules for Case Studies ── */
@media (max-width: 900px) {
  .cs-container {
    padding: 0 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .cs-main-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .cs-content-area {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .cs-sidebar {
    position: static;
    top: auto;
    padding: 12px 14px;
    border-radius: 14px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .cs-nav-list {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .cs-nav-list::-webkit-scrollbar {
    display: none;
  }

  .cs-nav-btn {
    white-space: nowrap;
    padding: 9px 14px;
    font-size: 12px;
    border-radius: 8px;
    flex-shrink: 0;
  }

  .insta-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .cs-cards-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .uiverse-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border-radius: 14px !important;
    margin: 0 auto !important;
  }

  .webdev-card-browser-bar {
    padding: 8px 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }

  .webdev-browser-url {
    font-size: 9.5px !important;
    max-width: 140px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .webdev-card-preview {
    min-height: 120px !important;
    padding: 12px 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }

  .webdev-client-meta {
    font-size: 9.5px !important;
    padding: 3px 8px !important;
    max-width: 85% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .webdev-impact-badge {
    font-size: 11px !important;
    padding: 4px 10px !important;
    max-width: 90% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .webdev-card-body {
    padding: 14px 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .webdev-industry-tag {
    font-size: 10px !important;
  }

  .uiverse-card-title {
    font-size: clamp(15px, 4.2vw, 18px) !important;
    line-height: 1.25 !important;
    margin-bottom: 6px !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    hyphens: auto !important;
    max-width: 100% !important;
  }

  .uiverse-card-desc {
    font-size: 12px !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }

  .webdev-metrics-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    margin: 8px 0 10px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .webdev-metric-chip {
    font-size: 10px !important;
    padding: 3px 8px !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }

  .webdev-tech-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    margin-bottom: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .webdev-tech-pill {
    font-size: 9.5px !important;
    padding: 2.5px 7px !important;
    max-width: 100% !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    box-sizing: border-box !important;
  }

  .uiverse-card-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    padding-top: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .webdev-live-status {
    font-size: 9.5px !important;
  }

  .uiverse-view-btn {
    font-size: 10.5px !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
  }

  .cs-detail-hero {
    padding: 16px 0 20px !important;
  }

  .cs-detail-top-nav {
    margin-bottom: 16px !important;
    gap: 8px !important;
  }

  .cs-detail-top-nav>a {
    padding: 8px 14px !important;
    font-size: 11.5px !important;
  }

  .cs-detail-top-nav>div {
    padding: 5px 10px !important;
    font-size: 10.5px !important;
  }

  .cs-breadcrumb {
    font-size: 11px !important;
    gap: 5px !important;
    margin-bottom: 16px !important;
    flex-wrap: wrap !important;
    line-height: 1.4 !important;
  }

  .cs-detail-title {
    font-size: clamp(22px, 6.5vw, 32px) !important;
    line-height: 1.18 !important;
    margin-bottom: 10px !important;
    letter-spacing: 0.5px !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }

  .cs-detail-tagline {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    margin-bottom: 20px !important;
    color: rgba(255, 255, 255, 0.85) !important;
  }

  /* Stats Bar */
  .cs-detail-stats-bar {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-bottom: 24px !important;
  }

  .cs-detail-stat-card {
    padding: 14px 16px !important;
    border-radius: 12px !important;
  }

  .cs-stat-number {
    font-size: clamp(24px, 7vw, 32px) !important;
    margin-bottom: 2px !important;
  }

  .cs-stat-label {
    font-size: 10.5px !important;
  }

  /* Live buttons wrap */
  .cs-live-btn-wrap {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin-bottom: 28px !important;
  }

  .cs-live-btn-wrap>a,
  .cs-live-btn-wrap>div {
    width: 100% !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  .cs-live-btn {
    padding: 12px 20px !important;
    font-size: 13px !important;
    letter-spacing: 1px !important;
  }

  .cs-live-btn-wrap .btn-secondary {
    padding: 12px 20px !important;
    font-size: 12px !important;
  }

  /* Browser Showcase Frame */
  .cs-showcase-frame {
    border-radius: 14px !important;
    margin-bottom: 30px !important;
  }

  .cs-browser-header {
    height: auto !important;
    min-height: 42px !important;
    padding: 8px 12px !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .cs-browser-url {
    font-size: 10px !important;
    padding: 3px 10px !important;
    width: auto !important;
    max-width: 140px !important;
    margin-left: 0 !important;
  }

  .cs-browser-header>div:last-child {
    margin-left: auto !important;
    gap: 4px !important;
  }

  .cs-browser-header button {
    font-size: 10px !important;
    padding: 3px 8px !important;
  }

  .cs-showcase-image-box {
    min-height: 250px !important;
    padding: 20px 12px !important;
  }

  .cs-showcase-image-box>div {
    padding: 20px 14px !important;
    border-radius: 14px !important;
  }

  .cs-showcase-image-box h2 {
    font-size: clamp(20px, 5.5vw, 28px) !important;
  }

  .cs-showcase-image-box p {
    font-size: 13px !important;
    margin-bottom: 16px !important;
  }

  #tabContentIframe {
    height: 360px !important;
  }

  /* Story Grid Narrative */
  .cs-story-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-bottom: 36px !important;
  }

  .cs-story-box {
    padding: 18px 14px !important;
    border-radius: 14px !important;
    margin-bottom: 16px !important;
    position: static !important;
    /* disable sticky sidebar on mobile */
  }

  .cs-story-num {
    font-size: 11px !important;
    letter-spacing: 1.5px !important;
    margin-bottom: 6px !important;
  }

  .cs-story-heading {
    font-size: clamp(18px, 5vw, 22px) !important;
    margin-bottom: 12px !important;
    line-height: 1.25 !important;
    word-break: break-word !important;
  }

  .cs-story-p {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.82) !important;
  }

  .cs-workflow-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .cs-deliverables-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .cs-deliverables-grid>div {
    padding: 12px !important;
    gap: 10px !important;
  }

  .cs-tech-pill-wrap {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  .cs-tech-pill {
    font-size: 10.5px !important;
    padding: 4px 10px !important;
  }

  .cs-prev-next-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .cs-bottom-nav-ctas {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    padding-top: 20px !important;
    margin-top: 28px !important;
  }

  .service-case-study-btn {
    width: 100% !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    text-align: center !important;
    font-size: 11.5px !important;
    padding: 12px 16px !important;
  }

  .insta-modal-box {
    grid-template-columns: 1fr;
    max-height: 90vh;
  }

  .insta-modal-media {
    min-height: 260px;
  }
}

.cs-floating-back-btn:hover {
  background: rgba(32, 32, 50, 0.95) !important;
  border-color: rgba(99, 102, 241, 0.6) !important;
  color: #ffffff !important;
  transform: translateX(-3px);
  box-shadow: 0 10px 30px rgba(61, 61, 255, 0.35) !important;
}

@media (max-width: 600px) {
  .cs-container {
    padding: 0 12px !important;
  }

  .cs-header-title {
    font-size: clamp(24px, 7.5vw, 34px) !important;
  }

  .cs-header-desc {
    font-size: 13px !important;
  }

  .insta-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .insta-profile-card {
    padding: 14px !important;
  }

  .insta-avatar-wrap {
    width: 60px !important;
    height: 60px !important;
  }

  .insta-handle {
    font-size: 16px !important;
  }

  .insta-cta-btn {
    font-size: 10.5px !important;
    padding: 5px 10px !important;
  }

  .cs-floating-back-btn span {
    font-size: 11px;
  }
}

/* ═══════════════════════════════════════════════════════════
   DEMO IMAGE AT START, KEY FOCUS & CASE STUDY QUICK PREVIEW MODAL
   ═══════════════════════════════════════════════════════════ */

/* Card Demo Image */
.webdev-card-preview {
  min-height: 180px;
  position: relative;
  overflow: hidden;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.webdev-card-demo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.uiverse-card:hover .webdev-card-demo-img {
  transform: scale(1.07);
}

.webdev-card-preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 15, 0.25) 0%, rgba(5, 7, 15, 0.85) 100%);
  z-index: 2;
  transition: opacity 0.3s ease;
}

.uiverse-card:hover .webdev-card-preview-overlay {
  background: linear-gradient(180deg, rgba(5, 7, 15, 0.15) 0%, rgba(5, 7, 15, 0.75) 100%);
}

.webdev-card-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  z-index: 3;
}

.cs-preview-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cs-preview-trigger-btn:hover {
  background: #3D3DFF;
  border-color: #3D3DFF;
  transform: scale(1.05);
}

.webdev-browser-cat {
  font-size: 9.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 7px;
  border-radius: 4px;
}

.uiverse-card-tagline {
  font-size: 12.5px;
  font-weight: 600;
  color: #00d2ff;
  margin-bottom: 8px;
  line-height: 1.35;
}

/* Key Focus Tag Pills */
.webdev-focus-wrap {
  margin: 12px 0 14px 0;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
}

.webdev-focus-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.webdev-focus-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.webdev-focus-pill {
  font-size: 10.5px;
  font-weight: 600;
  color: #e0e7ff;
  background: rgba(61, 61, 255, 0.16);
  border: 1px solid rgba(61, 61, 255, 0.32);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.2px;
}

/* Card Actions */
.uiverse-preview-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  letter-spacing: 0.8px;
  padding: 7px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.uiverse-preview-btn:hover {
  background: #3D3DFF;
  border-color: #3D3DFF;
  box-shadow: 0 0 15px rgba(61, 61, 255, 0.5);
  transform: translateY(-1px);
}

/* ── CASE STUDY QUICK PREVIEW MODAL STYLING ── */
.cs-preview-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cs-preview-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cs-preview-modal {
  background: #090b14;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  max-width: 1040px;
  width: 100%;
  max-height: 88vh;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.9), 0 0 40px rgba(61, 61, 255, 0.2);
  display: flex;
  flex-direction: column;
  position: relative;
  animation: csModalIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes csModalIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(16px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.cs-preview-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.cs-preview-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.cs-preview-browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(14, 17, 30, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cs-preview-browser-url {
  font-family: monospace;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.6);
  flex: 1;
}

.cs-preview-badge {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #00ffaa;
  background: rgba(0, 255, 170, 0.12);
  border: 1px solid rgba(0, 255, 170, 0.3);
  padding: 3px 10px;
  border-radius: 12px;
}

.cs-preview-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  overflow-y: auto;
  flex: 1;
}

@media (max-width: 860px) {
  .cs-preview-grid {
    grid-template-columns: 1fr;
  }
}

.cs-preview-media-col {
  padding: 24px;
  background: #05070e;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cs-preview-image-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  background: #000;
  aspect-ratio: 16 / 9.5;
}

.cs-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.cs-preview-img-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 255, 170, 0.4);
  color: #00ffaa;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 14px;
}

.cs-preview-metrics-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cs-preview-stat-card {
  background: rgba(61, 61, 255, 0.1);
  border: 1px solid rgba(61, 61, 255, 0.25);
  padding: 8px 14px;
  border-radius: 8px;
}

.cs-preview-stat-val {
  font-size: 12px;
  font-weight: 700;
  color: #00ffaa;
  letter-spacing: 0.3px;
}

.cs-preview-info-col {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}

.cs-preview-client-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cs-preview-client {
  color: #00d2ff;
}

.cs-preview-dot {
  color: rgba(255, 255, 255, 0.3);
}

.cs-preview-title {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.15;
  text-transform: uppercase;
}

.cs-preview-tagline {
  font-size: 14px;
  font-weight: 600;
  color: #00d2ff;
  margin: 0;
  line-height: 1.4;
}

.cs-preview-desc-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px 16px;
}

.cs-preview-desc-box p {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.cs-preview-section-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.cs-preview-focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cs-preview-focus-pill {
  font-size: 11.5px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(61, 61, 255, 0.25), rgba(61, 61, 255, 0.1));
  border: 1px solid rgba(61, 61, 255, 0.45);
  padding: 5px 12px;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(61, 61, 255, 0.15);
}

.cs-preview-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cs-preview-tech-pill {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 10px;
  border-radius: 4px;
}

.cs-preview-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.cs-preview-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #3D3DFF;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 800;
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(61, 61, 255, 0.5);
  transition: all 0.2s ease;
}

.cs-preview-btn-primary:hover {
  background: #2a2aff;
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(61, 61, 255, 0.7);
}

.cs-preview-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cs-preview-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
}
/* Hide views badge and count from reels */
.insta-play-badge,
.insta-views-count {
  display: none !important;
}

/* ── Locked Glassmorphism Effect for Web Development ── */
.cs-cards-grid-wrapper {
  position: relative;
  width: 100%;
}

.cs-cards-grid-wrapper--locked {
  position: relative;
  min-height: 520px;
}

.cs-cards-grid--blurred {
  filter: blur(10px) saturate(130%) brightness(0.7);
  pointer-events: none;
  user-select: none;
  opacity: 0.65;
  transition: all 0.4s ease;
}

.cs-lock-pill-tag {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  background: rgba(61, 61, 255, 0.18) !important;
  border: 1px solid rgba(61, 61, 255, 0.45) !important;
  color: #8fe7ff !important;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.8px;
  padding: 6px 14px;
  border-radius: 100px;
}

.cs-locked-glass-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  padding: 24px;
  pointer-events: auto;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 40%, rgba(61, 61, 255, 0.12) 0%, rgba(5, 7, 18, 0.5) 100%);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.cs-locked-glass-card {
  position: relative;
  max-width: 500px;
  width: 100%;
  padding: 44px 36px;
  text-align: center;
  border-radius: 24px;
  background: rgba(12, 16, 32, 0.75);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 50px rgba(61, 61, 255, 0.25);
  overflow: hidden;
  animation: glassCardFloat 6s ease-in-out infinite alternate;
}

@keyframes glassCardFloat {
  0% { transform: translateY(0px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(61, 61, 255, 0.2); }
  100% { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), 0 0 60px rgba(61, 61, 255, 0.35); }
}

.cs-lock-glow-ring {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(61, 61, 255, 0.35) 0%, rgba(0, 210, 255, 0.1) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cs-lock-icon-wrap {
  width: 68px;
  height: 68px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(61, 61, 255, 0.25) 0%, rgba(0, 210, 255, 0.15) 100%);
  border: 1.5px solid rgba(0, 210, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00d2ff;
  box-shadow: 0 0 25px rgba(0, 210, 255, 0.35), inset 0 0 15px rgba(61, 61, 255, 0.3);
}

.cs-lock-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(61, 61, 255, 0.15);
  border: 1px solid rgba(61, 61, 255, 0.35);
  color: #00d2ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cs-lock-title {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.cs-lock-desc {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  margin-bottom: 28px;
}

.cs-lock-desc strong {
  color: #00d2ff;
}

.cs-lock-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
