/* Event Country App Download Page */
.ecx-download-page {
  background: #f6f8fb;
  color: #111827;
}

.ecx-download-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 20px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: 42px;
  align-items: center;
}

.ecx-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 111, 0, 0.12);
  color: #b84a00;
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ecx-download-copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(2.3rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
  color: #0f172a;
}

.ecx-download-copy p {
  max-width: 720px;
  color: #526174;
  font-size: 1.08rem;
  line-height: 1.75;
}

.ecx-device-notice {
  margin: 24px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  border-radius: 6px;
  color: #334155;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  width: fit-content;
}

.ecx-download-actions,
.ecx-badge-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.ecx-download-primary,
.ecx-download-secondary {
  min-height: 48px;
  border-radius: 6px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 900;
}

.ecx-download-primary {
  color: #fff;
  background: linear-gradient(135deg, #ff6f00, #ff8a00);
  box-shadow: 0 20px 34px rgba(255, 111, 0, 0.22);
}

.ecx-download-secondary {
  color: #0f172a;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.ecx-download-logo-large {
  width: 168px !important;
  height: 52px !important;
}

.ecx-download-logo-large img {
  width: 168px !important;
  height: 52px !important;
  object-fit: contain;
}

.ecx-phone-card {
  display: flex;
  justify-content: center;
}

.ecx-phone-shell {
  width: 290px;
  height: 570px;
  border-radius: 36px;
  padding: 14px;
  background: #0f172a;
  box-shadow: 0 34px 80px rgba(15, 23, 42, 0.28);
  border: 6px solid #111827;
}

.ecx-phone-top {
  width: 96px;
  height: 22px;
  background: #020617;
  border-radius: 999px;
  margin: 0 auto 10px;
}

.ecx-phone-screen {
  height: calc(100% - 32px);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(255, 111, 0, 0.22), transparent 45%),
    linear-gradient(180deg, #fff, #f7fafc);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
}

.ecx-phone-screen img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

.ecx-phone-screen span {
  font-weight: 900;
  color: #ff6f00;
}

.ecx-phone-screen strong {
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: -0.05em;
  color: #0f172a;
}

.ecx-phone-screen p {
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

.ecx-download-grid,
.ecx-download-steps,
.ecx-download-cta {
  max-width: 1180px;
  margin: 0 auto 26px;
  padding: 0 20px;
}

.ecx-download-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ecx-download-grid article,
.ecx-download-steps,
.ecx-download-cta {
  background: #fff;
  border-radius: 6px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.ecx-download-grid article {
  padding: 24px;
}

.ecx-download-grid span {
  color: #ff6f00;
  font-weight: 900;
}

.ecx-download-grid h2 {
  color: #0f172a;
  margin: 12px 0 8px;
  letter-spacing: -0.04em;
}

.ecx-download-grid p {
  margin: 0;
  color: #64748b;
  line-height: 1.65;
}

.ecx-download-steps {
  padding: 34px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 26px;
}

.ecx-download-steps h2,
.ecx-download-cta h2 {
  margin: 14px 0 0;
  color: #0f172a;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.ecx-download-steps ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.ecx-download-steps li {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.ecx-download-steps strong {
  color: #0f172a;
}

.ecx-download-steps span,
.ecx-download-cta p {
  color: #64748b;
  line-height: 1.65;
}

.ecx-download-cta {
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 70px;
}

.ecx-download-cta p {
  max-width: 720px;
}

.ecx-download-cta a {
  min-width: 190px;
  min-height: 48px;
  border-radius: 6px;
  background: #0f172a;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 900;
}

@media (max-width: 980px) {
  .ecx-download-hero,
  .ecx-download-steps {
    grid-template-columns: 1fr;
  }

  .ecx-download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ecx-download-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .ecx-download-hero {
    padding-top: 54px;
  }

  .ecx-download-grid {
    grid-template-columns: 1fr;
  }

  .ecx-phone-shell {
    width: 250px;
    height: 500px;
  }

  .ecx-download-logo-large,
  .ecx-download-logo-large img {
    width: 150px !important;
    height: 46px !important;
  }
}
