/* ===== App showcase slider (Useful Kit) ===== */
.apps-section { padding-top: 0.5rem; }
.slider { position: relative; }
.slider-viewport {
  overflow: hidden; border-radius: calc(var(--radius) + 8px);
  background: var(--grad); box-shadow: 0 24px 50px rgba(13,137,227,0.22);
}
.slider-track { display: flex; transition: transform .55s cubic-bezier(.22,.8,.24,1); will-change: transform; touch-action: pan-y; }
.slider.dragging .slider-track { transition: none; }
.slide { flex: 0 0 100%; min-width: 0; padding: 1.1rem; display: flex; }
.slide > .slide-inner { flex: 1; }
.slide-inner {
  background: #fff; border-radius: 16px; min-height: 420px;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.5rem; align-items: center;
  padding: 2rem 2.2rem;
}
.slide-kicker { display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #01707a; background: #e6f7f8; border: 1px solid #c4ecee; padding: 0.28rem 0.7rem; border-radius: 999px; }
.slide h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; margin: 0.7rem 0 0.2rem; letter-spacing: -0.01em; }
.slide .tagline { font-weight: 800; color: var(--accent); margin: 0 0 0.6rem; font-size: 1.05rem; }
.slide p { color: var(--muted); margin: 0 0 1rem; max-width: 34rem; }
.slide-points { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: 0.45rem; }
.slide-points li { position: relative; padding-left: 1.7rem; color: var(--text); font-weight: 600; font-size: 0.97rem; }
.slide-points li::before { content: "✓"; position: absolute; left: 0; top: 0.05rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--grad); color: #fff; font-size: 0.72rem; font-weight: 800; display: grid; place-items: center; }
.slide-status { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.85rem; font-weight: 800; color: #8a5a00; background: #fff8e6; border: 1px solid #f3c969; padding: 0.35rem 0.75rem; border-radius: 999px; margin-bottom: 1rem; }
.slide-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #f0a500; }
.slide-stores { margin: 0 0 1.05rem; }
.slide-stores .store-row { align-items: stretch; }
.slide-stores .store-btn { flex: 1 1 10.5rem; min-width: 0; }
.slide-links { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.slide-links .text-link { font-weight: 700; font-size: 0.93rem; }
.slide-media { display: flex; justify-content: center; align-items: center; }
.slide-media figure { width: 100%; }
/* iPhone frame: pure CSS (no third-party assets). Sizes scale with the frame width via container units. */
.iphone {
  --w: 300px;
  position: relative; width: 100%; max-width: var(--w); margin: 0 auto;
  container-type: inline-size; padding: 0 1.2%;
}
.iphone-body {
  position: relative; z-index: 1; border-radius: 16.5cqw; padding: 1.35cqw;
  /* titanium edge */
  background: linear-gradient(135deg, #5e6268 0%, #c9ccd0 18%, #8e9298 36%, #eef0f2 52%, #7d8187 70%, #b9bcc1 86%, #55595f 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.55) inset, 0 -1px 0 rgba(0,0,0,.35) inset,
              0 28px 50px rgba(1,39,85,.28), 0 8px 18px rgba(1,39,85,.18);
}
.iphone-body::before { /* black glass bezel */
  content: ""; position: absolute; inset: 1.35cqw; border-radius: 15.2cqw; background: #0a0a0c;
  box-shadow: 0 0 0 .35cqw rgba(0,0,0,.55), inset 0 0 0 .25cqw #1c1d20;
}
.iphone-screen {
  position: relative; z-index: 1; margin: 3.1cqw; overflow: hidden;
  aspect-ratio: 1179 / 2556; border-radius: 12.4cqw;
  background: #20783a; /* matches the green app bar of the real screenshots behind the island */
  transform: translateZ(0); /* keeps rounded clipping crisp in Safari */
}
.iphone-screen picture { position: absolute; left: 0; right: 0; bottom: 0; display: block; }
.iphone-screen img { display: block; width: 100%; height: auto; }
.iphone-island {
  position: absolute; z-index: 2; top: 2.6cqw; left: 50%; transform: translateX(-50%);
  width: 29cqw; height: 8.6cqw; border-radius: 999px; background: #000;
  box-shadow: inset 0 0 0 .2cqw #111;
}
.iphone-island::after { /* front camera lens */
  content: ""; position: absolute; top: 50%; right: 9%; width: 3.3cqw; height: 3.3cqw; transform: translateY(-50%);
  border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2b3a5a 0 18%, #0d1220 45%, #050608 70%);
}
.iphone-home-bar {
  position: absolute; z-index: 2; bottom: 2.2cqw; left: 50%; transform: translateX(-50%);
  width: 33cqw; height: 1.3cqw; border-radius: 999px; background: rgba(17,17,17,.78);
}
.iphone-btn {
  position: absolute; z-index: 0; width: 1.6%; border-radius: 1cqw;
  background: linear-gradient(90deg, #5a5e64, #d8dbde 45%, #8a8e94 75%, #4d5157);
  box-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.iphone-action   { left: 0;  top: 17%;   height: 5.2%; }
.iphone-vol-up   { left: 0;  top: 25.5%; height: 9%; }
.iphone-vol-down { left: 0;  top: 36.5%; height: 9%; }
.iphone-power    { right: 0; top: 28%;   height: 14%; }
.phone-caption { text-align: center; font-size: 0.78rem; color: var(--muted); margin-top: 0.6rem; }
.soon-card {
  width: 100%; max-width: 300px; aspect-ratio: 1 / 1; border-radius: 22px; background: #fff; border: 2px dashed #c9deec;
  display: grid; place-items: center; text-align: center; padding: 1.5rem;
}
.soon-card picture { display: block; }
.soon-card img { width: 200px; height: auto; display: block; margin: 0 auto 0.8rem; }
.soon-card .chip-row { justify-content: center; }
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--card-border); background: #fff; color: var(--text);
  box-shadow: 0 10px 24px rgba(1,39,85,0.16); display: grid; place-items: center; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
}
.slider-btn:hover { transform: translateY(-50%) scale(1.06); box-shadow: 0 14px 30px rgba(13,151,217,0.3); }
.slider-btn:focus-visible, .slider-dot:focus-visible, .slider-pause:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.slider-prev { left: -18px; } .slider-next { right: -18px; }
.slider-controls { display: flex; justify-content: center; align-items: center; gap: 0.9rem; margin-top: 1rem; }
.slider-dots { display: flex; gap: 0.5rem; }
.slider-dot { width: 11px; height: 11px; border-radius: 999px; border: 0; padding: 0; background: #c9deec; cursor: pointer; transition: width .25s ease, background .25s ease; }
.slider-dot[aria-current="true"] { width: 28px; background: var(--grad); }
.slider-pause { border: 1px solid #c9deec; background: #fff; color: var(--muted); border-radius: 999px; font: inherit; font-size: 0.8rem; font-weight: 800; padding: 0.25rem 0.75rem; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.slide-title { display: flex; align-items: center; gap: 0.85rem; margin: 0.7rem 0 0.2rem; }
.slide-title h3 { margin: 0; }
.slide-title picture { display: block; flex: 0 0 auto; }
.app-icon { display: block; width: 56px; height: 56px; border-radius: 22.5%; box-shadow: 0 6px 16px rgba(1,39,85,0.16); }
@media (max-width: 860px) {
  .app-icon { width: 44px; height: 44px; }
  .slide-title { gap: 0.7rem; }
  .slide-inner { grid-template-columns: 1fr; padding: 1.5rem 1.25rem 1.6rem; gap: 1.2rem; min-height: 0; }
  .slide-media { order: -1; }
  .iphone { --w: 230px; }
  .soon-card { max-width: 240px; }
  .soon-card img { width: 170px; }
  .slide-status { font-size: 0.8rem; }
  .slider-btn { top: auto; bottom: 0; transform: none; width: 40px; height: 40px; }
  .slider-btn:hover { transform: none; }
  .slider-prev { left: 0; } .slider-next { right: 0; }
  .slider-controls { min-height: 40px; }
}
@media (max-width: 600px) {
  .slide-stores .store-btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .slider-track { transition: none; } }
/* In-phone screenshot carousel (ProducePilot): screens slide inside the rounded screen; island + home bar stay on top (z-index 2). */
.phone-shots { position: absolute; inset: 0; z-index: 1; overflow: hidden; touch-action: pan-y; }
.phone-shots-track { display: flex; height: 100%; transition: transform .7s cubic-bezier(.22,.8,.24,1); will-change: transform; }
.phone-shots.dragging .phone-shots-track { transition: none; }
.phone-shot { flex: 0 0 100%; min-width: 0; height: 100%; }
.iphone-screen .phone-shot picture { position: static; display: block; height: 100%; }
.iphone-screen .phone-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.phone-dots { display: flex; justify-content: center; gap: 0.4rem; margin-top: 0.45rem; }
.phone-dot { width: 7px; height: 7px; border-radius: 999px; border: 0; padding: 0; background: #c9deec; cursor: pointer; transition: width .25s ease, background .25s ease; }
.phone-dot[aria-current="true"] { width: 18px; background: var(--grad); }
.phone-dot:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .phone-shots-track { transition: none; } }
