.iot-page {
  background: #f8fafc;
  overflow: visible;
}

.iot-page section {
  height: auto;
  min-height: 0;
  overflow: visible;
}

.iot-hero {
  padding: calc(var(--nav-height) + clamp(48px, 8vh, 88px)) 24px 64px;
  text-align: center;
  background: #f8fafc;
}

.iot-hero-inner {
  max-width: 820px;
  margin: 0 auto;
}

.iot-hero .tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(76, 80, 231, 0.1);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.iot-hero h1 {
  margin: 0 0 20px;
  color: #111827;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.iot-hero h1 .accent {
  color: var(--blue);
}

.iot-hero .hero-desc {
  max-width: 640px;
  margin: 0 auto 28px;
  color: #64748b;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.75;
}

.iot-hero .hero-actions {
  justify-content: center;
}

.iot-live {
  padding: 0 24px 64px;
}

.iot-live-container {
  max-width: 1140px;
  margin: 0 auto;
}

.iot-live-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
  padding: 44px 48px;
  background: linear-gradient(160deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
  border-radius: 24px;
  box-shadow:
    0 4px 8px rgba(15, 23, 42, 0.03),
    0 28px 56px rgba(15, 23, 42, 0.08);
}

.iot-live-intro {
  min-width: 0;
}

.iot-live-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.iot-live-visual {
  padding: 12px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.iot-live-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.iot-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.iot-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: iot-pulse 1.8s ease-in-out infinite;
}

@keyframes iot-pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45);
  }

  50% {
    opacity: 0.6;
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0);
  }
}

.iot-live-card h2 {
  margin: 0 0 14px;
  color: #111827;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 800;
  line-height: 1.25;
}

.iot-live-card p {
  margin: 0;
  color: #64748b;
  font-size: 16px;
  line-height: 1.7;
}

.iot-spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.iot-spec-list li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  font-size: 14px;
  line-height: 1.5;
}

.iot-spec-list li:last-child {
  border-bottom: none;
}

.iot-spec-label {
  font-weight: 700;
  color: #64748b;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.iot-spec-value {
  color: #334155;
  min-width: 0;
  word-break: break-word;
}

.iot-section {
  padding: 0 24px 72px;
}

.iot-section-container {
  max-width: 1140px;
  margin: 0 auto;
}

.iot-section-head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.iot-section-head .tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(76, 80, 231, 0.1);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.iot-section-head h2 {
  margin: 0 0 12px;
  color: #111827;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
}

.iot-section-head p {
  margin: 0;
  color: #64748b;
  font-size: 17px;
  line-height: 1.7;
}

.iot-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.iot-solution-card {
  --module-accent: var(--blue);
  --module-accent-soft: rgba(76, 80, 231, 0.1);
  --module-icon-start: #6366f1;
  --module-icon-end: #4c50e7;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px 24px;
  background: #ffffff;
  border: 1px solid #e8edf3;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}

.iot-solution-card:hover {
  border-color: rgba(76, 80, 231, 0.2);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
  transform: translateY(-4px);
}

.iot-solution-card:nth-child(3n + 2) {
  --module-accent: #0284c7;
  --module-accent-soft: rgba(2, 132, 199, 0.1);
  --module-icon-start: #38bdf8;
  --module-icon-end: #0284c7;
}

.iot-solution-card:nth-child(3n) {
  --module-accent: #059669;
  --module-accent-soft: rgba(5, 150, 105, 0.1);
  --module-icon-start: #34d399;
  --module-icon-end: #059669;
}

.iot-card-index {
  display: block;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.iot-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    var(--module-icon-start),
    var(--module-icon-end)
  );
  color: #ffffff;
  font-size: 22px;
  box-shadow: 0 8px 20px var(--module-accent-soft);
}

.iot-solution-card h3 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
}

.iot-card-problem {
  margin: 0 0 10px;
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.55;
}

.iot-card-solution {
  margin: 0;
  padding-left: 12px;
  border-left: 3px solid var(--module-accent);
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
}

.iot-cap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.iot-cap-item {
  --cap-accent: var(--blue);
  --cap-accent-soft: rgba(76, 80, 231, 0.1);
  --cap-icon-start: #6366f1;
  --cap-icon-end: #4c50e7;
  padding: 26px 22px;
  background: #ffffff;
  border: 1px solid #e8edf3;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}

.iot-cap-item:nth-child(2) {
  --cap-accent: #0284c7;
  --cap-accent-soft: rgba(2, 132, 199, 0.1);
  --cap-icon-start: #38bdf8;
  --cap-icon-end: #0284c7;
}

.iot-cap-item:nth-child(3) {
  --cap-accent: #059669;
  --cap-accent-soft: rgba(5, 150, 105, 0.1);
  --cap-icon-start: #34d399;
  --cap-icon-end: #059669;
}

.iot-cap-item:nth-child(4) {
  --cap-accent: #d97706;
  --cap-accent-soft: rgba(217, 119, 6, 0.1);
  --cap-icon-start: #fbbf24;
  --cap-icon-end: #d97706;
}

.iot-cap-item:hover {
  border-color: rgba(76, 80, 231, 0.18);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  transform: translateY(-3px);
}

.iot-cap-item:nth-child(2):hover {
  border-color: rgba(2, 132, 199, 0.22);
}

.iot-cap-item:nth-child(3):hover {
  border-color: rgba(5, 150, 105, 0.22);
}

.iot-cap-item:nth-child(4):hover {
  border-color: rgba(217, 119, 6, 0.22);
}

.iot-cap-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    var(--cap-icon-start),
    var(--cap-icon-end)
  );
  color: #ffffff;
  font-size: 22px;
  box-shadow: 0 8px 20px var(--cap-accent-soft);
  transition: transform 0.25s ease;
}

.iot-cap-item:hover .iot-cap-icon {
  transform: scale(1.06);
}

.iot-cap-num {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cap-accent);
}

.iot-cap-item h4 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 1rem;
  font-weight: 700;
}

.iot-cap-item p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

.iot-cta {
  padding: 0 24px 80px;
}

.iot-cta-panel {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 40px;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e8edf3;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
}

.iot-cta-panel h2 {
  max-width: 560px;
  margin: 0 auto 14px;
  color: #111827;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
}

.iot-cta-panel p {
  max-width: 520px;
  margin: 0 auto 28px;
  color: #64748b;
  font-size: 16px;
  line-height: 1.7;
}

.iot-cta-panel .hero-actions {
  justify-content: center;
}

@media (max-width: 991px) {
  .iot-live-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 28px;
  }

  .iot-spec-list {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 768px) {
  .iot-hero {
    padding: calc(var(--nav-height) + 40px) 16px 48px;
  }

  .iot-live,
  .iot-section,
  .iot-cta {
    padding-left: 16px;
    padding-right: 16px;
  }

  .iot-live-card {
    padding: 28px 20px;
  }

  .iot-solutions-grid,
  .iot-cap-grid {
    grid-template-columns: 1fr;
  }

  .iot-cta-panel {
    padding: 32px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .iot-live-dot {
    animation: none;
  }

  .iot-solution-card {
    transition: none;
  }

  .iot-cap-item {
    transition: none;
  }

  .iot-cap-item:hover .iot-cap-icon {
    transform: none;
  }
}
