/* IoT Platform service — Node Lattice (dark industrial) */
.iot-svc-page {
  --iot-bg: #070b12;
  --iot-panel: #0e1522;
  --iot-panel-2: #131c2e;
  --iot-line: rgba(56, 189, 248, 0.14);
  --iot-sky: #38bdf8;
  --iot-sky-dim: rgba(56, 189, 248, 0.12);
  --iot-amber: #fbbf24;
  --iot-amber-dim: rgba(251, 191, 36, 0.14);
  --iot-mint: #34d399;
  --iot-text: #e2e8f0;
  --iot-muted: #94a3b8;
  --iot-white: #f8fafc;
  --iot-display: 'Space Grotesk', system-ui, sans-serif;
  --iot-body: 'IBM Plex Sans', system-ui, sans-serif;

  --background-color: #070b12;
  --default-color: #e2e8f0;
  --heading-color: #f8fafc;
  --surface-color: #0e1522;
  --accent-color: #38bdf8;
  --nav-color: #e2e8f0;
  --nav-hover-color: #38bdf8;
  --nav-mobile-background-color: #0e1522;

  font-family: var(--iot-body);
  color: var(--iot-text);
  background:
    radial-gradient(ellipse 65% 40% at 90% 0%, rgba(56, 189, 248, 0.14), transparent 55%),
    radial-gradient(ellipse 40% 30% at 5% 40%, rgba(251, 191, 36, 0.07), transparent 50%),
    linear-gradient(180deg, #05080f 0%, var(--iot-bg) 35%, #0a1018 100%) !important;
  overflow-x: hidden;
}

.iot-svc-page h1,
.iot-svc-page h2,
.iot-svc-page h3,
.iot-svc-page h4 {
  font-family: var(--iot-display);
  color: var(--iot-white);
  letter-spacing: -0.02em;
}

.iot-svc-page .header {
  background: rgba(7, 11, 18, 0.92) !important;
  backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid var(--iot-line) !important;
}
.iot-svc-page .header .logo img {
  max-height: 34px;
  filter: brightness(0) invert(1);
}
.iot-svc-page .header .navmenu > ul > li > a {
  color: rgba(226, 232, 240, 0.88) !important;
}
.iot-svc-page .header .navmenu > ul > li > a.active,
.iot-svc-page .header .navmenu > ul > li > a:hover {
  color: var(--iot-sky) !important;
}
.iot-svc-page .header .btn-getstarted {
  background: linear-gradient(135deg, var(--iot-sky), #0284c7) !important;
  color: #042f2e !important;
  border: none !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
}
.iot-svc-page .header .mobile-nav-toggle { display: none !important; }
.iot-svc-page .main { padding-top: 0; }

.iot-svc-page .mobile-navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  background: rgba(7, 11, 18, 0.96);
  border-bottom: 1px solid var(--iot-line);
  backdrop-filter: blur(12px);
  padding: calc(8px + env(safe-area-inset-top, 0px)) 16px 10px;
}
.iot-svc-page .mobile-nav-container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem;
}
.iot-svc-page .mobile-logo img {
  max-height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}
.iot-svc-page .mobile-nav-actions { display: flex; align-items: center; gap: 8px; }
.iot-svc-page .mobile-nav-cta {
  background: linear-gradient(135deg, var(--iot-sky), #0284c7);
  color: #042f2e !important;
  padding: 8px 14px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 700; text-decoration: none;
}
.iot-svc-page .mobile-menu-toggle {
  width: 38px; height: 38px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(56, 189, 248, 0.2);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; cursor: pointer;
}
.iot-svc-page .mobile-menu-backdrop {
  position: fixed; inset: 0; z-index: 10040;
  background: rgba(7, 11, 18, 0.6);
  backdrop-filter: blur(3px);
  border: 0; cursor: pointer;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.2s, visibility 0.2s;
}
.iot-svc-page.mobile-menu-open .mobile-menu-backdrop {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.iot-svc-page .mobile-menu {
  position: fixed; top: 0; right: 0; width: min(300px, 86vw); height: 100%;
  background: var(--iot-panel); z-index: 10050;
  transform: translateX(105%); transition: transform 0.25s ease;
  padding: 1.25rem; border-left: 1px solid var(--iot-line);
}
.iot-svc-page .mobile-menu.active { transform: translateX(0); }
.iot-svc-page .mobile-menu-header {
  display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.25rem;
}
.iot-svc-page .mobile-menu-header span {
  display: block; font-family: var(--iot-display); font-weight: 700; font-size: 1.1rem; color: var(--iot-white);
}
.iot-svc-page .mobile-menu-header small { color: var(--iot-muted); }
.iot-svc-page .mobile-menu-close {
  border: 0; background: var(--iot-panel-2); color: var(--iot-text);
  width: 36px; height: 36px; border-radius: 10px;
}
.iot-svc-page .mobile-menu ul { list-style: none; padding: 0; margin: 0; }
.iot-svc-page .mobile-menu a {
  display: block; padding: 0.75rem 0; color: var(--iot-text);
  font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--iot-line);
}

@media (max-width: 1199px) {
  .iot-svc-page #header { display: none !important; }
}

.iot-btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.85rem 1.25rem; border-radius: 999px;
  font-weight: 700; font-size: 0.9rem; text-decoration: none;
  border: 0; cursor: pointer; transition: transform 0.15s;
}
.iot-btn:hover { transform: translateY(-1px); }
.iot-btn--sky {
  background: linear-gradient(135deg, var(--iot-sky), #0284c7);
  color: #042f2e;
  box-shadow: 0 10px 28px rgba(56, 189, 248, 0.28);
}
.iot-btn--amber {
  background: linear-gradient(135deg, var(--iot-amber), #d97706);
  color: #1c1917;
  box-shadow: 0 10px 28px rgba(251, 191, 36, 0.25);
}
.iot-btn--ghost {
  background: transparent; color: var(--iot-text);
  border: 1px solid var(--iot-line);
}

.iot-tag {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.4rem 0.75rem; border-radius: 999px;
  background: var(--iot-sky-dim); color: var(--iot-sky);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
}

.iot-section { padding: clamp(3rem, 6vw, 4.75rem) 0; }
.iot-section--panel {
  background: rgba(14, 21, 34, 0.7);
  border-block: 1px solid var(--iot-line);
}
.iot-head { margin-bottom: 1.75rem; max-width: 640px; }
.iot-head--center { text-align: center; margin-inline: auto; }
.iot-head h2 {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  margin: 0.65rem 0;
}
.iot-head h2 em { font-style: normal; color: var(--iot-sky); }
.iot-head p { color: var(--iot-muted); margin: 0; line-height: 1.7; }

/* Hero */
.iot-hero {
  position: relative;
  min-height: min(90vh, 860px);
  display: flex; align-items: flex-end;
  padding: clamp(120px, 14vw, 150px) 0 3.5rem;
  overflow: hidden;
}
.iot-hero__media { position: absolute; inset: 0; }
.iot-hero__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  filter: brightness(0.4) saturate(1.1) contrast(1.05);
}
.iot-hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 15, 0.96) 0%, rgba(5, 8, 15, 0.75) 45%, rgba(5, 8, 15, 0.3) 100%),
    linear-gradient(0deg, rgba(5, 8, 15, 0.95) 0%, transparent 50%);
}
.iot-hero__content { position: relative; z-index: 2; max-width: 640px; }
.iot-hero__brand {
  font-family: var(--iot-display);
  color: var(--iot-amber);
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.iot-hero h1 {
  font-size: clamp(2.35rem, 5vw, 3.55rem);
  line-height: 1.05;
  margin: 0 0 1rem;
}
.iot-hero h1 span {
  display: block;
  background: linear-gradient(135deg, var(--iot-sky), #7dd3fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.iot-hero__lead {
  color: var(--iot-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 1.5rem;
  max-width: 520px;
}
.iot-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.35rem; }
.iot-hero__pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.iot-pill {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--iot-line);
  background: rgba(7, 11, 18, 0.65);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--iot-sky);
}

/* Pipeline */
.iot-pipe {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}
.iot-pipe__step {
  background: var(--iot-panel);
  border: 1px solid var(--iot-line);
  border-radius: 16px;
  padding: 1.1rem 1rem;
  text-align: center;
  position: relative;
}
.iot-pipe__step i {
  display: grid; place-items: center;
  width: 40px; height: 40px; margin: 0 auto 0.65rem;
  border-radius: 12px;
  background: var(--iot-sky-dim);
  color: var(--iot-sky);
  font-size: 1.1rem;
}
.iot-pipe__step:nth-child(even) i {
  background: var(--iot-amber-dim); color: var(--iot-amber);
}
.iot-pipe__step strong {
  display: block;
  font-family: var(--iot-display);
  font-size: 0.95rem;
  color: var(--iot-white);
  margin-bottom: 0.2rem;
}
.iot-pipe__step span { font-size: 0.78rem; color: var(--iot-muted); }

/* Features */
.iot-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.iot-feature {
  background: var(--iot-panel);
  border: 1px solid var(--iot-line);
  border-radius: 18px;
  padding: 1.35rem;
  transition: transform 0.2s, border-color 0.2s;
}
.iot-feature:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.35);
}
.iot-feature__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--iot-sky-dim);
  color: var(--iot-sky);
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}
.iot-feature:nth-child(2) .iot-feature__icon,
.iot-feature:nth-child(5) .iot-feature__icon {
  background: var(--iot-amber-dim); color: var(--iot-amber);
}
.iot-feature h3 {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
  font-family: var(--iot-body);
  font-weight: 800;
}
.iot-feature p { margin: 0; color: var(--iot-muted); font-size: 0.9rem; line-height: 1.6; }

/* Console */
.iot-console {
  background: var(--iot-panel);
  border: 1px solid var(--iot-line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.iot-console__bar {
  display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
  padding: 1rem 1.15rem;
  background: var(--iot-panel-2);
  border-bottom: 1px solid var(--iot-line);
}
.iot-console__bar h3 {
  margin: 0;
  font-size: 0.95rem;
  display: flex; align-items: center; gap: 0.45rem;
}
.iot-console__live {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--iot-mint);
}
.iot-console__live i {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--iot-mint);
  margin-right: 0.35rem;
  animation: iot-blink 1.2s ease infinite;
}
@keyframes iot-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.iot-console__metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--iot-line);
}
.iot-metric {
  background: var(--iot-panel);
  padding: 1.15rem 1.1rem;
}
.iot-metric label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--iot-muted);
  margin-bottom: 0.35rem;
}
.iot-metric strong {
  font-family: var(--iot-display);
  font-size: 1.55rem;
  color: var(--iot-white);
}
.iot-metric strong.sky { color: var(--iot-sky); }
.iot-metric strong.amber { color: var(--iot-amber); }
.iot-metric strong.mint { color: var(--iot-mint); }

.iot-console__body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  border-top: 1px solid var(--iot-line);
}
.iot-console__chart {
  padding: 1.25rem;
  border-right: 1px solid var(--iot-line);
}
.iot-console__chart-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--iot-muted);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.iot-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  height: 160px;
}
.iot-bars span {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--iot-sky), rgba(56, 189, 248, 0.2));
  height: 20%;
  transition: height 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.iot-bars span:nth-child(odd) {
  background: linear-gradient(180deg, var(--iot-amber), rgba(251, 191, 36, 0.2));
}
.iot-feed {
  padding: 1.25rem;
  max-height: 240px;
  overflow: auto;
}
.iot-feed h4 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--iot-muted);
  margin: 0 0 0.85rem;
}
.iot-feed__item {
  display: flex; gap: 0.55rem; align-items: flex-start;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--iot-line);
  font-size: 0.84rem;
  color: var(--iot-text);
  line-height: 1.45;
}
.iot-feed__item:last-child { border-bottom: 0; }
.iot-feed__item i { color: var(--iot-sky); margin-top: 0.15rem; flex-shrink: 0; }
.iot-feed__item.warn i { color: var(--iot-amber); }
.iot-feed__item.ok i { color: var(--iot-mint); }

.iot-zones {
  display: flex; flex-wrap: wrap; gap: 0.45rem;
  padding: 0.85rem 1.15rem 1.15rem;
  border-top: 1px solid var(--iot-line);
}
.iot-zone {
  border: 1px solid var(--iot-line);
  background: transparent;
  color: var(--iot-muted);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}
.iot-zone:hover,
.iot-zone.active {
  background: var(--iot-sky-dim);
  color: var(--iot-sky);
  border-color: rgba(56, 189, 248, 0.35);
}

/* Showcase */
.iot-show {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: center;
}
.iot-show--rev { direction: rtl; }
.iot-show--rev > * { direction: ltr; }
.iot-show__img {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--iot-line);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  background: #050810;
}
.iot-show__img img {
  width: 100%; display: block;
  aspect-ratio: 16 / 11;
  object-fit: cover; object-position: center top;
}
.iot-show__img--contain img {
  object-fit: contain;
  padding: 1.5rem;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at 50% 40%, rgba(56, 189, 248, 0.12), #050810 70%);
}
.iot-list {
  list-style: none; padding: 0; margin: 1.15rem 0 0;
}
.iot-list li {
  display: flex; gap: 0.6rem; align-items: flex-start;
  margin-bottom: 0.7rem; font-weight: 600; font-size: 0.92rem;
}
.iot-list i { color: var(--iot-sky); margin-top: 0.15rem; }

/* Use cases */
.iot-use {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.iot-use__card {
  background: var(--iot-panel);
  border: 1px solid var(--iot-line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.iot-use__card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-3px);
}
.iot-use__card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.iot-use__card div { padding: 1rem 1.1rem 1.2rem; }
.iot-use__card h3 {
  font-size: 1rem;
  margin: 0 0 0.35rem;
  font-family: var(--iot-body);
  font-weight: 800;
}
.iot-use__card p { margin: 0; color: var(--iot-muted); font-size: 0.86rem; line-height: 1.55; }

/* Stack */
.iot-stack {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.iot-stack__pill {
  display: flex; align-items: center; gap: 0.7rem;
  background: var(--iot-panel);
  border: 1px solid var(--iot-line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}
.iot-stack__pill i {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--iot-sky-dim);
  color: var(--iot-sky);
  flex-shrink: 0;
}
.iot-stack__pill:nth-child(even) i {
  background: var(--iot-amber-dim); color: var(--iot-amber);
}
.iot-stack__pill strong {
  display: block;
  font-size: 0.88rem;
  color: var(--iot-white);
  font-family: var(--iot-display);
}
.iot-stack__pill small { color: var(--iot-muted); font-size: 0.75rem; }

/* CTA */
.iot-cta { padding: 3.5rem 0 4.5rem; }
.iot-cta__box {
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.12), transparent 45%),
    linear-gradient(225deg, rgba(251, 191, 36, 0.08), transparent 40%),
    var(--iot-panel);
  border: 1px solid var(--iot-line);
  border-radius: 24px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  text-align: center;
}
.iot-cta__box h2 { margin: 0 0 0.65rem; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.iot-cta__box p { color: var(--iot-muted); max-width: 540px; margin: 0 auto 1.35rem; }
.iot-cta__actions { display: flex; flex-wrap: wrap; gap: 0.65rem; justify-content: center; }

.iot-svc-page .footer {
  background: #05080f !important;
  border-top: 1px solid var(--iot-line);
  color: var(--iot-muted) !important;
}
.iot-svc-page .footer a { color: var(--iot-sky) !important; }
.iot-svc-page .footer .sitename,
.iot-svc-page .footer h4,
.iot-svc-page .footer .copyright p { color: var(--iot-white) !important; }
.iot-svc-page .footer-newsletter { display: none; }

@media (max-width: 991px) {
  .iot-pipe { grid-template-columns: repeat(3, 1fr); }
  .iot-features,
  .iot-show,
  .iot-use,
  .iot-console__body,
  .iot-stack { grid-template-columns: 1fr; }
  .iot-features { grid-template-columns: 1fr 1fr; }
  .iot-console__metrics { grid-template-columns: 1fr 1fr; }
  .iot-console__chart { border-right: 0; border-bottom: 1px solid var(--iot-line); }
  .iot-hero { min-height: auto; }
  .iot-show--rev { direction: ltr; }
}
@media (max-width: 575px) {
  .iot-pipe,
  .iot-features,
  .iot-use,
  .iot-stack { grid-template-columns: 1fr; }
  .iot-console__metrics { grid-template-columns: 1fr; }
}
