

/* ==============================
   HOME.CSS - HOME PAGE SECTIONS
================================ */

.home-section {
    padding: 40px 24px;
  }
  
strong {
  color: #1F6AE1; /* any color you want */
}

html,
body {
  overflow-x: clip;
}


/* =========================
   HERO LAYOUT
   Text left, static image right
========================= */

.hero {
  position: relative;
  min-height: 620px;
  height: min(92svh, 900px);
  padding: clamp(20px, 3vw, 40px) clamp(16px, 4vw, 48px);
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.60) 0%,
    rgba(0, 0, 0, 0.35) 35%,
    rgba(0, 0, 0, 0) 62%
  );
  pointer-events: none;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../assets/brightone/gradient-bg1.webp') center/cover no-repeat;
  z-index: 0;
}


.hero-device {
  position: relative;
  width: clamp(420px, 29vw, 700px);
  max-height: none;
  height: auto;
  align-self: flex-start;
  object-fit: contain;
  transform: translateY(-8%);
  z-index: 1;
}

.hero-bg,
.hero-device {
  animation: sceneReveal 5s ease-in-out infinite;
}

@keyframes sceneReveal {

  0% {
    filter: brightness(0.35);
    opacity: 0.75;
  }

  25% {
    filter: brightness(1);
    opacity: 1;
  }

  75% {
    filter: brightness(1);
    opacity: 1;
  }

  100% {
    filter: brightness(0.35);
    opacity: 0.75;
  }
}

.hero-content {
  position: absolute;
  left: 50%;
  bottom: clamp(24px, 7svh, 88px);
  width: min(760px, calc(100% - 32px));
  text-align: center;
  color: white;
  z-index: 3;

  opacity: 0;
  transform: translateX(-50%) translateY(30px);

  animation: textReveal 1.6s ease 0.8s forwards;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  letter-spacing: 2px;
}

.hero-content p {
  font-size: clamp(0.9rem, 1.6vw, 1.4rem);
  opacity: 0.9;
}

@keyframes textReveal {
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}



.qs-section {
  position: relative;
  padding: 80px 20px;
  overflow: hidden;
}

.qs-section::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 220px;
  pointer-events: none;
  opacity: 0;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.qs-header {
  text-align: left;
  max-width: 800px;
  margin: 0;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateX(-110vw);
}

.qs-header h2 {
  margin-bottom: 15px;
  color: #0f172a;
}

.qs-header p {
  color: #475569;
  line-height: 1.6;
  margin-bottom: 30px;
}

.qs-grid {
  display: grid;
  grid-template-columns: minmax(0, 800px) minmax(220px, 1fr);
  gap: 20px;
  align-items: start;
}

.qs-content {
  max-width: 800px;
}

.qs-text p {
  color: #334155;
  line-height: 1.7;
}

.qs-highlights {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: start;
  justify-items: start;
  gap: 25px;
  position: relative;
  z-index: 1;
}

.qs-device {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(18px);
}

.qs-device img {
  width: 100%;
  max-width: 380px;
  height: auto;
  object-fit: contain;
}

.highlight-box {
  background: var(--bg-white);
  padding: 15px 15px;
  border-radius: 12px;
  border: 1px solid #000;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-inline: 0;
  text-align: left;
  opacity: 0;
  transform: translateY(18px);
}

.qs-highlights .highlight-box.box-1,
.qs-highlights .highlight-box.box-3 {
  padding: 15px 15px;
}

.qs-highlights .highlight-box.box-2 {
  padding: 15px 15px;
}

.highlight-box h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #0f172a;
}


@keyframes qsHeaderIn {
  0% {
    opacity: 0;
    transform: translateX(-110vw);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes qsGlowDrift {
  0% {
    transform: translateX(-3%) translateY(0);
  }
  100% {
    transform: translateX(3%) translateY(10px);
  }
}

@keyframes highlightFadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.qs-section.is-inview::before {
  opacity: 1;
  animation: qsGlowDrift 10s ease-in-out infinite alternate;
}

.qs-section.is-inview .qs-header {
  animation: qsHeaderIn 1300ms cubic-bezier(0.16, 0.84, 0.32, 1) 180ms forwards;
}

.qs-section.is-inview .highlight-box {
  animation: highlightFadeInUp 1100ms ease forwards;
}

.qs-section.is-inview .qs-device {
  animation: highlightFadeInUp 1100ms ease 360ms forwards;
}

.qs-section.is-inview .highlight-box.box-1 {
  animation-delay: 220ms;
}

.qs-section.is-inview .highlight-box.box-2 {
  animation-delay: 620ms;
}

.qs-section.is-inview .highlight-box.box-3 {
  animation-delay: 1020ms;
}

/* QS Responsive */
@media (max-width: 1200px) {
  .qs-section {
    padding: 72px 20px;
  }

  .qs-grid {
    grid-template-columns: minmax(0, 720px) minmax(220px, 1fr);
    gap: 30px;
  }

  .qs-highlights {
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  .qs-section {
    padding: 64px 18px;
  }

  .qs-grid {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
    gap: 26px;
  }

  .qs-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .qs-device img {
    max-width: 300px;
    margin-top: 0;
  }
}

@media (max-width: 900px) {
  .qs-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .qs-content {
    max-width: 100%;
  }

  .qs-device {
    justify-content: flex-start;
  }

  .qs-device img {
    max-width: 260px;
  }
}

@media (max-width: 768px) {
  .qs-section {
    padding: 56px 16px;
  }

  .qs-header h2 {
    font-size: 2rem;
  }

  .qs-highlights {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .qs-device {
    justify-content: center;
  }

  .highlight-box {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 8px 12px;
  }

  .qs-device img {
    max-width: 230px;
    margin-left: auto;
    margin-right: auto;
  }

  .unique-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 540px) {
  .qs-section {
    padding: 48px 14px;
  }

  .qs-header h2 {
    font-size: 1.8rem;
  }

  .qs-header p {
    font-size: 0.95rem;
  }

  .highlight-box h3 {
    font-size: 1rem;
  }

  .highlight-box p {
    font-size: 0.9rem;
  }

  .qs-device img {
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .qs-section::before,
  .qs-header,
  .unique-header,
  .highlight-box,
  .qs-device,
  .feature-overlap .gallery-item,
  .pulse-comparison-card,
  .unique-card .tab-content.active {
    animation: none;
    opacity: 1;
    transform: none;
  }

  #pulse1,
  #pulse2,
  #pulse3 {
    animation: none;
    stroke-dashoffset: 0;
  }
}


.video-hero {
  position: relative;
  height: 70vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.40); /* adjust darkness */
  z-index: 1;
}

.video-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.video-content h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.video-content p {
  font-size: 1.25rem;
  margin-bottom: 25px;
}



.feature-section {
  padding: 60px 24px;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  box-sizing: border-box;
}

/* Left Text Area */
.feature-text {
  margin-bottom: 50px;
}

.feature-text h2 {
  margin-bottom: 20px;
  color: #111;
}

.feature-text1 p {
  color: #555;
  line-height: 1.6;
  max-width: 630px;
}

.feature-text1 {
  padding-left: 74px;
}

.feature-text p {
  color: #555;
  line-height: 1.6;
  max-width: 550px;
}

.feature-overlap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(0, 1fr);
  align-items: center;
  min-height: 460px;
  overflow: visible;
}

.feature-overlap .feature-text {
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

.feature-overlap .feature-image {
  grid-column: 2;
  justify-self: stretch;
  width: 100%;
  margin: 0;
  position: relative;
  z-index: 3;
}

.feature-overlap .feature-image img {
  width: 94%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.feature-overlap .feature-gallery {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 36px;
  align-items: start;
}

.feature-overlap .gallery-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-overlap .gallery-item img {
  width: 80%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
}

.feature-overlap .gallery-item .caption {
  margin-top: 10px;
}

.feature-overlap .feature-gallery > .caption {
  grid-column: 1 / -1;
  margin-top: 4px;
  text-align: center;
  justify-self: center;
  max-width: 760px;
}

/* Pulse Comparison Card */
.pulse-comparison-card {
  width: 100%;
  max-width: 1200px;
  margin: 34px auto 0;
  background: #f9f9f9;
  border: 1px solid #d9d9d9;
  border-radius: 20px;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  opacity: 0;
  transform: translateY(20px);
}

.pulse-comparison-card.is-inview {
  animation: highlightFadeInUp 950ms ease forwards;
}

.pulse-visuals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pulse-visual-item {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  padding: 12px;
  text-align: center;
}

.pulse-visual-item img {
  width: 70%;      /* smaller than current 100% */
  max-width: 180px;/* hard cap */
  height: auto;
  display: block;
  margin: 0 auto;  /* keep centered */
  border-radius: 10px;
  object-fit: cover;
}

.pulse-visual-item h4 {
  margin: 2px 0 0;
  color: #111;
}

.pulse-description {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.pulse-description h3 {
  margin: 0 0 12px;
  color: #111;
}

.pulse-description p {
  margin: 0 0 14px;
  color: #555;
  line-height: 1.6;
}

.pulse-description ul {
  margin: 0;
  padding-left: 20px;
  color: #444;
}

.pulse-description li {
  margin-bottom: 10px;
  line-height: 1.5;
  font-size: 0.95rem;
}

.feature-gallery {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 40px 8% 60px;
}

.gallery-item {
  flex: 1;
  text-align: center;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.caption {
  margin-top: 12px;
  font-size: 0.85rem;
  color: #555;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 900px) {
  .feature-text1 {
    padding-left: 20px;
  }

  .pulse-comparison-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .pulse-visuals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-overlap {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 24px;
  }

  .feature-overlap .feature-image {
    grid-column: auto;
    justify-self: center;
    width: min(88vw, 520px);
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
  }

  .feature-overlap .gallery-item {
    max-width: 520px;
    margin: 0 auto;
  }

  .feature-overlap .feature-gallery {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .feature-text1 {
    padding-left: 16px;
  }

  .pulse-visuals {
    grid-template-columns: 1fr;
  }

  .feature-text h2 {
    font-size: 2rem;
  }
}

.wave {
  width: 100%;
  max-width: 100%;
  display: block;
  margin: 8px auto 0;
}

.wave path {
  transform-box: fill-box;
  transform-origin: center;
  transform: scaleY(1.22);
}

#pulse1 {
  stroke-dasharray: 540;
  stroke-dashoffset: 540;
  animation: travelPulse 2.5s linear infinite;
}

@keyframes travelPulse {
  to {
    stroke-dashoffset: 0;
  }
}

#pulse2 {
  stroke-dasharray: 660;
  stroke-dashoffset: 660;
  animation: travelPulse 2.5s linear infinite;

}

#pulse3 {
  stroke-dasharray: 1140;
  stroke-dashoffset: 1140;
  animation: travelPulse 2.5s linear infinite;
}

  /* ==============================
     DEVICE SECTION
  ================================ */
  .device-features {
    position: relative;
    isolation: isolate;
    max-width: 1200px;   /* keeps content elegant on 1920px */
    margin:0 auto; 
    padding: 50px 24px 60px; 
  
    display: grid;
    grid-template-columns: 1.2fr 1.4fr 1.2fr;
    align-items: center;
    column-gap: 4rem;
    row-gap: 2rem;
    background-color: #000;
  }

  .device-features::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% - 50vw);
    right: calc(50% - 50vw);
    background-color: #000;
    z-index: -1;
  }

  .device-header .eyebrow {
    color: #fff;
  }

  .device-header {
    grid-column: 1 / -1;
    margin: 0 auto;
    text-align: center;
  }

  .device-header h2 {
    margin-bottom: 12px;
    color: #fff;
  }

  .device-image img {
    width: 100%;
    max-width: 320px;   /* adjust based on your device */
    margin: 0 auto;
    display: block;
  }

  .features {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }
  
  .feature-item {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }

  .feature-title {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .feature-icon {
    width: 50px;
    height: auto;
    object-fit: contain;
  }

  .feature-item h4 {
    position: relative;
    margin: 0;
    padding-bottom: 10px;
    display: block;
  }

  .feature-item h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: var(--feature-underline, 250px);
    height: 1px;
    background: currentColor;
    opacity: 0.6;
  }

  .feature-item p {
    margin: 4px 0 0;
    padding-left: 60px;
  }
  
  .feature-item h4 {
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
  }
  
  .feature-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #f2f2f2;
  }





/* =========================
   CAROUSEL
========================= */  
  .unique-section {
    padding: 80px 20px;
    background: #f8f9fb;
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .unique-header {
    text-align: left;
    max-width: 800px;
    margin: 0;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateX(-110vw);
  }

  .unique-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #0f172a;
  }

  .unique-header p {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.6;
  }

  .unique-section.is-inview .unique-header {
    animation: qsHeaderIn 1300ms cubic-bezier(0.16, 0.84, 0.32, 1) 180ms forwards;
  }
  
  .unique-card {
    width: 100%;
    max-width: 1200px;
    background: var(--bg-white);
    border-radius: 24px;
    border: 1px solid rgba(10, 36, 114, 0.12);
    padding: clamp(24px, 3.2vw, 42px);
    position: relative;
    overflow: hidden;
  }

  .unique-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(120% 90% at 0% 0%, rgba(31, 106, 225, 0.12), transparent 52%),
      radial-gradient(100% 85% at 100% 100%, rgba(47, 174, 122, 0.10), transparent 55%);
  }
  
  /* Tabs */
  .unique-card .tabs {
    display: inline-flex;
    gap: 10px;
    padding: 8px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(4px);
    margin-bottom: clamp(20px, 3vw, 36px);
    position: relative;
    z-index: 1;
  }
  
  .unique-card .tabs .tab {
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    color: #5b6578;
    background: transparent;
    position: relative;
    transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
  }
  
  .unique-card .tabs .tab:hover {
    transform: translateY(-1px);
    color: #1d2d50;
    background: rgba(255, 255, 255, 0.65);
  }
  
  .unique-card .tabs .tab.active {
    color: #ffffff;
    background: var(--brand-primary);
    box-shadow: 0 8px 20px rgba(10, 36, 114, 0.28);
  }
  
  .unique-card .tabs .tab.active::after {
    content: none;
  }
  
  /* Content */
  .unique-card .tab-content {
    display: none;
    position: relative;
    z-index: 1;
  }
  
  .unique-card .tab-content.active {
    display: block;
    animation: uniqueContentFade 320ms ease;
  }

  .unique-card .handpiece-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .unique-card .handpiece-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    padding: 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,250,255,0.9));
    box-shadow:
      0 10px 24px rgba(15, 23, 42, 0.06),
      inset 0 1px 0 rgba(255,255,255,0.88);
    overflow: hidden;
  }

  .unique-card .handpiece-media {
    margin: 0;
    min-height: 132px;
    border-radius: 14px;
    background:
      radial-gradient(circle at top, rgba(42, 92, 184, 0.12), transparent 60%),
      linear-gradient(145deg, #f8fbff, #eef4ff);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  .unique-card .handpiece-media img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center;
    transform: scale(0.9);
    filter: drop-shadow(0 14px 24px rgba(15, 23, 42, 0.16));
  }

  .unique-card .handpiece-copy {
    min-width: 0;
  }

  .unique-card .handpiece-label {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    margin-bottom: 8px;
    border-radius: 999px;
    background: rgba(10, 36, 114, 0.08);
    color: #2451a6;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }

  .unique-card .handpiece-copy h3 {
    margin: 0 0 8px;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.28;
    color: #0f172a;
  }

  .unique-card .handpiece-copy ul {
    margin: 0;
    padding-left: 16px;
    color: #435069;
    line-height: 1.45;
    font-size: 0.87rem;
  }

  .unique-card .handpiece-copy li + li {
    margin-top: 4px;
  }
  
  .unique-card .content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 3vw, 32px);
  }
  
  .unique-card .column {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    padding: clamp(16px, 2vw, 24px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
  }
  
  .unique-card .column h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.01em;
  }
  
  .unique-card .column ul {
    margin: 0 0 22px;
    padding-left: 18px;
    color: #3f4b62;
    line-height: 1.65;
    font-size: 0.96rem;
  }

  .unique-card .column ul:last-of-type {
    margin-bottom: 0;
  }

  @keyframes uniqueContentFade {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .unique-card {
      border-radius: 18px;
    }

    .unique-card .tabs {
      width: 100%;
      justify-content: center;
    }

    .unique-card .tabs .tab {
      flex: 1 1 auto;
      text-align: center;
    }

    .unique-card .content-grid {
      grid-template-columns: 1fr;
    }

    .unique-card .handpiece-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .unique-card .handpiece-card {
      gap: 10px;
      padding: 12px;
    }

    .unique-card .handpiece-media {
      min-height: 118px;
    }

    .unique-card .handpiece-media img {
      transform: scale(1.14);
    }
  }

  @media (max-width: 560px) {
    .unique-card .handpiece-grid {
      grid-template-columns: 1fr;
    }

    .unique-card .handpiece-media {
      min-height: 140px;
    }

    .unique-card .handpiece-media img {
      transform: scale(1.1);
    }
  }


/* =========================
   CAROUSEL
========================= */
/* Section */
.carousel-section {
  padding: 50px 0; 
}

.carousel-section .eyebrow {
  text-align: center;
}

/* Title */
.carousel-title {
  margin-bottom: 60px;
  text-align: center;
}

/* Tabs */
.carousel-tabs {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  justify-content: center;
}

.carousel-tabs .tab {
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  color: #8f9ca3;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px 6px 10px;
  text-align: center;
}

.carousel-tabs .tab.active {
  color: var(--brand-primary);
  border-bottom: 2px solid var(--brand-primary)
}

.carousel-tabs .tab-icon {
  width: 45px;
  height: auto;
  object-fit: contain;
  display: block;
  opacity: 0.7;
  filter: grayscale(1);
  transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.carousel-tabs .tab.active .tab-icon {
  opacity: 1;
  filter: none;
  transform: translateY(-2px);
}

/* Carousel wrapper */
.carousel-wrapper {
  overflow: hidden;
}

/* Track */
.carousel-track {
  display: flex;
  gap: 32px;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  align-items: stretch; /* important */
} 

/* Slide width = SAME AS FEATURE CARDS */
.carousel-slide {
  flex: 0 0 360px;
  display: flex;         /* important */
  align-items: stretch;  /* important */
}

/* Card */
.carousel-card {
  text-align: left;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  max-width: 450px;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%; /* THIS is usually what people forget */
}

/* Title */
.carousel-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
}

/* Paragraph spacing */
.carousel-card p {
  margin-bottom: 8px;
  line-height: 1.6;
  font-size: 14px;
  color: var(--text-muted);
}

.highlight-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.highlight-text {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1;
  min-width: 80px;
}

.highlight-row p {
  margin: 0;
  font-size: 14px;
}

/* Cool Clinical Blue */
.highlight-1 {
  color: #D85A5A;
}

/* Technology Teal */
.highlight-2 {
  color: #1F6AE1;
}

/* Deep Energy Indigo */
.highlight-3 {
  color: #2FAE7A;
}



/* Optional: different spacing for description */
.description {
  margin-bottom: 10px;
}

/* Image + Caption Layout */
.image-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.image-row img {
  width: 60px;
  height: auto;
  border-radius: 8px;
}

.image-row p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* Indications section spacing */
.indications {
  margin-top: 8px;
  font-size: 14px;
}

/* Selected card highlight */
.carousel-slide.active .carousel-card {
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  background: #d2e1f9;
}

.carousel-slide.active .carousel-card p {
  color: var(--text-secondary);
}






/* ==============================
   CARD SECTION
================================ */

/* SECTION */
.info-section {
  padding: 16px 24px;
}

/* Space only between info and the next carousel section */
.info-section + .carousel-section {
  margin-top: 80px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* SECTION TITLE */
.info-section-title {
  text-align: left;
}

/* CARD WRAPPER */
.card-wrapper {
  display: flex;
  gap: 50px;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* CARD */
.info-section .card {
  background: #ffffff;
  flex: 1 1 30%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  min-height: 400px;
}


/* CARD CONTENT */
.card-content {
  padding: 20px;
}

.card-content h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #111827;
}

.card-content p {
  font-size: 15px;
  line-height: 1.6;
  color: #4b5563;
}

/* BULLET LIST */
.card-content ul {
  margin: 0;
  padding-left: 20px;   /* space for bullets */
}

.card-content li {
  color: #4b5563;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 8px;   /* spacing between bullet points */
}


/* CARD IMAGE */
.card-image {
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff; /* optional subtle background */
}

.card-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}



/* ==============================
   B/A SECTION
================================ */

.before-after-section {
  padding: 16px 20px;
  text-align: center;
}

.section-title {
  letter-spacing: 1px;
}

.section-subtitle {
  margin: 12px 0 40px;
}

/* Container */
.before-after-wrapper {
  display: flex;
  justify-content: center;
}

.ba-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 12px;
  width: 500px;
  max-width: 86vw;
}

.ba-slides {
  width: 100%;
  position: relative;
  display: grid;
  min-width: 0;
}

.ba-slide {
  grid-area: 1 / 1;
  width: 100%;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.ba-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.img-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  border-radius: 6px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px; /* small spacing between images */
  overflow: hidden;
}

/* Remove fixed aspect ratio */
.img-container {
  aspect-ratio: auto;
}

/* Make images fully visible */
.img-container img {
  position: relative !important;
  width: 100%;
  height: auto; /* KEY FIX */
  object-fit: contain; /* show entire image */
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.img-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #9da7c7;
  transform: translateX(-50%);
}

.img-after {
  clip-path: none !important;
}

.slider,
.slider-handle {
  display: none !important;
}


/* Labels */
.label {
  position: absolute;
  bottom: 10px;
  padding: 4px 8px;
  font-size: 12px;
  background: black;
  color: white;
}

.before-label {
  left: 10px;
}

.after-label {
  right: 10px;
}

.ba-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--brand-primary);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ba-arrow svg {
  width: 20px;
  height: 20px;
}

.ba-arrow:hover {
  background: rgb(65, 65, 65);
}

.ba-arrow.prev {
  left: -74px;
}

.ba-arrow.next {
  right: -74px;
}

.ba-arrow:focus {
  outline: none;
}

.ba-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-top: 2px;
  min-width: 0;
}

.ba-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #9da7c7;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ba-dot.active {
  background: var(--brand-primary);
  transform: scale(1.2);
}

.ba-caption {
  margin: 2px 0 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.ba-caption-title {
  font-size: 1.1em;
  font-weight: 600;
  color: var(--brand-primary)
}

.ba-caption-credit {
  margin-left: 0.4em;
  font-size: 0.78em;
  color: #333;
}


  

  /* ==============================
     CTA
  ================================ */
  .productcta-section {
    display: flex;
    justify-content: center;
    padding: 10px 24px;
    margin-bottom: 50px;
    background-color: #f9f9f9;
  }

  .productcta-section .cta-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background-color: #f9f9f9;
  }

  .productcta-section .cta-title {
    margin: 0;
    text-align: center;
  }


/* ==============================
 REFERENCE
================================ */
/* symbol styling */
.note-symbol {
  font-size: 0.65em;
  vertical-align: super;
  margin-left: 2px;
  font-weight: 500;
}

/* wrapper controls page width */
.notes-wrap {
  max-width: 1200px;
  margin: 24px auto 0 auto;
  padding-top: 20px;
}

/* minimal typography */
.notes p {
  margin: 6px 0;
  font-size: 13px;
  line-height: 1.6;
  color: #8f9ca3;
  font-weight: 300;
  letter-spacing: 0.2px;
}




/* =========================================
   LARGE SCREENS (1440px and up)
========================================= */
@media (min-width: 1440px) {
  .hero {
    height: min(88svh, 920px);
  }

  .hero-device {
    width: clamp(560px, 36vw, 820px);
  }

  .hero-content {
    width: min(840px, calc(100% - 64px));
  }
}


/* =========================================
   TABLET / IPAD (768px – 1024px)
========================================= */
@media (min-width: 1024px) and (min-height: 1000px) {
  .hero {
    height: min(82svh, 860px);
  }

  .hero-content {
    bottom: clamp(24px, 6svh, 72px);
  }
}

@media (max-width: 1024px) {
  .hero {
    min-height: 540px;
    height: min(84svh, 760px);
    padding: 28px 20px;
  }

  .hero-device {
    width: clamp(340px, 50vw, 560px);
  }

  .hero-content {
    width: min(680px, calc(100% - 32px));
    bottom: clamp(20px, 6svh, 56px);
  }
}

/* =========================================
   IPAD LANDSCAPE (horizontal)
========================================= */
@media (max-height: 620px) and (min-width: 900px) {
  .hero {
    min-height: 520px;
    height: 92svh;
  }

  .hero-content {
    bottom: 18px;
  }
}


/* =========================================
   MOBILE (below 768px)
========================================= */
@media (max-width: 768px) {

  .hero {
    min-height: 500px;
    height: min(78svh, 680px);
    padding: 24px 16px;
  }

  .hero-device {
    width: clamp(240px, 62vw, 400px);
  }

  .hero-content {
    width: calc(100% - 24px);
    bottom: clamp(16px, 5svh, 40px);
  }

  .hero-content h1 {
    font-size: clamp(2.2rem, 9vw, 3.4rem);
    letter-spacing: 1px;
    margin-bottom: 12px;
  }

  .hero-content p {
    font-size: clamp(0.85rem, 3.2vw, 1.05rem);
    margin-bottom: 20px;
  }

  .device-features {
    padding: 10px 20px 50px;
    row-gap: 3rem;
    grid-template-columns: 1fr;
    text-align: left;
  }

  .device-header h3 {
    font-size: 1.6rem;
  }

  .device-header {
    order: 0;
  }

  .device-image {
    order: 1;
  }

  .features.left {
    order: 2;
  }

  .features.right {
    order: 3;
  }

  .features {
    width: 100%;
    align-items: flex-start;
  }

  .feature-item {
    max-width: 100%;
  }

  .device-image img {
    max-width: 260px;
  }

  .feature-icon {
    width: 36px;
  }

  .feature-item h4 {
    font-size: 0.85rem;
  }

  .feature-item h4::after {
    width: 160px;
  }

  .feature-item p {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .carousel-section {
    padding: 60px 0 80px;
  }

  .carousel-title {
    margin-bottom: 40px;
  }

  .carousel-tabs {
    gap: 14px;
    margin-bottom: 32px;
  }

  .carousel-tabs .tab {
    font-size: 0.85rem;
    padding: 6px 4px 8px;
  }

  .carousel-tabs .tab-icon {
    width: 32px;
  }

  .carousel-track {
    gap: 20px;
  }

  .carousel-slide {
    flex: 0 0 80%;
  }

  .carousel-card {
    padding: 20px;
  }

  .carousel-card img {
    width: 140px;
  }

  .carousel-card h3 {
    height: auto;
    font-size: 1rem;
  }

  .carousel-card p {
    font-size: 0.9rem;
  }

  .carousel-arrow-group {
    justify-content: center;
    margin-bottom: 16px;
  }

  .carousel-arrow {
    width: 32px;
    height: 32px;
  }

  .carousel-track {
    gap: 20px;
  }

  .carousel-card h3 {
    font-size: 17px;
  }

  .carousel-card p {
    font-size: 13px;
    line-height: 1.5;
  }

  .highlight-text {
    font-size: 22px;
    min-width: 75px;
  }

  .image-row {
    gap: 12px;
  }

  .image-row img {
    width: 45px;
  }

  .carousel-arrow-group {
    justify-content: center;
    margin-bottom: 16px;
  }

  .carousel-arrow {
    width: 32px;
    height: 32px;
  }

  .before-after-section {
    padding: 80px 16px;
  }

  .section-title {
    font-size: 2.1rem;
  }

  .section-subtitle {
    margin-bottom: 28px;
  }

  .ba-carousel {
    width: 100%;
    max-width: 300px;
  }

  .label {
    font-size: 11px;
    padding: 3px 6px;
  }

  .ba-arrow {
    width: 32px;
    height: 32px;
  }

  .ba-arrow.prev {
    left: -36px;
  }

  .ba-arrow.next {
    right: -36px;
  }

  .ba-dots {
    margin-top: 6px;
  }

  .ba-caption {
    font-size: 0.9rem;
    max-width: 260px;
  }

  .info-section {
    padding: 60px 20px;
  }

  .card-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .card {
    flex: 1 1 100%;
    min-height: auto;
  }

  .card-content {
    padding: 24px;
  }

  .card-content h3 {
    font-size: 18px;
  }

  .card-content p {
    font-size: 14px;
  }

  .card-image {
    height: 220px;
  }
}




