/*----------------------------------------------------
 *                 CSS Variables
 * ---------------------------------------------------*/
:root {
  --main-spacing: clamp(2rem, 8vw, 4rem);
  --main-width: clamp(200px, 93%, 1900px);
  --p-grey-col: #A5A5A5;
  --dark-bg-col: #191919;
  --dark-orange: #e76000;
  --main-orange: #ff7b00;
  --main-yellow: #ffb413;
  --cursor-1-position: 50%;
  --cursor-2-position: 50%;
  --slider-icon-size: 40px;
  --divider-width: 2px;
  --divider-height: 100%;
  --arrow-size: calc(var(--slider-icon-size)/5);
  --video-radius: 20px;
}

@media (max-width: 600px) {
  :root {
    --main-spacing: 1rem;
  }
}
/*--------------------------------------------------
 *                   HTML5 Reset
 * --------------------------------------------------*/
html {
  scroll-behavior: smooth;
}

html, body, div, section, article, aside, header,
hgroup, footer, nav, h1, h2, h3, h4, h5, h6, p,
blockquote, address, time, span, em, strong, img,
ol, ul, li, figure, canvas, video, th, td, tr {
  margin: 0;
  padding: 0;
  border: 0;
}

main *, main *:before, main *:after {
  box-sizing: border-box;
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
}

address, article, aside, canvas, details, figcaption,
figure, footer, header, hgroup, menu, nav, section, summary {
  display: block;
}

picture {
  z-index: 1;
}

main button {
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  line-height: normal;
  overflow: visible;
  padding: 0;
  -webkit-appearance: button;
  appearance: button;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/*--------------------------------------------------
 *              Reset RD code
 * --------------------------------------------------*/
.toptop_banner {
  height: 0px;
  margin-bottom: 0px;
}

.pd_purchase_left {
  display: none !important;
}

#pd_purchase {
  display: none !important;
}

/*fix purchase ui issues*/
.banner1200 {
  height: 0px !important;
  overflow: hidden;
}

/*hide pdrm purchase*/
.bundle_pdrm {
  display: none !important;
}

.container {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.on_600 {
  display: none;
}

.back_top {
  z-index: 999 !important;
}

/*--------------------------------------------------
 *            Hide obstructive ad if mobile
 * ----------------------------------------------------*/
@media (max-width: 1000px) {
  div.fix_bottom {
    display: none !important;
  }
}
/*----------------------------------------------------
 *                 Display Fonts
 * ----------------------------------------------------*/
main h1, main h2, main h3, main h4, main h5, main span, main ul {
  font-family: "Poppins", sans-serif;
}

main h1 {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-weight: 700;
  line-height: 1;
}
main h2, main h3 {
  line-height: 1.3;
}
main h2 {
  font-size: clamp(1.4rem, 4vw, 2.6rem);
  font-weight: bold;
}
main h3 {
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 600;
  text-wrap-style: balance;
}
main h4 {
  font-size: clamp(1.2rem, 1.5vw, 1.4rem);
  font-weight: 600;
  line-height: 1.4;
}
main p {
  font-size: clamp(0.8rem, 2vw, 1.05rem);
  line-height: 2rem;
  font-family: system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.2;
}
main a {
  font-family: "Poppins", sans-serif;
  font-style: clamp(0.8rem, 2vw, 1rem);
  font-weight: 600;
}

/*----------------------------------------------------
 *              Base Style
 * ----------------------------------------------------*/
main h1, main h2, main h3, main h4, main p, main a, main i, main span {
  color: #fff;
}
main h1 {
  margin: 2rem 0;
}
main p {
  color: #fff;
}
main button:hover {
  cursor: pointer;
}

.title:has(+ p) {
  margin-bottom: 0.5rem;
}

/*----------------------------------------------------
 *              CTA buttons style
 * ----------------------------------------------------*/
#main-content section:not(.hero, .main-hero) .cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  width: fit-content;
}
#main-content section:not(.hero, .main-hero) a:is(.download, .see-more) {
  padding: 10px 15px;
  font-size: 16px;
  text-align: center;
  transition: all 0.2s;
  border-radius: 8px;
  box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.21), -1px -1px 3px rgba(0, 0, 0, 0.09);
  cursor: pointer;
  text-wrap: nowrap;
  width: fit-content;
}
#main-content section:not(.hero, .main-hero) a:is(.download, .see-more):hover {
  background: rgba(0, 0, 0, 0.2784313725);
}
#main-content section:not(.hero, .main-hero) .download {
  border: 1px solid var(--dark-orange);
  background: var(--dark-orange);
}
#main-content section:not(.hero, .main-hero) .download:hover {
  color: var(--main-orange);
  border: 1px solid var(--main-orange);
}
#main-content section:not(.hero, .main-hero) .see-more {
  background: var(--main-yellow);
  border: 1px solid var(--main-yellow);
}
#main-content section:not(.hero, .main-hero) .see-more:hover {
  color: var(--main-yellow);
}

/*----------------------------------------------------
 *              WebCommerce ad section
 * ----------------------------------------------------*/
.webcommerce-ad {
  display: grid;
  grid-template-columns: 1fr;
  height: fit-content;
}
.JPN .webcommerce-ad {
  display: none;
}

#long-banner {
  justify-self: center;
}

@media (max-width: 620px) {
  .webcommerce-ad {
    display: none;
  }
}
/*----------------------------------------------------
 *              Promotional Ribbon
 * ----------------------------------------------------*/
.fixed-bottom-promo {
  width: 100%;
  height: auto;
  background: #ff0057;
  position: fixed;
  bottom: 0;
  z-index: 9;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.2s;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.42);
  padding: 0.5rem clamp(100px, 11%, 500px);
}
.fixed-bottom-promo p {
  font-weight: 800;
  font-size: clamp(18px, 2vw, 25px);
}

.shop-sale {
  background: black;
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 2pc;
  margin: 0 1%;
}

/*----------------------------------------------------
 *              New label
 * ----------------------------------------------------*/
span.new {
  position: absolute;
  top: -27px;
  left: -25px;
  background: red;
  padding: 0.2rem 0.5rem;
  border-radius: 10px;
  font-size: clamp(12px, 2vw, 15px);
  rotate: -15deg;
  color: white;
  line-height: 1;
}

main h2 span.new {
  position: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
  transform: translate(35px, -33px);
}

@media (max-width: 700px) {
  main h2 span.new {
    transform: translate(30px, -26px);
  }
}
/*----------------------------------------------------
 *              New label
 * ----------------------------------------------------*/
span.enhanced {
  display: flex;
  place-items: center;
  flex-wrap: nowrap;
  background: linear-gradient(89.8deg, #F9CD97 -23%, #FE7D21 99.82%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(0.8rem, 2vw, 1.3rem);
  padding: 0.6rem 0;
  width: fit-content;
}
span.enhanced img {
  padding-right: 0.5rem;
}

main h2 span.new {
  position: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
  transform: translate(35px, -33px);
}

@media (max-width: 700px) {
  main h2 span.new {
    transform: translate(30px, -26px);
  }
}
/*----------------------------------------------------
 *              BA compare slider
 * ----------------------------------------------------*/
.ba-compare {
  --ba-slider-transition: 1s cubic-bezier(0.02, 0.46, 0.45, 0.99);
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  position: relative;
  margin: 0 auto;
  align-items: center;
}
.ba-compare img::selection {
  background: transparent;
}
.ba-compare b {
  width: var(--slider-icon-size);
  height: var(--slider-icon-size);
  position: absolute;
  border: solid white var(--divider-width);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1490196078);
  backdrop-filter: blur(12px);
}
.ba-compare b::before, .ba-compare b::after {
  --shadow-color: #04134f3b;
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  top: calc(var(--slider-icon-size) / 2 - var(--arrow-size) - var(--divider-width));
  border-top: var(--arrow-size) solid transparent;
  border-bottom: var(--arrow-size) solid transparent;
  filter: drop-shadow(1px 1px 1px var(--shadow-color));
}
.ba-compare b::before {
  border-right: calc(var(--arrow-size) + var(--divider-width)) solid white;
  left: calc(var(--slider-icon-size) / 4 - var(--arrow-size) / 2 - var(--divider-width));
}
.ba-compare b::after {
  border-left: calc(var(--arrow-size) + var(--divider-width)) solid white;
  right: calc(var(--slider-icon-size) / 4 - var(--arrow-size) / 2 - var(--divider-width));
}

.ba-compare img,
.ba-compare picture,
input.slider {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#compare-tools img.after {
  clip-path: inset(0 0 0 var(--cursor-1-position));
  transition: var(--ba-slider-transition);
}
#compare-tools span.divider {
  left: calc(var(--cursor-1-position) - var(--divider-width) / 2);
  transition: var(--ba-slider-transition);
}
#compare-tools .ba-compare b {
  left: calc(var(--cursor-1-position) - var(--slider-icon-size) / 2);
  transition: var(--ba-slider-transition);
}

#photo-retouching img.after {
  clip-path: inset(0 0 0 var(--cursor-2-position));
  transition: var(--ba-slider-transition);
}
#photo-retouching span.divider {
  left: calc(var(--cursor-2-position) - var(--divider-width) / 2);
  transition: var(--ba-slider-transition);
}
#photo-retouching .ba-compare b {
  left: calc(var(--cursor-2-position) - var(--slider-icon-size) / 2);
  transition: var(--ba-slider-transition);
}

input.slider {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  height: 100%;
  background: transparent;
  position: relative;
  z-index: 2;
  margin: 0;
  cursor: pointer;
  opacity: 0;
}

span.divider {
  width: var(--divider-width);
  height: calc(var(--divider-height) / 2 - var(--slider-icon-size) / 2);
  display: block;
  background-color: #fff;
  position: absolute;
  cursor: ew-resize;
}
span.divider.top {
  top: 0;
}
span.divider.bottom {
  bottom: 0;
}
span.divider::before, span.divider::after {
  color: #fff;
  position: absolute;
  top: 5px;
  font-size: 0.8rem;
  font-family: system-ui;
  text-shadow: 1px 1px 1px rgba(4, 19, 79, 0.4392156863);
}
span.divider.top::before {
  content: attr(data-before);
  right: 10px;
}
span.divider.top::after {
  content: attr(data-after);
  left: 10px;
}

input.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1px;
  height: 100%;
  cursor: ew-resize;
}

input.slider::-moz-range-thumb {
  -moz-appearance: none;
  width: 7px;
  min-height: 50vh;
  cursor: col-resize;
  background-color: white;
  border: 1px solid #c2c2c2;
  border-radius: 0;
}

main input, main textarea {
  padding: 0 !important;
  border: none !important;
}

@media (max-width: 1400px) {
  .ba-compare {
    --ba-slider-transition: none;
  }
}
/*----------------------------------------------------
 *             Multiple videos layout
 * ----------------------------------------------------*/
.multi-vids-layout {
  --markers-visibility: none;
  --arrow-color: #ffffff2b;
  height: fit-content;
  background-color: var(--dark-bg-col);
  padding: var(--main-spacing);
}
.multi-vids-layout .text {
  text-align: center;
  margin: 0 auto;
  width: 80%;
  max-width: 1400px;
}
.multi-vids-layout .text p {
  color: var(--p-grey-col);
  max-width: 78ch;
  justify-self: center;
}
.multi-vids-layout nav {
  width: 90%;
  height: auto;
  margin: 0 auto;
  margin-top: 2rem;
  margin-bottom: 2rem;
  display: flex;
  gap: 4rem;
  max-width: 1200px;
  justify-content: center;
}
.multi-vids-layout nav a {
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s;
  position: relative;
  text-align: center;
  line-height: 1.3;
  padding-bottom: 0.4rem;
  border-bottom: solid 3px transparent;
}
.multi-vids-layout nav a.active {
  border-bottom: solid 3px var(--main-orange);
  cursor: default;
  opacity: 1;
}
.multi-vids-layout nav a:hover {
  opacity: 1;
}
.multi-vids-layout nav a .new {
  left: -45px;
  top: -19px;
}
.multi-vids-layout .vids {
  width: 90%;
  max-width: 1500px;
  place-self: center;
  display: grid;
  grid-template-rows: minmax(500px, 650px);
  border-radius: 30px;
  overflow: clip;
}
.multi-vids-layout .vids video {
  width: 100%;
  height: 100%;
  grid-column: 1;
  grid-row: 1;
  object-fit: cover;
}
.multi-vids-layout .vids video.active {
  z-index: 1;
}

@media (max-width: 1300px) {
  .multi-vids-layout .vids {
    grid-template-rows: auto;
  }
}
@media (max-width: 540px) {
  .multi-vids-layout .text {
    width: 80%;
  }
  .multi-vids-layout nav {
    width: 90%;
    gap: 0;
    justify-content: space-evenly;
    max-width: unset;
  }
}
@media (max-width: 450px) {
  .multi-vids-layout nav {
    flex-direction: column;
    align-items: center;
  }
  .multi-vids-layout nav a {
    max-width: fit-content;
    padding: 0;
    margin: 0.4rem 0;
    transition: all 0.3s;
  }
  .multi-vids-layout nav a.active {
    border-bottom: unset;
    border-left: solid 3px var(--main-orange);
    padding: unset;
    padding-left: 0.4rem;
  }
  .multi-vids-layout nav a .new {
    rotate: 0deg;
    left: unset;
    right: -117%;
    top: 0;
  }
}
/*----------------------------------------------------
 *             Ai BAckground section
 * ----------------------------------------------------*/
.single-vid {
  background-color: var(--dark-bg-col);
  padding: 0 var(--main-spacing);
}
.single-vid .grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  width: clamp(600px, 100%, 1500px);
  grid-row-gap: var(--main-spacing);
  margin: 0 auto;
}
.single-vid .text {
  grid-column: 2;
  place-self: center;
  width: clamp(200px, 80%, 700px);
  padding: 2rem 1rem;
}
.single-vid .text p {
  padding-bottom: 3rem;
  color: var(--p-grey-col);
}
.single-vid .text a:not(.download) {
  width: fit-content;
  height: fit-content;
}
.single-vid video, .single-vid picture {
  grid-column: 1;
  width: 100%;
  height: 100%;
  place-self: center;
}

.single-vid .text h3 {
  text-wrap: balance;
  position: relative;
}

#ai-face-swap .grid {
  position: relative;
}
#ai-face-swap .blue-tag {
  font-size: 13px;
  margin-left: 0;
  right: unset;
  top: 0;
  left: 0;
  border-radius: 9px 0 9px 0;
}

.vid-right .grid {
  grid-template-columns: 1fr 1.5fr;
}
.vid-right .text {
  grid-column: 1;
  grid-row: 1;
}
.vid-right video {
  grid-column: 2;
}

.solo-intro + .single-vid {
  padding: var(--main-spacing);
}

@media (max-width: 1145px) {
  .single-vid .grid {
    grid-template-columns: 1fr;
    width: 100%;
    grid-gap: 0;
  }
  .single-vid video {
    grid-row: 1;
    grid-column: 1;
  }
  .single-vid .text {
    grid-row: 2;
    grid-column: 1;
  }
}
/*----------------------------------------------------
 *            Intro text utily class
 * ----------------------------------------------------*/
section.solo-intro {
  background-color: var(--dark-bg-col);
  padding: var(--main-spacing) var(--main-spacing) 0 var(--main-spacing);
  text-align: center;
}
section.solo-intro .text {
  margin: 0 auto;
  max-width: 900px;
}
section.solo-intro p {
  color: var(--p-grey-col);
  text-wrap-style: pretty;
}

/*----------------------------------------------------
 *             Ai powered section
 * ----------------------------------------------------*/
#ai-powered {
  display: grid;
  grid-template-columns: var(--main-spacing) 1fr 1fr var(--main-spacing);
  width: 100%;
  background-color: var(--dark-bg-col);
  padding: calc(var(--main-spacing) * 2) 0 var(--main-spacing) 0;
  gap: 2rem;
}
#ai-powered h2 {
  grid-column: 2/4;
  text-align: center;
}
#ai-powered h3:before {
  width: 4rem;
  height: 4rem;
  content: "";
  position: absolute;
  left: -4rem;
  top: 0;
}
#ai-powered a {
  grid-row: 5;
  grid-column: 2;
  width: fit-content;
  height: fit-content;
  margin-left: 12%;
}
#ai-powered .text {
  grid-column: 2;
  place-self: center;
  width: clamp(200px, 80%, 700px);
  padding: 1rem;
  position: relative;
}
#ai-powered .text:nth-of-type(1) {
  grid-row: 2;
  align-self: end;
}
#ai-powered .text:nth-of-type(1) h3:before {
  background-image: url(/stat/edms/product-version-images/2023/PHD/overview/logo/usp1a.svg);
}
#ai-powered .text:nth-of-type(2) {
  grid-row: 3;
}
#ai-powered .text:nth-of-type(2) h3:before {
  background-image: url(/stat/edms/product-version-images/2023/PHD/overview/logo/usp2.svg);
}
#ai-powered .text:nth-of-type(3) {
  grid-row: 4;
  align-self: start;
}
#ai-powered .text:nth-of-type(3) h3:before {
  background-image: url(/stat/edms/product-version-images/2024/PHD/svg/quick-actions.svg);
  background-repeat: no-repeat;
  translate: -15px;
}
#ai-powered .text a {
  color: var(--main-orange);
  margin: 0;
  font-weight: unset;
  font-family: system-ui;
}
#ai-powered .text a:hover {
  color: white;
}
#ai-powered .text p {
  color: var(--p-grey-col);
}
#ai-powered picture {
  grid-column: 3;
  grid-row: 2/6;
  width: clamp(150px, 100%, 800px);
  height: auto;
  place-self: center;
}

@media (max-width: 1550px) {
  #ai-powered h2 {
    margin-bottom: 2rem;
  }
}
@media (max-width: 1100px) {
  #ai-powered {
    gap: 1rem;
  }
  #ai-powered a {
    grid-column: 2/4;
    margin: 0;
    justify-self: center;
  }
  #ai-powered h2 {
    text-wrap: balance;
    margin: 0;
  }
  #ai-powered .text:nth-of-type(1) {
    grid-column: 2/4;
    grid-row: 3/4;
    width: 90%;
  }
  #ai-powered .text:nth-of-type(2) {
    grid-row: 4;
    grid-column: 2/3;
  }
  #ai-powered .text:nth-of-type(3) {
    grid-column: 3/4;
    width: clamp(200px, 80%, 700px);
    margin: 0;
  }
  #ai-powered picture {
    grid-row: 2/3;
    grid-column: 2/4;
  }
}
@media (max-width: 900px) {
  #ai-powered {
    gap: 0;
    grid-template-columns: var(--main-spacing) 1fr var(--main-spacing);
  }
  #ai-powered a {
    grid-row: 6;
  }
  #ai-powered .text {
    width: clamp(200px, 80%, 700px) !important;
    grid-column: 2 !important;
    transform: translateX(10%);
  }
  #ai-powered .text:nth-of-type(3) {
    grid-row: 5;
  }
}
/*----------------------------------------------------
 *            Imagination section
 * ----------------------------------------------------*/
:is(#imagination, #text-prompt, #ai-tools, #smart-tools) .grid {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  column-gap: 2rem;
  width: clamp(600px, 100%, 1500px);
  margin: 0 auto;
  margin-top: var(--main-spacing);
}
:is(#imagination, #text-prompt, #ai-tools, #smart-tools) .text {
  grid-column: 1/-1;
  position: relative;
}
:is(#imagination, #text-prompt, #ai-tools, #smart-tools) h3 {
  color: rgba(255, 255, 255, 0.5215686275);
  transition: 0.2s all;
  font-weight: 400;
  line-height: 1;
}
:is(#imagination, #text-prompt, #ai-tools, #smart-tools) p {
  color: var(--main-orange);
  opacity: 1;
  transition: height 0.2s, opacity 0.3s;
}
:is(#imagination, #text-prompt, #ai-tools, #smart-tools) .btns {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  row-gap: 2rem;
}
:is(#imagination, #text-prompt, #ai-tools, #smart-tools) button {
  position: relative;
  text-transform: initial;
  height: fit-content;
  border-radius: 34px;
  padding: 1.5rem 2rem;
  border: 1px solid #424242;
  background: linear-gradient(173deg, rgba(76, 76, 76, 0.25) 0%, rgba(31, 31, 31, 0.65) 100%);
  text-align: left;
}
:is(#imagination, #text-prompt, #ai-tools, #smart-tools) button.active {
  cursor: default;
}
:is(#imagination, #text-prompt, #ai-tools, #smart-tools) button.active h3 {
  color: var(--main-orange);
}
:is(#imagination, #text-prompt, #ai-tools, #smart-tools) button:not(.active) p {
  height: 0 !important;
  overflow: hidden;
  opacity: 0;
}
:is(#imagination, #text-prompt, #ai-tools, #smart-tools) button:hover h3 {
  color: white;
}
:is(#imagination, #text-prompt, #ai-tools, #smart-tools) button.active:hover h3 {
  color: var(--main-orange);
}
:is(#imagination, #text-prompt, #ai-tools, #smart-tools) .vids {
  border-radius: 34px;
  overflow: hidden;
}
:is(#imagination, #text-prompt, #ai-tools, #smart-tools) video {
  max-width: 100%;
  height: 100%;
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  object-fit: cover;
}
:is(#imagination, #text-prompt, #ai-tools, #smart-tools) video:not(.active), :is(#imagination, #text-prompt, #ai-tools, #smart-tools) .markers, :is(#imagination, #text-prompt, #ai-tools, #smart-tools) .arrow {
  display: none;
}

:is(#imagination, #text-prompt) .grid {
  margin-top: 1rem;
}
:is(#imagination, #text-prompt) span.new {
  top: -12px;
  left: -12px;
}

:is(#smart-tools, #imagination, #text-prompt) {
  padding-top: 0;
  padding-bottom: calc(var(--main-spacing) * 2);
}
:is(#smart-tools, #imagination, #text-prompt) .grid {
  grid-template-columns: 2.2fr 1fr;
  margin-top: 0;
}
:is(#smart-tools, #imagination, #text-prompt) .btns {
  grid-column: 2;
}
:is(#smart-tools, #imagination, #text-prompt) .vids {
  grid-row: 1;
}

@media (max-width: 1400px) {
  :is(#imagination, #text-prompt, #ai-tools, #smart-tools) .grid {
    grid-template-columns: 1fr clamp(200px, 83%, 600px) 1fr;
    column-gap: 1rem;
    width: 100%;
    position: relative;
  }
  :is(#imagination, #text-prompt, #ai-tools, #smart-tools) .vids {
    grid-column: 1/-1;
    grid-row: 1;
    max-height: 520px;
  }
  :is(#imagination, #text-prompt, #ai-tools, #smart-tools) .btns {
    grid-column: 2;
    display: grid;
  }
  :is(#imagination, #text-prompt, #ai-tools, #smart-tools) .btns, :is(#imagination, #text-prompt, #ai-tools, #smart-tools) .arrow {
    grid-row: 2;
  }
  :is(#imagination, #text-prompt, #ai-tools, #smart-tools) button {
    position: unset;
    background: none;
    border: none;
    grid-row: 1;
    grid-column: 1;
  }
  :is(#imagination, #text-prompt, #ai-tools, #smart-tools) button p {
    color: var(--p-grey-col);
    text-align: center;
    text-wrap-style: pretty;
  }
  :is(#imagination, #text-prompt, #ai-tools, #smart-tools) button.active {
    grid-row: 1;
    grid-column: 1;
  }
  :is(#imagination, #text-prompt, #ai-tools, #smart-tools) button.active h3 {
    text-align: center;
    font-weight: 500;
  }
  :is(#imagination, #text-prompt, #ai-tools, #smart-tools) button:not(.active) {
    opacity: 0;
  }
  :is(#imagination, #text-prompt, #ai-tools, #smart-tools) button:not(.active) p {
    height: auto !important;
  }
  :is(#imagination, #text-prompt, #ai-tools, #smart-tools) .markers, :is(#imagination, #text-prompt, #ai-tools, #smart-tools) .arrow {
    display: flex;
  }
  :is(#imagination, #text-prompt, #ai-tools, #smart-tools) .arrow {
    border-top: 22px solid rgba(0, 0, 0, 0);
    border-bottom: 22px solid rgba(0, 0, 0, 0);
    height: 0;
    width: 0;
    align-self: start;
    margin-top: 1.4rem;
    cursor: pointer;
    transition: all 0.3s;
  }
  :is(#imagination, #text-prompt, #ai-tools, #smart-tools) .arrow:hover {
    --arrow-color: #ffffffcc;
  }
  :is(#imagination, #text-prompt, #ai-tools, #smart-tools) .arrow.prev {
    grid-column: 1;
    justify-self: end;
    border-right: 34px solid var(--arrow-color);
  }
  :is(#imagination, #text-prompt, #ai-tools, #smart-tools) .arrow.next {
    grid-column: 3;
    justify-self: start;
    border-left: 34px solid var(--arrow-color);
  }
  :is(#imagination, #text-prompt, #ai-tools, #smart-tools) .markers {
    grid-column: 1/-1;
    flex-direction: row;
    width: 30%;
    max-width: 120px;
    justify-content: space-between;
    list-style: inside;
    margin: 0 auto;
    font-family: system-ui;
  }
  :is(#imagination, #text-prompt, #ai-tools, #smart-tools) .markers li {
    color: rgba(255, 255, 255, 0.15);
    transition: all 0.1s;
    width: 10px;
    font-size: 30px;
    cursor: pointer;
  }
  :is(#imagination, #text-prompt, #ai-tools, #smart-tools) .markers li.active {
    color: var(--dark-orange);
    cursor: default;
  }
  #imagination span.new {
    left: 0;
  }
}
@media (max-width: 1280px) {
  :is(#imagination, #text-prompt, #ai-tools, #smart-tools) .vids {
    max-height: 500px;
  }
}
@media (max-width: 1000px) {
  :is(#imagination, #text-prompt, #ai-tools, #smart-tools) .vids {
    max-height: 400px;
  }
}
@media (max-width: 600px) {
  :is(#imagination, #text-prompt, #ai-tools, #smart-tools) .grid {
    grid-template-columns: 1fr clamp(200px, 78%, 500px) 1fr;
    gap: 0;
  }
}
/*----------------------------------------------------
 *             Generative Ai section
 * ----------------------------------------------------*/
:is(#generative-ai, #anime-ai, #ai-scene, #color-grading) {
  display: grid;
  grid-template-columns: var(--main-spacing) 1fr 1fr var(--main-spacing);
  width: 100%;
  background-color: var(--dark-bg-col);
  padding-bottom: var(--main-spacing);
  grid-row-gap: var(--main-spacing);
}
:is(#generative-ai, #anime-ai, #ai-scene, #color-grading) h2 {
  grid-column: 2/4;
  text-align: center;
}
:is(#generative-ai, #anime-ai, #ai-scene, #color-grading) .text {
  grid-column: 2;
  place-self: center;
  width: clamp(200px, 80%, 700px);
  padding: 2rem 1rem;
}
:is(#generative-ai, #anime-ai, #ai-scene, #color-grading) .text p {
  padding-bottom: 3rem;
  color: var(--p-grey-col);
}
:is(#generative-ai, #anime-ai, #ai-scene, #color-grading) .text a:not(.download) {
  width: fit-content;
  height: fit-content;
}
:is(#generative-ai, #anime-ai, #ai-scene, #color-grading) video, :is(#generative-ai, #anime-ai, #ai-scene, #color-grading) picture {
  grid-column: 3;
  width: 100%;
  height: auto;
  place-self: center;
}

:is(#generative-ai, #anime-ai, #ai-scene) .text h3 {
  text-wrap: balance;
  position: relative;
}

#ai-scene .text {
  grid-column: 3;
}
#ai-scene video {
  grid-column: 2;
}

@media (max-width: 950px) {
  #generative-ai, #anime-ai {
    grid-template-columns: var(--main-spacing) 1fr var(--main-spacing);
  }
  #generative-ai video, #anime-ai video {
    grid-column: 2;
    grid-row: 2;
  }
}
@media (max-width: 800px) {
  #ai-scene {
    grid-template-columns: var(--main-spacing) 1fr var(--main-spacing);
  }
  #ai-scene .text {
    grid-column: 2;
  }
  #anime-ai video {
    grid-row: 1;
  }
}
@media (max-width: 600px) {
  #generative-ai, #anime-ai {
    padding-bottom: 2rem;
    grid-row-gap: 2rem;
  }
  #generative-ai .text, #anime-ai .text {
    padding: 1rem 0rem 2rem;
  }
}
/*----------------------------------------------------
 *             Smart tools section
 * ----------------------------------------------------*/
:is(#compare-tools, #smart-tools, #photo-retouching, #imagination, #text-prompt, #ai-tools) {
  --markers-visibility: none;
  --arrow-color: #ffffff2b;
  display: grid;
  height: fit-content;
  background-color: var(--dark-bg-col);
  padding: var(--main-spacing);
}
:is(#compare-tools, #smart-tools, #photo-retouching, #imagination, #text-prompt, #ai-tools) nav.category {
  width: fit-content;
  height: auto;
  margin: 0 auto;
  margin-top: 2rem;
  display: flex;
  gap: 4rem;
}
:is(#compare-tools, #smart-tools, #photo-retouching, #imagination, #text-prompt, #ai-tools) nav.category a {
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s;
}
:is(#compare-tools, #smart-tools, #photo-retouching, #imagination, #text-prompt, #ai-tools) nav.category a.active {
  border-bottom: solid 3px var(--main-orange);
  padding-bottom: 0.4rem;
  cursor: default;
  opacity: 1;
}
:is(#compare-tools, #smart-tools, #photo-retouching, #imagination, #text-prompt, #ai-tools) nav.category a:hover {
  opacity: 1;
}
:is(#compare-tools, #smart-tools, #photo-retouching, #imagination, #text-prompt, #ai-tools) .text {
  text-align: center;
  margin: 0 auto;
  max-width: 900px;
}
:is(#compare-tools, #smart-tools, #photo-retouching, #imagination, #text-prompt, #ai-tools) .text p {
  color: var(--p-grey-col);
}
:is(#compare-tools, #smart-tools, #photo-retouching, #imagination, #text-prompt, #ai-tools) .web-ui {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  background: linear-gradient(180deg, #232627 0%, #1B1C1D 72.98%, #111111 104.25%), linear-gradient(0deg, #424242, #424242);
  border: 1px solid hsl(0, 0%, 26%);
  padding: 2rem;
  border-radius: 34px;
  width: clamp(600px, 100%, 1500px);
  margin: 0 auto;
  margin-top: var(--main-spacing);
  grid-row-gap: 1rem;
  grid-column-gap: 2rem;
  box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.2588235294), 0px -1px 8px rgba(0, 0, 0, 0.1490196078), -11px -11px 30px rgba(0, 0, 0, 0.2588235294);
}
:is(#compare-tools, #smart-tools, #photo-retouching, #imagination, #text-prompt, #ai-tools) .web-ui :is(.ba-compare, .center-stage) {
  grid-row: span 4;
  align-items: center;
  place-self: center;
}
:is(#compare-tools, #smart-tools, #photo-retouching, #imagination, #text-prompt, #ai-tools) .web-ui a img {
  width: 100%;
  max-width: 60px;
  grid-row: span 2;
  filter: grayscale(1) brightness(2);
  opacity: 0.7;
  transition: filter 0.2s, opacity 0.2s;
}
:is(#compare-tools, #smart-tools, #photo-retouching, #imagination, #text-prompt, #ai-tools) .web-ui .btn {
  border-radius: 20px;
  padding: 1rem 1.5rem;
  align-content: center;
}
:is(#compare-tools, #smart-tools, #photo-retouching, #imagination, #text-prompt, #ai-tools) .web-ui .btn:hover {
  cursor: pointer;
}
:is(#compare-tools, #smart-tools, #photo-retouching, #imagination, #text-prompt, #ai-tools) .web-ui .btn h3 {
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  font-weight: 400;
  margin: 0;
}
:is(#compare-tools, #smart-tools, #photo-retouching, #imagination, #text-prompt, #ai-tools) .web-ui .btn p {
  grid-column: 2;
}
:is(#compare-tools, #smart-tools, #photo-retouching, #imagination, #text-prompt, #ai-tools) .web-ui .btn h3, :is(#compare-tools, #smart-tools, #photo-retouching, #imagination, #text-prompt, #ai-tools) .web-ui .btn p {
  color: rgba(255, 255, 255, 0.5215686275);
  transition: color 0.2s;
}
:is(#compare-tools, #smart-tools, #photo-retouching, #imagination, #text-prompt, #ai-tools) .web-ui .btn.active {
  background: hsla(0, 0%, 6%, 0.4);
  cursor: default;
}
:is(#compare-tools, #smart-tools, #photo-retouching, #imagination, #text-prompt, #ai-tools) .web-ui .arrow {
  display: var(--markers-visibility);
  border-top: 22px solid rgba(0, 0, 0, 0);
  border-bottom: 22px solid rgba(0, 0, 0, 0);
  height: 0;
  width: 0;
  align-self: start;
  margin-top: 1.4rem;
  cursor: pointer;
}
:is(#compare-tools, #smart-tools, #photo-retouching, #imagination, #text-prompt, #ai-tools) .web-ui .arrow.prev {
  justify-self: end;
  border-right: 34px solid var(--arrow-color);
}
:is(#compare-tools, #smart-tools, #photo-retouching, #imagination, #text-prompt, #ai-tools) .web-ui .arrow.next {
  justify-self: start;
  border-left: 34px solid var(--arrow-color);
}
:is(#compare-tools, #smart-tools, #photo-retouching, #imagination, #text-prompt, #ai-tools) .web-ui .markers {
  display: var(--markers-visibility);
  grid-column: 1/-1;
  flex-direction: row;
  width: 30%;
  max-width: 120px;
  justify-content: space-between;
  list-style: inside;
  margin: 0 auto;
  font-family: system-ui;
}
:is(#compare-tools, #smart-tools, #photo-retouching, #imagination, #text-prompt, #ai-tools) .web-ui .markers li {
  color: rgba(255, 255, 255, 0.15);
  transition: all 0.1s;
  width: 10px;
  font-size: 30px;
  cursor: pointer;
}
:is(#compare-tools, #smart-tools, #photo-retouching, #imagination, #text-prompt, #ai-tools) .web-ui .markers li.active {
  color: var(--dark-orange);
  cursor: default;
}

.blue-tag {
  font-size: 12px;
  background: #0090d7;
  color: #fff;
  padding: 3px 10px;
  position: absolute;
  margin-left: 8px;
  font-weight: 500;
  display: inline;
  border-radius: 9px 9px 0 0;
  top: -22px;
  right: 38px;
  text-shadow: 1px 1px 4px #082ba5;
}

#ai-tools {
  padding-top: 0;
}

#compare-tools {
  padding-bottom: calc(var(--main-spacing) * 2);
}

#photo-retouching {
  padding-bottom: calc(var(--main-spacing) * 2);
}
#photo-retouching .web-ui {
  margin-top: calc(var(--main-spacing) / 2);
}
#photo-retouching .center-stage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
#photo-retouching .hid {
  display: none;
}

:is(.btn.active, .btn.active:hover) :is(h3, p) {
  color: var(--main-orange) !important;
}

:is(.btn:hover) :is(h3, p) {
  color: white !important;
}

.btn:hover img {
  opacity: 1 !important;
}

.btn.active img {
  filter: grayscale(0) !important;
  opacity: 1 !important;
}

@media (max-width: 1400px) {
  :is(#compare-tools, #photo-retouching) {
    --markers-visibility: flex;
  }
  :is(#compare-tools, #photo-retouching) .web-ui {
    grid-template-columns: 1fr clamp(100px, 62%, 500px) 1fr;
    width: clamp(300px, 90%, 1500px);
  }
  :is(#compare-tools, #photo-retouching) .web-ui :is(.ba-compare, .center-stage) {
    grid-row: span 1;
    grid-column: 1/-1;
    max-height: 500px;
  }
  :is(#compare-tools, #photo-retouching) .web-ui .btn {
    opacity: 0;
    grid-column: 2;
    grid-row: 2;
    cursor: default !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  :is(#compare-tools, #photo-retouching) .web-ui .btn p {
    text-align: center;
    text-wrap-style: balance;
  }
  :is(#compare-tools, #photo-retouching) .web-ui .btn.active {
    opacity: 1;
    z-index: 4;
    background: none;
  }
  :is(.btn.active, .btn.active:hover) h3 {
    font-weight: 500 !important;
    font-size: clamp(1.3rem, 3vw, 2rem) !important;
  }
  :is(.btn.active, .btn.active:hover) p {
    color: rgba(255, 255, 255, 0.5215686275) !important;
  }
}
@media (max-width: 440px) {
  :is(#compare-tools, #photo-retouching) {
    row-gap: 1rem;
  }
  :is(#compare-tools, #photo-retouching) .text {
    text-align: left;
    width: clamp(200px, 80%, 700px);
  }
  :is(#compare-tools, #photo-retouching) .web-ui {
    grid-template-columns: 1fr clamp(158px, 70%, 500px) 1fr;
    grid-gap: 0.5rem;
    padding: 0.5rem;
    width: 95%;
  }
  :is(#compare-tools, #photo-retouching) .web-ui :is(.ba-compare, .center-stage) {
    border-radius: 25px 25px 0 0;
  }
  :is(#compare-tools, #photo-retouching) .web-ui .arrow {
    display: none;
  }
  :is(#compare-tools, #photo-retouching) .web-ui .btn {
    grid-column: 1/-1;
    padding: 0.5rem;
    padding-bottom: 0;
  }
  :is(#compare-tools, #photo-retouching) .web-ui .btn h3 {
    align-self: center;
  }
  :is(#compare-tools, #photo-retouching) .web-ui .btn p {
    grid-column: 1/-1;
    padding: 0 0.5rem;
  }
  :is(#compare-tools, #photo-retouching) .web-ui a img {
    grid-row: 1;
  }
  :is(#compare-tools, #photo-retouching) .web-ui .markers {
    width: 45%;
    max-width: 150px;
  }
  :is(#compare-tools, #photo-retouching) .web-ui .markers li {
    width: 18px;
    font-size: 45px;
    line-height: 1;
  }
  :is(#compare-tools, #photo-retouching) .web-ui nav.category {
    margin-bottom: 0.8rem;
  }
}
/*----------------------------------------------------
 *             Smart removal section
 * ----------------------------------------------------*/
:is(#smart-removal, #creative-effects) {
  padding-top: var(--main-spacing);
}
:is(#smart-removal, #creative-effects) :is(h2, h3, p) {
  color: var(--dark-bg-col);
}
:is(#smart-removal, #creative-effects) h3 {
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  opacity: 0.55;
  transition: opacity 0.2s;
  border-bottom: solid 3px transparent;
  padding: 0;
  padding-bottom: 0.3rem;
}
:is(#smart-removal, #creative-effects) h3:hover {
  opacity: 1;
}
:is(#smart-removal, #creative-effects) .-current h3 {
  border-bottom: solid 3px var(--main-orange);
  cursor: pointer;
  opacity: 1;
}
:is(#smart-removal, #creative-effects) .ba-slider p {
  color: white;
  text-shadow: 1px 2px 1px rgb(0, 0, 0), 1px 0px 2px rgb(0, 0, 0), 1px 0px 0px rgb(0, 0, 0);
  bottom: 0;
}
:is(#smart-removal, #creative-effects) span.new-rounded-label {
  top: -25px;
}

/*----------------------------------------------------
 *            Ai batch editing section
 * ----------------------------------------------------*/
#ai-batch-edit {
  padding-top: calc(var(--main-spacing) * 2);
}
#ai-batch-edit nav .arrow {
  display: none;
}
#ai-batch-edit nav a {
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  text-wrap-style: balance;
}
#ai-batch-edit nav a .new {
  left: 0;
  top: -18px;
}
#ai-batch-edit nav b {
  font-weight: 600;
}
#ai-batch-edit .vids {
  width: 100%;
}
#ai-batch-edit .markers {
  display: none;
}

@media (max-width: 1350px) {
  #ai-batch-edit nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    margin-bottom: 0.5rem;
  }
  #ai-batch-edit nav a {
    grid-column: 2;
    grid-row: 1;
    align-content: center;
    transition: none;
  }
  #ai-batch-edit nav a:not(.active) {
    opacity: 0;
  }
  #ai-batch-edit nav .arrow {
    display: block;
    width: 30px;
    height: 100%;
    background: #444444;
    clip-path: polygon(100% 0, 0 50%, 100% 100%);
    cursor: pointer;
  }
  #ai-batch-edit nav .arrow:hover {
    background: #8e8e8e;
  }
  #ai-batch-edit nav .arrow.prev {
    justify-self: end;
  }
  #ai-batch-edit nav .arrow.next {
    rotate: 180deg;
  }
  #ai-batch-edit .markers {
    width: min-content;
    margin: 0 auto;
    display: flex;
    height: auto;
    margin-bottom: 1rem;
  }
  #ai-batch-edit .markers li {
    width: 35px;
    height: 25px;
    display: grid;
    place-items: center;
  }
  #ai-batch-edit .markers li::before {
    content: "";
    height: 10px;
    width: 10px;
    background-color: #535353;
    border-radius: 50%;
  }
  #ai-batch-edit .markers li.active::before {
    background-color: var(--main-orange);
  }
  #ai-batch-edit .markers li:not(.active) {
    cursor: pointer;
  }
  #ai-batch-edit .markers li:not(.active):hover::before {
    background-color: #8e8e8e;
  }
}
@media (max-width: 600px) {
  #ai-batch-edit {
    padding-top: calc(var(--main-spacing) * 4);
  }
  #ai-batch-edit nav {
    gap: 1rem;
  }
}
/*--------------------------------------------------
 *                 Testimonials
 * ----------------------------------------------------*/
.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  background-color: var(--dark-bg-col);
  width: 100%;
  padding: 3rem 0;
  padding-bottom: calc(var(--main-spacing) * 2);
}
.testimonials h2 {
  text-align: center;
}
.testimonials .btn-cta {
  margin-top: 5rem;
  position: relative;
}
.testimonials .btn-cta a {
  box-shadow: 2px 5px 7px rgba(0, 0, 0, 0.2509803922), 6px 6px 8px rgba(0, 0, 0, 0.5019607843);
  margin: 0;
  height: auto;
  z-index: 1;
}
.testimonials .btn-cta a:hover {
  box-shadow: 2px 10px 10px rgba(0, 0, 0, 0.7803921569), 39px 39px 64px rgba(0, 0, 0, 0.5019607843);
}
.testimonials .btn-cta::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 400px;
  border-radius: 50%;
  background: rgba(243, 143, 38, 0.6901960784);
  right: 32%;
  top: -154px;
  filter: blur(140px);
  z-index: 0;
}

.footer-hero {
  z-index: 1;
}

.testimony {
  margin-top: 3rem;
  display: flex;
  column-gap: 6rem;
  row-gap: 4rem;
  flex-wrap: wrap;
  justify-content: center;
  z-index: 1;
}
.testimony :is(div, a) {
  background: linear-gradient(147.01deg, rgba(76, 76, 76, 0.25) 0%, rgba(31, 31, 31, 0.65) 100%);
  border-radius: var(--video-radius);
  padding: 1.5rem;
  display: grid;
  grid-template-rows: 1fr 1fr;
  border: solid 1px #E76000;
  min-width: 220px;
  max-width: 350px;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.35), 24px 36px 64px rgba(0, 0, 0, 0.5019607843);
  transition: all 0.2s;
}
.testimony :is(div, a) img {
  max-width: 250px;
  place-self: center;
}
.testimony :is(div, a) p {
  font-size: clamp(0.8rem, 2vw, 1rem);
  line-height: 1.2;
  color: var(--p-grey-col);
}
.testimony a:hover {
  transform: scale(1.05);
  box-shadow: 2px 10px 30px rgba(0, 0, 0, 0.58), 24px 36px 70px rgba(0, 0, 0, 0.61);
}

.JPN .testimony :is(div, a) p {
  font-weight: 500;
}
.JPN .testimony :is(div, a) img {
  grid-row: 2;
}

@media (max-width: 1280px) {
  .testimonials {
    padding: 6rem;
  }
}
@media (max-width: 1238px) {
  .JPN .testimony > :is(div, a):last-of-type img {
    grid-row: 1;
  }
}
@media (max-width: 1003px) {
  .testimony {
    row-gap: 3rem;
  }
  .testimony :is(div, a) {
    width: 100%;
    max-width: 500px;
    grid-template-rows: unset;
    gap: 1rem;
  }
  .JPN .testimony > :is(div, a):last-of-type img {
    grid-row: 2;
  }
}
@media (max-width: 620px) {
  .testimony {
    margin-top: 2rem;
    gap: 1.5rem;
  }
  .testimony :is(div, a) {
    padding: 1.5rem;
    max-width: 100% !important;
    width: 100%;
    text-align: center;
  }
  .testimony :is(div, a) img {
    max-width: 210px;
  }
}
@media (max-width: 500px) {
  .testimonials {
    padding: clamp(10px, 8vw, 3rem);
  }
}