html,
body {
  overflow-x: hidden;
}

.swiper-button-next,
.swiper-button-prev {
  visibility: hidden;
}

.swiper-pagination {
  position: relative;
  margin-top: 30px;
  /* tăng khoảng cách tùy ý */
  text-align: center;
}

.swiper-pagination-bullet {
  background: gray;
  /* đổi màu bullet */
  opacity: 0.7;
}

.swiper-pagination-bullet-active {
  background: #f480ff !important;
  /* màu khi active - Lilac */
  opacity: 1;
}

.with-dot::before {
  content: '• ';
  margin-right: 4px;
  color: white;
  /* màu dot */
}

.hero-bg-desktop {
  transform: none;
}

.hero-bg-mobile {
  transform: scale(1.08);
  transform-origin: center;
}

.hero-left-overlay {
  background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.92) 22%, rgba(0, 0, 0, 0.68) 40%, rgba(0, 0, 0, 0.08) 66%, rgba(0, 0, 0, 0) 100%);
}

.hero-bottom-overlay {
  background: linear-gradient(0deg, rgba(2, 3, 5, 0.88) 0%, rgba(2, 3, 5, 0.36) 22%, rgba(2, 3, 5, 0) 56%);
}

.hero-spec-card {
  background: linear-gradient(90deg, rgba(14, 11, 24, 0.158), rgba(73, 20, 76, 0.144));
  border: 1px solid rgba(244, 128, 255, 0.72);
  border-radius: 8px;
  box-shadow: 0 0 16px rgba(244, 128, 255, 0.24), inset 0 0 12px rgba(244, 128, 255, 0.12);
}

.hero-spec-card span {
  white-space: nowrap;
}

.text-gradient-lilac {
  background: linear-gradient(90deg, #a041b1 0%, #ec65f7 50%, #a041b1 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: lilac-shine 3s linear infinite;
  padding: 5px;
}

@keyframes lilac-shine {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

.pricing-outline-btn {
  border: 2px solid transparent;
  background:
    linear-gradient(#1a1a1a, #1a1a1a) padding-box,
    linear-gradient(90deg, #80458b 0%, #ec65f7 100%) border-box;
  transition: all 0.3s ease;
}

.pricing-outline-btn:hover {
  background:
    linear-gradient(135deg, #120216, #6b1e77) padding-box,
    linear-gradient(90deg, #80458b 0%, #ec65f7 100%) border-box;
  box-shadow: 0 0 24px rgba(236, 101, 247, 0.35);
  color: #ffffff !important;
}

.specs-product-image {
  filter: drop-shadow(0 0 64px rgba(181, 88, 194, 0.14));
}

.specs-list {
  color: #e978f4;
}

.specs-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  border-bottom: 1px solid rgba(233, 120, 244, 0.55);
  padding: 24px 0;
}

.specs-row h3 {
  color: #e978f4;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.specs-row p {
  margin-top: 10px;
  color: #9ea0a8;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-style: italic;
  line-height: 1.35;
}

.specs-row>span {
  color: #e978f4;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.specs-row-compact {
  align-items: center;
}

.specs-row-last {
  border-bottom: 0;
}


.testimonial-track {
  width: 100vw;
  padding-left: 24px;
}

@media (min-width: 1280px) {
  .testimonial-track {
    padding-left: calc((100vw - 1216px) / 2);
  }
}

.testimonial-card {
  flex: 0 0 320px;
  height: 100%;
  min-height: 405px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  color: #141414;
}

.testimonial-card>img:first-child {
  display: block;
  width: calc(100% - 16px);
  height: 150px;
  margin: 8px;
  border-radius: 6px;
  object-fit: cover;
}

.testimonial-card p {
  flex-grow: 1;
  padding: 8px 18px 0;
  color: #151515;
  font-size: 16px;
  font-style: italic;
  line-height: 1.45;
  text-align: center;
}

.testimonial-signature {
  display: block;
  margin: 16px 24px 24px auto;
}

@media (max-width: 1023px) {
  #menu-btn {
    display: flex !important;
    position: relative;
    right: auto;
    top: auto;
  }

  #hamburger-icon {
    display: block !important;
  }

  #menu-btn::before {
    display: none !important;
  }

  #menu-btn.menu-open::before {
    display: none;
  }

  .hero-left-overlay {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.72) 56%, rgba(0, 0, 0, 0.28) 100%);
  }

  .hero-spec-row {
    width: calc(100vw - 48px) !important;
    max-width: calc(100vw - 48px) !important;
  }

  .hero-spec-row .hero-spec-card {
    justify-content: flex-start;
  }

  .hero-spec-row .hero-spec-card span:last-child {
    margin-left: 12px;
  }
}

@media (min-width: 1024px) {
  #menu-btn {
    display: none !important;
  }
}

@media (max-width: 639px) {
  .specs-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0;
  }

  .specs-section {
    width: 100vw;
    max-width: 100vw;
  }

  .specs-list {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .specs-heading {
    margin-left: auto;
    margin-right: auto;
    max-width: 320px;
    font-size: 26px !important;
    overflow-wrap: anywhere;
  }

  .specs-row h3,
  .specs-row>span {
    font-size: 17px;
  }

  .specs-row>span {
    justify-self: start;
  }

  .specs-row p {
    margin-top: 8px;
    font-size: 14px;
    overflow-wrap: anywhere;
    max-width: 100%;
  }

  .testimonial-track {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding-bottom: 10px;
    padding-right: 24px;
    scroll-snap-type: none;
  }

  .testimonial-card {
    flex-basis: 312px;
    scroll-snap-align: none;
  }
}

@media (max-width: 639px) {
  .testimonial-title {
    font-size: 30px !important;
  }

  .testimonial-track {
    width: 100%;
    box-sizing: border-box;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .testimonial-card {
    flex: 0 0 calc(100vw - 48px) !important;
    width: calc(100vw - 48px) !important;
    max-width: calc(100vw - 48px) !important;
    min-height: 430px;
  }

  .testimonial-card>img:first-child {
    height: 170px;
  }

  .testimonial-card p {
    font-size: 16px;
    overflow-wrap: break-word;
  }
}

/* Feature card border */
.feature-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
  border-color: rgba(244, 128, 255, 0.5);
}

/* Responsive connector lines for Sputtering showcase */
.connector-left {
  top: 205px;
  left: calc(50% - 200px);
}

.connector-right-top {
  top: 75px;
  right: calc(50% - 200px);
}

.connector-right-bottom {
  bottom: 75px;
  right: calc(50% - 200px);
}

@media (min-width: 1280px) {
  .connector-left {
    top: 280px;
    left: calc(50% - 220px);
  }

  .connector-right-top {
    top: 110px;
    right: calc(50% - 220px);
  }

  .connector-right-bottom {
    bottom: 110px;
    right: calc(50% - 220px);
  }
}

/* Linear timing for Certificates infinite marquee scroller */
.mySwiperCertificates .swiper-wrapper {
  transition-timing-function: linear !important;
}

/* Technical Specifications Monospace font and colors */
.specs-monospace {
  font-family: 'Courier New', Courier, monospace;
}

.specs-divider {
  border-color: rgba(244, 128, 255, 0.35) !important;
}

/* Custom blending utility */
.blend-screen {
  mix-blend-mode: screen !important;
}