/* ===== 亨宇泰科技 - 门户网站样式（深色科技风） ===== */
:root {
  --bg: #0b1020;
  --bg-alt: #0e1428;
  --panel: #141b33;
  --line: rgba(140, 160, 255, 0.14);
  --text: #e8ecf8;
  --muted: #9aa6c8;
  --primary: #6c8cff;
  --primary-2: #a06cff;
  --grad: linear-gradient(90deg, #6c8cff, #a06cff, #37e2c8);
  --radius: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

.container { width: min(1120px, 92%); margin: 0 auto; }

/* ---------- 导航 ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11, 16, 32, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.navbar.scrolled { border-bottom-color: var(--line); background: rgba(11,16,32,.9); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand-logo {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; font-size: 20px; font-weight: 700;
  background: var(--grad); color: #0b1020;
}
.brand-text strong { display: block; font-size: 16px; letter-spacing: 1px; }
.brand-text small { display: block; font-size: 10px; color: var(--muted); letter-spacing: 3px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.orb-1 { width: 480px; height: 480px; background: #3552d9; top: -120px; right: -100px; animation: drift 14s ease-in-out infinite alternate; }
.orb-2 { width: 380px; height: 380px; background: #7a3ff0; bottom: -80px; left: -120px; animation: drift 18s ease-in-out infinite alternate-reverse; }
.orb-3 { width: 260px; height: 260px; background: #0e8f8f; top: 40%; left: 55%; opacity: .3; animation: drift 22s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.1); } }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(140,160,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140,160,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 40%, transparent 100%);
}
.hero-content { position: relative; }
.hero-tag {
  display: inline-block; font-size: 14px; color: var(--primary);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 18px; margin-bottom: 24px; background: rgba(108,140,255,.08);
}
.hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.25; font-weight: 800; }
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { max-width: 560px; color: var(--muted); margin: 24px 0 36px; font-size: 17px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 13px 30px; border-radius: 999px;
  font-size: 15px; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s;
  cursor: pointer; border: 0;
}
.btn-primary {
  background: var(--grad); color: #0b1020; font-weight: 600;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(108,140,255,.35); }
.btn-ghost { color: var(--text); border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.btn-ghost:hover { background: rgba(140,160,255,.1); transform: translateY(-2px); }
.btn-block { display: block; text-align: center; margin-top: 16px; }

.hero-stats { display: flex; gap: 48px; margin-top: 64px; flex-wrap: wrap; }
.stat strong { font-size: 30px; font-weight: 800; display: block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 13px; }

/* ---------- 通用 Section ---------- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; margin-bottom: 56px; }
.section-tag { color: var(--primary); letter-spacing: 6px; font-size: 13px; margin-bottom: 10px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.section-desc { color: var(--muted); max-width: 620px; margin: 14px auto 0; }

/* ---------- 卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; position: relative; overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px 120px at var(--x, 50%) var(--y, 0%), rgba(108,140,255,.12), transparent);
  opacity: 0; transition: opacity .3s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(108,140,255,.4); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center;
  font-size: 26px; margin-bottom: 20px;
  background: color-mix(in srgb, var(--c) 18%, transparent);
  color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent);
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card-link { display: inline-block; margin-top: 18px; color: var(--primary); text-decoration: none; font-size: 14px; }
.card-link:hover { text-decoration: underline; }

/* 文化标语 */
.culture-banner {
  margin-top: 36px; text-align: center; padding: 26px;
  border: 1px dashed rgba(108,140,255,.35); border-radius: var(--radius);
  background: rgba(108,140,255,.05);
}
.culture-banner p {
  font-size: clamp(17px, 2.4vw, 22px); font-weight: 700; letter-spacing: 4px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* 软件卡片 */
.soft-desc { min-height: 68px; }
.soft-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.price { font-size: 22px; font-weight: 800; color: #f7b84a; }
.ver { font-size: 12px; color: var(--muted); }
.soft-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 32px; }

/* ---------- 关于 ---------- */
.about-wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; }
.about-text h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 20px; }
.about-text p { color: var(--muted); }
.about-list { list-style: none; margin-top: 26px; }
.about-list li {
  padding: 14px 0 14px 20px; border-left: 2px solid var(--primary);
  margin-bottom: 12px; color: var(--text); background: rgba(108,140,255,.05);
  border-radius: 0 10px 10px 0;
}
.about-list strong { margin-right: 8px; }
.about-list li { color: var(--muted); }
.about-visual { position: relative; height: 320px; display: grid; place-items: center; }
.ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(108,140,255,.35); }
.r1 { width: 300px; height: 300px; animation: spin 24s linear infinite; }
.r2 { width: 220px; height: 220px; border-color: rgba(160,108,255,.4); animation: spin 16s linear infinite reverse; }
.r3 { width: 150px; height: 150px; border-color: rgba(55,226,200,.4); border-style: solid; animation: spin 10s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.core {
  width: 92px; height: 92px; border-radius: 24px; display: grid; place-items: center;
  background: var(--grad); color: #0b1020; font-size: 30px; font-weight: 900;
  box-shadow: 0 0 60px rgba(108,140,255,.45);
}

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.ci-icon {
  width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: rgba(108,140,255,.12); color: var(--primary); font-size: 20px;
}
.contact-item h4 { margin-bottom: 6px; font-size: 15px; }
.contact-item p { color: var(--muted); font-size: 14px; word-break: break-all; }

/* 工商登记信息 */
.biz-info {
  margin-top: 40px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 32px;
}
.biz-info-head {
  font-size: 17px; font-weight: 700; margin-bottom: 22px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.biz-info-head span { color: var(--muted); font-size: 11px; font-weight: 400; letter-spacing: 2px; margin-left: 10px; }
.biz-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px 32px; }
.biz-item { display: flex; flex-direction: column; gap: 4px; }
.biz-item span { color: var(--muted); font-size: 12px; }
.biz-item strong { font-size: 14.5px; font-weight: 500; color: var(--text); }
.biz-full { grid-column: 1 / -1; }
.biz-full strong { line-height: 1.9; font-size: 14px; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); padding: 34px 0; background: #0a0e1c; }
.footer-inner { text-align: center; color: var(--muted); font-size: 13.5px; }
.footer .beian { margin-top: 6px; font-size: 12px; }

/* ---------- 滚动进场 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.show { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .nav-links {
    position: fixed; top: 68px; right: 0; width: min(72vw, 300px);
    background: rgba(14, 20, 40, .97); border-left: 1px solid var(--line);
    flex-direction: column; padding: 28px; gap: 20px;
    transform: translateX(100%); transition: transform .3s; height: calc(100vh - 68px);
  }
  .nav-links.open { transform: none; }
  .nav-toggle { display: block; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .about-wrap { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .hero-stats { gap: 28px; }
}
