/* Product-3 page styles (motion + legacy layout from Webflow export) */

.page-product-3 {
  --prd-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --prd-duration-fast: 200ms;
  --prd-duration-base: 500ms;
  --prd-duration-slow: 700ms;
  --prd-stagger: 80ms;
}

@media (prefers-reduced-motion: reduce) {
  .page-product-3 *,
  .page-product-3 *::before,
  .page-product-3 *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .page-product-3 .marquee-track {
    animation-play-state: paused !important;
  }

  .page-product-3 .prd-reveal {
    opacity: 1;
    transform: none;
  }
}

.page-product-3 .marquee-track {
  will-change: transform;
  transform: translateZ(0);
}

@keyframes prd-hero-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-product-3 .prd-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity var(--prd-duration-base) var(--prd-ease-out),
    transform var(--prd-duration-base) var(--prd-ease-out);
  transition-delay: calc(var(--prd-i, 0) * var(--prd-stagger));
}

.page-product-3 .prd-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-product-3 .prd-hero-in {
  opacity: 0;
  animation: prd-hero-in var(--prd-duration-slow) var(--prd-ease-out) both;
  animation-delay: calc(var(--prd-i, 0) * var(--prd-stagger));
}

.page-product-3 .product-header .div-block-96 {
  animation: prd-hero-in 800ms var(--prd-ease-out) 400ms both;
  opacity: 0;
}

.page-product-3 .product-header.is-hero-ready .div-block-96 {
  opacity: 1;
  animation: none;
  transform: none;
}

.page-product-3 .product-header .div-block-74 .image-53 {
  opacity: 0;
}

.page-product-3 .product-header.is-hero-ready .div-block-74 .image-53 {
  animation: prd-hero-in var(--prd-duration-slow) var(--prd-ease-out) both;
  animation-delay: calc(480ms + var(--prd-i, 0) * 55ms);
}

.page-product-3 .prd-btn-get-started {
  transition:
    transform var(--prd-duration-fast) var(--prd-ease-out),
    box-shadow var(--prd-duration-fast) var(--prd-ease-out) !important;
}

.page-product-3 .prd-btn-get-started:active {
  transform: scale(0.98);
}

.page-product-3 .prd-btn-get-started:focus-visible {
  outline: 2px solid #337aff;
  outline-offset: 2px;
}

.page-product-3 .prd-btn-how-it-w {
  transition:
    transform var(--prd-duration-fast) var(--prd-ease-out),
    opacity var(--prd-duration-fast) var(--prd-ease-out);
}

.page-product-3 .prd-btn-how-it-w:hover {
  opacity: 0.85;
}

.page-product-3 .prd-btn-how-it-w:active {
  transform: scale(0.98);
}

.page-product-3 .div-block-47-prd-clone {
  transition:
    transform var(--prd-duration-fast) var(--prd-ease-out),
    box-shadow var(--prd-duration-fast) var(--prd-ease-out);
}

.page-product-3 .div-block-47-prd-clone:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(51, 122, 255, 0.1);
}

.page-product-3 .testimonial-card {
  transition:
    transform var(--prd-duration-fast) var(--prd-ease-out),
    box-shadow var(--prd-duration-fast) var(--prd-ease-out);
}

.page-product-3 .testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.page-product-3 .pricing-card.v2 {
  transition:
    transform var(--prd-duration-fast) var(--prd-ease-out),
    box-shadow var(--prd-duration-fast) var(--prd-ease-out);
}

.page-product-3 .pricing-card.v2:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(51, 122, 255, 0.08);
}

.page-product-3 .faq_answer {
  transition: opacity var(--prd-duration-fast) var(--prd-ease-out);
}

/* --- Legacy inline styles (product-3.html) --- */

.card-you-can-make {
  background: linear-gradient(
    180deg,
    rgba(46, 144, 250, 0.06) -1.69%,
    #fff 10.71%
  );
}
.button.in-the-faq {
  box-shadow:
    0px 0px 0px 1px #1e5dd6,
    0px 1px 3px 0px rgba(0, 0, 0, 0.1),
    0px 1px 0.75px 0px rgba(255, 255, 255, 0.12) inset;
}
@keyframes loopingHeroLeft {
  0% {
    transform: translateX(0); /* Start from the original position */
  }
  100% {
    transform: translateX(
      -100%
    ); /* Move completely off the left side */
  }
}
.looping_hero-part-whle-cooking {
  animation: loopingHeroLeft 50s linear infinite;
}
.looping_hero-part-whle-cooking:hover {
  animation-play-state: paused; /* Pause the animation when hovering */
}
.swiper-slide.item-avatar {
  will-change: transform;
}
.swiper-wrapper.avatar_2 {
  will-change: transform;
}
.pageination-topmaketer .swiper-pagination-bullet {
  background-color: #b4b4b4 !important; /* bullet chua active */
}
.pageination-topmaketer .swiper-pagination-bullet-active {
  background-color: #2e90fa !important; /* bullet chua active */
}
.bg-creative {
  background: linear-gradient(
    180deg,
    rgba(221, 196, 236, 0.2) 0%,
    rgba(209, 192, 237, 0.1) 69.23%,
    rgba(46, 144, 250, 0.1) 100%
  );
}
.bg-demo {
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgba(221, 196, 236, 0.5) 0%,
    rgba(221, 196, 236, 0) 100%
  );
}
.bg-score {
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgba(46, 144, 250, 0.24) 0%,
    rgba(46, 144, 250, 0) 100%
  );
}
.navbar {
  top: 0 !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.navbar > .navbar-wrapper {
  border: 0 !important;
}
.right-blur-overlay {
  pointer-events: none;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  /* lớp trắng mờ (rất quan trọng để giống design) */
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 40%,
    rgba(255, 255, 255, 0.7) 70%,
    rgba(255, 255, 255, 0.9) 100%
  );
  /* mask để blur fade mượt */
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.6) 30%,
    rgba(0, 0, 0, 1) 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.6) 30%,
    rgba(0, 0, 0, 1) 100%
  );
}
.bottom-blur-overlay {
  pointer-events: none;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  /* lớp trắng mờ */
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.7) 30%,
    rgba(255, 255, 255, 0.4) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  /* mask để blur fade */
  mask-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.6) 40%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.6) 40%,
    rgba(0, 0, 0, 0) 100%
  );
}
.marquee {
  overflow: hidden;
  width: 100%;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll linear infinite;
  /* 🔥 chống giật */
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.marquee-content {
  display: flex;
  gap: 12px;
  min-width: max-content;
  /* fix render */
  backface-visibility: hidden;
}
.gap-4 {
  gap: 4px !important;
}
.grid-3-prd-in-use-top {
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
  grid-column-gap: 0;
  grid-row-gap: 0;
  max-width: 100%;
}
.grid-3-prd-in-use-top .div-block-47 {
  min-height: 240px;
}
.prd-pain-grid {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
}
.prd-pain-img {
  padding: 0 !important;
  min-height: auto !important;
  max-height: none !important;
}
.prd-pain-img-el {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.prd-pain-square-grid {
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  gap: 4px;
  margin-top: 24px;
  width: 100%;
}
.prd-pain-stat {
  margin-top: 32px;
  color: #1a1a20;
  font-size: 40px;
  font-weight: 600;
  line-height: 48px;
}
.prd-pain-stat--light {
  color: #fff;
}
.prd-pain-pill-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}
.prd-pain-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  padding: 12px 24px;
  width: 100%;
}
.prd-pain-pill--highlight {
  background: rgba(255, 255, 255, 0.85);
}
.prd-pain-pill-label {
  color: #6b7280;
  font-size: 14px;
  font-weight: 400;
}
.prd-pain-pill-value {
  color: #0e1116;
  font-size: 14px;
  font-weight: 600;
}
.prd-pain-pill-value--danger {
  color: #ef4444;
}
@media screen and (max-width: 991px) {
  .step-containter-prd-clone.prd-pain {
    display: block;
  }
  .prd-pain-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .prd-pain-square-grid {
    grid-template-columns: repeat(10, 1fr);
  }
  .prd-pain-stat {
    font-size: 32px;
    line-height: 40px;
  }
  .prd-pain-pill {
    padding: 10px 16px;
  }
  .prd-pain-pill-label,
  .prd-pain-pill-value {
    font-size: 13px;
  }
  .prd-pain-grid .div-block-47 {
    min-height: auto;
    align-items: center;
    text-align: center;
  }
  .prd-pain-grid .div-block-47 > svg {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .prd-pain-grid .div-block-48 {
    align-items: center;
    text-align: center;
    width: 100%;
  }
  .prd-pain-grid .step-item-header,
  .prd-pain-grid .text-block-37,
  .prd-pain-grid .prd-pain-stat {
    text-align: center;
    width: 100%;
  }
  .prd-pain-badge-wrap {
    justify-content: center !important;
    width: 100%;
  }
  .container.prd-scale-ads.prd-scale-layout-1 .grid-7.prd-mobile {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    justify-items: center;
    grid-row-gap: 16px;
    width: 100%;
  }
  .container.prd-scale-ads.prd-scale-layout-1 .div-block-97 {
    width: 100%;
  }
  .container.prd-scale-ads.prd-scale-layout-1 .div-block-75 {
    order: 1;
  }
  .container.prd-scale-ads.prd-scale-layout-1 .div-block-76-x1 {
    order: 2;
  }
  .container.prd-scale-ads.prd-scale-layout-1 .div-block-76-x2 {
    order: 3;
  }
  .container.prd-scale-ads.prd-scale-layout-1 .div-block-75,
  .container.prd-scale-ads.prd-scale-layout-1 .div-block-76-x1,
  .container.prd-scale-ads.prd-scale-layout-1 .div-block-76-x2 {
    width: 100%;
    max-width: 360px;
    height: auto;
    max-height: none;
    justify-content: center;
    align-items: center;
    border-left-width: 2px;
  }
  .container.prd-scale-ads.prd-scale-layout-1 .div-block-76,
  .container.prd-scale-ads.prd-scale-layout-1 .div-block-78 {
    height: auto;
    width: 100%;
    min-height: 155px;
  }
  .container.prd-scale-ads.prd-scale-layout-1 .div-block-76 .image,
  .container.prd-scale-ads.prd-scale-layout-1 .image-59 {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
  }
  .container.prd-scale-ads.prd-scale-layout-1 .div-block-79 {
    width: auto;
    max-width: 100%;
  }
  .container.prd-scale-ads.prd-scale-layout-1 .text-block-53 {
    order: 3;
    text-align: center;
    width: 100%;
  }
  .container.prd-scale-ads.prd-scale-layout-1 .image-54 {
    order: 2;
    margin-left: auto;
    margin-right: auto;
  }
  .container.prd-scale-ads.prd-scale-layout-1
    .div-block-75
    .div-block-76,
  .container.prd-scale-ads.prd-scale-layout-1
    .div-block-76-x1
    .div-block-78,
  .container.prd-scale-ads.prd-scale-layout-1
    .div-block-76-x2
    .div-block-78 {
    order: 1;
  }
  .grid-3-prd-in-use-top {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .step-containter-prd-clone.mobile .prd-features-mobile-grid {
    grid-template-columns: 1fr !important;
  }
  .step-containter-prd-clone.mobile .prd-feature-cell {
    position: relative;
    overflow: hidden;
    min-height: 200px;
  }
  .step-containter-prd-clone.mobile
    .prd-features-mobile-grid
    .div-block-47 {
    justify-content: flex-start !important;
    align-items: flex-start !important;
    text-align: left !important;
  }
  .step-containter-prd-clone.mobile .prd-feature-cell .div-block-48 {
    max-width: 52%;
    position: relative;
    z-index: 2;
    align-items: flex-start !important;
    text-align: left !important;
  }
  .step-containter-prd-clone.mobile
    .prd-features-mobile-grid
    .step-item-header,
  .step-containter-prd-clone.mobile
    .prd-features-mobile-grid
    .text-block-37 {
    text-align: left !important;
    width: auto !important;
  }
  .step-containter-prd-clone.mobile
    .prd-features-mobile-grid
    .div-block-48 {
    text-align: left !important;
    align-items: flex-start !important;
  }
  .step-containter-prd-clone.mobile .prd-feature-img {
    padding: 4px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    position: absolute;
    z-index: 1;
    display: block;
    object-fit: cover;
  }
  .step-containter-prd-clone.mobile .prd-feature-languages {
    align-items: center;
    text-align: center;
    min-height: auto;
  }
  .step-containter-prd-clone.mobile
    .prd-feature-languages
    .div-block-48 {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .step-containter-prd-clone.mobile
    .prd-feature-languages
    .step-item-header,
  .step-containter-prd-clone.mobile
    .prd-feature-languages
    .text-block-37,
  .step-containter-prd-clone.mobile
    .prd-feature-languages
    .div-block-48 {
    text-align: center !important;
    align-items: center !important;
  }
  .step-containter-prd-clone.mobile .prd-feature-languages .image-28 {
    margin-left: auto;
    margin-right: auto;
  }
}
/* animation dùng pixel thật */
@keyframes scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-1 * var(--scroll-width)), 0, 0);
  }
}
.container-prd-clone > .carousel {
  max-width: 1200px;
  position: relative;
  overflow: hidden;
  margin: 36px auto 0;
}
.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
}
.carousel-card {
  flex: 0 0 calc((100% - 20px) / 2);
}
.testimonial-card-inner {
  display: flex;
  gap: 20px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0.228) 100%
  );

  border-radius: 16px;
  padding: 24px;
  height: 100%;
  align-items: stretch;
}
.testimonial-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.testimonial-header {
  display: flex;
  gap: 12px;
  align-items: center;
}
.testimonial-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-verified {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
}
.testimonial-name {
  font-weight: 600;
  font-size: 16px;
  color: #0a0d12;
  font-family: Inter, Arial, sans-serif;
}
.testimonial-role {
  font-size: 14px;
  color: #717680;
  font-family: Inter, Arial, sans-serif;
}
.testimonial-quote {
  font-size: 16px;
  line-height: 1.5;
  color: #0a0d12;
  margin: 0;
  flex: 1;
  font-family: Inter, Arial, sans-serif;
}
.testimonial-tag {
  display: inline-flex;
  padding: 8px 14px;
  background: #e8f7ef;
  color: #0f7a4a;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  align-self: flex-start;
  font-family: Inter, Arial, sans-serif;
}
.testimonial-media {
  flex: 0 0 112px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  align-self: stretch;
  min-height: 180px;
}
.testimonial-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  cursor: pointer;
}
/* mobile */
@media (max-width: 768px) {
  .container-prd-clone > .carousel {
    max-width: 100%;
  }
  .carousel-track {
    gap: 0;
  }
  .carousel-card {
    flex: 0 0 100%;
    width: 100% !important;
    height: auto !important;
  }
  .testimonial-card-inner {
    flex-direction: column;
  }
  .testimonial-media {
    flex: none;
    width: 100%;
    min-height: 220px;
  }
}
@media screen and (max-width: 479px) {
  .mobile-navbar {
    padding: 0 !important;
  }
  .mobile-navbar .navbar-wrapper-top {
    padding: 0 16px !important;
  }
}

/* Video modal popup */

.video-modal {
position: fixed;
inset: 0;
display: none;
justify-content: center;
align-items: center;

background: rgba(0, 0, 0, 0.9);
backdrop-filter: blur(8px);

z-index: 99999;
padding: 20px;

animation: fadeIn 0.25s ease;
}

.video-modal.active {
display: flex;
}

.video-modal-content {
position: relative;

width: min(90vw, 450px);
max-width: 450px;

display: flex;
justify-content: center;
align-items: center;
}

.video-modal-content video {
width: 100%;
max-height: 90vh;

object-fit: contain;

border-radius: 20px;
background: #000;

box-shadow:
0 25px 80px rgba(0, 0, 0, 0.5),
0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* Nút close luôn nằm trong màn hình */
.video-close {
position: fixed;
top: 20px;
right: 20px;

width: 44px;
height: 44px;

border: none;
border-radius: 999px;

background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(10px);

color: #fff;
font-size: 28px;
line-height: 1;

cursor: pointer;

display: flex;
align-items: center;
justify-content: center;

z-index: 100000;

transition: all 0.2s ease;
}

.video-close:hover {
background: rgba(255, 255, 255, 0.25);
transform: scale(1.05);
}

.video-close:active {
transform: scale(0.95);
}

/* Mobile */
@media (max-width: 768px) {
.video-modal {
padding: 12px;
}

.video-modal-content {
width: min(95vw, 420px);
}

.video-modal-content video {
max-height: 85vh;
border-radius: 16px;
}

.video-close {
top: 12px;
right: 12px;
width: 40px;
height: 40px;
font-size: 24px;
}
}

@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
