/* ==========================================================================
   HOMEPAGE V2 — CSS Custom Properties & Base
   ========================================================================== */

:root {
  --cls-teal: #14A6B5;
  --cls-navy: #0B486B;
  --cls-dark-blue: #0A2438;
  --cls-gradient: linear-gradient(135deg, #0B486B, #14A6B5);
  --cls-pill-bg: rgba(20,166,181,0.12);
  --cls-pill-border: rgba(20,166,181,0.25);
  --cls-card-bg: #f8f9fb;
  --cls-card-border: #e8ecf1;
  --cls-radius: 12px;
  --cls-radius-lg: 14px;
  --cls-radius-xl: 16px;
}

.clshp-section { width: 100%; overflow: hidden; }
.clshp-container { max-width: 1440px; margin: 0 auto; padding: 0 40px; }
.clshp-section-label {
  font-size: 11px; color: var(--cls-teal); letter-spacing: 1.5px;
  font-weight: 600; margin-bottom: 12px; text-transform: uppercase;
}

.clshp-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px;
  background: var(--cls-pill-bg); border: 1px solid var(--cls-pill-border);
  border-radius: 20px; font-size: 11px; color: var(--cls-teal);
  letter-spacing: 0.5px; font-weight: 500;
}

.clshp-btn-primary {
  display: inline-block; padding: 15px 34px; background: var(--cls-gradient);
  color: #fff; font-weight: 700; font-size: 15px; border-radius: var(--cls-radius);
  box-shadow: 0 4px 20px rgba(20,166,181,0.25); text-decoration: none;
  transition: opacity 0.2s, transform 0.1s; border: none; cursor: pointer;
}
.clshp-btn-primary:hover { opacity: 0.9; color: #fff; text-decoration: none; }

.clshp-btn-secondary {
  display: inline-block; padding: 15px 34px;
  border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.85);
  font-weight: 600; font-size: 15px; border-radius: var(--cls-radius);
  text-decoration: none; transition: border-color 0.2s; cursor: pointer;
}
.clshp-btn-secondary:hover { border-color: rgba(255,255,255,0.4); color: #fff; text-decoration: none; }


/* ==========================================================================
   SECTION 1: HERO
   ========================================================================== */

.clshp-hero {
  background: linear-gradient(160deg, #061620 0%, #0B486B 40%, #0A2438 100%);
  position: relative; padding: 140px 0 50px; overflow: hidden;
}
/* Faint city skyline background with gradient wash */
@keyframes clshp-skyline-in {
  from { opacity: 0; }
  to { opacity: 0.2; }
}
.clshp-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(160deg, rgba(6,22,32,0.7) 0%, rgba(11,72,107,0.5) 40%, rgba(10,36,56,0.75) 100%),
    url('https://confirmedlifesafety.com/wp-content/uploads/2019/06/chicago-city-urban-skyline-scaled.jpg') center 70%/cover no-repeat;
  opacity: 0; pointer-events: none;
  animation: clshp-skyline-in 1.5s ease forwards 0.1s;
}
.clshp-hero__grid {
  position: absolute; inset: 0; opacity: 0.03; pointer-events: none;
  background: repeating-linear-gradient(90deg, white 0px, white 1px, transparent 1px, transparent 80px),
              repeating-linear-gradient(0deg, white 0px, white 1px, transparent 1px, transparent 80px);
}
.clshp-hero__split {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 60px;
}
.clshp-hero__content { flex: 1; min-width: 0; }
.clshp-hero__right { flex: 0 0 400px; }
.clshp-hero__title { font-size: 48px; font-weight: 800; line-height: 1.12; color: #fff; margin: 24px 0 22px; }
.clshp-hero__accent {
  background: linear-gradient(135deg, #14A6B5, #1cc4d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.clshp-hero__sub { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,0.55); margin-bottom: 40px; max-width: 520px; }
.clshp-hero__ctas { display: flex; gap: 14px; align-items: center; }
.clshp-hero__glow {
  position: absolute; bottom: -40%; right: -10%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(20,166,181,0.08) 0%, transparent 70%); pointer-events: none;
}

/* Hero — Screenshot mode */
.clshp-hero__screenshot {
  border-radius: var(--cls-radius-xl); overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(20,166,181,0.1);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.clshp-hero__screenshot:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.clshp-hero__screenshot img { width: 100%; height: auto; display: block; }

/* Hero — Form mode */
.clshp-hero__form-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--cls-radius-xl);
  padding: 36px 32px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
}
.clshp-hero__form-card h3 {
  font-size: 20px; font-weight: 700; color: #fff; margin: 0 0 6px;
}
.clshp-hero__form-card > p {
  font-size: 14px; color: rgba(255,255,255,0.45); margin: 0 0 24px; line-height: 1.5;
}
.clshp-hero__form { display: flex; flex-direction: column; gap: 12px; }
.clshp-hero__form input,
.clshp-hero__form select {
  width: 100%; padding: 13px 16px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px; color: #fff; font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
}
.clshp-hero__form input::placeholder { color: rgba(255,255,255,0.35); }
.clshp-hero__form select { color: rgba(255,255,255,0.35); appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='rgba(255,255,255,0.35)' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.clshp-hero__form select option { background: #0A2438; color: #fff; }
.clshp-hero__form select:valid { color: #fff; }
.clshp-hero__form input:focus,
.clshp-hero__form select:focus {
  outline: none; border-color: var(--cls-teal);
  background: rgba(255,255,255,0.1);
}
.clshp-hero__form button {
  width: 100%; padding: 14px;
  background: linear-gradient(135deg, #14A6B5, #0f8a97);
  color: #fff; font-size: 15px; font-weight: 700;
  border: none; border-radius: 10px; cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  font-family: inherit; margin-top: 4px;
}
.clshp-hero__form button:hover { opacity: 0.9; transform: translateY(-1px); }


/* ==========================================================================
   CUSTOM NAV
   ========================================================================== */

.clshp-nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.clshp-nav__inner {
  max-width: 1440px; margin: 0 auto; padding: 16px 40px;
  display: flex; justify-content: space-between; align-items: center;
}
.clshp-nav__brand { text-decoration: none; }
.clshp-nav__logo {
  height: 38px; width: auto;
}
.clshp-nav__logo-text {
  font-weight: 700; font-size: 15px; color: var(--cls-teal); letter-spacing: 0.3px;
}
.clshp-nav__links {
  display: flex; gap: 32px; align-items: center;
}
.clshp-nav__link {
  text-align: center; text-decoration: none; transition: opacity 0.2s;
}
.clshp-nav__link:hover { opacity: 0.8; text-decoration: none; }
.clshp-nav__link-label {
  display: block; font-size: 13px; color: rgba(255,255,255,0.8); font-weight: 600;
}
.clshp-nav-descriptor {
  display: block; font-size: 10px; color: rgba(255,255,255,0.35);
  margin-top: 2px; text-align: center; font-weight: 400;
}
.clshp-nav__pill {
  padding: 9px 18px; border: 1px solid rgba(20,166,181,0.4);
  border-radius: 8px; color: var(--cls-teal); font-weight: 600;
  font-size: 12px; text-decoration: none; transition: background 0.2s;
}
.clshp-nav__pill:hover {
  background: rgba(20,166,181,0.1); color: var(--cls-teal); text-decoration: none;
}

/* Mobile hamburger — checkbox toggle (CSS-only, no JS needed) */
.clshp-nav__toggle {
  display: none; cursor: pointer;
  padding: 12px; flex-direction: column; gap: 5px;
  -webkit-tap-highlight-color: rgba(20,166,181,0.3);
  touch-action: manipulation;
  user-select: none; -webkit-user-select: none;
}
.clshp-nav__toggle span {
  display: block; width: 24px; height: 2px; background: rgba(255,255,255,0.8);
  transition: transform 0.3s, opacity 0.3s;
  pointer-events: none;
}


/* ==========================================================================
   SECTION 2: BUILDING CAROUSEL
   ========================================================================== */

.clshp-carousel {
  position: relative; padding: 70px 0 0;
}
.clshp-carousel::before {
  content: ''; position: absolute; bottom: -50px; left: 0; right: 0; height: calc(100% + 50px);
  background: linear-gradient(to top, rgba(6,22,32,0.95) 0%, transparent 100%);
  pointer-events: none; z-index: 0;
}
.clshp-carousel__header {
  font-size: 11px; color: rgba(255,255,255,0.25); letter-spacing: 1.5px;
  font-weight: 600; text-align: center; margin-bottom: 20px;
}

/* Muted carousel overrides — homepage v2 only */
.clshp-carousel .fps-card {
  flex: 0 0 240px; border-radius: 10px;
}
.clshp-carousel .fps-card:hover {
  transform: none; box-shadow: none;
}
.clshp-carousel .fps-img { height: 160px; }
.clshp-carousel .fps-img img {
  filter: saturate(0.35) brightness(0.6);
  transition: opacity 0.4s ease, filter 0.5s ease, transform 0.6s ease;
}
.clshp-carousel .fps-img img.fps-loaded { opacity: 0.55; }
.clshp-carousel .fps-card:hover .fps-img img {
  filter: saturate(0.7) brightness(0.8);
  transform: none;
}
.clshp-carousel .fps-label {
  color: rgba(255,255,255,0.5); font-size: 11px;
}
.clshp-carousel .fps-overlay {
  padding: 20px 12px 8px;
}


/* ==========================================================================
   SECTION 3: PAIN POINTS
   ========================================================================== */

.clshp-pain { background: #fff; padding: 80px 0; }
.clshp-pain .clshp-container { text-align: center; }
.clshp-pain__title { font-size: 36px; font-weight: 800; color: var(--cls-dark-blue); margin-bottom: 16px; }
.clshp-pain__sub {
  font-size: 16px; color: #666; max-width: 600px;
  margin: 0 auto 50px; line-height: 1.6;
}
.clshp-pain__cards { display: flex; gap: 24px; text-align: left; }
.clshp-pain__card {
  flex: 1; padding: 28px; background: var(--cls-card-bg);
  border-radius: var(--cls-radius-lg); border: 1px solid var(--cls-card-border);
}
.clshp-pain__icon {
  width: 40px; height: 40px; background: rgba(220,50,50,0.1);
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 16px; font-size: 20px;
}
.clshp-pain__card h3 { font-size: 16px; font-weight: 700; color: var(--cls-dark-blue); margin-bottom: 8px; }
.clshp-pain__card p { font-size: 14px; color: #888; line-height: 1.5; margin: 0; }


/* ==========================================================================
   SECTION 4: PLATFORM SCREENSHOTS
   ========================================================================== */

.clshp-screenshots {
  background: linear-gradient(180deg, var(--cls-card-bg) 0%, #fff 100%);
  padding: 80px 0;
}
.clshp-screenshots__header { text-align: center; margin-bottom: 50px; }
.clshp-screenshots__title { font-size: 36px; font-weight: 800; color: var(--cls-dark-blue); margin-bottom: 16px; }
.clshp-screenshots__sub {
  font-size: 16px; color: #666; max-width: 560px;
  margin: 0 auto; line-height: 1.6;
}
.clshp-screenshots__tabs {
  display: flex; justify-content: center; gap: 8px; margin-bottom: 32px;
}
.clshp-screenshots__tab {
  padding: 10px 24px; background: var(--cls-card-border); color: #666;
  border-radius: 10px; font-size: 13px; font-weight: 600;
  border: none; cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.clshp-screenshots__tab.active { background: var(--cls-gradient); color: #fff; }
.clshp-screenshots__frame {
  background: var(--cls-dark-blue); border-radius: var(--cls-radius-xl);
  padding: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.clshp-screenshots__panel {
  background: linear-gradient(135deg, #0d2d4a, #132f48);
  border-radius: 10px; align-items: center;
  justify-content: center; border: 1px solid rgba(20,166,181,0.15);
  display: none; opacity: 0; transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.clshp-screenshots__panel.active {
  display: flex; opacity: 1; transform: translateY(0);
}
.clshp-screenshots__panel img { width: 100%; height: auto; border-radius: 10px; display: block; }
.clshp-screenshots__placeholder { text-align: center; padding: 40px; }
.clshp-screenshots__placeholder-icon { font-size: 48px; display: block; margin-bottom: 12px; opacity: 0.3; }
.clshp-screenshots__placeholder-text { display: block; color: rgba(255,255,255,0.4); font-size: 14px; font-weight: 500; }
.clshp-screenshots__placeholder-hint { display: block; color: rgba(255,255,255,0.25); font-size: 12px; margin-top: 4px; }
.clshp-screenshots__features { display: flex; gap: 32px; margin-top: 32px; }
.clshp-screenshots__feature { flex: 1; display: flex; gap: 12px; align-items: flex-start; }
.clshp-screenshots__feature-icon {
  min-width: 32px; height: 32px; background: var(--cls-pill-bg);
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; color: var(--cls-teal); font-size: 14px; font-weight: 700;
}
.clshp-screenshots__feature strong { font-size: 14px; font-weight: 700; color: var(--cls-dark-blue); display: block; }
.clshp-screenshots__feature p { font-size: 13px; color: #888; margin: 2px 0 0; line-height: 1.4; }


/* ==========================================================================
   SECTION 5: VIDEO
   ========================================================================== */

.clshp-video {
  background: linear-gradient(160deg, #061620 0%, #0B486B 60%, #0A2438 100%);
  padding: 80px 0; position: relative; overflow: hidden;
}
.clshp-video__grid {
  position: absolute; inset: 0; opacity: 0.03; pointer-events: none;
  background: repeating-linear-gradient(90deg, white 0px, white 1px, transparent 1px, transparent 80px),
              repeating-linear-gradient(0deg, white 0px, white 1px, transparent 1px, transparent 80px);
}
.clshp-video__inner { position: relative; z-index: 1; text-align: center; }
.clshp-video__title { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.clshp-video__sub {
  font-size: 16px; color: rgba(255,255,255,0.5); max-width: 500px;
  margin: 0 auto 40px; line-height: 1.6;
}
/* Custom Video Player */
.clshp-video__player {
  position: relative; padding-bottom: 56.25%; height: 0;
  border-radius: var(--cls-radius-xl); overflow: hidden;
  border: 1px solid rgba(20,166,181,0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  background: #000;
}
/* Oversize iframe to crop YouTube's forced overlays (logo, title bar) */
.clshp-video__player iframe {
  position: absolute;
  top: -60px; left: -12px;
  width: calc(100% + 24px); height: calc(100% + 120px);
  border: 0; pointer-events: none;
}
/* Re-enable pointer events on the middle area so controls still work */
.clshp-video__player.playing iframe,
.clshp-video__player.paused iframe { pointer-events: auto; }

/* Gradient masks to cleanly hide any residual YouTube UI at edges */
.clshp-video__player::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 60px;
  background: linear-gradient(to bottom, #000 0%, transparent 100%);
  z-index: 2; pointer-events: none;
  opacity: 1; transition: opacity 0.3s ease;
}
.clshp-video__player::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 50px;
  background: linear-gradient(to top, #000 0%, transparent 100%);
  z-index: 2; pointer-events: none;
  opacity: 1; transition: opacity 0.3s ease;
}
/* Hide gradient masks during playback unless hovering */
.clshp-video__player.playing::before,
.clshp-video__player.playing::after { opacity: 0; }
.clshp-video__player.playing:hover::before,
.clshp-video__player.playing:hover::after { opacity: 1; }

/* Poster / Thumbnail Overlay */
.clshp-video__poster {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: opacity 0.4s ease;
}
.clshp-video__poster img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.clshp-video__poster.hidden { opacity: 0; pointer-events: none; visibility: hidden; transition: opacity 0.4s ease, visibility 0s 0.4s; }

/* Play Button */
.clshp-video__play-btn {
  position: relative; z-index: 1;
  width: 80px; height: 80px;
  background: none; border: none; cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.4));
}
.clshp-video__play-btn:hover { transform: scale(1.1); filter: drop-shadow(0 6px 28px rgba(20,166,181,0.4)); }
.clshp-video__play-btn svg { width: 100%; height: 100%; }

/* Custom Controls Bar */
.clshp-video__controls {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 5;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  opacity: 0; transition: opacity 0.3s ease;
}
.clshp-video__player.playing:hover .clshp-video__controls,
.clshp-video__player.paused .clshp-video__controls { opacity: 1; }

.clshp-video__ctrl-btn {
  background: none; border: none; cursor: pointer;
  width: 28px; height: 28px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.85; transition: opacity 0.2s;
}
.clshp-video__ctrl-btn:hover { opacity: 1; }
.clshp-video__ctrl-btn svg { width: 18px; height: 18px; }

/* Progress Bar */
.clshp-video__progress {
  flex: 1; height: 4px; background: rgba(255,255,255,0.2);
  border-radius: 2px; cursor: pointer; position: relative;
  transition: height 0.15s ease;
}
.clshp-video__progress:hover { height: 6px; }
.clshp-video__progress-fill {
  height: 100%; width: 0%; border-radius: 2px;
  background: var(--cls-teal, #14A6B5);
  transition: width 0.1s linear;
}

/* Time Display */
.clshp-video__time {
  font-size: 12px; color: rgba(255,255,255,0.7);
  font-family: 'Inter', sans-serif; font-variant-numeric: tabular-nums;
  white-space: nowrap; min-width: 80px; text-align: center;
}


/* ==========================================================================
   SECTION 6: STATS BAR
   ========================================================================== */

.clshp-stats {
  background: var(--cls-dark-blue); padding: 50px 0;
  border-top: 1px solid rgba(20,166,181,0.1);
  border-bottom: 1px solid rgba(20,166,181,0.1);
}
.clshp-stats__grid {
  display: flex; justify-content: space-around; align-items: center; text-align: center;
}
.clshp-stats__item { flex: 1; }
.clshp-stats__number {
  font-size: 42px; font-weight: 800; display: block;
  background: linear-gradient(135deg, #14A6B5, #1cc4d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.clshp-stats__label { font-size: 13px; color: rgba(255,255,255,0.45); margin-top: 6px; display: block; }
.clshp-stats__divider { width: 1px; height: 50px; background: rgba(255,255,255,0.08); }


/* ==========================================================================
   SECTION 7: HEATMAP
   ========================================================================== */

.clshp-heatmap { background: #fff; padding: 80px 0; }
.clshp-heatmap__header { text-align: center; margin-bottom: 40px; }
.clshp-heatmap__title { font-size: 36px; font-weight: 800; color: var(--cls-dark-blue); }
.clshp-heatmap__map {
  position: relative;
  border-radius: var(--cls-radius-xl); overflow: hidden;
  border: 1px solid var(--cls-card-border);
}
/* Block all interaction — map is display-only on homepage */
.clshp-heatmap__map::after {
  content: ''; position: absolute; inset: 0; z-index: 10;
  cursor: default;
}
.clshp-heatmap__map #all-addresses-map { border-radius: var(--cls-radius-xl); }


/* ==========================================================================
   SECTION 8: TESTIMONIALS
   ========================================================================== */

.clshp-testimonials { background: var(--cls-card-bg); padding: 80px 0; }
.clshp-testimonials__header { text-align: center; margin-bottom: 50px; }
.clshp-testimonials__title { font-size: 36px; font-weight: 800; color: var(--cls-dark-blue); }
.clshp-testimonials__cards { display: flex; gap: 24px; }
.clshp-testimonials__card {
  flex: 1; background: #fff; padding: 32px;
  border-radius: var(--cls-radius-lg); border: 1px solid var(--cls-card-border);
}
.clshp-testimonials__quote { font-size: 28px; color: var(--cls-teal); margin-bottom: 16px; line-height: 1; }
.clshp-testimonials__text-wrap { margin-bottom: 20px; position: relative; }
.clshp-testimonials__text {
  font-size: 15px; color: #555; line-height: 1.6; margin: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.clshp-testimonials__read-more {
  background: none; border: none; cursor: pointer;
  color: var(--cls-teal); font-size: 13px; font-weight: 600;
  padding: 4px 0 0; display: none;
}
.clshp-testimonials__read-more:hover { text-decoration: underline; }
.clshp-testimonials__text-wrap.clamped .clshp-testimonials__read-more { display: inline-block; }
.clshp-testimonials__author { display: flex; align-items: center; gap: 12px; }
.clshp-testimonials__avatar {
  width: 40px; height: 40px; background: var(--cls-card-border);
  border-radius: 50%; flex-shrink: 0;
}
.clshp-testimonials__avatar-img {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.clshp-testimonials__author strong { font-size: 14px; font-weight: 700; color: var(--cls-dark-blue); display: block; }
.clshp-testimonials__author span { font-size: 12px; color: #888; }
.clshp-testimonials__logos {
  margin-top: 50px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.clshp-testimonials__logos p { color: #aaa; font-size: 13px; margin: 0; text-align: center; }

/* Static logo row (fewer than 5 logos) */
.clshp-logos__static {
  display: flex; align-items: center; justify-content: center;
  gap: 60px; padding: 0 20px; flex-wrap: wrap;
}

/* Infinite scroll logo track */
.clshp-logos__track {
  display: flex; align-items: center; gap: 60px;
  width: max-content;
  animation: clshp-logo-scroll 30s linear infinite;
}
/* Pause scroll on hover so hit areas align with visual position */
.clshp-testimonials__logos:hover .clshp-logos__track {
  animation-play-state: paused;
}
.clshp-logos__item {
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 4px;
}
.clshp-logos__item img {
  max-height: 44px; max-width: 140px; width: auto; height: auto;
  min-width: 60px; min-height: 30px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.6);
  opacity: 0.5;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.clshp-logos__item:hover img {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

@keyframes clshp-logo-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(var(--logo-scroll, -50%)); }
}


/* ==========================================================================
   SECTION 9: MOBILE APP
   ========================================================================== */

.clshp-mobile {
  background: linear-gradient(160deg, #061620 0%, #0B486B 60%, #0A2438 100%);
  padding: 70px 0; position: relative; overflow: hidden;
}
.clshp-mobile__grid {
  position: absolute; inset: 0; opacity: 0.03; pointer-events: none;
  background: repeating-linear-gradient(90deg, white 0px, white 1px, transparent 1px, transparent 80px),
              repeating-linear-gradient(0deg, white 0px, white 1px, transparent 1px, transparent 80px);
}
.clshp-mobile__inner {
  display: flex; align-items: center; gap: 60px; position: relative; z-index: 1;
}
.clshp-mobile__copy { flex: 0 0 auto; max-width: 420px; }
.clshp-mobile__gallery {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 16px;
}
.clshp-mobile__phone { flex-shrink: 0; }
.clshp-mobile__phone--offset { transform: translateY(24px); }
.clshp-mobile__phone--offset:nth-child(3) { transform: translateY(-16px); }
.clshp-mobile__phone--offset:nth-child(4) { transform: translateY(32px); }
.clshp-mobile__phone-frame {
  width: 180px; height: 360px; background: #1a2d4a;
  border-radius: 28px; border: 3px solid rgba(255,255,255,0.1);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 8px; overflow: hidden;
  box-shadow: 0 16px 50px rgba(0,0,0,0.3);
}
.clshp-mobile__title { font-size: 32px; font-weight: 800; color: #fff; margin: 18px 0 14px; }
.clshp-mobile__sub {
  font-size: 16px; color: rgba(255,255,255,0.5); line-height: 1.6;
  margin-bottom: 28px; max-width: 420px;
}
.clshp-mobile__badges { display: flex; gap: 12px; }
.clshp-mobile__badge {
  padding: 12px 22px; background: var(--cls-gradient);
  border: none; border-radius: var(--cls-radius);
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 4px 20px rgba(20,166,181,0.25);
  transition: opacity 0.2s, transform 0.1s; cursor: pointer;
}
.clshp-mobile__badge:hover { opacity: 0.9; }
.clshp-mobile__badge-icon { font-size: 18px; }
.clshp-mobile__badge-svg { color: rgba(255,255,255,0.85); flex-shrink: 0; }
.clshp-mobile__phone-img { width: 100%; height: 100%; object-fit: cover; border-radius: 27px; }
.clshp-mobile__badge-pre { display: block; font-size: 9px; color: rgba(255,255,255,0.7); }
.clshp-mobile__badge-name { display: block; font-size: 13px; color: #fff; font-weight: 600; }


/* ==========================================================================
   SECTION 10: BLOG
   ========================================================================== */

.clshp-blog { background: #fff; padding: 80px 0; }
.clshp-blog__header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 40px;
}
.clshp-blog__title { font-size: 32px; font-weight: 800; color: var(--cls-dark-blue); margin: 0; }
.clshp-blog__view-all {
  padding: 10px 24px; border: 2px solid var(--cls-card-border);
  border-radius: 10px; font-size: 13px; font-weight: 600;
  color: var(--cls-dark-blue); text-decoration: none; transition: border-color 0.2s;
}
.clshp-blog__view-all:hover { border-color: var(--cls-teal); color: var(--cls-dark-blue); text-decoration: none; }
.clshp-blog__cards { display: flex; gap: 24px; }
.clshp-blog__card {
  flex: 1; border-radius: var(--cls-radius-lg);
  overflow: hidden; border: 1px solid var(--cls-card-border); background: #fff;
}
.clshp-blog__card-img { height: 180px; overflow: hidden; }
.clshp-blog__card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.clshp-blog__card-img--empty { background: linear-gradient(135deg, #e8ecf1, #f0f2f5); }
.clshp-blog__card-body { padding: 24px; }
.clshp-blog__card-cat {
  font-size: 11px; color: var(--cls-teal); font-weight: 600;
  letter-spacing: 0.5px; margin-bottom: 8px; display: block;
}
.clshp-blog__card-body h3 { font-size: 16px; font-weight: 700; color: var(--cls-dark-blue); margin-bottom: 8px; line-height: 1.3; }
.clshp-blog__card-body h3 a { color: inherit; text-decoration: none; }
.clshp-blog__card-body h3 a:hover { color: var(--cls-teal); }
.clshp-blog__card-body p { font-size: 13px; color: #888; line-height: 1.5; margin: 0; }


/* ==========================================================================
   SECTION 11: FINAL CTA
   ========================================================================== */

.clshp-final-cta {
  background: linear-gradient(135deg, #0B486B 0%, #14A6B5 100%);
  padding: 80px 0; text-align: center;
}
.clshp-final-cta__title { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.clshp-final-cta__sub {
  font-size: 16px; color: rgba(255,255,255,0.7); line-height: 1.6;
  margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto;
}
.clshp-final-cta__buttons { display: flex; gap: 14px; justify-content: center; }
.clshp-final-cta__btn-primary {
  padding: 16px 40px; background: #fff; color: var(--cls-navy);
  font-weight: 700; font-size: 16px; border-radius: var(--cls-radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15); text-decoration: none; transition: opacity 0.2s;
}
.clshp-final-cta__btn-primary:hover { opacity: 0.9; color: var(--cls-navy); text-decoration: none; }
.clshp-final-cta__btn-secondary {
  padding: 16px 40px; border: 2px solid rgba(255,255,255,0.4); color: #fff;
  font-weight: 600; font-size: 16px; border-radius: var(--cls-radius);
  text-decoration: none; transition: border-color 0.2s;
}
.clshp-final-cta__btn-secondary:hover { border-color: #fff; color: #fff; text-decoration: none; }


/* ==========================================================================
   FOOTER
   ========================================================================== */

.clshp-footer {
  background: #061620; border-top: 1px solid rgba(255,255,255,0.06);
}
.clshp-footer__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 40px 0;
}
.clshp-footer__brand { display: flex; align-items: center; gap: 20px; }
.clshp-footer__logo {
  height: 28px; width: auto;
  filter: brightness(0) invert(1); opacity: 0.9;
}
.clshp-footer__tagline {
  font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.5;
  margin: 0; max-width: 360px;
}
.clshp-footer__social { display: flex; gap: 12px; }
.clshp-footer__social a {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.4); transition: all 0.2s;
}
.clshp-footer__social a:hover {
  background: rgba(20,166,181,0.15); color: var(--cls-teal);
}
.clshp-footer__social svg { width: 16px; height: 16px; }
.clshp-footer__bar {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 16px 0; text-align: center;
}
.clshp-footer__bar span {
  font-size: 12px; color: rgba(255,255,255,0.25);
  letter-spacing: 0.02em;
}
/* Footer links sit above the copyright line, a shade brighter than it so they
   read as navigation rather than fine print, but still quieter than the body. */
.clshp-footer__links {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 8px 22px; margin-bottom: 12px;
}
.clshp-footer__links a {
  font-size: 12px; letter-spacing: 0.02em; text-decoration: none;
  color: rgba(255,255,255,0.45);
  transition: color 0.18s ease;
}
.clshp-footer__links a:hover,
.clshp-footer__links a:focus-visible {
  color: rgba(255,255,255,0.85);
}
.clshp-footer__links a:focus-visible {
  outline: 2px solid rgba(255,255,255,0.5);
  outline-offset: 3px; border-radius: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .clshp-footer__links a { transition: none; }
}


/* ==========================================================================
   SCROLL ANIMATIONS
   ========================================================================== */

/* Content-level fade-in — applied to text, cards, images inside sections */
.clshp-fade-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.clshp-fade-in.visible { opacity: 1; transform: translateY(0); }

/* Hero-specific staggered entrance — uses @keyframes so it works regardless of caching */
@keyframes clshp-hero-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.clshp-hero .clshp-pill,
.clshp-hero__title,
.clshp-hero__sub,
.clshp-hero__ctas,
.clshp-hero__right {
  opacity: 0;
  animation: clshp-hero-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.clshp-hero .clshp-pill { animation-delay: 0.15s; }
.clshp-hero__title { animation-delay: 0.3s; }
.clshp-hero__sub { animation-delay: 0.45s; }
.clshp-hero__right { animation-delay: 0.5s; }
.clshp-hero__ctas { animation-delay: 0.6s; }


/* ==========================================================================
   RESPONSIVE — TABLET
   ========================================================================== */

@media (max-width: 1024px) {
  .clshp-pain__cards { flex-wrap: wrap; }
  .clshp-pain__card { flex: 0 0 calc(50% - 12px); }
  .clshp-screenshots__features { flex-wrap: wrap; }
  .clshp-screenshots__feature { flex: 0 0 calc(50% - 16px); }
  .clshp-blog__cards { flex-wrap: wrap; }
  .clshp-blog__card { flex: 0 0 calc(50% - 12px); }
  .clshp-testimonials__cards { flex-wrap: wrap; }
  .clshp-mobile__inner { gap: 40px; }
}


/* ==========================================================================
   RESPONSIVE — MOBILE
   ========================================================================== */

@media (max-width: 768px) {
  .clshp-container { padding: 0 20px; }
  .clshp-nav__inner { padding: 14px 20px; }
  .clshp-nav { height: auto !important; position: absolute !important; z-index: 99999 !important; overflow: visible !important; background-color: transparent !important; }
  .clshp-nav__inner { position: relative; }
  .clshp-nav__toggle {
    display: flex !important;
    position: fixed !important;
    top: 14px !important;
    right: 20px !important;
    z-index: 2147483647 !important;
    pointer-events: auto !important;
    background: rgba(10,36,56,0.8) !important;
    border-radius: 6px;
    padding: 12px !important;
  }
  .clshp-nav__links {
    display: none; position: fixed !important; top: 56px; left: 0; right: 0;
    background: #0A2438; flex-direction: column; padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.06); gap: 16px;
    z-index: 2147483646 !important;
  }
  .clshp-nav__link { text-align: center; }
  .clshp-nav-descriptor { text-align: center; }
  .clshp-nav__pill { text-align: center; }

  /* Hero */
  .clshp-hero { padding: 100px 0 60px; }
  .clshp-hero__split { flex-direction: column; gap: 40px; }
  .clshp-hero__right { flex: none; width: 100%; }
  .clshp-hero__title { font-size: 32px; }
  .clshp-hero__sub { font-size: 15px; }
  .clshp-hero__ctas { flex-direction: column; align-items: stretch; }
  .clshp-hero__ctas a { text-align: center; }
  .clshp-hero__screenshot { transform: none; }
  .clshp-hero__screenshot:hover { transform: none; }
  .clshp-hero__form-card { padding: 28px 24px; }

  /* Pain Points */
  .clshp-pain { padding: 50px 0; }
  .clshp-pain__title { font-size: 28px; }
  .clshp-pain__cards { flex-direction: column; }

  /* Screenshots */
  .clshp-screenshots { padding: 50px 0; }
  .clshp-screenshots__title { font-size: 28px; }
  .clshp-screenshots__tabs { flex-wrap: wrap; gap: 6px; }
  .clshp-screenshots__tab { font-size: 12px; padding: 8px 14px; }
  .clshp-screenshots__panel { min-height: auto; }
  .clshp-screenshots__features { flex-direction: column; gap: 16px; }

  /* Video */
  .clshp-video { padding: 50px 0; }
  .clshp-video__title { font-size: 28px; }
  .clshp-video__play-btn { width: 60px; height: 60px; }

  /* Stats */
  .clshp-stats__grid { flex-wrap: wrap; gap: 24px; }
  .clshp-stats__item { flex: 0 0 45%; text-align: center; }
  .clshp-stats__divider { display: none; }
  .clshp-stats__number { font-size: 32px; }

  /* Heatmap */
  .clshp-heatmap { padding: 50px 0; }
  .clshp-heatmap__title { font-size: 28px; }

  /* Testimonials */
  .clshp-testimonials { padding: 50px 0; }
  .clshp-testimonials__title { font-size: 28px; }
  .clshp-testimonials__cards { flex-direction: column; }
  .clshp-logos__track { gap: 40px; }
  .clshp-logos__item img { max-height: 32px; max-width: 100px; }

  /* Mobile App */
  .clshp-mobile { padding: 50px 0; }
  .clshp-mobile__inner { flex-direction: column; text-align: center; }
  .clshp-mobile__copy { max-width: 100%; }
  .clshp-mobile__title { font-size: 26px; }
  .clshp-mobile__badges { justify-content: center; }
  .clshp-mobile__sub { margin-left: auto; margin-right: auto; }
  .clshp-mobile__gallery { gap: 10px; }
  .clshp-mobile__phone-frame { width: 140px; height: 280px; border-radius: 22px; }
  .clshp-mobile__phone--offset { transform: translateY(16px); }
  .clshp-mobile__phone--offset:nth-child(3) { transform: translateY(-10px); }
  .clshp-mobile__phone--offset:nth-child(4) { display: none; }

  /* Blog */
  .clshp-blog { padding: 50px 0; }
  .clshp-blog__header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .clshp-blog__title { font-size: 26px; }
  .clshp-blog__cards { flex-direction: column; }
  .clshp-blog__card-img { height: 160px; }

  /* Final CTA */
  .clshp-final-cta { padding: 50px 0; }
  .clshp-final-cta__title { font-size: 26px; }
  .clshp-final-cta__sub { font-size: 15px; }
  .clshp-final-cta__buttons { flex-direction: column; align-items: stretch; }
  .clshp-final-cta__btn-primary,
  .clshp-final-cta__btn-secondary { text-align: center; padding: 14px 32px; }

  /* Footer */
  .clshp-footer__inner {
    flex-direction: column; text-align: center; gap: 20px; padding: 32px 0;
  }
  .clshp-footer__brand { flex-direction: column; gap: 12px; }
  .clshp-footer__tagline { max-width: 100%; }
  .clshp-footer__social { justify-content: center; }
  .clshp-footer__links { gap: 8px 16px; }
}
