:root {
  --bg: #fff8e6;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --text: #111111;
  --muted: #575757;
  --line: rgba(17, 17, 17, 0.08);
  --yellow-soft: #fff176;
  --yellow-main: #ffcf22;
  --yellow-deep: #fbc02d;
  --black: #111111;
  --shadow: 0 18px 55px rgba(17, 17, 17, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, 'Avenir Next', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 241, 118, 0.58), transparent 28%),
    radial-gradient(circle at right 18%, rgba(251, 192, 45, 0.22), transparent 26%),
    linear-gradient(180deg, #fffef8 0%, var(--bg) 54%, #ffffff 100%);
}

img {
  display: block;
  max-width: 100%;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.02) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.28;
}

.page-shell {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 22px 52px;
}

.topbar,
.hero,
.problem-solution,
.features,
.download,
.drivers,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.tu-mark {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, var(--yellow-main) 0%, var(--yellow-deep) 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
  box-shadow: var(--shadow);
}

.tu-copy strong,
.tu-copy small {
  display: block;
}

.tu-copy strong {
  font-size: 1rem;
}

.tu-copy small {
  margin-top: 2px;
  color: var(--muted);
}

.topbar-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.08);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  transition: transform 140ms ease, background 180ms ease, opacity 180ms ease;
}

.topbar-pill:hover {
  transform: translateY(-0.5px);
  background: rgba(17, 17, 17, 0.12);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: stretch;
  margin-bottom: 42px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #7f6100;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero h1,
.section-heading h2,
.download h2,
.drivers h2 {
  margin: 0;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero h1 {
  font-size: clamp(2.8rem, 5.7vw, 5.4rem);
  max-width: 11ch;
}

.hero-text,
.info-card p,
.feature-card p,
.download p,
.drivers p,
.footer p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.04rem;
}

.hero-text {
  max-width: 56ch;
  margin: 22px 0 0;
}

.hero-actions,
.drivers-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 220ms ease, background 180ms ease, opacity 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(17, 17, 17, 0.12);
}

.button-primary {
  background: linear-gradient(135deg, var(--yellow-main), var(--yellow-deep));
  color: var(--black);
}

.button-secondary {
  background: var(--black);
  color: #ffffff;
}

.button-whatsapp {
  background: #1fa463;
  color: #ffffff;
}

.trust-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.trust-points li {
  min-height: 92px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.04);
}

.brand-card {
  position: relative;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(17, 17, 17, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 251, 240, 0.14), rgba(255, 251, 240, 0.18)),
    url('hero-prigo-app.jpeg') center center / cover no-repeat;
  box-shadow: var(--shadow);
}

.brand-grid {
  display: none;
}

.brand-overlay {
  position: absolute;
  inset: 0;
  padding: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.04) 42%, rgba(255,255,255,0.2) 100%);
  backdrop-filter: blur(0.8px);
}

.prigo-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 34px rgba(17, 17, 17, 0.14);
}

.prigo-logo-frame {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  flex: 0 0 92px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.12);
  overflow: hidden;
}

.prigo-logo-main {
  width: 92px;
  height: 92px;
  object-fit: cover;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.1));
}

.overlay-kicker {
  margin: 0 0 6px;
  font-size: 0.74rem;
  font-weight: 800;
  color: #7f6100;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.prigo-lockup h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.prigo-lockup p:last-child {
  margin: 8px 0 0;
  font-size: 0.96rem;
  color: var(--muted);
}

.app-icon-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.app-icon-card {
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 28px;
  min-height: 180px;
  box-shadow: 0 18px 30px rgba(17, 17, 17, 0.12);
}

.app-icon-card img {
  width: 100%;
  max-width: 136px;
}

.app-icon-card-light {
  background: rgba(255, 255, 255, 0.96);
}

.app-icon-card-yellow {
  background: linear-gradient(145deg, var(--yellow-main), var(--yellow-deep));
}

.app-icon-card-dark {
  background: rgba(17, 17, 17, 0.98);
}

.problem-solution,
.features,
.download,
.drivers {
  margin-top: 24px;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h2,
.download h2,
.drivers h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.section-heading-center {
  text-align: center;
}

.solution-grid,
.feature-grid,
.store-grid {
  display: grid;
  gap: 18px;
}

.solution-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.feature-card,
.download,
.drivers-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.brand-card,
.info-card,
.feature-card,
.download,
.drivers-card,
.store-card,
.driver-app-preview {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.brand-card:hover,
.info-card:hover,
.feature-card:hover,
.download:hover,
.drivers-card:hover,
.store-card:hover,
.driver-app-preview:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 48px rgba(17, 17, 17, 0.16);
}

.info-card,
.feature-card {
  padding: 26px;
  border-radius: 24px;
}

.problem-card {
  background: linear-gradient(180deg, rgba(17,17,17,0.96), rgba(17,17,17,0.9));
  color: #ffffff;
}

.problem-card p {
  color: rgba(255,255,255,0.78);
}

.solution-card {
  background: linear-gradient(180deg, rgba(255, 241, 118, 0.76), rgba(255,255,255,0.88));
}

.info-card h3,
.feature-card h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--yellow-main), var(--yellow-deep));
  font-weight: 800;
}

.download,
.drivers-card {
  padding: 32px;
  border-radius: 28px;
}

.store-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.store-card {
  display: block;
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 22px;
  background: var(--surface-strong);
  border: 1px solid rgba(17, 17, 17, 0.08);
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.store-card:hover {
  border-color: rgba(17, 17, 17, 0.18);
}

.store-ribbon {
  position: absolute;
  top: 18px;
  right: -42px;
  z-index: 1;
  min-width: 170px;
  padding: 8px 18px;
  background: linear-gradient(135deg, #111111, #2b2b2b);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.2);
  transform: rotate(32deg);
}

.store-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 207, 34, 0.22);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.store-icon-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.driver-app-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.drivers-store-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}

.driver-store-card {
  background: rgba(255, 255, 255, 0.96);
  color: #151515;
}

.driver-store-card .store-ribbon {
  background: linear-gradient(135deg, #7a5d00, #c89100);
  color: #fffdf4;
}

.driver-store-card strong {
  color: #151515;
}

.driver-store-card small {
  color: #5f6670;
}

.driver-store-card .store-badge {
  color: #6f5700;
  background: rgba(255, 223, 118, 0.52);
}

.driver-app-icon {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  border-radius: 18px;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.24);
}

.store-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.12);
}

.store-icon-wrap .store-badge {
  margin-bottom: 0;
}

.store-card strong,
.store-card small {
  display: block;
}

.store-temporary-note {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 207, 34, 0.18);
  border: 1px solid rgba(255, 207, 34, 0.4);
  color: #7a5d00;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.driver-store-card .store-temporary-note {
  background: rgba(255, 223, 118, 0.44);
  border-color: rgba(255, 207, 34, 0.46);
  color: #6f5700;
}

.store-card strong {
  font-size: 1.24rem;
}

.store-card small {
  margin-top: 8px;
  color: var(--muted);
}

.drivers-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, rgba(17,17,17,0.98), rgba(38,38,38,0.96));
  color: #ffffff;
}

.drivers-card .eyebrow,
.drivers-note {
  color: rgba(255, 241, 118, 0.92);
}

.drivers-card p {
  color: rgba(255,255,255,0.78);
}

.drivers-steps {
  margin: 18px 0;
  padding-left: 20px;
  color: rgba(255,255,255,0.9);
}

.drivers-steps li + li {
  margin-top: 10px;
}

.drivers-note {
  margin: 8px 0 0;
  font-weight: 700;
}

.footer {
  margin-top: 32px;
  padding: 24px 0 0;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.footer p {
  margin: 0 0 8px;
}

.footer-legal {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.footer-legal a {
  color: rgba(17, 17, 17, 0.56);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration-color: rgba(17, 17, 17, 0.16);
  text-underline-offset: 3px;
}

.footer-legal a:hover {
  color: rgba(17, 17, 17, 0.72);
  text-decoration-color: rgba(17, 17, 17, 0.4);
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 360ms ease, transform 420ms ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .hero,
  .drivers-card {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 12ch;
  }
}

@media (max-width: 820px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-points,
  .feature-grid,
  .solution-grid,
  .store-grid,
  .app-icon-row {
    grid-template-columns: 1fr;
  }

  .brand-card {
    min-height: 720px;
  }

  .prigo-lockup {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .page-shell {
    padding: 18px 16px 38px;
  }

  .tu-mark {
    width: 56px;
    height: 56px;
    font-size: 1.32rem;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .button,
  .topbar-pill {
    width: 100%;
  }

  .hero-actions,
  .drivers-actions {
    flex-direction: column;
  }

  .drivers-store-grid {
    grid-template-columns: 1fr;
  }

  .brand-card {
    min-height: 650px;
  }

  .download,
  .drivers-card,
  .info-card,
  .feature-card {
    padding: 22px;
  }
}


.download-header-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}

.download-brand-icon {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border-radius: 20px;
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.14);
}


.error-page {
  min-height: calc(100vh - 56px);
  display: grid;
  place-items: center;
}

.error-card {
  max-width: 720px;
  padding: 42px 34px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 18px 55px rgba(17, 17, 17, 0.1);
  text-align: center;
}

.error-card h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.error-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

.error-logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
}

.error-actions {
  justify-content: center;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 18px;
  border-radius: 999px;
  background: #1fa463;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 18px 34px rgba(31, 164, 99, 0.34);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.floating-whatsapp:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 24px 40px rgba(31, 164, 99, 0.4);
  background: #189457;
}

.floating-whatsapp svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

@media (max-width: 560px) {
  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    min-height: 54px;
    padding: 0 16px;
  }
}
