/* ==========================================================================
   Product page — Block 07: the app.
   Text + features left, three phone mockups (fanned) right.
   Phone screens are empty slots until real app screenshots exist.
   ========================================================================== */

.papp {
  padding: 96px var(--gutter);
  overflow: hidden;
  background: var(--c-ink);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.papp__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
}

/* ---------- copy ---------- */

.papp__copy .eyebrow { color: var(--c-accent); }
.papp__copy .display { font-size: clamp(44px, 5.5vw, 80px); }
.papp__copy .display em { font-style: normal; color: var(--c-accent); }

.papp__text { max-width: 40ch; margin: 18px 0 0; font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, 0.7); }

.papp__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 24px;
  margin: 32px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  list-style: none;
}

.papp__features li { display: grid; gap: 6px; }

.papp__features svg { width: 22px; height: 22px; color: var(--c-accent); }

.papp__features h3 {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.papp__features p { margin: 0; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, 0.55); }

/* store badges (placeholders until the real app links exist) */
.papp__stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

.papp__store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 18px;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  transition: box-shadow 0.2s, background-color 0.2s;
}

.papp__store:hover { background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px #fff; }
.papp__store svg { width: 22px; height: 22px; flex: none; }
.papp__store span { display: grid; font-size: 15px; font-weight: 700; line-height: 1.1; }
.papp__store small { font-size: 10px; font-weight: 500; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.6); }

/* ---------- phones ---------- */

.papp__phones {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
}

/* soft volt glow behind the phones */
.papp__phones::before {
  content: "";
  position: absolute;
  inset: 12% 10%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(212, 255, 0, 0.14), transparent);
  filter: blur(10px);
}

.papp__phone {
  position: relative;
  flex: none;
  width: 220px;
  aspect-ratio: 9 / 19.5;
  padding: 9px;
  border-radius: 38px;
  background: #111;
  box-shadow: inset 0 0 0 1.5px #3a3a3a, inset 0 0 0 4px #0b0b0b, 0 30px 60px rgba(0, 0, 0, 0.6);
  transition: transform 0.5s var(--ease);
}

/* fan: side phones smaller, rotated, tucked behind the middle one */
.papp__phone--l { transform: translateX(46px) rotate(-8deg) scale(0.86); z-index: 1; }
.papp__phone--c { z-index: 2; }
.papp__phone--r { transform: translateX(-46px) rotate(8deg) scale(0.86); z-index: 1; }

.papp__phones:hover .papp__phone--l { transform: translateX(26px) rotate(-11deg) scale(0.86); }
.papp__phones:hover .papp__phone--r { transform: translateX(-26px) rotate(11deg) scale(0.86); }

.papp__screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 40%, rgba(212, 255, 0, 0.08), transparent 70%),
    linear-gradient(180deg, #262626 0%, #171717 100%);
}

.papp__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* camera notch */
.papp__screen::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 2;
  width: 32%;
  height: 22px;
  border-radius: 999px;
  background: #000;
  transform: translateX(-50%);
}

.papp__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.6;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

.papp__ph b { display: block; color: rgba(255, 255, 255, 0.55); }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .papp { padding: 64px var(--gutter); }
  .papp__inner { grid-template-columns: 1fr; gap: 40px; }
  .papp__phones { order: -1; min-height: 0; }
  .papp__phone { width: 150px; border-radius: 28px; padding: 6px; }
  .papp__screen { border-radius: 22px; }
  .papp__screen::before { top: 7px; height: 15px; }
  .papp__phone--l { transform: translateX(34px) rotate(-8deg) scale(0.86); }
  .papp__phone--r { transform: translateX(-34px) rotate(8deg) scale(0.86); }
}

@media (max-width: 480px) {
  .papp__features { grid-template-columns: 1fr; }
  .papp__phone { width: 120px; }
}
