/* 旺桔软件官网 · 沿用旧站（腾讯云建站模板）的版式：白色顶栏 + 蓝色导航高亮 + 浅蓝 3D 背景大图 */
:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #eaf1ff;
  --orange: #f5a623;          /* 取自旺桔 logo */
  --orange-dark: #e08a00;
  --ink: #1f2433;             /* 标题 */
  --text: #4b5468;            /* 正文 */
  --muted: #7a8396;
  --line: #e6e9f0;
  --bg-soft: #f4f6fa;
  --dark: #252a35;            /* 旧站 CTA 深色条 */
  --radius: 10px;
  --shadow: 0 10px 30px rgba(31, 36, 51, .08);
  --wrap: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #fff; color: var(--text);
  font: 16px/1.75 -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { color: var(--ink); line-height: 1.35; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶栏 ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand img { width: 44px; height: 44px; }
.brand strong { display: block; font-size: 20px; line-height: 1.2; letter-spacing: .5px; }
.brand span { display: block; font-size: 13px; color: var(--muted); }
.nav { display: flex; gap: 40px; }
.nav a { position: relative; color: var(--ink); font-size: 16px; font-weight: 500; padding: 26px 0; }
.nav a:hover { color: var(--blue); }
.nav a.active { color: var(--blue); }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 14px; height: 3px; border-radius: 2px; background: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 0; border-radius: 2px; }

/* ---------- 首页大图 ---------- */
.hero { position: relative; min-height: 620px; display: flex; align-items: center; background: #eef1f6; overflow: hidden; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 12% center; }
.hero .wrap { position: relative; width: 100%; }
.hero-text { max-width: 760px; }
.hero h1 { font-size: 48px; font-weight: 700; letter-spacing: 1px; margin-bottom: 20px; }
.hero p { font-size: 17px; color: #3b4356; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--orange-dark); letter-spacing: 2px; margin-bottom: 12px; }
.btn { display: inline-block; padding: 11px 28px; border-radius: 4px; font-size: 15px; border: 1px solid var(--blue); background: var(--blue); color: #fff; transition: .2s; }
.btn:hover { background: var(--blue-dark); color: #fff; }
.btn.ghost { background: transparent; color: var(--blue); }
.btn.ghost:hover { background: var(--blue-soft); }
.btn.light { background: transparent; border-color: #fff; color: #fff; }
.btn.light:hover { background: rgba(255,255,255,.1); }
.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- 子页横幅 ---------- */
.page-banner { position: relative; min-height: 340px; display: flex; align-items: center; background: #eef1f6; overflow: hidden; }
.page-banner picture, .page-banner picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.page-banner .wrap { position: relative; width: 100%; }
.page-banner h1 { font-size: 40px; margin-bottom: 12px; }
.page-banner p { max-width: 640px; color: #3b4356; margin: 0; }

/* ---------- 通用区块 ---------- */
.section { padding: 88px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { margin-bottom: 44px; }
.section-head h2 { font-size: 34px; margin-bottom: 10px; }
.section-head p { color: var(--muted); margin: 0; max-width: 760px; }
.section-head.center { text-align: center; }
.section-head.center p { margin: 0 auto; }

/* 面向业务场景的解决方案：左标题 + 右卡片（旧站为轮播，这里改为平铺，手机上可横向滑动） */
.solutions { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
.solutions .intro h2 { font-size: 34px; font-weight: 500; }
.cards-scroll { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.sol-card { display: flex; flex-direction: column; color: var(--text); }
.sol-card .ph { aspect-ratio: 3 / 4.2; overflow: hidden; border-radius: 4px; background: #e9edf3; }
.sol-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.sol-card:hover .ph img { transform: scale(1.04); }
.sol-card h3 { font-size: 20px; margin: 18px 0 8px; }
.sol-card p { font-size: 14.5px; line-height: 1.8; margin: 0; }
.sol-card:hover h3 { color: var(--blue); }

/* 产品卡 */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.product .shot { background: #f1f4f9; border-bottom: 1px solid var(--line); aspect-ratio: 16 / 10; overflow: hidden; }
.product .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.product .body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.product .tag { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--orange-dark); background: #fff4e0; border-radius: 3px; padding: 2px 10px; margin-bottom: 12px; }
.product h3 { font-size: 24px; margin-bottom: 8px; }
.product ul { margin: 4px 0 22px; padding-left: 1.2em; font-size: 15px; }
.product li { margin: 4px 0; }
.product .btns { margin-top: auto; }

.mini-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mini { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border-top: 3px solid var(--blue); }
.mini h3 { font-size: 19px; margin-bottom: 8px; }
.mini p { font-size: 15px; margin: 0; }

/* 案例（旧站：服务客户的行业案例） */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.case { position: relative; background: #fbfcfe; border-radius: var(--radius); padding: 36px 34px 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.case .icon { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font-weight: 700; margin-bottom: 18px; }
.case blockquote { position: relative; margin: 0 0 18px; font-size: 15px; line-height: 1.9; }
.case blockquote::before { content: "“"; position: absolute; left: -26px; top: -14px; font-size: 56px; color: #d7dce6; font-family: Georgia, serif; }
.case .who { margin-top: auto; text-align: right; color: var(--ink); font-size: 17px; }
.case .who::before { content: ""; display: inline-block; width: 40px; height: 1px; background: var(--ink); vertical-align: middle; margin-right: 16px; }

/* 软件著作权列表 */
.cr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; padding: 0; margin: 0; list-style: none; }
.cr-list li { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; font-size: 15px; color: var(--ink); }
.cr-list li::before { content: "©"; color: var(--orange-dark); font-weight: 700; margin-right: 10px; }

/* 图文两栏 */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.split.rev .media { order: -1; }
.split .media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split h2 { font-size: 30px; }
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 26px; margin: 8px 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }

/* 联系我们 */
.contact { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; }
.contact dl { margin: 0; display: grid; gap: 22px; }
.contact dt { font-size: 18px; font-weight: 600; color: var(--ink); }
.contact dd { margin: 4px 0 0; }
.qr { text-align: center; background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.qr img { width: 200px; margin: 0 auto 10px; }
.qr p { margin: 0; color: var(--muted); font-size: 14px; }

/* CTA 深色条（旧站：旺桔软件致力于让每位客户都提升价值！） */
.cta { position: relative; background: var(--dark); color: #fff; overflow: hidden; }
.cta .wrap { position: relative; min-height: 240px; display: flex; flex-direction: column; justify-content: center; padding-top: 48px; padding-bottom: 48px; }
.cta h2 { color: #fff; font-size: 30px; font-weight: 500; margin-bottom: 22px; max-width: 620px; }
.cta picture { position: absolute; top: 0; bottom: 0; right: 4%; display: block; }
.cta picture img { height: 100%; width: auto; max-width: none; }

/* ---------- 页脚 ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 14px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1fr 220px; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.footer-brand img { width: 52px; height: 52px; }
.footer-brand strong { display: block; font-size: 20px; color: var(--ink); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-bottom: 24px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.footer-nav a { color: var(--text); }
.footer-legal p { margin: 4px 0; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--blue); }
.footer-legal .gongan img { display: inline-block; width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }
.footer-qr { text-align: center; }
.footer-qr strong { display: block; color: var(--ink); font-size: 18px; margin-bottom: 12px; }
.footer-qr img { width: 150px; margin: 0 auto; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .nav { gap: 26px; }
  .solutions { grid-template-columns: 1fr; gap: 28px; }
  .cards-scroll { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0,0,0,.06); padding: 6px 24px 12px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav a.active::after { bottom: 8px; width: 32px; right: auto; }
  .products, .cases, .mini-products { grid-template-columns: 1fr; }
  .split, .contact { grid-template-columns: 1fr; gap: 32px; }
  .split.rev .media { order: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-qr { text-align: left; }
  .footer-qr img { margin: 0; }
  .cta picture { opacity: .25; right: -40px; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  .site-header .wrap { height: 64px; }
  .nav { top: 64px; padding: 4px 16px 10px; }
  .brand img { width: 38px; height: 38px; }
  .brand strong { font-size: 16px; }
  .brand span { font-size: 12px; }
  .hero { min-height: 0; padding: 56px 0 220px; align-items: flex-start; }
  .hero picture img { object-position: 70% bottom; }
  .hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(244,246,250,.94) 0%, rgba(244,246,250,.88) 62%, rgba(244,246,250,0) 82%); }
  .hero .wrap { z-index: 1; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 15px; }
  .page-banner { min-height: 0; padding: 44px 0 130px; align-items: flex-start; }
  .page-banner picture img { object-position: 68% bottom; }
  .page-banner h1 { font-size: 28px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head h2, .solutions .intro h2 { font-size: 26px; }
  .cards-scroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin: 0 -16px; padding: 0 16px 8px; }
  .sol-card { flex: 0 0 76%; scroll-snap-align: start; }
  .product .body { padding: 22px 20px 24px; }
  .product h3 { font-size: 21px; }
  .case { padding: 30px 24px 24px 40px; }
  .cta h2 { font-size: 22px; }
  .split h2 { font-size: 24px; }
}
