.iot-sample-page {
  --iot-ink: #020713;
  --iot-panel: #061124;
  --iot-blue: #226cfe;
  --iot-cyan: #20c2ef;
  --iot-text: #f3f9ff;
  --iot-muted: #91a7bd;
  background: var(--iot-ink);
}

.iot-sample,
.iot-sample * { box-sizing: border-box; }

.iot-sample { overflow: hidden; color: var(--iot-text); background: var(--iot-ink); }
.iot-shell { width: min(1440px, calc(100% - 144px)); margin-inline: auto; }
.iot-section { padding: clamp(96px, 9vw, 150px) 0; }
.iot-eyebrow { margin: 0; color: var(--iot-cyan); font-size: 11px; font-weight: 760; letter-spacing: .18em; }

.iot-hero {
  position: relative;
  min-height: min(880px, 100vh);
  padding-top: var(--header-height, 76px);
  display: grid;
  align-items: stretch;
  isolation: isolate;
  background:
    radial-gradient(circle at 73% 22%, rgba(34, 108, 254, .2), transparent 31%),
    linear-gradient(125deg, #020713 0%, #030a16 52%, #06152c 100%);
}

.iot-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .24;
  background-image:
    linear-gradient(rgba(93, 175, 255, .11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 175, 255, .11) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent 3%, #000 48%, transparent 100%);
}

.iot-hero-glow { pointer-events: none; position: absolute; right: -8%; bottom: -26%; width: 58vw; aspect-ratio: 1; z-index: -1; border-radius: 50%; background: rgba(32, 194, 239, .08); filter: blur(100px); }
.iot-hero-grid { min-height: inherit; padding-block: clamp(100px, 12vh, 150px) clamp(82px, 9vh, 118px); display: grid; grid-template-columns: minmax(480px, .84fr) minmax(680px, 1.16fr); gap: clamp(56px, 5vw, 96px); align-items: center; }
.iot-hero-copy { min-width: 0; max-width: 660px; position: relative; z-index: 2; }
.iot-hero h1 { margin: 0; font-family: "PingFang SC", "HarmonyOS Sans SC", sans-serif !important; font-size: clamp(58px, 5.2vw, 82px); font-weight: 760; line-height: 1.03; letter-spacing: -.05em; text-wrap: nowrap; }
.iot-hero h2 { margin: 24px 0 0; color: #dceeff; font-size: clamp(30px, 2.5vw, 42px); font-weight: 620; line-height: 1.24; letter-spacing: -.025em; }
.iot-hero-summary { max-width: 650px; margin: 26px 0 0; color: rgba(219, 233, 247, .72); font-size: 16px; line-height: 1.9; }
.iot-hero-actions { margin-top: 36px; display: flex; gap: 20px; align-items: center; }
.iot-primary-button { min-height: 50px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; color: #fff; border: 1px solid rgba(98, 171, 255, .55); border-radius: 7px; background: linear-gradient(120deg, #226cfe, #168ef5); box-shadow: 0 16px 44px rgba(34, 108, 254, .24); text-decoration: none; font-size: 14px; font-weight: 720; transition: transform .3s ease, box-shadow .3s ease; }
.iot-primary-button:hover { transform: translateY(-3px); box-shadow: 0 22px 54px rgba(34, 108, 254, .34); }
.iot-hero-visual { min-width: 0; margin: 0; position: relative; border: 1px solid rgba(80, 176, 255, .27); border-radius: 18px; background: rgba(4, 15, 31, .62); box-shadow: 0 36px 100px rgba(0, 0, 0, .42); overflow: hidden; }
.iot-hero-visual::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(2, 7, 19, .5), transparent 26%); }
.iot-hero-visual img { width: 100%; height: auto; aspect-ratio: 16 / 9; display: block; object-fit: contain; }
.iot-hero-visual figcaption { min-height: 58px; padding: 0 24px; display: flex; align-items: center; gap: 12px; color: #98b9d4; border-top: 1px solid rgba(89, 180, 255, .16); background: rgba(3, 12, 25, .92); font-size: 10px; letter-spacing: .08em; }
.iot-hero-visual figcaption i { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(32, 194, 239, .15), var(--iot-cyan), rgba(34, 108, 254, .15)); }

.iot-section-heading { margin-bottom: clamp(48px, 5vw, 76px); display: grid; grid-template-columns: minmax(0, .95fr) minmax(440px, .65fr); gap: clamp(48px, 7vw, 112px); align-items: end; }
.iot-section-heading h2,
.iot-final-cta h2 { max-width: 870px; margin: 16px 0 0; color: #fff; font-size: clamp(38px, 3.4vw, 58px); line-height: 1.12; letter-spacing: -.04em; }
.iot-title-line { display: block; white-space: nowrap; }
.iot-section-heading > p { margin: 0; color: var(--iot-muted); font-size: 15px; line-height: 1.9; }

.iot-architecture { background: radial-gradient(circle at 50% 50%, rgba(34, 108, 254, .12), transparent 45%), #030a16; }
.iot-source-architecture { margin: 0; padding: clamp(12px, 1.3vw, 18px); border: 1px solid rgba(82, 177, 255, .22); border-radius: 20px; background: #020a1c; box-shadow: 0 32px 90px rgba(0, 0, 0, .28); }
.iot-architecture-art { position: relative; overflow: hidden; border-radius: 12px; }
.iot-architecture-art > img { width: 100%; height: auto; display: block; object-fit: contain; }
.iot-architecture-labels { position: absolute; z-index: 2; inset: 0; pointer-events: none; }
.iot-architecture-labels article { width: 11.2%; min-width: 0; padding: 8px 8px 8px 10px; position: absolute; left: 1%; display: flex; flex-direction: column; justify-content: center; border-left: 2px solid rgba(32, 194, 239, .78); border-radius: 0 8px 8px 0; text-align: left; background: linear-gradient(90deg, rgba(1, 11, 31, .86), rgba(1, 11, 31, .3)); transform: translateY(-50%); }
.iot-architecture-labels article:nth-child(1) { top: 19.5%; }
.iot-architecture-labels article:nth-child(2) { top: 42%; }
.iot-architecture-labels article:nth-child(3) { top: 61.8%; }
.iot-architecture-labels article:nth-child(4) { top: 82.2%; }
.iot-architecture-labels h3 { margin: 0; color: #fff; font-size: clamp(13px, 1.05vw, 17px); line-height: 1.2; letter-spacing: -.02em; text-shadow: 0 2px 12px rgba(0, 0, 0, .78); }
.iot-architecture-labels p { margin: 4px 0 0; color: #88cfff; font-size: clamp(8px, .58vw, 10px); line-height: 1.35; text-shadow: 0 2px 10px rgba(0, 0, 0, .88); }
.iot-architecture-board { padding: clamp(26px, 3vw, 44px); border: 1px solid rgba(82, 177, 255, .24); border-radius: 20px; background: linear-gradient(150deg, rgba(8, 29, 56, .76), rgba(2, 9, 20, .94)); box-shadow: 0 42px 100px rgba(0, 0, 0, .3); overflow: hidden; }
.iot-architecture-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.iot-architecture-layer { min-width: 0; min-height: 414px; padding: 30px 24px; position: relative; border: 1px solid rgba(87, 177, 255, .18); border-radius: 15px; background: linear-gradient(180deg, rgba(13, 42, 75, .72), rgba(4, 15, 31, .76)); }
.iot-architecture-layer::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 2px; background: linear-gradient(90deg, var(--iot-cyan), var(--iot-blue)); box-shadow: 0 0 18px rgba(32, 194, 239, .48); }
.iot-architecture-layer:not(:last-child)::after { content: "→"; position: absolute; top: 50%; right: -23px; z-index: 2; color: var(--iot-cyan); font-size: 25px; line-height: 1; transform: translateY(-50%); }
.iot-architecture-layer h3 { margin: 0; color: #fff; font-size: clamp(20px, 1.55vw, 25px); line-height: 1.35; }
.iot-architecture-layer > p { min-height: 48px; margin: 10px 0 0; color: #7893ab; font-size: 12px; line-height: 1.7; }
.iot-architecture-layer ul { margin: 24px 0 0; padding: 0; display: grid; gap: 10px; list-style: none; }
.iot-architecture-layer li { min-height: 49px; padding: 11px 13px; display: flex; align-items: center; color: #c6d8e8; border: 1px solid rgba(108, 185, 255, .15); border-radius: 8px; background: rgba(7, 26, 50, .72); font-size: 12px; line-height: 1.45; }
.iot-architecture-loop { margin: 18px 2px 0; padding: 18px 8px 4px; display: flex; justify-content: space-between; gap: 28px; border-top: 1px solid rgba(82, 177, 255, .18); color: #7898af; font-size: 12px; line-height: 1.7; }
.iot-architecture-loop strong { color: #cbefff; font-weight: 650; }

.iot-highlights { background: radial-gradient(circle at 88% 13%, rgba(65, 69, 215, .13), transparent 28%), #061124; }
.iot-highlight-layout { display: grid; grid-template-columns: minmax(520px, 1.05fr) minmax(520px, .95fr); gap: clamp(34px, 4vw, 64px); align-items: stretch; }
.iot-highlight-proof { min-width: 0; min-height: 650px; margin: 0; display: flex; flex-direction: column; border: 1px solid rgba(76, 179, 255, .22); border-radius: 18px; background: #020812; overflow: hidden; }
.iot-highlight-proof img { width: 100%; height: auto; aspect-ratio: 16 / 9; display: block; object-fit: contain; background: #020812; }
.iot-highlight-proof figcaption { padding: clamp(30px, 3vw, 48px); flex: 1; display: flex; flex-direction: column; justify-content: center; }
.iot-highlight-proof figcaption strong { margin-top: 15px; color: #fff; font-size: clamp(27px, 2.2vw, 38px); line-height: 1.25; }
.iot-highlight-proof figcaption p { margin: 16px 0 0; color: var(--iot-muted); font-size: 14px; line-height: 1.85; }
.iot-highlight-list { border-top: 1px solid rgba(87, 177, 255, .22); }
.iot-highlight-list article { min-height: 162px; padding: 26px 0; border-bottom: 1px solid rgba(87, 177, 255, .16); }
.iot-highlight-list h3 { margin: 0; color: #fff; font-size: clamp(20px, 1.5vw, 25px); line-height: 1.35; }
.iot-highlight-list p { margin: 10px 0 0; color: #8da4ba; font-size: 13px; line-height: 1.75; }
.iot-highlight-list small { margin-top: 13px; display: block; color: #5daaca; font-size: 9px; letter-spacing: .08em; }

.iot-fit { color: #101d2d; background: #eef4f9; }
.iot-fit .iot-eyebrow { color: #167ea7; }
.iot-fit .iot-section-heading h2 { color: #071629; }
.iot-fit .iot-section-heading > p { color: #596d81; }
.iot-fit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.iot-fit-grid article { min-height: 250px; padding: clamp(30px, 3vw, 46px); border: 1px solid #c7d4df; border-radius: 12px; background: rgba(255, 255, 255, .62); box-shadow: 0 18px 48px rgba(33, 69, 102, .07); }
.iot-fit-grid h3 { margin: 38px 0 16px; color: #0a1c2f; font-size: clamp(22px, 1.8vw, 29px); line-height: 1.35; }
.iot-fit-grid p { margin: 0; color: #50667a; font-size: 14px; line-height: 1.85; }

.iot-final-cta { padding: clamp(100px, 10vw, 160px) 0; text-align: center; background: radial-gradient(circle at 50% 110%, rgba(34, 108, 254, .32), transparent 47%), #020713; }
.iot-final-cta h2 { max-width: none; }
.iot-final-cta > div > p:not(.iot-eyebrow) { margin: 22px 0 0; color: #879db2; font-size: 15px; }
.iot-final-cta .iot-primary-button { margin-top: 34px; }

@media (max-width: 1380px) {
  .iot-shell { width: min(100% - 80px, 1240px); }
  .iot-hero-grid { grid-template-columns: minmax(390px, .92fr) minmax(0, 1.08fr); gap: 40px; }
  .iot-hero-visual { min-width: 0; }
  .iot-highlight-layout { grid-template-columns: minmax(440px, .95fr) minmax(480px, 1.05fr); }
}

@media (max-width: 980px) {
  .iot-shell { width: min(100% - 48px, 860px); }
  .iot-hero-grid,
  .iot-highlight-layout { grid-template-columns: 1fr; }
  .iot-hero { min-height: auto; }
  .iot-hero h1 { text-wrap: wrap; }
  .iot-section-heading { grid-template-columns: 1fr; gap: 24px; }
  .iot-architecture-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .iot-architecture-layer { min-height: 0; }
  .iot-architecture-layer:not(:last-child)::after { display: none; }
  .iot-highlight-proof { min-height: 0; }
  .iot-fit-grid { grid-template-columns: 1fr; }
  .iot-fit-grid article { min-height: 0; }
  .iot-fit-grid h3 { margin-top: 20px; }
}

@media (max-width: 620px) {
  .iot-shell { width: min(100% - 32px, 560px); }
  .iot-section { padding: 80px 0; }
  .iot-hero-grid { padding-block: 80px 64px; }
  .iot-hero h1 { font-size: 48px; }
  .iot-hero h2 { font-size: 29px; }
  .iot-hero-actions { align-items: flex-start; flex-direction: column; }
  .iot-hero-visual figcaption { display: none; }
  .iot-architecture-flow { grid-template-columns: 1fr; }
  .iot-architecture-labels article { width: 13%; padding: 5px 3px 5px 5px; }
  .iot-architecture-labels h3 { font-size: 10px; }
  .iot-architecture-labels p { display: none; }
  .iot-architecture-loop { flex-direction: column; gap: 8px; }
}

/* Desktop content review: retain the mobile layout until the final pass. */
@media (min-width: 981px) {
  #iotArchitectureTitle, #iotHighlightsTitle { scroll-margin-top: calc(var(--header-height, 76px) + 28px); }
  .iot-architecture .iot-section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
  .iot-architecture .iot-section-heading h2 { max-width: none; white-space: nowrap; font-size: clamp(32px, 3.1vw, 54px); }
  .iot-architecture .iot-section-heading > p { max-width: 1100px; }
  .iot-highlights .iot-section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
  .iot-highlights .iot-section-heading > p { max-width: 1050px; }
  .iot-highlights .iot-highlight-layout { display: block; }
  .iot-highlights .iot-highlight-proof { display: none; }
  .iot-highlights .iot-highlight-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border: 0; }
  .iot-highlights .iot-highlight-list article { min-width: 0; min-height: 218px; padding: clamp(26px, 2.6vw, 38px); border: 1px solid rgba(87, 177, 255, .22); border-radius: 14px; background: linear-gradient(145deg, rgba(13, 42, 75, .6), rgba(4, 15, 31, .75)); }
  .iot-highlights .iot-highlight-list article::before { content: ''; display: block; width: 32px; height: 3px; margin-bottom: 26px; border-radius: 2px; background: var(--iot-cyan); }
  .iot-highlights .iot-highlight-list h3 { font-size: clamp(20px, 1.6vw, 25px); }
  .iot-highlights .iot-highlight-list p { margin-top: 16px; font-size: 15px; line-height: 1.85; color: #a9bed1; }
}

@media (prefers-reduced-motion: reduce) {
  .iot-primary-button { transition: none; }
}

/* Match the shared Nebula light product layout and typography. */
body.iot-sample-page .iot-sample {
  --iot-ink: #fff;
  --iot-panel: #f5f8fc;
  --iot-text: #10263f;
  --iot-muted: #52677d;
  color: var(--iot-text);
  background: #fff;
}
body.iot-sample-page,
body.iot-sample-page * {
  font-family: "PingFang SC", "HarmonyOS Sans SC", sans-serif !important;
}
body.iot-sample-page .iot-hero { background: radial-gradient(circle at 80% 25%, #e5efff, transparent 48%), linear-gradient(125deg, #fff, #f2f6fc); }
body.iot-sample-page .iot-hero::before { opacity: .3; }
body.iot-sample-page .iot-hero h1,
body.iot-sample-page .iot-section-heading h2,
body.iot-sample-page .iot-final-cta h2,
body.iot-sample-page .iot-architecture-layer h3,
body.iot-sample-page .iot-highlight-list h3,
body.iot-sample-page .iot-fit-grid h3 { color: #10263f; font-family: "PingFang SC", "HarmonyOS Sans SC", sans-serif !important; }
body.iot-sample-page .iot-hero h1 { font-size: clamp(48px, 3.35vw, 58px); line-height: 1.12; }
body.iot-sample-page .iot-hero h2 { color: #244e7b; font-size: clamp(24px, 1.7vw, 30px); }
body.iot-sample-page .iot-hero-summary,
body.iot-sample-page .iot-section-heading > p,
body.iot-sample-page .iot-highlight-list p,
body.iot-sample-page .iot-fit-grid p,
body.iot-sample-page .iot-final-cta > div > p:not(.iot-eyebrow) { color: #52677d; font-size: 15px; line-height: 1.8; }
body.iot-sample-page .iot-hero-visual { background: #fff; border-color: #dce5ef; box-shadow: 0 24px 64px rgba(33, 69, 102, .12); }
body.iot-sample-page .iot-hero-visual::before { background: linear-gradient(90deg, rgba(255,255,255,.3), transparent 26%); }
body.iot-sample-page .iot-hero-visual figcaption { color: #52677d; background: #fff; border-color: #dce5ef; }
body.iot-sample-page :is(.iot-architecture, .iot-highlights, .iot-fit, .iot-final-cta) { background: #fff; }
body.iot-sample-page :is(.iot-architecture-board, .iot-source-architecture, .iot-highlight-list article, .iot-fit-grid article) { background: #f5f8fc; border-color: #dce5ef; box-shadow: none; }
body.iot-sample-page .iot-architecture-layer { background: #fff; border-color: #dce5ef; }
body.iot-sample-page .iot-hero h1 { font-family: "PingFang SC", "HarmonyOS Sans SC", sans-serif !important; }
body.iot-sample-page .iot-video-section { background: #fff; }
body.iot-sample-page .iot-product-video { margin: 0; padding: clamp(12px, 1.3vw, 18px); border: 1px solid #dce5ef; border-radius: 20px; background: #f5f8fc; box-shadow: 0 18px 48px rgba(33, 69, 102, .06); }
body.iot-sample-page .iot-product-video video { width: 100%; height: auto; display: block; border-radius: 12px; background: #071124; }
body.iot-sample-page .iot-product-video figcaption { margin-top: 14px; color: #52677d; font-size: 13px; line-height: 1.7; }

@media (max-width: 620px) {
  body.iot-sample-page .iot-hero h1 { font-size: 42px; }
  body.iot-sample-page .iot-hero h2 { font-size: 24px; }
  body.iot-sample-page .iot-hero-summary { font-size: 14px; }
}

body.iot-sample-page .iot-hero-video { min-width: 0; padding: 0; overflow: hidden; }
body.iot-sample-page .iot-hero-video video { aspect-ratio: 16 / 9; object-fit: contain; }

body.iot-sample-page .iot-abstract-hero { margin: 0; min-width: 0; border-radius: 24px; overflow: hidden; }
body.iot-sample-page .iot-abstract-hero img { display: block; width: 100%; height: auto; max-height: calc(100svh - 220px); object-fit: contain; }
@media (max-width: 980px) {
  body.iot-sample-page .iot-abstract-hero img { max-height: none; }
}
