/* ============================================================
   杭州晟红网络科技有限公司 · 企业官网样式
   设计基调：现代科技蓝 SaaS 风格，简洁、专业、可信
   ============================================================ */

:root {
  --primary: #2563eb;          /* 主色 科技蓝 */
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --accent: #0ea5e9;           /* 辅色 亮蓝 */
  --ink: #0f172a;              /* 正文主色 */
  --ink-2: #475569;            /* 次级文字 */
  --ink-3: #94a3b8;            /* 弱化文字 */
  --bg: #ffffff;
  --bg-soft: #f8fafc;          /* 浅背景 */
  --bg-tint: #eff6ff;          /* 蓝色浅底 */
  --line: #e2e8f0;
  --grad: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  --radius: 14px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-md: 0 10px 30px rgba(37, 99, 235, .10);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .14);
  --maxw: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
    "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; }
.brand-logo {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800;
  box-shadow: var(--shadow-md);
}
.brand small { display: block; font-size: 11px; font-weight: 400; color: var(--ink-3); line-height: 1.2; }

.nav-menu { display: flex; align-items: center; gap: 34px; }
.nav-menu a { font-size: 15px; color: var(--ink-2); transition: color .2s; position: relative; }
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); }
.nav-menu a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -24px;
  height: 2px; background: var(--primary); border-radius: 2px;
}
.nav-cta {
  background: var(--primary); color: #fff !important; padding: 9px 20px;
  border-radius: 999px; font-size: 14px !important; font-weight: 600;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--primary);
  background: var(--bg-tint); border: 1px solid #bfdbfe; padding: 4px 14px;
  border-radius: 999px; margin-bottom: 16px; letter-spacing: 1px;
}
.section-title { font-size: 36px; font-weight: 800; line-height: 1.3; margin-bottom: 16px; }
.section-sub { color: var(--ink-2); font-size: 16px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px; font-size: 16px; font-weight: 600;
  transition: all .2s; cursor: pointer; border: 0;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--primary); border: 1.5px solid #bfdbfe; }
.btn-ghost:hover { background: var(--bg-tint); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(14, 165, 233, .18), transparent 60%),
    radial-gradient(700px 420px at -5% 110%, rgba(37, 99, 235, .16), transparent 60%),
    linear-gradient(180deg, #f4f8ff 0%, #ffffff 100%);
  padding: 110px 0 0;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid #dbeafe; color: var(--primary);
  font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px;
  box-shadow: var(--shadow-sm); margin-bottom: 24px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.hero h1 { font-size: 52px; font-weight: 800; line-height: 1.22; letter-spacing: -1px; }
.hero h1 .grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { margin: 24px 0 36px; font-size: 18px; color: var(--ink-2); max-width: 540px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 48px; margin-top: 56px; padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero-stats .num { font-size: 32px; font-weight: 800; color: var(--primary); }
.hero-stats .label { font-size: 14px; color: var(--ink-3); }

/* Hero 右侧：产品界面示意 */
.hero-visual { position: relative; }
.app-frame {
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); overflow: hidden;
}
.app-bar { display: flex; align-items: center; gap: 6px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.app-bar i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.app-bar i:nth-child(1) { background: #f87171; }
.app-bar i:nth-child(2) { background: #fbbf24; }
.app-bar i:nth-child(3) { background: #34d399; }
.app-bar .url { margin-left: 12px; font-size: 12px; color: var(--ink-3); background: var(--bg-soft); padding: 3px 12px; border-radius: 6px; }
.app-body { padding: 20px; display: grid; grid-template-columns: 200px 1fr; gap: 18px; }
.app-side { border-right: 1px solid var(--line); padding-right: 18px; }
.app-side .m { font-size: 13px; color: var(--ink-2); padding: 8px 10px; border-radius: 8px; margin-bottom: 6px; }
.app-side .m.on { background: var(--bg-tint); color: var(--primary); font-weight: 600; }
.app-main h4 { font-size: 15px; margin-bottom: 14px; }
.table-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 8px; font-size: 12px; padding: 9px 10px; border-radius: 8px; margin-bottom: 6px; align-items: center; }
.table-row.head { background: var(--bg-soft); color: var(--ink-3); font-weight: 600; }
.tag { font-size: 11px; padding: 2px 8px; border-radius: 999px; font-weight: 600; }
.tag.ok { background: #dcfce7; color: #16a34a; }
.tag.warn { background: #fef9c3; color: #ca8a04; }
.tag.proc { background: #dbeafe; color: var(--primary); }

.float-card {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--ink-2);
}
.float-card b { color: var(--ink); font-size: 15px; }
.float-card .ic {
  width: 40px; height: 40px; border-radius: 10px; background: var(--bg-tint);
  color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 20px;
  position: relative;
}
.float-card.f1 { top: -22px; right: -10px; }
.float-card.f2 { bottom: 36px; left: -34px; }

/* ---------- 数据条 ---------- */
.data-strip { background: var(--ink); color: #fff; padding: 44px 0; }
.data-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.data-strip .d-num { font-size: 40px; font-weight: 800; background: linear-gradient(135deg, #60a5fa, #38bdf8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.data-strip .d-label { color: #cbd5e1; font-size: 14px; margin-top: 4px; }

/* ---------- 功能卡片 ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: all .25s; position: relative; overflow: hidden;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #bfdbfe; }
.feature-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card .ic {
  width: 52px; height: 52px; border-radius: 12px; background: var(--bg-tint);
  color: var(--primary); display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--ink-2); }

/* ---------- 流程 ---------- */
.flow-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.flow-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; position: relative;
}
.flow-card .step-no {
  font-size: 13px; font-weight: 700; color: var(--primary);
  background: var(--bg-tint); border: 1px solid #bfdbfe;
  width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.flow-card h3 { font-size: 18px; margin-bottom: 12px; }
.flow-card ol { list-style: none; counter-reset: s; }
.flow-card ol li {
  counter-increment: s; position: relative; padding-left: 24px;
  font-size: 14px; color: var(--ink-2); margin-bottom: 10px;
}
.flow-card ol li::before {
  content: counter(s); position: absolute; left: 0; top: 3px;
  width: 16px; height: 16px; font-size: 11px; font-weight: 700;
  background: #eef2ff; color: var(--primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- 特性列表 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .sec-title { text-align: left; margin-bottom: 20px; }
.check-list li {
  display: flex; gap: 12px; padding: 10px 0; font-size: 15px; color: var(--ink-2);
  border-bottom: 1px dashed var(--line);
}
.check-list li:last-child { border-bottom: 0; }
.check-list .ck {
  flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--bg-tint);
  color: var(--primary); font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin-top: 4px;
}
.visual-box {
  background: var(--grad); border-radius: 20px; padding: 44px;
  color: #fff; position: relative; overflow: hidden; min-height: 340px;
  display: flex; flex-direction: column; justify-content: center;
}
.visual-box::after {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); top: -120px; right: -100px;
}
.visual-box::before {
  content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); bottom: -70px; left: -50px;
}
.visual-box h3 { font-size: 26px; margin-bottom: 12px; position: relative; z-index: 1; }
.visual-box p { color: #dbeafe; position: relative; z-index: 1; }

/* ---------- CTA ---------- */
.cta-band {
  background: var(--grad); border-radius: 24px; padding: 64px 48px;
  color: #fff; text-align: center; position: relative; overflow: hidden;
}
.cta-band h2 { font-size: 34px; margin-bottom: 12px; }
.cta-band p { color: #dbeafe; margin-bottom: 32px; }
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .10);
}
.cta-band::before { width: 260px; height: 260px; top: -110px; left: -80px; }
.cta-band::after { width: 180px; height: 180px; bottom: -70px; right: -40px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--ink); color: #cbd5e1; padding: 72px 0 0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer p { font-size: 14px; color: #94a3b8; max-width: 300px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: 14px; color: #94a3b8; transition: color .2s; }
.footer ul a:hover { color: #60a5fa; }
.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, .18); padding: 22px 0;
  font-size: 13px; color: #64748b; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

/* ---------- 子页 Hero ---------- */
.page-hero {
  background:
    radial-gradient(800px 420px at 90% -20%, rgba(14, 165, 233, .16), transparent 60%),
    linear-gradient(180deg, #f4f8ff 0%, #ffffff 100%);
  padding: 84px 0 72px; text-align: center; border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: 44px; font-weight: 800; letter-spacing: -1px; margin-bottom: 14px; }
.page-hero p { color: var(--ink-2); font-size: 17px; max-width: 640px; margin: 0 auto; }
.crumb { font-size: 13px; color: var(--ink-3); margin-bottom: 16px; }
.crumb b { color: var(--primary); font-weight: 600; }

/* ---------- 产品页：功能模块 ---------- */
.module-list { max-width: 900px; margin: 0 auto; }
.module {
  display: grid; grid-template-columns: 84px 1fr; gap: 28px;
  padding: 34px 0; border-bottom: 1px solid var(--line);
}
.module:last-child { border-bottom: 0; }
.module .no {
  font-size: 30px; font-weight: 800; color: #dbeafe; line-height: 1;
}
.module h3 { font-size: 20px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.module p { font-size: 15px; color: var(--ink-2); }
.module .pill {
  font-size: 12px; font-weight: 600; color: var(--primary); background: var(--bg-tint);
  border: 1px solid #bfdbfe; padding: 2px 10px; border-radius: 999px;
}

/* ---------- demo 流程 ---------- */
.demo-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; margin-bottom: 24px; }
.demo-box .demo-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.demo-box .demo-head .ic {
  width: 44px; height: 44px; border-radius: 11px; background: var(--bg-tint); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 20px; flex: none;
}
.demo-box h3 { font-size: 18px; }
.demo-box .demo-head small { display: block; color: var(--ink-3); font-size: 13px; font-weight: 400; }
.demo-flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0; }
.demo-node {
  flex: 1 1 170px; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 10px; padding: 14px; font-size: 13px; color: var(--ink-2); position: relative;
}
.demo-node b { display: block; color: var(--ink); font-size: 13px; margin-bottom: 4px; }
.demo-arrow { align-self: center; color: #bfdbfe; font-size: 18px; padding: 0 10px; flex: none; }
.demo-node.api { border-color: #bfdbfe; background: var(--bg-tint); }
.demo-node.api b { color: var(--primary); }

/* ---------- 技术架构 ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tech-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: all .25s;
}
.tech-item:hover { box-shadow: var(--shadow-md); border-color: #bfdbfe; transform: translateY(-4px); }
.tech-item .ic { font-size: 28px; margin-bottom: 14px; }
.tech-item h3 { font-size: 17px; margin-bottom: 8px; }
.tech-item p { font-size: 14px; color: var(--ink-2); }

/* ---------- 解决方案页 ---------- */
.need-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.need-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; gap: 20px; transition: all .25s;
}
.need-card:hover { box-shadow: var(--shadow-md); border-color: #bfdbfe; transform: translateY(-4px); }
.need-card .ic {
  flex: none; width: 52px; height: 52px; border-radius: 12px; background: var(--bg-tint);
  color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.need-card h3 { font-size: 17px; margin-bottom: 8px; }
.need-card p { font-size: 14px; color: var(--ink-2); }

.persona {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; display: flex; gap: 22px; align-items: flex-start; margin-bottom: 22px;
}
.persona .avatar {
  flex: none; width: 60px; height: 60px; border-radius: 16px; background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.persona h3 { font-size: 18px; margin-bottom: 6px; }
.persona p { font-size: 14px; color: var(--ink-2); }

/* ---------- 关于我们 ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.story .num-row { display: flex; gap: 32px; margin-top: 32px; }
.story .num-row .n { font-size: 34px; font-weight: 800; color: var(--primary); }
.story .num-row .l { font-size: 13px; color: var(--ink-3); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 22px; text-align: center; transition: all .25s;
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: #bfdbfe; }
.team-card .ic { font-size: 36px; margin-bottom: 12px; }
.team-card h4 { font-size: 16px; margin-bottom: 4px; }
.team-card .role { font-size: 13px; color: var(--primary); font-weight: 600; margin-bottom: 10px; }
.team-card p { font-size: 13px; color: var(--ink-3); }

.skill-bar { margin-bottom: 20px; }
.skill-bar .sb-head { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; }
.skill-bar .sb-track { height: 8px; background: #e2e8f0; border-radius: 999px; overflow: hidden; }
.skill-bar .sb-fill { height: 100%; background: var(--grad); border-radius: 999px; }

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px dashed var(--line); align-items: flex-start; }
.contact-item:last-child { border-bottom: 0; }
.contact-item .ic {
  flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--bg-tint);
  color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.contact-item h4 { font-size: 15px; margin-bottom: 2px; }
.contact-item p { font-size: 14px; color: var(--ink-2); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 36px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: var(--bg-soft);
  transition: border .2s, box-shadow .2s; resize: vertical;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); background: #fff;
}
.form-note { font-size: 12px; color: var(--ink-3); margin-top: 8px; }

/* ---------- 提示 toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%) translateY(80px);
  background: var(--ink); color: #fff; padding: 14px 26px; border-radius: 12px;
  font-size: 14px; box-shadow: var(--shadow-lg); opacity: 0; transition: all .3s; z-index: 200;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 72px; }
  .hero { padding-top: 80px; }
  .hero-stats { gap: 32px; }
  .float-card.f1 { right: 8px; }
  .float-card.f2 { left: 8px; }
  .grid-cards, .flow-steps, .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .need-grid { grid-template-columns: 1fr; }
  .split, .story, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .data-strip .container { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; inset: 68px 0 auto 0; background: #fff; flex-direction: column;
    align-items: flex-start; gap: 0; padding: 12px 24px 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg); transform: translateY(-120%); transition: transform .3s;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu a { display: block; padding: 14px 0; width: 100%; font-size: 16px; border-bottom: 1px solid var(--bg-soft); }
  .nav-menu a.active::after { display: none; }
  .nav-cta { margin-top: 14px; text-align: center; border: 0 !important; }
  .hero h1 { font-size: 36px; }
  .hero p.lead { font-size: 16px; }
  .section { padding: 64px 0; }
  .section-title { font-size: 28px; }
  .grid-cards, .flow-steps, .tech-grid, .team-grid, .need-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .app-body { grid-template-columns: 1fr; }
  .app-side { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 12px; display: flex; gap: 8px; flex-wrap: wrap; }
  .cta-band { padding: 48px 24px; }
  .cta-band h2 { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .module { grid-template-columns: 1fr; gap: 12px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .demo-arrow { transform: rotate(90deg); }
}

/* ============================================================
   Hero 演示区：动态效果
   ============================================================ */

/* 实时同步指示点（今日订单标题旁，静态） */
.live-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e; margin-left: 8px; vertical-align: 1px;
}

/* 今日订单累计金额 */
.live-stat {
  font-size: 12px; font-weight: 600; color: var(--primary);
  margin-left: 4px; font-variant-numeric: tabular-nums;
}

/* 订单行：新插入滑入 + 状态变化闪烁；行可点击 */
.order-list .table-row { cursor: pointer; transition: background .25s; }
.order-list .table-row:hover { background: var(--bg-tint); }
.order-list .table-row.new { animation: row-in .5s ease; }
.order-list .table-row.flash { animation: row-flash 1.2s ease; }
@keyframes row-in {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: none; }
}
@keyframes row-flash {
  0%, 100% { background: transparent; }
  30%      { background: rgba(37, 99, 235, .12); }
}

/* 侧边菜单切换（点击） */
.app-side .m { cursor: pointer; transition: background .3s, color .3s; }

/* 新增订单按钮 */
.add-hint {
  display: inline-block; cursor: pointer; color: var(--ink-3); font-size: 14px;
  margin-left: 8px; font-weight: 700; transition: color .2s, transform .2s;
}
.add-hint:hover { color: var(--primary); transform: scale(1.25); }
.live-stat { cursor: pointer; transition: color .2s; }
.live-stat:hover { color: var(--primary-dark); }

/* 同步脉冲圈（点击播放一次） */
.sync-ping {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #22c55e; opacity: 0;
}
.sync-ping.play { animation: sync-ping 1.2s ease-out; opacity: 1; }
@keyframes sync-ping {
  0%   { transform: scale(.9); opacity: 1; }
  100% { transform: scale(1.7); opacity: 0; }
}
.float-card.f1 { cursor: pointer; transition: transform .2s, box-shadow .2s; }
.float-card.f1:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* 功能视图切换动画 */
.app-main .order-list.view-change { animation: view-fade .35s ease; }
@keyframes view-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* 自动循环演示按钮 */
.loop-btn {
  margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px;
  padding: 2px 9px; font-size: 13px; cursor: pointer; color: var(--ink-3);
  transition: color .2s, border-color .2s, background .2s;
}
.loop-btn:hover { color: var(--primary); border-color: #bfdbfe; }
.loop-btn.on { color: var(--primary); border-color: #bfdbfe; background: var(--bg-tint); }

/* 经营范围明细块 */
.license-box {
  margin-top: 40px; background: var(--bg-tint); border: 1px solid #bfdbfe;
  border-radius: var(--radius); padding: 26px 28px;
  font-size: 13.5px; color: var(--ink-2); line-height: 1.9;
}
.license-box h4 { font-size: 15px; color: var(--ink); margin-bottom: 12px; }
.license-box p { margin-bottom: 10px; }
.license-box p:last-child { margin-bottom: 0; color: var(--ink-3); }
.license-box b { color: var(--primary); }

/* ============================================================
   品牌标志（真实 Logo 图）
   ============================================================ */
.brand-logo-img {
  width: 36px; height: 36px; object-fit: contain; flex: none;
}
.footer .brand-logo-img {
  width: 30px; height: 30px; padding: 3px; box-sizing: content-box;
  background: #fff; border-radius: 9px;
}
.logo-h { height: 54px; width: auto; margin-bottom: 22px; }
