:root {
  --bg: #0a101d;
  --panel: rgba(15, 24, 43, 0.8);
  --panel-strong: rgba(20, 31, 55, 0.92);
  --border: rgba(125, 160, 213, 0.18);
  --text: #eef4ff;
  --muted: rgba(224, 233, 255, 0.66);
  --accent: #56c0ff;
  --accent-strong: #ffb347;
  --success: #6fe0b5;
  --warning: #f0d37a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Avenir Next", "PingFang SC", "Noto Sans SC", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(86, 192, 255, 0.18), transparent 36%),
    radial-gradient(circle at 80% 10%, rgba(255, 179, 71, 0.14), transparent 30%),
    linear-gradient(180deg, #0a101d 0%, #0f1728 100%);
  color: var(--text);
}

.page-shell {
  position: relative;
  min-height: 100vh;
  padding: 48px 28px 64px;
  overflow-x: hidden;
}

.bg-orb {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  pointer-events: none;
}

.orb-left {
  top: -140px;
  left: -120px;
  background: rgba(86, 192, 255, 0.24);
}

.orb-right {
  right: -110px;
  bottom: -140px;
  background: rgba(255, 179, 71, 0.2);
}

.hero,
.project-section {
  position: relative;
  z-index: 1;
  max-width: 1220px;
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 34px;
}

.hero-copy,
.hero-panel,
.project-card {
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 80px rgba(1, 8, 20, 0.35);
  min-width: 0;
}

.hero-copy {
  border-radius: 32px;
  padding: 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero h1,
.section-head h2 {
  margin: 0;
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 100%;
  font-size: clamp(24px, 3.6vw, 50px);
  line-height: 1.08;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-text,
.section-note,
.card-body p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 680px;
  font-size: 16px;
  margin: 18px 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions a {
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.hero-actions a:hover,
.project-card:hover {
  transform: translateY(-2px);
}

.primary-link {
  color: #08111f;
  background: linear-gradient(135deg, var(--accent-strong), #ffd680);
}

.secondary-link {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.hero-panel {
  border-radius: 28px;
  padding: 28px;
  background: var(--panel-strong);
}

.promo-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.panel-label {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.promo-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.promo-note {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.promo-window {
  position: relative;
  height: 468px;
  overflow: auto;
  padding-right: 8px;
  mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
  scrollbar-width: thin;
  scrollbar-color: rgba(125, 160, 213, 0.35) transparent;
}

.promo-window::-webkit-scrollbar {
  width: 6px;
}

.promo-window::-webkit-scrollbar-thumb {
  background: rgba(125, 160, 213, 0.3);
  border-radius: 999px;
}

.promo-scroller {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.promo-card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.promo-card:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 160, 213, 0.28);
  box-shadow: 0 18px 40px rgba(3, 10, 24, 0.28);
}

.promo-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  margin-bottom: 12px;
}

.promo-logo {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
  color: #07111f;
  background: linear-gradient(135deg, #a7dcff, #ffd680);
}

.promo-copy {
  min-width: 0;
}

.promo-copy strong,
.promo-copy span,
.promo-link {
  display: block;
}

.promo-copy strong {
  font-size: 20px;
  line-height: 1.2;
}

.promo-copy span,
.promo-link {
  font-size: 12px;
  color: var(--muted);
}

.promo-slogan {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
}

.promo-tencent .promo-logo {
  background: linear-gradient(135deg, #8de2ff, #7ab7ff);
}

.promo-huawei .promo-logo {
  background: linear-gradient(135deg, #ffd2cf, #ff8c82);
}

.promo-alibaba .promo-logo {
  background: linear-gradient(135deg, #ffd49a, #ff9d4d);
}

.promo-jd .promo-logo {
  background: linear-gradient(135deg, #ffd3d1, #ff7066);
}

.promo-tmall .promo-logo {
  background: linear-gradient(135deg, #ffe4f3, #ff89be);
}

.promo-baidu .promo-logo {
  background: linear-gradient(135deg, #d7dcff, #8fa1ff);
}

.promo-byd .promo-logo {
  background: linear-gradient(135deg, #d6ffec, #7be0b7);
}

.promo-haier .promo-logo {
  background: linear-gradient(135deg, #d8eeff, #86c6ff);
}

.project-section {
  border-radius: 32px;
  padding: 30px;
  background: rgba(7, 12, 24, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  scroll-margin-top: 24px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 22px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.project-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 26px;
  padding: 22px;
  transition: transform 180ms ease, border-color 180ms ease;
  min-width: 0;
}

.project-card-live:hover {
  border-color: rgba(111, 224, 181, 0.4);
}

.project-card-coming {
  opacity: 0.94;
}

.card-icon {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 18px;
}

.customs-icon {
  color: #0b1726;
  background: linear-gradient(135deg, #7ce0ff, #ffd07f);
}

.hospital-icon {
  color: #05131f;
  background: linear-gradient(135deg, #9ef3d1, #8fd7ff);
}

.project-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
  min-width: 0;
}

.card-head h3 {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: clamp(15px, 1.1vw, 19px);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status {
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  flex-shrink: 0;
}

.status-live {
  color: #082217;
  background: var(--success);
}

.status-coming {
  color: #2b2209;
  background: var(--warning);
}

.card-body p {
  min-height: 54px;
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.65;
}

.card-link {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  word-break: break-all;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .promo-head {
    flex-direction: column;
    align-items: start;
  }

  .promo-note {
    white-space: normal;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

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

  .hero h1,
  .card-head h3 {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 22px 16px 40px;
  }

  .hero-copy,
  .hero-panel,
  .project-section {
    padding: 22px;
  }

  .hero h1 {
    font-size: 30px;
    white-space: normal;
  }

  .hero-text {
    font-size: 15px;
  }

  .promo-window {
    height: 380px;
  }
}
