/* =========================================================
   智慧笔记官网 · site.css
   上海智慧笔记科技有限公司
   ========================================================= */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #06b6d4;
  --navy: #0b1b3a;
  --navy-2: #101f42;
  --text: #1f2937;
  --muted: #64748b;
  --line: #e5e9f2;
  --bg-soft: #f5f8fd;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 42, 89, .08);
  --shadow-lg: 0 24px 60px rgba(15, 42, 89, .14);
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color .2s; }
ul { list-style: none; }
.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- 通用 ---------- */
.section { padding: 90px 0; }
.section--soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .kicker {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 4px;
  color: var(--primary); background: rgba(37, 99, 235, .08);
  padding: 4px 14px; border-radius: 999px; margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); color: var(--navy); letter-spacing: 1px; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 16px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px; font-size: 15px; font-weight: 600;
  border: none; cursor: pointer; transition: all .25s;
}
.btn--primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; box-shadow: 0 10px 24px rgba(37, 99, 235, .35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(37, 99, 235, .45); }
.btn--ghost { border: 1.5px solid rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--outline { border: 1.5px solid var(--primary); color: var(--primary); background: transparent; }
.btn--outline:hover { background: var(--primary); color: #fff; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: all .25s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(15, 42, 89, .06); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { width: 38px; height: 38px; }
.brand__name { font-size: 20px; font-weight: 700; color: var(--navy); letter-spacing: 2px; }
.brand__name small { display: block; font-size: 10px; font-weight: 500; color: var(--muted); letter-spacing: 1px; line-height: 1.2; }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  padding: 9px 18px; border-radius: 10px; font-size: 15px; font-weight: 500; color: #374151;
}
.nav__links a:hover { color: var(--primary); background: rgba(37, 99, 235, .06); }
.nav__links a.active { color: var(--primary); font-weight: 600; }
.nav__cta { margin-left: 12px; }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2.5px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---------- 首屏 Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(6, 182, 212, .35), transparent 60%),
    radial-gradient(800px 480px at -10% 110%, rgba(37, 99, 235, .45), transparent 60%),
    linear-gradient(135deg, #0b1b3a 0%, #101f42 55%, #14275c 100%);
  padding: 110px 0 120px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}
.hero__inner { position: relative; z-index: 1; text-align: center; max-width: 860px; margin: 0 auto; }
.hero__tag {
  display: inline-block; font-size: 14px; letter-spacing: 3px; color: #a5c8ff;
  border: 1px solid rgba(165, 200, 255, .35); border-radius: 999px; padding: 6px 20px; margin-bottom: 26px;
}
.hero h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 700; letter-spacing: 2px; line-height: 1.35; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #6ea8ff, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { margin: 22px auto 40px; max-width: 640px; color: rgba(226, 236, 255, .82); font-size: 17px; }
.hero__actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.hero__stats { display: flex; justify-content: center; gap: 70px; margin-top: 70px; flex-wrap: wrap; }
.hero__stat b { display: block; font-size: 34px; background: linear-gradient(90deg, #6ea8ff, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__stat span { font-size: 14px; color: rgba(226, 236, 255, .65); letter-spacing: 1px; }

/* ---------- 产品双卡 ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.product-card {
  position: relative; border-radius: 22px; padding: 44px 40px; overflow: hidden; color: #fff;
  transition: transform .3s, box-shadow .3s;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card--erp { background: linear-gradient(140deg, #1d4ed8, #2563eb 55%, #0ea5e9); }
.product-card--wy { background: linear-gradient(140deg, #0f766e, #0d9488 55%, #22d3ee); }
.product-card__icon { width: 56px; height: 56px; border-radius: 14px; background: rgba(255,255,255,.16); display: grid; place-items: center; margin-bottom: 22px; }
.product-card__icon svg { width: 30px; height: 30px; }
.product-card h3 { font-size: 24px; letter-spacing: 1px; }
.product-card .en { font-size: 12px; letter-spacing: 3px; opacity: .65; text-transform: uppercase; }
.product-card p { margin: 14px 0 20px; color: rgba(255,255,255,.85); font-size: 15px; min-height: 72px; }
.product-card ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-bottom: 28px; }
.product-card ul li { font-size: 13.5px; color: rgba(255,255,255,.9); padding-left: 18px; position: relative; }
.product-card ul li::before { content: "✓"; position: absolute; left: 0; color: #a7f3d0; font-weight: 700; }
.product-card--erp ul li::before { color: #bfdbfe; }
.product-card .more { font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.product-card .more:hover { gap: 10px; }

/* ---------- 能力网格 ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; transition: all .3s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature__icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 20px;
  background: rgba(37, 99, 235, .09); color: var(--primary);
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 18px; color: var(--navy); margin-bottom: 10px; }
.feature p { font-size: 14.5px; color: var(--muted); }

/* ---------- 流程 / 时间轴 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.step b { display: block; font-size: 40px; color: rgba(37, 99, 235, .16); line-height: 1; margin-bottom: 14px; font-weight: 800; }
.step h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------- 数据带 ---------- */
.band { background: linear-gradient(135deg, #0b1b3a, #14275c); color: #fff; padding: 64px 0; }
.band .grid-4 { text-align: center; }
.band b { display: block; font-size: 38px; background: linear-gradient(90deg, #6ea8ff, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.band span { font-size: 14px; color: rgba(226,236,255,.65); }

/* ---------- CTA ---------- */
.cta {
  border-radius: 26px; padding: 64px 50px; text-align: center; color: #fff;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(6,182,212,.4), transparent 60%),
    linear-gradient(135deg, #1d4ed8, #0ea5e9);
  box-shadow: var(--shadow-lg);
}
.cta h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: 1px; }
.cta p { margin: 12px 0 30px; color: rgba(255,255,255,.85); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy); color: rgba(226, 236, 255, .75); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__name small { color: rgba(226,236,255,.5); }
.site-footer p { font-size: 14px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; letter-spacing: 1px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: rgba(226,236,255,.7); }
.footer-col a:hover { color: #6ea8ff; }
.footer-col li.svgi { display:flex; gap:10px; align-items:flex-start; font-size:14px; }
.footer-col li.svgi svg { width:18px; height:18px; flex:none; margin-top:4px; color:#6ea8ff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; font-size: 13px;
  color: rgba(226,236,255,.5);
}
.footer-bottom a { color: rgba(226,236,255,.7); }
.footer-bottom a:hover { color: #6ea8ff; }

/* ---------- 内页 Banner ---------- */
.page-banner {
  position: relative; overflow: hidden; color: #fff; text-align: center; padding: 90px 0 80px;
  background:
    radial-gradient(700px 380px at 80% -20%, rgba(6,182,212,.35), transparent 60%),
    linear-gradient(135deg, #0b1b3a, #14275c);
}
.page-banner::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { font-size: clamp(28px, 4vw, 42px); letter-spacing: 2px; }
.page-banner p { margin-top: 14px; color: rgba(226,236,255,.75); }

/* ---------- 详情区块（产品页） ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split + .split { margin-top: 90px; }
.split__media {
  border-radius: 20px; min-height: 320px; display: grid; place-items: center; overflow: hidden;
  box-shadow: var(--shadow-lg); color: #fff; padding: 40px; text-align: center;
}
.split__media--a { background: linear-gradient(140deg, #1d4ed8, #0ea5e9); }
.split__media--b { background: linear-gradient(140deg, #0f766e, #22d3ee); }
.split__media--c { background: linear-gradient(140deg, #312e81, #2563eb); }
.split__media .mock { width: 100%; max-width: 420px; }
.split h2 { font-size: 26px; color: var(--navy); margin-bottom: 16px; letter-spacing: 1px; }
.split p { color: var(--muted); font-size: 15.5px; margin-bottom: 14px; }
.check-list li {
  position: relative; padding: 10px 0 10px 32px; font-size: 15px; color: #374151;
  border-bottom: 1px dashed var(--line);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 16px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(37,99,235,.12) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%232563eb" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center/11px no-repeat;
}

/* mock 窗口 */
.mock-window { background: rgba(255,255,255,.96); border-radius: 14px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.25); text-align: left; }
.mock-window__bar { display: flex; gap: 6px; padding: 12px 14px; background: #eef2f9; }
.mock-window__bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.mock-window__bar i:first-child { background: #f87171; }
.mock-window__bar i:nth-child(2) { background: #fbbf24; }
.mock-window__bar i:nth-child(3) { background: #34d399; }
.mock-window__body { padding: 18px; }
.mock-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 8px; font-size: 13px; color: #334155; }
.mock-row:nth-child(odd) { background: #f4f7fd; }
.mock-row b { color: var(--navy); font-weight: 600; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.mock-kpi { background: #f0f6ff; border-radius: 10px; padding: 12px; text-align: center; }
.mock-kpi b { display: block; color: var(--primary); font-size: 17px; }
.mock-kpi span { font-size: 11px; color: var(--muted); }

/* ---------- 联系页 ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px; }
.contact-card h3 { color: var(--navy); font-size: 20px; margin-bottom: 8px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.contact-line:last-child { border-bottom: none; }
.contact-line__icon { width: 44px; height: 44px; flex: none; border-radius: 12px; background: rgba(37,99,235,.09); color: var(--primary); display: grid; place-items: center; }
.contact-line__icon svg { width: 22px; height: 22px; }
.contact-line b { display: block; color: var(--navy); font-size: 15px; }
.contact-line span { font-size: 14px; color: var(--muted); }

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .duo, .grid-3, .split, .contact-wrap { grid-template-columns: 1fr; }
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split__media { order: -1; min-height: 240px; }
  .split + .split { margin-top: 60px; }
  .section { padding: 64px 0; }
}
@media (max-width: 768px) {
  .nav__links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; padding: 18px 6%; gap: 4px; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(15,42,89,.12); transform: translateY(-130%); transition: transform .35s; z-index: 99;
  }
  .nav__links.open { transform: none; }
  .nav__toggle { display: block; }
  .nav__cta { margin: 10px 0 0; text-align: center; }
  .hero { padding: 80px 0 90px; }
  .hero__stats { gap: 40px; }
  .product-card ul { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .grid-4, .steps { grid-template-columns: 1fr; }
  .cta { padding: 44px 26px; }
}
