/* ============================================================
   区块样式 · Hero / 关于 / 业务 / 政务 / 流程 / 动态 / 联系 / 页脚
   ============================================================ */

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(36px, 7vh, 84px));
}
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero-glow.g1 {
  width: 560px;
  height: 560px;
  top: -180px;
  right: -120px;
  background: rgba(61, 123, 255, 0.22);
}
.hero-glow.g2 {
  width: 420px;
  height: 420px;
  bottom: -160px;
  left: -140px;
  background: rgba(62, 230, 255, 0.1);
}

.hero-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

/* 页面加载的入场编排（仅首屏，一次性） */
.hero-badge,
.hero-title,
.hero-sub,
.hero-cta,
.hero-visual,
.hero-stats {
  opacity: 0;
  transform: translateY(30px);
  animation: hero-in 1s var(--ease-out) forwards;
}
.hero-badge { animation-delay: 0.1s; }
.hero-title { animation-delay: 0.24s; }
.hero-sub { animation-delay: 0.4s; }
.hero-cta { animation-delay: 0.55s; }
.hero-visual { animation-delay: 0.5s; animation-duration: 1.2s; }
.hero-stats { animation-delay: 0.72s; }
@keyframes hero-in {
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-badge,
  .hero-title,
  .hero-sub,
  .hero-cta,
  .hero-visual,
  .hero-stats {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  padding: 8px 18px;
  font-family: var(--font-disp);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-2);
  background: rgba(10, 20, 44, 0.5);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.hero-title {
  margin-top: 26px;
  font-size: clamp(34px, 4.6vw, 60px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.015em;
}
.hero-sub {
  margin-top: 24px;
  max-width: 560px;
  color: var(--text-2);
  font-size: clamp(14.5px, 1.2vw, 16.5px);
  line-height: 2.05;
}
.hero-cta {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* 竖排装饰文字 */
.hero-side {
  position: absolute;
  right: 26px;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-disp);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.55em;
  color: var(--text-3);
  user-select: none;
}

/* —— 首屏数据带 —— */
.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: clamp(34px, 6vh, 64px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 22, 46, 0.55), rgba(8, 14, 30, 0.35));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.hero-stat {
  padding: 22px 28px;
  border-right: 1px solid var(--line);
}
.hero-stat:last-child {
  border-right: none;
}
.stat-num {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-disp);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 700;
  line-height: 1;
}
.stat-num .suffix {
  font-size: 0.55em;
  color: var(--cyan);
}
.stat-label {
  margin-top: 8px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--text-3);
}

/* —— 右侧轨道视觉 —— */
.hero-visual {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 1 / 1;
  justify-self: center;
}
.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(120, 160, 255, 0.22);
  border-radius: 50%;
}
.orbit-ring.r1 { width: 100%; height: 100%; }
.orbit-ring.r2 { width: 74%; height: 74%; border-color: rgba(120, 160, 255, 0.16); }
.orbit-ring.r3 { width: 48%; height: 48%; border-style: solid; border-color: rgba(120, 160, 255, 0.2); }

.orbit-arc {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(
    from 210deg,
    transparent 0 42%,
    rgba(62, 230, 255, 0.9) 55%,
    rgba(61, 123, 255, 0.85) 66%,
    transparent 80%
  );
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1.5px));
  mask: radial-gradient(closest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1.5px));
  animation: spin 14s linear infinite;
}
@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.orbit-sat {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 74%;
  height: 74%;
  transform: translate(-50%, -50%);
  animation: spin 10s linear infinite reverse;
}
.orbit-sat .sat {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}

.core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 31%;
  height: 31%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 26%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.22), transparent 42%),
    linear-gradient(140deg, #2b62e8 0%, #123a8f 55%, #0b2358 100%);
  box-shadow:
    0 0 60px rgba(61, 123, 255, 0.5),
    inset 0 0 30px rgba(62, 230, 255, 0.25);
}
.core::after {
  content: "";
  position: absolute;
  inset: -14%;
  border-radius: 30%;
  border: 1px solid rgba(62, 230, 255, 0.25);
  animation: core-pulse 3.2s var(--ease-out) infinite;
}
@keyframes core-pulse {
  0% { opacity: 1; transform: scale(1); }
  70% { opacity: 0; transform: scale(1.35); }
  100% { opacity: 0; transform: scale(1.35); }
}
.core svg {
  width: 46%;
  height: 46%;
}

.chip-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-1);
  background: rgba(12, 22, 46, 0.74);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 34px rgba(2, 8, 24, 0.55);
  animation: floaty 6s ease-in-out infinite;
}
.chip-float svg {
  width: 16px;
  height: 16px;
  color: var(--cyan);
}
.chip-float.c1 { top: 6%; left: -6%; }
.chip-float.c2 { top: 40%; right: -8%; animation-delay: 1.6s; }
.chip-float.c3 { bottom: 8%; left: 10%; animation-delay: 3.2s; }
@keyframes floaty {
  50% { transform: translateY(-13px); }
}

/* ================= 关于 ================= */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: start;
}
.about-grid .sec-head {
  position: sticky;
  top: calc(var(--header-h) + 42px);
}

.about-text p {
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 2.1;
  text-align: justify;
}
.about-text p + p {
  margin-top: 18px;
}
.about-text strong {
  color: var(--text-1);
  font-weight: 600;
}

.about-values {
  margin-top: 44px;
  border-top: 1px solid var(--line);
}
.value-row {
  display: grid;
  grid-template-columns: 70px 128px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
}
.value-idx {
  font-family: var(--font-disp);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--cyan);
}
.value-name {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.value-desc {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--text-3);
}

/* ================= 核心业务 ================= */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.svc-card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
}
.svc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.svc-idx {
  font-family: var(--font-disp);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-3);
}
.svc-card:hover .icon-tile {
  transform: translateY(-3px) scale(1.05);
  color: #8df2ff;
  box-shadow:
    inset 0 0 24px rgba(62, 230, 255, 0.2),
    0 8px 26px rgba(61, 123, 255, 0.28);
}
.svc-title {
  margin-top: 24px;
  font-size: 19px;
  letter-spacing: 0.04em;
}
.svc-desc {
  flex: 1;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--text-2);
}
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

/* ================= 政务服务 ================= */
.gov {
  background: linear-gradient(
    180deg,
    rgba(10, 20, 46, 0) 0%,
    rgba(13, 28, 64, 0.42) 16%,
    rgba(10, 22, 52, 0.42) 84%,
    rgba(10, 20, 46, 0) 100%
  );
  border-block: 1px solid var(--line);
}
.gov::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 180, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 180, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000, transparent 90%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000, transparent 90%);
}
.gov .container {
  position: relative;
  z-index: 1;
}
.gov-statement {
  margin-top: 10px;
  font-size: clamp(21px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.7;
}
.gov-lead {
  margin-top: 14px;
  max-width: 700px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 2;
}
.gov-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.gov-card {
  padding: 32px 30px;
}
.gov-card .g-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.gov-card .icon-tile {
  width: 46px;
  height: 46px;
  border-radius: 10px;
}
.gov-card .icon-tile svg {
  width: 21px;
  height: 21px;
}
.gov-card h3 {
  font-size: 18.5px;
  letter-spacing: 0.04em;
}
.gov-num {
  position: absolute;
  top: 14px;
  right: 20px;
  font-family: var(--font-disp);
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(120, 160, 255, 0.16);
  user-select: none;
}
.gov-card p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--text-2);
}
.gov-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.gov-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding: 17px 24px;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--text-3);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
}
.gov-note svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--cyan);
}

/* ================= 服务流程 ================= */
.proc-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.proc-grid::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    rgba(120, 160, 255, 0.35) 0 6px,
    transparent 6px 14px
  );
}
.proc-step {
  position: relative;
}
.proc-node {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  font-family: var(--font-disp);
  font-size: 16px;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(10, 20, 42, 0.95);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  box-shadow:
    0 0 0 7px var(--bg-0),
    0 0 24px rgba(61, 123, 255, 0.2);
  transition: border-color 0.4s, box-shadow 0.4s, color 0.4s;
}
.proc-step:hover .proc-node {
  color: #fff;
  border-color: rgba(62, 230, 255, 0.7);
  box-shadow:
    0 0 0 7px var(--bg-0),
    0 0 30px rgba(62, 230, 255, 0.35);
}
.proc-step h3 {
  margin-top: 22px;
  font-size: 17.5px;
  letter-spacing: 0.05em;
}
.proc-step p {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--text-2);
}

/* ================= 动态 ================= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.news-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.news-date {
  font-family: var(--font-disp);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--cyan);
}
.news-title {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.65;
}
.news-excerpt {
  flex: 1;
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--text-2);
}
.news-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--text-3);
  transition: color 0.3s;
}
.news-more .arr {
  transition: transform 0.3s var(--ease-out);
}
.news-card:hover .news-more {
  color: var(--cyan);
}
.news-card:hover .news-more .arr {
  transform: translateX(5px);
}

/* ================= 联系 ================= */
.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.c-list {
  border-top: 1px solid var(--line);
}
.c-item {
  display: flex;
  gap: 16px;
  padding: 19px 2px;
  border-bottom: 1px solid var(--line);
}
.c-item .icon-tile {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}
.c-item .icon-tile svg {
  width: 19px;
  height: 19px;
}
.c-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--text-3);
}
.c-value {
  margin-top: 5px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-1);
}
.c-value small {
  display: block;
  font-size: 12px;
  color: var(--text-3);
}

.contact-form {
  padding: clamp(26px, 3vw, 40px);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.span-2 {
  grid-column: span 2;
}
.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}
.form-foot .tip {
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

.form-success {
  padding: 54px 20px;
  text-align: center;
}
.success-ring {
  width: 74px;
  height: 74px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad-main);
  box-shadow: 0 0 44px rgba(61, 123, 255, 0.45);
  animation: pop 0.55s var(--ease-spring);
}
.success-ring svg {
  width: 34px;
  height: 34px;
  color: #051226;
}
@keyframes pop {
  from {
    transform: scale(0.4);
    opacity: 0;
  }
}
.form-success h3 {
  margin-top: 24px;
  font-size: 20px;
  letter-spacing: 0.06em;
}
.form-success p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-2);
}
.form-success .btn {
  margin-top: 26px;
}

/* ================= 页脚 ================= */
.site-footer {
  margin-top: clamp(30px, 5vw, 60px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(6, 11, 24, 0.6), rgba(3, 6, 13, 0.95));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.25fr;
  gap: 40px;
  padding: 60px 0 52px;
}
.footer-brand p {
  max-width: 330px;
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.95;
  color: var(--text-3);
}
.footer-col h4 {
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--text-2);
}
.footer-col li a {
  display: inline-block;
  padding: 6px 0;
  font-size: 13.5px;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.3s, transform 0.3s var(--ease-out);
}
.footer-col li a:hover {
  color: var(--text-1);
  transform: translateX(3px);
}
.footer-col .f-text {
  font-size: 13.5px;
  line-height: 2.1;
  color: var(--text-3);
}
.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--text-3);
}
.footer-bar a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-bar a:hover {
  color: var(--text-2);
}
.footer-bar .coords {
  font-family: var(--font-disp);
  font-weight: 600;
  letter-spacing: 0.3em;
}

/* ================= 响应式 ================= */
@media (max-width: 1120px) {
  .hero-side {
    display: none;
  }
  .main-nav a {
    padding: 10px 8px;
    font-size: 13.5px;
    letter-spacing: 0.02em;
  }
  .header-inner {
    gap: 14px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .hero-visual {
    width: min(78vw, 400px);
    margin-top: 8px;
  }
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .about-grid .sec-head {
    position: static;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }
}

@media (max-width: 860px) {
  .main-nav,
  .header-cta {
    display: none;
  }
  .burger {
    display: block;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-stat:nth-child(2) {
    border-right: none;
  }
  .hero-stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .gov-grid,
  .proc-grid {
    grid-template-columns: 1fr 1fr;
  }
  .proc-grid::before {
    display: none;
  }
}

@media (max-width: 620px) {
  .hero-badge {
    padding: 7px 14px;
    font-size: 11.5px;
    letter-spacing: 0.12em;
  }
  .hero-visual {
    width: min(88vw, 330px);
  }
  .chip-float {
    padding: 8px 12px;
    font-size: 12px;
  }
  .chip-float.c2 {
    right: -2%;
  }
  .hero-cta .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
  .svc-grid,
  .gov-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
  .proc-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .value-row {
    grid-template-columns: 54px 1fr;
    grid-template-rows: auto auto;
  }
  .value-desc {
    grid-column: 2;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .span-2 {
    grid-column: auto;
  }
  .form-foot {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bar {
    flex-direction: column;
    text-align: center;
  }
  .back-top {
    right: 16px;
    bottom: 18px;
  }
}

@media (max-width: 400px) {
  .hero-stat {
    padding: 16px 18px;
  }
}
