/* V14 — Exact hero background supplied by Jaratam Digital owner.
   The original PNG is copied byte-for-byte, without generated substitutions.
   Both language versions use the same image. */

/* Whole section: the text sits above the user's original artwork. */
body.v11-home .hero-v7::before {
  background-image: url('/assets/img/hero-api-user-original.png');
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center 52%;
  opacity:1;
}

/* Protect text contrast, preserving detailed API / parsing artwork on the right. */
body.v11-home .hero-v7::after {
  background:
    linear-gradient(90deg,
      rgba(251,253,250,.22) 0%,
      rgba(251,253,250,.14) 18%,
      rgba(251,253,250,.06) 34%,
      rgba(251,253,250,.02) 52%,
      rgba(251,253,250,0) 71%,
      rgba(251,253,250,.03) 86%,
      rgba(251,253,250,.12) 94%,
      rgba(251,253,250,.24) 100%),
    linear-gradient(180deg,
      rgba(245,250,249,.10),
      transparent 42%,
      rgba(245,250,248,.10));
}


body.v11-home .hero-copy-v7 h1,
body.v11-home .hero-copy-v7 > p {text-shadow:0 1px 7px rgba(255,255,255,.25);}

/* The previous separate laptop must not appear over the new original. */
body.v11-home .hero-visual,
body.v11-home .hero-visual img {display:none;}
body.v11-home .hero-grid::after {content:none; background-image:none;}

/* Navigation stays legible over the wide background. */
body.v11-home .site-header {
  background:rgba(251,253,252,.79);
  backdrop-filter:blur(15px);
  -webkit-backdrop-filter:blur(15px);
}

@media(max-width:1130px) {
  body.v11-home .hero-v7::before {background-position:67% center;}
  body.v11-home .hero-v7::after {
    background:
      linear-gradient(180deg,
        rgba(253,254,252,.90) 0%,
        rgba(253,254,252,.52) 34%,
        rgba(253,254,252,.16) 72%,
        rgba(253,254,252,.04) 100%),
      linear-gradient(90deg,
        rgba(253,254,252,.03) 0%,
        rgba(253,254,252,0) 10%,
        rgba(253,254,252,0) 86%,
        rgba(253,254,252,.12) 95%,
        rgba(253,254,252,.28) 100%);
  }
}

@media(max-width:780px) {
  body.v11-home .hero-v7::before {
    background-image:url('/assets/img/hero-api-user-original.png');
    background-position:67% center;
    background-size:cover;
  }
  body.v11-home .hero-grid {
    padding:16px 0 230px;
  }
  /* The image in the lower portion is the SAME supplied PNG, not V11's old laptop. */
  body.v11-home .hero-grid::after {
    content:"";
    display:block;
    pointer-events:none;
    position:absolute;
    z-index:0;
    left:-4%;right:-4%;bottom:-8px;height:245px;
    background-image:url('/assets/img/hero-api-user-original.png');
    background-position:79% center;
    background-repeat:no-repeat;
    background-size:auto 155%;
    opacity:.96;
    -webkit-mask-image:linear-gradient(to right, black 0%, black 80%, rgba(0,0,0,.4) 92%, transparent 100%),linear-gradient(to bottom,transparent,black 17%,black 88%,transparent);
    mask-image:linear-gradient(to right, black 0%, black 80%, rgba(0,0,0,.4) 92%, transparent 100%),linear-gradient(to bottom,transparent,black 17%,black 88%,transparent);
  }
  body.v11-home .hero-v7::after {
    background:
      linear-gradient(180deg,
        rgba(253,254,252,.96) 0%,
        rgba(253,254,252,.88) 44%,
        rgba(253,254,252,.54) 72%,
        rgba(253,254,252,.16) 100%),
      linear-gradient(90deg,
        rgba(253,254,252,.06) 0%,
        rgba(253,254,252,0) 14%,
        rgba(253,254,252,0) 84%,
        rgba(253,254,252,.16) 94%,
        rgba(253,254,252,.34) 100%);
  }
  body.v11-home .hero-copy-v7 {position:relative;z-index:2;}
}
@media(prefers-reduced-motion:reduce){
  body.v11-home .hero-visual {animation:none;}
}
