/*------------------------------------------------/
              Variable and main settings
--------------------------------------------------*/
:root {
  --thumbnail-height: ;
  --thumbnail-width: ;
  --top-nav-height: ;
  --product-tag-height: ;
  --product-menu-height: 58px;
}

@media (max-width: 1199px) {
  :root {
    --product-menu-height: 40px;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 50px;
}

[data-product="PDR"] {
  --hover-color: #9dfafb;
  --link-color: #21EEEF;
  --nav-color: #4338fa;
  --product-name-color: var(--link-color);
}

[data-product="Promeo"] {
  --hover-color: #DFEEF0;
  --link-color: #21EEEF;
  --nav-color: #009bb1;
  --product-name-color: var(--link-color);
}

[data-product="PHD"] {
  --hover-color: #ffc458;
  --link-color: var(--hover-color);
  --nav-color: #ff762e;
  --product-name-color: rgb(255, 228, 111);
}

[data-product="ADR"] {
  --hover-color: #9b5bfe;
  --link-color: var(--hover-color);
  --nav-color: #6b1dfc;
  --product-name-color: var(--link-color);
}

[data-product="CDR"] {
  --hover-color: #ff6ff0;
  --link-color: var(--hover-color);
  --pricing-link-color: #ff4be8;
  --nav-color: #a403af;
  --product-name-color: var(--link-color);
}

/*------------------------------------------------/
                   Reset
--------------------------------------------------*/
main *,main *:before,main *:after {
  box-sizing: border-box
}

main a {
  text-decoration: none
}

main 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
}

.toptop_banner {
  height: 0px;
  margin-bottom: 0px
}

.toptop_banner.full {
  height: auto !important;
  width: 100%;
}

.pd_purchase_left {
  display: none !important
}

#pd_purchase {
  display: none !important
}

.banner1200 {
  height: 0px !important;
  overflow: hidden
}

.bundle_pdrm {
  display: none !important
}

.container {
  width: 100%;
  max-width: 100%;
  margin: 0
}

.on_600 {
  display: none
}

.back_top {
  z-index: 999 !important
}

/*------------------------------------------------/
                  Base style
--------------------------------------------------*/
#main-content {
  background-color: white;
}

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.6rem,5vw,3.4rem);
  font-weight: bold
}

main h3 {
  font-size: clamp(1.4rem,3vw,2.1rem);
  font-weight: 700
}

main h4 {
  font-size: clamp(1.2rem,1.5vw,1.4rem);
  font-weight: 600;
  line-height: 1.4
}

main p {
  font-size: clamp(.8rem,2vw,1rem);
  line-height: 2rem;
  font-family: system-ui;
  font-weight: 400;
  line-height: 1.2
}

main a {
  font-family: "Poppins",sans-serif;
  font-style: clamp(.8rem,2vw,1rem);
  font-weight: 600
}

/*------------------------------------------------/
                custom style
--------------------------------------------------*/

[data-product="ADR"] .main-hero picture {
  transform: translateX(-13%);
}

@media (max-width: 1010px) {
  [data-product="ADR"] .main-hero picture {
    transform: unset;
  }
}


/*------------------------------------------------/
              Features nav bar
--------------------------------------------------*/

#feature_anchor_header {
  position: sticky;
  top: var(--product-menu-height);
  z-index: 5;
  max-width: 100%;
  height: 50px !important;
  backdrop-filter: blur(3px);
  background-color: #ffffffe3;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

a.tab_off2 {
  width: auto;
  height: auto;
  border-left: 3px solid #000000;
  line-height: 20px;
  padding-right: 18px;
  padding-left: 18px;
  font-size: 13px;
  margin: 0;
  color: black;
}

a.tab_off2.active {
  color: var(--nav-color);
}

a.tab_off2:first-child {
  border-left: none;
}

a.tab_off2:hover {
  color: white;
  background: var(--nav-color);
  cursor: pointer;
}

/*------------------------------------------------/
              Features list section
--------------------------------------------------*/

section.feature-all {
  margin: 0 0 5rem;
}

.feature-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1800px;
  margin: auto;
  justify-content: center;
  /* row-gap: 60px; */
  row-gap: 40px;
  column-gap: 8%;
  padding: 0 5rem 5rem;
}

.category {
  width: 100%;
}

.category h2 {
  color: #000;
  text-align: center;
  font-size: clamp(1.6rem, 5vw, 2.7rem);
  font-weight: 700;
  margin: 4rem 0 1rem 0;
  width: 100%;
  padding: 0 20px;
  hyphens: auto;
}

.DEU .category h2 {
  line-break: anywhere;
}

.category p {
  text-align: center;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-family: system-ui;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 auto;
  padding: 0 20px;
  color: #000;
  max-width: 58ch;
  justify-self: center;
}

.feature {
  width: calc(100% / 3.9);
  position: relative;
  min-height: 100%;
  scroll-margin-top: 10rem;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  transition: box-shadow 0.2s;
}

.feature:hover {
  background: var(--hover-color);
  box-shadow: 0px 0px 10px hsl(0deg 0% 0% / 21%);
}

.feature a.play {
  outline: 5px solid #ffffff;
  border-radius: 8px;
  transition: .2s;
  display: block;
  height: -webkit-fill-available;
  width: 100%;
  display: flow-root;
  place-items: baseline;
  height: 100%;
  height: auto;
}

.feature a.play:hover {
  outline: 5px solid var(--hover-color);
  border-radius: 8px;
}

.feature h3 {
  width: auto;
  padding-right: 26px;
  color: #000;
  margin: 0.7rem;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 600;
  justify-self: start;
}

.feature sup {
  font-size: 0.6vw;
  margin-right: 2px;
  top: -0.5rem;
}

.feature p {
  color: #000;
  font-size: clamp(.8rem, 2vw, .9rem);
  margin: 0 0.7rem 0.7rem;
}

.feature p i {
  font-size: smaller;
  font-style: italic !important;
  color: #00000080;
  /* position: absolute; */
  width: 44%;
}

.feature a.try-now-btn {
  background-color: black;
  color: white;
  border: solid 2px black;
  border-radius: 6px;
  padding: 0.4rem 1.2rem;
  width: fit-content;
  align-self: end;
  margin: auto 0.5rem 0.5rem 0;
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  cursor: pointer;
}

.feature:hover a.try-now-btn {
  opacity: 1;
}

.feature a.try-now-btn:hover {
  transform: scale(1.05);
}

.feature img {
  background: var(--hero-background-color);
  border-radius: 8px;
  position: relative;
  max-width: 100%;
  display: block;
}

.feature.arrow:after {
  content: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='_圖層_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 395.09 88.71'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23fff;stroke-width:0px;%7D%3C/style%3E%3C/defs%3E%3Cpath class='cls-1' d='m368.33,20.11c-6.26.21-12.53.58-18.79.58-7.56,0-14.43-2.16-20.1-7.44-2.93-2.72-4.26-6.01-3.14-9.86.39-1.33,1.71-3.01,2.92-3.32,1.17-.3,3.19.58,4.04,1.6,4.07,4.89,9.52,6.86,15.48,7.73,11.63,1.7,23.08-.43,34.55-1.93,1.12-.15,2.25-.88,3.19-1.58,2.25-1.69,5.31-1.71,6.92.12,2.11,2.39,2.37,6.21.13,7.93-10.25,7.86-13.73,19.39-17.18,30.98-1.83,6.17-3.11,12.37-2.43,18.89.22,2.12.92,4.99-2.58,5.6-3.51.61-5.97-1.86-6.81-4.61-.41-1.34-.16-2.98.13-4.41.91-4.49,2-8.94,2.97-13.42.91-4.21,1.77-8.43,2.76-13.17-3.68,2.34-7.01,4.5-10.37,6.6-18.73,11.71-38.58,21.06-59.39,28.48-15.46,5.51-31.24,9.8-47.29,13.04-14.85,3-29.82,5.46-44.99,6-14.1.5-28.24,1.13-42.32.6-13.22-.5-26.41-2.18-39.56-3.84-15.59-1.96-30.79-5.83-45.79-10.49-20.83-6.47-40.7-15.13-59.4-26.37-6.11-3.67-11.97-7.76-17.85-11.8C-.06,33.62-1,28.3,1.14,24.61c1.18-2.03,3.79-2.25,6.42-.43,4.17,2.88,8.24,5.9,12.47,8.7,20.28,13.45,42.18,23.55,65.44,30.53,11.75,3.53,23.71,6.59,35.76,8.84,11.51,2.15,23.24,3.5,34.93,4.22,13.13.81,26.34.93,39.49.64,19.61-.43,38.98-3.22,58.16-7.32,21.51-4.6,42.41-11.13,62.54-19.97,18.02-7.91,35.23-17.36,51.37-28.68.31-.22.67-.36,1.01-.53-.13-.17-.27-.34-.4-.5Z'/%3E%3C/svg%3E");
  position: absolute;
  width: 100%;
  top: calc(var(--thumbnail-height) / 1.22);
  padding: 0 calc(var(--thumbnail-height) / 1.7);
  filter: drop-shadow(2px 3px 3px black);
  opacity: 0;
  animation: 2s ease-in-out 0.6s forwards fadeInEffect;
}

@keyframes fadeInEffect {
  0% {opacity: 0;}
  100% {opacity: 0.85;}
}

.feature .red-tag {
  font-size: 13px;
  height: 30px;
  padding: 7px 25px 15px;
  position: absolute;
  left: -10px;
  top: -9px;
  color: white !important;
  background: -webkit-linear-gradient(0deg, rgb(255, 4, 85), rgb(255, 85, 218));
  background: (0deg, rgb(255, 4, 85), rgb(255, 85, 218));
  border-radius: 0;
  border-top-left-radius: 3px;
  z-index: 1;
  font-weight: 900;
  text-transform: uppercase;
  clip-path: polygon(0% 0%, 100% 0%, calc(100% - 10px) 100%, 10px 100%, 10px 150%, 0% 100%);
  -webkit-box-shadow: 0 15px #b81a35;  /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
  -moz-box-shadow: 0 15px #b81a35;  /* Firefox 3.5 - 3.6 */
  box-shadow: 0 15px #b81a35;
  text-shadow: 1px 1px 3px #bc0101cf;
}

.feature .product-tag {
  background: var(--hero-gradient);
  color: white;
  padding: 5px 8px;
  border-radius: 8px 0 8px 0;
  font-style: italic;
  position: absolute;
  right: 0;
  top: calc(var(--thumbnail-height) - var(--product-tag-height));
  z-index: 2;
  font-weight: 500;
  font-size: clamp(0.8rem, 1vw, 1rem);
  text-shadow: 2px 1px 2px #000000ba;
  box-shadow: -2px -3px 6px #0000008c;
}

.feature .detail {
  padding: 0 10px 10px 10px;
  color: #000;
  font-size: clamp(.8rem, 2vw, .9rem);
  line-height: 1.5;
}

.feature a.play:before,
.feature a.play:after {
  content: "";
  position: absolute;
  opacity: 0;
  top: calc(var(--thumbnail-height) / 1.5);
  left: calc(var(--thumbnail-width) / 2);
  transform: translate(-50%, -50%);
  transition: .2s;
}

.feature a.play:hover:before,
.feature a.play:hover:after {
  content: "";
  position: absolute;
  opacity: 1;
  top: calc(var(--thumbnail-height) / 2);
  transition: .2s;
}

.feature a.play:hover:after,
.feature a.play:after {
  width: 0;
  height: 0;
  border: 0.9em solid transparent;
  border-left: 1.5em solid var(--link-color);
  z-index: 2;
  transition: .2s;
  transform: translate(-26%, -50%);
}

.feature a.play:hover:before,
.feature a.play:before {
  width: 4em;
  height: 4em;
  border-radius: 50%;
  box-shadow: 0 0 24px hsl(0deg 0% 0% / 44%);
  background: rgb(255 36 73 / 78%);
  background: rgb(0 0 0 / 78%);
  z-index: 2;
  transition: .2s;
}

.btn-text {
  background: rgb(0 0 0 / 78%);
  position: absolute;
  z-index: 1;
  padding: 2% 14%;
  border-radius: 30px;
  width: fit-content;
  color: var(--link-color);
  top: calc(var(--thumbnail-height) / 1.5);
  opacity: 0;
  transition: 0.2s;
  font-size: clamp(.8rem, 2vw, .9rem);
  left: calc(var(--thumbnail-width) / 2);
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

a.a-text:hover > .btn-text {
  opacity: 1;
  top: calc(var(--thumbnail-height) / 2);
}

@media (max-width: 1200px) {
  .feature-list {
    column-gap: 3%;
    row-gap: 57px;
    padding: 0 5vw;
  }

  .feature {
    width: calc(100% / 3.2);
  }
}

@media (max-width: 821px) {
  .feature-list {
    padding: 0 2vw;
  }

  .feature {
    width: calc(100% / 2.2);
  }
}

@media (max-width: 600px) {
  .feature-list {
    padding: 0 2rem;
  }

  img.top-feature-img {
    max-width: 600px;
    display:block;
  }

  .feature {
    width: 100%;
  }
}
