/* css/app-download.css
   App Download section — WHITE background version
*/

:root{
  --bg-light: #ffffff;
  --heading: #0D1E32;
  --text: #4b5563;
  --cta-grad: linear-gradient(90deg,#0d9aff,#3F5FFF);
  --pill-radius: 28px;
  --ff: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  --maxw: 1100px;
}

/* Section */
.app-download-section{
  background: var(--bg-light);
  color: var(--heading);
  padding: 70px 20px;
  font-family: var(--ff);
}

.app-download-inner{
  max-width: var(--maxw);
  margin: 0 auto;
  display:flex;
  flex-direction:column;
  gap:22px;
}

/* header */
.app-download-head{
  text-align:center;
}

.app-download-head h2{
  font-size:30px;
  margin:0;
  font-weight:800;
  letter-spacing:-0.02em;
  color:var(--heading);
}

.app-download-sub{
  margin-top:10px;
  color:var(--text);
  font-size:16px;
}

/* body layout */
.app-download-body{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items:center;
  margin-top:10px;
}

@media(max-width:880px){
  .app-download-body{
    grid-template-columns: 1fr;
    text-align:center;
  }
}

/* left content */
.app-left{
  padding:10px;
}

.app-copy{
  color:var(--text);
  font-size:16px;
  margin-bottom:20px;
  line-height:1.7;
}

/* store buttons */
.store-buttons{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  align-items:center;
}

@media(max-width:880px){
  .store-buttons{
    justify-content:center;
  }
}

.store-item{
  display:flex;
  align-items:center;
  gap:8px;
}

/* main store badge */
.store-badge{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  background: var(--cta-grad);
  color:#fff;
  padding:14px 20px;
  border-radius:30px;
  font-weight:700;
  transition:all .2s ease;
  box-shadow:0 10px 30px rgba(13,154,255,0.15);
}

.store-badge:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 40px rgba(13,154,255,0.22);
}

.store-icon{
  opacity:0.95;
}

.store-text{
  display:flex;
  flex-direction:column;
  line-height:1;
}

.store-text small{
  font-size:11px;
  font-weight:500;
}

.store-text strong{
  font-size:15px;
  margin-top:2px;
}

/* QR button */
.store-qr{
  background:#f1f5f9;
  color:#0D1E32;
  border:none;
  padding:10px 12px;
  border-radius:10px;
  cursor:pointer;
  font-weight:700;
  transition:.15s;
}

.store-qr:hover{
  background:#e2e8f0;
  transform:translateY(-2px);
}

/* share link */
.app-cta-note{
  margin-top:14px;
  color:var(--text);
  font-size:14px;
}

.btn-share{
  background:#f1f5f9;
  border:none;
  padding:8px 12px;
  border-radius:8px;
  font-weight:700;
  cursor:pointer;
}

.btn-share:hover{
  background:#e2e8f0;
}

/* phone preview */
.app-right{
  display:flex;
  justify-content:center;
}

.phone-mock img{
  width:340px;
  max-width:90%;
  border-radius:20px;
  box-shadow:0 20px 50px rgba(0,0,0,0.15);
}

/* QR modal */
.qr-modal{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,0.45);
  z-index:2000;
}

.qr-modal[aria-hidden="false"]{
  display:flex;
}

.qr-panel{
  background:#ffffff;
  color:#0D1E32;
  padding:25px;
  border-radius:12px;
  width:320px;
  text-align:center;
  box-shadow:0 20px 60px rgba(0,0,0,0.2);
}

.qr-close{
  position:absolute;
  right:16px;
  top:12px;
  border:none;
  background:transparent;
  font-size:26px;
  cursor:pointer;
}

.qr-body img{
  width:200px;
  height:200px;
  object-fit:contain;
  margin:10px auto;
}

.qr-link{
  font-size:13px;
  color:#64748b;
}