/* ==========================================================================
   AirGo Tel — /app (Download the App) page specifics
   ========================================================================== */

.ag-apphero {
  background: radial-gradient(1000px 500px at 80% -10%, #123C7A, #0B2038 55%);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.ag-apphero__inner {
  position: relative;
  max-width: var(--ag-content-max);
  margin: 0 auto;
  padding: 56px var(--ag-gutter);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}
.ag-apphero__copy, .ag-apphero__visual { min-width: 0; }

.ag-apphero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(143, 194, 255, .12);
  border: 1px solid rgba(143, 194, 255, .3);
  color: var(--ag-azure-300);
  font-size: 13px;
  font-weight: 800;
  padding: 7px 13px;
  border-radius: var(--ag-radius-pill);
  margin-bottom: 18px;
}
.ag-apphero__badge svg { width: 15px; height: 15px; }

.ag-apphero h1 {
  font-size: 46px;
  font-weight: 800;
  margin-bottom: 14px;
  text-wrap: balance;
  color: #fff;
}
.ag-apphero__lead {
  font-size: 18px;
  color: var(--ag-on-dark-body);
  margin-bottom: 26px;
  max-width: 500px;
  line-height: 1.55;
}

.ag-apphero__get {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

/* Store badges are placeholders until the app ships (HANDOFF.md §6). */
.ag-storebadge {
  background: #000;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  opacity: .5;
}
.ag-storebadge svg { width: 20px; height: 20px; flex-shrink: 0; }
.ag-storebadge__small { font-size: 9px; color: var(--ag-on-dark-body); }
.ag-storebadge__name { font-size: 16px; font-weight: 700; color: #fff; }

.ag-apphero__soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(143, 194, 255, .14);
  border: 1px solid rgba(143, 194, 255, .3);
  color: var(--ag-azure-300);
  font-size: 13.5px;
  font-weight: 800;
  padding: 11px 18px;
  border-radius: var(--ag-radius-pill);
}

.ag-apphero__note {
  font-size: 12px;
  color: var(--ag-on-dark-muted);
  margin-top: 14px;
  max-width: 460px;
  line-height: 1.5;
}

.ag-apphero__qr { text-align: center; }
.ag-apphero__qr-label { font-size: 10px; color: var(--ag-on-dark-muted); margin-top: 5px; font-weight: 700; }

/* ---------- Phone mocks ---------- */

.ag-appmock {
  display: flex;
  justify-content: center;
  position: relative;
  min-height: 420px;
  align-items: center;
}

.ag-appmock__phone {
  width: 200px;
  height: 410px;
  border-radius: 36px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .4);
}
.ag-appmock__phone--back {
  background: #0E1C2E;
  border: 8px solid #26384F;
  transform: rotate(-6deg) translateX(30px);
  z-index: 1;
  animation: agFloat 6s ease-in-out infinite;
}
.ag-appmock__phone--front {
  background: #111F30;
  border: 8px solid #33475F;
  transform: rotate(5deg) translateX(-30px);
  z-index: 2;
  animation: agFloat 6.5s ease-in-out .5s infinite;
}

.ag-appmock__screen { padding: 24px 14px; display: flex; flex-direction: column; gap: 10px; }
.ag-appmock__line { height: 14px; background: rgba(255, 255, 255, .15); border-radius: 6px; }
.ag-appmock__line--w55 { width: 55%; }
.ag-appmock__line--w45 { width: 45%; }
.ag-appmock__hero { height: 74px; border-radius: var(--ag-radius-lg); }
.ag-appmock__hero--azure { background: linear-gradient(120deg, #1F73F1, #1A5FCC); }
.ag-appmock__hero--coral { background: var(--ag-coral); }
.ag-appmock__tile { height: 46px; background: rgba(255, 255, 255, .07); border-radius: 12px; }

/* ---------- Features ---------- */

.ag-appfeatures {
  max-width: var(--ag-content-max);
  margin: 0 auto;
  padding: 48px var(--ag-gutter) 20px;
}
.ag-appfeatures > h2 {
  font-size: 30px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 34px;
}

/* ---------- Install steps + requirements ---------- */

.ag-appinstall {
  max-width: var(--ag-content-max);
  margin: 0 auto;
  padding: 28px var(--ag-gutter);
}
.ag-appinstall__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; }

.ag-appsteps {
  background: var(--ag-navy);
  color: #fff;
  border-radius: 20px;
  padding: 30px;
}
.ag-appsteps h2 { font-size: 22px; font-weight: 800; margin-bottom: 20px; color: #fff; }
.ag-appsteps__list { display: flex; flex-direction: column; gap: 16px; }
.ag-appstep { display: flex; gap: 14px; align-items: flex-start; }
.ag-appstep__n {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(140deg, #1F73F1, #1A5FCC);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ag-font-display);
  font-weight: 800;
}
.ag-appstep__title { font-size: 15.5px; font-weight: 800; }
.ag-appstep__desc { font-size: 13.5px; color: #9EB1C4; margin-top: 2px; }

.ag-appreqs {
  background: var(--ag-card);
  border: var(--ag-border);
  border-radius: 20px;
  padding: 30px;
}
.ag-appreqs h2 { font-size: 22px; font-weight: 800; margin-bottom: 18px; }
.ag-appreqs ul { display: flex; flex-direction: column; gap: 12px; }
.ag-appreqs li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--ag-slate);
  font-weight: 600;
  align-items: flex-start;
}
.ag-appreqs svg { width: 15px; height: 15px; color: var(--ag-success); flex-shrink: 0; margin-top: 2px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .ag-apphero__inner { grid-template-columns: 1fr; }
  .ag-appinstall__grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .ag-apphero h1 { font-size: 36px; }
}

@media (max-width: 620px) {
  .ag-apphero__inner { padding: 40px var(--ag-gutter); }
  .ag-apphero h1 { font-size: 30px; }
  .ag-apphero__lead { font-size: 16.5px; }
  .ag-appfeatures > h2 { font-size: 24px; }
  .ag-appsteps, .ag-appreqs { padding: 22px 18px; }

  /* Scale the decorative phone pair so both stay fully visible. */
  .ag-appmock { min-height: 330px; }
  .ag-appmock__phone { width: 150px; height: 310px; border-width: 6px; border-radius: 28px; }
  .ag-appmock__screen { padding: 16px 10px; gap: 8px; }
  .ag-appmock__hero { height: 56px; }
  .ag-appmock__tile { height: 34px; }
}
