/* Herravo commercial landing */
.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;
}

.landing-page {
  background: #f8fafc;
  color: #0f172a;
}

html {
  scroll-padding-top: 5.5rem;
}

.home-container {
  max-width: 72rem;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Header — solid so page text never shows through while sticky */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  overflow-x: clip;
}

.navbar-inner,
.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.nav-actions,
.site-header__actions.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav-buy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 13px;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.14);
}

.nav-buy-button:hover {
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.18);
}

.site-header .lang-switcher__btn {
  min-height: 42px;
  padding-inline: 13px;
  border-radius: 12px;
}

.brand-link {
  flex-shrink: 0;
  text-decoration: none;
}

.navbar-actions {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.navbar-lang {
  flex-shrink: 0;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0f172a;
  text-decoration: none;
}

.site-header__brand img {
  border-radius: 0.5rem;
}

.site-header__menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #fff;
  color: #475569;
}

.site-header__panel {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  right: 0;
  z-index: 60;
  padding: 1rem 1.25rem 1.25rem;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
  flex-direction: column;
  gap: 1rem;
}

.site-header__panel.is-open {
  display: flex;
}

.site-header__links,
.site-header__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.site-header__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  padding: 0.35rem 0.5rem;
}

.site-header__link:hover {
  color: #7c3aed;
}

@media (min-width: 1024px) {
  .site-header__inner {
    position: relative;
  }

  .site-header__menu-btn {
    display: none;
  }

  .site-header__panel {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    gap: 1rem;
  }

  .site-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
  }

  .navbar-actions {
    flex: 1;
    justify-content: flex-end;
  }
}

@media (max-width: 1023px) {
  .site-header__actions {
    gap: 0.5rem;
  }
}

/* Shared landing tokens */
.lp-eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7c3aed;
}

.lp-gradient {
  background: linear-gradient(135deg, #7c3aed 0%, #9333ea 45%, #c026d3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lp-section {
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .lp-section {
    padding: 4rem 0;
  }
}

.lp-section--muted {
  background: #fff;
}

.lp-section__head {
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.lp-section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.lp-section__head h2 {
  margin: 0.25rem 0 0;
  font-size: clamp(1.5rem, 2.8vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.lp-section__lead {
  margin: 0.65rem 0 0;
  color: #64748b;
  line-height: 1.55;
  font-size: 0.98rem;
}

.lp-btn {
  min-width: 10.5rem;
  justify-content: center;
}

.lp-btn--outline {
  background: #fff;
  border: 1px solid #cbd5e1;
  color: #334155;
}

.lp-btn--outline:hover {
  border-color: #a78bfa;
  color: #6d28d9;
}

.lp-btn:focus-visible,
.lp-cta-final__btn:focus-visible,
.lp-faq__item summary:focus-visible,
.site-footer__nav a:focus-visible,
.site-footer__logout button:focus-visible {
  outline: 2px solid #7c3aed;
  outline-offset: 2px;
}

/* Hero */
.lp-hero {
  position: relative;
  padding: 2rem 0 2.75rem;
  overflow: hidden;
  isolation: isolate;
}

.lp-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 12% 0%, rgba(196, 181, 253, 0.32), transparent 58%),
    radial-gradient(ellipse 55% 40% at 92% 18%, rgba(167, 139, 250, 0.18), transparent 52%),
    linear-gradient(180deg, #faf5ff 0%, #f8fafc 58%, #f8fafc 100%);
  pointer-events: none;
}

.lp-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .lp-hero {
    padding: 3.25rem 0 4rem;
  }

  .lp-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 2.5rem;
  }
}

.lp-hero__copy {
  min-width: 0;
}

.lp-hero__title {
  margin: 0 0 0.9rem;
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 1.12;
}

.lp-hero__lead {
  margin: 0 0 1.25rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: #475569;
  max-width: 32rem;
}

.lp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.lp-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.35rem;
  margin: 1.35rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(124, 58, 237, 0.12);
  list-style: none;
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.35;
}

.lp-hero__proof strong {
  color: #4c1d95;
  font-weight: 800;
  margin-right: 0.2rem;
}

.lp-hero__visual {
  min-width: 0;
}

/* Real Desktop screenshot */
.app-shot {
  position: relative;
  margin: 0;
  min-width: 0;
}

.app-shot__glow {
  position: absolute;
  inset: 8% 4% -6%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.2), transparent 70%);
  filter: blur(28px);
  pointer-events: none;
}

.app-shot__img {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 24px 48px rgba(15, 23, 42, 0.12),
    0 4px 12px rgba(15, 23, 42, 0.06);
  background: #fff;
}

.app-preview__glow {
  position: absolute;
  inset: 10% 5% -5%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18), transparent 70%);
  filter: blur(24px);
  pointer-events: none;
}

.app-preview__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.app-preview__tab {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
}

.app-preview__tab.is-active {
  background: #7c3aed;
  border-color: #7c3aed;
  color: #fff;
}

.app-preview__window {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, 0.15);
  background: #fff;
  box-shadow:
    0 24px 60px rgba(79, 70, 229, 0.14),
    0 4px 16px rgba(15, 23, 42, 0.06);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}

.app-preview__titlebar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.85rem;
  background: linear-gradient(180deg, #f8fafc, #f1f5f9);
  border-bottom: 1px solid #e2e8f0;
}

.app-preview__dots {
  display: inline-flex;
  gap: 0.25rem;
}

.app-preview__dots i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #cbd5e1;
  display: block;
}

.app-preview__dots i:first-child { background: #fca5a5; }
.app-preview__dots i:nth-child(2) { background: #fde047; }
.app-preview__dots i:nth-child(3) { background: #86efac; }

.app-preview__title {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
}

.app-preview__body {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  min-height: 16rem;
}

.app-preview__sidebar {
  padding: 0.75rem 0.35rem;
  background: #fafafa;
  border-right: 1px solid #f1f5f9;
}

.app-preview__logo {
  width: 2rem;
  height: 2rem;
  margin: 0 auto 0.75rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #7c3aed, #9333ea);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.app-preview__sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.55rem;
  color: #94a3b8;
  text-align: center;
}

.app-preview__sidebar li {
  padding: 0.35rem 0.15rem;
  border-radius: 0.35rem;
}

.app-preview__sidebar li.is-active {
  background: #ede9fe;
  color: #6d28d9;
  font-weight: 700;
}

.app-preview__screen {
  padding: 1rem 1.1rem;
  background: #fff;
}

.preview-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7c3aed;
}

.preview-home h3,
.preview-hub h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.preview-home p,
.preview-hub p {
  margin: 0;
  font-size: 0.72rem;
  color: #64748b;
}

.preview-home {
  display: grid;
  gap: 0.85rem;
}

.preview-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.preview-pills span {
  font-size: 0.6rem;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
}

.preview-home__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.preview-card {
  padding: 0.55rem 0.5rem;
  border-radius: 0.55rem;
  font-size: 0.62rem;
  font-weight: 700;
  color: #fff;
}

.preview-card--rose { background: linear-gradient(135deg, #fb7185, #f43f5e); }
.preview-card--sky { background: linear-gradient(135deg, #38bdf8, #0ea5e9); }
.preview-card--violet { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.preview-card--pink { background: linear-gradient(135deg, #f472b6, #ec4899); }

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-top: 0.65rem;
}

.preview-tool {
  padding: 0.45rem 0.35rem;
  border-radius: 0.45rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.58rem;
  font-weight: 600;
  text-align: center;
  color: #475569;
}

.preview-cv {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 0.5rem;
  margin-top: 0.65rem;
  padding: 0.5rem;
  border-radius: 0.55rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.preview-cv__sidebar {
  border-radius: 0.35rem;
  background: linear-gradient(180deg, #7c3aed, #6d28d9);
  min-height: 5.5rem;
}

.preview-cv__line {
  height: 0.35rem;
  border-radius: 999px;
  background: #e2e8f0;
  margin-bottom: 0.35rem;
}

.preview-cv__line--lg {
  width: 70%;
  height: 0.5rem;
  background: #cbd5e1;
}

.preview-cv__block {
  height: 2.5rem;
  border-radius: 0.35rem;
  background: #f1f5f9;
  margin-top: 0.35rem;
}

.preview-downloads {
  margin-top: 0.65rem;
  display: grid;
  gap: 0.35rem;
}

.preview-download-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.45rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.62rem;
  color: #475569;
}

.preview-download-row.is-active {
  border-color: #c4b5fd;
  background: #faf5ff;
}

.preview-download-row span:last-child {
  color: #7c3aed;
  font-weight: 600;
}

/* Benefits */
.lp-section--benefits {
  background: #fff;
  border-top: 1px solid #f1f5f9;
}

.lp-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .lp-benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .lp-benefits {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.lp-benefit {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 100%;
  padding: 1.15rem 1.1rem;
  border-radius: 1rem;
  background: #f8fafc;
  border: 1px solid #e8eef5;
}

.lp-benefit__index {
  display: inline-grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  margin-bottom: 0.2rem;
  border-radius: 0.45rem;
  background: #ede9fe;
  color: #6d28d9;
  font-size: 0.75rem;
  font-weight: 800;
}

.lp-benefit h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0f172a;
}

.lp-benefit p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #64748b;
}

/* Steps */
.lp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .lp-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.lp-step {
  position: relative;
  padding: 1.2rem 1.15rem;
  border-radius: 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  min-width: 0;
}

@media (min-width: 768px) {
  .lp-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 1.85rem;
    right: -0.55rem;
    width: 0.7rem;
    height: 1px;
    background: #ddd6fe;
  }
}

.lp-step__num {
  display: inline-grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  background: #7c3aed;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.lp-step h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.lp-step p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #64748b;
}

/* Catalog */
.lp-catalog {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .lp-catalog {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .lp-catalog {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lp-catalog__item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  min-width: 0;
  min-height: 100%;
  padding: 1.05rem 1.05rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.lp-catalog__item:hover {
  border-color: rgba(124, 58, 237, 0.28);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.lp-catalog__item--featured {
  border-color: rgba(124, 58, 237, 0.22);
  background: linear-gradient(165deg, #faf5ff 0%, #fff 70%);
}

.lp-catalog__body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.lp-catalog__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.lp-catalog__item h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

.lp-catalog__count {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 800;
  color: #7c3aed;
  background: #ede9fe;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  line-height: 1.3;
}

.lp-catalog__item p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #64748b;
}

.module-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.module-icon svg {
  width: 21px;
  height: 21px;
}

.module-icon--pdf { background: #ffe4e6; color: #e11d48; }
.module-icon--images { background: #e0f2fe; color: #0284c7; }
.module-icon--media { background: #ede9fe; color: #7c3aed; }
.module-icon--music { background: #fce7f3; color: #db2777; }
.module-icon--text { background: #e0e7ff; color: #4f46e5; }
.module-icon--ai { background: #fae8ff; color: #c026d3; }
.module-icon--cv { background: #ede9fe; color: #6d28d9; }
.module-icon--security { background: #d1fae5; color: #059669; }
.module-icon--micro { background: #fef3c7; color: #d97706; }
.module-icon--commerce { background: #ffedd5; color: #ea580c; }
.module-icon--web { background: #cffafe; color: #0891b2; }

/* Pricing */
.lp-section--pricing {
  background: linear-gradient(180deg, #f8fafc 0%, #faf5ff 50%, #f8fafc 100%);
}

.lp-offer {
  display: grid;
  gap: 1.5rem;
  max-width: 48rem;
  margin: 0 auto;
  padding: 1.5rem 1.35rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid #e9e4f7;
  box-shadow: 0 16px 40px rgba(79, 70, 229, 0.07);
}

@media (min-width: 768px) {
  .lp-offer {
    grid-template-columns: 1fr 1.05fr;
    padding: 1.85rem 2rem;
    gap: 2rem;
    align-items: center;
  }
}

.lp-offer__label {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #7c3aed;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lp-offer__price-row {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.lp-offer__price {
  font-size: clamp(2.4rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  color: #4c1d95;
  line-height: 1;
}

.lp-offer__once {
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
}

.lp-offer__value {
  margin: 0 0 1.15rem;
  font-size: 0.88rem;
  color: #6d28d9;
  font-weight: 600;
  line-height: 1.4;
}

.lp-offer__cta {
  width: 100%;
  max-width: 16rem;
  justify-content: center;
}

.lp-offer__note {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.4;
}

.lp-offer__features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.lp-offer__features li {
  position: relative;
  padding-left: 1.45rem;
  color: #334155;
  line-height: 1.45;
  font-size: 0.9rem;
  font-weight: 500;
}

.lp-offer__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #7c3aed;
}

/* FAQ */
.lp-section--faq {
  background: #fff;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .lp-section--faq {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }
}

.lp-faq-layout {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .lp-faq-layout {
    grid-template-columns: minmax(12rem, 18rem) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
  }

  .lp-faq-layout .lp-section__head {
    margin-bottom: 0;
    position: sticky;
    top: 5.5rem;
  }
}

.lp-faq {
  display: grid;
  gap: 0;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
}

.lp-faq__item {
  border: 0;
  border-bottom: 1px solid #e2e8f0;
  background: transparent;
  border-radius: 0;
}

.lp-faq__item:last-child {
  border-bottom: 0;
}

.lp-faq__item summary {
  padding: 0.9rem 1.1rem;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  color: #0f172a;
}

.lp-faq__item summary::-webkit-details-marker {
  display: none;
}

.lp-faq__item summary::after {
  content: "+";
  float: right;
  color: #94a3b8;
  font-weight: 500;
  margin-left: 0.75rem;
}

.lp-faq__item[open] summary::after {
  content: "–";
}

.lp-faq__item[open] summary {
  color: #6d28d9;
}

.lp-faq__item p {
  margin: 0;
  padding: 0 1.1rem 0.95rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #64748b;
}

/* Final CTA */
.lp-cta-final {
  padding: 3rem 0;
  text-align: center;
  background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 42%, #9333ea 100%);
  color: #fff;
}

@media (min-width: 768px) {
  .lp-cta-final {
    padding: 3.75rem 0;
  }
}

.lp-cta-final__inner {
  max-width: 32rem;
  margin: 0 auto;
}

.lp-cta-final h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.lp-cta-final p {
  margin: 0.75rem 0 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.lp-cta-final__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.35rem;
  min-height: 2.85rem;
  padding: 0 1.4rem;
  border-radius: 0.75rem;
  background: #fff;
  color: #6d28d9;
  font-weight: 750;
  text-decoration: none;
  border: 0;
  box-shadow: 0 10px 24px rgba(76, 29, 149, 0.2);
}

.lp-cta-final__btn:hover {
  background: #f5f3ff;
  color: #5b21b6;
}

/* Footer */
.site-footer {
  padding: 2.25rem 0 1.75rem;
  background: #0f172a;
  color: #94a3b8;
}

.site-footer__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1.35fr repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.site-footer__brand p {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  color: #64748b;
  max-width: 16rem;
  line-height: 1.45;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: #f8fafc;
  text-decoration: none;
}

.site-footer__logo img {
  border-radius: 0.4rem;
}

.site-footer__title {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.site-footer__nav a,
.site-footer__logout button {
  font-size: 0.875rem;
  color: #cbd5e1;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.site-footer__nav a:hover,
.site-footer__logout button:hover {
  color: #fff;
}

.site-footer__copy {
  margin: 1.75rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid #1e293b;
  font-size: 0.75rem;
  color: #64748b;
}

/* Cookie banner should not cover page text */
body.cookie-banner-visible {
  padding-bottom: 11rem;
}

@media (min-width: 640px) {
  body.cookie-banner-visible {
    padding-bottom: 8.5rem;
  }
}

@media (min-width: 1024px) {
  body.cookie-banner-visible {
    padding-bottom: 6.5rem;
  }
}

@media (max-width: 640px) {
  .lp-hero__actions {
    flex-direction: column;
  }

  .lp-btn,
  .lp-offer__cta,
  .lp-cta-final__btn {
    width: 100%;
  }

  .app-preview__window {
    transform: none;
  }
}

/* Reveal animations */
@media (prefers-reduced-motion: no-preference) {
  .lp-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }

  .lp-reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  .lp-reveal--delay {
    transition-delay: 0.12s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-reveal {
    opacity: 1;
    transform: none;
  }

  .app-preview__window {
    transform: none;
  }
}

@media (max-width: 640px) {
  .lp-hero__actions {
    flex-direction: column;
  }

  .lp-btn {
    width: 100%;
  }

  .app-preview__window {
    transform: none;
  }
}

/* Auth form (login/register pages) */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.auth-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
}

.auth-form__field input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.65rem;
  background: #f8fafc;
  font-size: 0.95rem;
  font-weight: 500;
  color: #0f172a;
  outline: none;
}

.auth-form__field input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.auth-form__field input:focus {
  border-color: #a78bfa;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.auth-form__terms {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0.15rem 0 0.25rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.65rem;
  background: #f8fafc;
  cursor: pointer;
  user-select: none;
}

.auth-form__terms:has(.auth-form__terms-input:checked) {
  border-color: #c4b5fd;
  background: #faf5ff;
}

.auth-form__terms-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.auth-form__terms-box {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.1rem;
  border: 2px solid #cbd5e1;
  border-radius: 0.35rem;
  background: #fff;
  position: relative;
}

.auth-form__terms-box::after {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.02rem;
  width: 0.35rem;
  height: 0.6rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.12s ease;
}

.auth-form__terms-input:checked + .auth-form__terms-box {
  border-color: #7c3aed;
  background: #7c3aed;
}

.auth-form__terms-input:checked + .auth-form__terms-box::after {
  transform: rotate(45deg) scale(1);
}

.auth-form__terms-text {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #475569;
  font-weight: 500;
}

.auth-form__terms-text a {
  color: #7c3aed;
  font-weight: 600;
  text-decoration: none;
}

.auth-form__terms-text a:hover {
  text-decoration: underline;
}

.auth-form__submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.25rem;
}

.auth-form__submit:disabled,
.auth-form__submit[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.auth-form__switch {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.875rem;
  color: #64748b;
}

.auth-form__switch a {
  color: #7c3aed;
  font-weight: 600;
  text-decoration: none;
}

.auth-form__error {
  margin: 0 0 0.85rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.65rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 0.875rem;
}

.auth-form__success {
  margin: 0 0 0.85rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.65rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-size: 0.875rem;
}
