:root {
  --bg: #f3f4f6;
  --white: #ffffff;
  --soft: #f8fafc;
  --text: #0b1220;
  --muted: #64748b;
  --line: rgba(17,24,39,.08);
  --indigo: #1a237e;
  --blue: #3f51b5;
  --blue-soft: #e8eaf6;
  --green: #2e7d32;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(15,23,42,.06);
  --max: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: clip; }
body {
  font-family: Roboto, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: var(--indigo); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font: inherit; font-size: 14px; font-weight: 700;
  padding: 10px 20px; border-radius: 10px; border: none; cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s, border-color .15s;
}
.btn:active { transform: scale(.98); }
.btn-fill { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(63,81,181,.28); }
.btn-fill:hover { background: var(--indigo); }
.btn-ghost { background: transparent; color: var(--muted); font-weight: 500; }
.btn-outline { background: var(--white); color: var(--indigo); border: 1px solid var(--line); }
.btn-outline:hover { background: var(--blue-soft); }
.menu-btn { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text); }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 16px;
}
section { padding: 88px 0; }
.section-head { text-align: center; max-width: 560px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 900; letter-spacing: -.02em; margin-bottom: 12px; }
.section-head p { font-size: 16px; color: var(--muted); }

.hero { padding: 120px 0 80px; background: var(--white); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 900; line-height: 1.08; letter-spacing: -.03em; margin-bottom: 20px; }
.hero-lead { font-size: 18px; color: var(--muted); max-width: 440px; margin-bottom: 32px; }
.hero-lead strong { color: var(--indigo); font-weight: 700; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }

.browser { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow), 0 24px 48px rgba(15,23,42,.08); }
.browser-bar { background: var(--soft); padding: 10px 14px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--line); }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.r { background: #fca5a5; } .dot.y { background: #fcd34d; } .dot.g { background: #86efac; }
.browser-title { margin-left: 8px; font-size: 11px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.browser-title img { height: 14px; }
.browser-body { padding: 20px; }
.dash-kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 14px; }
.dash-kpi { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.dash-kpi span { font-size: 10px; color: var(--muted); display: block; margin-bottom: 2px; }
.dash-kpi b { font-size: 20px; font-weight: 700; }
.dash-kpi b.up { color: var(--green); }
.dash-charts { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; }
.dash-chart { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 14px; min-height: 120px; }
.dash-chart label { font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--muted); letter-spacing: .04em; }

.clients { padding: 56px 0; background: var(--soft); border-bottom: 1px solid var(--line); }
.clients-label { text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 28px; }
.client-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 20px; }
.client-name { font-size: clamp(15px, 2.5vw, 20px); font-weight: 700; padding: 16px 28px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; white-space: nowrap; transition: border-color .2s, box-shadow .2s; }
.client-name:hover { border-color: var(--blue); box-shadow: var(--shadow); }

.product-band { background: linear-gradient(135deg, var(--blue) 0%, var(--indigo) 100%); color: #fff; padding: 88px 0; }
.product-band .section-head h2 { color: #fff; }
.product-band .section-head p { color: rgba(255,255,255,.75); }
.product-logo { display: flex; justify-content: center; margin-bottom: 24px; }
.product-logo img { height: 32px; filter: brightness(0) invert(1); }
.cap-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.cap-card { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); padding: 28px; }
.cap-card i { font-size: 28px; margin-bottom: 14px; display: block; }
.cap-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.cap-card p { font-size: 14px; opacity: .8; line-height: 1.65; }
.cap-card ul { margin-top: 14px; list-style: none; }
.cap-card li { font-size: 13px; opacity: .85; padding: 4px 0 4px 18px; position: relative; }
.cap-card li::before { content: ''; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.5); }

.mod-groups { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.mod-group {
  display: block; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
.mod-group:hover { border-color: var(--blue); box-shadow: 0 8px 32px rgba(63,81,181,.12); transform: translateY(-3px); }
.mod-group-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-soft); color: var(--indigo); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; }
.mod-group h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.mod-group ul { list-style: none; }
.mod-group li { font-size: 13px; color: var(--muted); padding: 5px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.mod-group li:last-child { border-bottom: none; }
.mod-group li i { font-size: 16px; color: var(--blue); flex-shrink: 0; }
.mod-group .explore { display: flex; align-items: center; gap: 4px; margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--blue); }

.iot-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.iot-visual { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.iot-flow { display: flex; flex-direction: column; align-items: center; }
.iot-node { width: 100%; padding: 14px 20px; background: var(--soft); border: 1px solid var(--line); border-radius: 10px; display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 14px; }
.iot-node i { font-size: 22px; color: var(--blue); }
.iot-arrow { color: var(--blue); font-size: 18px; padding: 4px 0; }
.iot-copy h2 { font-size: 32px; font-weight: 900; margin-bottom: 14px; }
.iot-copy p { font-size: 16px; color: var(--muted); margin-bottom: 20px; }
.iot-points { list-style: none; }
.iot-points li { display: flex; gap: 12px; padding: 10px 0; font-size: 14px; color: var(--muted); }
.iot-points i { color: var(--green); font-size: 20px; flex-shrink: 0; }

.loc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.loc-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: var(--shadow); }
.loc-card i { font-size: 28px; color: var(--blue); margin-bottom: 10px; }
.loc-card h3 { font-size: 18px; font-weight: 700; }
.loc-card.grow { border-style: dashed; background: transparent; box-shadow: none; color: var(--muted); }

.cta { background: var(--white); border-top: 1px solid var(--line); text-align: center; padding: 88px 0; }
.cta h2 { font-size: 36px; font-weight: 900; margin-bottom: 12px; }
.cta p { color: var(--muted); margin-bottom: 28px; font-size: 16px; }
.cta-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.cta-info { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.cta-info a:hover { color: var(--indigo); }
.cta-info .btn-long { word-break: break-word; text-align: center; line-height: 1.4; }

footer { background: var(--text); color: rgba(255,255,255,.7); padding: 48px 0 24px; }
.foot-top { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 24px; }
.foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.foot-brand img { width: 28px; height: 28px; border-radius: 6px; }
.foot-brand span { font-weight: 700; color: #fff; font-size: 15px; }
.foot-sub { font-size: 13px; line-height: 1.6; margin-bottom: 16px; }
.foot-product { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.foot-product img { height: 18px; filter: brightness(0) invert(1); opacity: .7; }
.foot-product span { font-size: 12px; }
.foot-col h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.4); margin-bottom: 14px; }
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 8px; }
.foot-col a { font-size: 13px; }
.foot-col a:hover { color: #fff; }
.foot-bot { display: flex; justify-content: space-between; font-size: 12px; flex-wrap: wrap; gap: 8px; }

/* ── Module sub-pages ── */
.page-hero {
  padding: 100px 0 48px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb a:hover { color: var(--indigo); }
.breadcrumb i { font-size: 14px; color: var(--dim, #94a3b8); }
.page-hero-inner { display: flex; gap: 24px; align-items: flex-start; }
.page-hero-icon {
  width: 72px; height: 72px; border-radius: 18px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 36px;
  box-shadow: 0 10px 28px rgba(63,81,181,.3);
}
.page-hero h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 900; letter-spacing: -.02em; margin-bottom: 12px; }
.page-hero p { font-size: 17px; color: var(--muted); max-width: 640px; }

.module-content { padding: 40px 0 64px; }

.module-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.module-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.module-card-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.module-card-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: var(--blue-soft); color: var(--indigo);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.module-card h2 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.module-card .tag { font-size: 11px; font-weight: 600; color: var(--blue); }
.module-card > p { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.module-card ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.module-card li { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.module-card li i { font-size: 14px; color: var(--green); flex-shrink: 0; }

.sibling-nav {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  padding: 32px 0 0; margin-top: 48px; border-top: 1px solid var(--line);
}
.sibling-nav a {
  font-size: 13px; font-weight: 600; padding: 8px 16px;
  border-radius: 100px; border: 1px solid var(--line); background: var(--white);
  color: var(--muted); transition: all .15s;
}
.sibling-nav a:hover { border-color: var(--blue); color: var(--indigo); }
.sibling-nav a.current { background: var(--blue); color: #fff; border-color: var(--blue); }

@media (max-width: 900px) {
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  section { padding: 64px 0; }
  .hero { padding: 96px 0 56px; }
  .product-band { padding: 64px 0; }
  .cta { padding: 64px 0; }
  .page-hero { padding: 88px 0 32px; }
  .page-hero-inner { flex-direction: row; align-items: flex-start; gap: 14px; }
  .page-hero-icon { width: 48px; height: 48px; font-size: 24px; border-radius: 12px; box-shadow: 0 4px 12px rgba(63,81,181,.2); }
  .page-hero-inner > div { flex: 1; min-width: 0; }
  .page-hero h1 { font-size: clamp(26px, 6vw, 32px); margin-bottom: 8px; line-height: 1.1; }
  .page-hero p { font-size: 15px; line-height: 1.55; }
  .page-hero .eyebrow { margin-bottom: 8px; }
  .module-content { padding: 28px 0 48px; }

  .nav { flex-wrap: wrap; position: relative; }
  .brand { flex: 1; min-width: 0; font-size: 14px; }
  .nav-links, .nav-actions .btn-ghost, .nav-actions .btn-fill { display: none; }
  .menu-btn { display: block; flex-shrink: 0; }

  #header.nav-open .nav { height: auto; padding: 8px 0 12px; align-items: stretch; position: relative; padding-right: 40px; }
  #header.nav-open .menu-btn { position: absolute; right: 0; top: 14px; }
  #header.nav-open .nav-links {
    display: flex; flex-direction: column; width: 100%; order: 10;
    position: static; padding: 16px 0 8px; gap: 12px;
    border-top: 1px solid var(--line); margin-top: 8px;
  }
  #header.nav-open .nav-actions {
    display: flex; flex-direction: column; width: 100%; order: 11;
    gap: 8px; align-items: stretch;
  }
  #header.nav-open .nav-actions .btn-ghost,
  #header.nav-open .nav-actions .btn-fill {
    display: inline-flex; justify-content: center; width: 100%;
  }

  .hero-inner, .cap-grid, .mod-groups, .iot-row, .loc-grid, .foot-top, .module-cards { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .dash-kpis { grid-template-columns: repeat(2, 1fr); }
  .dash-charts { grid-template-columns: 1fr; }
  .module-card ul { grid-template-columns: 1fr; }
  .iot-copy h2 { font-size: clamp(24px, 5vw, 32px); }
  .cta h2 { font-size: clamp(26px, 5vw, 36px); }
  .cta-btns { flex-direction: column; align-items: stretch; }
  .cta-btns .btn { justify-content: center; }
  .cta-info { flex-direction: column; align-items: center; gap: 12px; text-align: center; }
  .cta-info span { max-width: 100%; line-height: 1.5; }
}

@media (max-width: 600px) {
  .wrap { width: min(var(--max), calc(100% - 24px)); }
  section { padding: 48px 0; }
  .page-hero { padding: 76px 0 24px; }
  .page-hero-inner { gap: 12px; }
  .page-hero-icon { width: 44px; height: 44px; font-size: 22px; }
  .page-hero p { font-size: 14px; }
  .breadcrumb {
    font-size: 11px; margin-bottom: 14px;
    flex-wrap: nowrap; overflow: hidden;
    white-space: nowrap; text-overflow: ellipsis;
  }
  .module-content { padding: 20px 0 40px; }
  .hero { padding: 88px 0 48px; }
  .clients { padding: 40px 0; }
  .mod-groups { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; gap: 24px; }
  .foot-bot { justify-content: center; text-align: center; }
  .client-name { white-space: normal; text-align: center; padding: 12px 16px; font-size: 14px; }
  .client-row { gap: 8px; }
  .loc-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .loc-card { padding: 16px; }
  .loc-card h3 { font-size: 15px; }
  .loc-card i { font-size: 22px; }
  .browser-body { padding: 12px; }
  .dash-kpi { padding: 8px; }
  .dash-kpi b { font-size: 16px; }
  .btn { font-size: 13px; padding: 10px 16px; }
  .hero-btns .btn { flex: 1; min-width: 0; justify-content: center; }
  .hero-btns { flex-direction: column; }
  .browser-title { font-size: 10px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: calc(100vw - 120px); }
  .sibling-nav { gap: 8px; }
  .sibling-nav a { font-size: 12px; padding: 7px 12px; }
}

@media (max-width: 380px) {
  .brand { font-size: 13px; gap: 8px; }
  .brand img { width: 28px; height: 28px; }
  .dash-kpis { grid-template-columns: 1fr 1fr; gap: 6px; }
  .loc-grid { grid-template-columns: 1fr; }
}
