/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    font-size: 17px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 - 使用index.css中的全局导航样式 */
/* 社区养老页面移除自定义导航样式，保持与首页一致 */


/* 解决方案详情头部样式 */
.community-header {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 70px;
}

.community-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.community-header p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* 业务全景图样式 */
.business-panorama {
    padding: 80px 0;
    background-color: white;
}

.business-panorama h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #2c3e50;
}

.panorama-content p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #666;
    font-size: 1.1rem;
}

.business-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.flow-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.activity-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.activity-center img {
    width: 100px;
    height: 100px;
    background-color: #3498db;
    border-radius: 50%;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.activity-center div {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
}

.flow-nodes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.flow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.node-icon {
    width: 80px;
    height: 80px;
    background-color: #f0f8ff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.node-icon img {
    width: 40px;
    height: 40px;
}

.node-label {
    font-weight: 500;
    color: #2c3e50;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.service-tag {
    background-color: #e3f2fd;
    color: #1976d2;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.2);
}

/* 功能模块样式 */
.function-modules {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.function-modules h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #2c3e50;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.module-item {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.module-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.module-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.module-item h3::before {
    content: '▸';
    color: #3498db;
    font-weight: bold;
}

.module-item p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

.module-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.module-features li {
    color: #555;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.module-features li::before {
    content: '✓';
    color: #27ae60;
    font-weight: bold;
    font-size: 1rem;
}

.module-item.data-analysis {
    grid-column: 1 / -1;
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border: 1px solid #e0e0e0;
}

/* 页脚样式 */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 0 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .community-header h1 {
        font-size: 2rem;
    }
    
    .business-panorama h2,
    .function-modules h2 {
        font-size: 1.5rem;
    }
    
    .flow-nodes {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .modules-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .module-item.data-analysis {
        grid-column: 1;
    }
    
    .service-tags {
        flex-direction: column;
        align-items: center;
    }
    
    .service-tag {
        width: 200px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .community-header {
        padding: 100px 0 60px;
    }
    
    .community-header h1 {
        font-size: 1.8rem;
    }
    
    .business-panorama,
    .function-modules {
        padding: 60px 0;
    }
    
    .module-item {
        padding: 20px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.module-item {
    animation: fadeInUp 0.6s ease forwards;
}

.module-item:nth-child(1) { animation-delay: 0.1s; }
.module-item:nth-child(2) { animation-delay: 0.2s; }
.module-item:nth-child(3) { animation-delay: 0.3s; }
.module-item:nth-child(4) { animation-delay: 0.4s; }
.module-item:nth-child(5) { animation-delay: 0.5s; }
.module-item:nth-child(6) { animation-delay: 0.6s; }
.module-item.data-analysis { animation-delay: 0.7s; }
