/* ========================================
   PRODUCTS & SOLUTIONS PAGE - SHELL
======================================== */
.ps-page {
  background: var(--white);
  padding-top: 75px;
}

/* ========================================
   PRODUCTS & SOLUTIONS PAGE - HERO
======================================== */
.ps-hero {
  border-radius: var(--radius-xl);
  padding: 2rem;
}

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

.ps-hero-copy {
  font-size: 1.03rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 0;
}

.ps-hero-visual {
  min-height: 360px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-gradient);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ps-hero-img {
  width: 100%;
  max-height: 350px;
  object-fit: contain;
}

/* ========================================
   PRODUCTS & SOLUTIONS PAGE - ENTRY CARDS
======================================== */
.entry-card,
.solution-card,
.product-card-new {
  height: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.entry-card {
  display: block;
  padding: 1.5rem;
  border-radius: 22px;
  color: inherit;
}

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

.entry-card:hover {
  color: inherit;
}

.entry-card h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--brand);
  margin: 0 0 0.55rem;
}

.entry-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
  font-size: 0.95rem;
}

/* ========================================
   PRODUCTS & SOLUTIONS PAGE - SOLUTION CARDS
======================================== */
.solution-card {
  border-radius: 24px;
  padding: 1.25rem;
}

.solution-card.featured {
  box-shadow: var(--shadow-lg);
}

.solution-card-img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  border-radius: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  padding: 1rem;
}

.solution-slider-shell {
  position: relative;
}

.solution-slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 72px) / 4);
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0.25rem 0.1rem 1.2rem;
}

.solution-slider-track::-webkit-scrollbar {
  display: none;
}

.solution-slider-slide {
  min-width: 0;
  scroll-snap-align: start;
}

.solution-slider-btn {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand);
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  transform: translateY(-50%);
}

.solution-slider-btn:hover,
.solution-slider-btn:focus {
  background: var(--brand-gradient);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.solution-slider-btn-prev {
  left: -22px;
}

.solution-slider-btn-next {
  right: -22px;
}

.mini-tags,
.product-tags-new {
  display: flex;
  flex-wrap: wrap;
}

.mini-tags {
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.mini-tags span,
.product-tags-new span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
}

.mini-tags span {
  padding: 0.46rem 0.8rem;
  background: var(--brand-3);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 700;
}

/* ========================================
   PRODUCTS & SOLUTIONS PAGE - FILTER TABS
======================================== */
.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.product-tab {
  min-width: 170px;
  padding: 1rem 1rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-md);
  color: var(--brand);
  font-weight: 700;
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  justify-content: center;
  transition: all var(--transition);
}

.product-tab i {
  font-size: 1.05rem;
}

.product-tab:hover,
.product-tab.active {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(10, 63, 81, 0.08);
}

/* ========================================
   PRODUCTS & SOLUTIONS PAGE - PRODUCT CARDS
======================================== */
.product-card-new {
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card-new.featured-product {
  box-shadow: var(--shadow-lg);
}

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

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

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

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

.product-name {
  font-size: 1.16rem;
  line-height: 1.34;
  font-weight: 800;
  color: var(--brand);
  margin: 0 0 0.7rem;
}

.product-name small {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  margin-left: 0.15rem;
}

.product-purpose {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.95rem;
}

.product-price-new {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 1rem;
}

.product-tags-new {
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.product-tags-new span {
  padding: 0.45rem 0.8rem;
  background: #eaf6f8;
  color: #1f3440;
  font-size: 0.83rem;
  font-weight: 600;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: auto;
}

/* ========================================
   PRODUCTS & SOLUTIONS PAGE - FEATURED PRODUCT
======================================== */
.feature-highlight {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, #fcfeff 0%, #f4fbfd 100%);
  box-shadow: var(--shadow-lg);
  padding: 2.2rem;
}

.feature-highlight-img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  display: block;
}

/* ========================================
   PRODUCTS & SOLUTIONS PAGE - DECISION BOX
======================================== */
.decision-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.decision-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.decision-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--brand);
  font-weight: 700;
  transition: all var(--transition);
}

.decision-pill-feature {
  align-items: flex-start;
  flex-direction: column;
  gap: 0.35rem;
  justify-content: center;
  max-width: 480px;
  text-align: left;
}

.decision-pill-feature small {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
}

.decision-pill-cta {
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 800;
}

.decision-pill:hover {
  color: var(--brand);
  border-color: var(--brand);
  transform: translateY(-2px);
}

/* ========================================
   MEDIA QUERIES - TABLET
======================================== */
@media (max-width: 991.98px) {
  .solution-slider-track {
    grid-auto-columns: calc((100% - 24px) / 2);
  }

  .solution-slider-btn-prev {
    left: -12px;
  }

  .solution-slider-btn-next {
    right: -12px;
  }

  .ps-hero {
    padding: 1.2rem;
  }

  .ps-hero-visual {
    min-height: 300px;
  }

  .product-tab {
    min-width: calc(50% - 0.45rem);
  }

  .solution-card-img,
  .product-card-media img {
    height: 200px;
  }
}

/* ========================================
   MEDIA QUERIES - MOBILE
======================================== */
@media (max-width: 767.98px) {
  .solution-slider-track {
    grid-auto-columns: 88%;
  }

  .solution-slider-btn {
    width: 40px;
    height: 40px;
  }

  .solution-slider-btn-prev {
    left: 4px;
  }

  .solution-slider-btn-next {
    right: 4px;
  }

  .ps-hero-title {
    font-size: 2.15rem;
  }

  .ps-hero-visual {
    min-height: 240px;
    padding: 1rem;
  }

  .solution-card-img,
  .product-card-media img {
    height: 185px;
  }

  .product-tab {
    min-width: 100%;
  }

  .feature-highlight,
  .decision-box {
    padding: 1.4rem;
  }

  .product-actions {
    flex-direction: column;
  }

  .product-actions .btn {
    width: 100%;
  }
}
.desktop-solution-hero {
  padding: 3rem 0 4rem;
}

.desktop-solution-title {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 0.98;
  font-weight: 800;
  color: var(--brand);
  margin: 0.4rem 0 1rem;
  max-width: 760px;
}

.desktop-solution-copy {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--muted);
  max-width: 680px;
}

.desktop-solution-chips,
.logger-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.desktop-solution-chips span,
.logger-feature-list span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--brand-3);
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 700;
}

.desktop-hero-visual,
.desktop-diagram-card,
.report-preview-card,
.desktop-video-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, #fbfdfe 0%, #eef7fb 100%);
  box-shadow: var(--shadow-lg);
  padding: 1.4rem;
}

.desktop-hero-img,
.desktop-diagram-img,
.desktop-video-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 18px;
}

.desktop-visual-note {
  margin-top: 1rem;
  background: #fff;
  border: 1px solid rgba(10, 63, 81, 0.08);
  border-radius: 18px;
  padding: 1rem;
}

.desktop-visual-note strong {
  display: block;
  color: var(--brand);
  font-weight: 800;
}

.desktop-visual-note span {
  display: block;
  color: var(--muted);
  margin-top: 0.25rem;
}

.desktop-part-card,
.desktop-product-card {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

.desktop-part-card h3,
.desktop-product-card h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--brand);
  margin: 1rem 0 0.55rem;
}

.desktop-part-card p,
.desktop-product-card p {
  color: var(--muted);
  line-height: 1.72;
  margin: 0;
}

.desktop-product-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.desktop-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand);
  margin: 1rem 0;
}

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

.data-logger-section,
.how-it-works-section,
.desktop-app-section {
  background: #f8fbfc;
}

.report-window {
  background: #fff;
  border: 1px solid rgba(10, 63, 81, 0.08);
  border-radius: 20px;
  padding: 1rem;
}

.report-window-top {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.report-window-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #bdd8e2;
}

.report-chart {
  height: 160px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(10, 63, 81, 0.1), rgba(38, 174, 194, 0.16)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 700 180'%3E%3Cpath d='M0 130 C80 100, 120 110, 180 75 S290 30, 360 82 S470 150, 560 70 S650 40, 700 62' fill='none' stroke='%230A3F51' stroke-width='8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: cover;
  margin-bottom: 1rem;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.report-grid div {
  height: 64px;
  border-radius: 14px;
  background: #f1f7f9;
}

.report-preview-card p {
  color: var(--muted);
  line-height: 1.75;
  margin: 1rem 0 0;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.mobile-app-panel {
  border-radius: 30px;
  background: linear-gradient(135deg, #0a3f51 0%, #10627c 100%);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.mobile-app-panel h2,
.cloud-final-cta-panel h2 {
  color: #fff;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.02;
  margin: 0.3rem 0 0.7rem;
  font-weight: 800;
}

.mobile-app-panel p,
.cloud-final-cta-panel p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
  margin: 0;
}

.desktop-final-cta {
  padding: 1rem 0 5rem;
}

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

  .desktop-hero-visual,
  .desktop-diagram-card,
  .report-preview-card,
  .desktop-video-card,
  .mobile-app-panel {
    padding: 1.2rem;
  }
}
