/* ========================================
   HIBOUAIR DUO PRODUCT PAGE
======================================== */

.duo-product-page {
  background: var(--white);
  padding-top: 100px;
}

.duo-hero {
  padding: 1.4rem 0 4rem;
  background: var(--white);
}

.duo-scroll-anchor {
  display: block;
  position: relative;
  top: -100px;
  visibility: hidden;
}

.duo-hero-title {
  font-size: clamp(2.2rem, 4.6vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: 0;
  font-weight: 800;
  color: var(--brand);
  margin: 1rem 0 0.9rem;
  max-width: 700px;
}

.duo-hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--brand);
  font-weight: 800;
  max-width: 650px;
  margin: 0 0 1rem;
}

.duo-hero-copy,
.duo-rich-copy {
  font-size: 1.03rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 660px;
  margin: 0;
}

.duo-warranty-note {
  display: inline-flex;
  align-items: center;
  border-left: 4px solid var(--brand);
  color: var(--brand);
  background: var(--brand-3);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 0.85rem 1rem;
  margin: 1.35rem 0 0;
  font-weight: 800;
}

.duo-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.45rem;
}

.duo-hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  background: var(--brand-3);
  color: var(--brand);
  font-weight: 800;
  line-height: 1.2;
}

.duo-hero-meta .duo-price-chip {
  border-color: transparent;
  background: var(--brand);
  color: var(--white);
  font-size: 1.15rem;
}

.duo-hero-visual,
.duo-connectivity-image,
.duo-image-panel,
.duo-mobile-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: 1.35rem;
}

.duo-hero-visual {
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #fcfeff 0%, #f5fbfd 100%);
}

.duo-hero-img {
  width: 100%;
  height: 320px;
  display: block;
  filter: drop-shadow(0 18px 30px rgba(10, 63, 81, 0.14));
  border-radius: 16px;
}

.duo-value-panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, #fcfeff 0%, #f4fbfd 100%);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.duo-measure-section,
.duo-connectivity-section,
.duo-usecase-section {
  background: var(--bg-panel);
}

.duo-sensor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.duo-sensor-card,
.duo-feature-block,
.duo-product-card {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.duo-sensor-card {
  border-radius: 20px;
  padding: 1.2rem;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.duo-sensor-card:hover,
.duo-product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.duo-sensor-card span {
  color: var(--brand);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}

.duo-sensor-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0.65rem 0 0;
}

.duo-data-section {
  background: var(--white);
}

.duo-data-panel {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff 0%, #f2fafc 100%);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
}

.duo-data-panel .section-title,
.duo-data-panel .section-copy {
  max-width: 100%;
}

.duo-data-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.duo-data-grid .duo-feature-block {
  min-height: 180px;
}

.duo-data-grid .duo-data-wide {
  grid-column: span 2;
  min-height: auto;
}

.duo-product-page .solution-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--brand-3);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 0.85rem;
}

.duo-connectivity-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 430px;
}

.duo-connectivity-image img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  display: block;
}

.duo-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.duo-feature-block {
  border-radius: 20px;
  padding: 1.2rem;
  min-height: 190px;
}

.duo-feature-block i {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand-3);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  font-size: 1.05rem;
}

.duo-feature-block h3 {
  color: var(--brand);
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0.85rem 0 0.45rem;
}

.duo-feature-block p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

.duo-image-panel img,
.duo-mobile-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  object-fit: contain;
}
.duo-mobile-section {
  background: var(--white);
}

.duo-mobile-tags {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.duo-mobile-tags span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--brand);
  box-shadow: 0 10px 24px rgba(10, 63, 81, 0.05);
  padding: 0.85rem 0.95rem;
  font-weight: 800;
  line-height: 1.35;
}

.duo-mobile-tags i {
  color: var(--brand-2);
  font-size: 1rem;
}

.duo-app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.duo-app-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
}

.duo-mobile-card {
  background: linear-gradient(180deg, #fcfeff 0%, #f5fbfd 100%);
}

.desktop-video-card,
.solution-video-card {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.solution-video-card {
  position: relative;
  width: 100%;
  display: block;
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  font: inherit;
}

.solution-video-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.video-play-button {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 68px;
  height: 68px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--shadow-lg);
  transition:
    transform var(--transition),
    background var(--transition);
}

.solution-video-card:hover .video-play-button,
.solution-video-card:focus-visible .video-play-button {
  transform: translate(-50%, -50%) scale(1.06);
  background: #10627c;
}

.solution-video-card:focus-visible {
  outline: 3px solid rgba(21, 154, 184, 0.35);
  outline-offset: 4px;
}

.solution-video-modal .modal-content {
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.solution-video-modal .modal-header {
  border-bottom: 1px solid var(--border-soft);
}

.solution-video-modal .modal-title {
  color: var(--brand);
  font-size: 1.1rem;
  font-weight: 800;
}

.solution-video-modal .modal-body {
  padding: 1rem;
}

.solution-video-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
}

.solution-video-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.duo-use-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.duo-use-tags span {
  border-radius: 999px;
  background: var(--brand-3);
  color: var(--brand);
  padding: 0.55rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 800;
}

.duo-product-card {
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.duo-product-media {
  background: var(--bg-panel);
  padding: 1.1rem;
  border-bottom: 1px solid rgba(10, 63, 81, 0.06);
}

.duo-product-media img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  display: block;
}

.duo-product-body {
  padding: 1.25rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.duo-product-body .product-type {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--brand-2);
  margin-bottom: 0.45rem;
}

.duo-product-body h3 {
  font-size: 1.2rem;
  line-height: 1.35;
  font-weight: 800;
  color: var(--brand);
  margin: 0 0 0.65rem;
}

.duo-product-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 0.8rem;
}

.duo-product-body p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 1.15rem;
}

.duo-product-body .btn {
  align-self: flex-start;
  margin-top: auto;
}

.duo-sticky-buy {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 1030;
  width: min(calc(100% - 2rem), 760px);
  transform: translate(-50%, 140%);
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(10, 63, 81, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(10, 63, 81, 0.18);
  padding: 14px 16px 14px 20px;
  transition:
    transform var(--transition),
    opacity var(--transition);
}

.duo-sticky-buy.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.duo-sticky-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.duo-sticky-copy strong {
  color: var(--brand);
  font-size: 0.98rem;
  line-height: 1.2;
}

.duo-sticky-copy span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
}

.duo-final-cta {
  background: var(--white);
}

.duo-final-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 2rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, #fcfeff 0%, #eef8fb 100%);
  box-shadow: var(--shadow-lg);
  padding: 2.2rem;
}

.duo-final-cta-copy .section-title,
.duo-final-cta-copy .section-copy {
  max-width: 100%;
}

.duo-final-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
}

.duo-spec-mini-grid {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 0.4rem;
}

.duo-spec-mini-grid span {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid rgba(10, 63, 81, 0.08);
  border-radius: 16px;
  background: var(--white);
  color: var(--brand);
  box-shadow: 0 10px 24px rgba(10, 63, 81, 0.05);
  padding: 0.85rem 0.95rem;
  font-weight: 800;
  line-height: 1.35;
}

.duo-spec-mini-grid i {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--brand-3);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
}

.duo-final-cta-actions .btn {
  justify-content: center;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.duo-final-note {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0.25rem 0 0;
}

@media (max-width: 991.98px) {
  .duo-hero {
    padding: 1rem 0 3rem;
  }

  .duo-sensor-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .duo-feature-grid {
    grid-template-columns: 1fr;
  }

  .duo-data-grid {
    grid-template-columns: 1fr;
  }

  .duo-data-grid .duo-data-wide {
    grid-column: span 1;
  }

  .duo-final-cta-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .duo-hero-title {
    font-size: 2.35rem;
  }

  .duo-hero-visual,
  .duo-connectivity-image,
  .duo-value-panel,
  .duo-image-panel,
  .duo-data-panel,
  .duo-mobile-card {
    padding: 1.15rem;
    border-radius: 22px;
  }

  .duo-hero-visual {
    min-height: 320px;
  }

  .duo-connectivity-image {
    min-height: 300px;
  }

  .duo-feature-block {
    min-height: auto;
  }

  .duo-mobile-tags {
    grid-template-columns: 1fr;
  }

  .duo-app-actions .btn {
    width: 100%;
  }

  .duo-product-media img {
    height: 200px;
  }

  .duo-final-cta-panel {
    gap: 1.35rem;
    padding: 1.2rem;
    border-radius: 22px;
  }

  .duo-final-cta-actions .btn {
    width: 100%;
  }

  .duo-sticky-buy {
    bottom: 12px;
    width: calc(100% - 1rem);
    border-radius: 22px;
    padding: 0.65rem;
  }

  .duo-sticky-buy .btn {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    white-space: nowrap;
  }
}
