/* ============================================================
   U慧互联官方网站 - 页面板块样式
   ============================================================ */

/* ---------------- Hero 首屏 ---------------- */
.hero { padding: 84px 0 70px; text-align: center; position: relative; }
.hero-badge { margin-bottom: 26px; }
.hero h1 {
  font-size: clamp(36px, 6.4vw, 62px); font-weight: 900;
  letter-spacing: -1.2px; line-height: 1.16; margin-bottom: 22px;
}
.hero .sub {
  color: var(--text-2); font-size: clamp(15px, 2vw, 17.5px);
  max-width: 640px; margin: 0 auto 34px;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.hero-trusts {
  display: flex; gap: 26px; justify-content: center; flex-wrap: wrap;
  color: var(--text-2); font-size: 13.5px; margin-bottom: 56px;
}
.hero-trusts span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trusts span::before { content: "✓"; color: var(--ok); font-weight: 700; font-size: 13px; }

.hero-visual {
  position: relative; max-width: 980px; margin: 0 auto;
  border-radius: 26px; overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 80px rgba(2,6,16,.7), 0 0 0 1px rgba(47,107,255,.06), 0 24px 60px rgba(47,107,255,.14);
  background: var(--bg-soft);
}
.hero-visual img { width: 100%; object-fit: cover; }
.hero-visual::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 240px at 50% -60px, rgba(47,107,255,.16), transparent 65%);
}

/* 浮动信息卡（视觉层次装饰） */
.float-card {
  position: absolute; padding: 11px 18px; border-radius: 14px;
  background: rgba(7,11,20,.82); border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px); font-size: 13px; color: var(--text-1);
  box-shadow: 0 12px 34px rgba(0,0,0,.45);
  animation: floaty 5s ease-in-out infinite;
  z-index: 2;
}
.float-card.fc1 { right: 6%; top: 12%; }
.float-card.fc1 b { color: var(--ok); }
.float-card.fc2 { left: 5%; bottom: 14%; animation-delay: -2.4s; }
.float-card.fc2 b { color: var(--grad-b); }
.float-card.fc3 { left: 6%; top: 20%; animation-delay: -1.2s; }
.float-card.fc3 b { color: var(--grad-a); }
.float-card.fc4 { right: 5%; bottom: 22%; animation-delay: -3.6s; }
.float-card.fc4 b { color: var(--ok); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* U盘发光 + 图内连线流光动效 */
.converge-svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}
.converge-svg .cv-line {
  fill: none; stroke: #00d4ff; stroke-width: 3.3; stroke-linecap: round;
  opacity: .38; stroke-dasharray: 8 21;
  animation: cv-flow 1.4s linear infinite;
}
.converge-svg .cv-line.rev { animation-name: cv-flow-r; }
.converge-svg .cv-bead {
  fill: #b8f4ff; filter: drop-shadow(0 0 9px #00d4ff); opacity: .9;
}
.converge-svg .cv-pulse { stroke: #00d4ff; }
@keyframes cv-flow { to { stroke-dashoffset: -29; } }
@keyframes cv-flow-r { to { stroke-dashoffset: 29; } }
@media (max-width: 900px) {
  .converge-svg { display: none; }
}

/* ---------------- 统计条 ---------------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.stat {
  text-align: center; padding: 30px 16px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card);
  transition: all .3s;
}
.stat:hover { transform: translateY(-4px); border-color: rgba(47,107,255,.35); }
.stat .num {
  font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; letter-spacing: -.5px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat .label { color: var(--text-2); font-size: 13.5px; margin-top: 6px; }

/* ---------------- 功能卡网格 ---------------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px;
  background: var(--grad-soft); border: 1px solid rgba(47,107,255,.28);
  box-shadow: 0 6px 18px rgba(47,107,255,.14);
}
.feature h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 9px; }
.feature p { color: var(--text-2); font-size: 14px; }

/* ---------------- 步骤 ---------------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.step { text-align: center; padding: 34px 26px; }
.step .no {
  font-size: 42px; font-weight: 900; line-height: 1; margin-bottom: 16px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  opacity: .92;
}
.step h3 { font-size: 17.5px; margin-bottom: 9px; }
.step p { color: var(--text-2); font-size: 14px; }

/* ---------------- CTA 区 ---------------- */
.cta-band {
  position: relative; text-align: center; padding: 66px 30px;
  border-radius: 26px; overflow: hidden;
  background:
    radial-gradient(560px 260px at 50% -60px, rgba(47,107,255,.28), transparent 65%),
    linear-gradient(160deg, rgba(47,107,255,.1), rgba(0,212,255,.05)),
    var(--bg-soft);
  border: 1px solid rgba(47,107,255,.3);
  box-shadow: 0 24px 70px rgba(2,6,16,.6);
}
.cta-band h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; margin-bottom: 14px; }
.cta-band p { color: var(--text-2); margin-bottom: 30px; }

/* ---------------- 页面通用首屏 ---------------- */
.page-hero { padding: 72px 0 44px; text-align: center; }
.page-hero h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 900; letter-spacing: -.8px; margin: 18px 0 14px; }
.page-hero p { color: var(--text-2); max-width: 560px; margin: 0 auto; }

/* ---------------- 产品页 ---------------- */
.product-card {
  display: grid; grid-template-columns: 400px 1fr; gap: 0;
  border-radius: var(--radius-card); overflow: hidden;
  background: var(--card); border: 1px solid var(--border);
  transition: all .3s;
}
.product-card + .product-card { margin-top: 26px; }
.product-card:hover { border-color: rgba(47,107,255,.35); }
.product-card .p-img { position: relative; background: var(--bg-soft); min-height: 300px; }
.product-card .p-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.product-card .p-body { padding: 36px 38px; }
.product-card .p-tag {
  display: inline-block; padding: 5px 14px; border-radius: 999px; margin-bottom: 14px;
  background: rgba(47,107,255,.12); border: 1px solid rgba(47,107,255,.3);
  color: #9ec3ff; font-size: 12.5px;
}
.product-card h2 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.product-card .p-sum { color: var(--text-2); font-size: 15px; margin-bottom: 20px; }
.p-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 20px; margin-bottom: 24px; }
.p-feats span { display: flex; gap: 8px; align-items: baseline; color: var(--text-2); font-size: 14px; }
.p-feats span::before { content: "✓"; color: var(--grad-b); font-weight: 700; flex-shrink: 0; }
.p-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* 产品详情展开 */
.p-detail { border-top: 1px solid var(--border); margin-top: 30px; padding-top: 26px; display: none; }
.product-card.open .p-detail { display: block; }
.p-detail .rich { color: var(--text-2); font-size: 14.5px; }
.rich h2 { font-size: 19px; color: var(--text-1); margin: 22px 0 10px; }
.rich h3 { font-size: 16.5px; color: var(--text-1); margin: 18px 0 8px; }
.rich p { margin: 8px 0; }
.rich ul, .rich ol { margin: 8px 0 8px 22px; }
.rich li { margin: 5px 0; }
.rich li::marker { color: var(--grad-b); }
.rich img { border-radius: 12px; margin: 14px 0; border: 1px solid var(--border); }
.rich a { color: var(--grad-b); text-decoration: underline; text-underline-offset: 3px; }
.rich strong { color: var(--text-1); }
.rich blockquote { border-left: 3px solid var(--grad-a); padding-left: 14px; margin: 10px 0; color: var(--text-2); }

/* ---------------- 下载中心 ---------------- */
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dl-card { display: flex; gap: 20px; align-items: flex-start; }
.dl-icon {
  width: 60px; height: 60px; flex-shrink: 0; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; position: relative;
  background: var(--grad-soft); border: 1px solid rgba(47,107,255,.28);
  box-shadow: 0 6px 18px rgba(47,107,255,.14);
}
.dl-icon .filetype { font-size: 11px; font-weight: 800; color: #9ec3ff; letter-spacing: .5px; }
.dl-icon::after {
  content: ""; position: absolute; right: -3px; bottom: -3px; width: 15px; height: 15px;
  border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center;
  font-size: 9px; color: #fff; box-shadow: 0 2px 8px rgba(47,107,255,.5);
  background-image: linear-gradient(135deg, #2f6bff, #00d4ff);
}
.dl-body { flex: 1; min-width: 0; }
.dl-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 5px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dl-meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--text-3); font-size: 12.5px; margin-bottom: 8px; }
.dl-meta span::before { content: "·"; margin-right: 5px; color: var(--text-3); }
.dl-meta span:first-child::before { content: ""; margin: 0; }
.dl-desc { color: var(--text-2); font-size: 13.5px; margin-bottom: 14px; }
.dl-actions { display: flex; gap: 10px; }

/* ---------------- 联系我们 ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
.qr-card, .contact-form { display: flex; flex-direction: column; }
.qr-card .card { padding: 30px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.qr-card .card h3 { text-align: center; }
.contact-info .card { padding: 30px; }
.c-item { display: flex; gap: 15px; align-items: flex-start; padding: 16px 0; border-bottom: 1px dashed var(--border); }
.c-item:last-child { border-bottom: none; }
.c-item .ci-icon {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 11px;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  background: var(--grad-soft); border: 1px solid rgba(47,107,255,.28);
}
.c-item .ci-label { color: var(--text-3); font-size: 12.5px; margin-bottom: 3px; }
.c-item .ci-value { color: var(--text-1); font-size: 15px; font-weight: 600; word-break: break-all; }

/* 二维码卡片 */
.qr-box {
  width: 310px; max-width: 100%; margin: 4px auto 0; aspect-ratio: 1;
  background: #fff; border-radius: 18px; padding: 16px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.qr-box img { width: 100%; height: 100%; object-fit: contain; display: block; }
.qr-placeholder {
  width: 100%; height: 100%; border-radius: 10px; border: 2px dashed rgba(148,163,184,.35);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  color: #64748b; background: #f8fafc;
}
.qr-placeholder .qr-ph-ico { font-size: 34px; color: #94a3b8; }
.qr-placeholder span { font-size: 13.5px; font-weight: 600; color: #475569; }
.qr-placeholder em { font-style: normal; font-size: 11.5px; color: #94a3b8; }
.qr-desc { text-align: center; color: var(--text-3); font-size: 13px; margin-top: 16px; }

/* 联系方式通栏 */
.contact-info-full { margin-top: 26px; }
.contact-info-full .card { padding: 30px; }
.c-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 26px; }
.c-grid .c-item { height: calc(100% - 8px); }
.contact-info-full:empty { display: none; }

.contact-form .card { padding: 32px; flex: 1; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; color: var(--text-2); margin-bottom: 7px; }
.field label .req { color: #7fb0ff; }
.field input, .field textarea {
  width: 100%; padding: 12px 15px; border-radius: 11px;
  background: rgba(148,163,184,.06); border: 1px solid var(--border);
  color: var(--text-1); font-size: 14.5px; outline: none; transition: all .2s;
}
.field input:focus, .field textarea:focus {
  border-color: rgba(47,107,255,.55); background: rgba(47,107,255,.06);
  box-shadow: 0 0 0 3px rgba(47,107,255,.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.field .err-tip { color: #7fb0ff; font-size: 12.5px; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid textarea { border-color: rgba(96,165,250,.6); }
.field.invalid .err-tip { display: block; }

/* ---------------- 404 ---------------- */
.p404 { text-align: center; padding: 140px 0; }
.p404 .code { font-size: 110px; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.p404 p { color: var(--text-2); margin: 14px 0 30px; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: 1fr; }
  .product-card .p-img { min-height: 240px; height: 260px; position: relative; }
  .dl-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .p-feats { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .product-card .p-body { padding: 24px 20px; }
}
