/* FlamingoTechs - Web Hosting Page Styles */

/* =========================================
   Background Gradients
   ========================================= */
.hero-gradient-classic {
    width: 100%;
    min-height: 500px; 
    background-color: #F8FAFC; 
    background-image: linear-gradient(
        180deg, 
        #A7C0FF 0%,
        #A3D4FF 28%,
        #D0EFFF 65%,
        #F8FAFC 100%
    );
}

.hero-gradient-mesh {
    width: 100%;
    min-height: 500px;
    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: 500px; 
    background: linear-gradient(
        180deg, 
        #F7F9FF 0%,
        #E1ECFF 50%,
        #C9DCFF 100%
    );
}

/* =========================================
   Flamingo Hosting & Maintenance - Variables & Structure
   ========================================= */
.fm-hm-wrapper {
    --fm-purple: #7B61FF;
    --fm-pink: #f9736f;
    --fm-dark-bg: #0D0D16;
    --fm-light-bg: #FAFAFC;
    --fm-card-bg: #FFFFFF;
    --fm-text-main: #2D3748;
    --fm-text-light: #718096;
    --fm-text-white: #FFFFFF;
    --fm-border: rgba(226, 232, 240, 0.8);
    --fm-gradient: linear-gradient(90deg, var(--fm-purple), var(--fm-pink));
    
    color: var(--fm-text-main);
    line-height: 1.6;
    width: 100%;
}

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

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

.fm-text-gradient {
    background: var(--fm-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fm-section-title {
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.2;
}

/* =========================================
   Section 1: Hero (深色背景图片融合)
   ========================================= */
.fm-hm-hero {
    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: white;
    padding: 160px 20px 140px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.fm-hm-hero::before {
    content: ''; 
    position: absolute; 
    top: -50%; 
    left: 50%; 
    transform: translateX(-50%);
    width: 1000px; 
    height: 1000px; 
    background: radial-gradient(circle, rgba(123, 97, 255, 0.2) 0%, transparent 70%); 
    pointer-events: none;
    z-index: 1;
}

.fm-hero-content {
    position: relative;
    z-index: 2;
}

.fm-hero-tag {
    font-size: 0.9rem;
    color: var(--fm-purple);
    background: rgba(123, 97, 255, 0.15);
    padding: 8px 20px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 24px;
    border: 1px solid rgba(123, 97, 255, 0.3);
    font-weight: 600;
}

.fm-hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.fm-hero-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 800px;
    margin: 0 auto 40px;
}

/* =========================================
   Section 2: Hosting Features (Grid)
   ========================================= */
.fm-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.fm-feature-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--fm-border);
    transition: all 0.3s ease;
}

.fm-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: rgba(123, 97, 255, 0.3);
}

.fm-feature-icon {
    width: 50px;
    height: 50px;
    fill: var(--fm-purple);
    margin-bottom: 24px;
}

/* =========================================
   Section 3: Domain Advice (深色地图融合)
   ========================================= */
.fm-advice-box {
    background-color: var(--fm-dark-bg);
    background-image: 
        linear-gradient(to right, rgba(13, 13, 22, 1) 0%, rgba(13, 13, 22, 0.9) 40%, rgba(13, 13, 22, 0.5) 80%, rgba(13, 13, 22, 0.2) 100%),
        url('/assets/images/hero/north-america-technology.webp');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    border-radius: 32px;
    padding: 80px 60px;
    color: white;
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
    box-shadow: 0 20px 60px rgba(123, 97, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.fm-advice-box::after {
    content: ''; 
    position: absolute; 
    top: -50%; 
    right: -20%; 
    width: 500px; 
    height: 500px;
    background: radial-gradient(circle, rgba(123, 97, 255, 0.2) 0%, transparent 70%); 
    pointer-events: none;
}

.fm-advice-text { 
    flex: 1; 
    position: relative; 
    z-index: 2; 
}

.fm-advice-btn {
    background: var(--fm-gradient);
    color: white !important;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    z-index: 2;
    transition: transform 0.3s, box-shadow 0.3s;
}

.fm-advice-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(249, 115, 111, 0.3);
}

/* =========================================
   Section 4: Maintenance Checklist
   ========================================= */
.fm-check-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.fm-check-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    background: #f8f9ff;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: border-color 0.3s;
}

.fm-check-item:hover {
    border-color: rgba(123, 97, 255, 0.2);
}

.fm-check-icon {
    width: 24px;
    height: 24px;
    fill: var(--fm-pink);
    flex-shrink: 0;
}

/* =========================================
   Responsive Adjustments
   ========================================= */
@media (max-width: 1024px) {
    .fm-feature-grid { grid-template-columns: 1fr; }
    .fm-check-list { grid-template-columns: 1fr; }
    
    .fm-advice-box {
        flex-direction: column; 
        text-align: center; 
        padding: 50px 30px;
        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');
    }
    .fm-hero-title { font-size: 2.8rem; }
}

/* =========================================
   Service FAQ Section (100% Native Architecture)
   ========================================= */
.ft-service-faq-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 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: "flamingofont", Sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--e-global-color-accent, #c36);
    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: "flamingofont", Sans-serif;
    font-weight: 600;
    font-size: 22px;
    margin: 0;
}

/* 内容区文字与内边距 */
.ft-faq-item-content {
    padding: 0 25px 25px 88px !important;
    color: #4E4E5E;
    line-height: 1.6;
    border: none !important;
    background-color: #FAFAFC !important;
    font-size: var(--e-global-typography-text-font-size, 16px);
}

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

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

.ft-faq-item-content a:hover,
.ft-faq-item-content a:focus {
    color: #7B61FF !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: 50px;
    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: 0 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: "flamingofont", Sans-serif;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--e-global-color-accent, #c36);
    margin: 0 0 0 0;
    text-align: center;
}

.ft-contact-title {
    font-family: "flamingofont", Sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--e-global-color-accent, #c36);
    margin: 12px 0 32px 0;
    text-align: center;
}

@media (max-width: 767px) {
    .ft-faq-header {
        margin-top: 80px;
        max-width: 322px;
    }
    .ft-faq-title {
        font-size: 30px;
        margin: 0 0 20px 0;
    }
    .ft-faq-container {
        max-width: 296.25px;
        margin: 20px auto 40px auto;
    }
    .ft-faq-icon-box {
        margin-right: 32px;
    }
    .ft-contact-header {
        margin-top: 60px;
        max-width: 322px;
    }
    .ft-contact-subtitle {
        font-size: 20px;
        margin: 12px 0 12px 0;
    }
    .ft-contact-title {
        font-size: 30px;
        margin: 0 0 20px 0;
    }
    .ft-service-contact-section {
        padding: 0 20px 60px 20px;
    }
}