/*!
 * Template: ParkWise - Parking Management & App (Professional)
 * File: assets/css/style.css
 * Only styles specific to THIS template live here.
 * Shared/reusable rules belong in common/assets/css/common.css
 */

:root {
  --color-bg: #ffffff;
  --color-text: #101828;
  --color-muted: #5b6472;
  --color-navy: #0a1128;
  --color-navy-soft: #0f1b3d;
  --color-soft: #f4f7fb;
  --color-primary: #0b5fff;
  --color-primary-dark: #0743c4;
  --color-teal: #06b6a8;
  --gradient-accent: linear-gradient(135deg, #0b5fff 0%, #06b6a8 100%);
  --border-soft: #e7ecf3;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
}

.fw-black { font-weight: 800; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
}

.text-accent { color: var(--color-primary); }
.text-light-accent { color: #7fb8ff; }

.text-accent-grad {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-light-70 { color: rgba(255, 255, 255, 0.72); }
.bg-soft { background-color: var(--color-soft); }

.btn-accent {
  background: var(--gradient-accent);
  border: none;
  color: #fff;
  font-weight: 600;
}
.btn-accent:hover { color: #fff; filter: brightness(1.06); }

.btn-outline-accent {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 600;
  background: transparent;
}
.btn-outline-accent:hover {
  background: var(--gradient-accent);
  border-color: transparent;
  color: #fff;
}

/* Topbar --------------------------------------------------------------- */
.topbar {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  padding: 0.5rem 0;
}
.topbar-social a {
  color: rgba(255, 255, 255, 0.75);
  margin-left: 0.25rem;
}
.topbar-social a:hover { color: #fff; }

/* Navbar ----------------------------------------------------------------- */
.navbar {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.06);
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  transition: box-shadow 0.3s ease, padding 0.3s ease;
}
.navbar.is-scrolled {
  box-shadow: 0 6px 24px rgba(16, 24, 40, 0.1);
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}
.brand-icon { color: var(--color-primary); }
.navbar .nav-link {
  font-weight: 600;
  color: var(--color-text);
  margin-inline: 0.3rem;
}
.navbar .nav-link.active,
.navbar .nav-link:hover { color: var(--color-primary); }

/* Hero --------------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 100%);
  padding-top: 10rem;
  padding-bottom: 6rem;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11, 95, 255, 0.12) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent 75%);
  z-index: 0;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(11, 95, 255, 0.08);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
}

.hero-stats { max-width: 480px; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--color-navy);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  line-height: 1.2;
}
.store-badge i { font-size: 1.6rem; }
.store-badge strong { display: block; font-size: 0.95rem; }
.store-badge:hover { color: #fff; background: #000; }
.store-badge-light { background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(6px); }
.store-badge-light:hover { background: rgba(255, 255, 255, 0.22); }

/* Phone mockup (hero) ----------------------------------------------------------- */
.phone-showcase {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mock {
  width: 300px;
  background: var(--color-navy);
  border-radius: 40px;
  padding: 14px;
  box-shadow: 0 30px 60px rgba(10, 17, 40, 0.25);
  position: relative;
}

.phone-notch {
  width: 120px;
  height: 22px;
  background: var(--color-navy);
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.phone-screen {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  margin-top: -22px;
  padding-bottom: 1rem;
}

.app-topbar {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 1.75rem 1.25rem 0.5rem;
  color: var(--color-text);
}

.app-search {
  margin: 0.5rem 1.25rem 0.75rem;
  background: var(--color-soft);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.app-map {
  position: relative;
  height: 170px;
  margin: 0 1.25rem 0.75rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #dbeafe, #d1fae5);
  overflow: hidden;
}

.map-pin {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.map-pin span { transform: rotate(45deg); }
.pin-primary { background: var(--color-primary); }
.pin-success { background: #16a34a; }
.pin-warning { background: #f59e0b; }

.map-route {
  position: absolute;
  top: 40%;
  left: 20%;
  width: 55%;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--color-primary) 0 6px, transparent 6px 12px);
  transform: rotate(8deg);
}

.app-card {
  margin: 0 1.25rem;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 0.9rem;
  box-shadow: 0 8px 20px rgba(16,24,40,0.06);
  font-size: 0.85rem;
}

.floating-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(16,24,40,0.15);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.card-1 { top: 12%; left: -6%; }
.card-2 { bottom: 14%; right: -8%; }

/* Trusted strip / wordmarks -------------------------------------------------------- */
.wordmark {
  font-weight: 800;
  font-size: 1.2rem;
  color: #b9c2d0;
  letter-spacing: -0.02em;
}

/* Feature cards ------------------------------------------------------------------- */
.feature-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(16,24,40,0.1);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--gradient-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

/* Steps ------------------------------------------------------------------------------ */
.step-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  height: 100%;
  border: 1px solid var(--border-soft);
}
.step-number {
  display: inline-block;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

/* App showcase mini phones ------------------------------------------------------------- */
.mini-phone-mock {
  display: flex;
  justify-content: center;
}
.mini-phone-screen {
  width: 100%;
  max-width: 340px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 20px 45px rgba(16,24,40,0.1);
}

.list-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--border-soft);
  font-size: 0.9rem;
}
.list-row:last-child { border-bottom: none; }

.pay-summary { font-size: 0.9rem; }

.nav-map {
  position: relative;
  height: 120px;
  background: linear-gradient(135deg, #dbeafe, #d1fae5);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
}
.nav-dot {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}
.nav-dot.start { left: 15%; background: var(--color-primary); }
.nav-dot.end {
  right: 15%;
  background: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
}
.nav-line {
  position: absolute;
  top: 50%;
  left: 22%;
  width: 56%;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--color-primary) 0 6px, transparent 6px 12px);
  transform: translateY(-50%);
}
.nav-eta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-muted);
}

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  margin-bottom: 0.6rem;
  color: var(--color-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.checklist i { color: var(--color-teal); margin-top: 0.2rem; }

/* Business / dashboard section --------------------------------------------------------- */
.business-section {
  background: radial-gradient(circle at 20% 20%, #14224f 0%, var(--color-navy) 60%);
  color: #fff;
}

.dashboard-mock {
  background: var(--color-navy-soft);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.08);
}
.dashboard-header {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  color: rgba(255,255,255,0.6);
}
.dashboard-header .dot {
  width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; display: inline-block;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #22c55e; }

.dashboard-body { padding: 1rem; }
.dash-stat {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.25rem 0.75rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1rem;
}
.dash-stat strong { color: #fff; font-size: 1rem; }
.dash-stat .bar {
  grid-column: 1 / -1;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  overflow: hidden;
}
.dash-stat .bar i {
  display: block;
  height: 100%;
  background: var(--gradient-accent);
}

.dash-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 100px;
  margin-top: 1.5rem;
}
.chart-bar {
  flex: 1;
  background: var(--gradient-accent);
  border-radius: 6px 6px 0 0;
  opacity: 0.85;
}

/* Pricing --------------------------------------------------------------------------------- */
.pricing-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  height: 100%;
  position: relative;
  transition: transform var(--transition-fast);
}
.pricing-card:hover { transform: translateY(-6px); }
.pricing-card.is-featured {
  border-color: var(--color-primary);
  box-shadow: 0 20px 45px rgba(11,95,255,0.18);
}
.popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 999px;
}
.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0.75rem 0;
}
.pricing-card .price span { color: var(--color-text); }
.pricing-card .checklist { margin: 1.25rem 0; }

/* Testimonials ------------------------------------------------------------------------------ */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-soft);
}
.testimonial-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid var(--color-soft);
}
.carousel-control-prev,
.carousel-control-next { width: 5%; }
.carousel-nav-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border-soft);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(16,24,40,0.1);
}

/* FAQ --------------------------------------------------------------------------------------- */
.accordion-button {
  font-weight: 700;
  color: var(--color-text);
}
.accordion-button:not(.collapsed) {
  color: var(--color-primary);
  background-color: rgba(11, 95, 255, 0.06);
}
.accordion-button:focus { box-shadow: none; border-color: var(--border-soft); }
.accordion-item { border-color: var(--border-soft); }

/* Download CTA -------------------------------------------------------------------------------- */
.download-cta {
  position: relative;
  background: var(--color-navy);
  padding: 5rem 0;
  overflow: hidden;
}
.download-cta .hero-pattern {
  background-image: radial-gradient(rgba(255,255,255,0.08) 1.5px, transparent 1.5px);
  mask-image: none;
}

/* Contact ----------------------------------------------------------------------------------------- */
.contact-list li { margin-bottom: 0.75rem; color: var(--color-muted); }
.contact-list i { color: var(--color-primary); margin-right: 0.5rem; width: 1.25rem; }

.contact-form .form-control,
.contact-form .form-select {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  padding: 0.75rem 1rem;
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(11, 95, 255, 0.15);
}

/* Footer -------------------------------------------------------------------------------------------- */
.footer {
  background: var(--color-navy);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: rgba(255,255,255,0.7); }
.footer-links a:hover { color: #fff; }
.footer-divider { border-color: rgba(255,255,255,0.12); margin: 2.5rem 0 1.5rem; }
.footer-legal { color: rgba(255,255,255,0.7); }
.footer-legal:hover { color: #fff; }

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  margin-right: 0.5rem;
}
.social-links a:hover { background: var(--gradient-accent); }

.newsletter-form .form-control {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  border: none;
}
.newsletter-form .btn {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
