/* 解决方案页面样式 */

/* 页面标题区域 */
.page-header {
    color: var(--white);
    padding: 100px 0 60px;
    text-align: center;
    margin-top: 70px;
    position: relative;
    min-height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header h1 {
    font-size: 58px;
    font-weight: 300;
    margin-bottom: 15px;
    text-shadow: none;
    color: #333;
}

.page-header p {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
    opacity: 0.9;
    text-shadow: none;
    color: #666;
}

/* 透明导航栏样式 */
.transparent-header {
    background-color: transparent !important;
    box-shadow: none !important;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* 当导航栏在大背景上时，LOGO显示为白色 */
.transparent-header:not(.scrolled) .logo img {
    filter: brightness(0) invert(1);
}

.transparent-header .nav-list a {
    color: var(--white);
}

.transparent-header.scrolled {
    background-color: var(--white) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

.transparent-header.scrolled .nav-list a {
    color: var(--text-color);
}

.transparent-header .nav-toggle {
    color: var(--white);
}

.transparent-header.scrolled .nav-toggle {
    color: var(--text-color);
}

/* 通用部分 */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* 解决方案概述 */
.solutions-overview {
    padding: 60px 0;
}

.overview-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.overview-text {
    flex: 1;
}

.overview-text p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--text-light);
}

.overview-image {
    flex: 1;
}

.overview-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* 思维导图展示 */
.mindmap-showcase {
    padding: 60px 0;
    background-color: var(--secondary-color);
}

.mindmap-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mindmap-item {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.mindmap-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mindmap-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.mindmap-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.mindmap-image {
    padding: 20px;
    text-align: center;
}

.mindmap-img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.mindmap-desc {
    padding: 0 20px 20px;
}

.mindmap-desc p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}

/* 行业解决方案 */
.industry-solutions {
    padding: 60px 0;
}

.solution-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-nav {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 25px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.tab-btn:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active:after {
    transform: scaleX(1);
}

.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.solution-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.solution-image {
    flex: 1;
}

.solution-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.solution-text {
    flex: 1;
}

.solution-text h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.solution-text p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--text-light);
}

.solution-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    color: var(--text-light);
}

.solution-features li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* 客户价值 */
.customer-value {
    padding: 60px 0;
    background-color: var(--secondary-color);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.value-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.value-item p {
    color: var(--text-light);
    margin: 0;
}

/* 应用场景 */
.application-scenarios {
    padding: 60px 0;
    background-color: #fff;
}

.scenarios-grid {
    margin-top: 50px;
}

.scenario-row {
    display: grid;
    grid-template-columns: 860px 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.scenario-row:last-child {
    margin-bottom: 0;
}

/* 图片卡片 */
.scenario-image-card {
    position: relative;
    width: 860px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scenario-image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.scenario-image-card img {
    width: 100%;
    height: 415px;
    object-fit: cover;
    display: block;
}

/* 图片预览链接 */
.image-preview-link {
    display: block;
    position: relative;
    color: #fff;
    text-decoration: none;
}

/* 放大预览提示 */
.preview-hint {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.preview-hint i {
    margin-right: 5px;
}

.image-preview-link:hover .preview-hint {
    opacity: 1;
    transform: translateY(0);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    padding: 30px 25px;
    color: white;
}

.image-overlay h3 {
    font-size: 1.5rem;
    font-weight: normal;
    margin: 0 0 10px 0;
    color: white;
}

.image-overlay p {
    font-size: 1rem;
    margin: 0;
    opacity: 0.95;
    line-height: 1.6;
}

/* 优势列表卡片 */
.scenario-advantages-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px 35px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scenario-advantages-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.advantages-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 30px 0;
    color: #333;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.advantages-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #007bff;
    border-radius: 2px;
}

.advantages-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.advantages-list li {
    position: relative;
    padding: 15px 20px;
    padding-left: 50px;
    background-color: #f8f9fa;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    transition: background-color 0.3s ease;
}

.advantages-list li:hover {
    background-color: #e9ecef;
}

.advantages-list li::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%) scale(1);
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #007bff 0%, #007bff 50%, rgba(0, 123, 255, 0.3) 100%);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.advantages-list li:nth-child(1)::before {
    animation-delay: 0s;
}

.advantages-list li:nth-child(2)::before {
    animation-delay: 0.4s;
}

.advantages-list li:nth-child(3)::before {
    animation-delay: 0.8s;
}

.advantages-list li:nth-child(4)::before {
    animation-delay: 1.2s;
}

@keyframes pulse {
    0%, 100% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4);
    }
    50% {
        transform: translateY(-50%) scale(1.25);
        opacity: 0.85;
        box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.2),
                    0 0 0 8px rgba(0, 123, 255, 0.1);
    }
}

/* 联系咨询 */
.contact-section {
    padding: 60px 0;
}

.contact-wrapper {
    background: linear-gradient(rgba(0, 123, 255, 0.85), rgba(0, 80, 170, 0.9)), url('../images/solution/bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 50px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.contact-text h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
}

.contact-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
}

.contact-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 25px 0 0 0;
    line-height: 1.6;
    max-width: 700px;
}

.btn-primary {
    display: inline-block;
    padding: 14px 35px;
    background-color: var(--white);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(0, 123, 255, 0.1);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-primary:hover {
    background-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover::before {
    width: 100%;
}

/* 响应式样式 */
@media (max-width: 992px) {
    .overview-content,
    .solution-content {
        flex-direction: column;
    }
    
    .solution-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .contact-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 40px 25px;
    }
    
    .contact-text {
        margin-bottom: 30px;
    }
    
    .contact-text h2 {
        font-size: 1.8rem;
    }
    
    .contact-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-text p {
        margin: 25px auto 0;
    }
    
    .scenario-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .scenario-image-card {
        width: 100%;
        max-width: 100%;
    }
    
    .scenario-image-card img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 60px 0;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .tab-btn {
        padding: 10px 15px;
        font-size: 1rem;
    }
}

/* 占位图样式 */
.placeholder-img {
    background-color: #f0f0f0;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-lighter);
    font-size: 1.2rem;
}

/* 图片预览模态框样式 */
.image-preview-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    animation: fadeIn 0.3s ease;
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    margin: 0 auto;
    border: 2px solid white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.modal-caption {
    color: white;
    text-align: center;
    padding: 15px 0;
}

.modal-caption h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: white;
}

.modal-caption p {
    font-size: 16px;
    font-weight: normal;
    margin: 0;
    opacity: 0.9;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #ccc;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
} 