/* FlamingoTechs - Web Design Page Styles */

/* =========================================
   Flamingo Web Design Page - Core Variables
   ========================================= */
.fm-wd-wrapper {
    --fm-purple: #7B61FF;
    --fm-pink: #f9736f;
    --fm-dark-bg: #0D0D16;
    --fm-light-bg: #FAFAFC;
    --fm-card-bg: #FFFFFF;
    --fm-text-main: #0F172A;
    --fm-text-light: #475569;
    --fm-text-muted: #94A3B8;
    --fm-text-white: #FFFFFF;
    --fm-border: rgba(226, 232, 240, 0.85);
    --fm-gradient: linear-gradient(90deg, var(--fm-purple), var(--fm-pink));
    --fm-gradient-radial: radial-gradient(circle, var(--fm-pink) 0%, var(--fm-purple) 100%);
    
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", Roboto, "Microsoft YaHei", sans-serif;
    color: var(--fm-text-main);
    line-height: 1.65;
    width: 100%;
    overflow-x: hidden;
}

.fm-wd-wrapper * {
    box-sizing: border-box;
}

/* =========================================
   Typography & Utilities (Align with Homepage Spec)
   ========================================= */
.fm-text-gradient {
    background: var(--fm-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

.fm-mobile-br {
    display: none;
}
@media (max-width: 767px) {
    .fm-mobile-br {
        display: block;
    }
}

.fm-container {
    max-width: var(--container-max-width, 1280px);
    margin: 0 auto;
    padding: 80px 24px;
}

/* =========================================
   Flamingo Section Header (主副标题统一规范)
   ========================================= */
.ft-section-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 44px;
}

.ft-text-center {
    text-align: center;
    align-items: center;
}

/* 白色主题标题（深色背景） */
.ft-section-subtitle-white {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", Roboto, "Microsoft YaHei", sans-serif;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.15;
    color: #FFFFFF;
    margin: 0;
    text-align: center;
}

.ft-section-title-white {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", Roboto, "Microsoft YaHei", sans-serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    color: #FFFFFF;
    margin: 12px 0 0 0;
    text-align: center;
    letter-spacing: -0.01em;
}

/* 深色主题标题（浅色背景） */
.ft-section-subtitle-dark {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", Roboto, "Microsoft YaHei", sans-serif;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.15;
    color: #0D0D16;
    margin: 0;
    text-align: center;
}

.ft-section-title-dark {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", Roboto, "Microsoft YaHei", sans-serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    color: #0D0D16;
    margin: 12px 0 0 0;
    text-align: center;
    letter-spacing: -0.01em;
}

.fm-section-title {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", Roboto, "Microsoft YaHei", sans-serif;
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.18;
    color: #0D0D16;
    text-wrap: balance;
    letter-spacing: -0.01em;
}

.fm-section-subtitle {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", Roboto, "Microsoft YaHei", sans-serif;
    font-size: 1.15rem;
    color: var(--fm-text-light);
    text-align: center;
    max-width: 760px;
    margin: 0 auto 52px auto;
    line-height: 1.65;
}

/* Buttons */
.fm-btn {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", Roboto, "Microsoft YaHei", sans-serif;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 16px 42px;
    border-radius: 100px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    line-height: 1.2;
    box-sizing: border-box;
}

.fm-btn-primary {
    background: var(--fm-gradient-radial);
    background-size: 200% auto;
    color: white !important;
    box-shadow: 0 8px 24px rgba(123, 97, 255, 0.35);
    border: none;
}

.fm-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(123, 97, 255, 0.45);
    background-position: 100% 50%;
}

.fm-btn-outline {
    background: rgba(255, 255, 255, 0.06);
    color: #FFFFFF !important;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.fm-btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
}

/* =========================================
   🌟 Section 1: Hero (深色图片背景融合)
   ========================================= */
.fm-hero-section {
    background-color: var(--fm-dark-bg);
    background-image: 
        linear-gradient(to bottom, rgba(13, 13, 22, 0.75), rgba(13, 13, 22, 0.95)), 
        url('/assets/images/hero/north-america-digital-marketing-agency-scaled.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--fm-text-white);
    padding: 160px 20px 140px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.fm-hero-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(123, 97, 255, 0.15) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.fm-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.fm-hero-tag {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", Roboto, "Microsoft YaHei", sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: #C084FC;
    background: rgba(123, 97, 255, 0.15);
    padding: 8px 24px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 24px;
    border: 1px solid rgba(123, 97, 255, 0.35);
    letter-spacing: 0.5px;
}

.fm-hero-title {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", Roboto, "Microsoft YaHei", sans-serif;
    font-size: 60px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.15;
    color: var(--fm-text-white);
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.fm-hero-desc {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", Roboto, "Microsoft YaHei", sans-serif;
    font-size: 1.18rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 40px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.fm-hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

/* =========================================
   Section 2: Value Proposition (Light)
   ========================================= */
.fm-value-section {
    background-color: var(--fm-light-bg);
}

.fm-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.fm-value-card {
    background: #FFFFFF;
    border-radius: 22px;
    padding: 42px 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--fm-border);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.fm-value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(123, 97, 255, 0.15);
    border-color: rgba(123, 97, 255, 0.35);
}

.fm-value-icon {
    width: 60px;
    height: 60px;
    background: rgba(123, 97, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.fm-value-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--fm-purple);
}

.fm-value-title {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", Roboto, "Microsoft YaHei", sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #0F172A;
    line-height: 1.35;
}

.fm-value-text {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", Roboto, "Microsoft YaHei", sans-serif;
    font-size: 15px;
    color: var(--fm-text-light);
    line-height: 1.65;
}

    /* =========================================
       Section 3: The $599 Package Highlight
       ========================================= */
    @keyframes spotlightMove {
        0% { background-position: 0% 50%; }
        100% { background-position: 100% 50%; }
    }


    .ft-pricing-wrapper {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        align-items: stretch; 
        gap: 24px;                
        padding: 50px 0;          
        width: 100%;
        max-width: var(--container-max-width, 1280px);
        margin: 0 auto;
        box-sizing: border-box;
    }

    .ft-pricing-card {
        background: #ffffff;
        border-radius: 24px; 
        width: 100%;
        max-width: 100%;
        padding: 50px 32px;       
        position: relative;
        border: 1px solid rgba(226, 232, 240, 0.8);
        transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
        display: flex;
        flex-direction: column;
        align-items: center;
        z-index: 1;
        box-sizing: border-box;
    }

    .ft-pricing-card:hover {
        transform: translateY(-8px); 
        border-color: var(--fm-purple);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08); 
        z-index: 5;
    }

    .ft-badge {
        position: absolute;
        top: -16px; 
        left: 50%;
        transform: translateX(-50%);
        background: linear-gradient(90deg, var(--fm-purple), var(--fm-pink));
        color: white;
        font-size: 13px;
        font-weight: 600;
        padding: 7px 22px; 
        border-radius: 50px;
        box-shadow: 0 4px 10px rgba(123, 97, 255, 0.25);
        letter-spacing: 1px;
        white-space: nowrap;
        transition: background 0.3s ease;
        z-index: 10;
    }

    .ft-pricing-card:hover .ft-badge {
        background: radial-gradient(circle, #f9736f 0%, #6a59ff 100%);
        background-size: 200% auto;
        animation: spotlightMove 3s ease-in-out infinite alternate;
    }

    .ft-header { text-align: center; margin-bottom: 24px; width: 100%; }
    .ft-title { font-size: 24px; font-weight: 700; color: var(--fm-text-main); margin-bottom: 10px; }
    .ft-desc { font-size: 14px; color: var(--fm-text-light); margin-bottom: 18px; line-height: 1.5; }
    .ft-price-wrapper { display: flex; justify-content: center; align-items: baseline; margin-bottom: 0; }
    .ft-currency { font-size: 24px; color: var(--fm-text-main); font-weight: 600; margin-right: 4px; transform: translateY(-8px); }
    .ft-tax { font-size: 13px; color: #CBD5E0; font-weight: 400; margin-left: 6px; }

    .ft-price {
        font-size: 62px; font-weight: 800; line-height: 1; letter-spacing: -1px; 
        background: linear-gradient(90deg, var(--fm-purple), var(--fm-pink));
        -webkit-background-clip: text; background-clip: text;
        -webkit-text-fill-color: transparent; transition: all 0.3s ease;
    }
    .ft-pricing-card:hover .ft-price {
        background: radial-gradient(circle, #f9736f 0%, #6a59ff 100%);
        background-size: 200% auto;
        -webkit-background-clip: text; background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: spotlightMove 3s ease-in-out infinite alternate;
    }

    .ft-divider { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, #E2E8F0, transparent); margin: 32px 0; }
    .ft-features { list-style: none; padding: 0; margin: 0 0 auto 0; width: 100%; text-align: left; }
    .ft-item { display: flex; align-items: center; margin-bottom: 16px; color: var(--fm-text-main); font-size: 16px; line-height: 1.5;}
    .ft-icon { width: 22px; height: 22px; min-width: 22px; margin-right: 12px; display: flex; align-items: center; justify-content: center; }
    .ft-check { fill: var(--fm-purple); }

    .ft-btn {
        width: 100%; margin-top: 36px; padding: 14px 0; border-radius: 50px;
        font-weight: 700; font-size: 17px; text-align: center; cursor: pointer;
        transition: all 0.3s ease; text-decoration: none !important; display: inline-block;
    }
    .btn-filled { background: linear-gradient(90deg, var(--fm-purple), var(--fm-pink)); color: white; border: none; box-shadow: 0 8px 16px rgba(123, 97, 255, 0.18); }
    .ft-pricing-card:hover .btn-filled {
        background: radial-gradient(circle, #f9736f 0%, #6a59ff 100%);
        background-size: 200% auto; animation: spotlightMove 3s ease-in-out infinite alternate; color: white !important;
    }
    .btn-filled:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(123, 97, 255, 0.25); }
    .ft-delivery { margin-top: 15px; font-size: 13px; color: var(--fm-text-light); text-align: center; }

    /* 全局锁定图2浅色卡片样式，禁用深色模式切换 */
    .ft-pricing-card {
        background: #ffffff !important;
        border: 1px solid rgba(226, 232, 240, 0.85) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
        color-scheme: light !important;
    }
    .ft-pricing-card .ft-title, .ft-pricing-card .ft-currency, .ft-pricing-card .ft-item {
        color: #0F172A !important;
        -webkit-text-fill-color: #0F172A !important;
    }
    .ft-pricing-card .ft-desc, .ft-pricing-card .ft-delivery {
        color: #475569 !important;
    }
    .ft-pricing-card .ft-tax {
        color: #94A3B8 !important;
    }
    @media (prefers-color-scheme: dark) {
        .ft-pricing-card { background: #ffffff !important; border-color: rgba(226, 232, 240, 0.85) !important; }
        .ft-title, .ft-currency, .ft-item { color: #0F172A !important; -webkit-text-fill-color: #0F172A !important; }
        .ft-desc, .ft-delivery { color: #475569 !important; }
        .ft-tax { color: #94A3B8 !important; }
    }
    [data-darkreader-mode] .ft-pricing-card, html[data-darkreader-scheme="dark"] .ft-pricing-card {
        background-color: #ffffff !important; border: 1px solid rgba(226, 232, 240, 0.85) !important;
    }
    [data-darkreader-mode] .ft-title, [data-darkreader-mode] .ft-currency, [data-darkreader-mode] .ft-item, html[data-darkreader-scheme="dark"] .ft-title {
        color: #0F172A !important; -webkit-text-fill-color: #0F172A !important;
    }

    /* =========================================
       Section 4: Process (Timeline)
       ========================================= */
    .fm-process-section { background-color: var(--fm-light-bg); }
    .fm-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
    .fm-step-card {
        background: #FFFFFF;
        padding: 40px 28px;
        border-radius: 22px;
        text-align: center;
        border: 1px solid var(--fm-border);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
        position: relative;
        z-index: 2;
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    }
    .fm-step-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 45px rgba(123, 97, 255, 0.15);
        border-color: rgba(123, 97, 255, 0.35);
    }
    .fm-step-num {
        width: 52px;
        height: 52px;
        background: #7B61FF;
        color: #ffffff;
        font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", Roboto, "Microsoft YaHei", sans-serif;
        font-size: 1.45rem;
        font-weight: 800;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px auto;
        box-shadow: 0 8px 18px rgba(123, 97, 255, 0.28);
    }

    /* =========================================
       Background Gradients
       ========================================= */
    .hero-gradient-mesh {
        width: 100%; min-height: 600px; background-color: #F7F9FF; 
        background-image: 
            radial-gradient(circle at 20% 0%, #C9DCFF 0%, transparent 60%),
            radial-gradient(circle at 80% 15%, #EBF8FF 0%, transparent 65%),
            radial-gradient(circle at 50% 50%, #F1FBFF 0%, transparent 75%),
            linear-gradient(180deg, rgba(247, 249, 255, 0) 60%, rgba(247, 249, 255, 0.8) 80%, #F7F9FF 100%);
    }
    .vertical-gradient {
        min-height: 600px; 
        background: linear-gradient(180deg, #F7F9FF 0%, #E1ECFF 50%, #C9DCFF 100%);
    }
    
    /* =========================================
       🌟 Section 5: CTA Bottom (深色科技质感)
       ========================================= */
    .fm-cta-section {
        background-color: var(--fm-dark-bg);
        background-image: 
            linear-gradient(to right,
                rgba(13, 13, 22, 1) 0%, 
                rgba(13, 13, 22, 0.88) 40%, 
                rgba(13, 13, 22, 0.55) 80%, 
                rgba(13, 13, 22, 0.25) 100% 
            ),
            url('/assets/images/hero/north-america-technology.webp');
        background-size: cover;
        background-position: center right;
        background-repeat: no-repeat;
        text-align: center;
        padding: 110px 24px;
        position: relative;
    }

    .fm-cta-container {
        padding: 0 !important;
        position: relative;
        z-index: 2;
        max-width: 860px !important;
        margin: 0 auto;
    }

    .fm-cta-title {
        font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", Roboto, "Microsoft YaHei", sans-serif;
        font-size: 44px;
        font-weight: 800;
        color: #FFFFFF;
        line-height: 1.22;
        margin-bottom: 24px;
        position: relative;
        z-index: 2;
        text-wrap: balance;
        letter-spacing: -0.01em;
    }

    .fm-cta-desc {
        font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", Roboto, "Microsoft YaHei", sans-serif;
        font-size: 1.15rem;
        line-height: 1.7;
        color: rgba(255, 255, 255, 0.88);
        margin: 0 auto 36px auto;
        max-width: 680px;
    }

    .fm-cta-btn {
        padding: 18px 48px !important;
        font-size: 1.12rem !important;
        border-radius: 100px !important;
    }

    /* =========================================
       Responsive Design & 移动端横向滑动轮播
       ========================================= */
    @media (max-width: 1024px) {
        .fm-container {
            width: 100% !important;
            max-width: 100% !important;
            padding-left: 24px !important;
            padding-right: 24px !important;
            box-sizing: border-box !important;
        }

        /* 移动端/平板端横向吸附滚动容器 (与首页核心服务卡片 1:1 对齐) */
        .fm-grid-3,
        .fm-process-grid {
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: nowrap !important;
            overflow-x: auto !important;
            overflow-y: hidden !important;
            scroll-snap-type: x mandatory !important;
            scroll-padding: 0 24px !important;
            -webkit-overflow-scrolling: touch !important;
            scroll-behavior: smooth !important;
            gap: 20px !important;
            padding: 10px 24px 25px 24px !important;
            margin-left: -24px !important;
            margin-right: -24px !important;
            margin-bottom: 8px !important;
            width: calc(100% + 48px) !important;
            box-sizing: border-box !important;
            scrollbar-width: none !important;
            -ms-overflow-style: none !important;
        }

        .fm-grid-3::-webkit-scrollbar,
        .fm-process-grid::-webkit-scrollbar {
            display: none !important;
        }

        .fm-value-card,
        .fm-step-card {
            flex: 0 0 285px !important;
            width: 285px !important;
            min-width: 285px !important;
            max-width: 285px !important;
            scroll-snap-align: start !important;
            border-radius: 22px !important;
            box-sizing: border-box !important;
            display: flex !important;
            flex-direction: column !important;
            padding: 34px 24px !important;
        }

        .fm-value-card:last-child,
        .fm-step-card:last-child {
            margin-right: 24px !important;
        }

        .fm-value-title {
            font-size: 1.28rem !important;
            margin-bottom: 12px !important;
        }

        .fm-value-text {
            font-size: 0.92rem !important;
            line-height: 1.6 !important;
        }

        .fm-step-num {
            width: 44px !important;
            height: 44px !important;
            font-size: 1.3rem !important;
            margin: 0 auto 16px auto !important;
        }

        .fm-hero-title {
            font-size: 42px;
            line-height: 1.2;
        }
        
        .fm-cta-section {
            background-position: center;
            background-image: 
                linear-gradient(to bottom, rgba(13, 13, 22, 0.95) 0%, rgba(13, 13, 22, 0.7) 100%),
                url('/assets/images/hero/north-america-technology.webp');
        }
    }

    /* =========================================================================
       📱 平板与手机移动端：全面禁用所有鼠标悬浮上浮 (translateY / Hover Lift) 效果
       移动端采用手指触控交互，无鼠标 Hover，彻底避免点击或滑动时的卡片/按钮上浮跳动
       ========================================================================= */
    @media (max-width: 1024px), (hover: none), (pointer: coarse) {
        /* 1. Value 核心价值卡片禁用上浮 */
        .fm-value-card,
        .fm-value-card:hover,
        .fm-value-card:focus,
        .fm-value-card:active {
            transform: none !important;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03) !important;
            border-color: var(--fm-border) !important;
        }

        /* 2. Pricing 价格方案卡片禁用上浮 */
        .ft-pricing-card,
        .ft-pricing-card:hover,
        .ft-pricing-card:focus,
        .ft-pricing-card:active {
            transform: none !important;
            border-color: rgba(226, 232, 240, 0.8) !important;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
            z-index: 1 !important;
        }

        /* 3. 价格卡片立即购买按钮禁用上浮 */
        .btn-filled,
        .btn-filled:hover,
        .btn-filled:focus,
        .btn-filled:active {
            transform: none !important;
            box-shadow: 0 8px 16px rgba(123, 97, 255, 0.18) !important;
        }

        /* 4. Hero / CTA 主按钮与线框按钮禁用上浮 */
        .fm-btn-primary,
        .fm-btn-primary:hover,
        .fm-btn-primary:focus,
        .fm-btn-primary:active {
            transform: none !important;
            box-shadow: 0 10px 20px rgba(123, 97, 255, 0.25) !important;
        }

        .fm-btn-outline,
        .fm-btn-outline:hover,
        .fm-btn-outline:focus,
        .fm-btn-outline:active {
            transform: none !important;
            background: transparent !important;
        }

        /* 5. 常见问题 FAQ 手风琴卡片禁用上浮 */
        .ft-faq-item,
        .ft-faq-item:hover,
        .ft-faq-item:focus,
        .ft-faq-item:active {
            transform: none !important;
            box-shadow: none !important;
            border-color: rgba(255, 255, 255, 0.05) !important;
        }

        .ft-faq-item[open],
        .ft-faq-item[open]:hover,
        .ft-faq-item[open]:focus,
        .ft-faq-item[open]:active {
            transform: none !important;
            box-shadow: 0 0 30px rgba(123, 97, 255, 0.25) !important;
            border: 1px solid rgba(123, 97, 255, 0.4) !important;
        }

        /* 6. FAQ 底部咨询按钮禁用上浮 */
        .ft-standalone-btn,
        .ft-standalone-btn:hover,
        .ft-standalone-btn:focus,
        .ft-standalone-btn:active {
            transform: none !important;
            box-shadow: 0 10px 20px rgba(123, 97, 255, 0.25) !important;
            animation: none !important;
        }

        /* 7. 流程卡片与其他通用卡片禁用上浮 */
        .fm-step-card,
        .fm-step-card:hover,
        .fm-step-card:focus,
        .fm-step-card:active {
            transform: none !important;
        }

        /* 8. 联系表单提交按钮禁用上浮 */
        .ft-submit-btn,
        .ft-submit-btn:hover,
        .ft-submit-btn:focus,
        .ft-submit-btn:active {
            transform: none !important;
            box-shadow: 0 10px 20px rgba(123, 97, 255, 0.25) !important;
        }
    }

    @media (max-width: 768px) {
        .fm-container {
            padding-left: 16px !important;
            padding-right: 16px !important;
        }

        .fm-grid-3,
        .fm-process-grid {
            scroll-padding: 0 16px !important;
            gap: 16px !important;
            padding: 10px 16px 20px 16px !important;
            margin-left: -16px !important;
            margin-right: -16px !important;
            margin-bottom: 6px !important;
            width: calc(100% + 32px) !important;
        }

        .fm-value-card,
        .fm-step-card {
            flex: 0 0 clamp(270px, 78vw, 285px) !important;
            width: clamp(270px, 78vw, 285px) !important;
            min-width: clamp(270px, 78vw, 285px) !important;
            max-width: 285px !important;
            padding: 28px 20px !important;
        }

        .fm-value-card:last-child,
        .fm-step-card:last-child {
            margin-right: 16px !important;
        }

        .fm-hero-actions {
            flex-direction: column;
            gap: 15px;
        }
    }

    /* =========================================
       Apple-Style Mobile Carousel Dots Indicator
       ========================================= */
    .ft-carousel-dots {
        display: none;
    }
    @media (max-width: 1024px) {
        .ft-carousel-dots {
            display: flex !important;
            justify-content: center !important;
            align-items: center !important;
            gap: 8px !important;
            margin: 4px auto 36px auto !important;
            width: 100% !important;
        }
        .ft-carousel-dot {
            width: 8px;
            height: 8px;
            border-radius: 4px;
            background: rgba(123, 97, 255, 0.25);
            border: none;
            padding: 0;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
        }
        .ft-carousel-dot.active {
            width: 24px;
            background: #7B61FF;
        }
    }


/* =========================================
   Service FAQ Section (100% Native Architecture)
   ========================================= */
#pricing,
.ft-service-faq-section,
.ft-service-contact-section {
    scroll-margin-top: 100px;
}

.ft-service-faq-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px 40px 20px;
    width: 100%;
    box-sizing: border-box;
}

.ft-faq-header {
    margin-top: 80px;
    margin-bottom: 0;
    text-align: center;
    width: 100%;
}

.ft-faq-title {
    font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    color: #0D0D16;
    margin: 12px 0 32px 0;
    text-align: center;
}

.ft-faq-container {
    max-width: 920px;
    margin: 20px auto 40px auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ft-faq-accordion {
    width: 100%;
}

/* 1. 基础卡片样式与间距 */
.ft-faq-item {
    background-color: #FAFAFC;
    border-radius: 16px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    overflow: hidden;
}

.ft-faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

.ft-faq-summary {
    padding: 20px 25px !important;
    background: transparent !important;
    border: none !important;
    display: flex;
    align-items: center;
    list-style: none;
    cursor: pointer;
}

.ft-faq-summary::-webkit-details-marker {
    display: none;
}

.ft-faq-item[open] {
    box-shadow: 0 0 30px rgba(123, 97, 255, 0.25);
    border: 1px solid rgba(123, 97, 255, 0.4);
}

.ft-faq-item[open]:hover {
    transform: translateY(0);
}

/* 左侧图标方块 */
.ft-faq-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
    flex-shrink: 0;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #8662F3, #7B61FF); /* 默认回退渐变，防止未命中规则时图标不可见 */
}

.ft-faq-icon-box svg {
    width: 20px !important;
    height: 20px !important;
    fill: #ffffff;
}

.ft-faq-item .ft-icon-minus {
    display: none;
}
.ft-faq-item .ft-icon-plus {
    display: flex;
}
.ft-faq-item[open] .ft-icon-minus {
    display: flex;
}
.ft-faq-item[open] .ft-icon-plus {
    display: none;
}

/* 品牌色彩矩阵渐变 (支持多项扩展) */
.ft-faq-item:nth-child(1) .ft-faq-icon-box {
    background: linear-gradient(135deg, #F9736F, #E47087);
}
.ft-faq-item:nth-child(2) .ft-faq-icon-box {
    background: linear-gradient(135deg, #E47087, #CF6D9F);
}
.ft-faq-item:nth-child(3) .ft-faq-icon-box {
    background: linear-gradient(135deg, #CF6D9F, #BA6AB7);
}
.ft-faq-item:nth-child(4) .ft-faq-icon-box {
    background: linear-gradient(135deg, #BA6AB7, #A567CF);
}
.ft-faq-item:nth-child(5) .ft-faq-icon-box {
    background: linear-gradient(135deg, #A567CF, #9064E7);
}
.ft-faq-item:nth-child(6) .ft-faq-icon-box {
    background: linear-gradient(135deg, #9064E7, #8662F3);
}
.ft-faq-item:nth-child(7) .ft-faq-icon-box {
    background: linear-gradient(135deg, #8662F3, #7B61FF);
}
.ft-faq-item:nth-child(8) .ft-faq-icon-box {
    background: linear-gradient(135deg, #7B61FF, #6340FF);
}
.ft-faq-item:nth-child(9) .ft-faq-icon-box {
    background: linear-gradient(135deg, #6340FF, #4F28ED);
}
.ft-faq-item:nth-child(10) .ft-faq-icon-box {
    background: linear-gradient(135deg, #4F28ED, #3D1BB5);
}
.ft-faq-item:nth-child(11) .ft-faq-icon-box {
    background: linear-gradient(135deg, #3D1BB5, #2B0E9C);
}
.ft-faq-item:nth-child(12) .ft-faq-icon-box {
    background: linear-gradient(135deg, #F9736F, #7B61FF);
}

/* 标题文字 */
.ft-faq-item-title {
    flex-grow: 1;
    color: #4E4E5E;
    font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 1.4;
    margin: 0;
    text-align: left;
}

/* 内容区文字与内边距 */
.ft-faq-item-content {
    padding: 0 25px 25px 88px !important;
    color: #4E4E5E;
    line-height: 1.6;
    border: none !important;
    background-color: #FAFAFC !important;
    font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    text-align: left;
}

.ft-faq-item-content a {
    color: #7B61FF !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.ft-faq-item-content a:visited {
    color: #7B61FF !important;
}

.ft-faq-item-content a:hover,
.ft-faq-item-content a:focus {
    color: #5b3fe6 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.ft-faq-item-content strong a,
.ft-faq-item-content a strong {
    font-weight: 700 !important;
}

/* =========================================
   CTA Button below FAQ
   ========================================= */
.ft-standalone-container {
    --ft-purple: #7B61FF;
    --ft-pink: #f9736f;
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
}

@keyframes barFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.ft-standalone-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none !important;
    box-sizing: border-box;
    line-height: 1.2;
    padding: 16px 60px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    cursor: pointer;
    border: none;
    color: white !important;
    background: radial-gradient(circle, var(--ft-pink) 0%, var(--ft-purple) 100%);
    background-size: 200% auto;
    background-position: 0% 50%;
    box-shadow: 0 10px 20px rgba(123, 97, 255, 0.25);
    transition: all 0.3s ease;
}

.ft-standalone-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(123, 97, 255, 0.15);
    animation: barFlow 3s infinite alternate;
}

/* =========================================
   Service Contact Section
   ========================================= */
.ft-service-contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 120px 20px 80px 20px;
    width: 100%;
    box-sizing: border-box;
}

.ft-contact-inner {
    max-width: var(--container-max-width, 1280px);
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ft-contact-header {
    margin-top: 80px;
    margin-bottom: 0;
    text-align: center;
    width: 100%;
}

.ft-contact-subtitle {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", Roboto, "Microsoft YaHei", sans-serif;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.15;
    color: #0D0D16;
    margin: 0 0 0 0;
    text-align: center;
}

.ft-contact-title {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", Roboto, "Microsoft YaHei", sans-serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    color: #0D0D16;
    margin: 12px 0 32px 0;
    text-align: center;
}

@media (min-width: 768px) and (max-width: 1100px) {
    .ft-section-header {
        margin-bottom: 34px;
    }
    .ft-section-subtitle-white,
    .ft-section-subtitle-dark {
        font-size: 24px;
        line-height: 1.2;
    }
    .ft-section-title-white,
    .ft-section-title-dark {
        font-size: 34px;
        line-height: 1.25;
        margin: 10px 0 0 0;
    }
    .fm-hero-title {
        font-size: 38px;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    .fm-section-title {
        font-size: 34px;
        line-height: 1.25;
        margin-bottom: 14px;
    }
    .fm-section-subtitle {
        font-size: 1.05rem;
        margin-bottom: 40px;
    }
    .fm-cta-section {
        padding: 90px 24px;
    }
    .fm-cta-title {
        font-size: 32px;
        line-height: 1.25;
        margin-bottom: 18px;
    }
    .fm-cta-desc {
        font-size: 1.05rem;
        margin-bottom: 32px;
    }
    .ft-faq-title {
        font-size: 34px;
        line-height: 1.25;
        margin-bottom: 16px;
    }
    .ft-faq-container {
        margin: 20px auto 36px auto;
    }
    .ft-contact-subtitle {
        font-size: 22px;
    }
    .ft-contact-title {
        font-size: 34px;
        line-height: 1.25;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .ft-section-header {
        margin-bottom: 24px !important;
    }
    .ft-section-subtitle-white,
    .ft-section-subtitle-dark {
        font-size: clamp(17px, 4.6vw, 20px) !important;
        font-weight: 600 !important;
        line-height: 1.25 !important;
        margin: 0 !important;
    }
    .ft-section-title-white,
    .ft-section-title-dark {
        font-size: clamp(23px, 6.2vw, 27px) !important;
        font-weight: 800 !important;
        line-height: 1.25 !important;
        margin: 6px 0 0 0 !important;
    }
    .fm-section-title {
        font-size: clamp(23px, 6.2vw, 27px) !important;
        line-height: 1.28 !important;
        margin-bottom: 12px !important;
    }
    .fm-section-subtitle {
        font-size: 0.93rem !important;
        line-height: 1.58 !important;
        margin-bottom: 26px !important;
    }
    .fm-hero-tag {
        font-size: 12.5px !important;
        padding: 6px 18px !important;
        margin-bottom: 18px !important;
        white-space: nowrap !important;
    }
    .fm-hero-title {
        font-size: clamp(25px, 6.8vw, 30px) !important;
        line-height: 1.25 !important;
        margin-bottom: 16px !important;
    }
    .fm-hero-desc {
        font-size: 0.94rem !important;
        line-height: 1.6 !important;
        margin-bottom: 24px !important;
    }
    .fm-value-text {
        font-size: 0.92rem !important;
        line-height: 1.56 !important;
    }
    .fm-cta-section {
        padding: 70px 16px !important;
    }
    .fm-cta-title {
        font-size: clamp(22px, 5.8vw, 26px) !important;
        line-height: 1.3 !important;
        margin-bottom: 16px !important;
    }
    .fm-cta-desc {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        margin-bottom: 28px !important;
    }
    .fm-cta-btn {
        padding: 14px 32px !important;
        font-size: 1rem !important;
        width: auto !important;
        max-width: 100% !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    .ft-service-faq-section {
        padding: 40px 16px 40px 16px !important;
    }
    .ft-faq-header {
        margin-top: 40px;
        max-width: 100%;
        padding: 0;
    }
    .ft-faq-title {
        font-size: clamp(23px, 6.2vw, 27px) !important;
        font-weight: 800;
        line-height: 1.28;
        color: #0D0D16;
        margin: 0 0 18px 0;
        text-wrap: balance;
    }
    .ft-faq-container {
        max-width: 100%;
        width: 100%;
        margin: 20px auto 32px auto;
        padding: 0;
    }
    .ft-faq-accordion {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    .ft-faq-item {
        border-radius: 12px;
        margin-bottom: 0;
    }
    .ft-faq-item:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    .ft-faq-item[open]:hover {
        transform: none !important;
    }
    .ft-faq-summary {
        padding: 12px 15px !important;
    }
    .ft-faq-icon-box {
        width: 32px !important;
        height: 32px !important;
        border-radius: 8px !important;
        margin-right: 12px !important;
    }
    .ft-faq-icon-box svg {
        width: 16px !important;
        height: 16px !important;
    }
    .ft-faq-item-title {
        font-size: 15px !important;
        font-weight: 500 !important;
        line-height: 1.4 !important;
        color: #4E4E5E !important;
    }
    .ft-faq-item-content {
        padding: 0 20px 20px 20px !important;
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        color: #4E4E5E !important;
    }
    .ft-standalone-container {
        margin: 24px auto 36px auto;
    }
    .ft-standalone-btn {
        font-size: 16px;
        padding: 14px 44px;
        border-radius: 100px;
    }

    /* 移动端价格表缩略轮播指示点优化 (色彩鲜明，告别浅色背景看不清) */
    #pricing .ft-pricing-dots {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important;
        margin: 14px auto 0 auto !important;
        width: 100% !important;
    }
    #pricing .ft-pricing-dots .ft-carousel-dot {
        width: 8px !important;
        height: 8px !important;
        border-radius: 4px !important;
        background: rgba(123, 97, 255, 0.28) !important;
        border: none !important;
        padding: 0 !important;
        cursor: pointer !important;
        transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
    }
    #pricing .ft-pricing-dots .ft-carousel-dot.active {
        width: 24px !important;
        background: #7B61FF !important;
        box-shadow: 0 2px 8px rgba(123, 97, 255, 0.3) !important;
    }

    .ft-contact-header {
        margin-top: 60px;
        max-width: 100%;
    }
    .ft-contact-subtitle {
        font-size: 17px;
        margin: 0 0 8px 0;
    }
    .ft-contact-title {
        font-size: clamp(23px, 6.2vw, 27px) !important;
        line-height: 1.28 !important;
        margin: 0 0 18px 0;
    }
    .ft-service-contact-section {
        padding: 40px 16px 60px 16px !important;
    }
}
