/* style.css */
/* 基础样式 */
:root {
    --primary-color: #0a74da;
    --secondary-color: #00a86b;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --terminal-green: #00ff41;
    --terminal-blue: #0066ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Share Tech Mono', monospace;
    background-color: #0d1117;
    color: #c9d1d9;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.header {
    background-color: rgba(13, 17, 23, 0.95);
    border-bottom: 1px solid #30363d;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--terminal-green);
    font-family: 'Orbitron', sans-serif;
}

.logo i {
    margin-right: 10px;
    font-size: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #c9d1d9;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
    padding: 5px 0;
    position: relative;
}

.nav-links a:hover {
    color: var(--terminal-green);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--terminal-green);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 英雄区域样式 */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
}

.hero .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--terminal-green);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #8b949e;
    max-width: 600px;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #0956b3;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(10, 116, 218, 0.3);
}

.hero-image {
    flex: 1;
    min-width: 300px;
    margin-top: 40px;
}

/* 图片轮播样式 */
.slideshow-container {
    background-color: #161b22;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #30363d;
}

.slides {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0d1117;
}

.slide.active {
    opacity: 1;
}

.slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 5px;
}

.slideshow-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #0d1117;
    border-top: 1px solid #30363d;
}

.slideshow-btn {
    background-color: #21262d;
    color: #c9d1d9;
    border: 1px solid #30363d;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.slideshow-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.slide-indicators {
    display: flex;
    gap: 10px;
}

.slide-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #30363d;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slide-indicator.active {
    background-color: var(--terminal-green);
}

/* 特性区域样式 */
.features {
    padding: 80px 0;
    background-color: #161b22;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--terminal-green);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #0d1117;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    border: 1px solid #30363d;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 255, 65, 0.1);
    border-color: var(--terminal-green);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--terminal-green);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #f0f6fc;
}

.feature-description {
    color: #8b949e;
}

/* 下载区域样式 */
.download {
    padding: 80px 0;
    background-color: #0d1117;
}

.download-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background-color: #161b22;
    border-radius: 10px;
    padding: 40px;
    border: 1px solid #30363d;
}

.download-info {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.download-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--terminal-green);
}

.download-info p {
    margin-bottom: 15px;
    color: #8b949e;
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-download i {
    margin-right: 10px;
}

.btn-download:hover {
    background-color: #0956b3;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(10, 116, 218, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background-color: transparent;
    color: var(--terminal-green);
    padding: 15px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    border: 1px solid var(--terminal-green);
    transition: all 0.3s;
}

.btn-secondary i {
    margin-right: 10px;
}

.btn-secondary:hover {
    background-color: rgba(0, 255, 65, 0.1);
    transform: translateY(-3px);
}

.note {
    background-color: rgba(10, 116, 218, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 15px;
    border-radius: 0 4px 4px 0;
}

.note i {
    color: var(--primary-color);
    margin-right: 10px;
}

.download-image {
    flex: 1;
    min-width: 250px;
    display: flex;
    justify-content: center;
}

.download-icon {
    font-size: 10rem;
    color: rgba(10, 116, 218, 0.2);
}

/* 关于区域样式 */
.about {
    padding: 80px 0;
    background-color: #161b22;
}

.about-content {
    background-color: #0d1117;
    border-radius: 10px;
    padding: 40px;
    border: 1px solid #30363d;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--terminal-green);
}

.about-text p {
    margin-bottom: 20px;
    color: #8b949e;
}

.about-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.about-link {
    display: inline-flex;
    align-items: center;
    background-color: #21262d;
    color: #c9d1d9;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
}

.about-link i {
    margin-right: 10px;
}

.about-link:hover {
    background-color: var(--primary-color);
    color: white;
}

/* 页脚样式 */
.footer {
    background-color: #0d1117;
    border-top: 1px solid #30363d;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--terminal-green);
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 20px;
}

.footer-logo i {
    margin-right: 10px;
    font-size: 2rem;
}

.footer-description {
    color: #8b949e;
    margin-bottom: 20px;
}

.copyright {
    color: #6c757d;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .download-content {
        flex-direction: column;
        text-align: center;
    }
    
    .download-info {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    .slides {
        height: 250px;
    }
}