/**
 * FlamingoTechs - 城市落地页统一样式 (Clean Native CSS)
 * 100% 纯原生重构：彻底清除 Elementor 哈希与嵌套依赖
 * 像素级 1:1 精确复刻原有视觉体验与响应式交互
 */

/* ==========================================================================
   1. 基础变量与全局渐变
   ========================================================================== */
:root {
    --ft-purple: #7B61FF;
    --ft-pink: #f9736f;
    --ft-dark: #2D3748;
    --ft-gray: #718096;
    --ft-border: #E2E8F0;
    --ft-input-bg: #F8FAFC;
    --ft-success: #48BB78;
    --ft-error: #F56565;
    --ft-color-accent: #0D0D16;
    --ft-color-text: #4E4E5E;
    --ft-color-light: #FAFAFC;

    /* Services Hub Variables */
    --fm-purple: #7b61ff;
    --fm-dark: #0D0D16;
    --fm-text-main: #1D1D1F;
    --fm-text-light: #6E6E73;
    --fm-border: rgba(0, 0, 0, 0.06);
    /* Global Typography Font Stack (Fallback / System Sans-Serif) */
    --ft-font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}

body.page-locations,
.city-page-main {
    font-family: var(--ft-font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.city-page-main h1,
.city-page-main h2,
.city-page-main h3,
.city-page-main h4,
.city-page-main h5,
.city-page-main h6,
.city-page-main p,
.city-page-main span,
.city-page-main a,
.city-page-main button,
.city-page-main input,
.city-page-main select,
.city-page-main textarea,
.city-page-main label {
    font-family: var(--ft-font-sans);
}

/* 核心动画 */
@keyframes barFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes softGlowPulse {
    0% { box-shadow: 0 0 0 2px rgba(123, 97, 255, 0.05), 0 4px 10px rgba(123, 97, 255, 0.1); }
    50% { box-shadow: 0 0 0 4px rgba(249, 115, 111, 0.08), 0 6px 15px rgba(123, 97, 255, 0.15); }
    100% { box-shadow: 0 0 0 2px rgba(123, 97, 255, 0.05), 0 4px 10px rgba(123, 97, 255, 0.1); }
}

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

/* 背景渐变工具类 */
.hero-gradient-mesh {
    width: 100%;
    min-height: 800px;
    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 {
    background: linear-gradient(180deg, #F7F9FF 0%, #E1ECFF 50%, #C9DCFF 100%);
}

.brand-gradient {
    background: linear-gradient(90deg, #7B61FF, #F9736F);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 统一 1280px 宽度规范：与 Header / Footer / 全案服务页对齐 */
.city-container {
    width: 100%;
    max-width: var(--container-max-width, 1280px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

@media (max-width: 1360px) {
    .city-container {
        width: min(92%, var(--container-max-width, 1280px));
    }
}

@media (max-width: 1024px) {
    .city-container {
        width: 100%;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* 按钮通用组件 */
.ft-standalone-container {
    display: inline-block;
}

.ft-standalone-btn {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    width: 200px !important;
    height: 54px !important;
    padding: 0 !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    border: none !important;
    color: #ffffff !important;
    white-space: nowrap !important;
    background-image: radial-gradient(circle, var(--ft-pink) 0%, var(--ft-purple) 100%) !important;
    background-size: 200% auto !important;
    background-position: 0% 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    box-shadow: 0 6px 12px rgba(123, 97, 255, 0.15) !important;
}

.ft-standalone-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(123, 97, 255, 0.4) !important;
    animation: barFlow 3s infinite alternate;
}

@media (prefers-color-scheme: dark) {
    .ft-standalone-btn {
        box-shadow: 0 6px 20px rgba(123, 97, 255, 0.5) !important;
    }
}

.ft-secondary-container {
    display: inline-block;
}

.ft-html-btn-secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none !important;
    box-sizing: border-box;
    width: 200px !important;
    height: 54px !important;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    background: transparent;
    color: var(--ft-purple) !important;
    border: 2px solid var(--ft-purple);
    transition: all 0.3s ease;
    box-shadow: none;
}

.ft-html-btn-secondary:hover {
    background-color: rgba(123, 97, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(123, 97, 255, 0.2);
}

@media (max-width: 768px) {
    .ft-secondary-container {
        display: none !important;
    }
}

/* ==========================================================================
   2. Section 1: Hero 板块
   ========================================================================== */
.city-hero-section {
    position: relative;
    padding: 0;
    display: flex;
    align-items: center;
    min-height: 800px;
    box-sizing: border-box;
}

.city-hero-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    min-height: 800px;
}

.city-hero-content {
    flex: 0 0 50%;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.city-hero-visual {
    flex: 0 0 50%;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.hero-subtitle-long {
    font-size: 1rem;
    font-weight: 500;
    color: var(--ft-purple);
    display: inline-block;
    align-self: flex-start;
    background: rgba(123, 97, 255, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    white-space: nowrap;
    margin-top: 50px;
    margin-bottom: 20px;
}

.city-hero-title {
    font-family: var(--ft-font-sans);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--ft-color-accent);
    margin: 0 0 8px 0;
}

.city-hero-subtitle {
    font-family: var(--ft-font-sans);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 48px 0;
}

.city-hero-desc {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--ft-color-text);
    width: 100%;
    max-width: 100%;
    margin: 0 0 40px 0;
}

.city-hero-btn-group {
    display: flex;
    flex-direction: row;
    gap: 50px;
    margin: 0 0 40px 0;
}

/* Digilite 3D Animation */
.dgl-main-wrapper {
    --dgl-text-color: #FFFFFF;
    --dgl-accent-color: #7b61ff;
    --dgl-font-size: 48px;
    --dgl-flip-depth: 25px;
}

.dgl-anim-title {
    font-size: var(--dgl-font-size);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--dgl-text-color);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    line-height: 1;
    gap: 0.3ch;
}

.dgl-static-prefix {
    display: inline-block;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.dgl-dynamic-stage {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 1.1em;
    min-width: 6ch;
    overflow: visible;
}

.dgl-flip-word {
    opacity: 0;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: row;
    white-space: nowrap;
    transform-style: preserve-3d;
    perspective: 1000px;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.dgl-flip-letter {
    display: inline-block;
    transform-origin: 50% 50% calc(-1 * var(--dgl-flip-depth));
    backface-visibility: hidden;
    will-change: transform, opacity;
    line-height: 1;
}

/* Bulb 3D Canvas / SVG */
.bulb-animation-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    perspective: 2000px;
    overflow: hidden;
}

.stage-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1 / 1;
    height: auto;
}

#Marketing, #Design, #Technology {
    transform-origin: 50.07% 46.06%;
    transform-box: view-box;
    will-change: transform;
    vector-effect: non-scaling-stroke;
}

#Marketing { animation: spinY 40s linear infinite; }
#Design { animation: rotate2D 30s linear infinite; }
#Technology { animation: spinY 20s linear infinite; }

@keyframes spinY {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

@keyframes rotate2D {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.stage-container svg {
    filter: drop-shadow(0 20px 40px rgba(123, 97, 255, 0.15));
}

@media (max-width: 1024px) {
    .city-hero-section { min-height: auto; }
    .city-hero-container {
        flex-direction: row;
        padding-top: 80px;
        padding-bottom: 40px;
    }
    .city-hero-title, .city-hero-subtitle { font-size: 3.6rem; }
}

@media (max-width: 768px) {
    .city-hero-container {
        flex-direction: column;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .city-hero-content { width: 100%; flex: 0 0 100%; }
    .city-hero-visual { display: none !important; }
    .city-hero-title, .city-hero-subtitle { font-size: 2.6rem; }
    .city-hero-desc { font-size: 1rem; }
    .hero-subtitle-long .en-content { display: none !important; }
    .hero-subtitle-long { font-size: 0.9rem; }
}

/* ==========================================================================
   3. Section 2: Services Hub 板块
   ========================================================================== */
.city-services-section {
    position: relative;
    background-color: #ffffff;
    padding-bottom: 80px;
}

.fm-hub-wrapper {
    font-family: inherit;
    color: var(--fm-text-main);
    line-height: 1.6;
    position: relative;
    width: 100%;
}

.fm-container {
    width: 100%;
    max-width: var(--container-max-width, 1280px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

@media (max-width: 1360px) {
    .fm-container {
        width: min(92%, var(--container-max-width, 1280px));
    }
}

@media (max-width: 1024px) {
    .fm-container {
        width: 100%;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
}

.fm-hub-hero {
    background-color: #07070C;
    background-image: 
        radial-gradient(ellipse at 50% 30%, rgba(123, 97, 255, 0.25) 0%, rgba(249, 115, 111, 0.12) 40%, transparent 70%),
        linear-gradient(to bottom, #07070C 0%, #0D0D16 100%);
    padding: 160px 24px 140px;
    text-align: center;
    position: relative;
    border-radius: 0;
    overflow: hidden;
}

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

.fm-hub-hero h2 {
    font-family: var(--ft-font-sans);
    font-size: 60px;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin: 12px 0 32px 0;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
}

.fm-text-gradient {
    background: linear-gradient(90deg, #7b61ff 0%, #f9736f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fm-hub-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    line-height: 1.65;
}

.fm-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.fm-hub-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 45px 35px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.fm-hub-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(123, 97, 255, 0.15);
    border-color: var(--fm-purple);
}

.fm-hub-icon {
    width: 54px;
    height: 54px;
    fill: var(--fm-purple);
    margin-bottom: 25px;
    filter: drop-shadow(0 4px 6px rgba(123, 97, 255, 0.2));
}

.fm-hub-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--fm-text-main);
    line-height: 1.3;
}

.fm-hub-card p {
    color: var(--fm-text-light);
    font-size: 1.1rem;
    margin-bottom: 25px;
    flex-grow: 1;
    line-height: 1.65;
}

.fm-hub-link {
    color: var(--fm-purple);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    transition: gap 0.3s ease;
}

.fm-hub-link:hover {
    gap: 12px;
}

@media (max-width: 1024px) {
    .fm-container { padding: 60px 24px; }
    .fm-hub-hero { padding: 120px 24px 100px; }
    .fm-hub-hero h2 { font-size: 48px; }
    .fm-hub-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: -60px;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .fm-hub-hero { padding: 100px 20px 80px; }
    .fm-hub-hero h2 { font-size: 30px; margin-bottom: 20px; }
    .fm-hub-hero p { font-size: 1.1rem; }
    .fm-hub-grid {
        grid-template-columns: 1fr;
        margin-top: 20px;
        gap: 20px;
    }
    .fm-hub-card {
        padding: 35px 25px;
        text-align: center;
        align-items: center;
    }
    .fm-hub-card:hover { transform: translateY(-5px); }
    .fm-hub-icon { margin-bottom: 20px; }
    .fm-hub-link { justify-content: center; width: 100%; }
}

/* ==========================================================================
   4. Section 3: Challenge 痛点板块
   ========================================================================== */
.city-challenge-section {
    position: relative;
    padding: 52px 0;
}

.city-challenge-grid {
    display: flex;
    flex-direction: row;
    gap: 0;
    width: 100%;
    margin-bottom: 40px;
}

.city-challenge-col-text {
    flex: 0 0 50%;
    width: 50%;
    padding-right: 32px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.city-challenge-col-img {
    flex: 0 0 50%;
    width: 50%;
    min-height: 0;
    border-radius: 25px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    box-sizing: border-box;
    position: relative;
}

.city-challenge-title {
    font-family: var(--ft-font-sans);
    font-size: 60px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--ft-color-accent);
    margin: 12px 0 32px 0;
}

.city-pain-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 20px;
}

.city-pain-header {
    background-color: var(--ft-purple);
    padding: 10px 25px;
    border-radius: 12px 12px 0 0;
    align-self: flex-start;
}

.city-pain-header h3 {
    font-family: var(--ft-font-sans);
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--ft-color-light);
    margin: 0;
}

.city-pain-body {
    width: 100%;
    background-color: var(--ft-color-light);
    padding: 25px;
    border-radius: 0 12px 12px 12px;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--ft-color-text);
    box-sizing: border-box;
    position: relative;
}

.city-pain-body::after {
    content: '';
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.2);
    border-right: 1.5px solid rgba(255, 255, 255, 0.2);
    border-bottom-right-radius: 12px;
    pointer-events: none;
}

.city-challenge-btn-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 60px;
}

@media (max-width: 1024px) {
    .city-challenge-col-text { width: 100%; flex: 0 0 100%; padding-right: 0; }
    .city-challenge-col-img { display: none; }
    .city-challenge-title { font-size: 48px; }
    .city-pain-header h3 { font-size: 1.4rem; }
}

@media (max-width: 768px) {
    .city-challenge-title { font-size: 30px; margin-bottom: 20px; }
    .city-pain-header h3 { font-size: 1.2rem; }
    .city-pain-body { font-size: 1rem; }
    .city-challenge-btn-wrap { margin-top: 40px; }
}

/* ==========================================================================
   5. Section 4: FAQ 常见问题板块 (与首页 .ft-faq-* 100% 统一规范)
   ========================================================================== */
.ft-faq-section,
.city-faq-section {
    position: relative;
    padding-bottom: 90px;
}

.ft-faq-section .ft-section-title-dark,
.city-faq-heading {
    font-family: var(--ft-font-sans);
    font-size: 60px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--ft-color-accent);
    margin: 80px 0 32px 0;
    text-align: center;
}

.ft-faq-list,
.city-faq-list {
    max-width: 920px;
    margin: 20px auto 40px auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
}

.ft-faq-item,
.city-faq-item {
    background-color: #FAFAFC;
    border-radius: 16px;
    margin-bottom: 0;
    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;
    width: 100%;
    box-sizing: border-box;
}

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

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

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

.ft-faq-summary,
.city-faq-summary {
    padding: 20px 25px !important;
    background: transparent !important;
    border: none !important;
    display: flex;
    align-items: center;
    list-style: none;
    cursor: pointer;
    outline: none;
    user-select: none;
    width: 100%;
    box-sizing: border-box;
}

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

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

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

.ft-faq-icon-square .icon-minus,
.city-faq-icon .icon-minus { display: none; }
.ft-faq-icon-square .icon-plus,
.city-faq-icon .icon-plus { display: block; }
.ft-faq-item[open] .ft-faq-icon-square .icon-minus,
.city-faq-item[open] .city-faq-icon .icon-minus { display: block; }
.ft-faq-item[open] .ft-faq-icon-square .icon-plus,
.city-faq-item[open] .city-faq-icon .icon-plus { display: none; }

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

.ft-faq-question,
.city-faq-text {
    flex-grow: 1;
    color: #4E4E5E;
    font-family: var(--ft-font-sans);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    text-align: left;
}

.ft-faq-answer,
.city-faq-answer {
    padding: 0 25px 25px 88px !important;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.6;
    color: #4E4E5E;
    border: none !important;
    background-color: #FAFAFC !important;
    text-align: left;
}

.ft-faq-answer p,
.city-faq-answer p {
    margin: 0;
}

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

.ft-faq-answer a:hover,
.ft-faq-answer a:focus,
.city-faq-answer a:hover,
.city-faq-answer a:focus {
    color: #7B61FF !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.ft-faq-cta,
.city-faq-btn-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 40px;
}

@media (max-width: 1024px) {
    .ft-faq-section .ft-section-title-dark,
    .city-faq-heading { font-size: 48px; }
}

@media (max-width: 768px) {
    .ft-faq-section,
    .city-faq-section {
        padding-bottom: 60px;
    }
    .ft-faq-section .ft-section-title-dark,
    .city-faq-heading {
        margin-top: 40px;
        margin-bottom: 20px;
        font-size: 30px;
    }
    .ft-faq-list,
    .city-faq-list {
        gap: 12px;
        margin: 20px auto;
    }
    .ft-faq-item,
    .city-faq-item {
        border-radius: 12px;
    }
    .ft-faq-item:hover,
    .city-faq-item:hover { transform: none; }
    .ft-faq-summary,
    .city-faq-summary { padding: 12px 15px !important; }
    .ft-faq-icon-square,
    .city-faq-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        margin-right: 12px;
    }
    .ft-faq-icon-square svg,
    .city-faq-icon svg { width: 16px !important; height: 16px !important; }
    .ft-faq-question,
    .city-faq-text { font-size: 15px !important; }
    .ft-faq-answer,
    .city-faq-answer { padding: 0 20px 20px 20px !important; font-size: 0.95rem !important; }
}

/* ==========================================================================
   6. Section 5: Pricing Plans 价格方案板块 (暗黑高质感)
   ========================================================================== */
.city-plans-section {
    position: relative;
    background-color: #0D0D16; /* 核心深黑背景 */
    padding: 120px 0 80px 0;
    box-sizing: border-box;
}

.city-plans-header {
    text-align: left;
    margin-bottom: 0;
}

.city-plans-tag {
    font-family: var(--ft-font-sans);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.1;
    color: #FFFFFF;
    margin: 0;
}

.city-plans-heading {
    font-family: var(--ft-font-sans);
    font-size: 60px;
    font-weight: 800;
    line-height: 1.1;
    color: #FFFFFF;
    margin: 12px 0 32px 0;
}

.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: #1a202c !important; /* 强制暗黑深蓝黑 */
    border-radius: 24px;
    width: 100%;
    max-width: 100%;
    padding: 50px 32px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    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(--ft-purple) !important;
    box-shadow: 0 25px 50px rgba(123, 97, 255, 0.2) !important;
    z-index: 5;
}

.ft-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--ft-purple), var(--ft-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: #f7fafc !important; /* 白色标题 */
    margin-bottom: 10px;
}

.ft-desc {
    font-size: 15px;
    color: #a0aec0 !important; /* 浅灰副标题 */
    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: #f7fafc !important;
    font-weight: 600;
    margin-right: 4px;
    transform: translateY(-8px);
}

.ft-tax {
    font-size: 13px;
    color: #a0aec0 !important;
    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(--ft-purple), var(--ft-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, rgba(255, 255, 255, 0.1), transparent) !important;
    margin: 32px 0;
}

.ft-features {
    list-style: none;
    padding: 0;
    margin: 0 auto auto auto;
    width: fit-content;
    text-align: left;
}

.ft-item {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    color: #f7fafc !important; /* 白色列表字 */
    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(--ft-purple);
    width: 22px;
    height: 22px;
}

.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;
    box-sizing: border-box;
}

.btn-filled {
    background: linear-gradient(90deg, var(--ft-purple), var(--ft-pink));
    color: white !important;
    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: #a0aec0 !important;
    text-align: center;
}

@media (max-width: 1024px) {
    .city-plans-section { padding: 80px 0 40px; }
    .ft-pricing-wrapper {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
        padding: 40px 0;
        gap: 25px;
    }
    .ft-pricing-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 40px 24px;
    }
    .city-plans-tag { font-size: 30px; }
    .city-plans-heading { font-size: 48px; }
}

@media (max-width: 768px) {
    .city-plans-section { padding: 60px 0 30px; }
    .city-plans-tag { font-size: 20px; }
    .city-plans-heading { font-size: 30px; margin-bottom: 20px; }
    .ft-pricing-wrapper {
        grid-template-columns: 1fr;
        max-width: 100%;
        padding: 20px 0;
        gap: 20px;
    }
    .ft-pricing-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-bottom: 0;
        padding: 35px 20px;
        border-radius: 20px;
    }
    .ft-price { font-size: 50px; }
    .ft-currency { font-size: 20px; }
}

/* ==========================================================================
   7. Section 6: Contact 表单板块 (8字段全保)
   ========================================================================== */
.city-contact-section {
    position: relative;
    padding: 80px 0;
    box-sizing: border-box;
}

.city-contact-header {
    text-align: center;
    margin-bottom: 0;
}

.city-contact-tag {
    font-family: var(--ft-font-sans);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--ft-color-accent);
    margin: 0;
    text-align: center;
}

.city-contact-heading {
    font-family: var(--ft-font-sans);
    font-size: 60px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--ft-color-accent);
    margin: 12px 0 32px 0;
    text-align: center;
}

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

.ft-form-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.04);
    z-index: 1;
}

.ft-bg-layer {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.ft-top-bar {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--ft-purple), var(--ft-pink), var(--ft-purple));
    background-size: 200% 100%;
    animation: barFlow 4s linear infinite;
}

.ft-content-layer {
    position: relative;
    padding: 50px;
    z-index: 2;
    overflow: visible;
}

.ft-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 15px;
}

.ft-form-full {
    grid-column: 1 / -1;
}

.ft-input-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.ft-label {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--ft-dark);
    margin-bottom: 8px;
    margin-left: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.ft-label-text {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 400;
}

.ft-label-required {
    color: var(--ft-pink);
    margin-left: 4px;
    font-size: 1.2rem;
    font-weight: 400;
}

.ft-validation-msg {
    font-size: 14px;
    font-weight: normal;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.ft-validation-msg.valid {
    color: var(--ft-success);
    font-size: 14px;
}

.ft-validation-msg.invalid {
    color: var(--ft-error);
}

.ft-input.input-error, .ft-textarea.input-error {
    border-color: var(--ft-error) !important;
    box-shadow: inset 0 0 0 1px var(--ft-error) !important;
    background-color: #FFF5F5 !important;
}

.ft-input, .ft-textarea, .ft-select-trigger {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    color: var(--ft-dark);
    font-size: 1.2rem;
    font-weight: 400;
    transition: all 0.3s ease-in-out;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none !important;
    border: 3px solid transparent !important;
    box-shadow: inset 0 0 0 1px var(--ft-border);
    background-color: var(--ft-input-bg) !important;
    background-clip: padding-box;
}

.ft-input::placeholder, .ft-textarea::placeholder {
    color: #A0AEC0;
    font-size: 1.2rem;
    font-weight: 400;
}

.ft-input:hover, .ft-textarea:hover, .ft-select-trigger:hover {
    background-color: #fff !important;
    box-shadow: inset 0 0 0 1px #CBD5E0;
    border-color: transparent !important;
}

.ft-input:focus, .ft-textarea:focus, .ft-custom-select.active .ft-select-trigger {
    background-color: #fff !important;
    box-shadow: none;
    border-color: transparent !important;
    background-image: linear-gradient(#fff, #fff), linear-gradient(90deg, var(--ft-purple), var(--ft-pink), var(--ft-purple));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    background-size: 200% 100%;
    animation: softGlowPulse 3s infinite alternate ease-in-out;
}

.ft-custom-select {
    position: relative;
    width: 100%;
    user-select: none;
}

.ft-select-trigger {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ft-select-trigger.placeholder span {
    color: #A0AEC0;
}

.ft-select-arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--ft-gray);
    border-bottom: 2px solid var(--ft-gray);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-right: 4px;
    margin-bottom: 2px;
}

.ft-custom-select.active .ft-select-arrow {
    transform: rotate(-135deg);
    margin-bottom: -2px;
    border-color: var(--ft-purple);
}

.ft-options-list {
    position: absolute;
    top: calc(100% + 6px);
    left: 0; right: 0;
    background-color: #ffffff !important;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 9999;
    overflow: hidden;
    max-height: 0;
}

.ft-custom-select.active .ft-options-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 350px;
    overflow-y: auto;
}

.ft-option {
    padding: 14px 16px;
    font-size: 14px;
    color: #4A5568;
    background-color: #ffffff !important;
    cursor: pointer;
    transition: background 0.1s ease;
    border-bottom: 1px solid #f7f7f7;
}

.ft-option:last-child {
    border-bottom: none;
}

.ft-option:hover {
    background-color: #F3F4F6 !important;
    color: var(--ft-purple) !important;
    font-weight: 500;
}

.ft-real-select {
    display: none;
    font-size: 16px;
}

.ft-textarea {
    resize: vertical;
    min-height: 120px;
}

.ft-submit-wrapper {
    grid-column: 1 / -1;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ft-submit-btn {
    padding: 16px 60px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    cursor: pointer;
    border: none;
    color: white;
    background: radial-gradient(circle, var(--ft-pink) 0%, var(--ft-purple) 100%);
    background-size: 200% auto;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(123, 97, 255, 0.25);
    background-position: 0% 50%;
    width: auto;
    min-width: 200px;
}

.ft-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(123, 97, 255, 0.18);
    animation: barFlow 3s infinite alternate;
}

.ft-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    animation: none;
    transform: none;
}

.ft-privacy-note {
    margin-top: 15px;
    font-size: 12px;
    color: #A0AEC0;
}

#ft-form-message {
    font-size: 14px;
    display: none;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 0;
    max-width: 90%;
}

#ft-form-message.success {
    color: #2F855A;
    background: #F0FFF4;
    border: 1px solid #C6F6D5;
}

#ft-form-message.error {
    color: #C53030;
    background: #FFF5F5;
    border: 1px solid #FEB2B2;
}

@media (max-width: 1024px) {
    .city-contact-tag { font-size: 30px; }
    .city-contact-heading { font-size: 48px; }
}

@media (max-width: 768px) {
    .city-contact-section { padding: 40px 0; }
    .city-contact-tag { font-size: 20px; }
    .city-contact-heading { font-size: 30px; margin-bottom: 20px; }
    .ft-content-layer { padding: 30px 20px; }
    .ft-form-grid { grid-template-columns: 1fr; gap: 20px; }
    .ft-submit-btn { width: 100%; }
    .ft-textarea, .ft-input {
        font-size: 15px !important;
        padding: 12px !important;
    }
    .ft-textarea::placeholder, .ft-input::placeholder {
        font-size: 15px;
        line-height: 1.5;
    }
}

/* ==========================================================================
   8. Section 7: Other Cities 城市矩阵板块
   ========================================================================== */
.city-cities-section {
    position: relative;
    padding: 60px 0 80px 0;
    box-sizing: border-box;
}

.city-cities-title {
    font-family: var(--ft-font-sans);
    font-size: 60px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--ft-color-accent);
    margin: 0 0 32px 0;
    text-align: center;
}

.city-country-title {
    font-family: var(--ft-font-sans);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--ft-color-accent);
    margin: 20px 0 28px 0;
    text-align: start;
}

.city-country-title.us-title {
    margin-top: 60px;
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    row-gap: 36px;
    column-gap: 16px;
    justify-items: center;
    margin-bottom: 24px;
}

.city-grid.us-grid {
    margin-bottom: 60px;
}

.city-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 145px;
    height: 145px;
    border-radius: 22px;
    box-shadow: 2px 4px 12px 0px rgba(0, 0, 0, 0.12);
    padding: 6px 6px 8px 6px;
    background-color: #FFFFFF;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    box-sizing: border-box;
    overflow: hidden;
}

.city-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 12px 24px 0px rgba(0, 0, 0, 0.18);
}

.city-card-img {
    width: 100%;
    height: 78px;
    border-radius: 18px 18px 6px 6px;
    overflow: hidden;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FAFAFC;
}

.city-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 18px 18px 6px 6px;
}

.city-card-zh {
    font-family: var(--ft-font-sans);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--ft-color-accent);
    margin: 0 0 2px 0;
    text-align: center;
}

.city-card-en {
    font-family: var(--ft-font-sans);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.15;
    color: var(--ft-gray);
    margin: 0;
    text-align: center;
}

@media (max-width: 1280px) {
    .city-grid {
        grid-template-columns: repeat(7, 1fr);
        row-gap: 32px;
        column-gap: 12px;
    }
    .city-card {
        width: 125px;
        height: 125px;
        border-radius: 18px;
        padding: 5px 5px 6px 5px;
    }
    .city-card-img {
        height: 66px;
        border-radius: 14px 14px 5px 5px;
        margin-bottom: 4px;
    }
    .city-card-img img {
        border-radius: 14px 14px 5px 5px;
    }
    .city-card-zh {
        font-size: 15px;
        margin: 0 0 1px 0;
    }
    .city-card-en {
        font-size: 11px;
    }
}

@media (max-width: 1024px) {
    .city-cities-title { font-size: 48px; }
    .city-country-title { font-size: 30px; margin: 16px 0 24px 0; }
    .city-country-title.us-title { margin-top: 50px; }
    .city-grid {
        grid-template-columns: repeat(4, 1fr);
        row-gap: 28px;
        column-gap: 16px;
    }
    .city-card {
        width: 135px;
        height: 135px;
    }
    .city-card-img {
        height: 72px;
    }
}

@media (max-width: 768px) {
    .city-cities-title { font-size: 30px; margin-bottom: 20px; }
    .city-country-title { font-size: 20px; margin-bottom: 20px; }
    .city-country-title.us-title { margin-top: 40px; }
    .city-grid {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 24px;
        column-gap: 12px;
    }
    .city-card {
        width: 105px;
        height: 105px;
        border-radius: 16px;
        padding: 4px 4px 6px 4px;
    }
    .city-card-img {
        height: 54px;
        border-radius: 12px 12px 4px 4px;
        margin-bottom: 3px;
    }
    .city-card-img img {
        border-radius: 12px 12px 4px 4px;
    }
    .city-card-zh {
        font-size: 13px;
        margin: 0 0 1px 0;
    }
    .city-card-en {
        font-size: 10px;
    }
}

@media (max-width: 380px) {
    .city-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 20px;
        column-gap: 12px;
    }
    .city-card {
        width: 135px;
        height: 135px;
    }
    .city-card-img {
        height: 72px;
    }
    .city-card-zh {
        font-size: 16px;
    }
    .city-card-en {
        font-size: 11px;
    }
}
