/* ============ 盛和云智慧商业数字平台 · 门户样式 ============ */
:root {
  --bg: #070b16;
  --bg-2: #0c1222;
  --ink: #f1f5f9;
  --ink-sub: #94a3b8;
  --ink-mute: #64748b;
  --brand: #3b82f6;
  --cyan: #06b6d4;
  --gold: #e0b352;
  --line: rgba(148, 163, 184, .16);
  --card: rgba(20, 28, 48, .72);
  --bar: #f0b429;
  --blind: #34d399;
  --property: #60a5fa;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- 动态背景 ---------- */
.bg-layer { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(ellipse at 50% -10%, #16224a 0%, var(--bg) 55%); }
#starfield { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35; }
.glow-1 { width: 520px; height: 520px; background: #2563eb; top: -180px; left: -120px; animation: float1 18s ease-in-out infinite; }
.glow-2 { width: 460px; height: 460px; background: #0891b2; top: 30%; right: -160px; animation: float2 22s ease-in-out infinite; }
.glow-3 { width: 400px; height: 400px; background: #7c3aed; bottom: -120px; left: 30%; opacity: .2; animation: float1 26s ease-in-out infinite reverse; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(96,165,250,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(96,165,250,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.6), transparent 75%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.6), transparent 75%);
}
@keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(60px, 40px); } }
@keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-50px, 60px); } }

/* ---------- 顶栏 ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; height: 76px; z-index: 100;
  display: flex; align-items: center; gap: 40px;
  padding: 0 clamp(24px, 5vw, 80px);
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.topbar.scrolled { background: rgba(7, 11, 22, .8); backdrop-filter: blur(18px); border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: flex; filter: drop-shadow(0 0 12px rgba(59,130,246,.5)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 21px; letter-spacing: 2px; font-weight: 800; }
.brand-text small { font-size: 9px; letter-spacing: 3px; color: var(--ink-mute); margin-top: 4px; }
.nav { display: flex; gap: 34px; margin-left: auto; }
.nav a { font-size: 14px; color: var(--ink-sub); transition: color .2s; position: relative; }
.nav a:hover { color: #fff; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: -8px; width: 0; height: 2px; background: var(--brand); transition: width .25s; }
.nav a:hover::after { width: 100%; }
.nav-cta {
  font-size: 13px; font-weight: 600; padding: 10px 20px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(59,130,246,.2), rgba(6,182,212,.15));
  border: 1px solid rgba(96,165,250,.4); transition: .25s; white-space: nowrap;
}
.nav-cta:hover { background: linear-gradient(135deg, rgba(59,130,246,.4), rgba(6,182,212,.3)); transform: translateY(-1px); }
.nav-cta span { color: var(--cyan); }
.menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; margin-left: auto; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px 24px 80px; position: relative; }
.hero-inner { max-width: 960px; animation: fadeUp .9s ease both; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .5px;
  color: #bfdbfe; padding: 8px 18px; border-radius: 100px;
  background: rgba(59,130,246,.1); border: 1px solid rgba(96,165,250,.3); margin-bottom: 32px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.hero-title { font-size: clamp(38px, 6vw, 74px); font-weight: 800; line-height: 1.18; letter-spacing: -1px; }
.grad-text {
  background: linear-gradient(100deg, #93c5fd, #22d3ee 45%, #a5b4fc);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: clamp(15px, 1.6vw, 18px); color: var(--ink-sub); margin: 28px auto 36px; max-width: 700px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 14px 28px; border-radius: 12px; font-size: 15px; font-weight: 600; transition: .25s; cursor: pointer; }
.btn-primary { background: linear-gradient(135deg, #2563eb, #0891b2); color: #fff; box-shadow: 0 10px 30px rgba(37,99,235,.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(37,99,235,.5); }
.btn-primary span { transition: transform .2s; }
.btn-primary:hover span { transform: translateX(4px); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(148,163,184,.4); }
.btn-lg { padding: 18px 36px; font-size: 16px; }

.trust-bar {
  display: flex; align-items: center; justify-content: center; gap: clamp(20px, 4vw, 56px);
  margin: 70px auto 0; padding: 28px 40px; flex-wrap: wrap;
  background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: 18px;
  backdrop-filter: blur(10px); max-width: 900px;
}
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 110px; }
.trust-num { font-size: clamp(26px, 3vw, 36px); font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.trust-num .pct { font-size: 18px; color: var(--cyan); }
.trust-label { font-size: 12px; color: var(--ink-mute); }
.trust-sep { width: 1px; height: 40px; background: var(--line); }
.scroll-hint { position: absolute; bottom: 28px; font-size: 11px; letter-spacing: 2px; color: var(--ink-mute); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-hint span { width: 1px; height: 34px; background: linear-gradient(var(--brand), transparent); animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine { 0%,100% { opacity: .3; transform: scaleY(.5); } 50% { opacity: 1; transform: scaleY(1); } }

/* ---------- Section 通用 ---------- */
.section { max-width: 1240px; margin: 0 auto; padding: 110px 24px; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.eyebrow { font-size: 12px; letter-spacing: 4px; color: var(--cyan); font-weight: 700; margin-bottom: 16px; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -.5px; }
.section-head p { color: var(--ink-sub); font-size: 15px; margin-top: 16px; }

/* ---------- 产品卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  position: relative; border-radius: 22px; padding: 30px; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); backdrop-filter: blur(16px);
  display: flex; flex-direction: column; min-height: 440px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s, box-shadow .35s;
  opacity: 0; transform: translateY(30px);
}
.product-card.in { animation: fadeUp .7s ease forwards; }
.product-card:nth-child(2).in { animation-delay: .12s; }
.product-card:nth-child(3).in { animation-delay: .24s; }
.product-card:hover { transform: translateY(-10px); border-color: rgba(96,165,250,.5); box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.card-glow { position: absolute; width: 260px; height: 260px; border-radius: 50%; filter: blur(70px); opacity: .16; top: -80px; right: -80px; transition: opacity .35s; }
.product-card:hover .card-glow { opacity: .3; }
.card-bar .card-glow { background: var(--bar); }
.card-blind .card-glow { background: var(--blind); }
.card-property .card-glow { background: var(--property); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; position: relative; }
.card-icon { width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.card-bar .card-icon { background: rgba(240,180,41,.14); color: #f7c94b; }
.card-blind .card-icon { background: rgba(52,211,153,.14); color: #4ade9f; }
.card-property .card-icon { background: rgba(96,165,250,.14); color: #7cb2ff; }
.card-tag { font-size: 11px; padding: 6px 12px; border-radius: 100px; background: rgba(255,255,255,.06); color: var(--ink-sub); border: 1px solid var(--line); }
.card-body { margin-top: 28px; position: relative; flex: 1; }
.card-body h3 { font-size: 25px; font-weight: 800; }
.card-en { font-size: 10px; letter-spacing: 2.5px; color: var(--ink-mute); margin-top: 6px; font-weight: 600; }
.card-desc { color: var(--ink-sub); font-size: 13.5px; margin-top: 18px; line-height: 1.75; }
.feature-list { margin-top: 20px; display: flex; flex-direction: column; gap: 9px; }
.feature-list li { font-size: 12.5px; color: #cbd5e1; display: flex; align-items: center; gap: 9px; }
.feature-list li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.card-bar .feature-list li::before { background: var(--bar); }
.card-blind .feature-list li::before { background: var(--blind); }
.card-property .feature-list li::before { background: var(--property); }
.card-foot { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; position: relative; }
.enter-btn { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; }
.enter-btn .arrow { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08); transition: .25s; }
.card-bar .enter-btn:hover .arrow { background: var(--bar); color: #1a1205; transform: translateX(4px); }
.card-blind .enter-btn:hover .arrow { background: var(--blind); color: #04291c; transform: translateX(4px); }
.card-property .enter-btn:hover .arrow { background: var(--property); color: #0a1c3a; transform: translateX(4px); }
.url-hint { font-family: ui-monospace, monospace; font-size: 11px; color: var(--ink-mute); background: rgba(0,0,0,.25); padding: 4px 10px; border-radius: 6px; }

/* ---------- 平台优势 ---------- */
.strength { padding-top: 40px; }
.strength-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.strength-item {
  background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: 16px;
  padding: 26px; transition: .3s;
  opacity: 0; transform: translateY(20px);
}
.strength-item.in { animation: fadeUp .6s ease forwards; }
.strength-item:hover { background: rgba(59,130,246,.06); border-color: rgba(96,165,250,.35); transform: translateY(-4px); }
.s-icon { font-size: 26px; width: 52px; height: 52px; border-radius: 14px; background: rgba(59,130,246,.12); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.strength-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.strength-item p { font-size: 13px; color: var(--ink-sub); line-height: 1.7; }

/* ---------- CTA ---------- */
.cta-band { margin: 40px 24px 100px; border-radius: 24px; padding: 1px; background: linear-gradient(120deg, rgba(59,130,246,.6), rgba(6,182,212,.5), rgba(124,58,237,.4)); }
.cta-inner {
  background: linear-gradient(120deg, #0e1a3a, #0a1428); border-radius: 23px;
  padding: 54px 60px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  border-radius: 23px;
}
.cta-inner h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.cta-inner p { color: var(--ink-sub); margin-top: 8px; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); background: rgba(0,0,0,.2); }
.footer-main { max-width: 1240px; margin: 0 auto; padding: 60px 24px 40px; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand p { color: var(--ink-mute); font-size: 13px; margin-top: 18px; }
.footer-links { display: flex; gap: 80px; }
.footer-links > div { display: flex; flex-direction: column; gap: 12px; }
.footer-links h5 { font-size: 13px; color: var(--ink); margin-bottom: 6px; }
.footer-links a { font-size: 13px; color: var(--ink-mute); transition: color .2s; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom { max-width: 1240px; margin: 0 auto; padding: 22px 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-mute); flex-wrap: wrap; gap: 10px; }

/* ---------- 动画 ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .nav, .nav-cta { display: none; }
  .nav.open { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 20px; padding: 24px; background: rgba(7,11,22,.96); border-bottom: 1px solid var(--line); }
  .menu-toggle { display: block; }
  .cards, .strength-grid { grid-template-columns: 1fr; }
  .product-card { min-height: auto; }
  .trust-sep { display: none; }
  .cta-inner { padding: 36px 28px; }
  .footer-links { gap: 40px; }
}
@media (max-width: 560px) {
  .hero { padding-top: 100px; }
  .trust-bar { padding: 24px; gap: 20px; }
  .trust-item { min-width: 80px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
