/* ============================================================
   轻搭云官网 · SEO 静态页专属样式 (seo.css)
   ------------------------------------------------------------
   仅供 /case/ 静态案例页使用。
   加载顺序在主样式表之后，因此同特异性下本文件优先。

   包含两组规则：
   - 无媒体查询：SEO 新增区块的桌面样式（FAQ / 相关服务 / 联系区）
   - @media (max-width:760px)：这些区块的移动端适配
   ============================================================ */

/* ============================================================
   1. 桌面端 SEO 区块
   ============================================================ */
.seo-faq {
    padding: 88px 0;
    background: #f5f6f7;
}
.seo-faq h2 {
    margin-bottom: 34px;
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.2;
    letter-spacing: -.03em;
    font-weight: 600;
}
.seo-faq .faq-item {
    padding: 26px 30px;
    border: 1px solid rgba(122, 79, 242, .14);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(32, 29, 58, .05);
}
.seo-faq .faq-item + .faq-item { margin-top: 14px; }
.seo-faq .faq-item h3 {
    font-size: 18px;
    line-height: 1.45;
    font-weight: 700;
    color: #17124f;
}
.seo-faq .faq-item p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
}

/* 相关服务（关键词内链布局） */
.seo-keywords {
    padding: 70px 0;
    background: #fff;
}
.seo-keywords h2 {
    margin-bottom: 22px;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -.02em;
}
.seo-keywords ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
}
.seo-keywords li a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid #dddcea;
    border-radius: 999px;
    background: rgba(255, 255, 255, .8);
    color: #37335e;
    font-size: 14px;
    font-weight: 600;
    transition: background .22s ease, border-color .22s ease, transform .22s ease;
}
.seo-keywords li a:hover {
    transform: translateY(-2px);
    background: rgba(122, 79, 242, .07);
    border-color: rgba(122, 79, 242, .3);
}

/* 联系区（静态页复用，桌面样式） */
.contact-band__inner h2 { font-size: clamp(30px, 3.4vw, 44px); }

/* ============================================================
   2. 移动端适配
   ============================================================ */
@media (max-width: 760px) {
    .seo-faq { padding: 46px 0; }
    .seo-faq h2 { margin-bottom: 20px; font-size: 24px; line-height: 1.22; }
    .seo-faq .faq-item { padding: 17px 16px; border-radius: 13px; }
    .seo-faq .faq-item + .faq-item { margin-top: 10px; }
    .seo-faq .faq-item h3 { font-size: 16px; line-height: 1.45; }
    .seo-faq .faq-item p { margin-top: 9px; font-size: 13.5px; line-height: 1.75; }

    .seo-keywords { padding: 44px 0; }
    .seo-keywords h2 { margin-bottom: 16px; font-size: 21px; }
    .seo-keywords ul { gap: 8px; }
    .seo-keywords li a {
        min-height: 40px;
        padding: 0 14px;
        font-size: 13px;
    }

    /* 移动端联系区：主样式表未适配，这里补齐 */
    .contact-band { padding: 44px 0; }
    .contact-band__inner {
        min-height: 0;
        padding: 24px 20px;
        grid-template-columns: 1fr;
        gap: 20px;
        border-radius: 14px;
    }
    .contact-band__inner::before { width: 4px; }
    .contact-band__inner::after { width: 220px; height: 220px; right: -110px; top: -110px; }
    .contact-band h2 { font-size: 24px; line-height: 1.2; letter-spacing: -.035em; }
    .contact-band p { margin-top: 12px; font-size: 13.5px; line-height: 1.7; }
    .contact-band .button { width: 100%; min-height: 50px; }
}

/* ============================================================
   3. SEO 专用工具类
   ============================================================ */
/* 视觉隐藏但爬虫可读的 H1
   用 clip 而非 display:none —— display:none 的内容搜索引擎可能跳过 */
.sr-only-h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
}
/* 静态案例链接区：给爬虫的可达路径，JS 加载完成后由脚本隐藏 */
.static-case-index { display: none; }
