/* 全局样式重置 */
* {
    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中的全局导航样式 */
/* 家庭养老页面移除自定义导航样式，保持与首页一致 */


/* 解决方案详情头部 */
.solution-header {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    color: #fff;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.solution-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z" fill="%23ffffff" fill-opacity="0.1" fill-rule="evenodd"/></svg>');
    opacity: 0.3;
}

.solution-header h1 {
    font-size: 48px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.solution-header p {
    font-size: 20px;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* 解决方案详情内容 */
.solution-detail {
    padding: 80px 0;
    background-color: #f8f9fa;
}

/* 居家智慧养老业务全景 */
.business-panorama {
    margin-bottom: 80px;
}

.business-panorama h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
}

.panorama-diagram {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.panorama-diagram:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.left-icons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.icon-item {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-item:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.home-icon {
    background-color: #007bff;
}

.doctor-icon {
    background-color: #28a745;
}

.nurse-icon {
    background-color: #ffc107;
}

.modules {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    margin: 0 40px;
}

.module-item {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.module-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.module-item h3 {
    color: #007bff;
    margin-bottom: 10px;
    font-size: 18px;
}

.module-item p {
    color: #666;
    margin: 0;
    font-size: 14px;
}

.data-monitor {
    background-color: #1a1a2e;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.data-monitor:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.data-monitor h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #00ff88;
}

.monitor-content {
    background-color: #0f3460;
    padding: 15px;
    border-radius: 5px;
}

.monitor-title {
    text-align: center;
    margin-bottom: 15px;
    color: #00ff88;
    font-size: 14px;
}

.chart-area {
    display: flex;
    justify-content: space-around;
    margin-bottom: 15px;
}

.line-chart, .bar-chart, .pie-chart {
    width: 60px;
    height: 60px;
    background-color: #16213e;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.line-chart::after, .bar-chart::after, .pie-chart::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 48%, #00ff88 48%, #00ff88 52%, transparent 52%);
    opacity: 0.3;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.data-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.data-labels span {
    background-color: #16213e;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    color: #00ff88;
}

/* 业务全景图 */
.business-panorama-new {
    margin-bottom: 80px;
}

.business-panorama-new h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.panorama-description {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 16px;
}

.panorama-diagram-new {
    background-color: #fff;
    padding: 40px;
    padding-bottom: 200px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    min-height: 600px;
}

.panorama-diagram-new::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 1;
}

.top-elements {
    display: flex;
    justify-content: center;
    gap: 100px;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.element {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.element:hover {
    transform: translateY(-5px);
}

.element-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #007bff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    color: #fff;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.element:hover .element-icon {
    background-color: #0056b3;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

.element-name {
    font-weight: 600;
    color: #333;
    text-align: center;
}

.core-platform {
    display: flex;
    justify-content: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.cloud-platform {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    color: #fff;
    padding: 30px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cloud-platform:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.4);
}

.cloud-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.cloud-subtitle {
    font-size: 16px;
    opacity: 0.9;
}

.left-elements, .right-elements {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 40px;
    z-index: 2;
    width: 150px;
}

.left-elements {
    left: 50px;
}

.right-elements {
    right: 50px;
}

.bottom-analysis {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 80px);
    max-width: 800px;
    z-index: 2;
}

.analysis-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.analysis-title i {
    color: #007bff;
    font-size: 24px;
}

.analysis-data {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.data-item {
    background-color: #fff;
    padding: 15px 25px;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
}

.data-item:hover {
    background-color: #007bff;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* 系统介绍 */
.system-introduction {
    margin-bottom: 80px;
}

.system-introduction h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
}

.system-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.system-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.system-card:nth-child(1) { animation-delay: 0.1s; }
.system-card:nth-child(2) { animation-delay: 0.2s; }
.system-card:nth-child(3) { animation-delay: 0.3s; }
.system-card:nth-child(4) { animation-delay: 0.4s; }
.system-card:nth-child(5) { animation-delay: 0.5s; }
.system-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.system-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.system-card h3 {
    color: #007bff;
    margin-bottom: 15px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.system-card h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background-color: #007bff;
    border-radius: 2px;
}

.system-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.system-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.system-features li {
    color: #555;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.system-features i {
    color: #28a745;
    font-size: 12px;
}

/* 咨询我们 */
.solution-contact {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 80px 0;
    text-align: center;
}

.solution-contact h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

.solution-contact p {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: #007bff;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

/* 页脚 */
.footer {
    background-color: #343a40;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo i {
    font-size: 32px;
    margin-bottom: 15px;
    color: #007bff;
}

.footer-logo span {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-logo p {
    color: #adb5bd;
    margin: 0;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #007bff;
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #adb5bd;
}

.footer-contact i {
    color: #007bff;
    margin-top: 5px;
    font-size: 16px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #495057;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #007bff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #495057;
    color: #adb5bd;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .left-elements,
    .right-elements {
        left: 50px;
        right: 50px;
    }
    
    .top-elements {
        gap: 50px;
    }
}

@media (max-width: 992px) {
    .panorama-diagram {
        flex-direction: column;
        gap: 30px;
    }
    
    .modules {
        margin: 0;
    }
    
    .data-monitor {
        width: 100%;
    }
    
    .left-elements,
    .right-elements {
        position: static;
        transform: none;
        flex-direction: row;
    }
    
    .top-elements {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .panorama-diagram-new::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .solution-header h1 {
        font-size: 36px;
    }
    
    .solution-header p {
        font-size: 18px;
    }
    
    .business-panorama h2,
    .business-panorama-new h2,
    .system-introduction h2,
    .solution-contact h2 {
        font-size: 28px;
    }
    
    .panorama-diagram,
    .panorama-diagram-new {
        padding: 20px;
    }
    
    .left-icons,
    .right-elements {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .system-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-content {
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .solution-header {
        padding: 100px 0 60px;
    }
    
    .solution-header h1 {
        font-size: 28px;
    }
    
    .solution-header p {
        font-size: 16px;
    }
    
    .business-panorama h2,
    .business-panorama-new h2,
    .system-introduction h2,
    .solution-contact h2 {
        font-size: 24px;
    }
    
    .module-item,
    .element,
    .system-card {
        text-align: center;
    }
    
    .system-card h3 {
        justify-content: center;
    }
    
    .system-card h3::before {
        display: none;
    }
}

/* 滚动动画 */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}