/* =========================================================
   元硕智慧社区 · 官网样式
   配色取自品牌标识：青蓝渐变 + 深墨蓝 + 纸白
   ========================================================= */

:root {
  --ink: #05121f;
  --ink-2: #0a2138;
  --navy: #0e2c46;
  --cyan: #29a9e0;
  --cyan-soft: #7fd0f2;
  --blue: #1b6bb0;
  --gold: #b99a5b;
  --paper: #f7f5f0;
  --sand: #ece7dd;
  --white: #ffffff;

  --text-on-dark: #eef4f9;
  --text-on-dark-2: rgba(238, 244, 249, 0.66);
  --text-on-light: #16232f;
  --text-on-light-2: #55636f;

  --line-dark: rgba(238, 244, 249, 0.14);
  --line-light: rgba(22, 35, 47, 0.12);

  --max: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;

  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-num: "Optima", "Times New Roman", Georgia, serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--text-on-light);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-style: normal; }

::selection { background: var(--cyan); color: #fff; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ================= 章节轨道 ================= */
.rail {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: none;
  flex-direction: column;
  gap: 20px;
}
.rail a {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-num);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: rgba(118, 141, 160, 0.45);
  transition: color 0.3s var(--ease);
}
.rail i {
  display: block;
  width: 14px;
  height: 1px;
  background: currentColor;
  transition: width 0.35s var(--ease), background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.rail a:hover { color: rgba(118, 141, 160, 0.85); }
.rail a.is-active { color: var(--cyan); }
.rail a.is-active i { width: 30px; background: var(--cyan); box-shadow: 0 0 10px rgba(41, 169, 224, 0.5); }
@media (min-width: 1360px) {
  .rail { display: flex; }
}

/* 导航当前项 */
.nav a.is-current { color: #fff; }
.nav a.is-current::after { width: 100%; }
.site-header.is-scrolled .nav a.is-current { color: var(--blue); }

/* ================= 滚动进度 ================= */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 120;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform-origin: left center;
}

/* ================= 按钮 ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
              border-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:active { transform: scale(0.98); }

.btn-solid {
  background: var(--cyan);
  color: #04202f;
  box-shadow: 0 8px 24px rgba(41, 169, 224, 0.25);
}
.btn-solid:hover { background: #4bbceb; }

.btn-ghost {
  border: 1px solid rgba(238, 244, 249, 0.28);
  color: var(--text-on-dark);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan-soft); }

.btn-primary {
  background: var(--text-on-dark);
  color: var(--ink);
  height: 50px;
  padding: 0 30px;
  font-size: 15px;
}
.btn-primary:hover { background: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28); }

.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-on-dark);
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(238, 244, 249, 0.3);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.link-arrow span { transition: transform 0.25s var(--ease); }
.link-arrow:hover { border-color: var(--cyan); color: var(--cyan-soft); }
.link-arrow:hover span { transform: translateX(4px); }
.link-arrow--dark { color: var(--text-on-light); border-color: var(--line-light); margin-top: 18px; }
.link-arrow--dark:hover { color: var(--blue); border-color: var(--blue); }

/* ================= 头部 ================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease),
              backdrop-filter 0.35s var(--ease);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 82px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  flex: 0 0 auto;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-text strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
  transition: color 0.35s var(--ease);
}
.brand-text em {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.35s var(--ease);
}

.nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nav a {
  position: relative;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--cyan);
  transition: width 0.3s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-extra { display: none; }
.btn-line {
  border: 1px solid var(--line-light);
  color: var(--text-on-light);
  background: transparent;
}
.btn-line:hover { border-color: var(--blue); color: var(--blue); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background-color 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 26px; }

/* 滚动后：纸白毛玻璃 */
.site-header.is-scrolled {
  background: rgba(247, 245, 240, 0.86);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 1px 0 var(--line-light), 0 10px 30px rgba(10, 30, 50, 0.06);
}
.site-header.is-scrolled .brand-text strong { color: var(--text-on-light); }
.site-header.is-scrolled .brand-text em { color: var(--text-on-light-2); }
.site-header.is-scrolled .nav a { color: var(--text-on-light-2); }
.site-header.is-scrolled .nav a:hover { color: var(--blue); }
.site-header.is-scrolled .btn-ghost { border-color: var(--line-light); color: var(--text-on-light); }
.site-header.is-scrolled .btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.site-header.is-scrolled .nav-toggle span { background: var(--ink); }

/* ================= 首屏 ================= */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--text-on-dark);
  padding: 168px 0 0;
  overflow: hidden;
  isolation: isolate;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(127, 208, 242, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 208, 242, 0.055) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 78%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  filter: blur(10px);
  pointer-events: none;
}
.hero-glow--a {
  width: 720px;
  height: 720px;
  top: -260px;
  right: -120px;
  background: radial-gradient(circle, rgba(41, 169, 224, 0.3), rgba(41, 169, 224, 0) 66%);
  animation: drift 18s ease-in-out infinite alternate;
}
.hero-glow--b {
  width: 560px;
  height: 560px;
  bottom: -220px;
  left: -160px;
  background: radial-gradient(circle, rgba(27, 107, 176, 0.35), rgba(27, 107, 176, 0) 68%);
  animation: drift 22s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-40px, 30px, 0) scale(1.08); }
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--cyan-soft);
  margin-bottom: 28px;
}
.eyebrow-line { width: 42px; height: 1px; background: var(--cyan); opacity: 0.7; }

.hero-title {
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 26px;
}
.hero-title span { display: block; }
.hero-title em {
  position: relative;
  color: var(--cyan-soft);
  margin-left: 0.1em;
}

.hero-lead {
  max-width: 34em;
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--text-on-dark-2);
  line-height: 1.95;
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-dark);
}
.hero-meta > div {
  padding: 18px 16px 0 0;
  border-right: 1px solid var(--line-dark);
}
.hero-meta > div:last-child { border-right: 0; }
.hero-meta dt {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-on-dark);
  margin-bottom: 4px;
  letter-spacing: 0.08em;
}
.hero-meta dd {
  font-size: 12px;
  color: rgba(238, 244, 249, 0.5);
  letter-spacing: 0.02em;
}

/* ---- 首屏插画：门 + 手机 ---- */
.hero-visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gate { position: absolute; inset: 0; }
.gate-arch {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 360px;
  height: 460px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(127, 208, 242, 0.22);
  border-bottom: 0;
  border-radius: 190px 190px 0 0;
}
.gate-arch--2 {
  width: 448px;
  height: 546px;
  border-color: rgba(127, 208, 242, 0.1);
}
.gate-beam {
  position: absolute;
  left: 50%;
  top: 8%;
  width: 1px;
  height: 84%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(127, 208, 242, 0.45), transparent);
}

.phone {
  position: relative;
  width: 268px;
  border-radius: 34px;
  background: linear-gradient(168deg, #11314e 0%, #0a1f33 60%, #071826 100%);
  border: 1px solid rgba(127, 208, 242, 0.22);
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  overflow: hidden;
  transform: translateY(-6px);
}
.phone-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid rgba(127, 208, 242, 0.12);
}
.phone-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.phone-title { font-size: 12px; color: rgba(238, 244, 249, 0.8); letter-spacing: 0.1em; }
.phone-signal { margin-left: auto; display: flex; align-items: flex-end; gap: 2px; }
.phone-signal i { width: 2px; background: var(--cyan-soft); opacity: 0.65; }
.phone-signal i:nth-child(1) { height: 4px; }
.phone-signal i:nth-child(2) { height: 7px; }
.phone-signal i:nth-child(3) { height: 10px; }

.phone-body { padding: 16px; }

.open-card {
  position: relative;
  border-radius: 20px;
  padding: 12px 12px 18px;
  background: radial-gradient(circle at 50% 32%, rgba(41, 169, 224, 0.22), rgba(41, 169, 224, 0) 68%),
              rgba(127, 208, 242, 0.05);
  border: 1px solid rgba(127, 208, 242, 0.16);
  text-align: center;
  overflow: hidden;
}
.open-label { font-size: 11px; letter-spacing: 0.16em; color: rgba(238, 244, 249, 0.55); }
.open-ring {
  width: 128px;
  height: 128px;
  margin: 10px auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: conic-gradient(from 180deg, rgba(41, 169, 224, 0.65), rgba(41, 169, 224, 0.05) 60%, rgba(41, 169, 224, 0.65));
  padding: 1px;
  animation: pulseRing 3.4s ease-in-out infinite;
}
.open-core {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 40%, #14405f, #0a2033 72%);
  color: #eaf6fd;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-indent: 0.14em;
  box-shadow: inset 0 0 24px rgba(41, 169, 224, 0.28);
}
@keyframes pulseRing {
  0%, 100% { box-shadow: 0 0 0 0 rgba(41, 169, 224, 0.22); }
  50% { box-shadow: 0 0 0 14px rgba(41, 169, 224, 0); }
}
.open-hint { font-size: 10px; color: rgba(238, 244, 249, 0.4); letter-spacing: 0.04em; }

.phone-list { margin-top: 12px; display: grid; gap: 6px; }
.phone-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 11.5px;
  color: rgba(238, 244, 249, 0.78);
}
.phone-list li em { margin-left: auto; font-size: 10px; color: rgba(238, 244, 249, 0.4); }
.ph-ico {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid rgba(127, 208, 242, 0.45);
  flex: 0 0 auto;
}

.float-chip {
  position: absolute;
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(238, 244, 249, 0.82);
  background: rgba(9, 30, 48, 0.72);
  border: 1px solid rgba(127, 208, 242, 0.24);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: floaty 7s ease-in-out infinite;
}
.float-chip--1 { top: 18%; left: 2%; }
.float-chip--2 { bottom: 26%; right: 0; animation-delay: -2.4s; }
.float-chip--3 { bottom: 8%; left: 8%; animation-delay: -4.2s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.hero-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: rgba(238, 244, 249, 0.35);
  border-top: 1px solid rgba(238, 244, 249, 0.07);
  padding-top: 20px;
}
.hero-scroll { display: inline-flex; align-items: center; gap: 10px; }
.hero-scroll i {
  width: 1px;
  height: 26px;
  background: linear-gradient(180deg, var(--cyan), transparent);
  animation: scrollDrop 2.6s ease-in-out infinite;
}
@keyframes scrollDrop {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ================= 通用区块 ================= */
.section { position: relative; padding: clamp(76px, 9vw, 132px) 0; }
.section--paper { background: var(--paper); }
.section--sand { background: var(--sand); }
.section--ink {
  background: var(--ink-2);
  color: var(--text-on-dark);
}
.section--ink::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 85% 0%, rgba(41, 169, 224, 0.14), transparent 70%);
  pointer-events: none;
}

.section-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-head {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
  margin-bottom: clamp(44px, 6vw, 76px);
}
.sec-no {
  font-family: var(--font-num);
  font-size: 15px;
  letter-spacing: 0.16em;
  color: var(--blue);
  padding-top: 12px;
  position: relative;
}
.section--ink .sec-no { color: var(--cyan-soft); }
.sec-no::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
  transform: translateY(-4px);
}
.sec-titles { max-width: 760px; }
.section-head h2 {
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.005em;
}
.sec-lead {
  margin-top: 20px;
  max-width: 40em;
  font-size: 15px;
  line-height: 1.95;
  color: var(--text-on-light-2);
}
.section-head--dark .sec-lead { color: var(--text-on-dark-2); }

/* ================= 业务板块 ================= */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}

.card {
  position: relative;
  grid-column: span 4;
  background: var(--white);
  border: 1px solid rgba(22, 35, 47, 0.08);
  border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.card--wide { grid-column: span 8; }
.card--half { grid-column: span 6; }
.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(12, 40, 62, 0.1);
  border-color: rgba(41, 169, 224, 0.4);
}
.card:hover::before { transform: scaleX(1); }

.card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 22px;
}
.card-tag {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--blue);
  opacity: 0.75;
}
.card-no {
  font-family: var(--font-num);
  font-size: 12px;
  color: var(--text-on-light-2);
  opacity: 0.5;
  letter-spacing: 0.1em;
}
.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
  background: linear-gradient(150deg, rgba(41, 169, 224, 0.14), rgba(41, 169, 224, 0.03));
  border: 1px solid rgba(41, 169, 224, 0.16);
}
.card[data-accent="gold"] .card-icon {
  color: #8a6f33;
  background: linear-gradient(150deg, rgba(185, 154, 91, 0.16), rgba(185, 154, 91, 0.03));
  border-color: rgba(185, 154, 91, 0.22);
}
.card-icon svg { width: 28px; height: 28px; }

.card h3 {
  font-size: clamp(19px, 1.5vw, 22px);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}
.card p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-on-light-2);
  margin-bottom: 20px;
}
.card-list {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
  display: grid;
  gap: 8px;
}
.card-list li {
  position: relative;
  padding-left: 15px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-on-light-2);
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.7;
}

.scenario-line {
  margin-top: 30px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 13px;
  color: var(--text-on-light-2);
}
.scenario-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--blue);
  padding: 4px 10px;
  border: 1px solid rgba(27, 107, 176, 0.24);
  border-radius: 100px;
}

/* ================= 平台能力 ================= */
.frame {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: clamp(20px, 2.4vw, 30px);
  background: linear-gradient(180deg, rgba(127, 208, 242, 0.05), rgba(127, 208, 242, 0));
  margin-bottom: clamp(40px, 5vw, 64px);
}
.frame-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border-radius: 12px;
  overflow: hidden;
}
.frame-node {
  background: #092033;
  padding: 24px 20px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.frame-no {
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cyan);
  opacity: 0.7;
  margin-bottom: 10px;
}
.frame-node strong { font-size: 15px; font-weight: 600; letter-spacing: 0.02em; }
.frame-node em { font-size: 11.5px; color: rgba(238, 244, 249, 0.45); letter-spacing: 0.02em; }

.frame-bus {
  position: relative;
  margin-top: 26px;
  padding-top: 26px;
  text-align: center;
}
.frame-bus-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(127, 208, 242, 0.45), transparent);
}
.frame-bus-line::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}
.frame-bus p {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: rgba(238, 244, 249, 0.6);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px) clamp(24px, 4vw, 56px);
  margin-bottom: clamp(44px, 5vw, 64px);
}
.tech-item {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-dark);
}
.tech-key {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--cyan-soft);
  margin-bottom: 10px;
}
.tech-item h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.tech-item p {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--text-on-dark-2);
}

.stack { border-top: 1px solid var(--line-dark); }
.stack-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-dark);
}
.stack-row span {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(238, 244, 249, 0.45);
}
.stack-row p { font-size: 13.5px; color: rgba(238, 244, 249, 0.82); }

/* ================= 关于我们 ================= */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}
.about-text p {
  font-size: 15px;
  line-height: 2;
  color: var(--text-on-light-2);
  margin-bottom: 20px;
}
.about-text .about-lead {
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.75;
  color: var(--text-on-light);
  font-weight: 500;
  margin-bottom: 26px;
}
.about-signature { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.signature-line { width: 46px; height: 1px; background: var(--gold); }
.about-signature p { font-size: 12.5px; letter-spacing: 0.08em; color: var(--text-on-light-2); }

.principles { display: grid; gap: 0; }
.principles li {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line-light);
}
.principles li:last-child { border-bottom: 1px solid var(--line-light); }
.p-no {
  font-family: var(--font-num);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--gold);
  padding-top: 4px;
  flex: 0 0 auto;
}
.principles h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.principles p { font-size: 13.5px; line-height: 1.85; color: var(--text-on-light-2); }

.serves {
  margin-top: clamp(44px, 6vw, 72px);
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 40px;
}
.serves-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--blue);
}
.serves ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
}
.serves li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--text-on-light);
}
.serves li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

/* ================= 联系我们 ================= */
.section--contact { padding-bottom: clamp(80px, 9vw, 130px); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.contact-main { display: grid; gap: 28px; }
.contact-phone {
  display: grid;
  gap: 4px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line-dark);
}
.contact-label {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--cyan-soft);
}
.contact-phone strong {
  font-family: var(--font-num);
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.2;
  transition: color 0.3s var(--ease);
}
.contact-phone:hover strong { color: var(--cyan-soft); }
.contact-note { font-size: 11.5px; color: rgba(238, 244, 249, 0.4); }

.contact-rows { display: grid; gap: 0; }
.contact-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 14px;
  align-items: baseline;
}
.contact-row span { font-size: 12px; letter-spacing: 0.14em; color: rgba(238, 244, 249, 0.42); }
.contact-row p, .contact-row a { color: rgba(238, 244, 249, 0.9); }
.contact-row a { border-bottom: 1px solid rgba(127, 208, 242, 0.35); padding-bottom: 2px; transition: color 0.25s var(--ease); }
.contact-row a:hover { color: var(--cyan-soft); }

.contact-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: clamp(24px, 2.6vw, 34px);
}
.contact-card .card-tag { color: var(--cyan-soft); }
.contact-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 16px 0 10px;
}
.contact-card p {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--text-on-dark-2);
  margin-bottom: 24px;
}
.contact-card .link-arrow { margin-top: 20px; }

/* ================= 页脚 ================= */
.site-footer {
  background: #03101b;
  color: rgba(238, 244, 249, 0.62);
  padding: 52px 0 34px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 28px 40px;
  align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
  flex: 0 0 auto;
}
.footer-mark img { width: 100%; height: 100%; object-fit: cover; }
.footer-brand strong { display: block; font-size: 14px; color: rgba(238, 244, 249, 0.9); letter-spacing: 0.06em; }
.footer-brand p { font-size: 11.5px; color: rgba(238, 244, 249, 0.4); }

.footer-links { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 12.5px; }
.footer-links a { transition: color 0.25s var(--ease); }
.footer-links a:hover { color: var(--cyan-soft); }

.footer-legal { text-align: right; font-size: 11.5px; line-height: 1.9; }
.footer-legal p:last-child { color: rgba(238, 244, 249, 0.45); }
.footer-legal a:hover { color: var(--cyan-soft); }

/* ================= 滚动揭示 ================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ================= 响应式 ================= */
@media (max-width: 1360px) {
  .float-chip { display: none; }
}

@media (max-width: 1120px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); }
  .hero-visual { min-height: 460px; transform: scale(0.94); }
  .card, .card--wide { grid-column: span 6; }
  .card--half { grid-column: span 6; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 1024px) {
  .header-inner { height: 70px; gap: 16px; }
  .nav {
    position: fixed;
    inset: 70px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    padding: 8px var(--gutter) 26px;
    border-bottom: 1px solid var(--line-light);
    box-shadow: 0 20px 40px rgba(6, 22, 36, 0.12);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav > a {
    color: var(--text-on-light);
    font-size: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line-light);
  }
  .nav > a::after { display: none; }
  .nav-extra {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }
  .nav-extra .btn { width: 100%; height: 46px; }
  .header-actions { display: none; }
  .nav-toggle { display: block; margin-left: auto; }

  .site-header.is-nav-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .site-header.is-nav-open .nav-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .site-header.is-nav-open .nav-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .site-header.is-nav-open { background: rgba(247, 245, 240, 0.96); backdrop-filter: blur(14px); }
  .site-header.is-nav-open .brand-text strong { color: var(--text-on-light); }
  .site-header.is-nav-open .brand-text em { color: var(--text-on-light-2); }
  .site-header.is-nav-open .nav-toggle span { background: var(--ink); }

  .hero { padding-top: 128px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-visual { min-height: 430px; order: 2; }
  .hero-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-meta > div:nth-child(2) { border-right: 0; }
  .hero-meta > div:nth-child(n + 3) { padding-top: 14px; }
  .hero-bottom { padding-top: 18px; }
  .hero-scroll { display: none; }

  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .sec-no { padding-top: 0; }
  .sec-no::after { display: none; }

  .frame-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tech-grid { grid-template-columns: minmax(0, 1fr); }
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .hero { padding-top: 112px; }
  .hero-title { font-size: clamp(32px, 9vw, 44px); }
  .hero-lead { font-size: 14.5px; }
  .hero-actions { gap: 18px; margin-bottom: 40px; }
  .hero-meta dt { font-size: 12.5px; }
  .hero-meta dd { font-size: 11px; }
  .hero-visual { min-height: 400px; transform: scale(0.9); }
  .phone { width: 248px; }
  .gate-arch { width: 300px; height: 400px; }
  .gate-arch--2 { width: 370px; height: 470px; }
  .float-chip--1 { left: -2%; }
  .float-chip--2 { right: -2%; }

  .bento { grid-template-columns: minmax(0, 1fr); }
  .card, .card--wide, .card--half { grid-column: span 1; }
  .card { padding: 22px 20px; }
  .card-icon { width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px; }
  .card-icon svg { width: 24px; height: 24px; }

  .frame-row { grid-template-columns: minmax(0, 1fr); }
  .frame-node { padding: 18px; }
  .stack-row { grid-template-columns: 92px minmax(0, 1fr); gap: 14px; }

  .contact-row { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
  .contact-phone strong { letter-spacing: 0.03em; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .footer-legal { text-align: left; }
}

/* ================= 动效降级 ================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
