/* ============================================================
   PINKWE Official Theme — 品客观微企业官网
   品牌色：深空蓝 #0E2A47 / 科技蓝 #3B82F6 / 点缀 #38BDF8
   ============================================================ */
:root {
    --pw-navy: #0E2A47;
    --pw-navy-2: #123356;
    --pw-blue: #3B82F6;
    --pw-sky: #38BDF8;
    --pw-bg: #F7FAFC;
    --pw-text: #1E293B;
    --pw-muted: #64748B;
    --pw-border: #E2E8F0;
    --pw-white: #FFFFFF;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--pw-text);
    background: var(--pw-white);
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
.pw-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.pw-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--pw-border);
}
.pw-header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 68px;
}
.pw-logo img { height: 34px; display: block; }
.pw-nav { display: flex; gap: 34px; align-items: center; }
.pw-nav a {
    font-size: 15px; font-weight: 600; color: var(--pw-text);
    padding: 6px 0; position: relative; transition: color .2s;
}
.pw-nav a:hover, .pw-nav a.pw-active { color: var(--pw-blue); }
.pw-nav a.pw-active::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
    height: 2px; background: var(--pw-blue); border-radius: 2px;
}
.pw-header-cta {
    background: var(--pw-blue); color: #fff !important;
    padding: 9px 22px !important; border-radius: 8px; font-weight: 600;
    transition: background .2s;
}
.pw-header-cta:hover { background: var(--pw-navy); }
.pw-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.pw-menu-btn svg { width: 24px; height: 24px; stroke: var(--pw-navy); }

/* ---------- Hero ---------- */
.pw-hero {
    background:
        radial-gradient(1150px 560px at 90% -14%, rgba(214,238,255,.55), transparent 64%),
        radial-gradient(860px 440px at 4% 114%, rgba(214,238,255,.45), transparent 60%),
        radial-gradient(900px 420px at 85% -10%, rgba(56,189,248,.3), transparent 60%),
        linear-gradient(135deg, #0F55C4 0%, #2278EC 55%, #6FB2FA 100%);
    color: #fff;
    padding: 120px 0 140px;
    position: relative; overflow: hidden;
}
.pw-hero::after {
    content: ""; position: absolute; right: -120px; top: -120px;
    width: 420px; height: 420px; border-radius: 50%;
    border: 1px solid rgba(56,189,248,.25);
}
.pw-hero-tag {
    display: inline-block; padding: 6px 16px; border-radius: 999px;
    background: rgba(56,189,248,.14); border: 1px solid rgba(56,189,248,.4);
    color: var(--pw-sky); font-size: 13px; font-weight: 600; letter-spacing: 2px;
    margin-bottom: 26px;
}
.pw-hero h1 { font-size: 46px; line-height: 1.25; font-weight: 800; letter-spacing: 1px; }
.pw-hero h1 span { color: var(--pw-sky); }
.pw-hero p { margin-top: 22px; font-size: 18px; color: rgba(255,255,255,.78); max-width: 640px; }
.pw-hero-btns { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }
.pw-btn {
    display: inline-block; padding: 13px 30px; border-radius: 8px;
    font-size: 15px; font-weight: 600; transition: all .2s;
}
.pw-btn-primary { background: var(--pw-blue); color: #fff; }
.pw-btn-primary:hover { background: var(--pw-sky); }
.pw-btn-ghost { border: 1px solid rgba(255,255,255,.45); color: #fff; }
.pw-btn-ghost:hover { border-color: var(--pw-sky); color: var(--pw-sky); }

/* ---------- Section ---------- */
.pw-section { padding: 90px 0; }
.pw-section-alt { background: var(--pw-bg); }
.pw-section-head { text-align: center; margin-bottom: 56px; }
.pw-section-head .pw-kicker {
    color: var(--pw-blue); font-size: 14px; font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase;
}
.pw-section-head h2 { font-size: 32px; margin-top: 10px; color: var(--pw-navy); }
.pw-section-head p { color: var(--pw-muted); margin-top: 12px; font-size: 16px; }

/* ---------- Business cards ---------- */
.pw-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pw-card {
    background: #fff; border: 1px solid var(--pw-border); border-radius: 14px;
    padding: 34px 28px; transition: all .25s; display: flex; flex-direction: column;
}
a.pw-card { text-decoration: none; color: inherit; }
.pw-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(14,42,71,.10);
    border-color: rgba(59,130,246,.45);
}
.pw-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.pw-card-icon {
    width: 52px; height: 52px; border-radius: 12px; flex: 0 0 auto;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(59,130,246,.12), rgba(56,189,248,.18));
}
.pw-card-icon svg { width: 26px; height: 26px; stroke: var(--pw-blue); }
.pw-card h3 { font-size: 19px; color: var(--pw-navy); margin-bottom: 0; }
.pw-card p {
    color: var(--pw-muted); font-size: 14.5px; flex: 1;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.pw-card-link {
    margin-top: 22px; color: var(--pw-blue); font-weight: 600; font-size: 14px;
}
.pw-card-link:hover { color: var(--pw-sky); }

/* ---------- Industry strip ---------- */
.pw-industry {
    background: linear-gradient(rgba(232,241,252,.72), rgba(214,232,250,.78)), url('/themes/pinkwe/image/hero-light.jpg');
    background-size: cover; background-position: center;
    border-radius: 16px; color: rgba(14,42,71,.85); padding: 30px 26px;
    display: flex; flex-direction: column; gap: 8px; transition: transform .25s;
}
.pw-industry:hover { transform: translateY(-4px); }
.pw-industry-head { display: flex; align-items: center; gap: 10px; }
.pw-industry-icon { font-size: 22px; line-height: 1; }
.pw-industry h3 { font-size: 17px; color: var(--pw-blue); }
.pw-industry p { font-size: 13.5px; color: rgba(14,42,71,.6); }

/* ---------- Product cards ---------- */
.pw-product {
    background: #fff; border-radius: 14px; overflow: hidden;
    border: 1px solid var(--pw-border); transition: all .25s;
    display: block;
}
.pw-product:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(14,42,71,.10); }
.pw-product-thumb {
    height: 150px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(rgba(232,241,252,.7), rgba(214,232,250,.8)), url('/themes/pinkwe/image/hero-light.jpg');
    background-size: cover; background-position: center;
    color: var(--pw-blue); font-size: 30px; font-weight: 800; letter-spacing: 2px;
}
.pw-product-body { padding: 22px 22px 26px; }
.pw-product-body h3 { font-size: 17px; color: var(--pw-navy); margin-bottom: 8px; }
.pw-product-body p { color: var(--pw-muted); font-size: 13.5px; }

/* ---------- News ---------- */
.pw-news-item {
    display: flex; gap: 28px; padding: 28px 0;
    border-bottom: 1px solid var(--pw-border); align-items: flex-start;
}
.pw-news-thumb {
    flex: 0 0 240px; width: 240px; aspect-ratio: 16 / 10;
    border-radius: 12px; overflow: hidden; background: var(--pw-bg);
    border: 1px solid var(--pw-border);
}
.pw-news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.pw-news-item:hover .pw-news-thumb img { transform: scale(1.04); }
.pw-news-body { flex: 1; min-width: 0; }
.pw-news-topmeta {
    display: flex; align-items: center; gap: 8px;
    font-size: 13.5px; font-weight: 600; color: var(--pw-blue);
    margin-bottom: 8px;
}
.pw-new-badge {
    display: inline-block; padding: 1px 7px; border-radius: 4px;
    background: #EF4444; color: #fff; font-size: 11px; font-weight: 800;
    letter-spacing: 1px; line-height: 1.5;
    animation: pwNewPulse 1.6s ease-in-out infinite;
}
@keyframes pwNewPulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(239,68,68,.45); }
    50% { opacity: .8; transform: scale(1.1); box-shadow: 0 0 0 7px rgba(239,68,68,0); }
}
.pw-news-body h3 { font-size: 18px; color: var(--pw-text); transition: color .2s; }
.pw-news-body h3:hover { color: var(--pw-blue); }
.pw-news-body p { margin-top: 8px; color: var(--pw-muted); font-size: 14.5px; line-height: 1.8;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pw-news-body .meta { font-size: 13px; color: var(--pw-muted); margin-top: 12px; }
.pw-news-body .meta a { color: var(--pw-blue); }
.pw-news-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
}
.pw-news-card {
    background: #fff; border: 1px solid var(--pw-border); border-radius: 12px;
    padding: 26px 26px 22px; transition: all .25s;
}
.pw-news-card:hover { box-shadow: 0 14px 34px rgba(14,42,71,.09); border-color: rgba(59,130,246,.4); }
.pw-news-card .meta { color: var(--pw-blue); font-size: 13px; font-weight: 600; }
.pw-news-card h3 { margin-top: 10px; font-size: 16.5px; color: var(--pw-navy); line-height: 1.5; }
.pw-news-card p { margin-top: 10px; color: var(--pw-muted); font-size: 14px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pw-more { text-align: center; margin-top: 40px; }
.pw-more a {
    display: inline-block; padding: 11px 34px; border-radius: 8px;
    border: 1px solid var(--pw-blue); color: var(--pw-blue); font-weight: 600;
}
.pw-more a:hover { background: var(--pw-blue); color: #fff; }

/* ---------- CTA band ---------- */
.pw-cta {
    background: linear-gradient(120deg, #0F52BA, #1E6FEB 60%, #38BDF8);
    color: #fff; padding: 70px 0; text-align: center;
}
.pw-cta h2 { font-size: 28px; }
.pw-cta p { color: rgba(255,255,255,.75); margin-top: 12px; }

/* ---------- Page hero (内页，浅蓝科技底，标题居中) ---------- */
.pw-page-hero {
    background: linear-gradient(rgba(232,241,252,.72), rgba(214,232,250,.78)), url('/themes/pinkwe/image/hero-light.jpg');
    background-size: cover; background-position: center;
    color: var(--pw-navy); padding: 64px 0 56px; text-align: center;
}
.pw-page-hero h1 { font-size: 34px; margin-top: 10px; }
.pw-page-hero p { color: rgba(14,42,71,.72); margin: 10px auto 0; max-width: 720px; }
.pw-page-hero .pw-kicker {
    display: inline-block; font-size: 13px; font-weight: 700;
    letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--pw-blue); margin-bottom: 2px;
}

/* ---------- Article（与 header .pw-container 同宽对齐：1200 居中 + 24px 内边距） ---------- */
.pw-article { max-width: 1200px; margin: 0 auto; padding: 60px 24px 90px; }
.pw-article h1 { font-size: 30px; color: var(--pw-navy); line-height: 1.4; }
.pw-article .pw-article-meta { color: var(--pw-muted); font-size: 14px; margin: 18px 0 34px; }
.pw-article .pw-article-meta a { color: var(--pw-blue); }
.pw-content { font-size: 16px; color: var(--pw-text); }
.pw-content p { margin-bottom: 18px; }
.pw-content img { border-radius: 10px; margin: 10px 0; max-width: 100%; height: auto; }
.pw-content h2, .pw-content h3 { color: var(--pw-navy); margin: 26px 0 14px; }
.pw-content ul, .pw-content ol { padding-left: 24px; margin-bottom: 18px; }

/* ---------- Pagination ---------- */
.pw-pager { display: flex; justify-content: center; gap: 10px; margin-top: 46px; }
.pw-pager a, .pw-pager span {
    padding: 9px 18px; border-radius: 8px; border: 1px solid var(--pw-border);
    font-size: 14px; color: var(--pw-text); background: #fff;
}
.pw-pager span.pw-cur { background: var(--pw-blue); border-color: var(--pw-blue); color: #fff; }
.pw-pager a:hover { border-color: var(--pw-blue); color: var(--pw-blue); }

/* ---------- Footer ---------- */
.pw-footer {
    background: linear-gradient(rgba(232,241,252,.72), rgba(214,232,250,.78)), url('/themes/pinkwe/image/hero-light.jpg');
    background-size: cover; background-position: center;
    color: rgba(14,42,71,.78); margin-top: 0;
}
.pw-footer-inner {
    display: grid; grid-template-columns: 1.5fr .9fr .8fr 1fr; gap: 40px; padding: 64px 0 48px;
}
.pw-footer h4 { color: var(--pw-navy); font-size: 15px; margin-bottom: 18px; letter-spacing: 1px; }
.pw-footer ul { list-style: none; }
.pw-footer li { margin-bottom: 11px; font-size: 14px; }
.pw-footer a:hover { color: var(--pw-blue); }
.pw-footer-nav { columns: 2; column-gap: 32px; }
.pw-footer-nav li { break-inside: avoid; }
.pw-footer-brand img.pw-footer-logo {
    height: 40px; margin-bottom: 18px; display: block; width: auto;
}
.pw-footer-brand p { font-size: 13.5px; line-height: 1.8; max-width: 320px; }
.pw-footer-bottom {
    border-top: 1px solid rgba(14,42,71,.14);
    padding: 20px 0; font-size: 13px; color: rgba(14,42,71,.55);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .pw-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .pw-news-grid { grid-template-columns: 1fr; }
    .pw-footer-inner { grid-template-columns: 1fr; gap: 30px; }
    .pw-hero h1 { font-size: 34px; }
    .pw-hero { padding: 80px 0 90px; }
    .pw-nav {
        display: none; position: absolute; top: 68px; left: 0; right: 0;
        background: #fff; flex-direction: column; gap: 0;
        border-bottom: 1px solid var(--pw-border); padding: 10px 24px 18px;
        box-shadow: 0 18px 30px rgba(14,42,71,.08);
    }
    .pw-nav.pw-open { display: flex; }
    .pw-nav a { padding: 12px 0; }
    .pw-menu-btn { display: block; }
}
@media (max-width: 560px) {
    .pw-grid-3 { grid-template-columns: 1fr; }
    .pw-section { padding: 60px 0; }
    .pw-news-item { flex-direction: column; gap: 14px; }
    .pw-news-thumb { flex: 0 0 auto; width: 100%; }
}

/* 文章详情返回链接 */
.pw-article-back { margin-top: 42px; }
.pw-article-back a { color: var(--pw-blue); font-size: 14px; text-decoration: none; }
.pw-article-back a:hover { text-decoration: underline; }

/* ---------- Hero 轮播背景（纯 CSS 双帧淡入淡出，无 JS） ---------- */
.pw-hero { position: relative; overflow: hidden; }
.pw-hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background-size: cover; background-position: center;
    opacity: .32; pointer-events: none;
}
.pw-hero-bg2 { animation: pwHeroFade 16s infinite; }
@keyframes pwHeroFade {
    0%, 42% { opacity: .32; }
    50%, 92% { opacity: .1; }
    100% { opacity: .32; }
}
.pw-hero .pw-container { position: relative; z-index: 1; }

/* ---------- News 板块科技纹理背景 ---------- */
.pw-news-bg {
    background-image: linear-gradient(rgba(246,248,251,.9), rgba(246,248,251,.92)), url('/themes/pinkwe/image/news-bg.jpg');
    background-size: cover; background-position: center; background-repeat: no-repeat;
}
