﻿:root {
  color-scheme: light;
  --ink: #14273d;
  --muted: #60748d;
  --line: rgba(72, 113, 148, 0.22);
  --panel: rgba(247, 251, 255, 0.9);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --accent: #0f8f78;
  --accent-2: #d17a27;
  --blue: #1f65b7;
  --shadow: 0 24px 70px rgba(20, 39, 61, 0.18);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(225, 239, 247, 0.76), rgba(242, 248, 244, 0.82)),
    #e9f0f5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(232, 242, 248, 0.86), rgba(232, 242, 248, 0.72)),
    url("../img/industrial-portal-hero.png") center center / cover no-repeat;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(232, 242, 248, 0.9), rgba(232, 242, 248, 0.56) 48%, rgba(232, 242, 248, 0.72));
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.portal-shell {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 0 28px;
}

.portal-hero {
  position: relative;
  min-height: 148px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(20, 39, 61, 0.13);
  background: rgba(246, 251, 255, 0.62);
  backdrop-filter: blur(8px);
}

.hero-media,
.hero-media img {
  display: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.95);
}

.hero-overlay {
  position: relative;
  z-index: 1;
  min-height: 148px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 32px;
  background:
    linear-gradient(90deg, rgba(246, 251, 255, 0.94) 0%, rgba(246, 251, 255, 0.76) 60%, rgba(246, 251, 255, 0.48) 100%);
}

.topbar {
  min-width: 280px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.topbar div {
  display: grid;
  gap: 6px;
}

.brand-kicker,
.eyebrow,
.section-label {
  color: #63809b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.topbar strong {
  font-size: 20px;
}

#portalClock {
  min-width: 142px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: #29465f;
  font-weight: 800;
  text-align: center;
}

.hero-copy {
  flex: 1;
  max-width: 880px;
}

.hero-copy h1 {
  margin: 6px 0 8px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: 0;
}

.hero-copy p:last-child {
  max-width: 900px;
  margin: 0;
  color: #415d78;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 600;
}

.system-band {
  margin-top: 16px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: 4px 4px 14px;
}

.section-head h2 {
  margin: 6px 0 0;
  font-size: 28px;
}

.section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

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

.system-card {
  min-height: 236px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel-strong);
  box-shadow: 0 16px 42px rgba(24, 49, 72, 0.11);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.system-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -35% 15%;
  height: 150px;
  opacity: 0.16;
  border-radius: 999px;
  background: var(--blue);
}

.system-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 101, 183, 0.38);
  box-shadow: 0 22px 54px rgba(24, 49, 72, 0.18);
}

.crane-card::before {
  background: #1f65b7;
}

.health-card::before {
  background: #0f8f78;
}

.fan-card::before {
  background: #b96f24;
}

.mine-card::before {
  background: #5b6570;
}

.status-pill {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.status-pill.online {
  color: #08735f;
  background: rgba(15, 143, 120, 0.13);
}

.status-pill.pending {
  color: #9b5a19;
  background: rgba(209, 122, 39, 0.14);
}

.card-icon {
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: var(--ink);
  display: grid;
}

.card-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.2;
}

.system-card h3 {
  min-height: 52px;
  margin: 0;
  font-size: 21px;
  line-height: 1.22;
}

.system-card p {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.card-action {
  position: relative;
  z-index: 1;
  width: fit-content;
  color: var(--ink);
  font-weight: 900;
}

.card-action::after {
  content: " ->";
  color: var(--accent);
}

.pending .card-action::after {
  color: var(--accent-2);
}

.capability-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.capability-strip article {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
}

.capability-strip span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-weight: 900;
}

.capability-strip strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}

.capability-strip p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .system-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .portal-shell {
    width: min(100% - 24px, 1440px);
    padding-top: 12px;
  }

  .portal-hero,
  .hero-overlay {
    min-height: 250px;
  }

  .hero-overlay {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
  }

  .topbar,
  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-copy p:last-child {
    font-size: 16px;
  }

  .system-grid,
  .capability-strip {
    grid-template-columns: 1fr;
  }

  .system-card {
    min-height: 230px;
  }
}

.site-filing-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 12px;
  padding: 10px 16px;
  border: 1px solid rgba(190, 215, 232, 0.72);
  border-radius: 18px;
  background: rgba(246, 251, 255, 0.78);
  color: #33536f;
  font-size: 12px;
  line-height: 1.5;
  backdrop-filter: blur(10px);
}
.site-filing-footer a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #244a70;
  font-weight: 700;
  text-decoration: none;
}
.site-filing-footer a:hover { color: #1b66b1; }
.site-filing-footer img { width: 16px; height: 16px; object-fit: contain; }

