/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #3498db;
    --primary-dark: #2980b9;
    --secondary: #2c3e50;
    --accent: #e74c3c;
    --light: #ecf0f1;
    --dark: #1a1a2e;
    --gray: #7f8c8d;
    --success: #2ecc71;
    --card-bg: rgba(30, 30, 46, 0.8);
}

body {
    background-color: #121212;
    color: #f0f0f0;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo i {
    font-size: 2.2rem;
    color: var(--primary);
}

.logo h1 {
    font-size: 1.8rem;
    background: linear-gradient(90deg, var(--primary), #9b59b6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo span {
    color: var(--primary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 8px 0;
    position: relative;
}

nav a:hover {
    color: var(--primary);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    left: 0;
    bottom: 0;
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)), url('https://images.unsplash.com/photo-1580137189272-c9379f8864fd?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 60px;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #ddd;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.6);
}

/* 内容区域 */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.2rem;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--primary);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title i {
    margin-right: 10px;
    color: var(--primary);
}

/* 下载区域 */
.download-section {
    margin-bottom: 80px;
}

.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.software-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.software-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.software-icon {
    padding: 25px 20px;
    background: rgba(52, 152, 219, 0.1);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.software-icon i {
    font-size: 3rem;
    color: var(--primary);
}

.software-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.software-content h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 10px;
}

.software-info {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.software-info span {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 0.85rem;
}

.software-info .version {
    background: rgba(52, 152, 219, 0.2);
    color: var(--primary);
}

.software-info .size {
    background: rgba(46, 204, 113, 0.2);
    color: var(--success);
}

.software-info .os {
    background: rgba(155, 89, 182, 0.2);
    color: #9b59b6;
}

.software-description {
    color: #bbb;
    margin-bottom: 20px;
    flex-grow: 1;
}

.software-features {
    list-style: none;
    margin-bottom: 25px;
}

.software-features li {
    margin-bottom: 10px;
    color: #ccc;
}

.software-features li i {
    color: var(--success);
    margin-right: 8px;
}

.software-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    flex-grow: 1;
    text-align: center;
}

.download-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.download-btn.secondary {
    background: rgba(52, 152, 219, 0.2);
    color: var(--primary);
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.download-btn.secondary:hover {
    background: var(--primary);
    color: white;
}

/* 使用指南区域 */
.guide-section {
    background: rgba(30, 30, 46, 0.6);
    border-radius: 12px;
    padding: 60px 40px;
    margin-bottom: 80px;
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.guide-step {
    text-align: center;
    padding: 25px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.guide-step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: white;
}

.guide-step p {
    color: #bbb;
}

.tips {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 30px;
    border-left: 5px solid var(--success);
}

.tips h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tips h3 i {
    color: var(--success);
}

.tips ul {
    list-style: none;
}

.tips li {
    margin-bottom: 10px;
    color: #ccc;
    padding-left: 25px;
    position: relative;
}

.tips li:before {
    content: '•';
    color: var(--success);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

/* 下载模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--dark);
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    position: relative;
    border: 1px solid rgba(52, 152, 219, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: white;
}

.modal h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: white;
}

.modal p {
    color: #bbb;
    margin-bottom: 25px;
}

.modal-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.modal-link {
    display: block;
    background: rgba(52, 152, 219, 0.1);
    color: var(--primary);
    padding: 14px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s;
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.modal-link:hover {
    background: var(--primary);
    color: white;
}

.modal-info {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 15px;
}

.modal-info p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-info i {
    color: var(--primary);
}

/* 页脚 */
footer {
    background: var(--dark);
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--primary);
    bottom: 0;
    left: 0;
}
