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

.quick-details-section,
.names-section,
.login-guide-section,
.troubleshooting-section {
  padding: clamp(3.25rem, 6vw, 5rem) 0;
}

.quick-details-card {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 56rem;
  margin: 0 auto;
  overflow: hidden;
}

.quick-details-row {
  display: grid;
  grid-template-columns: minmax(0, 14rem) minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.quick-details-row:last-child {
  border-bottom: 0;
}

.quick-details-label {
  font-weight: 700;
  color: var(--foreground);
}

.quick-details-value {
  color: hsl(215, 15%, 45%);
}

.names-grid,
.login-guide-grid,
.troubleshooting-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.login-guide-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.names-card,
.login-guide-card,
.troubleshooting-card {
  position: relative;
  padding: 1.4rem 1.25rem;
  border: 1px solid var(--border);
}

.names-card h3,
.login-guide-card__title,
.troubleshooting-card h3 {
  margin-bottom: 0.65rem;
  font-weight: 700;
  color: var(--foreground);
}

.names-card p,
.login-guide-card p,
.troubleshooting-card p {
  margin: 0;
  color: hsl(215, 15%, 45%);
}

.login-guide-card .login-guide-card__title {
  font-size: 1rem;
  color: var(--foreground);
}

.accordion-title {
  margin: 0;
  font: inherit;
  color: inherit;
}

.login-guide-card {
  padding-top: 3.15rem;
}

.login-guide-card__num {
  position: absolute;
  top: 1rem;
  left: 1.15rem;
  font-family: monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0058fb;
}

.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) {
  .names-grid,
  .troubleshooting-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .login-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .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) {
  .quick-details-row,
  .names-grid,
  .login-guide-grid,
  .troubleshooting-grid {
    grid-template-columns: 1fr;
  }

  .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: flex;
  flex-direction: column;
  gap: .75rem;
  min-height: 0;
  padding: 1.25rem 1.25rem 1.2rem 1.35rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, hsl(0,0%,100%), hsl(210,45%,98%));
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  overflow: hidden;
  transition: border-color .2s ease;
}

.install-step-card:hover {
  border-color: rgba(0, 88, 251, .18);
}

.install-step-card::before {
  display: none;
}

.install-step-num {
  position: absolute;
  top: 1.05rem;
  right: 1.1rem;
  color: var(--install-accent, var(--primary));
  font-size: .85rem;
  line-height: 1;
  font-weight: 800;
}

.install-step-head {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding-right: 2.4rem;
}

.install-step-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  margin-bottom: 0;
  border-radius: 8px;
  background: rgba(0, 88, 251, .09);
  color: var(--install-accent, var(--primary));
  box-shadow: none;
}

.install-step-title {
  margin: 0;
  font-size: clamp(1.12rem, .3vw + 1.04rem, 1.26rem);
  line-height: 1.3;
  font-weight: var(--fw-heading);
  color: var(--foreground);
}

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

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

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

  .install-step-text {
    max-width: none;
  }
}

/* ── 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: 800;
  text-decoration: none;
  box-shadow: 0 18px 34px rgba(0, 88, 251, .22);
}

.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;
  }
}
