﻿/* 软件列表页特有样式 */

/* 页面标题区域 */
.page-header {
    background: linear-gradient(rgba(15, 32, 55, 0.85), rgba(15, 32, 55, 0.85)), url('https://minimax-algeng-chat-tts.oss-cn-wulanchabu.aliyuncs.com/ccv2%2F2026-04-03%2FMiniMax-M2.7%2F1687257157088627%2Fd49c1bfe5fe3613fe87f8163a8f5031dfc8a19e1eb5bb1e54135728e43c80366..webp?Expires=1775308740&OSSAccessKeyId=LTAI5tGLnRTkBjLuYPjNcKQ8&Signature=%2FM%2BSyC9sBKVBfL9tYPE38F90VeY%3D');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 60px 0 50px;
    text-align: center;
    margin: 0;
    position: relative;
    overflow: hidden;
    z-index: 10;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 120px;
    margin-top: -80px;
}


.page-header .container {
    position: relative;
    z-index: 2;
    padding: 60px 40px;
    max-width: 900px;
}

.page-header h1 {
    color: #ffffff !important;
    margin-bottom: 30px !important;
    font-size: 3rem !important;
    font-weight: 700 !important;
    text-shadow: 0 6px 16px rgba(0, 0, 0, 0.9) !important;
    letter-spacing: -1px !important;
    margin-top: 0 !important;
    line-height: 1.2 !important;
}

.page-header p {
    color: #f0f9ff !important;
    font-size: 1.25rem !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    line-height: 1.7 !important;
    margin-bottom: 0 !important;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8) !important;
    font-weight: 500 !important;
}

/* 过滤选项区域 */
.filter-section {
    background-color: white;
    padding: 30px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.filter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 500;
    margin-bottom: 0;
}

.filter-group select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.search-box {
    display: flex;
    gap: 10px;
}

.search-box input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    width: 300px;
}

.search-box button {
    padding: 8px 16px;
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.search-box button:hover {
    background: linear-gradient(135deg, #2c5282 0%, #1a365d 100%);
    transform: translateY(-1px);
}

/* 软件列表区域 */
.software-list {
    padding: 40px 0;
}

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

.software-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.software-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #bfdbfe;
}

.software-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #3182ce;
}

.software-content {
    padding: 20px;
}

.software-content h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.software-description {
    margin-bottom: 15px;
    color: #7f8c8d;
    font-size: 0.9rem;
    line-height: 1.5;
}

.software-features {
    margin-bottom: 20px;
}

.software-features ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.software-features li {
    background-color: #f1f5f9;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    color: #475569;
}

.software-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.software-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: #3182ce;
}

.software-buttons {
    display: flex;
    gap: 10px;
}

.btn-outline {
    border: 2px solid #3182ce;
    color: #3182ce;
    background-color: transparent;
    font-weight: 600;
}

.btn-outline:hover {
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    color: white;
    border-color: transparent;
}

/* 分页区域 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination button {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination button:hover:not(:disabled) {
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    color: white;
    border-color: #3182ce;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination .active {
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    color: white;
    border-color: #3182ce;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .filter-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-box input {
        width: 100%;
    }

    .software-grid {
        grid-template-columns: 1fr;
    }

    .software-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .software-buttons {
        width: 100%;
        gap: 10px;
    }

    .software-buttons .btn {
        flex: 1;
        text-align: center;
    }
}

/* 动画效果 */
.software-card {
    animation: fadeIn 0.6s ease-out forwards;
}

.software-card:nth-child(1) { animation-delay: 0.1s; }
.software-card:nth-child(2) { animation-delay: 0.2s; }
.software-card:nth-child(3) { animation-delay: 0.3s; }
.software-card:nth-child(4) { animation-delay: 0.4s; }
.software-card:nth-child(5) { animation-delay: 0.5s; }
.software-card:nth-child(6) { animation-delay: 0.6s; }

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: white;
    border-radius: 12px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e2e8f0;
}

.modal-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #7f8c8d;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: #2c3e50;
}

.modal-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding: 20px 25px;
    border-top: 1px solid #e2e8f0;
}

/* 软件详情样式 */
.software-detail {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.detail-image {
    flex: 0 0 150px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-info {
    flex: 1;
    min-width: 250px;
}

.detail-info h2 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.detail-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: #3182ce;
    margin-bottom: 15px;
}

.detail-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.detail-features h3 {
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 1.1rem;
}

.detail-features ul {
    list-style: none;
    padding: 0;
}

.detail-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #666;
}

.detail-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* 购买信息样式 */
.purchase-info {
    text-align: center;
}

.purchase-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.purchase-info h3 {
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 1.5rem;
}

.purchase-info p {
    color: #666;
    margin-bottom: 25px;
}

.contact-details {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    font-size: 1.25rem;
}

.contact-label {
    font-weight: 600;
    color: #2c3e50;
}

.contact-value {
    color: #666;
}

.countdown-box {
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    color: white;
    border-radius: 8px;
    padding: 20px;
}

.countdown-box p {
    color: white;
    margin: 0 0 10px 0;
}

.countdown-timer {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

/* 响应式设计 */
@media (max-width: 600px) {
    .software-detail {
        flex-direction: column;
    }
    
    .detail-image {
        flex: 0 0 120px;
        width: 100%;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 15px;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
}