/* jzx.pw shared base styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, "Microsoft YaHei", "PingFang SC", sans-serif; color: #1a1a2e; line-height: 1.6; background: #fafbfc; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ── Header / Nav ── */
.header { background: #fff; border-bottom: 1px solid #e2e8f0; padding: 14px 0; position: sticky; top: 0; z-index: 100; }
.header .container { display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 20px; font-weight: 700; color: #1a3a5c; }
.logo span { color: #009688; }
.logo small { font-size: 11px; font-weight: 400; color: #94a3b8; display: block; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: #475569; text-decoration: none; font-size: 14px; padding: 8px 12px; border-radius: 6px; transition: color .2s; }
.nav a:hover { color: #009688; }
.nav a.active { color: #009688; font-weight: 600; }
.nav .cta-btn { background: #009688; color: #fff !important; padding: 8px 20px; border-radius: 6px; font-weight: 600; }
.nav .cta-btn:hover { background: #007a6e; }
.switch-link { font-size: 13px !important; color: #94a3b8 !important; border-left: 1px solid #e2e8f0; margin-left: 4px; padding-left: 16px !important; }
.switch-link:hover { color: #009688 !important; }
.nav-search { display: inline-flex; align-items: center; }
.search-input { border: 1px solid #e2e8f0; border-radius: 6px; padding: 6px 12px; font-size: 13px; width: 140px; outline: none; transition: border-color .2s; }
.search-input:focus { border-color: #009688; }
.menu-toggle { display: none; background: none; border: none; font-size: 28px; color: #1a3a5c; cursor: pointer; padding: 4px; line-height: 1; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav { display: none; flex-direction: column; background: #fff; position: fixed; top: 56px; left: 0; right: 0; padding: 16px 24px; box-shadow: 0 8px 24px rgba(0,0,0,.1); z-index: 100; }
  .nav.open { display: flex; }
  .nav a { margin-left: 0; padding: 14px 0; border-bottom: 1px solid #f1f5f9; font-size: 16px; }
  .nav a:last-child { border-bottom: none; }
  .nav-search { width: 100%; margin-top: 8px; }
  .search-input { width: 100%; }
  .switch-link { border-left: none; margin-left: 0; padding-left: 0 !important; }
}

/* ── Hero ── */
.hero { background: linear-gradient(135deg, #0f2b3d 0%, #1a4a5e 50%, #1d5f6e 100%); color: #fff; padding: 72px 0 60px; }
.hero .container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.hero .badge { display: inline-block; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: 4px 14px; border-radius: 100px; font-size: 12px; margin-bottom: 16px; color: #5dd5c8; }
.hero h1 { font-size: 36px; line-height: 1.2; margin-bottom: 8px; }
.hero h1 .highlight { color: #5dd5c8; }
.hero h1 .brand-name { font-size: 42px; font-weight: 800; letter-spacing: -0.5px; }
.hero-slogan { font-size: 16px; color: rgba(255,255,255,.7); margin-bottom: 24px; }
.hero p { font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 24px; line-height: 1.7; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta-primary { background: #009688; color: #fff; padding: 12px 32px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 15px; transition: background .2s; }
.hero-cta-primary:hover { background: #007a6e; }
.hero-cta-secondary { border: 2px solid rgba(255,255,255,.4); color: #fff; padding: 12px 32px; border-radius: 8px; text-decoration: none; font-weight: 500; font-size: 15px; transition: border-color .2s; }
.hero-cta-secondary:hover { border-color: #fff; }
.hero-right-stats img { width: 100%; height: auto; display: block; border-radius: 12px; }
.hero-pattern { position: relative; overflow: hidden; }
.hero-pattern::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 28px 28px; }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-btns { justify-content: center; }
  .hero-right-stats { display: none; }
}
@media (max-width: 600px) {
  .hero { padding: 48px 0 36px; }
  .hero h1 { font-size: 28px; }
  .hero h1 .brand-name { font-size: 32px; }
  .hero-slogan { font-size: 14px; }
  .hero-btns a { width: 100%; max-width: 260px; text-align: center; }
}

/* ── Section ── */
.section { padding: 64px 0; }
.section-title { text-align: center; font-size: 28px; font-weight: 800; color: #0f172a; margin-bottom: 12px; letter-spacing: -0.3px; }
.section-sub { text-align: center; font-size: 15px; line-height: 1.7; color: #64748b; max-width: 720px; margin: 0 auto 32px; }
@media (max-width: 600px) { .section { padding: 36px 0; } }

/* ── Grid helpers ── */
.grid-3col { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-4col { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
@media (max-width: 900px) { .grid-4col { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .grid-3col, .grid-4col { grid-template-columns: 1fr !important; gap: 16px !important; } }

/* ── Service Cards ── */
.services-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.svc-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 28px 22px; transition: box-shadow .3s, transform .2s; }
.svc-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.06); transform: translateY(-2px); }
.svc-card .icon { font-size: 32px; margin-bottom: 12px; }
.svc-card h3 { font-size: 16px; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.svc-card p { font-size: 13px; color: #64748b; line-height: 1.6; }
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } .svc-card { padding: 20px 16px; } .svc-card h3 { font-size: 14px; } .svc-card p { font-size: 12px; } }

/* ── Cases ── */
.cases-section { background: #f1f5f9; }
.cases-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.case-item { background: #fff; border-radius: 14px; padding: 24px; border: 1px solid #e2e8f0; transition: box-shadow .3s; }
.case-item:hover { box-shadow: 0 8px 28px rgba(0,0,0,.06); }
.case-icon { width: 48px; height: 48px; background: #e8f5f5; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-bottom: 12px; }
.case-info h4 { font-size: 15px; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.case-info .loc { font-size: 12px; color: #64748b; margin: 2px 0 4px; }
.case-kpi { font-size: 12px; color: #009688; font-weight: 600; margin-top: 4px; }
.case-desc { font-size: 13px; color: #64748b; line-height: 1.6; margin-top: 8px; }
@media (max-width: 900px) { .cases-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .cases-grid { grid-template-columns: 1fr; } .case-item { flex-direction: column; padding: 16px; } .case-info h4 { font-size: 13px; } }

/* ── Content Split (Home) ── */
.content-split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.split-title { font-size: 18px; font-weight: 700; color: #0f172a; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid #009688; }
.split-list { display: flex; flex-direction: column; gap: 8px; }
.split-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; text-decoration: none; transition: border-color .2s; }
.split-item:hover { border-color: #009688; }
.split-item-title { font-size: 14px; color: #1a3a5c; font-weight: 500; }
.split-item-date { font-size: 12px; color: #94a3b8; flex-shrink: 0; }
.split-empty { font-size: 14px; color: #94a3b8; padding: 20px 0; }
@media (max-width: 900px) { .content-split { grid-template-columns: 1fr; } }

/* ── Stats ── */
.stats-bar { background: #fff; border-bottom: 1px solid #e2e8f0; padding: 20px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; text-align: center; }
.stat-item .num { font-size: 22px; font-weight: 800; color: #009688; }
.stat-item .label { font-size: 12px; color: #64748b; margin-top: 2px; }
@media (max-width: 600px) { .stats-grid { grid-template-columns: repeat(3,1fr); gap: 8px; } .stat-item .num { font-size: 18px; } .stat-item .label { font-size: 10px; } }

/* ── CTA Whitepaper ── */
.wp-section { background: linear-gradient(135deg, #0f2b3d, #1a4a5e); color: #fff; padding: 56px 0; text-align: center; }
.wp-section h2 { font-size: 26px; margin-bottom: 8px; }
.wp-section p { font-size: 15px; color: rgba(255,255,255,.65); margin-bottom: 20px; }
.wp-btn { display: inline-block; background: #009688; color: #fff; padding: 14px 36px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 15px; transition: background .2s; }
.wp-btn:hover { background: #007a6e; }
@media (max-width: 600px) { .wp-section { padding: 36px 0; } .wp-section h2 { font-size: 20px; } .wp-section p { font-size: 13px; } .wp-btn { padding: 12px 28px; font-size: 14px; } }

/* ── Footer ── */
.footer { background: #0a1a26; color: rgba(255,255,255,.45); padding: 48px 0 24px; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 24px; margin-bottom: 32px; }
.footer-title { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,.55); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: #5dd5c8; }
.footer-tech { color: rgba(255,255,255,.3); font-size: 11px; }
.footer-qrcodes { display: flex; gap: 12px; }
.footer-qr-item { text-align: center; }
.footer-qr-item img { width: 80px; height: 80px; border-radius: 8px; background: #fff; padding: 4px; display: block; }
.footer-qr-item span { display: block; font-size: 11px; color: rgba(255,255,255,.5); margin-top: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; text-align: center; }
.footer-bottom .brand { color: #fff; font-weight: 600; font-size: 14px; display: block; margin-bottom: 4px; }
.footer-bottom .brand a { color: #fff; text-decoration: none; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.35); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(3,1fr); gap: 24px; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: repeat(2,1fr); gap: 16px; } .footer-qrcodes { flex-direction: column; align-items: center; } }

/* ── Floating Contact Sidebar ── */
.float-cta { position: fixed; bottom: 28px; right: 28px; z-index: 999; }
.float-cta-btn { width: 48px; height: 48px; background: #009688; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .2s; box-shadow: 0 4px 16px rgba(0,150,136,.3); }
.float-cta-btn:hover { transform: scale(1.08); background: #007a6e; }
.float-cta-btn svg { width: 24px; height: 24px; fill: #fff; }
.float-cta-pop { display: none; position: absolute; bottom: 64px; right: 0; background: #fff; border-radius: 14px; box-shadow: 0 8px 40px rgba(0,0,0,.12); padding: 18px; width: 280px; }
.float-cta:hover .float-cta-pop { display: block; }
.sidebar-sales-title { font-size: 14px; font-weight: 700; color: #0f172a; margin-bottom: 12px; }
.sidebar-sales-item { font-size: 12px; color: #475569; margin-bottom: 10px; line-height: 1.5; }
.sidebar-sales-item a { color: #009688; text-decoration: none; font-weight: 600; }
.sidebar-sales-item a:hover { text-decoration: underline; }
.sidebar-sales-name { display: block; font-weight: 600; color: #0f172a; margin-bottom: 2px; }
.sidebar-sales-qr { width: 60px; height: 60px; border-radius: 6px; border: 1px solid #e2e8f0; flex-shrink: 0; }
.sidebar-sales-contact-row { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.sidebar-sales-divider { height: 1px; background: #e2e8f0; margin: 10px 0; }
.sidebar-sales-email { font-size: 12px; }
.sidebar-sales-email a { color: #009688; text-decoration: none; }

/* ── Blog / Post List ── */
.blog-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px; }
.blog-tag { display: inline-block; background: #e8f5f5; color: #009688; padding: 4px 14px; border-radius: 100px; font-size: 13px; text-decoration: none; font-weight: 500; transition: background .2s; }
.blog-tag:hover { background: #009688; color: #fff; }
.post-list { max-width: 800px; margin: 0 auto; }
.post-item { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 24px; margin-bottom: 16px; transition: box-shadow .3s; }
.post-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,.04); }
.post-item h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.post-item h3 a { color: #0f172a; text-decoration: none; }
.post-item h3 a:hover { color: #009688; }
.post-meta { font-size: 12px; color: #94a3b8; margin-bottom: 8px; display: flex; gap: 12px; flex-wrap: wrap; }
.post-item p { font-size: 14px; color: #64748b; line-height: 1.6; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 32px; }
.page-link { color: #009688; text-decoration: none; font-weight: 600; }
.page-link:hover { text-decoration: underline; }
.page-info { color: #64748b; font-size: 14px; }

/* ── Post Single ── */
.post-single { max-width: 800px; margin: 0 auto; padding: 48px 16px; }
.post-single h1 { font-size: 28px; font-weight: 800; color: #0f172a; margin-bottom: 12px; }
.post-single .post-meta { font-size: 13px; color: #94a3b8; margin-bottom: 24px; display: flex; gap: 16px; flex-wrap: wrap; }
.post-single .post-meta a { color: #009688; text-decoration: none; }
.post-single .post-content { font-size: 15px; line-height: 1.8; color: #334155; }
.post-single .post-content h2 { font-size: 22px; margin: 32px 0 12px; color: #0f172a; }
.post-single .post-content h3 { font-size: 18px; margin: 24px 0 8px; color: #0f172a; }
.post-single .post-content p { margin-bottom: 16px; }
.post-single .post-content a { color: #009688; }
.post-single .post-content img { max-width: 100%; border-radius: 8px; margin: 16px 0; }

/* ── Responsive ── */
@media (max-width: 600px) {
  .post-single { padding: 24px 12px; }
  .post-single h1 { font-size: 22px; }
  .post-item { padding: 16px; }
  .post-item h3 { font-size: 15px; }
}
