/* PbootCMS: this file contains all shared presentation styles. */
:root {
  --primary: #1478f2;
  --primary-dark: #075acb;
  --ink: #171b23;
  --muted: #657083;
  --line: #e6eaf0;
  --soft: #f5f7fb;
  --white: #fff;
  --dark: #0e1928;
  --green: #14b88b;
  --amber: #f4a51c;
  --danger: #f05a55;
  --shadow: 0 12px 35px rgba(23, 48, 84, .1);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 90px 0; }
.section-soft { background: var(--soft); }
.section-heading { margin: 0 auto 48px; max-width: 780px; text-align: center; }
.section-heading h2 { margin: 0 0 10px; font-size: 34px; line-height: 1.35; font-weight: 600; }
.section-heading p { margin: 0; color: var(--muted); font-size: 17px; }
.eyebrow { color: var(--primary); font-weight: 600; font-size: 14px; }
.btn {
  min-height: 42px;
  padding: 9px 27px;
  border: 1px solid transparent;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  background: var(--primary);
  transition: transform .25s, box-shadow .25s, background .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(20, 120, 242, .28); background: var(--primary-dark); }
.btn-outline { color: var(--primary); border-color: var(--primary); background: transparent; }
.btn-outline:hover { color: #fff; }
.btn-white { color: var(--primary); background: #fff; }
.btn-white:hover { color: #fff; }
.btn-link { color: var(--primary); background: transparent; padding-inline: 0; }
.btn-link:hover { box-shadow: none; background: transparent; color: var(--primary-dark); }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Header */
.site-header { position: absolute; inset: 0 0 auto; height: 72px; z-index: 50; color: #fff; transition: background .25s, color .25s, box-shadow .25s; }
body[data-header="dark"] .site-header { color: #121722; }
.site-header.is-fixed { position: fixed; color: #121722; background: rgba(255,255,255,.96); box-shadow: 0 4px 24px rgba(15, 35, 68, .08); backdrop-filter: blur(12px); }
.header-inner { width: min(1180px, calc(100% - 40px)); height: 72px; margin: 0 auto; display: flex; align-items: center; gap: 28px; }
.brand { width: 160px; flex: 0 0 auto; }
.brand img { width: 160px; height: 55px; object-fit: contain; }
.main-nav { display: flex; align-items: stretch; justify-content: center; gap: 26px; margin-left: auto; }
.nav-node { position: relative; display: flex; align-items: stretch; }
.nav-link { position: relative; display: flex; align-items: center; height: 72px; padding: 0 2px; font-size: 16px; white-space: nowrap; }
.nav-link::after { content: ""; position: absolute; bottom: 0; left: 50%; width: 0; height: 6px; border-radius: 4px; background: currentColor; transform: translateX(-50%); transition: width .25s; }
.nav-link:hover::after, .nav-link.active::after { width: 70px; }
.nav-dropdown, .dropdown-link { display: none !important; }
.header-actions { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.header-actions .btn { min-height: 34px; padding: 5px 22px; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; color: currentColor; border: 0; background: transparent; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: currentColor; transition: .25s; }
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-panel { display: none; }

/* Home hero */
.home-hero { min-height: 692px; color: #fff; background: linear-gradient(90deg, rgba(6,20,47,.82), rgba(6,20,47,.2)), var(--gdt-home-bg, url("../images/home-bg.png")) center/cover no-repeat; }
.home-hero .container { min-height: 692px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: center; padding-top: 72px; }
.hero-copy h1 { margin: 0 0 25px; max-width: 590px; font-size: 50px; line-height: 1.3; font-weight: 700; }
.hero-copy > p { margin: 0 0 27px; color: rgba(255,255,255,.9); font-size: 19px; }
.hero-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 25px; }
.hero-point strong { display: block; line-height: 1.35; }
.hero-point span { color: rgba(255,255,255,.72); font-size: 13px; }
.trial-form { padding: 28px; border-radius: 8px; background: rgba(7, 22, 49, .52); backdrop-filter: blur(4px); }
.trial-form h2 { margin: 0 0 14px; text-align: center; font-size: 24px; font-weight: 500; }
.trial-form input, .trial-form select { width: 100%; height: 40px; margin-top: 8px; padding: 0 14px; color: #333; border: 1px solid #dde3ed; border-radius: 5px; background: #fff; outline: none; }
.trial-form input:focus, .trial-form select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(20,120,242,.14); }
.trial-form button { width: 100%; margin-top: 17px; border-radius: 5px; }
.trust-bar { border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { min-height: 88px; display: grid; grid-template-columns: repeat(4,1fr); align-items: center; }
.trust-item { padding: 0 20px; text-align: center; border-right: 1px solid var(--line); }
.trust-item:last-child { border: 0; }
.trust-item strong { color: #1e314e; font-size: 18px; }
.trust-item span { display: block; color: var(--muted); font-size: 13px; }

/* Shared content components */
.pain-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.pain-card { position: relative; min-height: 250px; padding: 30px 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; transition: transform .3s, box-shadow .3s; }
.pain-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.pain-icon, .module-icon { width: 52px; height: 52px; display: grid; place-items: center; color: #fff; border-radius: 8px; font-size: 25px; background: var(--primary); }
.pain-card:nth-child(2) .pain-icon { background: var(--green); }
.pain-card:nth-child(3) .pain-icon { background: var(--amber); }
.pain-card:nth-child(4) .pain-icon { background: var(--danger); }
.pain-card h3 { margin: 24px 0 8px; font-size: 20px; }
.pain-card p { margin: 0; color: var(--muted); font-size: 14px; }
.solution-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.solution-copy h2 { margin: 0 0 15px; font-size: 34px; }
.solution-copy p { color: var(--muted); }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.tag { padding: 5px 14px; border-radius: 18px; color: #315174; background: #eef5ff; font-size: 13px; }
.dashboard-card { padding: 35px; border-radius: 8px; background: #f2f6fd var(--gdt-world-map, url("../images/world-map.png")) center/cover no-repeat; }
.dashboard-card img { filter: drop-shadow(0 22px 30px rgba(25,69,130,.15)); }
.feature-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 38px; overflow-x: auto; padding-bottom: 3px; }
.feature-tab { min-width: 150px; height: 42px; color: #506079; border: 1px solid #dfe5ef; border-radius: 5px; background: #fff; transition: .25s; }
.feature-tab.active, .feature-tab:hover { color: #fff; border-color: var(--primary); background: var(--primary); }
.feature-display { min-height: 450px; display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 45px; }
.feature-display-copy h3 { margin: 0 0 14px; font-size: 30px; }
.feature-display-copy p { color: var(--muted); }
.feature-display-media img { max-height: 430px; margin: auto; object-fit: contain; }
.advantage-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.advantage-card { padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: #fff; transition: .3s; }
.advantage-card:hover { border-color: #bcd7fb; box-shadow: var(--shadow); }
.advantage-card h3 { margin: 18px 0 7px; font-size: 19px; }
.advantage-card p { min-height: 72px; margin: 0; color: var(--muted); font-size: 14px; }
.industry-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.industry-card { position: relative; height: 230px; overflow: hidden; border-radius: 8px; color: #fff; }
.industry-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.industry-card:hover img { transform: scale(1.07); }
.industry-card::after { content: ""; position: absolute; inset: 30% 0 0; background: linear-gradient(transparent, rgba(4,17,37,.9)); }
.industry-card div { position: absolute; z-index: 2; inset: auto 18px 16px; }
.industry-card strong { display: block; font-size: 19px; }
.industry-card span { font-size: 12px; color: rgba(255,255,255,.75); }
.customer-logo-grid { display: grid; grid-template-columns: repeat(5,1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.customer-logo-grid > div { height: 126px; display: grid; place-items: center; padding: 24px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.customer-logo-grid > div:nth-child(5n) { border-right: 0; }
.customer-logo-grid > div:nth-last-child(-n+5) { border-bottom: 0; }
.customer-logo-grid img { width: 100%; height: 70px; object-fit: contain; filter: saturate(.92); transition: transform .25s, filter .25s; }
.customer-logo-grid > div:hover img { transform: scale(1.05); filter: saturate(1); }
.metric-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.metric { padding: 28px 18px; text-align: center; border-radius: 8px; background: #fff; }
.metric img { width: 52px; height: 52px; object-fit: contain; margin: 0 auto 12px; }
.metric strong { display: block; font-size: 30px; }
.metric p { margin: 0; color: var(--muted); font-size: 14px; }
.cta { color: #fff; background: #175bcc var(--gdt-cta-bg, url("../images/cta-bg.png")) center/cover no-repeat; }
.cta-inner { min-height: 290px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta h2 { margin: 0 0 8px; font-size: 34px; }
.cta p { margin: 0; color: rgba(255,255,255,.8); }

/* Inner page heroes */
.inner-hero { min-height: 535px; padding-top: 72px; background-position: center; background-size: cover; }
.inner-hero .container { min-height: 463px; display: flex; align-items: center; }
.inner-hero-copy { width: 52%; }
.inner-hero h1 { margin: 0 0 10px; font-size: 45px; line-height: 1.3; font-weight: 500; }
.inner-hero p { margin: 0 0 28px; color: #687486; font-size: 17px; }
.hero-buttons { display: flex; gap: 18px; }
.product-hero { background-image: var(--gdt-product-hero, url("../images/product-hero.png")); }
.price-hero { min-height: 495px; color: #fff; background-image: linear-gradient(rgba(2,20,44,.1),rgba(2,20,44,.25)),var(--gdt-price-bg, url("../images/price-bg.png")); }
.price-hero .container { min-height: 423px; justify-content: center; align-items: flex-start; padding-top: 70px; text-align: center; }
.case-hero { color: #fff; background-image: linear-gradient(90deg,rgba(6,24,50,.55),rgba(6,24,50,.1)),var(--gdt-case-bg, url("../images/case-bg.png")); }
.service-hero { min-height: 535px; color: #fff; background-image: linear-gradient(rgba(20,20,20,.45),rgba(20,20,20,.45)),var(--gdt-service-bg, url("../images/service-bg.png")); }
.service-hero .container { justify-content: center; align-items: flex-start; padding-top: 65px; text-align: center; }
.about-hero { color: #fff; background-image: linear-gradient(90deg,rgba(5,20,48,.35),rgba(5,20,48,.08)),var(--gdt-about-bg, url("../images/about-bg.png")); }
.case-hero p, .about-hero p { color: rgba(255,255,255,.86); }

/* Product page */
.product-row { min-height: 500px; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.product-row:nth-child(even) .product-media { order: 2; }
.product-copy h2 { margin: 0 0 16px; font-size: 31px; line-height: 1.45; }
.product-copy p { color: var(--muted); }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 20px; margin-top: 22px; }
.check-list span::before { content: "✓"; margin-right: 8px; color: var(--primary); font-weight: bold; }
.product-media img { max-height: 430px; margin: auto; object-fit: contain; }

/* Pricing */
.pricing-wrap { position: relative; z-index: 3; margin-top: -200px; padding-bottom: 70px; }
.pricing-grid { display: grid; grid-template-columns: repeat(4,1fr); overflow: hidden; border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.price-card { min-height: 345px; padding: 48px 25px 30px; text-align: center; border-right: 1px solid var(--line); }
.price-card:last-child { border: 0; }
.price-card.featured { background: linear-gradient(180deg,#f3f8ff,#fff); }
.price-card h2 { margin: 0; font-size: 25px; font-weight: 500; }
.price-card > p { height: 45px; margin: 4px 0 12px; color: #9aa2af; font-size: 13px; }
.price-number { margin: 12px 0; font-size: 34px; line-height: 1.2; }
.price-number small { font-size: 14px; }
.price-card .btn { width: 136px; }
.price-card .demo-link { display: block; margin: 8px auto 0; padding: 4px 10px; color: #4382bf; border: 0; background: transparent; font-size: 14px; line-height: 1.5; }
.price-card .demo-link:hover { color: var(--primary-dark); text-decoration: underline; }
.comparison-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.comparison { width: 100%; min-width: 820px; border-collapse: collapse; background: #fff; }
.comparison th, .comparison td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.comparison th:first-child, .comparison td:first-child { text-align: left; }
.comparison thead th { position: sticky; top: 72px; background: #f4f7fb; }
.comparison .yes { color: var(--primary); font-weight: bold; }
.deploy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.deploy-card { padding: 35px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.deploy-card img { height: 240px; width: 100%; object-fit: contain; }

/* Cases */
.case-stat { margin-top: -75px; position: relative; z-index: 2; }
.case-stat-inner { padding: 30px 45px; display: flex; align-items: center; gap: 35px; border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.case-stat strong { color: var(--primary); font-size: 38px; }
.case-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.case-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; transition: .3s; }
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.case-card img { width: 100%; height: 185px; object-fit: cover; }
.case-card-body { padding: 23px; }
.case-card h3 { margin: 0 0 8px; }
.case-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* Service */
.service-nav { margin-top: -72px; position: relative; z-index: 2; }
.service-nav-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 38px; }
.service-nav-card { min-height: 235px; padding: 48px 20px; text-align: center; border-radius: 8px; background: #fff; box-shadow: var(--shadow); transition: .3s; }
.service-nav-card:hover { transform: translateY(-7px); }
.service-nav-card .module-icon { margin: 0 auto 25px; font-size: 27px; }
.tutorial-layout { display: grid; grid-template-columns: 250px 1fr; gap: 35px; }
.tutorial-tabs { display: flex; flex-direction: column; gap: 8px; }
.tutorial-tab { padding: 14px 18px; text-align: left; border: 1px solid var(--line); border-radius: 5px; background: #fff; }
.tutorial-tab.active { color: #fff; border-color: var(--primary); background: var(--primary); }
.tutorial-panel { display: none; grid-template-columns: repeat(3,1fr); gap: 16px; }
.tutorial-panel.active { display: grid; }
.tutorial-card { padding: 25px; min-height: 170px; border: 1px solid var(--line); border-radius: 8px; background: #fff; transition: .25s; }
.tutorial-card:hover { border-color: #b9d6fa; box-shadow: var(--shadow); }
.tutorial-card span { color: var(--primary); font-size: 13px; }

/* WeCom */
.wecom-hero { min-height: 700px; padding-top: 72px; background: linear-gradient(135deg,#f6f9ff,#eef4ff 55%,#f8f6ff); }
.wecom-hero .container { min-height: 628px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.wecom-brand { width: 520px; margin-bottom: 28px; }
.wecom-copy > p { color: #6b7a90; font-size: 18px; }
.wecom-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 430px; margin-top: 30px; }
.wecom-visual { position: relative; height: 360px; border-radius: 8px; background: #fff; box-shadow: 0 25px 70px rgba(73,104,171,.16); }
.visual-window { position: absolute; inset: 38px; padding: 40px 24px; border: 1px solid #e7ecf5; border-radius: 8px; }
.visual-window::before { content: ""; display: block; width: 70%; height: 10px; margin-bottom: 35px; border-radius: 5px; background: #eef2fb; }
.visual-bars { display: flex; align-items: end; gap: 15px; height: 120px; }
.visual-bars i { flex: 1; border-radius: 4px 4px 0 0; background: #2485ed; animation: bars 2.2s ease-in-out infinite alternate; }
.visual-bars i:nth-child(1) { height: 45%; background: var(--green); }
.visual-bars i:nth-child(2) { height: 80%; }
.visual-bars i:nth-child(3) { height: 58%; background: #7262ed; }
.visual-bars i:nth-child(4) { height: 100%; background: var(--amber); }
@keyframes bars { to { transform: scaleY(.72); transform-origin: bottom; } }
.flow-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 12px; }
.flow-item { position: relative; padding: 25px 12px; text-align: center; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.flow-item:not(:last-child)::after { content: "›"; position: absolute; right: -12px; top: 38%; z-index: 2; color: #88a8d5; font-size: 30px; }
.flow-item .module-icon { margin: 0 auto 12px; }
.flow-item:nth-child(2) .module-icon { background: var(--green); }
.flow-item:nth-child(3) .module-icon { background: #20bb69; }
.flow-item:nth-child(4) .module-icon { background: var(--amber); }
.flow-item:nth-child(5) .module-icon { background: var(--danger); }
.flow-item:nth-child(6) .module-icon { background: #7563ed; }
.module-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.module-card { padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.module-card h3 { margin: 16px 0 8px; }
.module-card p { color: var(--muted); font-size: 14px; }
.mini-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.mini-tags span { padding: 3px 9px; border-radius: 12px; color: #446489; background: #edf4fd; font-size: 12px; }

/* About */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; align-items: center; }
.about-intro h2 { font-size: 34px; }
.about-intro p { color: var(--muted); }
.about-collage { display: grid; grid-template-columns: 1.2fr .8fr; gap: 10px; }
.about-collage img { width: 100%; height: 230px; object-fit: cover; border-radius: 8px; }
.about-collage div img { height: 110px; margin-bottom: 10px; }
.contact-band { color: #fff; background: #132a47 var(--gdt-about-map, url("../images/about-map.png")) center/cover no-repeat; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.contact-list { display: grid; gap: 14px; }
.contact-item { padding: 18px; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; background: rgba(255,255,255,.06); }

/* Footer and modal */
.site-footer { color: #fff; background: #101927; }
.footer-benefits { display: grid; grid-template-columns: repeat(4,1fr); padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-benefits div { display: grid; gap: 2px; padding: 0 28px; text-align: center; border-right: 1px solid rgba(255,255,255,.12); }
.footer-benefits div:last-child { border-right: 0; }
.footer-benefits strong { font-size: 18px; font-weight: 600; }
.footer-benefits span { color: #8f9caf; font-size: 13px; }
.footer-main { padding: 58px 0 48px; display: grid; grid-template-columns: 1.65fr repeat(3,.72fr) .78fr 1.25fr; gap: 34px; align-items: start; }
.footer-logo { width: 160px; height: 55px; object-fit: contain; filter: brightness(0) invert(1); }
.footer-contact p { margin: 8px 0; color: #9ba8ba; font-size: 15px; }
.footer-contact .footer-slogan { margin: 18px 0 14px; color: #cbd4e0; font-size: 16px; }
.footer-phone { display: block; margin-bottom: 10px; color: #fff; font-size: 25px; font-weight: 600; line-height: 1.2; }
.footer-nav-group { display: flex; flex-direction: column; gap: 9px; }
.footer-nav-group h3 { margin: 0 0 12px; font-size: 18px; font-weight: 600; }
.footer-nav-group a, .footer-text-button { width: fit-content; padding: 0; color: #9ba8ba; border: 0; background: transparent; font-size: 16px; line-height: 1.7; }
.footer-nav-group a:hover, .footer-text-button:hover, .footer-friends a:hover { color: #fff; }
.footer-qr-group { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.footer-qr-group img { width: 104px; height: 104px; padding: 5px; object-fit: cover; background: #fff; }
.footer-qr-group span { display: block; margin-top: 8px; text-align: center; color: #9ba8ba; font-size: 14px; }
.footer-friends { display: flex; flex-wrap: wrap; gap: 7px 18px; padding: 18px 0; color: #78869a; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.footer-friends span { color: #b9c3d0; }
.footer-legal { color: #738095; background: #0b121d; font-size: 12px; }
.footer-legal .container { min-height: 58px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 24px; }
.footer-legal a:hover { color: #cbd4e0; }
.back-top { position: fixed; right: 24px; bottom: 24px; z-index: 30; width: 42px; height: 42px; display: none; border: 0; border-radius: 50%; color: #fff; background: var(--primary); box-shadow: var(--shadow); }
.back-top.show { display: block; }
.modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 20px; background: rgba(5,17,35,.58); }
.modal.open { display: grid; }
.modal-dialog { width: min(440px,100%); padding: 30px; border-radius: 8px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.25); animation: modalIn .3s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.modal-head { display: flex; align-items: center; justify-content: space-between; }
.modal-head h2 { margin: 0; font-size: 24px; }
.modal-close { width: 36px; height: 36px; border: 0; font-size: 24px; background: transparent; }
.modal-form input, .modal-form select { width: 100%; height: 44px; margin-top: 12px; padding: 0 13px; border: 1px solid var(--line); border-radius: 5px; }
.captcha-row { display: grid; grid-template-columns: 1fr 120px; gap: 10px; align-items: end; }
.captcha-row .codeimg { width: 120px; height: 44px; margin-top: 12px; border: 1px solid var(--line); border-radius: 5px; object-fit: cover; cursor: pointer; }
.modal-form .btn { width: 100%; margin-top: 18px; }
.toast { position: fixed; left: 50%; bottom: 30px; z-index: 120; padding: 12px 20px; color: #fff; border-radius: 5px; background: #1b293b; opacity: 0; transform: translate(-50%,20px); pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%,0); }

/* PbootCMS 通用栏目、列表与详情模板 */
.page-hero { min-height: 340px; padding-top: 72px; color: #fff; background: linear-gradient(115deg, #17365f, #1776c7 58%, #16a287); }
.page-hero .container { min-height: 268px; display: flex; align-items: center; }
.page-hero h1 { margin: 0 0 8px; font-size: 42px; }
.page-hero p { margin: 0; color: rgba(255,255,255,.82); }
.breadcrumb { padding: 18px 0; color: var(--muted); font-size: 14px; }
.breadcrumb a:hover { color: var(--primary); }
.cms-content { color: #3e4857; font-size: 17px; line-height: 1.9; }
.cms-content img { height: auto !important; margin: 24px auto; }
.cms-content h2, .cms-content h3 { color: var(--ink); line-height: 1.45; }
.cms-content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; }
.cms-content td, .cms-content th { min-width: 100px; padding: 10px; border: 1px solid var(--line); }
.list-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.list-toolbar h2 { margin: 0; font-size: 30px; }
.list-toolbar p { margin: 0; color: var(--muted); }
.cms-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.cms-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; transition: transform .25s, box-shadow .25s; }
.cms-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cms-card-media { display: block; height: 200px; overflow: hidden; background: #edf2f8; }
.cms-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cms-card:hover .cms-card-media img { transform: scale(1.05); }
.cms-card-body { padding: 22px; }
.cms-card-body h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.45; }
.cms-card-body p { min-height: 50px; margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.cms-card-meta { display: flex; justify-content: space-between; color: #929baa; font-size: 12px; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 42px; }
.pagination a, .pagination span { min-width: 38px; height: 38px; padding: 6px 11px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 5px; background: #fff; }
.pagination a:hover, .pagination .active { color: #fff; border-color: var(--primary); background: var(--primary); }
.article-wrap { max-width: 920px; margin: 0 auto; }
.article-head { padding-bottom: 25px; text-align: center; border-bottom: 1px solid var(--line); }
.article-head h1 { margin: 0 0 10px; font-size: 36px; line-height: 1.4; }
.article-meta { color: var(--muted); font-size: 14px; }
.article-cover { max-height: 520px; margin: 30px auto; object-fit: cover; border-radius: 8px; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 45px; padding-top: 25px; border-top: 1px solid var(--line); }
.article-nav > div { padding: 14px 18px; border: 1px solid var(--line); border-radius: 8px; }
.article-nav > div:last-child { text-align: right; }
.empty-state { padding: 70px 20px; text-align: center; color: var(--muted); border: 1px dashed #cfd7e2; border-radius: 8px; }

@media (max-width: 1050px) {
  .header-inner { gap: 16px; }
  .main-nav { gap: 14px; }
  .nav-link { font-size: 14px; }
  .nav-link:hover::after, .nav-link.active::after { width: 56px; }
  .header-actions .login-link { display: none; }
  .footer-main { grid-template-columns: 1.5fr repeat(3,1fr); }
  .footer-qr-group { grid-column: span 2; justify-content: start; grid-template-columns: 104px 104px; }
  .home-hero .container { gap: 35px; }
  .hero-copy h1 { font-size: 43px; }
}

@media (max-width: 860px) {
  .container, .header-inner { width: min(100% - 30px, 680px); }
  .section { padding: 65px 0; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2 { font-size: 28px; }
  .site-header { height: 64px; }
  .header-inner { height: 64px; }
  .brand, .brand img { width: 150px; height: auto; }
  .main-nav, .header-actions .login-link { display: none; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }
  .menu-toggle { display: block; }
  .mobile-panel { position: fixed; inset: 0 0 0 auto; z-index: 45; width: min(82vw,330px); padding: 86px 22px 30px; display: flex; flex-direction: column; gap: 4px; color: #17243a; background: #fff; box-shadow: -14px 0 40px rgba(0,0,0,.16); transform: translateX(105%); transition: transform .3s; }
  .mobile-panel.open { transform: none; }
  .mobile-panel a { padding: 12px 14px; border-radius: 5px; }
  .mobile-nav-node > a { display: block; }
  .mobile-subnav { padding-left: 14px; }
  .mobile-subnav a { display: block; padding-block: 8px; color: #66758b; font-size: 14px; }
  .mobile-panel a:hover, .mobile-panel a.active { color: var(--primary); background: #eef5ff; }
  .mobile-panel .btn { margin-top: 15px; color: #fff; }
  .home-hero, .home-hero .container { min-height: auto; }
  .home-hero .container { grid-template-columns: 1fr; gap: 30px; padding: 120px 0 60px; }
  .hero-copy h1 { font-size: 38px; }
  .trial-form { max-width: 560px; }
  .trust-grid { grid-template-columns: 1fr 1fr; padding: 14px 0; }
  .trust-item { padding: 10px; border-bottom: 1px solid var(--line); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(n+3) { border-bottom: 0; }
  .pain-grid, .advantage-grid, .industry-grid, .case-grid, .module-grid { grid-template-columns: 1fr 1fr; }
  .solution-layout, .feature-display, .product-row, .about-intro, .contact-grid { grid-template-columns: 1fr; }
  .feature-display-media { order: -1; }
  .product-row:nth-child(even) .product-media { order: 0; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .inner-hero { min-height: 580px; }
  .inner-hero .container { min-height: 508px; }
  .inner-hero-copy { width: 65%; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .price-card:nth-child(2) { border-right: 0; }
  .price-card { border-bottom: 1px solid var(--line); }
  .deploy-grid { grid-template-columns: 1fr; }
  .service-nav-grid { gap: 15px; }
  .tutorial-layout { grid-template-columns: 1fr; }
  .tutorial-tabs { flex-direction: row; overflow-x: auto; }
  .tutorial-tab { flex: 0 0 160px; text-align: center; }
  .wecom-hero .container { grid-template-columns: 1fr; padding: 110px 0 70px; }
  .flow-grid { grid-template-columns: repeat(3,1fr); }
  .footer-benefits { grid-template-columns: 1fr 1fr; gap: 18px; }
  .customer-logo-grid { grid-template-columns: repeat(3,1fr); }
  .customer-logo-grid > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .customer-logo-grid > div:nth-child(5n) { border-right: 1px solid var(--line); }
  .customer-logo-grid > div:nth-child(3n) { border-right: 0; }
  .customer-logo-grid > div:nth-last-child(-n+5) { border-bottom: 1px solid var(--line); }
  .customer-logo-grid > div:nth-last-child(-n+3) { border-bottom: 0; }
  .footer-main { grid-template-columns: 1.5fr 1fr 1fr; }
  .cms-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .container, .header-inner { width: calc(100% - 28px); }
  .section { padding: 52px 0; }
  .section-heading h2 { font-size: 25px; }
  .hero-copy h1 { font-size: 32px; }
  .hero-copy > p { font-size: 16px; }
  .hero-points { grid-template-columns: 1fr; gap: 12px; }
  .trial-form { padding: 22px 18px; }
  .pain-grid, .advantage-grid, .industry-grid, .case-grid, .module-grid, .metric-grid { grid-template-columns: 1fr; }
  .pain-card { min-height: 210px; }
  .solution-copy h2, .cta h2 { font-size: 27px; }
  .feature-tabs { justify-content: flex-start; }
  .feature-tab { min-width: 128px; }
  .feature-display { min-height: auto; }
  .inner-hero { min-height: 610px; background-position: 63% center; }
  .inner-hero .container { min-height: 538px; align-items: flex-end; padding-bottom: 50px; }
  .inner-hero-copy { width: 100%; padding: 22px; border-radius: 8px; background: rgba(255,255,255,.9); }
  .case-hero .inner-hero-copy, .about-hero .inner-hero-copy { color: #fff; background: rgba(5,20,45,.65); }
  .case-hero .inner-hero-copy p, .about-hero .inner-hero-copy p { color: rgba(255,255,255,.84); }
  .inner-hero h1 { font-size: 31px; }
  .hero-buttons { flex-wrap: wrap; }
  .product-row { min-height: auto; gap: 25px; margin-bottom: 55px; }
  .check-list { grid-template-columns: 1fr; }
  .price-hero { min-height: 410px; }
  .price-hero .container { min-height: 338px; padding-top: 60px; align-items: flex-start; }
  .pricing-wrap { margin-top: -155px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { border-right: 0; }
  .case-stat-inner { padding: 23px; align-items: flex-start; flex-direction: column; gap: 5px; }
  .service-nav-grid { grid-template-columns: 1fr; }
  .service-nav { margin-top: -45px; }
  .tutorial-panel.active { grid-template-columns: 1fr; }
  .wecom-brand { width: 100%; }
  .wecom-actions { grid-template-columns: 1fr; }
  .wecom-visual { height: 310px; }
  .visual-window { inset: 25px; }
  .flow-grid { grid-template-columns: 1fr 1fr; }
  .flow-item::after { display: none; }
  .cta-inner { min-height: 270px; flex-direction: column; align-items: flex-start; justify-content: center; }
  .footer-benefits { grid-template-columns: 1fr; text-align: left; }
  .footer-benefits div { padding: 12px 0; text-align: left; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .footer-benefits div:last-child { border-bottom: 0; }
  .customer-logo-grid { grid-template-columns: repeat(2,1fr); }
  .customer-logo-grid > div { height: 100px; padding: 18px; }
  .customer-logo-grid > div:nth-child(3n) { border-right: 1px solid var(--line); }
  .customer-logo-grid > div:nth-child(2n) { border-right: 0; }
  .customer-logo-grid > div:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .customer-logo-grid > div:last-child { border-bottom: 0; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .footer-contact, .footer-qr-group { grid-column: 1 / -1; }
  .footer-qr-group { justify-content: start; }
  .footer-friends { line-height: 1.8; }
  .footer-legal .container { padding: 16px 0; justify-content: flex-start; }
  .page-hero { min-height: 290px; }
  .page-hero .container { min-height: 218px; }
  .page-hero h1 { font-size: 31px; }
  .cms-list { grid-template-columns: 1fr; }
  .article-head h1 { font-size: 28px; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav > div:last-child { text-align: left; }
}
