/* =====================================================
   AJIN IoT REAL-TIME MONITORING
   Admin Control + Fisherman View
   ===================================================== */

.iot-page-banner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 82% 18%,
      rgba(31, 230, 194, 0.2),
      transparent 34%
    ),
    radial-gradient(
      circle at 18% 85%,
      rgba(0, 156, 222, 0.18),
      transparent 35%
    ),
    linear-gradient(135deg, #061724 0%, #0a3348 55%, #08605f 100%);
}

.iot-page-banner::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px
    );
  background-size: 42px 42px;
  content: "";
  pointer-events: none;
}

.iot-page-banner .banner-content {
  position: relative;
  z-index: 1;
}

.iot-page-banner h2 {
  margin-top: 12px;
}

.iot-page-banner p {
  max-width: 850px;
  margin-right: auto;
  margin-left: auto;
  word-break: keep-all;
}

.iot-banner-label,
.iot-section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 13px;
  border: 1px solid rgba(0, 166, 190, 0.26);
  border-radius: 999px;
  background: rgba(0, 159, 180, 0.08);
  color: #087f91;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.iot-banner-label {
  border-color: rgba(111, 239, 223, 0.35);
  background: rgba(33, 207, 188, 0.12);
  color: #82f3de;
}

.iot-content-section {
  overflow: hidden;
}

.iot-intro {
  padding: 26px 0 8px;
}

.iot-intro-heading,
.iot-data-heading {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.iot-intro-heading h3,
.iot-data-heading h3,
.iot-safety-copy h3 {
  margin: 16px 0 0;
  color: #102f46;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.3;
  word-break: keep-all;
}

.iot-intro-heading p,
.iot-data-heading p,
.iot-safety-copy p {
  margin: 18px 0 0;
  color: #526a7b;
  font-size: 17px;
  line-height: 1.85;
  word-break: keep-all;
}

.iot-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.iot-summary-card {
  display: flex;
  gap: 14px;
  min-height: 150px;
  padding: 22px;
  border: 1px solid rgba(26, 111, 161, 0.16);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(18, 60, 88, 0.07);
}

.iot-summary-number {
  display: inline-flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #008ec1, #16af8c);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.iot-summary-card strong {
  display: block;
  color: #123a55;
  font-size: 17px;
  font-weight: 800;
}

.iot-summary-card p {
  margin: 8px 0 0;
  color: #5e7382;
  font-size: 14px;
  line-height: 1.65;
  word-break: keep-all;
}

.iot-monitor-section {
  margin-top: 64px;
  padding: 48px;
  overflow: hidden;
  border: 1px solid rgba(33, 128, 187, 0.2);
  border-radius: 26px;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(0, 166, 224, 0.12),
      transparent 38%
    ),
    linear-gradient(145deg, #f7fbfe 0%, #ffffff 62%, #f3f9fc 100%);
  box-shadow: 0 20px 52px rgba(16, 55, 82, 0.1);
}

.fisherman-monitor-section {
  border-color: rgba(20, 158, 112, 0.2);
  background:
    radial-gradient(
      circle at 0% 0%,
      rgba(24, 184, 132, 0.11),
      transparent 38%
    ),
    linear-gradient(145deg, #f7fcfa 0%, #ffffff 62%, #f1faf6 100%);
}

.iot-monitor-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

.iot-monitor-copy {
  max-width: 820px;
}

.iot-monitor-copy h3 {
  margin: 15px 0 0;
  color: #102f46;
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.3;
  word-break: keep-all;
}

.iot-monitor-copy p {
  margin: 15px 0 0;
  color: #526a7b;
  font-size: 16px;
  line-height: 1.8;
  word-break: keep-all;
}

.iot-role-badge {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  min-width: 128px;
  padding: 14px 18px;
  border-radius: 14px;
  text-align: center;
}

.iot-role-badge span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.iot-role-badge strong {
  margin-top: 4px;
  font-size: 17px;
  font-weight: 900;
}

.admin-role-badge {
  border: 1px solid rgba(0, 132, 197, 0.23);
  background: rgba(0, 141, 204, 0.08);
}

.admin-role-badge span {
  color: #647d8d;
}

.admin-role-badge strong {
  color: #0475a6;
}

.fisherman-role-badge {
  border: 1px solid rgba(17, 154, 111, 0.24);
  background: rgba(22, 168, 122, 0.08);
}

.fisherman-role-badge span {
  color: #628075;
}

.fisherman-role-badge strong {
  color: #087d5d;
}

.iot-screen-figure {
  margin: 0;
}

.iot-screen-frame {
  overflow: hidden;
  border: 1px solid rgba(0, 181, 226, 0.36);
  border-radius: 18px;
  background: #041523;
  box-shadow:
    0 18px 44px rgba(0, 31, 53, 0.23),
    0 0 0 5px rgba(0, 164, 219, 0.05);
}

.fisherman-screen-frame {
  max-height: 850px;
  border-color: rgba(60, 218, 167, 0.35);
  box-shadow:
    0 18px 44px rgba(0, 39, 34, 0.2),
    0 0 0 5px rgba(29, 177, 131, 0.05);
}

.iot-screen-image {
  display: block;
  width: 100%;
  height: auto;
}

.iot-screen-figure figcaption {
  margin-top: 17px;
  color: #667b8b;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
  word-break: keep-all;
}

.iot-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.iot-feature-card {
  min-height: 164px;
  padding: 21px 18px;
  border: 1px solid rgba(29, 112, 162, 0.15);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
}

.iot-feature-card > span {
  display: block;
  margin-bottom: 10px;
  color: #00a0cf;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.iot-feature-card strong {
  display: block;
  color: #0a638b;
  font-size: 16px;
  font-weight: 800;
}

.iot-feature-card p {
  margin: 9px 0 0;
  color: #5d7180;
  font-size: 14px;
  line-height: 1.65;
  word-break: keep-all;
}

.iot-fisherman-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.43fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.fisherman-screen-figure {
  max-width: 430px;
  margin-right: auto;
  margin-left: auto;
}

.iot-fisherman-features {
  display: grid;
  gap: 13px;
}

.iot-fisherman-features article {
  display: flex;
  gap: 16px;
  padding: 19px;
  border: 1px solid rgba(18, 139, 103, 0.16);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.87);
}

.iot-feature-icon {
  display: inline-flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, #078660, #1ebc83);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.iot-fisherman-features strong {
  display: block;
  color: #08785a;
  font-size: 16px;
  font-weight: 800;
}

.iot-fisherman-features p {
  margin: 6px 0 0;
  color: #5e7280;
  font-size: 14px;
  line-height: 1.65;
  word-break: keep-all;
}

.iot-data-section {
  margin-top: 64px;
  padding: 54px 44px;
  border-radius: 26px;
  background: #ffffff;
  box-shadow:
    0 16px 44px rgba(16, 55, 82, 0.08),
    inset 0 0 0 1px rgba(22, 117, 166, 0.16);
}

.iot-data-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 13px;
  margin-top: 38px;
}

.iot-data-item {
  position: relative;
  min-height: 222px;
  padding: 21px 16px;
  border: 1px solid rgba(21, 113, 158, 0.14);
  border-radius: 15px;
  background: #f8fbfd;
  text-align: center;
}

.iot-data-item:not(:last-child)::after {
  position: absolute;
  top: 36px;
  right: -11px;
  z-index: 2;
  color: #00a3c7;
  content: "›";
  font-size: 25px;
  font-weight: 900;
}

.iot-data-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, #008cc2, #16af8c);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.iot-data-item small {
  display: block;
  margin-bottom: 7px;
  color: #66808e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.iot-data-item strong {
  display: block;
  color: #123e59;
  font-size: 15px;
  font-weight: 800;
}

.iot-data-item p {
  margin: 9px 0 0;
  color: #627684;
  font-size: 13px;
  line-height: 1.6;
  word-break: keep-all;
}

.iot-safety-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 48px;
  align-items: center;
  margin-top: 64px;
  padding: 48px;
  border-radius: 24px;
  background:
    radial-gradient(
      circle at 85% 10%,
      rgba(19, 211, 179, 0.17),
      transparent 34%
    ),
    linear-gradient(135deg, #061b2a 0%, #0a3b42 100%);
}

.iot-safety-copy h3 {
  color: #ffffff;
}

.iot-safety-copy p {
  color: #c0d2dc;
}

.iot-safety-section .iot-section-label {
  border-color: rgba(100, 238, 218, 0.28);
  background: rgba(37, 205, 178, 0.11);
  color: #7df2dc;
}

.iot-safety-list {
  display: grid;
  gap: 12px;
}

.iot-safety-list div {
  padding: 18px 20px;
  border: 1px solid rgba(122, 235, 218, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
}

.iot-safety-list strong,
.iot-safety-list span {
  display: block;
}

.iot-safety-list strong {
  color: #72efd7;
  font-size: 16px;
  font-weight: 800;
}

.iot-safety-list span {
  margin-top: 6px;
  color: #c1d2db;
  font-size: 13px;
  line-height: 1.6;
  word-break: keep-all;
}

.iot-benefit-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.iot-benefit-card {
  min-height: 160px;
  padding: 24px;
  border: 1px solid rgba(24, 121, 155, 0.15);
  border-radius: 17px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(18, 60, 88, 0.06);
}

.iot-benefit-card strong {
  display: block;
  color: #087e8b;
  font-size: 18px;
  font-weight: 800;
}

.iot-benefit-card p {
  margin: 10px 0 0;
  color: #5e7280;
  font-size: 14px;
  line-height: 1.7;
  word-break: keep-all;
}

.iot-contact-box {
  margin-top: 12px;
}

@media (max-width: 1100px) {
  .iot-summary-grid,
  .iot-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .iot-data-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .iot-data-item:nth-child(3)::after {
    display: none;
  }
}

@media (max-width: 900px) {
  .iot-monitor-section {
    padding: 38px 28px;
  }

  .iot-fisherman-layout {
    grid-template-columns: 1fr;
  }

  .iot-safety-section {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 38px 30px;
  }
}

@media (max-width: 720px) {
  .iot-monitor-heading {
    flex-direction: column;
    gap: 20px;
  }

  .iot-data-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .iot-data-item:nth-child(3)::after {
    display: block;
  }

  .iot-data-item:nth-child(2n)::after {
    display: none;
  }

  .iot-benefit-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .iot-intro {
    padding-top: 12px;
  }

  .iot-intro-heading h3,
  .iot-data-heading h3,
  .iot-safety-copy h3 {
    font-size: 27px;
  }

  .iot-intro-heading p,
  .iot-data-heading p,
  .iot-safety-copy p {
    font-size: 15px;
    line-height: 1.75;
  }

  .iot-summary-grid,
  .iot-feature-grid {
    grid-template-columns: 1fr;
  }

  .iot-summary-card {
    min-height: auto;
    padding: 20px 17px;
  }

  .iot-monitor-section {
    margin-top: 42px;
    padding: 30px 16px;
    border-radius: 19px;
  }

  .iot-monitor-copy h3 {
    font-size: 27px;
  }

  .iot-monitor-copy p {
    font-size: 15px;
  }

  .iot-screen-frame {
    border-radius: 11px;
  }

  .iot-screen-figure figcaption {
    font-size: 13px;
    text-align: left;
  }

  .iot-feature-card {
    min-height: auto;
    padding: 19px 17px;
  }

  .iot-fisherman-features article {
    padding: 17px 15px;
  }

  .iot-data-section {
    margin-top: 42px;
    padding: 34px 16px;
    border-radius: 19px;
  }

  .iot-data-flow {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 28px;
  }

  .iot-data-item {
    min-height: auto;
    padding: 19px 16px;
  }

  .iot-data-item::after {
    display: none !important;
  }

  .iot-safety-section {
    margin-top: 42px;
    padding: 32px 19px;
    border-radius: 19px;
  }
}

