/* ── App screenshot slider ───────────────────────────────────────────── */
.app-slider-section {
  padding: clamp(3.25rem, 6vw, 5rem) 0;
  background: linear-gradient(180deg, #fff, hsl(210, 40%, 98%));
  overflow: hidden;
}

.app-slider-head {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  text-align: center;
}

.app-slider-head .section-h2 {
  max-width: 100%;
  margin: 0 auto;
}

.app-slider-controls {
  display: inline-flex;
  justify-content: center;
  gap: .55rem;
  flex-shrink: 0;
}

.app-slider-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem;
  height: 3.1rem;
  border: 1px solid rgba(0, 88, 251, .22);
  border-radius: 8px;
  background: #fff;
  color: #0058fb;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(15, 23, 42, .08);
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}

.app-slider-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 88, 251, .42);
  background: rgba(0, 88, 251, .06);
}

.app-slider {
  --slide-gap: 1rem;
  --slide-width: clamp(19rem, 22vw, 21rem);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(var(--slide-width), calc((100% - (var(--slide-gap) * 2)) / 3));
  gap: var(--slide-gap);
  max-width: calc(3 * var(--slide-width) + 2 * var(--slide-gap));
  margin-inline: auto;
  justify-content: start;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1px;
  padding: .15rem .1rem 1rem;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.app-slider::-webkit-scrollbar {
  display: none;
}

.app-slider.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.app-slide {
  min-width: 0;
  margin: 0;
  border: 1px solid hsl(220, 20%, 88%);
  border-radius: 8px;
  background: hsl(216, 33%, 97%);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
  overflow: hidden;
  scroll-snap-align: start;
}

.app-slide__button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.app-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 18.8;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2rem);
  background: rgba(3, 8, 20, .82);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.image-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox__img {
  display: block;
  max-width: min(92vw, 32rem);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .45);
}

.image-lightbox__close {
  position: absolute;
  top: clamp(1rem, 3vw, 1.5rem);
  right: clamp(1rem, 3vw, 1.5rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
}

@media (max-width: 920px) {
  .app-slider {
    --slide-width: 18.5rem;
    grid-auto-columns: min(var(--slide-width), calc((100% - var(--slide-gap)) / 2));
    max-width: calc(2 * var(--slide-width) + var(--slide-gap));
  }
}

@media (max-width: 620px) {
  .app-slider-head {
    align-items: center;
  }

  .app-slider-head .section-h2 {
    max-width: 100%;
  }

  .app-slider-controls {
    width: 100%;
    justify-content: center;
  }

  .app-slider-btn {
    width: 50%;
  }

  .app-slider {
    --slide-width: 82vw;
    grid-auto-columns: 76%;
    justify-content: start;
  }
}

/* ── 3. Install guide → clear step sequence ───────────────────────────── */
.install-section .section-header {
  max-width: 48rem;
  margin-bottom: 3rem;
}

.install-section .section-note {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.install-section .section-h2 {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1.16;
}

.install-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: .9rem;
  max-width: 72rem;
  margin: 0 auto;
}

.install-step-card {
  position: relative;
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  align-items: start;
  gap: 1.05rem;
  min-height: 0;
  padding: 1.15rem 1.15rem 1.15rem 1.25rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
  overflow: hidden;
}

.install-step-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  width: 4px;
  background: var(--install-accent, var(--primary));
}

.install-step-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0;
  border-radius: 8px;
  background: rgba(0, 88, 251, .1);
  color: var(--install-accent, var(--primary));
  box-shadow: none;
}

.install-step-copy {
  grid-column: 2;
  min-width: 0;
}

.install-step-num {
  position: absolute;
  top: .85rem;
  right: .9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid rgba(0, 88, 251, .2);
  border-radius: 999px;
  background: rgba(0, 88, 251, .08);
  color: #0058fb;
  font-size: .82rem;
  line-height: 1;
  font-weight: 900;
}

.install-step-kicker {
  margin: 0 2.8rem .32rem 0;
  color: hsl(215, 18%, 38%);
  font-size: .78rem;
  line-height: 1.35;
  font-weight: 850;
  text-transform: uppercase;
}

.install-step-title {
  margin: 0 0 .35rem;
  padding-right: 2.75rem;
  font-size: clamp(1.16rem, .35vw + 1.06rem, 1.32rem);
  line-height: 1.35;
  font-weight: 850;
}

.install-step-text {
  max-width: 20rem;
  margin: 0;
  color: hsl(215, 18%, 34%);
  font-size: clamp(1rem, .25vw + .94rem, 1.07rem);
  line-height: 1.62;
}

@media (min-width: 860px) {
  .install-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }

  .install-grid::before {
    display: none;
  }

  .install-step-card {
    grid-template-columns: 1fr;
    align-items: start;
    gap: .95rem;
    min-height: 14.75rem;
    padding: 1.2rem;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }

  .install-step-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 88, 251, .32);
    box-shadow: 0 24px 48px rgba(15, 23, 42, .1);
  }

  .install-step-icon {
    position: relative;
    z-index: 1;
    grid-row: auto;
  }

  .install-step-copy {
    grid-column: 1;
  }
}

/* ── Page rhythm → consistent section spacing ────────────────────────── */
.install-section,
.security-section,
.faq-section,
.social-section {
  padding-top: clamp(3.25rem, 6vw, 5rem);
  padding-bottom: clamp(3.25rem, 6vw, 5rem);
}

.wa-section,
.cta-section {
  padding-top: clamp(3.5rem, 6vw, 5.25rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.25rem);
}

.section-divider {
  opacity: .72;
}

/* ── Security → copy beside product visual ───────────────────────────── */
.security-card {
  max-width: 76rem;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  text-align: left;
}

.security-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, .82fr);
  gap: clamp(1.25rem, 3.5vw, 2.5rem);
  align-items: center;
}

.security-copy {
  min-width: 0;
}

.security-copy .section-h2-md,
.security-copy .section-muted-lg {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.security-badge {
  margin-left: 0;
  margin-right: 0;
}

.security-copy .section-muted-lg {
  max-width: 38rem;
}

.security-dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-height: 3.9rem;
  margin-top: 1.35rem;
  padding: .95rem 1.5rem;
  border: 1px solid rgba(0, 88, 251, .32);
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: clamp(1.06rem, .3vw + .98rem, 1.16rem);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 18px 34px rgba(0, 88, 251, .22);
}

.wa-chat-btn,
.wa-chat-btn span,
.wa-chat-btn i {
  color: #fff;
}


.security-media {
  position: relative;
  min-width: 0;
  margin: 0;
  border: 1px solid rgba(0, 88, 251, .16);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .12);
}

.security-media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 52%, rgba(3, 8, 20, .18)),
    linear-gradient(135deg, rgba(0, 88, 251, .14), transparent 46%);
  pointer-events: none;
}

.security-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

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

  .security-media {
    order: -1;
  }
}

@media (max-width: 640px) {
  .install-section,
  .security-section,
  .faq-section,
  .wa-section,
  .social-section,
  .cta-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .security-card {
    padding: 1rem;
  }
}
