/*
  Flexiroam IoT Solutions — Page-specific CMS styles
  =====================================================
  These styles are scoped to the IoT Solutions CMS page. HtmlContentPage
  loads this stylesheet whenever the page body contains the `.iot-page`
  wrapper class, so it works regardless of the page slug.

  Responsive: mobile-first, desktop breakpoint at 1024px.
*/

.iot-page {
  font-family:
    'Public_Sans',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #052542;
  line-height: 1.5;
}
.iot-page .iot-section {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}
.iot-page .iot-section + .iot-section {
  margin-top: 32px;
}
.iot-page .iot-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
@media (min-width: 1024px) {
  .iot-page .iot-container {
    padding: 0 24px;
  }

  /* Hero */
  .iot-page .iot-hero-buttons {
    flex-direction: row !important;
  }
  .iot-page .iot-hero-buttons .iot-btn {
    width: auto !important;
  }
  .iot-page .iot-stats-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  /* 2-column grids */
  .iot-page .iot-grid-2 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* 3-column grids */
  .iot-page .iot-grid-3 {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  /* 4-column grids */
  .iot-page .iot-grid-4 {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  /* Security split layout */
  .iot-page .iot-split-layout {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Case study ordering on desktop */
  .iot-page .iot-case-study {
    grid-template-columns: 1fr 1fr !important;
  }
  .iot-page .iot-case-study-reversed .iot-case-text {
    order: 2 !important;
  }
  .iot-page .iot-case-study-reversed .iot-case-stats {
    order: 1 !important;
  }

  /* Comparison table */
  .iot-page .iot-comparison-table {
    min-width: 100% !important;
  }
}
.iot-page .iot-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #97ff02;
  margin-bottom: 16px;
}
.iot-page .iot-label.dark {
  color: #97ff02;
}
.iot-page .iot-label.light {
  color: #117ee4;
}
.iot-page .iot-h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 16px;
}
.iot-page .iot-h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
}
.iot-page .iot-h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 8px;
}
.iot-page .iot-h4 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 8px;
}
.iot-page .iot-body {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #3f3f46;
  margin: 0 0 16px;
}
.iot-page .iot-body-sm {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: #71717a;
  margin: 0;
}
.iot-page .iot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
  border: none;
}
.iot-page .iot-btn:hover {
  opacity: 0.9;
}
.iot-page .iot-btn-primary {
  background-color: #97ff02;
  color: #052542;
}
.iot-page .iot-btn-secondary {
  background-color: transparent;
  color: #052542;
  border: 1px solid #052542;
}
.iot-page .iot-btn-white {
  background-color: #ffffff;
  color: #052542;
}
.iot-page .iot-card {
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 16px;
  padding: 24px;
  box-sizing: border-box;
}
.iot-page .iot-card-dark {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  box-sizing: border-box;
}
.iot-page .iot-placeholder {
  background: #e4e4e7;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #71717a;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  overflow: hidden;
}
.iot-page .iot-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Case study card container */
.iot-page .iot-case-card {
  background: #fafafa;
  border-radius: 20px;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  box-sizing: border-box;
}
/* CTA rounded card container */
.iot-page .iot-cta-card {
  background: #fafafa;
  border-radius: 20px;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
@media (min-width: 1024px) {
  .iot-page .iot-h1 {
    font-size: 37px;
  }
  .iot-page .iot-h2 {
    font-size: 40px;
  }
  .iot-page .iot-h3 {
    font-size: 24px;
  }
  .iot-page .iot-cta-card {
    padding: 80px;
  }
  .iot-page .iot-case-card {
    padding: 80px;
    gap: 80px;
  }
}
