/* ===== PTGKJ 首页 v2：浅色专业风 ===== */
:root {
    --ph-blue: #2563eb;
    --ph-blue-dark: #1d4ed8;
    --ph-teal: #0d9488;
    --ph-purple: #7c3aed;
    --ph-orange: #f59e0b;
    --ph-text: #1e293b;
    --ph-dim: #64748b;
    --ph-bg: #ffffff;
    --ph-bg2: #f8fafc;
    --ph-line: #e2e8f0;
    --ph-card-shadow: 0 1px 3px rgba(15, 23, 42, .08), 0 4px 16px rgba(15, 23, 42, .06);
    --ph-card-shadow-hover: 0 4px 12px rgba(37, 99, 235, .12), 0 12px 32px rgba(15, 23, 42, .10);
}
.ptgkj-home { background: var(--ph-bg); color: var(--ph-text); font-family: -apple-system, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif; line-height: 1.6; }
.ptgkj-home a { text-decoration: none; }
.ph-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== Hero ===== */
.ph-hero {
    background: linear-gradient(180deg, #eef4ff 0%, #f8fbff 60%, #ffffff 100%);
    text-align: center;
    padding: 72px 20px 56px;
    border-bottom: 1px solid var(--ph-line);
}
.ph-hero-tag {
    display: inline-block;
    background: #dbeafe;
    color: var(--ph-blue-dark);
    font-size: 14px;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 18px;
}
.ph-hero-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px;
    letter-spacing: 1px;
}
.ph-hero-sub { font-size: clamp(15px, 2vw, 18px); color: var(--ph-dim); margin: 0 0 30px; }
.ph-hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.ph-btn {
    display: inline-block;
    padding: 13px 34px;
    border-radius: 8px;
    font-size: 15.5px;
    font-weight: 600;
    transition: all .2s;
}
.ph-btn-primary {
    background: var(--ph-blue);
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, .3);
}
.ph-btn-primary:hover { background: var(--ph-blue-dark); transform: translateY(-1px); }
.ph-btn-outline {
    border: 1.5px solid var(--ph-blue);
    color: var(--ph-blue) !important;
    background: #fff;
}
.ph-btn-outline:hover { background: #eff6ff; }

/* ===== 分类入口 ===== */
.ph-cats { padding: 36px 0 8px; }
.ph-cats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px) { .ph-cats-grid { grid-template-columns: 1fr; } }
.ph-cat {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--ph-bg2);
    border: 1px solid var(--ph-line);
    border-radius: 12px;
    padding: 18px 22px;
    color: inherit !important;
    transition: all .2s;
}
.ph-cat:hover { border-color: var(--cat); box-shadow: 0 4px 14px rgba(15,23,42,.08); transform: translateY(-2px); }
.ph-cat-icon { font-size: 26px; }
.ph-cat-name { font-size: 17px; font-weight: 700; color: var(--ph-text); flex: 1; }
.ph-cat-arrow { color: var(--cat); font-weight: 700; }

/* ===== 产品区 ===== */
.ph-products { padding: 40px 0 24px; }
.ph-section { margin-bottom: 48px; }
.ph-section-head { margin-bottom: 22px; }
.ph-section-head h2 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
    padding-left: 12px;
    border-left: 4px solid var(--ph-blue);
}
.ph-section-head p { margin: 0; color: var(--ph-dim); font-size: 14px; padding-left: 16px; }
.ph-prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1024px) { .ph-prod-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .ph-prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ph-prod-grid { grid-template-columns: 1fr; } }
.ph-prod {
    background: #fff;
    border: 1px solid var(--ph-line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--ph-card-shadow);
    transition: all .25s;
}
.ph-prod:hover { transform: translateY(-4px); box-shadow: var(--ph-card-shadow-hover); border-color: #bfdbfe; }
.ph-prod-link { display: block; color: inherit !important; }
.ph-prod-img { aspect-ratio: 1/1; background: #f1f5f9; overflow: hidden; }
.ph-prod-img img { width: 100%; height: 100%; object-fit: cover; }
.ph-prod-body { padding: 12px 14px 14px; }
.ph-prod-name {
    font-size: 13.5px;
    line-height: 1.5;
    margin: 0 0 10px;
    color: var(--ph-text);
    font-weight: 600;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ph-prod-foot { display: flex; justify-content: space-between; align-items: center; }
.ph-prod-price { color: var(--ph-orange); font-weight: 800; font-size: 17px; }
.ph-prod-buy {
    font-size: 12.5px;
    color: var(--ph-blue);
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 5px 13px;
    border-radius: 6px;
    font-weight: 600;
}
.ph-prod:hover .ph-prod-buy { background: var(--ph-blue); color: #fff; border-color: var(--ph-blue); }

/* ===== 干货区 ===== */
.ph-posts { padding: 8px 0 48px; }
.ph-post-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .ph-post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ph-post-grid { grid-template-columns: 1fr; } }
.ph-post {
    background: #fff;
    border: 1px solid var(--ph-line);
    border-radius: 10px;
    overflow: hidden;
    transition: all .2s;
    box-shadow: var(--ph-card-shadow);
}
.ph-post:hover { transform: translateY(-3px); box-shadow: var(--ph-card-shadow-hover); border-color: #bfdbfe; }
.ph-post a { color: inherit !important; display: block; }
.ph-post-body { padding: 16px; }
.ph-post-cat {
    display: inline-block;
    font-size: 11.5px;
    color: var(--ph-blue);
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 2px 10px;
    border-radius: 12px;
    margin-bottom: 8px;
    font-weight: 600;
}
.ph-post h3 { font-size: 14.5px; line-height: 1.5; margin: 0 0 8px; color: #0f172a; font-weight: 600; min-height: 42px; }
.ph-post-meta { font-size: 12px; color: var(--ph-dim); }
.ph-post-empty { color: var(--ph-dim); padding: 20px 0; }

/* ===== 会员 ===== */
.ph-membership { background: var(--ph-bg2); border-top: 1px solid var(--ph-line); padding: 56px 0; }
.ph-center { text-align: center; }
.ph-center h2 { border-left: none; padding-left: 0; }
.ph-price-grid { display: grid; grid-template-columns: repeat(2, minmax(260px, 360px)); gap: 26px; justify-content: center; margin-top: 30px; }
@media (max-width: 700px) { .ph-price-grid { grid-template-columns: 1fr; } }
.ph-price-card {
    background: #fff;
    border: 1px solid var(--ph-line);
    border-radius: 14px;
    padding: 30px 28px;
    text-align: center;
    position: relative;
    box-shadow: var(--ph-card-shadow);
    transition: all .25s;
}
.ph-price-card:hover { transform: translateY(-4px); box-shadow: var(--ph-card-shadow-hover); }
.ph-price-card h3 { font-size: 20px; margin: 0 0 10px; color: #0f172a; }
.ph-price { display: flex; align-items: baseline; justify-content: center; gap: 4px; margin-bottom: 18px; }
.ph-cny { font-size: 20px; color: var(--ph-orange); font-weight: 700; }
.ph-price strong { font-size: 50px; color: var(--ph-orange); font-weight: 800; }
.ph-per { color: var(--ph-dim); font-size: 14px; }
.ph-price-list { list-style: none; padding: 0; margin: 0 0 22px; }
.ph-price-list li { color: var(--ph-dim); font-size: 14px; padding: 7px 0; border-bottom: 1px dashed var(--ph-line); }
.ph-price-list li::before { content: "✓ "; color: var(--ph-blue); font-weight: 700; }
.ph-price-hot { border-color: var(--ph-blue); box-shadow: 0 0 0 1px var(--ph-blue), var(--ph-card-shadow); }
.ph-hot-tag {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--ph-blue);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
}
.ph-btn-hot {
    background: var(--ph-blue);
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, .3);
}
.ph-btn-hot:hover { background: var(--ph-blue-dark); }
.ph-btn-block { display: block; }

/* ===== FAQ ===== */
.ph-faq { padding: 56px 0; }
.ph-faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 26px; }
@media (max-width: 700px) { .ph-faq-grid { grid-template-columns: 1fr; } }
.ph-faq-item {
    background: var(--ph-bg2);
    border: 1px solid var(--ph-line);
    border-radius: 10px;
    padding: 18px 20px;
    transition: all .2s;
}
.ph-faq-item:hover { border-color: #bfdbfe; background: #fff; }
.ph-faq-item h3 { margin: 0 0 6px; font-size: 15.5px; color: #0f172a; }
.ph-faq-item p { margin: 0; color: var(--ph-dim); font-size: 13.5px; line-height: 1.7; }
