/**
 * 解决方案页面专用样式
 *
 * @package Developer_Starter
 * @since 1.0.0
 */

/* ========================================
   解决方案页面 - 头部区域
   ======================================== */
.template-solutions .page-header {
    position: relative;
    overflow: hidden;
}

.template-solutions .page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.template-solutions .page-header .page-title {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* ========================================
   模块通用增强
   ======================================== */
.template-solutions .module {
    position: relative;
}

.template-solutions .module:nth-child(even) {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

/* ========================================
   图文模块增强
   ======================================== */
.template-solutions .module-image-text {
    position: relative;
}

.template-solutions .module-image-text .image-text-grid {
    gap: 80px !important;
}

.template-solutions .module-image-text .image-text-content h2 {
    position: relative;
    padding-bottom: 20px;
}

.template-solutions .module-image-text .image-text-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), #7c3aed);
    border-radius: 2px;
}

.template-solutions .module-image-text .image-text-content ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.template-solutions .module-image-text .image-text-content ul li {
    padding: 8px 0;
    color: var(--color-gray-700);
    font-weight: 500;
}

/* 图片占位符增强 */
.template-solutions .module-image-text .image-text-image>div {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%) !important;
    min-height: 350px;
}

.template-solutions .module-image-text .image-text-image>div::before {
    content: '📊';
    font-size: 4rem;
}

/* ========================================
   多列布局增强
   ======================================== */
.template-solutions .module-columns .column-item {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.template-solutions .module-columns .column-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--color-primary);
}

.template-solutions .module-columns .column-item h3 {
    color: var(--color-dark);
    font-size: 1.25rem !important;
    font-weight: 600;
}

.template-solutions .module-columns .column-item ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.template-solutions .module-columns .column-item ul li {
    padding: 5px 0;
    color: var(--color-gray-600);
    position: relative;
    padding-left: 20px;
}

.template-solutions .module-columns .column-item ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

/* ========================================
   合作流程模块增强
   ======================================== */
.template-solutions .module-process {
    padding-top: 80px;
    padding-bottom: 80px;
}

.template-solutions .module-process .process-item {
    transition: all 0.3s ease;
}

.template-solutions .module-process .process-item:hover {
    transform: translateY(-5px);
}

/* ========================================
   企业优势模块增强
   ======================================== */
.template-solutions .module-features .feature-item {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.template-solutions .module-features .feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--color-primary), #7c3aed);
    transition: height 0.3s ease;
}

.template-solutions .module-features .feature-item:hover {
    transform: translateX(5px);
}

.template-solutions .module-features .feature-item:hover::before {
    height: 100%;
}

/* ========================================
   CTA模块增强
   ======================================== */
.template-solutions .module-cta {
    position: relative;
    overflow: hidden;
}

.template-solutions .module-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: pulse-slow 4s ease-in-out infinite;
}

.template-solutions .module-cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    animation: pulse-slow 4s ease-in-out infinite 2s;
}

@keyframes pulse-slow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* ========================================
   动画效果
   ======================================== */
.template-solutions [data-aos] {
    transition-duration: 0.8s !important;
}

/* ========================================
   响应式适配
   ======================================== */
@media (max-width: 991px) {
    .template-solutions .page-header .page-title {
        font-size: 2rem;
    }

    .template-solutions .module-image-text .image-text-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        direction: ltr !important;
    }

    .template-solutions .module-image-text .image-text-image,
    .template-solutions .module-image-text .image-text-content {
        direction: ltr !important;
    }
}

@media (max-width: 768px) {
    .template-solutions .page-header .page-title {
        font-size: 1.75rem;
    }

    .template-solutions .page-header {
        padding: 80px 0 40px !important;
    }

    .template-solutions .module-columns .columns-grid {
        grid-template-columns: 1fr !important;
    }

    .template-solutions .module-columns .column-item:hover {
        transform: none;
    }
}

/* ========================================
   Dark Mode Support
   ======================================== */
html.dark-mode .template-solutions .module-columns .column-item h3 {
    color: #f1f5f9 !important;
}

html.dark-mode .template-solutions .module-columns .column-item ul li {
    color: #cbd5e1;
}

html.dark-mode .template-solutions .module:nth-child(even) {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}