/* ===== 模板矩阵公共样式（免费模板落地页） ===== */

/* 面包屑 */
.tpl-breadcrumb {
    max-width: 980px;
    margin: 0 auto;
    padding: 20px 20px 0;
    font-size: 13px;
    color: #86868b;
}
.tpl-breadcrumb a {
    color: #86868b;
    text-decoration: none;
    transition: color .2s;
}
.tpl-breadcrumb a:hover {
    color: #0071e3;
}
.tpl-breadcrumb .sep {
    margin: 0 8px;
    color: #d2d2d7;
}

/* 主容器 */
.tpl-wrap {
    max-width: 980px;
    margin: 0 auto;
    padding: 28px 20px 60px;
}

/* 头部 */
.tpl-hero {
    text-align: center;
    padding: 24px 0 36px;
}
.tpl-hero h1 {
    font-size: 40px;
    font-weight: 600;
    color: #1d1d1f;
    letter-spacing: -0.005em;
    line-height: 1.15;
    margin-bottom: 14px;
}
.tpl-hero .sub {
    font-size: 19px;
    color: #86868b;
    line-height: 1.5;
    max-width: 720px;
    margin: 0 auto;
}
@media (max-width: 640px) {
    .tpl-hero h1 { font-size: 28px; }
    .tpl-hero .sub { font-size: 16px; }
}

/* A4 预览纸 */
.paper {
    background: #fff;
    border: 1px solid #d2d2d7;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
    width: 100%;
    max-width: 560px;
    aspect-ratio: 210 / 297;
    margin: 0 auto;
    padding: 5% 6%;
    overflow: hidden;
    position: relative;
}
.paper-landscape {
    aspect-ratio: 297 / 210;
    max-width: 680px;
}
.paper-caption {
    text-align: center;
    font-size: 13px;
    color: #86868b;
    margin-top: 16px;
}

/* 通用小节 */
.tpl-section {
    margin-top: 64px;
}
.tpl-section h2 {
    font-size: 28px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 20px;
    letter-spacing: -0.005em;
}
.tpl-section p {
    color: #494949;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 14px;
}
.tpl-section p.dim {
    color: #86868b;
}

/* 特性卡片 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.feature-card {
    background: #f5f5f7;
    border-radius: 14px;
    padding: 26px 22px;
    text-align: center;
}
.feature-card .ico {
    font-size: 30px;
    margin-bottom: 12px;
    color: #0071e3;
}
.feature-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 13.5px;
    color: #86868b;
    line-height: 1.6;
    margin: 0;
}

/* 步骤 */
.step-list {
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.step-item {
    background: #f5f5f7;
    border-radius: 14px;
    padding: 26px 22px;
}
.step-item::before {
    counter-increment: step;
    content: counter(step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #0071e3;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 14px;
}
.step-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}
.step-item p {
    font-size: 13.5px;
    color: #86868b;
    line-height: 1.6;
    margin: 0;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid #e5e5e7;
    padding: 18px 4px;
}
.faq-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}
.faq-item p {
    font-size: 14.5px;
    color: #86868b;
    line-height: 1.7;
    margin: 0;
}

/* 相关模板 */
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}
.related-card {
    background: #f5f5f7;
    border-radius: 14px;
    padding: 22px 20px;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
    display: block;
}
.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,.09);
}
.related-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 6px;
}
.related-card p {
    font-size: 13px;
    color: #86868b;
    line-height: 1.5;
    margin: 0;
}

/* 底部 CTA */
.cta-box {
    background: #f5f5f7;
    border-radius: 18px;
    text-align: center;
    padding: 48px 24px;
    margin-top: 64px;
}
.cta-box h2 {
    font-size: 26px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 10px;
}
.cta-box p {
    font-size: 15px;
    color: #86868b;
    margin-bottom: 26px;
}
.cta-box .btn {
    display: inline-block;
    background-color: #0071e3;
    color: #fff;
    padding: 14px 34px;
    border-radius: 980px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all .3s;
}
.cta-box .btn:hover {
    background-color: #0077ed;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,113,227,.3);
}
.cta-box .note {
    font-size: 12.5px;
    color: #a1a1a6;
    margin-top: 14px;
    margin-bottom: 0;
}

/* 聚合页卡片 */
.tpl-card {
    background: #f5f5f7;
    border-radius: 16px;
    padding: 26px 24px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}
.tpl-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0,0,0,.1);
}
.tpl-card .thumb {
    height: 150px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e5e5e7;
    margin-bottom: 18px;
    overflow: hidden;
    position: relative;
}
.tpl-card h2 {
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}
.tpl-card p {
    font-size: 13.5px;
    color: #86868b;
    line-height: 1.6;
    margin: 0 0 12px;
    flex: 1;
}
.tpl-card .kw {
    font-size: 12px;
    color: #0071e3;
}
