:root {
  --pav-upgrade-bg: #050710;
  --pav-upgrade-panel: rgba(255, 255, 255, 0.045);
  --pav-upgrade-border: rgba(255, 255, 255, 0.11);
  --pav-upgrade-primary: #18e7ff;
  --pav-upgrade-blue: #3468ff;
  --pav-upgrade-text: #f7f9ff;
  --pav-upgrade-muted: rgba(237, 242, 255, 0.64);
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: clip;
}

.pav-seo-fallback {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 7rem 1.5rem 4rem;
  background: #050710;
  color: #fff;
  text-align: center;
  font-family: Inter, system-ui, sans-serif;
}

.pav-seo-fallback > div {
  max-width: 850px;
}

.pav-seo-fallback h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  line-height: 0.98;
}

.pav-seo-fallback p {
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1rem, 2vw, 1.3rem);
}

.pav-hero-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: -1.25rem 0 1.5rem;
}

.pav-proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 36px;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(24, 231, 255, 0.22);
  border-radius: 999px;
  background: rgba(24, 231, 255, 0.075);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.pav-proof-pill::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pav-upgrade-primary);
  box-shadow: 0 0 14px var(--pav-upgrade-primary);
  content: "";
}

.pav-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: -1.2rem;
}

.pav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.9rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 800 0.95rem/1 Inter, system-ui, sans-serif;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.pav-button:hover {
  transform: translateY(-2px);
}

.pav-button--primary {
  background: linear-gradient(135deg, var(--pav-upgrade-primary), #55a4ff);
  color: #02050c;
  box-shadow: 0 14px 42px rgba(24, 231, 255, 0.2);
}

.pav-button--secondary {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  backdrop-filter: blur(14px);
}

.pav-hero-note {
  width: 100%;
  margin: 0.2rem 0 0;
  color: rgba(255, 255, 255, 0.48);
  font: 600 0.76rem/1.5 Inter, system-ui, sans-serif;
}

.pav-hero-speed {
  color: var(--pav-upgrade-primary);
  font: 700 0.82rem/1.5 Inter, system-ui, sans-serif;
  text-decoration: none;
  border-bottom: 1px solid rgba(24, 231, 255, 0.3);
  transition: border-color 180ms ease;
}

.pav-hero-speed:hover {
  border-color: var(--pav-upgrade-primary);
}

.pav-upgrade-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 8rem) 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  background: var(--pav-upgrade-bg);
  color: var(--pav-upgrade-text);
  font-family: Inter, system-ui, sans-serif;
}

.pav-upgrade-section::before {
  position: absolute;
  z-index: -1;
  top: 4%;
  left: 50%;
  width: min(850px, 80vw);
  height: 420px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 231, 255, 0.12), transparent 68%);
  filter: blur(22px);
  content: "";
  pointer-events: none;
}

.pav-upgrade-container {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.pav-upgrade-eyebrow {
  margin: 0 0 0.9rem;
  color: var(--pav-upgrade-primary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pav-upgrade-heading {
  max-width: 880px;
  margin: 0;
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-size: clamp(2.25rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.pav-upgrade-heading span {
  background: linear-gradient(110deg, #fff 15%, var(--pav-upgrade-primary) 68%, #6a7dff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pav-upgrade-lede {
  max-width: 690px;
  margin: 1.35rem 0 0;
  color: var(--pav-upgrade-muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.75;
}

.pav-experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  margin-top: 3.5rem;
}

.pav-browser-card {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 30px;
  background:
    radial-gradient(circle at 72% 26%, rgba(52, 104, 255, 0.3), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.02));
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.34);
}

.pav-browser-top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  height: 54px;
  padding: 0 1rem;
  border-bottom: 1px solid rgba(255,255,255,.09);
  background: rgba(4, 6, 15, 0.72);
}

.pav-browser-top i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.pav-browser-address {
  margin-left: 0.55rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.74rem;
}

.pav-browser-body {
  padding: 2.4rem;
}

.pav-browser-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  font-weight: 800;
}

.pav-browser-brand b {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--pav-upgrade-primary), var(--pav-upgrade-blue));
  box-shadow: 0 0 26px rgba(24, 231, 255, 0.45);
}

.pav-browser-body h3 {
  max-width: 480px;
  margin: 4rem 0 1rem;
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.pav-browser-body p {
  max-width: 440px;
  color: var(--pav-upgrade-muted);
  line-height: 1.65;
}

.pav-browser-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 2rem;
}

.pav-browser-metrics div {
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 15px;
  background: rgba(3, 6, 15, 0.48);
}

.pav-browser-metrics strong,
.pav-browser-metrics small {
  display: block;
}

.pav-browser-metrics strong {
  margin-bottom: 0.3rem;
  color: var(--pav-upgrade-primary);
  font-size: 0.92rem;
}

.pav-browser-metrics small {
  color: rgba(255,255,255,.46);
  font-size: 0.66rem;
}

.pav-process-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pav-process-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.35rem;
  border: 1px solid var(--pav-upgrade-border);
  border-radius: 20px;
  background: var(--pav-upgrade-panel);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.pav-process-item:hover {
  transform: translateX(4px);
  border-color: rgba(24, 231, 255, 0.33);
  background: rgba(24, 231, 255, 0.055);
}

.pav-process-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(24, 231, 255, 0.25);
  border-radius: 14px;
  color: var(--pav-upgrade-primary);
  font-size: 0.77rem;
  font-weight: 900;
}

.pav-process-item h3 {
  margin: 0 0 0.35rem;
  color: #fff;
  font-size: 1rem;
}

.pav-process-item p {
  margin: 0;
  color: var(--pav-upgrade-muted);
  font-size: 0.87rem;
  line-height: 1.6;
}

.pav-experience-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.pav-value-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 4rem;
  overflow: hidden;
  border: 1px solid var(--pav-upgrade-border);
  border-radius: 22px;
  background: rgba(255,255,255,.025);
}

.pav-value-strip div {
  padding: 1.3rem;
  border-right: 1px solid var(--pav-upgrade-border);
}

.pav-value-strip div:last-child {
  border-right: 0;
}

.pav-value-strip strong,
.pav-value-strip small {
  display: block;
}

.pav-value-strip strong {
  margin-bottom: 0.35rem;
  color: #fff;
  font-size: 0.9rem;
}

.pav-value-strip small {
  color: var(--pav-upgrade-muted);
  line-height: 1.45;
}

.pav-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  margin-top: 2.8rem;
}

.pav-price-card {
  position: relative;
  min-height: 255px;
  padding: 1.45rem;
  border: 1px solid var(--pav-upgrade-border);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
}

.pav-price-card--featured {
  border-color: rgba(24, 231, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 22px 60px rgba(24,231,255,.08);
}

.pav-price-badge {
  display: inline-flex;
  margin-bottom: 1.1rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(24, 231, 255, 0.1);
  color: var(--pav-upgrade-primary);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pav-price-card h3 {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
}

.pav-price {
  margin: 1.25rem 0 0.75rem;
  font-family: Outfit, Inter, sans-serif;
  font-size: 2.55rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.pav-price small {
  color: var(--pav-upgrade-muted);
  font-size: 0.7rem;
  font-weight: 600;
}

.pav-price-card p {
  margin: 0;
  color: var(--pav-upgrade-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.pav-pricing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  color: var(--pav-upgrade-muted);
  font-size: 0.82rem;
}

.pav-faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 860px;
  margin-top: 2.5rem;
}

.pav-faq-item {
  border: 1px solid var(--pav-upgrade-border);
  border-radius: 18px;
  background: var(--pav-upgrade-panel);
}

.pav-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.3rem;
  color: #fff;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

.pav-faq-item summary::-webkit-details-marker {
  display: none;
}

.pav-faq-item summary::after {
  flex: 0 0 auto;
  color: var(--pav-upgrade-primary);
  font-size: 1.2rem;
  content: "+";
}

.pav-faq-item[open] summary::after {
  content: "−";
}

.pav-faq-item p {
  margin: 0;
  padding: 0 1.3rem 1.25rem;
  color: var(--pav-upgrade-muted);
  line-height: 1.65;
}

.pav-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms cubic-bezier(.2,.8,.2,1), transform 650ms cubic-bezier(.2,.8,.2,1);
}

.pav-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.pav-mobile-demo {
  position: fixed;
  z-index: 80;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pav-upgrade-primary), #55a4ff);
  color: #02050c;
  box-shadow: 0 18px 55px rgba(0,0,0,.48);
  font: 850 0.83rem/1 Inter, system-ui, sans-serif;
  text-decoration: none;
}

@media (max-width: 920px) {
  .pav-experience-grid {
    grid-template-columns: 1fr;
  }

  .pav-pricing-grid,
  .pav-value-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .pav-value-strip div:nth-child(2) {
    border-right: 0;
  }

  .pav-value-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--pav-upgrade-border);
  }
}

@media (max-width: 640px) {
  .pav-upgrade-section {
    padding: 4.5rem 1rem;
  }

  .pav-hero-proof {
    gap: 0.4rem;
    margin-top: -0.5rem;
  }

  .pav-proof-pill {
    min-height: 32px;
    padding: 0.38rem 0.65rem;
    font-size: 0.68rem;
  }

  .pav-hero-actions {
    width: min(100%, 370px);
    margin-inline: auto;
  }

  .pav-hero-actions .pav-button {
    width: 100%;
  }

  .pav-browser-card {
    min-height: 440px;
    border-radius: 22px;
  }

  .pav-browser-body {
    padding: 1.5rem;
  }

  .pav-browser-body h3 {
    margin-top: 3rem;
  }

  .pav-browser-metrics {
    grid-template-columns: 1fr;
  }

  .pav-browser-metrics div:nth-child(n + 3) {
    display: none;
  }

  .pav-pricing-grid,
  .pav-value-strip {
    grid-template-columns: 1fr;
  }

  .pav-value-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--pav-upgrade-border);
  }

  .pav-value-strip div:last-child {
    border-bottom: 0;
  }

  .pav-pricing-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .pav-mobile-demo {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .pav-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .pav-button,
  .pav-process-item {
    transition: none;
  }
}


/*
 * Keep the React hero in a stable visual order when its keyed translated
 * heading and paragraph are recreated after switching EL / EN.
 */
#hero > .relative.z-10 {
  display: flex;
  flex-direction: column;
}

#hero > .relative.z-10 > .inline-flex {
  order: 10;
}

#hero > .relative.z-10 > h1 {
  order: 20;
}

#hero > .relative.z-10 > .pav-hero-proof {
  order: 30;
}

#hero > .relative.z-10 > p {
  order: 40;
}

#hero > .relative.z-10 > .pav-hero-actions {
  order: 50;
}

@media (max-width: 640px) {
  #hero > .relative.z-10 > h1 {
    margin-bottom: 1.5rem;
  }

  #hero > .relative.z-10 > .pav-hero-proof {
    margin-top: 0;
    margin-bottom: 1.5rem;
  }

  #hero > .relative.z-10 > p {
    margin-bottom: 3rem;
  }

  #hero > .relative.z-10 > .pav-hero-actions {
    margin-top: 0;
  }
}

/*
 * Visual fixes (Oct 2026): the proof pills no longer pull up into the H1,
 * the desktop H1 is sized so the whole hero fits a laptop screen, and the
 * decorative scroll line stays out of the buttons.
 */
#hero > .relative.z-10 > .pav-hero-proof {
  margin-top: 0;
}

@media (min-width: 768px) {
  #hero > .relative.z-10 > h1 {
    max-width: 1040px;
    margin-bottom: 1.75rem;
    font-size: clamp(3.25rem, 5.6vw, 5.25rem);
    line-height: 1.08;
    text-wrap: balance;
  }

  #hero > .relative.z-10 > .inline-flex {
    margin-bottom: 1.75rem;
  }

  #hero > .relative.z-10 > p {
    margin-bottom: 2.5rem;
  }
}

#hero > .relative.z-10 > h1 {
  text-wrap: balance;
}

#hero > .absolute.bottom-10 {
  display: none;
}

/* Floating buttons stay out of the way until the visitor scrolls past the hero. */
.pav-mobile-demo,
#pavdev-faq {
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

@media (max-width: 900px) {
  html.pav-hero-in-view .pav-mobile-demo,
  html.pav-hero-in-view #pavdev-faq {
    visibility: hidden;
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
  }
}

/* Footer: logo, links and copyright in one tidy row (stacked on phones). */
.pav-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.pav-footer-links .pavdev-review-footer-link,
.pav-footer-links .pavdev-legal-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.85rem;
}

.pav-footer-links a:hover {
  color: #fff;
}

/* Leave room under the footer so the floating buttons never cover it. */
footer.py-12 {
  padding-bottom: calc(6rem + env(safe-area-inset-bottom));
}

/* A heading made of a single span stays white (only the secondary span of a
   two-part title is muted), and the Instagram tag is a real button. */
.mp-title > span:only-child {
  color: inherit;
  font-weight: inherit;
}

.mp-tag--link {
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mp-tag--link:hover,
.mp-tag--link:focus-visible {
  background: #4fe0e4;
  color: #05050d;
}
