/* 功能结构页面样式 */

/* 页面标题区域 */
.features-hero {
    background: linear-gradient(135deg, #660874 0%, #8B5A96 50%, #E6E6FA 100%);
    padding: 8rem 0 4rem;
    color: white;
    text-align: center;
}

.features-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.features-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 功能概览区域 */
.features-overview {
    padding: 5rem 0;
    background: #f8f9fa;
}

.features-overview h2 {
    color: #660874;
    font-weight: bold;
    margin-bottom: 1rem;
}

.features-overview p {
    color: #666;
    font-size: 1.1rem;
}

/* 架构图 */
.architecture-diagram {
    position: relative;
    height: 500px;
    margin: 3rem 0;
}

.diagram-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.center-node {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #660874, #8B5A96);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 8, 116, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.center-node i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #E6E6FA;
}

.center-node span {
    font-size: 0.8rem;
    font-weight: bold;
    text-align: center;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}

.diagram-nodes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.node {
    position: absolute;
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.node:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(102, 8, 116, 0.2);
    border-color: #8B5A96;
}

.node i {
    font-size: 1.5rem;
    color: #660874;
    margin-bottom: 0.5rem;
}

.node span {
    font-size: 0.7rem;
    font-weight: bold;
    color: #333;
    text-align: center;
}

/* 节点位置 */
.node:nth-child(1) { top: 10%; left: 20%; }
.node:nth-child(2) { top: 10%; right: 20%; }
.node:nth-child(3) { top: 50%; left: 5%; transform: translateY(-50%); }
.node:nth-child(4) { top: 50%; right: 5%; transform: translateY(-50%); }
.node:nth-child(5) { bottom: 10%; left: 20%; }
.node:nth-child(6) { bottom: 10%; right: 20%; }

/* 连接线 */
.diagram-nodes::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    border: 2px dashed rgba(102, 8, 116, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 详细功能模块 */
.features-details {
    padding: 5rem 0;
    background: white;
}

.features-details h2 {
    color: #660874;
    font-weight: bold;
    margin-bottom: 1rem;
}

.features-details p {
    color: #666;
    font-size: 1.1rem;
}

.feature-module {
    margin-bottom: 5rem;
    padding: 3rem 0;
    border-bottom: 1px solid #e9ecef;
}

.feature-module:last-child {
    border-bottom: none;
}

.feature-content {
    padding: 2rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #660874, #8B5A96);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.feature-content:hover .feature-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #8B5A96, #E6E6FA);
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-content h3 {
    color: #660874;
    font-weight: bold;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.feature-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #333;
    font-size: 1rem;
}

.feature-list li i {
    color: #660874;
    margin-right: 1rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: #660874;
    border-color: #660874;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #8B5A96;
    border-color: #8B5A96;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 8, 116, 0.3);
}

.feature-visual {
    text-align: center;
    padding: 2rem;
}

.visual-placeholder {
    background: linear-gradient(135deg, #660874, #8B5A96);
    border-radius: 15px;
    padding: 3rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.visual-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(139, 0, 0, 0.3);
}

.visual-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #E6E6FA;
}

.visual-placeholder p {
    font-size: 1.2rem;
    margin: 0;
    font-weight: bold;
}

/* 技术规格 */
.tech-specs {
    padding: 5rem 0;
    background: #f8f9fa;
}

.tech-specs h2 {
    color: #660874;
    font-weight: bold;
    margin-bottom: 1rem;
}

.tech-specs p {
    color: #666;
    font-size: 1.1rem;
}

.spec-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.spec-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(102, 8, 116, 0.2);
    border-color: #8B5A96;
}

.spec-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #660874, #8B5A96);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.spec-card:hover .spec-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #8B5A96, #E6E6FA);
}

.spec-icon i {
    font-size: 1.5rem;
    color: white;
}

.spec-card h4 {
    color: #660874;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.spec-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-card ul li {
    color: #666;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.spec-card ul li:before {
    content: '•';
    color: #660874;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* 模态框样式 */
.modal-content {
    border-radius: 15px;
    overflow: hidden;
}

.modal-header {
    background: #660874;
    color: white;
    border-bottom: none;
}

.modal-header .btn-close {
    filter: invert(1);
}

.demo-placeholder {
    padding: 3rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    color: #666;
}

.demo-placeholder i {
    font-size: 4rem;
    color: #660874;
    margin-bottom: 1rem;
}

.demo-placeholder p {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.demo-placeholder small {
    color: #999;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .features-title {
        font-size: 2rem;
    }
    
    .architecture-diagram {
        height: 400px;
    }
    
    .center-node {
        width: 100px;
        height: 100px;
    }
    
    .center-node i {
        font-size: 1.5rem;
    }
    
    .node {
        width: 80px;
        height: 80px;
    }
    
    .node i {
        font-size: 1.2rem;
    }
    
    .node span {
        font-size: 0.6rem;
    }
    
    .feature-content {
        padding: 1rem;
    }
    
    .feature-content h3 {
        font-size: 1.5rem;
    }
    
    .visual-placeholder {
        padding: 2rem;
    }
    
    .visual-placeholder i {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .features-hero {
        padding: 6rem 0 3rem;
    }
    
    .features-title {
        font-size: 1.8rem;
    }
    
    .architecture-diagram {
        height: 300px;
    }
    
    .diagram-nodes::before {
        width: 150px;
        height: 150px;
    }
    
    .feature-module {
        margin-bottom: 3rem;
        padding: 2rem 0;
    }
    
    .spec-card {
        padding: 1.5rem;
    }
} 