/* =====================================================
   ParkRemit — Global Styles
   ===================================================== */

/* =====================================================
   SEE IT IN ACTION — Workflow Stepper
   ===================================================== */
.pr-workflow-left {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 52px;
}

.pr-step-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 1.2rem;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  -webkit-box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
}

.pr-step-line {
  width: 2px;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#dee2e6),
    to(transparent)
  );
  background: linear-gradient(to bottom, #dee2e6, transparent);
  margin: 6px auto 0;
}

/* =====================================================
   COMING SOON — hidden sections (remove class to publish)
   ===================================================== */
.pr-coming-soon {
  display: none !important;
}

/* ---- Spacing utility ---- */
.py-6 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* ---- Colour tokens ---- */
:root {
  --pr-primary: #1a4f8a;
  --pr-accent: #f0a500;
  --pr-dark: #0d1f35;
}

/* =====================================================
   NAVBAR
   ===================================================== */
.pr-navbar {
  background: linear-gradient(135deg, var(--pr-dark) 0%, #1a3a5e 100%);
  -webkit-box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.pr-logo-icon {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--pr-accent);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
}

.pr-brand-accent {
  color: var(--pr-accent);
}

/* =====================================================
   HERO
   ===================================================== */
.pr-hero {
  min-height: 100vh;
  background-image: url("/assets/images/mobile_park.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll; /* fixed breaks on iOS Safari */
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

/* Overlay — NO backdrop-filter (breaks on many mobile browsers) */
.pr-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 25, 47, 0.65);
  z-index: 0;
}

/* Make sure hero content sits above overlay */
.pr-hero > .container {
  position: relative;
  z-index: 1;
}

.pr-hero-accent {
  color: var(--pr-accent);
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.78) !important;
}

/* Mini dashboard card */
.pr-hero-card {
  background: #fff;
  border-radius: 20px;
  width: 340px;
  overflow: hidden;
  -webkit-animation: pr-float 4s ease-in-out infinite;
  animation: pr-float 4s ease-in-out infinite;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

@-webkit-keyframes pr-float {
  0%,
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
  }
}

@keyframes pr-float {
  0%,
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
  }
}

.pr-avatar {
  width: 28px;
  height: 28px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

/* Scroll cue */
.pr-scroll-cue {
  opacity: 0.85;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
}
.pr-scroll-cue:hover {
  opacity: 1;
}

.pr-bounce {
  display: inline-block;
  -webkit-animation: bounce 1.6s ease-in-out infinite;
  animation: bounce 1.6s ease-in-out infinite;
}

@-webkit-keyframes bounce {
  0%,
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(6px);
    transform: translateY(6px);
  }
}

@keyframes bounce {
  0%,
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(6px);
    transform: translateY(6px);
  }
}

/* =====================================================
   SECTION ALT BACKGROUND
   ===================================================== */
.pr-section-alt {
  background: #f4f7fb;
}

/* =====================================================
   FEATURE CARDS
   ===================================================== */
.pr-feature-card {
  background: #fff;
  -webkit-transition:
    -webkit-transform 0.25s ease,
    -webkit-box-shadow 0.25s ease;
  transition:
    -webkit-transform 0.25s ease,
    -webkit-box-shadow 0.25s ease;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    -webkit-transform 0.25s ease,
    -webkit-box-shadow 0.25s ease;
}

.pr-feature-card:hover {
  -webkit-transform: translateY(-6px);
  transform: translateY(-6px);
  -webkit-box-shadow: 0 12px 32px rgba(26, 79, 138, 0.12) !important;
  box-shadow: 0 12px 32px rgba(26, 79, 138, 0.12) !important;
}

.pr-feature-icon {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 1.35rem;
}

/* =====================================================
   HOW IT WORKS — STEPS
   ===================================================== */
.pr-step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pr-primary), #2e7de6);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-shadow: 0 4px 16px rgba(26, 79, 138, 0.28);
  box-shadow: 0 4px 16px rgba(26, 79, 138, 0.28);
}

/* =====================================================
   BENEFITS
   ===================================================== */
.pr-benefit-icon {
  width: 44px;
  height: 44px;
  font-size: 1rem;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.pr-testimonial-card {
  background: #fff;
  -webkit-transition: -webkit-box-shadow 0.2s ease;
  transition: -webkit-box-shadow 0.2s ease;
  transition: box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
  transition:
    box-shadow 0.2s ease,
    -webkit-box-shadow 0.2s ease;
}

.pr-testimonial-card:hover {
  -webkit-box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
}

.pr-testimonial-avatar {
  width: 46px;
  height: 46px;
  font-size: 0.85rem;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.pr-testimonial-avatar-sm {
  width: 34px;
  height: 34px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

/* =====================================================
   PRICING
   ===================================================== */
.pr-price-card {
  background: #fff;
  -webkit-transition:
    -webkit-transform 0.25s ease,
    -webkit-box-shadow 0.25s ease;
  transition:
    -webkit-transform 0.25s ease,
    -webkit-box-shadow 0.25s ease;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    -webkit-transform 0.25s ease,
    -webkit-box-shadow 0.25s ease;
}

.pr-price-card:hover {
  -webkit-transform: translateY(-4px);
  transform: translateY(-4px);
  -webkit-box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1) !important;
}

.pr-price-featured {
  background: linear-gradient(150deg, var(--pr-primary) 0%, #1c5fa8 100%);
  border: none !important;
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.pr-cta-section {
  background: linear-gradient(
    135deg,
    var(--pr-dark) 0%,
    var(--pr-primary) 100%
  );
}

/* =====================================================
   FOOTER
   ===================================================== */
footer a:hover {
  color: var(--pr-accent) !important;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}

.pr-footer-icon {
  width: 28px;
  height: 28px;
  font-size: 0.7rem;
  color: #fff;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

/* =====================================================
   LAUNCH MODAL
   ===================================================== */
.pr-modal-header {
  background: linear-gradient(135deg, var(--pr-dark) 0%, #1a3a5e 100%);
  padding: 1rem 1.25rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.pr-modal-icon {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pr-accent), #e08c00);
  color: #fff;
  font-size: 1.75rem;
  margin: 0 auto;
}

/* =====================================================
   MOBILE — RESPONSIVE
   ===================================================== */
@media (max-width: 991.98px) {
  /* Hero: ensure background always shows on tablets */
  .pr-hero {
    background-position: center center;
    min-height: 100svh; /* small viewport height for mobile browsers */
  }
}

@media (max-width: 767.98px) {
  .py-6 {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  /* Hero text scaling */
  .pr-hero h1.display-4 {
    font-size: 2rem;
  }
  .pr-hero .lead {
    font-size: 1rem;
  }

  /* Keep background visible — critical fix */
  .pr-hero {
    min-height: 100svh;
    background-position: 60% center;
    /* Force the image to paint on Android WebView & iOS Safari */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }

  /* Hide dashboard card on small screens */
  .pr-hero-card {
    display: none !important;
  }

  /* Scroll cue hidden on small screens */
  .pr-scroll-cue {
    display: none !important;
  }

  /* Stack buttons */
  .pr-hero .d-flex.flex-wrap.gap-3 {
    gap: 0.75rem !important;
  }
  .pr-hero .btn-lg {
    width: 100%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .pr-hero h1.display-4 {
    font-size: 1.75rem;
  }

  /* Stat strip — 2 per row */
  .pr-stat-strip .col-6 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* =====================================================
   LAUNCH MODAL — always lifts off the page
   ===================================================== */

/* Heavy backdrop — dark hero must never bleed through */
.modal-backdrop {
  --bs-backdrop-opacity: 0.85;
  background-color: #000;
}

/* Solid white card on every device */
#launchModal .modal-content {
  background: #fff !important;
  -webkit-box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65) !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65) !important;
}

/* Gold bottom border separates header from body clearly */
#launchModal .modal-header {
  background: linear-gradient(135deg, #0d1f35 0%, #1a3a5e 100%) !important;
  border-bottom: 3px solid #f0a500 !important;
  padding-bottom: 0.85rem !important;
}

/* =====================================================
   HERO BUTTONS — Mobile Centering
   ===================================================== */
/* Stack buttons vertically on all screen sizes */
.col-lg-6 .d-flex.flex-wrap.gap-3.mb-5 {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: center;
}

@media (max-width: 576px) {
  .col-lg-6.text-white {
    text-align: center;
  }

  .col-lg-6 .d-flex.flex-wrap.gap-3.mb-5 {
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
  }

  .col-lg-6 .d-flex.flex-wrap.gap-3.mb-5 a {
    width: 100%;
    text-align: center;
  }

  .col-lg-6 .d-flex.flex-wrap.gap-3.mb-5 a {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    font-size: 0.95rem;
  }

  .col-lg-6 .d-flex.flex-wrap.gap-3.mb-5 a i {
    margin-right: 0.5rem !important;
  }
}
