/* Paid-search landing pages. Builds on the Post page layout in site.css. */
.landing-hero .start-form {
  max-width: 540px;
  margin: 0;
}
.landing-hero .reassurance {
  justify-content: flex-start;
}
.landing-hero-visual {
  padding-top: 40px;
}
.landing-hero .sticker-one {
  top: 10px;
}

/* Instagram profile illustration */
.lp-profile {
  position: relative;
  max-width: 360px;
  margin: auto;
  padding: 16px 14px 14px;
  background: #fff;
  border: 1px solid #ffe8f0;
  border-radius: 30px;
  box-shadow: 0 30px 65px #654b8417;
  transform: rotate(3deg);
}
.lp-profile-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 4px 14px;
}
.lp-profile-top b {
  display: block;
  font-size: 14px;
}
.lp-profile-top small {
  font-size: 12px;
  color: #4f4a56;
}
.lp-avatar {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: none;
  border-radius: 50%;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #ff4d8d, #f94787, #ffc46b) border-box;
  border: 3px solid transparent;
}
.lp-highlights {
  display: flex;
  gap: 14px;
  padding: 0 4px 14px;
  font-size: 11px;
  color: #4f4a56;
  text-align: center;
}
.lp-highlights i {
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 auto 5px;
  padding: 2px;
  border: 1px solid #ffe8f0;
  border-radius: 50%;
}
.lp-highlights img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.lp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  border-radius: 12px;
  overflow: hidden;
}
.lp-grid figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  background: #ffe8f0;
}
.lp-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lp-grid figure[data-kind]::after {
  position: absolute;
  top: 6px;
  right: 7px;
  font-size: 13px;
  color: #fff;
  text-shadow: 0 1px 4px #0006;
}
.lp-grid figure[data-kind='carousel']::after {
  content: '❐';
}
.lp-grid figure[data-kind='reel']::after {
  content: '▶';
  font-size: 11px;
}

/* Facebook page illustration */
.lp-page {
  position: relative;
  max-width: 380px;
  margin: auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ffe8f0;
  border-radius: 28px;
  box-shadow: 0 30px 65px #654b8417;
  transform: rotate(3deg);
}
.lp-page-cover {
  display: block;
  width: 100%;
  height: 110px;
  object-fit: cover;
}
.lp-page-id {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: -30px;
  padding: 0 16px 12px;
}
.lp-page-id .lp-avatar {
  width: 62px;
  height: 62px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #ff4d8d, #f94787, #ffc46b) border-box;
}
.lp-page-id > span:last-child {
  padding-top: 34px;
}
.lp-avatar-square {
  border-radius: 14px;
}
.lp-page-id b {
  display: block;
  font-size: 15px;
}
.lp-page-id small {
  font-size: 12px;
  color: #4f4a56;
}
.lp-page-tabs {
  display: flex;
  gap: 18px;
  padding: 0 16px 10px;
  border-bottom: 1px solid #f1eff3;
  font-size: 13px;
  font-weight: 800;
  color: #4f4a56;
}
.lp-page-tabs span:first-child {
  color: #4f4a56;
  box-shadow: 0 12px 0 -9px #f94787;
}
.lp-page .lp-fb-post {
  padding: 12px 14px 14px;
}

/* Facebook post: text above the image, reactions below */
.lp-fb-text {
  margin: 0 4px 10px;
  font-size: 13px;
  line-height: 1.55;
  color: #c81e5b;
}
.lp-fb-post .lp-media {
  aspect-ratio: 1 / 1;
}
.lp-page .lp-media {
  aspect-ratio: 16 / 10;
}
.lp-fb-reactions {
  display: flex;
  justify-content: space-around;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid #f1eff3;
  font-size: 13px;
  font-weight: 800;
  color: #4f4a56;
}

/* Long-form guide for search: readable text with internal links */
.lp-guide {
  padding-top: 60px;
  padding-bottom: 65px;
  border-top: 1px solid #ffe8f0;
}
.lp-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.lp-guide-grid article {
  padding: 30px;
  background: #fff;
  border: 1px solid #f1eff3;
  border-radius: 23px;
}
.lp-guide-grid h3 {
  margin: 14px 0 10px;
  font-size: 22px;
  letter-spacing: -0.6px;
}
.lp-guide-grid p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.75;
  color: #4f4a56;
}
.lp-guide-grid a {
  font-size: 14px;
  font-weight: 800;
  color: #4f4a56;
}
.lp-guide-grid a:hover {
  text-decoration: underline;
}

/* Format panel stage */
.format-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 30px 28px;
  background: radial-gradient(ellipse at 50% 35%, #ffe8f0, #ffe8f0 70%);
  min-width: 0;
}
.lp-phone {
  width: 100%;
  max-width: 300px;
  background: #fff;
  border: 1px solid #ffe8f0;
  border-radius: 24px;
  box-shadow: 0 26px 55px #654b841c;
  padding: 11px;
  animation: format-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lp-phone[hidden] {
  display: none;
}
@keyframes format-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}
.lp-phone-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 3px 4px 11px;
  font-size: 14px;
  font-weight: 800;
}
.lp-phone-head small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #4f4a56;
}
.lp-phone-head > span:last-child {
  margin-left: auto;
  font-size: 12px;
  color: #4f4a56;
}
.lp-media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 13px;
}
.lp-phone-foot {
  padding: 11px 5px 4px;
}
.lp-phone-foot > span {
  font-size: 20px;
}
.lp-phone-foot p {
  margin: 7px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #4f4a56;
}
.format-note {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.4px;
  color: #4f4a56;
}

/* Carousel */
.lp-slides {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 13px;
  aspect-ratio: 1092 / 1440;
}
.lp-slides::-webkit-scrollbar {
  display: none;
}
.lp-slides img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
}
.lp-slides:focus-visible {
  outline: 3px solid #ff4d8d;
  outline-offset: 3px;
}
.lp-slide-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 2px 2px;
}
.lp-slide-controls button {
  width: 34px;
  height: 34px;
  border: 1px solid #ffe8f0;
  border-radius: 50%;
  background: #fff;
  color: #c81e5b;
  font: inherit;
  cursor: pointer;
}
.lp-slide-controls button:disabled {
  opacity: 0.35;
  cursor: default;
}
.lp-dots {
  display: flex;
  gap: 5px;
}
.lp-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffe8f0;
  transition: background 0.2s;
}
.lp-dots i.active {
  background: #f94787;
}

/* Vertical formats: Reel and Story */
.lp-vertical {
  position: relative;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  max-width: 270px;
  background: #19151d;
  color: #fff;
}
.lp-vertical .lp-media {
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
}
.lp-reel-scenes img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: reel-scene 9s infinite;
}
.lp-reel-scenes img:nth-child(2) {
  animation-delay: 3s;
}
.lp-reel-scenes img:nth-child(3) {
  animation-delay: 6s;
}
@keyframes reel-scene {
  0% {
    opacity: 0;
    transform: scale(1.12);
  }
  6%,
  33% {
    opacity: 1;
  }
  40%,
  100% {
    opacity: 0;
    transform: scale(1);
  }
}
.lp-reel::before,
.lp-story::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(#19151d59, #0000 18%, #0000 45%, #19151dcc);
}
.lp-reel > :not(.lp-reel-scenes),
.lp-story > :not(.lp-media) {
  position: absolute;
  z-index: 2;
}
.lp-reel-label {
  top: 16px;
  left: 16px;
  font-size: 14px;
  font-weight: 800;
}
.lp-reel-lines {
  left: 16px;
  right: 52px;
  bottom: 92px;
  display: grid;
}
.lp-reel-lines b {
  grid-area: 1 / 1;
  align-self: end;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  opacity: 0;
  animation: reel-line 9s infinite;
}
.lp-reel-lines b:nth-child(2) {
  animation-delay: 3s;
}
.lp-reel-lines b:nth-child(3) {
  animation-delay: 6s;
  display: inline-block;
  justify-self: start;
  padding: 8px 13px;
  border-radius: 10px;
  background: #fff;
  color: #19151d;
  font-size: 15px;
}
@keyframes reel-line {
  0%,
  4% {
    opacity: 0;
    transform: translateY(14px);
  }
  10%,
  31% {
    opacity: 1;
    transform: none;
  }
  36%,
  100% {
    opacity: 0;
  }
}
.lp-reel-actions {
  right: 14px;
  bottom: 96px;
  display: grid;
  gap: 16px;
  font-size: 20px;
  text-align: center;
}
.lp-reel-foot {
  left: 16px;
  right: 16px;
  bottom: 22px;
  font-size: 14px;
  font-weight: 800;
}
.lp-reel-foot span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.lp-reel-foot img {
  padding: 3px;
  border-radius: 50%;
  background: #fff;
}
.lp-reel-foot small {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  font-weight: 400;
  opacity: 0.85;
}
.lp-reel-progress {
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: #fff;
  transform-origin: left;
  animation: reel-progress 9s linear infinite;
}
@keyframes reel-progress {
  from {
    transform: scaleX(0);
  }
}
.lp-story .story-segments {
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  gap: 4px;
}
.lp-story .story-segments i {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: #ffffff66;
}
.lp-story .story-segments i.active {
  background: #fff;
}
.lp-story-head {
  top: 24px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
}
.lp-story-head img {
  padding: 3px;
  border-radius: 50%;
  background: #fff;
}
.lp-story-overlay {
  left: 18px;
  right: 18px;
  bottom: 26px;
}
.lp-story-overlay span {
  font-size: 11px;
  letter-spacing: 1.3px;
}
.lp-story-overlay b {
  display: block;
  margin: 8px 0 14px;
  font-family: var(--display);
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -1px;
}
.lp-story-overlay i {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 10px;
  background: #fff;
  color: #19151d;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}

/* Examples */
.landing-examples {
  padding-top: 40px;
  padding-bottom: 70px;
}
.landing-example-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.landing-example-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 4 / 5;
  background: #ffe8f0;
}
.landing-example-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.landing-example-grid figure:hover img {
  transform: scale(1.04);
}
.landing-example-grid figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 20px;
  background: #fffffff0;
  font-size: 12px;
  font-weight: 800;
  color: #4f4a56;
}

/* Final call to action */
.landing-final .start-form {
  max-width: 540px;
  margin: 26px auto 0;
}
/* Paa mobil spiser sektionens egen polstring 40 px af feltet, og pladsholderen blev skaaret
   midt i et ord ("Your website goes h"). Feltet laaner hele polstringen tilbage og faar
   dermed samme bredde som heroens felt. */
@media (max-width: 700px) {
  .landing-final .start-form {
    margin-inline: -20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-phone,
  .lp-reel-scenes img,
  .lp-reel-lines b,
  .lp-reel-progress {
    animation: none;
  }
  .lp-reel-scenes img:first-child,
  .lp-reel-lines b:first-child {
    opacity: 1;
  }
}
@media (max-width: 1000px) {
  .format-stage {
    padding: 30px 20px 22px;
  }
}
@media (max-width: 700px) {
  .landing-hero-visual {
    padding-top: 30px;
  }
  .lp-profile {
    transform: rotate(2deg);
  }
  .format-panel {
    grid-template-columns: 1fr;
  }
  .format-panel .format-stage {
    order: -1;
  }
  .landing-example-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .lp-guide-grid {
    grid-template-columns: 1fr;
  }
  .lp-guide-grid article {
    padding: 24px;
  }
  .lp-page {
    transform: rotate(2deg);
  }
}

/* Real Reel examples: vertical players that play muted while in view */
.reel-hero-phone {
  position: relative;
  width: min(300px, 78vw);
  margin: 0 auto;
  padding: 10px;
  border-radius: 42px;
  background: #16121a;
  box-shadow: 0 30px 70px #3b2a4a33;
  transform: rotate(3deg);
}
.reel-hero-phone video {
  aspect-ratio: 9 / 16;
  height: auto;
}
.reel-hero-phone video,
.reel-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
  background: #16121a;
}
.reel-sound {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: #ffffffe8;
  color: #1c1820;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.reel-sound[aria-pressed='true'] {
  background: #1c1820;
  color: #fff;
}
.reel-examples {
  padding-top: 64px;
  padding-bottom: 64px;
}
.reel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  margin-top: 34px;
}
.reel-card {
  display: grid;
  gap: 12px;
  margin: 0;
}
.reel-card .reel-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  overflow: hidden;
  background: #16121a;
}
.reel-card video {
  border-radius: 0;
}
.reel-card .reel-sound {
  right: 12px;
  bottom: 12px;
}
.reel-card figcaption {
  display: grid;
  gap: 4px;
  font-size: 14px;
  line-height: 1.45;
  color: #4f4a56;
}
.reel-card figcaption b {
  font-size: 15px;
  color: #231c28;
}
.reel-card .reel-hook {
  font-style: italic;
  color: #c81e5b;
}
.reel-note {
  margin: 22px auto 0;
  max-width: 680px;
  text-align: center;
  font-size: 14px;
  color: #4f4a56;
}
@media (max-width: 700px) {
  .reel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .reel-card .reel-frame {
    border-radius: 18px;
  }
}

/* Real static ad examples (4:5) */
.ad-fan {
  position: relative;
  width: min(420px, 88vw);
  aspect-ratio: 1 / 1.05;
  margin: 0 auto;
}
.ad-fan img {
  position: absolute;
  top: 0;
  width: 62%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 24px 50px #3b2a4a33;
}
.ad-fan img:nth-child(1) {
  left: 0;
  top: 8%;
  transform: rotate(-7deg);
}
.ad-fan img:nth-child(2) {
  right: 0;
  top: 8%;
  transform: rotate(7deg);
}
.ad-fan img:nth-child(3) {
  left: 19%;
  z-index: 2;
}
.ad-examples {
  padding-top: 64px;
  padding-bottom: 64px;
}
.ad-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}
.ad-card {
  display: grid;
  gap: 12px;
  margin: 0;
}
.ad-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid #f1eff3;
}
.ad-card figcaption {
  display: grid;
  gap: 4px;
  font-size: 14px;
  line-height: 1.45;
  color: #4f4a56;
}
.ad-card figcaption b {
  font-size: 15px;
  color: #231c28;
}
@media (max-width: 900px) {
  .ad-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}
