/* ============================================================
   輕搭雲官網 · 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; }
