/* 现代布局系统 - 完全独立设计 */

/* 基础布局样式 */
.modern-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 软件列表基础样式 */
.software-list {
    margin-top: 30px;
}

.software-list-item {
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.software-info h3 {
    margin: 0 0 10px 0;
    font-size: 1.3em;
}

.software-info h3 a {
    color: #2c3e50;
    text-decoration: none;
}

.software-info h3 a:hover {
    color: #3498db;
    text-decoration: underline;
}

.software-info .brief {
    margin: 0 0 10px 0;
    color: #666;
    line-height: 1.5;
}

.software-info .meta {
    margin: 0;
    font-size: 0.9em;
    color: #888;
}

.software-info .price {
    margin-right: 10px;
    padding: 4px 8px;
    background: #e9ecef;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: bold;
}

.software-info .download-link {
    color: #3498db;
    text-decoration: none;
    margin-left: 10px;
}

.software-info .download-link:hover {
    text-decoration: underline;
}

.badge {
    display: inline-block;
    padding: 2px 6px;
    font-size: 0.75em;
    font-weight: bold;
    border-radius: 3px;
    margin-left: 5px;
}

.badge.recommended {
    background-color: #28a745;
    color: white;
}

.badge.latest {
    background-color: #007cba;
    color: white;
}

/* 布局1：商务专业风格 */
.modern-layout.layout-business {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.modern-layout.layout-business .modern-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    margin: 20px auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.modern-layout.layout-business .software-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.modern-layout.layout-business .software-list-item {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    margin-bottom: 0;
}

.modern-layout.layout-business .software-list-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

/* 布局2：现代简约风格 */
.modern-layout.layout-minimalist {
    background: #f8f9fa;
}

.modern-layout.layout-minimalist .modern-content {
    background: white;
    border-radius: 0;
    padding: 60px 40px;
    margin: 0 auto;
    box-shadow: none;
    border-left: 4px solid #e9ecef;
}

.modern-layout.layout-minimalist .software-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 30px;
}

.modern-layout.layout-minimalist .software-list-item {
    background: white;
    border: none;
    border-left: 4px solid #e9ecef;
    padding: 30px;
    margin-bottom: 0;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 0;
    box-shadow: none;
}

.modern-layout.layout-minimalist .software-list-item:hover {
    border-left-color: #007bff;
    background: #f8f9ff;
    transform: translateX(10px);
}

/* 布局3：创意卡片风格 */
.modern-layout.layout-creative {
    background: linear-gradient(45deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    padding: 20px;
}

.modern-layout.layout-creative .modern-content {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 40px;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.modern-layout.layout-creative .software-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.modern-layout.layout-creative .software-list-item {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: none;
    margin-bottom: 0;
}

.modern-layout.layout-creative .software-list-item:hover {
    transform: translateY(-15px) rotate(2deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* 布局4：科技未来风格 */
.modern-layout.layout-tech {
    background: #0a0a0a;
    color: #ffffff;
}

.modern-layout.layout-tech .modern-header {
    background: rgba(26, 26, 46, 0.95);
    border-bottom: 1px solid #333;
}

.modern-layout.layout-tech .modern-logo {
    color: #00d4ff;
}

.modern-layout.layout-tech .modern-nav .nav-item a {
    color: #ccc;
}

.modern-layout.layout-tech .modern-nav .nav-item a:hover,
.modern-layout.layout-tech .modern-nav .nav-item.active a {
    color: #00d4ff;
}

.modern-layout.layout-tech .modern-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 15px;
    padding: 40px;
    margin: 20px auto;
    border: 1px solid #333;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.1);
}

.modern-layout.layout-tech .software-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.modern-layout.layout-tech .software-list-item {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border: 1px solid #4a5568;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    box-shadow: none;
}

.modern-layout.layout-tech .software-list-item:hover {
    border-color: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    transform: translateY(-5px);
}

.modern-layout.layout-tech .software-info h3 a {
    color: #00d4ff !important;
}

.modern-layout.layout-tech .software-info h3 a:hover {
    color: #ffffff !important;
}

.modern-layout.layout-tech .software-info .brief {
    color: #e0e0e0 !important;
}

.modern-layout.layout-tech .software-info .meta {
    color: #b0b0b0 !important;
}

.modern-layout.layout-tech .software-info .download-link {
    color: #00d4ff !important;
}

.modern-layout.layout-tech .software-info .download-link:hover {
    color: #ffffff !important;
}

/* 布局5：自然清新风格 */
.modern-layout.layout-nature {
    background: linear-gradient(135deg, #a8e6cf 0%, #dcedc1 100%);
}

.modern-layout.layout-nature .modern-content {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    padding: 50px 40px;
    margin: 30px auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.modern-layout.layout-nature .software-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.modern-layout.layout-nature .software-list-item {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.modern-layout.layout-nature .software-list-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: #4caf50;
}

/* 布局6：复古怀旧风格 */
.modern-layout.layout-vintage {
    background: linear-gradient(135deg, #f4e4bc 0%, #e8d5b7 100%);
    font-family: 'Georgia', serif;
}

.modern-layout.layout-vintage .modern-content {
    background: #faf8f3;
    border: 3px solid #8b4513;
    border-radius: 0;
    padding: 40px;
    margin: 20px auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modern-layout.layout-vintage .software-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.modern-layout.layout-vintage .software-list-item {
    background: #fff8dc;
    border: 2px solid #daa520;
    border-radius: 0;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: 0;
    box-shadow: none;
}

.modern-layout.layout-vintage .software-list-item:hover {
    background: #f5deb3;
    border-color: #b8860b;
    transform: translateX(10px);
}

/* 响应式设计 */
@@media (max-width: 768px) {
    .modern-layout.layout-business .software-list,
    .modern-layout.layout-creative .software-list,
    .modern-layout.layout-tech .software-list,
    .modern-layout.layout-nature .software-list {
        grid-template-columns: 1fr;
    }
    
    .modern-layout.layout-business .modern-content,
    .modern-layout.layout-minimalist .modern-content,
    .modern-layout.layout-creative .modern-content,
    .modern-layout.layout-tech .modern-content,
    .modern-layout.layout-nature .modern-content,
    .modern-layout.layout-vintage .modern-content {
        padding: 20px;
        margin: 10px;
    }
}
