/* ==========================================================================
   云格网 · 官网样式
   虚拟电商解决方案提供商
   ========================================================================== */

:root {
  --c-primary: #2563eb;
  --c-primary-2: #3b82f6;
  --c-cyan: #06b6d4;
  --c-indigo: #4f46e5;
  --c-text: #1f2937;
  --c-text-2: #4b5563;
  --c-muted: #6b7280;
  --c-border: #e5e7eb;
  --c-bg: #ffffff;
  --c-bg-soft: #f5f7fb;
  --c-bg-dark: #0b1220;
  --grad: linear-gradient(120deg, #2563eb 0%, #3b82f6 45%, #06b6d4 100%);
  --grad-soft: linear-gradient(120deg, rgba(37,99,235,.08), rgba(6,182,212,.08));
  --shadow-sm: 0 1px 3px rgba(15,23,42,.08);
  --shadow-md: 0 8px 24px rgba(15,23,42,.10);
  --shadow-lg: 0 20px 50px rgba(15,23,42,.16);
  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1200px;
  --nav-h: 68px;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--soft { background: var(--c-bg-soft); }

/* ---------- 通用文字 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-primary);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }
.h2 {
  font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; line-height: 1.25;
  margin: 14px 0 14px; letter-spacing: -.01em;
}
.lead { color: var(--c-text-2); font-size: 17px; max-width: 720px; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }
.section-head { max-width: 780px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; font-size: 15px; font-weight: 600;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(37,99,235,.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37,99,235,.42); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.24); }
.btn-outline { border: 1.5px solid var(--c-border); color: var(--c-text); background: #fff; }
.btn-outline:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(229,231,235,.7);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.brand .mark { width: 34px; height: 34px; flex: none; }
.brand small { display: block; font-size: 11px; font-weight: 500; color: var(--c-muted); letter-spacing: .04em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--c-text-2);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--c-primary); background: rgba(37,99,235,.06); }
.nav-links a.active { color: var(--c-primary); font-weight: 700; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--c-text); border-radius: 2px; transition: .2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 20% 0%, #1d4ed8 0%, #2563eb 40%, #0b1220 100%);
  color: #fff; padding: 96px 0 120px;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .5; pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px;
  border: 1px solid rgba(255,255,255,.25); border-radius: 999px; font-size: 13px;
  background: rgba(255,255,255,.08); margin-bottom: 22px;
}
.hero h1 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; line-height: 1.22; letter-spacing: -.01em; }
.hero h1 .grad-text { background: linear-gradient(90deg,#7dd3fc,#a5f3fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { margin: 20px 0 30px; font-size: 17px; color: rgba(255,255,255,.86); max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 42px; flex-wrap: wrap; }
.hero-stats .stat b { font-size: 30px; font-weight: 800; display: block; line-height: 1.1; }
.hero-stats .stat span { font-size: 13px; color: rgba(255,255,255,.7); }
.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px; padding: 26px; backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}
.hero-card .mock-bar { display: flex; gap: 6px; margin-bottom: 18px; }
.hero-card .mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.4); }
.hero-card .mock-bar i:nth-child(1) { background: #f87171; }
.hero-card .mock-bar i:nth-child(2) { background: #fbbf24; }
.hero-card .mock-bar i:nth-child(3) { background: #34d399; }
.hero-card h4 { font-size: 16px; margin-bottom: 14px; color: #fff; }
.hero-card .chart { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.hero-card .chart .col { background: rgba(255,255,255,.1); border-radius: 8px; height: 90px; display: flex; align-items: flex-end; padding: 8px; }
.hero-card .chart .col b { width: 100%; border-radius: 5px; background: var(--grad); display: block; }
.hero-card .row-list { display: flex; flex-direction: column; gap: 9px; }
.hero-card .row-list div { display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.8); background: rgba(255,255,255,.06); padding: 9px 12px; border-radius: 8px; }

/* ---------- 特性卡片 ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(37,99,235,.35); }
.card .icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: var(--grad-soft); margin-bottom: 18px; color: var(--c-primary);
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--c-muted); font-size: 14.5px; }
.card .tag { display: inline-block; font-size: 12px; color: var(--c-primary); font-weight: 600; margin-bottom: 8px; }

/* ---------- 解决方案 ---------- */
.sol-card {
  position: relative; overflow: hidden; background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 30px; transition: .22s ease;
}
.sol-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.sol-card .num {
  position: absolute; right: 18px; top: 12px; font-size: 64px; font-weight: 800;
  color: rgba(37,99,235,.08); line-height: 1;
}
.sol-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.sol-card p.desc { color: var(--c-text-2); font-size: 14.5px; margin-bottom: 18px; }
.sol-card ul { display: flex; flex-wrap: wrap; gap: 8px; }
.sol-card ul li { font-size: 12.5px; color: var(--c-text-2); background: var(--c-bg-soft); padding: 5px 11px; border-radius: 999px; }
.sol-card .case { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--c-border); font-size: 13px; color: var(--c-muted); }

/* ---------- 新闻 ---------- */
.news-item { display: flex; gap: 20px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--c-border); background: #fff; transition: .2s; }
.news-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.news-date { flex: none; width: 74px; text-align: center; }
.news-date .d { font-size: 30px; font-weight: 800; color: var(--c-primary); line-height: 1; }
.news-date .m { font-size: 13px; color: var(--c-muted); margin-top: 4px; }
.news-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.news-body h3 a:hover { color: var(--c-primary); }
.news-body p { font-size: 14px; color: var(--c-muted); }
.news-body .cat { display: inline-block; font-size: 12px; color: var(--c-primary); font-weight: 600; background: rgba(37,99,235,.08); padding: 2px 10px; border-radius: 999px; margin-bottom: 8px; }

/* ---------- 合作伙伴 ---------- */
.partners { display: flex; flex-wrap: wrap; gap: 14px 34px; justify-content: center; align-items: center; }
.partners .p { font-size: 18px; font-weight: 700; color: #9ca3af; letter-spacing: .04em; transition: color .2s; }
.partners .p:hover { color: var(--c-primary); }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: 22px; padding: 64px 48px; text-align: center;
  color: #fff; background: var(--grad);
}
.cta::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px); background-size: 24px 24px; opacity: .6; }
.cta h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; position: relative; z-index: 2; }
.cta p { position: relative; z-index: 2; margin: 12px auto 26px; color: rgba(255,255,255,.88); max-width: 600px; }
.cta .btn { position: relative; z-index: 2; }

/* ---------- 页头横幅（内页） ---------- */
.page-hero { background: var(--grad); color: #fff; padding: 64px 0 70px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1px); background-size: 24px 24px; opacity: .5; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
.page-hero p { margin-top: 12px; color: rgba(255,255,255,.88); max-width: 680px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 16px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { opacity: .6; }

/* ---------- 文章详情 ---------- */
.article-wrap { max-width: 780px; margin: 0 auto; }
.article-meta { display: flex; gap: 16px; align-items: center; color: var(--c-muted); font-size: 13.5px; margin: 16px 0 26px; flex-wrap: wrap; }
.article-meta .cat { color: var(--c-primary); font-weight: 600; background: rgba(37,99,235,.08); padding: 2px 10px; border-radius: 999px; }
.article-content { font-size: 16.5px; color: var(--c-text); }
.article-content p { margin: 0 0 18px; }
.article-content h2 { font-size: 22px; font-weight: 800; margin: 30px 0 12px; }
.article-content h3 { font-size: 18px; font-weight: 700; margin: 24px 0 10px; }
.article-content ul, .article-content ol { margin: 0 0 18px 22px; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 8px; }
.article-content blockquote { border-left: 3px solid var(--c-primary); background: var(--c-bg-soft); padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 0 0 18px; color: var(--c-text-2); }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--c-border); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { padding: 15px 18px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--c-border); }
th { background: var(--c-bg-soft); font-weight: 700; white-space: nowrap; }
tr:last-child td { border-bottom: none; }
.price-tag { font-size: 22px; font-weight: 800; color: var(--c-primary); }
.price-tag small { font-size: 13px; font-weight: 500; color: var(--c-muted); }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.contact-card { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--c-border); border-radius: var(--radius); background: #fff; }
.contact-card .icon { flex: none; width: 46px; height: 46px; border-radius: 11px; background: var(--grad-soft); color: var(--c-primary); display: grid; place-items: center; }
.contact-card .icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 16px; margin-bottom: 3px; }
.contact-card p { font-size: 14px; color: var(--c-muted); }

/* ---------- 页脚 ---------- */
.footer { background: var(--c-bg-dark); color: #cbd5e1; padding: 66px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; font-weight: 700; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .about-txt { font-size: 14px; color: #94a3b8; max-width: 320px; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: 14px; color: #94a3b8; transition: color .15s; }
.footer ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(148,163,184,.15); padding: 22px 0; font-size: 13px; color: #64748b; text-align: center; }
.footer-bottom a { color: #94a3b8; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; z-index: 90;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 72px 0 88px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav-links {
    position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--c-border); padding: 12px 20px 20px; gap: 4px;
    display: none; box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-toggle { display: flex; }
  .nav-cta .btn { display: none; }
  .hero-stats { gap: 24px; }
  .hero-stats .stat b { font-size: 24px; }
  .cta { padding: 48px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .news-item { flex-direction: column; gap: 10px; }
  .news-date { width: auto; text-align: left; }
}
