/* =================================================================
   Scouq - Landing Page
   ================================================================= */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0a0a0a;
  color: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* -----------------------------------------------------------------
   Map background
   ----------------------------------------------------------------- */
#mapBg {
  filter: saturate(0.25) brightness(0.92);
  position: fixed;
  inset: 0;
  z-index: 0;
}

.map-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  /* Vignette: dark in the center (behind hero copy), slightly lighter at the
     edges so the cinematic city flythrough is visible. */
  background: #000000;
  opacity: 0.55;
  pointer-events: none;
}

.map-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 512px 512px;
  mix-blend-mode: normal; opacity: 0;
  pointer-events: none;
}

/* -----------------------------------------------------------------
   Header
   ----------------------------------------------------------------- */
.landing-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  animation: fadeDown 800ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.landing-logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -1px;
  color: #ffffff;
  text-decoration: none;
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.landing-nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  transition: color 150ms ease, background 150ms ease;
  letter-spacing: -0.2px;
}

.landing-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.landing-nav-cta {
  font-size: 14px;
  font-weight: 500;
  color: #0a0a0a;
  background: #ffffff;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 8px;
  transition: background 150ms ease, transform 100ms ease;
  letter-spacing: -0.2px;
}

.landing-nav-cta:hover {
  background: #f0f0f0;
}

.landing-nav-cta:active {
  transform: scale(0.97);
}

/* -----------------------------------------------------------------
   Hero
   ----------------------------------------------------------------- */
.landing-hero {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 0 24px;
  text-align: center;
}

.landing-title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 16px;
  animation: fadeUp 800ms cubic-bezier(0.22, 1, 0.36, 1) 100ms backwards;
}

.landing-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.5);
  max-width: 520px;
  line-height: 1.5;
  margin-bottom: 40px;
  letter-spacing: -0.3px;
  font-weight: 400;
  animation: fadeUp 800ms cubic-bezier(0.22, 1, 0.36, 1) 200ms backwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* -----------------------------------------------------------------
   Search bar
   ----------------------------------------------------------------- */
.landing-search-wrap {
  width: 100%;
  max-width: 560px;
  animation: fadeUp 800ms cubic-bezier(0.22, 1, 0.36, 1) 300ms backwards;
}

.landing-search {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 6px 8px 6px 18px;
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.landing-search:focus-within {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.landing-search-icon {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.35);
}

.landing-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.2px;
}

.landing-search input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.landing-search-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #ffffff;
  border: none;
  color: #0a0a0a;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 150ms ease, transform 100ms ease;
}

.landing-search-btn:hover {
  background: #e8e8e8;
}

.landing-search-btn:active {
  transform: scale(0.95);
}

/* Hints */
.landing-search-hints {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.landing-search-hints > span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
}

.landing-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 4px 10px;
  cursor: pointer;
  font-family: inherit;
  transition: color 150ms ease, background 150ms ease;
  letter-spacing: -0.1px;
}

.landing-hint:hover {
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
}

/* -----------------------------------------------------------------
   Feature pills
   ----------------------------------------------------------------- */
.landing-features {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
  animation: fadeUp 800ms cubic-bezier(0.22, 1, 0.36, 1) 500ms backwards;
}

.landing-feature {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: -0.1px;
}

.landing-feature svg {
  opacity: 0.5;
}

/* -----------------------------------------------------------------
   Auth modal
   ----------------------------------------------------------------- */
.auth-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.auth-modal {
  width: 100%;
  max-width: 380px;
  padding: 32px 28px;
  margin: 0 20px;
  border-radius: 18px;
  background: rgba(20, 20, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(32px) saturate(1.2);
  -webkit-backdrop-filter: blur(32px) saturate(1.2);
  text-align: center;
  transform: translateY(16px) scale(0.97);
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-modal-overlay.visible .auth-modal {
  transform: translateY(0) scale(1);
}

.auth-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color 150ms ease, background 150ms ease;
}

.auth-modal-close:hover {
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
}

.auth-modal-brand {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.auth-modal-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.auth-modal-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 24px;
  letter-spacing: -0.1px;
}

/* Google button */
.auth-modal-google {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  background: #ffffff;
  border: none;
  color: #1f1f1f;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 150ms ease, transform 100ms ease;
}

.auth-modal-google:hover {
  background: #f0f0f0;
}

.auth-modal-google:active {
  transform: scale(0.98);
}

/* Divider */
.auth-modal-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
}

.auth-modal-divider::before,
.auth-modal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.auth-modal-divider span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
  text-transform: lowercase;
}

/* Email form */
.auth-modal-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-modal-input {
  width: 100%;
  height: 46px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 16px;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 150ms ease, background 150ms ease;
}

.auth-modal-input:focus {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.auth-modal-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.auth-modal-submit {
  width: 100%;
  height: 46px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.2px;
  cursor: pointer;
  transition: background 150ms ease, transform 100ms ease;
}

.auth-modal-submit:hover {
  background: rgba(255, 255, 255, 0.14);
}

.auth-modal-submit:active {
  transform: scale(0.98);
}

/* Error */
.auth-modal-error {
  font-size: 13px;
  color: #ef4444;
  text-align: center;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.15);
  display: none;
  margin-top: 10px;
}

.auth-modal-error.visible {
  display: block;
}

/* Email success state */
.auth-email-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.5;
  animation: fadeIn 250ms ease;
}

.auth-email-success svg {
  color: #22c55e;
  flex-shrink: 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Switch link */
.auth-modal-switch {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

.auth-modal-switch a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  margin-left: 4px;
  transition: opacity 150ms ease;
}

.auth-modal-switch a:hover {
  opacity: 0.7;
}

/* -----------------------------------------------------------------
   Footer
   ----------------------------------------------------------------- */
.landing-footer {
  position: relative;
  z-index: 5;
  padding: 32px 32px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.15);
  letter-spacing: -0.1px;
}

.landing-footer a {
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  margin-left: 16px;
  transition: color 150ms ease;
}

.landing-footer a:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* -----------------------------------------------------------------
   Shared section layout
   ----------------------------------------------------------------- */
.landing-section {
  position: relative;
  z-index: 5;
  padding: 100px 24px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-heading {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -1.5px;
  text-align: center;
  margin-bottom: 8px;
  line-height: 1.15;
}

.section-subheading {
  font-size: clamp(14px, 1.6vw, 16px);
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  letter-spacing: -0.2px;
  margin-bottom: 56px;
}

/* -----------------------------------------------------------------
   How It Works
   ----------------------------------------------------------------- */
.steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step-card {
  flex: 1;
  max-width: 300px;
  padding: 32px 28px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  text-align: center;
  transition: background 200ms ease, border-color 200ms ease;
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  color: #8b5cf6;
}

.step-number {
  font-size: 12px;
  font-weight: 600;
  color: rgba(139, 92, 246, 0.6);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.step-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.55;
  letter-spacing: -0.1px;
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 60px;
  color: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  padding-left: 8px;
  padding-right: 8px;
}

/* -----------------------------------------------------------------
   Pricing
   ----------------------------------------------------------------- */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  margin-top: -24px;
}

.pricing-toggle-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: -0.1px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pricing-toggle-label.active {
  color: rgba(255, 255, 255, 0.8);
}

.pricing-save-badge {
  font-size: 11px;
  font-weight: 600;
  color: #16a34a;
  background: rgba(22, 163, 74, 0.12);
  border: 1px solid rgba(22, 163, 74, 0.2);
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: -0.1px;
}

.pricing-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background 200ms ease;
  padding: 0;
}

.pricing-toggle.yearly {
  background: rgba(139, 92, 246, 0.3);
  border-color: rgba(139, 92, 246, 0.4);
}

.pricing-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.pricing-toggle.yearly .pricing-toggle-knob {
  transform: translateX(20px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: start;
}

.pricing-card {
  position: relative;
  padding: 28px 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  display: flex;
  flex-direction: column;
  transition: background 200ms ease, border-color 200ms ease;
}

.pricing-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.pricing-card-popular {
  background: rgba(139, 92, 246, 0.06);
  border-color: rgba(139, 92, 246, 0.25);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.08);
}

.pricing-card-popular:hover {
  background: rgba(139, 92, 246, 0.09);
  border-color: rgba(139, 92, 246, 0.35);
}

.pricing-popular-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
  background: #8b5cf6;
  padding: 3px 14px;
  border-radius: 20px;
  letter-spacing: -0.1px;
  white-space: nowrap;
}

.pricing-card-header {
  margin-bottom: 24px;
}

.pricing-tier {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 6px;
}

.pricing-amount {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1;
}

.pricing-period {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: -0.1px;
}

.pricing-period-once {
  font-size: 13px;
}

.pricing-card-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: -0.1px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}

.pricing-features li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: -0.1px;
  padding-left: 20px;
  position: relative;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.pricing-cta {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.2px;
  cursor: pointer;
  transition: background 150ms ease, transform 100ms ease, border-color 150ms ease;
}

.pricing-cta:active {
  transform: scale(0.97);
}

.pricing-cta-outline {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.pricing-cta-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.pricing-cta-solid {
  background: #8b5cf6;
  border: 1px solid rgba(139, 92, 246, 0.6);
  color: #ffffff;
}

.pricing-cta-solid:hover {
  background: #7c4fe0;
}

/* -----------------------------------------------------------------
   Social Proof
   ----------------------------------------------------------------- */
.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 56px;
  padding: 28px 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1px;
  color: #ffffff;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: -0.1px;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.08);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.testimonial-card {
  padding: 28px 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 200ms ease, border-color 200ms ease;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.testimonial-quote {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  letter-spacing: -0.2px;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.25);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #8b5cf6;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.testimonial-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.testimonial-role {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: -0.1px;
}

/* -----------------------------------------------------------------
   Responsive
   ----------------------------------------------------------------- */
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .landing-header {
    padding: 16px 20px;
  }

  .landing-hero {
    padding: 0 20px;
  }

  .landing-subtitle {
    font-size: 14px;
    margin-bottom: 32px;
  }

  .landing-features {
    flex-direction: column;
    gap: 10px;
    margin-top: 36px;
  }

  .landing-search-hints {
    display: none;
  }

  .auth-modal {
    padding: 28px 24px;
  }

  .landing-section {
    padding: 72px 20px;
  }

  .section-subheading {
    margin-bottom: 36px;
  }

  .steps-row {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .step-card {
    max-width: 100%;
    width: 100%;
  }

  .step-connector {
    padding: 0;
    transform: rotate(90deg);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    gap: 20px;
    padding: 24px 16px;
  }

  .stat-value {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Wave 2: visible keyboard focus on landing controls. */
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid rgba(255,255,255,0.45); outline-offset: 2px; }

/* Visually-hidden utility for screen-reader-only labels. WCAG 1.3.1 / 3.3.2. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   PWA install prompt (landing)
   ============================================================ */
.pwa-install-btn {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  margin-right: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #f5f5f5;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}
.pwa-install-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}
.pwa-install-btn svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.pwa-install-sheet {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 9999;
  transform: translateY(140%);
  transition: transform 240ms cubic-bezier(.2,.8,.2,1), opacity 240ms ease;
  opacity: 0;
  pointer-events: none;
}
.pwa-install-sheet.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.pwa-install-sheet-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 44px 16px 16px;
  border-radius: 16px;
  background: rgba(20, 20, 22, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  color: #f5f5f5;
}
.pwa-install-illus {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #f5f5f5;
}
.pwa-install-copy {
  flex: 1 1 auto;
  min-width: 0;
}
.pwa-install-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
}
.pwa-install-body {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(245, 245, 245, 0.78);
}
.pwa-install-icon-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: -2px;
  margin: 0 2px;
  color: #6ea8ff;
}
.pwa-install-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: transparent;
  border: 0;
  color: rgba(245, 245, 245, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.pwa-install-close:hover {
  color: #f5f5f5;
  background: rgba(255, 255, 255, 0.06);
}
@media (min-width: 640px) {
  .pwa-install-sheet {
    left: auto;
    right: 16px;
    bottom: 16px;
    max-width: 380px;
  }
}

