/**
 * Section-by-section UI — inspired by getlayers.ai (hero), navbar.gallery (nav),
 * supahero.io (social proof), cta.gallery (conversion bands).
 * Version: 2026-09-10
 */

/* ---- Navbar (navbar.gallery): sticky blur, ≤7 links, pill CTA ---- */
body.section-ref-ui .site-header,
body.section-ref-ui .park24-header,
body.section-ref-ui header.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.section-ref-ui .nav-cta,
body.section-ref-ui .park24-header .park24-button,
body.section-ref-ui .header-cta,
body.section-ref-ui .bar .btn-primary.cta-sm {
  border-radius: 999px !important;
  font-weight: 800 !important;
  padding: 10px 18px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

body.section-ref-ui .main-nav .nav-list a,
body.section-ref-ui .park24-nav a,
body.section-ref-ui .desktop-nav a,
body.section-ref-ui .nav nav a:not(.nav-cta) {
  font-size: 14px;
  font-weight: 650;
  opacity: 0.82;
  transition: opacity 0.15s ease, background 0.15s ease;
}

body.section-ref-ui .main-nav .nav-list a:hover,
body.section-ref-ui .park24-nav a:hover,
body.section-ref-ui .desktop-nav a:hover {
  opacity: 1;
}

/* ---- Hero (getlayers.ai): badge, mesh gradient, stat strip ---- */
body.section-ref-ui .hero,
body.section-ref-ui .park24-benchmark-hero,
body.section-ref-ui .deep-hero,
body.section-ref-ui section.hero {
  position: relative;
  overflow: hidden;
}

body.section-ref-ui .hero::before,
body.section-ref-ui .park24-benchmark-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 12% 0%, rgba(255, 255, 255, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 50% at 88% 20%, rgba(255, 200, 80, 0.18), transparent 50%);
  z-index: 0;
}

body.section-ref-ui .hero > *,
body.section-ref-ui .park24-benchmark-hero > * {
  position: relative;
  z-index: 1;
}

body.section-ref-ui .hero-badge,
body.section-ref-ui .park24-kicker-light,
body.section-ref-ui .eyebrow {
  letter-spacing: 0.06em;
}

body.section-ref-ui .hero-stats,
body.section-ref-ui .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

/* ---- Trust / testimonials (supahero-style quote strip) ---- */
.ref-trust {
  padding: 56px 20px;
  background: var(--ref-trust-bg, #f8fafc);
  border-block: 1px solid rgba(15, 23, 42, 0.08);
}

.ref-trust-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.ref-trust-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 28px;
}

.ref-trust-head .eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
}

.ref-trust-head h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.25;
}

.ref-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.ref-trust-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.ref-trust-card blockquote {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #334155;
}

.ref-trust-card footer {
  margin-top: 14px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.02em;
}

/* ---- CTA band (cta.gallery): one action, high contrast ---- */
.ref-cta-band {
  padding: 52px 20px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  color: #f8fafc;
  text-align: center;
}

.ref-cta-band-inner {
  max-width: 720px;
  margin: 0 auto;
}

.ref-cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.15;
}

.ref-cta-band p {
  margin: 0 auto 22px;
  max-width: 520px;
  color: rgba(248, 250, 252, 0.82);
  font-size: 16px;
  line-height: 1.6;
}

.ref-cta-band .ref-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.ref-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #fbbf24;
  color: #172033;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.ref-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 640px) {
  .ref-trust {
    padding: 40px 16px;
  }
  .ref-cta-band {
    padding: 40px 16px;
  }
}
