/* ==========================================================================
   Mobile App Landing Page — custom styles
   --------------------------------------------------------------------------
   Drop these rules into your existing css/mobile-app.css (already enqueued in
   functions.php). Then bump the stylesheet version so the cache refreshes.
   The generic layout in the template uses your existing utility classes; only
   the rules below can't be expressed as utilities.
   ========================================================================== */

/* ---------- HERO ---------- */
#mobile-app-landing .kn-hero {
  background: linear-gradient(135deg, #0D2B55 0%, #1558A8 100%);
  position: relative;
  overflow: hidden;
}
#mobile-app-landing .kn-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 500px at 80% -10%, rgba(255, 255, 255, .10), transparent 60%);
  pointer-events: none;
}
#mobile-app-landing .kn-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
#mobile-app-landing .kn-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #bfe0f5;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  padding: 7px 14px;
  border-radius: 9999px;
  margin-bottom: 22px;
}
#mobile-app-landing .kn-eyebrow-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5fd0a6;
  box-shadow: 0 0 0 4px rgba(95, 208, 166, .25);
}
#mobile-app-landing .kn-hero-note {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .62);
  margin-top: 18px;
}

/* ---------- STORE BUTTONS ---------- */
#mobile-app-landing .kn-store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: #003265;
  border: 1px solid #003265;
  border-radius: 9999px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  width: fit-content;
  box-shadow: 0 6px 10px 0 #ddf3fc; /* same as .shadow-custom */
  transition: transform .18s ease, box-shadow .18s ease;
}
#mobile-app-landing .kn-store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 26px -8px rgba(13, 43, 85, .45);
}
#mobile-app-landing .kn-store-btn small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  line-height: 14px;
  opacity: .75;
}

/* ---------- PHONE FRAME (holds a real app screenshot) ---------- */
#mobile-app-landing .kn-phone-stage {
  display: flex;
  justify-content: center;
  position: relative;
}
#mobile-app-landing .kn-phone-stage::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(158, 212, 242, .35), transparent 70%);
  filter: blur(10px);
  z-index: 0;
}
#mobile-app-landing .kn-phone {
  position: relative;
  z-index: 1;
  width: 286px;
  background: #0a1f3d;
  border-radius: 42px;
  padding: 11px;
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06);
}
#mobile-app-landing .kn-phone-screen {
  background: #f4f8fc;
  border-radius: 32px;
  overflow: hidden;
}
#mobile-app-landing .kn-phone-screen img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- AUDIENCE-CARD ICON TILE ---------- */
#mobile-app-landing .kn-audience-ico {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #003265, #008fd1);
  color: #fff;
}

/* ---------- FEATURE ROW ZIGZAG (desktop only; mobile keeps text first) ---------- */
@media (min-width: 768px) {
  #mobile-app-landing .kn-row-reverse > .kn-row-media { order: 1; }
  #mobile-app-landing .kn-row-reverse > .kn-row-copy  { order: 2; }
}

/* ---------- STEP NUMBER TILE ---------- */
#mobile-app-landing .kn-step-num {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #0D2B55;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

/* ---------- LINKS inside editor (wp_kses_post) content ---------- */
#mobile-app-landing .kn-footer-note a,
#mobile-app-landing .kn-section-content a {
  color: #008fd1; /* blue-normal */
  text-decoration: underline;
}

/* ---------- HELP / FOOTER-NOTE CARD ---------- */
#mobile-app-landing .kn-help-card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e6eef6;
  border-radius: 24px;
  padding: 36px 40px;
  text-align: center;
  box-shadow: 0 10px 16px 0 #ddf3fc; /* same as .shadow-custom */
}
#mobile-app-landing .kn-help-ico {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #003265, #1558A8);
  color: #fff;
}
#mobile-app-landing .kn-footer-note {
  font-size: 16px;
  line-height: 1.6;
}
#mobile-app-landing .kn-footer-note a { white-space: nowrap; }

/* ---------- FINAL CTA PANEL ---------- */
#mobile-app-landing .kn-cta-panel {
  background: linear-gradient(135deg, #0D2B55 0%, #1558A8 100%);
  border-radius: 28px;
  padding: 60px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
#mobile-app-landing .kn-cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 360px at 50% -30%, rgba(255, 255, 255, .12), transparent 60%);
}
#mobile-app-landing .kn-cta-panel > * { position: relative; z-index: 1; }
#mobile-app-landing .kn-cta-panel h2 { color: #fff; }
#mobile-app-landing .kn-cta-panel p { color: rgba(255, 255, 255, .85); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 880px) {
  #mobile-app-landing .kn-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  #mobile-app-landing .kn-hero-grid .kn-eyebrow-pill,
  #mobile-app-landing .kn-hero-grid .kn-store-buttons {
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 480px) {
  #mobile-app-landing .kn-store-buttons { flex-direction: column; align-items: center; }
  #mobile-app-landing .kn-store-btn { width: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  #mobile-app-landing * { transition: none !important; }
}