/* ============================================================================
   iot-pages.css — shared styles for the /iot/ practice hub, product catalog,
   product pages and IoT services page (single-site consolidation, batches 3-5).
   Matches the visual language of css/industry-pages.css (gold #f1b621 accent,
   navy #1a1a2e) so the /iot/ section reads as one site with /industries/.
   Self-contained; loaded alongside style.css + bootstrap.
   ========================================================================== */

/* ── Reveal-on-scroll (mirrors the industry pages' .ind-reveal) ─────────── */
.iot-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.iot-reveal.is-visible { opacity: 1; transform: none; }
.iot-reveal.d1 { transition-delay: .08s; }
.iot-reveal.d2 { transition-delay: .16s; }
.iot-reveal.d3 { transition-delay: .24s; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.iot-hero { position: relative; background-size: cover; background-position: center; color: #fff; padding: 96px 0 84px; }
.iot-hero-overlay { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(13,15,26,.93) 0%, rgba(26,26,46,.82) 55%, rgba(26,26,46,.55) 100%); }
.iot-hero-content { position: relative; z-index: 2; }
.iot-hero .iot-breadcrumb { font-size: .78rem; letter-spacing: .02em; color: rgba(255,255,255,.62); margin-bottom: 1rem; }
.iot-hero .iot-breadcrumb a { color: #f1b621; text-decoration: none; }
.iot-hero .iot-breadcrumb a:hover { text-decoration: underline; }
.iot-hero h1 { font-size: 2.55rem; font-weight: 800; line-height: 1.12; margin-bottom: 1rem; }
.iot-hero h1 span { color: #f1b621; }
.iot-hero p.lead { font-size: 1.1rem; color: rgba(255,255,255,.82); max-width: 640px; line-height: 1.65; margin-bottom: 1.75rem; }

.iot-tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #f1b621; margin-bottom: .85rem; }
.iot-section-title { font-size: 1.85rem; font-weight: 800; color: #1a1a2e; line-height: 1.2; margin-bottom: .6rem; }
.iot-section-subtitle { font-size: 1rem; color: #666; line-height: 1.65; max-width: 680px; margin: 0 auto; }

.btn-iot-primary { display: inline-block; background: #f1b621; color: #1a1a2e; font-weight: 700; padding: .85rem 2.25rem; border-radius: 4px; text-decoration: none; transition: all .25s; border: 2px solid #f1b621; }
.btn-iot-primary:hover { background: #d89f12; border-color: #d89f12; color: #1a1a2e; text-decoration: none; }
.btn-iot-ghost { display: inline-block; background: transparent; color: #1a1a2e; font-weight: 700; padding: .85rem 2.25rem; border-radius: 4px; border: 2px solid #1a1a2e; text-decoration: none; transition: all .25s; }
.btn-iot-ghost:hover { background: #1a1a2e; color: #f1b621; text-decoration: none; }
.btn-iot-dark { display: inline-block; background: #1a1a2e; color: #f1b621; font-weight: 700; padding: .85rem 2.25rem; border-radius: 4px; text-decoration: none; transition: all .25s; border: 2px solid #1a1a2e; }
.btn-iot-dark:hover { background: #12121f; color: #f1b621; text-decoration: none; }

/* ── Generic section rhythm ─────────────────────────────────────────────── */
.iot-section { padding: 80px 0; background: #fff; }
.iot-section--soft { background: #f8f9fa; }
.iot-section--dark { background: #1a1a2e; }
.iot-section--dark .iot-section-title { color: #fff; }
.iot-section--dark .iot-section-subtitle { color: rgba(255,255,255,.66); }

/* ── Card grid (hub verticals, catalog products, feature cards) ─────────── */
.iot-card { display: block; background: #f8f9fa; border-radius: 10px; padding: 1.75rem 1.6rem; border-top: 3px solid #f1b621; height: 100%; text-decoration: none; transition: transform .25s, box-shadow .25s, background .25s; }
a.iot-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,.09); background: #fff; text-decoration: none; }
.iot-card .iot-card-icon { width: 50px; height: 50px; background: rgba(241,182,33,.14); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.iot-card .iot-card-icon i { color: #f1b621; font-size: 1.35rem; }
.iot-card h3 { font-size: 1.1rem; font-weight: 700; color: #1a1a2e; margin-bottom: .55rem; }
.iot-card h5 { font-size: .95rem; font-weight: 700; color: #1a1a2e; margin-bottom: .5rem; }
.iot-card p { font-size: .86rem; color: #555; line-height: 1.6; margin: 0 0 .85rem; }
.iot-card .iot-card-link { color: #f1b621; font-weight: 700; font-size: .84rem; }

.iot-card--soft { background: #fff; }
.iot-section--soft .iot-card { background: #fff; }

/* Non-link feature card (no hover lift) */
.iot-feature { background: #fff; border-radius: 8px; padding: 1.5rem 1.35rem; border-top: 3px solid #f1b621; height: 100%; }
.iot-feature i { color: #f1b621; font-size: 1.2rem; margin-bottom: .7rem; display: block; }
.iot-feature h5 { font-size: .92rem; font-weight: 700; color: #1a1a2e; margin-bottom: .45rem; }
.iot-feature p { font-size: .83rem; color: #555; line-height: 1.6; margin: 0; }

/* ── Category label above a product grid ────────────────────────────────── */
.iot-cat-head { margin-bottom: 2rem; }

/* ── "In development" badge (roadmap variants not yet shipped) ───────────── */
.iot-dev-badge { display: inline-block; font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .16rem .55rem; border-radius: 20px; background: #eceff2; color: #6b7280; border: 1px solid #d7dbe0; }
.iot-dev-note { background: #fff8e7; border: 1px solid #f1e3b8; border-left: 3px solid #f1b621; border-radius: 6px; padding: .9rem 1.1rem; font-size: .85rem; color: #6b5b1e; margin: 0 0 1.25rem; }
.iot-dev-note strong { color: #1a1a2e; }

/* ── Spec / prose block ─────────────────────────────────────────────────── */
.iot-prose { max-width: 760px; }
.iot-prose p { font-size: .96rem; color: #444; line-height: 1.8; margin-bottom: 1.1rem; }

.iot-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.iot-spec-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.iot-spec-table th:first-child, .iot-spec-table td:first-child { white-space: nowrap; }
.iot-spec-table th, .iot-spec-table td { text-align: left; padding: .7rem 1rem; border-bottom: 1px solid #eceff2; font-size: .88rem; }
.iot-spec-table th { width: 40%; color: #1a1a2e; font-weight: 700; background: #f8f9fa; }
.iot-spec-table td { color: #555; }

/* ── Related-demo cross-link banner (products point at an industry demo) ── */
.iot-crosslink { background: #0d1b2a; border-radius: 12px; padding: 2rem 1.9rem; color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; }
.iot-crosslink h4 { font-size: 1.15rem; font-weight: 700; color: #fff; margin: 0 0 .4rem; }
.iot-crosslink p { font-size: .88rem; color: rgba(255,255,255,.72); margin: 0; max-width: 520px; }
.iot-crosslink .iot-crosslink-cta { flex-shrink: 0; }

/* ── Dual CTA (mirrors .ind-dual-cta) ───────────────────────────────────── */
.iot-dual-cta { padding: 72px 0; background: #f1b621; text-align: center; }
.iot-dual-cta h2 { font-size: 2rem; font-weight: 700; color: #1a1a2e; margin-bottom: .75rem; }
.iot-dual-cta p { font-size: 1.05rem; color: rgba(26,26,46,.78); max-width: 560px; margin: 0 auto 2rem; line-height: 1.7; }
.iot-dual-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
    .iot-hero { padding: 64px 0 56px; }
    .iot-hero h1 { font-size: 1.95rem; }
    .iot-section { padding: 56px 0; }
    .iot-crosslink { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    .iot-reveal { opacity: 1; transform: none; transition: none; }
}
