/* ========================================
   DESKTOP BLE SOLUTION PAGE
======================================== */

.desktop-solution-page {
  background: var(--white);
  padding-top: 75px;
}

.desktop-solution-hero {
  background:
    radial-gradient(
      circle at 18% 20%,
      rgba(19, 91, 115, 0.12),
      transparent 34%
    ),
    radial-gradient(circle at 82% 18%, rgba(10, 63, 81, 0.08), transparent 30%),
    var(--surface-gradient);
  padding: 2rem 0 4.5rem;
}

.desktop-solution-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: 680px;
}

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

.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.5rem 0.85rem;
  border-radius: 999px;
  background: var(--brand-3);
  color: var(--brand);
  font-size: 0.84rem;
  font-weight: 700;
}

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

.desktop-hero-visual {
  position: relative;
  background: var(--surface-gradient);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
}

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

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

.solution-video-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.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;
}

.desktop-visual-note {
  margin-top: 1rem;
  display: grid;
  gap: 0.25rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--white);
  padding: 0.95rem 1rem;
}

.desktop-visual-note strong,
.desktop-required-label {
  color: var(--brand);
  font-weight: 800;
}

.desktop-visual-note span {
  color: var(--muted);
  line-height: 1.55;
}

.desktop-part-card {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.desktop-part-card .icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--brand-3);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

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

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

.data-logger-section,
.desktop-app-section {
  background: var(--bg-panel);
}

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

.report-window {
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  background: #fbfdfe;
  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: var(--brand-3);
}

.report-chart {
  height: 170px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(10, 63, 81, 0.12), rgba(21, 154, 184, 0.2)),
    repeating-linear-gradient(
      0deg,
      transparent 0 34px,
      rgba(10, 63, 81, 0.08) 35px
    );
  margin-bottom: 1rem;
}

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

.report-grid div {
  height: 46px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--border-soft);
}

.desktop-required-row {
  background: linear-gradient(180deg, #fcfeff 0%, #f5fbfd 100%);
}

.desktop-required-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.quantity-stepper {
  display: grid;
  grid-template-columns: 42px minmax(64px, 1fr) 42px;
  gap: 0.45rem;
}

.quantity-stepper button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.quantity-stepper button:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.mobile-app-section {
  background: var(--white);
}

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

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

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

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

  .video-play-button {
    width: 58px;
    height: 58px;
    font-size: 1.75rem;
  }

  .report-grid {
    grid-template-columns: 1fr;
  }
}
