/* Page téléchargement app — iOS + Android */
.pv-dl-page {
  --pv-dl-ios: #22d3ee;
  --pv-dl-android: #34d399;
  --pv-dl-purple: #7c5cff;
  padding-bottom: 4rem;
}

.pv-dl-hero {
  text-align: center;
  padding: 3.5rem 1rem 2rem;
  position: relative;
}

.pv-dl-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.pv-dl-hero-inner h1,
.pv-dl-hero-inner .pv-dl-lead,
.pv-dl-hero-inner .pv-dl-feats {
  width: 100%;
}

.pv-dl-hero::before {
  content: '';
  position: absolute;
  inset: 0 0 40%;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124, 92, 255, 0.22), transparent);
  pointer-events: none;
}

.pv-dl-logo {
  display: block;
  width: auto;
  height: clamp(52px, 14vw, 80px);
  max-width: min(220px, 78vw);
  margin: 0 auto 1rem;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.pv-dl-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(124, 92, 255, 0.2);
  border: 1px solid rgba(124, 92, 255, 0.45);
  color: #c4b5fd;
  margin-bottom: 0.85rem;
}

.pv-dl-hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.pv-dl-lead {
  max-width: 34rem;
  margin: 0 auto 1.75rem;
  opacity: 0.82;
  line-height: 1.55;
  font-size: 1.02rem;
}

.pv-dl-feats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  margin-bottom: 0.5rem;
}

.pv-dl-feat {
  font-size: 0.82rem;
  opacity: 0.7;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pv-dl-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 920px;
  margin: 0 auto;
  align-items: stretch;
}

@media (max-width: 720px) {
  .pv-dl-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

.pv-dl-card {
  position: relative;
  border-radius: 22px;
  padding: 1.75rem 1.5rem 1.5rem;
  text-align: center;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pv-dl-card-top {
  flex: 0 0 auto;
}

@media (min-width: 721px) {
  .pv-dl-card-top {
    min-height: 17.5rem;
  }
}

.pv-dl-card-cta {
  flex: 0 0 auto;
  width: 100%;
  margin-top: 0;
}

.pv-dl-ready-slot {
  min-height: 1.35rem;
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pv-dl-ready-slot:empty {
  min-height: 1.35rem;
}

.pv-dl-card-foot {
  flex: 1 1 auto;
  width: 100%;
  margin-top: 1rem;
  text-align: left;
}

.pv-dl-card:hover {
  transform: translateY(-3px);
}

.pv-dl-card--android {
  background: linear-gradient(160deg, rgba(52, 211, 153, 0.14) 0%, rgba(10, 14, 39, 0.95) 55%);
  border: 1px solid rgba(52, 211, 153, 0.35);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.pv-dl-card--ios {
  background: linear-gradient(160deg, rgba(34, 211, 238, 0.14) 0%, rgba(10, 14, 39, 0.95) 55%);
  border: 1px solid rgba(34, 211, 238, 0.35);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.pv-dl-card-glow {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
  pointer-events: none;
}

.pv-dl-card--android .pv-dl-card-glow {
  background: var(--pv-dl-android);
}

.pv-dl-card--ios .pv-dl-card-glow {
  background: var(--pv-dl-ios);
}

.pv-dl-phone {
  width: 120px;
  height: 200px;
  margin: 0 auto 1.25rem;
  border-radius: 22px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  background: #0a0e27;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 12px 32px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  overflow: hidden;
  position: relative;
  padding-top: 14px;
}

.pv-dl-phone-notch {
  position: absolute;
  top: 8px;
  width: 36px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}

.pv-dl-phone-app-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.pv-dl-phone-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 0 0 16px 16px;
  display: block;
}

.pv-dl-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.pv-dl-card--android h2 {
  color: #6ee7b7;
}

.pv-dl-card--ios h2 {
  color: #67e8f9;
}

.pv-dl-card-sub {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  opacity: 0.72;
  line-height: 1.45;
}

.pv-dl-ready {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: #6ee7b7;
  margin: 0;
}

.pv-dl-ready::before {
  content: '●';
  font-size: 0.55rem;
}

.pv-dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.95rem 1.15rem;
  border: none;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  transition: filter 0.2s, transform 0.15s;
}

.pv-dl-btn:active {
  transform: scale(0.98);
}

.pv-dl-btn--android {
  background: linear-gradient(135deg, #059669, #34d399);
  box-shadow: 0 8px 24px rgba(52, 211, 153, 0.35);
}

.pv-dl-btn--ios {
  background: linear-gradient(135deg, #0891b2, #22d3ee);
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.3);
}

.pv-dl-meta {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  opacity: 0.55;
}

.pv-dl-status {
  margin-top: 1rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  font-size: 0.84rem;
  text-align: left;
  line-height: 1.45;
}

.pv-dl-status[hidden] {
  display: none !important;
}

.pv-dl-status--wait {
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  color: #a5f3fc;
}

.pv-dl-status--ok {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}

.pv-dl-status--err {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.pv-dl-retry {
  display: block;
  width: 100%;
  margin-top: 0.65rem;
  padding: 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #c4b5fd;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.pv-dl-panel {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.pv-dl-panel[hidden] {
  display: none !important;
}

.pv-dl-panel h3 {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  color: #6ee7b7;
}

.pv-dl-panel ol {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.84rem;
  line-height: 1.55;
  opacity: 0.88;
}

.pv-dl-panel li {
  margin-bottom: 0.45rem;
}

.pv-dl-help {
  margin-top: 1rem;
  padding: 0.85rem;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.22);
}

.pv-dl-help h4 {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
  color: #fca5a5;
}

.pv-dl-help ol {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.8rem;
  line-height: 1.5;
  opacity: 0.85;
}

.pv-dl-ios-guide {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  text-align: left;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.28);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.pv-dl-ios-guide.is-highlight {
  border-color: rgba(34, 211, 238, 0.65);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18);
}

.pv-dl-ios-guide h4 {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  color: #67e8f9;
}

.pv-dl-ios-guide > p {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  opacity: 0.85;
  line-height: 1.45;
}

.pv-dl-ios-guide .pv-dl-ios-visual {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.pv-dl-ios-steps {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.8rem;
  line-height: 1.5;
}

.pv-dl-ios-steps li {
  margin-bottom: 0.4rem;
}

.pv-dl-ios-steps strong {
  color: #fde68a;
}

.pv-dl-ios-share-mini svg {
  width: 18px;
  height: 18px;
  fill: #22d3ee;
  vertical-align: middle;
}

.pv-dl-playprotect {
  margin-top: 0;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  text-align: left;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.28);
}

.pv-dl-playprotect h4 {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  color: #6ee7b7;
}

.pv-dl-playprotect p {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  opacity: 0.85;
  line-height: 1.45;
}

.pv-dl-playprotect ol {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.8rem;
  line-height: 1.5;
}

.pv-dl-playprotect li {
  margin-bottom: 0.4rem;
}

.pv-dl-playprotect strong {
  color: #fde68a;
}

.pv-dl-vip {
  max-width: 640px;
  margin: 2.5rem auto 0;
  padding: 1.15rem 1.25rem;
  border-radius: 14px;
  background: rgba(124, 92, 255, 0.08);
  border: 1px solid rgba(124, 92, 255, 0.25);
  text-align: center;
}

.pv-dl-vip h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  color: #c4b5fd;
}

.pv-dl-vip p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.78;
  line-height: 1.5;
}

/* Modal iOS page download */
.pv-dl-ios-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
  padding: 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.pv-dl-ios-visual span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(34, 211, 238, 0.2);
  font-size: 1.1rem;
}

.pv-dl-ios-visual svg {
  width: 18px;
  height: 18px;
  fill: #22d3ee;
}

.pv-dl-ios-visual-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
  vertical-align: middle;
}

.pv-dl-ios-visual-arrow {
  opacity: 0.55;
  font-size: 0.95rem;
}
