/* ==========================
   GLOBAL & RESPONSIVE TOKENS
========================== */

:root {
  /* Fluid spacing: Scales from 40px on mobile to 100px on desktop */
  --section-pad: clamp(40px, 8vw, 100px);

  /* Fluid typography: Scaling headings and body text */
  --h-main: clamp(34px, 6vw, 55px);
  --h-sub: clamp(24px, 4vw, 40px);
  --p-main: clamp(16px, 1.25vw, 18px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

button,
input,
select,
textarea {
  font-family: "Manrope", sans-serif;
  font-size: 18px;
}

/* ==========================
   SECTION 1
========================== */

.product-page-products_section1 {
  /* gap: clamp(40px, 5vw, 80px); */
  padding: 160px 100px 100px;
  background: linear-gradient(110deg, #0d2b57 0%, #12366d 40%, #28498d 100%);
  /* height: 700px; */
  box-sizing: border-box;
}

.product-page-products_section1_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.product-page-products_section1_left {
  flex: 1 1 48%;
}

.product-page-products_section1_right {
  flex: 1 1 52%;
}

@media screen and (max-width: 990px) {
  .product-page-products_section1 {
    padding-top: 160px;
    height: auto;
    min-height: 600px;
  }
  .product-page-products_section1_inner {
    flex-direction: column;
    text-align: center;
  }

  .product-page-products_section1_left,
  .product-page-products_section1_right {
    flex: 0 0 100%;
    width: 100%;
  }
}

.product-page-products_section1_right img {
  width: 100%;
  margin: auto;
  display: block;
}

/* Badge */

.product-page-products_section1 button {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 2px 20px;

  border-radius: 100px;

  border: 1px solid rgba(156, 243, 255, 0.4);

  background: transparent;

  color: #9cf3ff;

  font-size: 12px;
  font-weight: 600;

  letter-spacing: 1px;

  margin-bottom: 25px;
}

#product-page-bullet {
  font-size: 22px;
  color: #11b78d;
}

/* Heading */

.product-page-products_section1_left h1 {
  color: #fff;
  font-size: 55px;
  margin-top: 25px;
  /* font-size: var(--h-main); */

  font-weight: 100;

  line-height: 1.05;

  letter-spacing: -2px;

  margin-bottom: 30px;
}

.product-page-product_sec1_sub-heading {
  display: block;
  color: var(--color-aqua);

  font-family: "Tex gyre pagella", "serif" !important;
}

/* Paragraph */

.product-page-product_sec1_p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  line-height: 1.9;
  font-family: "Manrope", sans-serif;
}

/* 1. Register the custom angle property for smooth animation interpolation */
@property --border-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

/* ==========================
   SECTION 3
========================== */

.product-page-section3 {
  background: #0b1f3b;
  padding: var(--section-pad);
  overflow: hidden;
}

.product-page-section3_container {
  max-width: 1500px;
  margin: auto;
  padding: 0 80px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.product-page-section3_content {
  max-width: 850px;
}

.product-page-section3_subtitle {
  display: inline-block;
  color: #3bc2d4;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: "Manrope", sans-serif;
}

.product-page-section3_title {
  color: #fff;

  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 30px;
  font-family: "TeX Gyre Pagella", serif;
}

.product-page-section3_title_highlight {
  color: var(--color-aqua);
}

.product-page-section3_description {
  color: rgba(255, 255, 255, 0.55);
  font-size: 18px;
  line-height: 1.9;
  font-family: "Manrope", sans-serif;
}

/* --- Matrix Grid --- */
.product-page-section3_matrix_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 20px;
  perspective: 1000px;
}

/* --- Interactive Animating Cards with Moving Border Line --- */
.product-page-section3_js_card {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(20, 40, 67, 0.7) 0%,
    rgba(11, 26, 47, 0.9) 100%
  );
  border-radius: 24px;
  padding: 35px 30px;
  height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;

  /* Configures the card for simple hover scaling */
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1);

  /* Smooth transitions for hovering out */
  transition:
    box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);

  /* Kinetic Entrance managed by GSAP initGlobalReveal() */
  opacity: 1;
}

/* Staggered entry logic — handled by GSAP stagger, but keep --stagger-y for the hover/state layout */
.product-page-section3_js_card:nth-child(1) {
  --stagger-y: 0px;
}

.product-page-section3_js_card:nth-child(2) {
  --stagger-y: 25px;
}

.product-page-section3_js_card:nth-child(3) {
  --stagger-y: 0px;
}

.product-page-section3_js_card:nth-child(4) {
  --stagger-y: 25px;
}

/* 2. THE MOVING BORDER TRACK
   Using a pseudo-element mask to draw a sharp, continuously moving neon laser line */
.product-page-section3_js_card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1.5px;
  /* Controls thickness of the moving border line */

  /* Creates the moving laser point effect using a conic gradient linked to our animated variable */
  background: conic-gradient(
    from var(--border-angle),
    #3bc2d4 0deg,
    #bdf6ff 30deg,
    transparent 90deg,
    transparent 270deg,
    #3bc2d4 360deg
  );

  /* Masks out the inner body so only the outer padded rim (the border) remains visible */
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;

  pointer-events: none;

  /* Infinitely loops the border line around the card shape */
  animation: spinBorderLine 3.5s linear infinite;
}

.product-page-section3_js_card:hover {
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(59, 194, 212, 0.3);
}

/* Speeds up the laser line animation when hovered for dynamic tactile feedback */
.product-page-section3_js_card:hover::before {
  animation-duration: 1.8s;
}

/* Inner content layering setup — simplified to fix overflow */
.product-page-card-inner-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.5s ease;
  z-index: 2;
}

.product-page-section3_card_icon {
  width: 50px;
  height: 50px;
  margin-bottom: 30px;
  background: rgba(59, 194, 212, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.4s ease,
    background 0.4s ease;
}

.product-page-section3_js_card:hover .product-page-section3_card_icon {
  transform: scale(1.15) rotate(-5deg);
  background: rgba(59, 194, 212, 0.3);
}

.product-page-section3_card_icon img {
  width: 28px;
  height: auto;
}

.product-page-section3_card_title {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 15px;
}

.product-page-section3_card_text {
  color: #8fa0b5;
  font-size: 15px;
  line-height: 1.6;
}

/* Mouse light glare overlay */
.product-page-card-shine {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.product-page-section3_js_card:hover .product-page-card-shine {
  opacity: 1;
}

.product-page-product-sec3-btn {
  margin: 40px auto !important;
  display: block !important;
  border-color: rgb(42 131 152) !important;
}

/* --- KEYFRAME ANIMATIONS --- */

/* Border line spinning keyframe engine */
@keyframes spinBorderLine {
  to {
    --border-angle: 360deg;
  }
}

/* Entry slide animation fallback if GSAP is disabled */
@keyframes cardEntrance {
  0% {
    opacity: 0;
    transform: translateY(60px) rotateX(-15deg) scale(0.9);
  }

  100% {
    opacity: 1;
    transform: translateY(var(--stagger-y)) rotateX(0deg) scale(1);
  }
}

/* --- Responsive Adaptations --- */
@media (max-width: 1200px) {
  .product-page-section3_matrix_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .product-page-section3_js_card:nth-child(even) {
    --stagger-y: 0px !important;
  }
}

@media (max-width: 600px) {
  .product-page-section3_matrix_grid {
    grid-template-columns: 1fr;
  }
}

/* --- Futuristic Animated Button --- */
.product-page-section3_button_wrapper {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

/* Base button setup acting as the 3D canvas boundary */
.product-page-section3_button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 45px;
  border-radius: 100px;
  background: #0a1c37;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;

  /* Smooth transitions for shadows and scaling */
  transition:
    transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* The rolling laser circuit frame inside the button */
.product-page-section3_button .product-page-button-track {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 100px;
  padding: 2px;
  /* Controls the thickness of the moving border line */

  /* Pulls from the exact same spinning custom angle engine as the cards */
  background: conic-gradient(
    from var(--border-angle),
    #3bc2d4 0deg,
    #bdf6ff 30deg,
    transparent 90deg,
    transparent 270deg,
    #3bc2d4 360deg
  );

  /* Mask out the center fill area to form a clean line circle */
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;

  pointer-events: none;

  /* Continuous cycle loop animation */
  animation: spinBorderLine 4s linear infinite;
}

/* Typography styles kept clean and on top layer */
.product-page-section3_button .product-page-button-text {
  position: relative;
  color: #b8f8ff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  font-family: "Manrope", sans-serif;
  z-index: 2;
  transition:
    color 0.3s ease,
    text-shadow 0.3s ease;
}

/* --- Interactive Hover Effects --- */
.product-page-section3_button:hover {
  transform: translateY(-3px) scale(1.02);
  /* Cyber glow shadow activation */
  box-shadow:
    0 15px 30px rgba(0, 0, 0, 0.5),
    0 0 25px rgba(59, 194, 212, 0.35);
}

/* Overdrive speed configuration for the moving line on hover */
.product-page-section3_button:hover .button-track {
  animation-duration: 1.5s;
  background: conic-gradient(
    from var(--border-angle),
    #3bc2d4 0deg,
    #ffffff 45deg,
    transparent 120deg,
    transparent 240deg,
    #3bc2d4 360deg
  );
}

/* Text glow illumination adjustments */
.product-page-section3_button:hover .button-text {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(189, 246, 255, 0.6);
}

/* Center button layout balance for mobile viewports */
@media (max-width: 1200px) {
  .product-page-section3_button_wrapper {
    justify-content: center;
    margin-top: 40px;
  }
}

/* ==========================
   TABLET
   501px - 800px
========================== */

@media screen and (min-width: 501px) and (max-width: 800px) {
  .product-page-products_section1 {
    padding: 160px 40px;
    height: auto;
    min-height: 600px;
  }
  .product-page-products_section1_inner {
    flex-direction: column;
    gap: 50px;
    text-align: center;
  }

  .product-page-products_section1_left,
  .product-page-products_section1_right {
    width: 100%;
    flex: 0 0 100%;
  }

  .product-page-products_section1_left h1 {
    font-size: 52px;
    line-height: 1.1;
    text-align: left;
  }

  .product-page-product_sec1_p {
    max-width: 700px;
    margin: auto;
    text-align: left;
    font-size: 17px !important;
  }

  .products_section1 button {
    margin: 0 auto 25px;
  }

  /* Section 3 */

  .product-page-section3 {
    padding: 80px 40px;
  }

  .product-page-section3_description {
    text-align: left;
    font-size: 18px !important;
  }

  .product-page-section3_container {
    padding: 0 40px;
  }

  .product-page-section3_content {
    text-align: center;
  }

  .product-page-section3_title {
    font-size: 48px;
    text-align: left;
  }

  .product-page-section3_cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .product-page-section3_card {
    padding: 30px 25px;
  }

  @media screen and (min-width: 501px) and (max-width: 800px) {
    .product-page-section5_buttons {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 15px;
    }

    /* First two buttons stay side by side */
    .product-page-section5_btn_primary,
    .product-page-section5_btn_secondary:first-of-type {
      flex: 0 0 auto;
    }

    /* Third button goes to next row */
    .section5_buttons .product-page-openVideoModal {
      flex: 0 0 100%;
      max-width: fit-content;
      margin: 0 auto;
    }
  }
}

/* ==========================
   MOBILE
   0px - 500px
========================== */

@media screen and (min-width: 0px) and (max-width: 500px) {
  .product-page-products_section1 {
    padding: 150px 12px;
    height: auto;
    min-height: 500px;
  }
  .product-page-products_section1_inner {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .product-page-products_section1_left,
  .product-page-products_section1_right {
    width: 100%;
    flex: 0 0 100%;
    display: block;
  }

  .product-page-products_section1_left h1 {
    font-size: 34px;
    text-align: left;
    line-height: 1.15;
    letter-spacing: 0;
  }

  .product-page-product_sec1_p {
    font-size: 15px;
    max-width: 100%;
    text-align: left;
  }

  .products_section1 button {
    margin: 0 auto 25px;
  }

  /* Section 3 */

  .product-page-section3 {
    padding: 70px 0;
  }

  .product-page-section3_container {
    padding: 0 20px;
  }

  .product-page-section3_content {
    text-align: center;
  }

  .product-page-section3_title {
    font-size: 32px;
    text-align: left;
  }

  .product-page-section3_description {
    font-size: 15px;
    text-align: left;
  }

  .product-page-section3_cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-page-section3_card {
    padding: 25px 20px;
  }

  .product-page-section3_button {
    width: 100%;
    max-width: 300px;
    margin: auto;
  }
}

/* ==========================
   SECTION 4
========================== */

.product-page-section4 {
  background: #f7f7f7;
  padding: var(--section-pad);
}

.product-page-section4_container {
  /* max-width: 1500px; */
  margin: auto;
}

.product-page-section4_heading {
  /* max-width: 850px; */
  margin-bottom: 20px;
}

.product-page-section4_title {
  font-family: "TeX Gyre Pagella", serif;
  font-size: var(--h-main);
  font-weight: 300;
  line-height: 1.05;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.product-page-section4_description {
  font-size: 18px;
  line-height: 1.8;
  color: #4d5664;
  max-width: 750px;
}

/* --- Grid Setup --- */
.product-page-section4_cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media screen and (max-width: 1100px) {
  .product-page-section4_cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .product-page-section4_cards {
    grid-template-columns: 1fr;
  }
}

/* --- Card Base Wrapper (Restored & Active) --- */
.product-page-section4_card {
  position: relative;
  background: #ffffff;
  border-radius: 28px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 4px 20px rgba(6, 29, 70, 0.07),
    0 1px 4px rgba(6, 29, 70, 0.04);
  transition:
    transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
}

/* Glass-Glance Animation Strip */
.product-page-section4_card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1) 10%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0.1) 90%,
    transparent
  );
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 3;
}

.product-page-section4_card:hover::before {
  left: 150%;
  transition: left 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-page-section4_card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow:
    0 20px 40px rgba(6, 29, 70, 0.12),
    0 4px 12px rgba(6, 29, 70, 0.05);
}

/* --- Specific Card Color Themes & Dynamic Tag Matching --- */

/* Blue Theme Mapping */
.product-page-section4_card_blue {
  border: 2px solid var(--color-periwinkle);
  border-top-width: 6px;
}

.product-page-section4_card_blue .product-page-section4_card_title {
  color: var(--color-periwinkle);
}

.product-page-section4_card_blue .product-page-section4_tag {
  background: #edf3ff;
  color: #5f7fff;
  border: 1px solid #dbe4ff;
}

.product-page-section4_card_blue:hover .product-page-section4_tag {
  background: var(--color-periwinkle);
  color: #ffffff;
  border-color: var(--color-periwinkle);
}

/* Cyan Theme Mapping */
.product-page-section4_card_cyan {
  border: 2px solid var(--color-dark-aqua);
  border-top-width: 6px;
}

.product-page-section4_card_cyan .product-page-section4_card_title {
  color: var(--color-dark-aqua);
}

.product-page-section4_card_cyan .product-page-section4_tag {
  background: #e6f8ff;
  color: #009ad9;
  border: 1px solid #ccefff;
}

.product-page-section4_card_cyan:hover .product-page-section4_tag {
  background: var(--color-dark-aqua);
  color: #ffffff;
  border-color: var(--color-dark-aqua);
}

/* Purple Theme Mapping */
.product-page-section4_card_purple {
  border: 2px solid var(--color-dark-lavender);
  border-top-width: 6px;
}

.product-page-section4_card_purple .product-page-section4_card_title {
  color: var(--color-dark-lavender);
}

.product-page-section4_card_purple .product-page-section4_tag {
  background: #f7f0fc;
  color: #9253cc;
  border: 1px solid #eeddfa;
}

.product-page-section4_card_purple:hover .product-page-section4_tag {
  background: var(--color-dark-lavender);
  color: #ffffff;
  border-color: var(--color-dark-lavender);
}

/* Green Theme Mapping */
.product-page-section4_card_green {
  border: 2px solid #1fc79a;
  border-top-width: 6px;
}

.product-page-section4_card_green .product-page-section4_card_title {
  color: var(--color-green);
}

.product-page-section4_card_green .product-page-section4_tag {
  background: #eafbf6;
  color: var(--color-green);
  border: 1px solid #cef5e9;
}

.product-page-section4_card_green:hover .product-page-section4_tag {
  background: var(--color-green);
  color: #ffffff;
  border-color: var(--color-green);
}

/* --- Inner Layout Elements --- */
.product-page-section4_card_icon {
  margin-bottom: 15px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-page-section4_card:hover .product-page-section4_card_icon {
  transform: translateY(-2px) scale(1.05);
}

.product-page-section4_card_icon img {
  width: 48px;
  height: 48px;
}

.product-page-section4_card_title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 7px;
  font-family: "Manrope", sans-serif !important;
}

.product-page-section4_card_text {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  color: #586171;
  flex-grow: 1;
  font-family: "Manrope", sans-serif !important;
}

.product-page-section4_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}

/* Base structural tag component variables */
.product-page-section4_tag {
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  /* Soft elastic swap timing */
  transition:
    background-color 0.3s cubic-bezier(0.25, 1, 0.5, 1),
    color 0.3s cubic-bezier(0.25, 1, 0.5, 1),
    border-color 0.3s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-page-section4_card:hover .product-page-section4_tag {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* --- Media Adjustments --- */
@media screen and (min-width: 501px) and (max-width: 800px) {
  .product-page-section4 {
    padding: 90px 0;
  }

  .product-page-section4_container {
    padding: 0 40px;
  }

  .product-page-section4_heading {
    max-width: 100%;
    margin-bottom: 50px;
  }

  .product-page-section4_title {
    font-size: 52px;
    line-height: 1.1;
  }

  .product-page-section4_description {
    font-size: 16px;
    max-width: 100%;
  }

  .product-page-section4_cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .product-page-section4_card {
    min-height: auto;
    padding: 25px 20px;
  }
}

@media screen and (min-width: 0px) and (max-width: 500px) {
  .product-page-section4 {
    padding: 70px 0;
  }

  .product-page-section4_container {
    padding: 0 20px;
  }

  .product-page-section4_heading {
    max-width: 100%;
    margin-bottom: 40px;
  }

  .product-page-section4_title {
    /* font-size: 29px !important; */
    line-height: 1.1;
    margin-bottom: 20px;
  }

  .product-page-section4_description {
    font-size: 15px;
    line-height: 1.8;
  }

  .product-page-section4_cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-page-section4_card {
    min-height: auto;
    padding: 20px;
    border-radius: 20px;
  }

  .product-page-section4_card_icon {
    margin-bottom: 15px;
  }

  .product-page-section4_card_icon img {
    width: 40px;
    height: 40px;
  }

  .product-page-section4_card_title {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .product-page-section4_card_text {
    font-size: 14px;
    line-height: 1.7;
  }

  .product-page-section4_tags {
    margin-top: 20px;
  }

  .product-page-section4_tag {
    font-size: 11px;
    padding: 5px 10px;
  }

  .product-page-section3_card_title {
    font-size: 26px;
  }
}

/* ==========================
   SECTION 5
========================== */

.product-page-cta {
  position: relative;
  overflow: hidden;
  padding: var(--section-pad);
  background: linear-gradient(90deg, #0d2b57 0%, #1d3d7a 50%, #28498d 100%);
}

/* Glow Effect */

.product-page-cta::before {
  content: "";

  position: absolute;

  top: 50%;

  left: 50%;

  transform: translate(-50%, -50%);

  width: 550px;

  height: 550px;

  background: rgba(120, 170, 255, 0.08);

  border-radius: 50%;

  filter: blur(80px);
}

.product-page-section5_container {
  max-width: 1400px;
  margin: auto;
  position: relative;
  z-index: 2;
}

.product-page-section5_content {
  text-align: center;
  max-width: 900px;
  margin: auto;
}

.product-page-section5_title {
  font-family: "TeX Gyre Pagella", serif;
  color: #ffffff;
  font-size: var(--h-sub);

  font-weight: 300;

  line-height: 1.1;

  margin-bottom: 25px;
}

.product-page-section5_description {
  font-family: "Manrope", sans-serif;
  color: rgba(255, 255, 255, 0.55);
  font-size: var(--p-main);
  line-height: 1.8;
  margin-bottom: 40px;
}

/* Buttons */

.product-page-section5_buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.product-page-section5_buttons_row {
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* Primary Button */

.product-page-section5_btn_primary {
  padding: 15px 20px;

  display: flex;

  justify-content: center;

  align-items: center;

  text-decoration: none;

  border-radius: 100px;

  background: #a9e7ef;

  color: #0b2345;

  font-size: 15px;

  font-weight: 700;

  transition: 0.3s;
}

.product-page-section5_btn_primary:hover {
  transform: translateY(-3px);
}

/* Secondary Button */

.product-page-section5_btn_secondary {
  padding: 15px 20px;

  display: flex;

  justify-content: center;

  align-items: center;

  text-decoration: none;

  border-radius: 100px;

  border: 2px solid #93ced8;

  color: #b8f8ff;

  font-size: 15px;

  font-weight: 700;

  transition: 0.3s;
}

.product-page-section5_btn_secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ==========================
   SECTION 2
========================== */

/* Section 2 — heading scrolls normally, only tab area sticks */
.product-page-section2 {
  padding: var(--section-pad);
  background: #fff;
}

.product-page-section2_container {
  max-width: 1500px;
  margin: auto;
}

/* ── SCROLL TRACK ───────────────────────────────────────────────────────────
   Tall container that provides scroll distance for 4 tabs.
   Each tab gets 80vh of read time. Total = 4 × 80vh = 320vh.
   On mobile this collapses to auto height with no sticky behaviour.
────────────────────────────────────────────────────────────────────────── */
/* Height managed by GSAP ScrollTrigger (end: "+=300%") */

/* ── STICKY INNER ───────────────────────────────────────────────────────────
   Sticks within the scroll track. Has no fixed height so content never clips.
   The heading ABOVE this is already scrolled past before sticking begins.
────────────────────────────────────────────────────────────────────────── */
.product-page-section2_inner {
  padding: 0px 0 20px;
  background: #fff;
}

/* Heading */

.product-page-section2_heading {
  max-width: 850px;
  margin-bottom: 20px;
}

.product-page-section2_subtitle {
  display: inline-block;
  color: #00d4a8;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: "Manrope", sans-serif;
}

.product-page-section2_title {
  font-size: 46px;
  line-height: 1.05;
  color: var(--text-dark);
}

.product-page-section2_title_accent {
  color: var(--color-periwinkle);
}

.product-page-section2_description {
  color: #515a68;
  font-size: 16px;
  line-height: 1.8;
  font-family: "Manrope", sans-serif;
}

/* Tabs */

.product-page-section2_tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}

.product-page-section2_tabs::-webkit-scrollbar {
  display: none;
}

.product-page-section2_tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #d4dce8;
  background: #fff;
  color: #071d46;
  padding: 12px 22px;
  border-radius: 100px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: 0.25s;
  font-family: "Manrope", sans-serif;
  flex-shrink: 0;
  white-space: nowrap;
}

.product-page-section2_tab:hover {
  border-color: #aabdd4;
  background: #f5f8fc;
}

/* Dot inside each tab */
.product-page-section2_tab_dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #d4dce8;
  transition: 0.25s;
}

/* Per-product dot colours (inactive) */
.product-page-section2_tab_casebook .product-page-section2_tab_dot {
  background: var(--color-green);
}

.product-page-section2_tab_mycasebook .product-page-section2_tab_dot {
  background: var(--color-lavender);
}

.product-page-section2_tab_digitaltwin .product-page-section2_tab_dot {
  background: var(--color-periwinkle);
}

.product-page-section2_tab_ngs .product-page-section2_tab_dot {
  background: var(--color-dark-aqua);
}

/* Active states — filled pill */
.product-page-section2_tab_casebook.product-page-section2_tab_active {
  background: var(--color-green);
  border-color: var(--color-green);
  color: #fff;
}

.product-page-section2_tab_mycasebook.product-page-section2_tab_active {
  background: var(--color-lavender);
  border-color: var(--color-lavender);
  color: #fff;
}

.product-page-section2_tab_digitaltwin.product-page-section2_tab_active {
  background: var(--color-periwinkle);
  border-color: var(--color-periwinkle);
  color: #fff;
}

.product-page-section2_tab_ngs.product-page-section2_tab_active {
  background: var(--color-dark-aqua);
  border-color: var(--color-dark-aqua);
  color: #fff;
}

/* Active dot turns white */
.product-page-section2_tab_active .product-page-section2_tab_dot {
  background: #fff;
}

/* Hairline divider below tabs */
.product-page-section2_divider {
  height: 1px;
  background: #e2e8f0;
  margin: 20px 0 20px;
}

/* Container for absolute panels */
.product-page-section2_panels {
  position: relative;
  min-height: 500px;
}

/* Panel — absolute to allow overlapping cross-fades */
.product-page-section2_panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  visibility: hidden;
  overflow: visible;
  padding-right: 0;
}

/* Custom scrollbar for better aesthetics */
.product-page-section2_panel::-webkit-scrollbar {
  width: 4px;
}

.product-page-section2_panel::-webkit-scrollbar-track {
  background: transparent;
}

.product-page-section2_panel::-webkit-scrollbar-thumb {
  background: rgba(7, 29, 70, 0.1);
  border-radius: 10px;
}

.product-page-section2_panel_active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.product-page-section2_panel_inner {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  padding-bottom: 10px;
  /* Reduced further to eliminate bottom space */
  will-change: transform;
  border-radius: 24px;
  border: 1.5px solid #d4dce8 !important;
  padding: 20px;
}

@keyframes panelFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-page-section2_left {
  flex: 0 0 41%;
  border-right: 1.5px solid #d4dce8 !important;
}

/* Panel label */
.product-page-section2_panel_label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: "Manrope", sans-serif;
}

.product-page-green {
  color: var(--color-green);
}

.product-page-purple {
  color: var(--color-lavender);
}

.product-page-blue {
  color: var(--color-periwinkle);
}

.product-page-lightblue {
  color: var(--color-dark-aqua);
}

/* Panel title */
.product-page-section2_panel_title {
  color: #071d46;
  font-size: 32px;
  line-height: 1.1;
  margin-bottom: 20px;
  text-align: left;
}

.product-page-section2_panel_title_accent {
  display: block;
  font-weight: inherit;
}

.product-page-section2_accent_casebook {
  color: var(--color-green);
}

.product-page-section2_accent_mycasebook {
  color: var(--color-lavender);
}

.product-page-section2_accent_digitaltwin {
  color: var(--color-periwinkle);
}

.product-page-section2_accent_ngs {
  color: var(--color-dark-aqua);
}

/* Panel description */
.product-page-section2_panel_description {
  color: #5f6978;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
  font-family: "Manrope", sans-serif;
}

/* Feature list */
.product-page-section2_features {
  list-style: none;
  margin-bottom: 28px;
}

.product-page-section2_feature {
  /* display: grid; */
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 4px;
  padding: 0 0 10px 0;
  border-bottom: 1px solid #eef2f6;
  margin-right: 20px;
  margin-bottom: 16px;
  background: #fff;
  transition: all 0.3s ease;
}

.product-page-section2_feature:hover {
  transform: translateY(-2px);
}

.product-page-section2-new {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 20px;
  row-gap: 4px;
  padding: 22px 28px;
  border: 1px solid #eef2f6;
  border-radius: 24px;
  margin-bottom: 16px;
  background: #fff;
  transition: all 0.3s ease;
}

.product-page-section2_feature_dot {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Individual Dot Colors */
.product-page-dot_breast {
  background: var(--color-lavender);
}

.product-page-dot_lung {
  background: var(--color-periwinkle);
}

.product-page-dot_colorectal {
  background: var(--color-green);
}

.product-page-dot_ovarian {
  background: var(--color-pink);
}

.product-page-dot_liver {
  background: var(--color-peach);
}

.product-page-section2_feature_title {
  grid-column: 2;
  grid-row: 1;
  color: #071d46;
  font-size: 16px;
  font-weight: 700;
  font-family: "Manrope", sans-serif;
  display: block;
}

.product-page-section2_feature_text {
  grid-column: 2;
  grid-row: 2;
  color: #5f6978;
  font-size: 14px;
  line-height: 1.65;
  font-family: "Manrope", sans-serif;
  display: block;
}

/* Badges */
.product-page-section2_feature_badge {
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: center;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  font-family: "Manrope", sans-serif;
  white-space: nowrap;
}

.product-page-section2_badge_live {
  background: #d5f5ec;
  color: #00a878;
}

.product-page-section2_badge_soon {
  background: #e8f4ff;
  color: #3a87d5;
}

/* Digital Twin CTA link */
.product-page-section2_cta_link {
  display: inline-flex;
  align-items: center;
  padding: 15px 28px;
  border-radius: 100px;
  border: 1.5px solid var(--color-periwinkle);
  color: var(--color-periwinkle);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-family: "Manrope", sans-serif;
  transition: 0.25s;
  margin-top: 8px;
}

.product-page-section2_cta_link:hover {
  background: var(--color-periwinkle);
  color: #fff;
}

/* NGS Stats */
.product-page-section2_ngs_stats {
  display: flex;
  background: #f4fafc;
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 28px;
  margin-bottom: 20px;
}

.product-page-section2_ngs_stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 20px;
  border-right: 1px solid #d9eef5;
}

.product-page-section2_ngs_stat:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: 20px;
}

.product-page-section2_ngs_stat:nth-child(2) {
  padding-left: 20px;
}

.product-page-section2_ngs_stat_value {
  font-size: 22px;
  font-weight: 800;
  color: #071d46;
  font-family: "Manrope", sans-serif;
}

.product-page-section2_ngs_stat_label {
  font-size: 11px;
  font-weight: 600;
  color: #8090a4;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-family: "Manrope", sans-serif;
}

/* NGS Certifications */
.product-page-section2_ngs_certs {
  background: #f4fafc;
  border-radius: 12px;
  padding: 16px 20px;
}

.product-page-section2_ngs_cert_title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #071d46;
  margin-bottom: 10px;
  font-family: "Manrope", sans-serif;
}

.product-page-section2_ngs_cert_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-page-section2_ngs_cert_tag {
  padding: 5px 12px;
  border-radius: 50px;
  background: #daf0f7;
  color: #2a7fa8;
  font-size: 12px;
  font-weight: 600;
  font-family: "Manrope", sans-serif;
}

/* Right column */
.product-page-section2_right {
  flex: 0 0 54%;
  /* max-height: 100vh; */
}

.product-page-section2_media {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
  overflow: hidden;
}

.product-page-section2_media_mycasebook {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* All tab images / videos — uniform sizing, consistent across all tabs */
.product-page-section2_right img,
.product-page-section2_right source,
.product-page-section2_right video {
  /* width: 100%; */
  max-height: 540px;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  max-width: 100%;
  /* height: 500px; */
}

.product-section2-animate video {
  height: 500px !important;
}

/* ==========================
   TABLET 501-800
========================== */

/* ==========================
   SECTION 2 RESPONSIVE
========================== */

/* ── Tablet & Small Laptops (1024px and below) ── */
@media screen and (max-width: 1024px) {
  .product-page-section2 {
    padding: 80px 40px;
  }

  .product-page-section3_container {
    padding: 0;
  }

  .product-page-section2_left {
    border: 0px !important;
  }

  /* Structural Stack: Disable sticky behaviour and allow content to flow naturally */
  .product-page-section2_panels {
    height: auto !important;
    position: relative;
  }

  .product-page-section2_panel {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: auto !important;
    overflow: visible !important;
    opacity: 0;
    visibility: hidden;
  }

  .product-page-section2_panel.product-page-section2_panel_active {
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .product-page-section2_panel_inner {
    flex-direction: column;
    gap: 40px;
    align-items: center;
    /* Center content on mobile/tablet */
    text-align: center;
  }

  .product-page-section2_left,
  .product-page-section2_right {
    width: 100%;
    flex: 0 0 100%;
  }

  .product-page-section2_features {
    text-align: left;
    /* Keep features readable */
    max-width: 600px;
    margin: 0 auto 28px auto;
  }

  .product-page-section2_media_mycasebook {
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ── Tablet (800px and below) ── */
@media screen and (max-width: 800px) {
  /* .product-page-section2_container {
        padding: 0 40px;
    } */

  .product-page-section2_inner {
    padding: 10px 0 20px;
  }

  .product-page-section2_title {
    font-size: 44px;
  }

  .product-page-section2_panel_title {
    font-size: 31px;
  }

  .product-page-section2_panel_description {
    text-align: left;
    font-size: 16px !important;
  }

  /* .product-page-section2_panel video{
        padding: 25px;
    } */
}

/* ── Mobile (500px and below) ── */
@media screen and (max-width: 500px) {
  .product-page-section2 {
    padding: 60px 0;
  }

  .product-page-section2_container {
    padding: 0 20px;
  }

  .product-page-section2_title {
    font-size: 34px;
  }

  .product-page-section2_feature {
    padding: 5px 10px;
    column-gap: 2px;
  }

  .product-page-section2_panel_title {
    font-size: 26px;
    text-align: left;
    padding: 10px;
    margin-bottom: 5px;
  }

  .product-page-section2_tabs {
    gap: 8px;
    justify-content: flex-start;
    padding-left: 20px;
    padding-right: 20px;
    flex-wrap: wrap;
  }

  .product-page-section2_tab {
    font-size: 12px;
    padding: 8px 14px;
  }

  .product-page-section5_buttons_row {
    flex-direction: column;
  }

  .product-page-section5_buttons {
    gap: 15px;
    flex-direction: column;
  }

  .product-page-section5_btn_secondary {
    padding: 10px;
    font-size: 12px;
  }

  .product-page-section2_inner {
    padding: 0 0 20px;
  }

  .product-page-section3 {
    padding: 70px 20px;
  }

  .product-page-products_section1 {
    padding: 150px 20px !important;
    height: auto !important;
    min-height: 500px !important;
  }

  .product-page-section2_panel_description {
    font-size: 15px;
    text-align: left;
    padding: 10px;
    margin-bottom: 10px;
  }
}

/* Section 2 standard responsive layout */
.product-page-section2_tabs_main {
  display: block;
}

@media screen and (max-width: 1024px) {
  .product-page-section2_panel_inner {
    flex-direction: column;
    gap: 40px;
    align-items: center;
    text-align: center;
  }

  .product-page-section2_left,
  .product-page-section2_right {
    width: 100%;
    flex: 0 0 100%;
  }
}

.product-page-section2_panel:nth-child(1) {
  --video-border: var(--color-green);
}

.product-page-section2_panel:nth-child(2) {
  --video-border: var(--color-lavender);
}

.product-page-section2_panel:nth-child(3) {
  --video-border: var(--color-periwinkle);
}

.product-page-section2_panel:nth-child(4) {
  --video-border: var(--color-dark-aqua);
}

/* .product-page-section2_panel video {
    border: 3px solid transparent;
    border-radius: 12px;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(
            135deg,
            var(--video-border),
            #fff,
            var(--video-border)
        ) border-box;
} */

.product-page-section2_panel video {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 100%;
  border-radius: 12px;
  border: 2px solid rgb(11, 31, 59);
  margin: auto;
}

.product-page-section2_media {
  position: relative;
  border-radius: 16px;
  padding: 3px;
  overflow: hidden;
}

.product-page-section2_media::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: conic-gradient(
    from 0deg,
    #f4fafc,
    var(--video-border),
    #d4dce8,
    var(--video-border),
    #e2e8f0
  );
  animation: rotateBorder 6s linear infinite;
}

.product-page-section2_media::after {
  content: "";
  position: absolute;
  inset: 5px;
  background: white;
  border-radius: 12px;
  z-index: 1;
}

/* .product-page-section2_media video {
    position: relative;
    z-index: 2;
    border-radius: 12px;
}

@keyframes rotateBorder {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
} */

/* .product-page-section2_right video {
    border: 5px solid transparent;
    border-radius: 12px;
    background: linear-gradient(#ffffff, #ffffff) padding-box,
                linear-gradient(135deg, #e8b7e7, #f7f4f4, #b39ddb) border-box; 
    overflow: hidden;
} */

.product-page-section2_right video.no-border {
  border: 0;
}

.product-page-section2-new {
  border: 0;
  background: transparent;
  column-gap: 20px;
  margin-bottom: 16px;
  padding: 0;
}

.product-page-section2-block {
  border: 1px solid #d4dce8;
  padding: 22px 28px;
  border-radius: 20px;
  background: #fff;
  transition: all 0.3s ease;
}

.product-page-section2-new:hover .product-page-section2-block {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.product-page-section2_panel_label {
  display: none;
}
