/* ============================================================
   FACEBOOK OFFICIAL 页面样式
   ============================================================ */

/* ---------- 页面外框 ---------- */
.fb-page {
    padding: 60px 0 80px;
}

.fb-inner {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- 头部 ---------- */
.fb-header {
    text-align: center;
    margin-bottom: 50px;
}

.fb-eyebrow {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #b89f6d;
    font-weight: 600;
    margin: 0 0 14px;
}

.fb-header h1 {
    font-size: clamp(28px, 4vw, 40px);
    color: #0a0500;
    margin: 0 0 16px;
    line-height: 1.3;
    font-weight: 700;
}

.fb-lead {
    font-size: 16px;
    color: #504e4a;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 560px;
}

.fb-rule {
    display: block;
    width: 60px;
    height: 2px;
    background: #e5cb91;
    margin: 28px auto 0;
}

/* ---------- 主体：左文 + 右嵌入 ---------- */
.fb-main {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: center;
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 40px;
    margin-bottom: 60px;
}

/* 左侧文字 */
.fb-text {
    flex: 1;
    min-width: 280px;
    text-align: left;
}

.fb-category {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #b89f6d;
    font-weight: 600;
    margin: 0 0 10px;
}

.fb-text h2 {
    margin: 0 0 6px;
    color: #1c1e21;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
}

.fb-subtitle {
    color: #666;
    font-size: 16px;
    margin: 0 0 16px;
}

.fb-description {
    color: #606770;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.fb-features {
    padding-left: 20px;
    color: #4b4f56;
    font-size: 14px;
    line-height: 2;
    margin-bottom: 25px;
    list-style: disc;
}

.fb-features li {
    margin-bottom: 2px;
}

/* CTA 按钮（通用） */
.fb-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1877f2;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(24, 119, 242, 0.3);
    transition: background 0.2s ease, transform 0.2s ease;
}

.fb-cta:hover {
    background: #0d65d8;
    color: #ffffff;
    transform: translateY(-2px);
}

.fb-arrow {
    font-size: 15px;
    line-height: 1;
}

/* 右侧嵌入 */
.fb-embed {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
}

.fb-embed iframe {
    border: none;
    overflow: hidden;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: block;
}

/* ---------- 底部 CTA ---------- */
.fb-footer {
    text-align: center;
    padding: 60px 20px;
    background: #f9fafb;
    border-radius: 16px;
}

.fb-footer__eyebrow {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #b89f6d;
    font-weight: 600;
    margin: 0 0 14px;
}

.fb-footer h2 {
    font-size: clamp(22px, 3vw, 30px);
    color: #0a0500;
    margin: 0 0 14px;
    font-weight: 700;
}

.fb-footer p {
    color: #504e4a;
    font-size: 15px;
    line-height: 1.8;
    margin: 0 0 26px;
}

/* ============================================================
   悬浮聊天按钮
   ============================================================ */
.miki-chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #cba358;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(203, 163, 88, 0.4);
    z-index: 9999;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.miki-chat-btn:hover {
    background: #b89043;
    transform: translateY(-5px);
}

.miki-chat-btn svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

/* ============================================================
   弹窗
   ============================================================ */
.miki-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.miki-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.miki-modal-box {
    background: #fff;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border-radius: 8px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    padding: 30px 20px;
}

.miki-modal-overlay.active .miki-modal-box {
    transform: translateY(0);
}

.miki-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    line-height: 1;
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
    z-index: 2;
}

.miki-modal-close:hover {
    background: #f0f0f0;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 999px) {
    .fb-main {
        padding: 30px;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .fb-page {
        padding: 40px 0 60px;
    }

    .fb-main {
        padding: 25px 18px;
    }

    .fb-text h2 {
        font-size: 22px;
    }

    .fb-footer {
        padding: 40px 18px;
    }

    .miki-chat-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .miki-chat-btn svg {
        width: 24px;
        height: 24px;
    }

    .miki-modal-box {
        padding: 20px 15px;
        width: 95%;
    }
}