/* CRMGym Mobile App landing + shared store badges */

.ma-eyebrow,
.home-mapp-panel .ma-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary, #f97316);
}

.ma-landing .ma-breadcrumb {
  padding-top: 1rem;
  margin-bottom: 0;
}

.ma-landing .ma-breadcrumb .breadcrumb {
  margin-bottom: 0;
  background: transparent;
  padding: 0;
}

.ma-hero {
  position: relative;
  padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(720px 320px at 88% 12%, color-mix(in srgb, var(--primary, #f97316) 22%, transparent), transparent 58%),
    linear-gradient(145deg, #0b1220 0%, #121826 48%, #1a2234 100%);
  color: #f8fafc;
  overflow: hidden;
}

.ma-hero .ma-title {
  margin: 0 0 0.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(1.75rem, 3.4vw, 2.55rem);
  line-height: 1.15;
  color: #fff;
}

.ma-hero .ma-lead {
  margin: 0 0 1.35rem;
  max-width: 34rem;
  color: rgba(248, 250, 252, 0.78);
  font-size: 1.05rem;
  line-height: 1.55;
}

.ma-phone-stage {
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  padding: 1rem;
  min-height: 160px;
}

.ma-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.ma-shot--card {
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.1);
  border: 1px solid rgba(16, 24, 40, 0.08);
}

.ma-section-copy {
  color: var(--home-muted, #5b6575);
  max-width: 36rem;
}

.ma-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.ma-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.35rem;
  color: var(--home-ink, #121826);
}

.ma-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--primary, #f97316);
}

.ma-chip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .ma-chip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ma-chip-grid li {
  background: #fff;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font-weight: 600;
  color: var(--home-ink, #121826);
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.04);
}

.ma-feature-card {
  padding: 1.35rem 1.4rem;
}

.ma-feature-card .ma-card-title {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  font-weight: 800;
}

.ma-feature-card p {
  margin: 0;
  color: var(--home-muted, #5b6575);
}

.ma-ops-card {
  display: grid;
  place-items: center;
  min-height: 5.5rem;
  padding: 1rem;
  text-align: center;
  font-weight: 700;
}

.ma-download-panel {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: 18px;
  background:
    radial-gradient(520px 220px at 50% 0%, color-mix(in srgb, var(--primary, #f97316) 18%, transparent), transparent 60%),
    linear-gradient(160deg, #0f172a, #1e293b);
  color: #f8fafc;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
}

.ma-download-panel .title {
  color: #fff;
  margin-bottom: 0.75rem;
}

.ma-dl-note {
  color: rgba(248, 250, 252, 0.78);
  margin: 0 auto 1.25rem;
  max-width: 32rem;
}

.ma-download-panel .store-links {
  justify-content: center;
  margin-bottom: 1rem;
}

.ma-qr-hint {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
}

.ma-smart-link {
  color: #fdba74;
  font-weight: 700;
  text-decoration: none;
}

.ma-smart-link:hover,
.ma-smart-link:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.ma-b2b-cta {
  margin-top: 0.25rem;
}

/* Homepage promo banner */
.home-mapp-banner {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.home-mapp-panel {
  margin: 0.25rem 0;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: 18px;
  background:
    radial-gradient(640px 280px at 100% 0%, color-mix(in srgb, var(--primary, #f97316) 24%, transparent), transparent 55%),
    linear-gradient(135deg, #0b1220 0%, #151c2c 55%, #1b2438 100%);
  color: #f8fafc;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.22);
  overflow: hidden;
}

.home-mapp-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
}

.home-mapp-desc {
  margin: 0 0 1.25rem;
  color: rgba(248, 250, 252, 0.78);
  max-width: 36rem;
  line-height: 1.55;
}

.home-mapp-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
}

.home-mapp-visual {
  border-radius: 16px;
  background: transparent;
  border: none;
  padding: 0;
  min-height: 140px;
  overflow: visible;
}

.home-mapp-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.ma-phone-stage--store {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  min-height: 0;
}

.ma-feature-shot,
.ma-ops-visual {
  margin-top: 1rem;
}

.ma-ops-visual {
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}

/* App Store promotional screenshots */
.ma-store-shots {
  --ma-shot-gap: 0.65rem;
  display: grid;
  gap: var(--ma-shot-gap);
  width: 100%;
  margin: 0;
}

.ma-store-shot {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  background: #0b1220;
}

.ma-store-shot-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.ma-store-shots--single {
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}

.ma-store-shots--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.ma-store-shots--pair .ma-store-shot:nth-child(n + 3) {
  display: none;
}

@media (min-width: 768px) {
  .ma-store-shots--pair:has(.ma-store-shot:nth-child(3)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-ia #mobile .ma-store-shots--pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-ia #mobile .ma-store-shots--pair .ma-store-shot:nth-child(n + 3) {
    display: block;
  }
}

.ma-store-shots--stack {
  position: relative;
  display: block;
  min-height: 18rem;
}

.ma-store-shots--stack .ma-store-shot {
  width: min(78%, 17.5rem);
  margin: 0 auto;
}

.ma-store-shots--stack .ma-store-shot--1 {
  position: relative;
  z-index: 3;
}

.ma-store-shots--stack .ma-store-shot--2 {
  position: absolute;
  left: 4%;
  top: 10%;
  z-index: 2;
  width: min(62%, 14rem);
  transform: rotate(-6deg);
  opacity: 0.95;
}

.ma-store-shots--stack .ma-store-shot--3 {
  position: absolute;
  right: 2%;
  top: 14%;
  z-index: 1;
  width: min(58%, 13rem);
  transform: rotate(7deg);
  opacity: 0.9;
}

.ma-store-shots--stack .ma-store-shot--4 {
  display: none;
}

@media (max-width: 575.98px) {
  .ma-store-shots--stack {
    min-height: 0;
  }

  .ma-store-shots--stack .ma-store-shot--1 {
    width: 100%;
  }

  .ma-store-shots--stack .ma-store-shot--2,
  .ma-store-shots--stack .ma-store-shot--3 {
    display: none;
  }

  .ma-store-shots--pair {
    grid-template-columns: 1fr;
  }

  .ma-store-shots--pair .ma-store-shot:nth-child(n + 2) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ma-store-shots--stack .ma-store-shot--2,
  .ma-store-shots--stack .ma-store-shot--3 {
    transform: none;
  }
}

.home-mobile-feat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 1.15rem 0 1.25rem;
}

@media (min-width: 576px) {
  .home-mobile-feat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.home-mobile-feat {
  padding: 0.95rem 1rem;
  height: auto;
}

.home-mobile-feat h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  font-weight: 800;
}

.home-mobile-feat p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--home-muted, #5b6575);
  line-height: 1.4;
}

/* Store badges */
.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: stretch;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  background: #0b0f16;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-decoration: none !important;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.store-badge:hover,
.store-badge:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.4);
  background: #141a24;
  color: #fff !important;
}

.store-badge i {
  font-size: 1.35rem;
  line-height: 1;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-badge-eyebrow {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.75;
}

.store-badge-name {
  font-size: 0.95rem;
  font-weight: 700;
}

.store-links--sm .store-badge {
  min-height: 40px;
  padding: 0.35rem 0.7rem;
}

.store-links--sm .store-badge i {
  font-size: 1.15rem;
}

.store-links--sm .store-badge-name {
  font-size: 0.85rem;
}

.store-links--lg .store-badge {
  min-height: 52px;
  padding: 0.55rem 1rem;
}

@media (max-width: 991.98px) {
  .ma-hero .order-1 {
    order: 1;
  }

  .ma-hero .order-2 {
    order: 2;
  }

  .home-mapp-panel .order-1 {
    order: 1;
  }

  .home-mapp-panel .order-2 {
    order: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .store-badge,
  .home-ia .home-card {
    transition: none;
  }

  .store-badge:hover,
  .store-badge:focus-visible {
    transform: none;
  }
}
