:root {
  --pi-blue: #0046B8;
  --pi-blue-dark: #00328A;
  --pi-blue-soft: #EEF4FC;
  --pi-dark: #1E2024;
  --pi-surface: #F5F7FA;
  --pi-text: #1A1D24;
  --pi-muted: #666C7A;
  --pi-border: #E5E9F0;
  --pi-max: 1280px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--pi-text); background: #fff; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: all .22s; }
img { max-width: 100%; display: block; }
.pi-wrap { max-width: var(--pi-max); margin: 0 auto; padding: 0 28px; }
.pi-kicker {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--pi-blue);
  padding-bottom: 4px; border-bottom: 2px solid var(--pi-blue); margin-bottom: 12px;
}

/* Header */
.pi-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90; height: 72px;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--pi-border); display: flex; align-items: center;
  transition: background .25s, color .25s;
}
.pi-header.is-home {
  background: linear-gradient(180deg, rgba(10,16,28,0.72) 0%, rgba(10,16,28,0) 100%);
  border-bottom-color: transparent; color: #fff;
}
.pi-header.is-home.scrolled {
  background: rgba(255,255,255,0.97); color: var(--pi-text);
  border-bottom-color: var(--pi-border); box-shadow: 0 6px 24px rgba(0,20,60,0.06);
}
.pi-header-in {
  width: 100%; max-width: 1380px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.pi-brand { display: flex; align-items: baseline; gap: 8px; font-weight: 900; font-size: 20px; letter-spacing: .3px; }
.pi-brand small { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; opacity: .72; text-transform: uppercase; }
.pi-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 500; }
.pi-nav > a { position: relative; padding: 8px 0; white-space: nowrap; }
.pi-nav > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--pi-blue); transform: scaleX(0); transition: transform .22s; }
.pi-nav > a:hover::after, .pi-nav > a.active::after { transform: scaleX(1); }
.pi-nav > a.active { color: var(--pi-blue); font-weight: 600; }
.pi-header.is-home:not(.scrolled) .pi-nav > a.active { color: #7FB2FF; }
.pi-right { display: flex; align-items: center; gap: 14px; }
.cms-lang-slot select, .cms-lang-slot a { color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 4px; padding: 3px 8px; font-size: 12px; opacity: .88; }
.mob-nav-chk { display: none; }
.mob-nav-btn { display: none; cursor: pointer; font-size: 22px; }
@media (max-width: 1024px) {
  .pi-nav { display: none; }
  .mob-nav-btn { display: block; }
  .mob-nav-chk:checked ~ .pi-mob-drawer { transform: translateX(0); }
}
.pi-mob-drawer {
  position: fixed; top: 72px; right: 0; bottom: 0; width: 270px; z-index: 88;
  background: #fff; color: var(--pi-text); padding: 24px; box-shadow: -8px 0 28px rgba(0,0,0,0.12);
  transform: translateX(105%); transition: transform .25s; display: flex; flex-direction: column; gap: 14px;
}
.pi-mob-drawer a { padding: 10px 0; border-bottom: 1px solid var(--pi-border); font-size: 15px; }

/* Home Hero */
.pi-hero {
  position: relative; min-height: 700px; height: 88vh; max-height: 840px;
  display: flex; align-items: center; background: #0E1522; color: #fff; overflow: hidden;
}
.pi-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pi-hero-mask { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,16,28,0.78) 0%, rgba(10,16,28,0.28) 55%, rgba(10,16,28,0.45) 100%); }
.pi-hero-in { position: relative; z-index: 2; max-width: 680px; }
.pi-hero-in h1 { font-size: clamp(36px, 4.4vw, 54px); font-weight: 700; line-height: 1.25; letter-spacing: 1px; }
.pi-hero-in p { margin-top: 16px; font-size: 16px; color: rgba(255,255,255,0.84); }
.pi-outline-pill {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px;
  padding: 11px 28px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.65);
  color: #fff; font-size: 14px; font-weight: 500;
}
.pi-outline-pill:hover { background: var(--pi-blue); border-color: var(--pi-blue); }

/* Section 2: Recent Highlights + KPI */
.pi-sec { padding: 80px 0; }
.pi-h2 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 700; color: var(--pi-text); line-height: 1.35; }
.pi-duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.pi-duo-card {
  position: relative; border-radius: 10px; overflow: hidden; min-height: 290px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; color: #fff;
  background: #0B1933;
}
.pi-duo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: transform .4s; }
.pi-duo-card:hover img { transform: scale(1.04); }
.pi-duo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,22,64,0.12) 25%, rgba(0,18,52,0.85) 100%); }
.pi-duo-card > * { position: relative; z-index: 2; }
.pi-duo-badge { position: absolute; top: 18px; right: 18px; background: #fff; color: var(--pi-blue); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 4px; }
.pi-kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 48px; }
.pi-kpi-box { border-bottom: 1px solid var(--pi-border); padding-bottom: 20px; }
.pi-kpi-val { font-size: 46px; font-weight: 700; color: var(--pi-text); line-height: 1.1; }
.pi-kpi-val small { font-size: 16px; font-weight: 500; margin-left: 4px; }
.pi-kpi-lbl { margin-top: 10px; font-size: 14px; color: var(--pi-muted); }

/* Section 3: 3D Smart City Interactive Pins */
.pi-city-sec { position: relative; background: #EEF2F7; overflow: hidden; padding: 72px 0 0; }
.pi-city-stage { position: relative; margin-top: 28px; min-height: 520px; display: flex; align-items: flex-end; justify-content: center; }
.pi-city-stage img { width: 100%; height: 540px; object-fit: cover; display: block; }
.pi-pin {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.95); color: var(--pi-text); padding: 8px 10px 8px 16px;
  border-radius: 999px; font-size: 13px; font-weight: 600;
  box-shadow: 0 10px 26px rgba(0,30,80,0.15);
}
.pi-pin i { width: 22px; height: 22px; border-radius: 50%; background: var(--pi-blue); color: #fff; font-style: normal; display: grid; place-items: center; font-size: 12px; }
.pi-pin:hover { background: var(--pi-blue); color: #fff; transform: translateY(-2px); }
.pi-pin:hover i { background: #fff; color: var(--pi-blue); }

/* Section 4: 3x2 Product Matrix with Cobalt Blue 6th Card */
.pi-matrix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.pi-mat-card {
  background: var(--pi-surface); border-radius: 8px; padding: 30px 24px 20px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  min-height: 310px; border: 1px solid transparent; transition: all .22s;
}
.pi-mat-card:hover { background: #fff; border-color: var(--pi-blue); box-shadow: 0 14px 32px rgba(0,70,184,0.1); }
.pi-mat-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.pi-mat-link { font-size: 13px; color: var(--pi-blue); font-weight: 600; margin-bottom: 18px; }
.pi-mat-card img { width: 88%; height: 170px; object-fit: cover; border-radius: 8px; margin-top: auto; }
.pi-mat-all {
  position: relative; background: var(--pi-blue); color: #fff; border-radius: 8px;
  padding: 36px 30px; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 310px; overflow: hidden;
}
.pi-mat-all:hover { background: var(--pi-blue-dark); }
.pi-mat-all h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.pi-mat-all p { font-size: 14px; color: rgba(255,255,255,0.84); line-height: 1.75; }
.pi-mat-wm { position: absolute; right: -8px; bottom: -18px; font-size: 64px; font-weight: 900; color: rgba(255,255,255,0.1); pointer-events: none; }

/* Section 5: Global Earth Frosted Card */
.pi-earth-sec { position: relative; min-height: 500px; background: #040914; display: flex; align-items: center; overflow: hidden; padding: 64px 0; }
.pi-earth-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pi-earth-card {
  position: relative; z-index: 2; max-width: 440px;
  background: rgba(18,34,62,0.68); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.18); border-radius: 10px;
  padding: 40px 36px; color: #fff;
}
.pi-earth-card h2 { font-size: 26px; font-weight: 700; line-height: 1.45; }
.pi-blue-pill {
  display: inline-flex; align-items: center; gap: 8px; background: var(--pi-blue); color: #fff !important;
  padding: 10px 24px; border-radius: 999px; font-size: 13px; font-weight: 600; border: none; cursor: pointer;
}
.pi-blue-pill:hover { background: var(--pi-blue-dark); }

/* Section 6: News 2-Hero + 4-Row */
.pi-news-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.pi-news-tabs { display: flex; gap: 10px; }
.pi-news-tab { padding: 9px 18px; border: 1px solid var(--pi-border); border-radius: 4px; font-size: 13px; font-weight: 600; color: var(--pi-muted); background: #fff; }
.pi-news-tab.active, .pi-news-tab:hover { background: var(--pi-blue); border-color: var(--pi-blue); color: #fff; }
.pi-news-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 24px; }
.pi-news-mini {
  background: #fff; border: 1px solid var(--pi-border); border-radius: 8px; padding: 20px;
  display: flex; flex-direction: column; min-height: 175px;
}
.pi-news-mini:hover { border-color: var(--pi-blue); box-shadow: 0 10px 24px rgba(0,70,184,0.08); }
.pi-news-mini .meta { font-size: 12px; color: var(--pi-blue); margin-bottom: 10px; }
.pi-news-mini h4 { font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--pi-text); }
.pi-news-mini .more { margin-top: auto; padding-top: 14px; font-size: 12px; color: var(--pi-blue); font-weight: 600; }

/* Section 7: 3-Col Support Strip */
.pi-support-sec { background: var(--pi-surface); padding: 48px 0; }
.pi-support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pi-support-card {
  background: #fff; border-radius: 8px; padding: 28px 30px;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  border: 1px solid var(--pi-border);
}
.pi-support-card:hover { border-color: var(--pi-blue); box-shadow: 0 10px 24px rgba(0,70,184,0.08); }
.pi-support-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.pi-support-card p { font-size: 13px; color: var(--pi-muted); }
.pi-support-ic { font-size: 28px; color: var(--pi-blue); flex-shrink: 0; }

/* Inner Pages */
.pi-spacer { height: 72px; }
.pi-crumb-bar { background: var(--pi-surface); border-bottom: 1px solid var(--pi-border); padding: 14px 0; font-size: 13px; color: var(--pi-muted); }
.pi-page-head { padding: 44px 0 32px; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.pi-cat-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 36px; }
.pi-cat-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pi-cat-pill { padding: 9px 18px; border-radius: 6px; border: 1px solid var(--pi-border); font-size: 13px; font-weight: 600; color: var(--pi-text); background: #fff; }
.pi-cat-pill.active, .pi-cat-pill:hover { background: var(--pi-blue); border-color: var(--pi-blue); color: #fff; }
.pi-search { display: flex; border: 1px solid var(--pi-border); border-radius: 999px; overflow: hidden; background: var(--pi-surface); }
.pi-search input { border: none; background: transparent; padding: 9px 18px; font-size: 13px; outline: none; width: 220px; }
.pi-search button { background: var(--pi-blue); color: #fff; border: none; padding: 0 22px; font-size: 13px; font-weight: 600; cursor: pointer; }
.pi-sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-bottom: 72px; }
.pi-sol-card { border-bottom: 1px solid var(--pi-border); padding-bottom: 20px; display: block; }
.pi-sol-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 8px; margin-bottom: 14px; }
.pi-sol-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.pi-sol-card p { font-size: 13px; color: var(--pi-muted); }
.pi-sol-card:hover h3 { color: var(--pi-blue); }

.pi-dl-row { display: grid; grid-template-columns: 92px 1fr auto auto; gap: 18px; align-items: center; padding: 20px 24px; border: 1px solid var(--pi-border); border-radius: 8px; margin-bottom: 12px; background: #fff; }
.pi-dl-tag { background: var(--pi-blue-soft); color: var(--pi-blue); font-size: 12px; font-weight: 700; text-align: center; padding: 6px 8px; border-radius: 4px; }

/* Contact Offices */
.pi-office-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0 56px; }
.pi-office-card { background: var(--pi-surface); border-radius: 8px; padding: 22px 24px; border: 1px solid var(--pi-border); }
.pi-office-card h4 { font-size: 16px; color: var(--pi-blue); padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid var(--pi-border); }
.pi-office-card p { font-size: 13px; color: var(--pi-muted); margin-bottom: 6px; }

/* Footer */
.pi-footer { background: var(--pi-dark); color: rgba(255,255,255,0.78); padding: 64px 0 28px; }
.pi-ft-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; padding: 36px 0 44px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.pi-footer h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.pi-footer ul { list-style: none; display: grid; gap: 9px; font-size: 13px; color: rgba(255,255,255,0.65); }
.pi-footer ul a:hover { color: #fff; }
.pi-ft-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 22px; font-size: 12px; color: rgba(255,255,255,0.48); }

@media (max-width: 960px) {
  .pi-duo-grid, .pi-kpi-row, .pi-matrix, .pi-news-4, .pi-support-grid, .pi-sol-grid, .pi-office-grid { grid-template-columns: 1fr; }
  .pi-ft-grid { grid-template-columns: 1fr 1fr; }
  .pi-pin { display: none; }
  .pi-dl-row { grid-template-columns: 1fr; }
}
