/* ==================== 全局样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 主题色 - 与软件保持一致 */
    --primary-color: #4a5568;
    --primary-dark: #2d3748;
    --secondary-color: #1a202c;
    --accent-color: #a0a0a0;
    --text-color: #e0e0e0;
    --bg-color: #1a1a2e;
    --light-gray: #2d2d44;
    --shadow: rgba(0, 0, 0, 0.5);
    
    /* 渐变色 */
    --gradient-primary: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    --gradient-accent: linear-gradient(135deg, #5a9428 0%, #4a7a20 100%);
    
    /* 动画时长 */
    --transition-fast: 0.2s;
    --transition-normal: 0.3s;
    --transition-slow: 0.5s;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 
                 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', 
                 Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== 背景动画 ==================== */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 20s infinite;
}

.particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 30%;
    top: 60%;
    animation-delay: 4s;
}

.particle:nth-child(3) {
    left: 50%;
    top: 40%;
    animation-delay: 8s;
}

.particle:nth-child(4) {
    left: 70%;
    top: 70%;
    animation-delay: 12s;
}

.particle:nth-child(5) {
    left: 90%;
    top: 30%;
    animation-delay: 16s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-100px) translateX(50px);
    }
    50% {
        transform: translateY(-200px) translateX(-50px);
    }
    75% {
        transform: translateY(-100px) translateX(100px);
    }
}

/* ==================== 导航栏 ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px var(--shadow);
    transition: all var(--transition-normal);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.nav-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transform: translateX(-50%);
    transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* ==================== 主页区域 ==================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    margin-bottom: 20px;
}

.title-main {
    display: block;
    font-size: 64px;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.title-sub {
    display: block;
    font-size: 28px;
    font-weight: 600;
    color: var(--text-color);
}

.hero-description {
    font-size: 18px;
    color: var(--accent-color);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.feature-tag {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-color);
    transition: all var(--transition-normal);
}

.feature-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 4px 15px rgba(90, 148, 40, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(90, 148, 40, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.btn-icon {
    font-size: 20px;
}

.hero-image {
    position: relative;
}

.image-container {
    position: relative;
}

.preview-image {
    width: 70%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.image-container:hover .preview-image {
    /* 移除悬停放大效果 */
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(90, 148, 40, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-slow);
    pointer-events: none;
}

.image-container:hover .image-glow {
    opacity: 1;
}

/* ==================== 通用区域样式 ==================== */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--accent-color);
    margin-bottom: 60px;
}

/* ==================== 功能特性区域 ==================== */
.features-section {
    background: rgba(255, 255, 255, 0.02);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all var(--transition-normal);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(90, 148, 40, 0.5);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-desc {
    font-size: 15px;
    color: var(--accent-color);
    line-height: 1.8;
}

/* ==================== 软件预览区域 ==================== */
.preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.preview-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px var(--shadow);
}

.preview-img {
    width: 100%;
    height: auto;
    display: block;
}

.preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 30px;
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.preview-item:hover .preview-img {
    /* 移除悬停放大效果 */
}

.preview-item:hover .preview-overlay {
    transform: translateY(0);
}

.preview-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.preview-desc {
    font-size: 14px;
    color: var(--accent-color);
}

/* ==================== 下载区域 ==================== */
.download-section {
    background: rgba(255, 255, 255, 0.02);
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.download-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
}

.download-card.featured {
    border-color: rgba(90, 148, 40, 0.5);
    background: rgba(90, 148, 40, 0.05);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-accent);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow);
}

.download-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.download-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.download-desc {
    font-size: 16px;
    color: var(--accent-color);
    margin-bottom: 25px;
}

.download-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.download-features li {
    padding: 8px 0;
    color: var(--text-color);
    font-size: 15px;
}

.btn-download {
    width: 100%;
    background: var(--gradient-accent);
    color: #fff;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all var(--transition-normal);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(90, 148, 40, 0.4);
}

.download-notice {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.download-notice p {
    margin: 8px 0;
    color: var(--text-color);
    font-size: 14px;
}

/* ==================== 关于区域 ==================== */
.about-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.about-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    transition: all var(--transition-normal);
}

.about-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.about-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.about-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
}

.about-desc {
    font-size: 14px;
    color: var(--accent-color);
    line-height: 1.8;
}

.about-list {
    list-style: none;
}

.about-list li {
    padding: 8px 0;
    color: var(--text-color);
    font-size: 15px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    padding: 8px 16px;
    background: rgba(90, 148, 40, 0.1);
    border: 1px solid rgba(90, 148, 40, 0.3);
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-color);
}

/* 联系方式样式 */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: rgba(90, 148, 40, 0.08);
    border: 1px solid rgba(90, 148, 40, 0.2);
    border-radius: 12px;
    transition: all var(--transition-normal);
}

.contact-item:hover {
    background: rgba(90, 148, 40, 0.12);
    border-color: rgba(90, 148, 40, 0.3);
    transform: translateX(5px);
}

.contact-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.contact-label {
    font-size: 12px;
    color: var(--accent-color);
    font-weight: 500;
}

.contact-value {
    font-size: 16px;
    color: var(--text-color);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.about-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    transition: all var(--transition-normal);
}

.about-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.link-icon {
    width: 20px;
    height: 20px;
}

/* ==================== 页脚 ==================== */
.footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 50px 0;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.footer-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
}

.footer-text {
    font-size: 16px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.footer-copyright {
    font-size: 14px;
    color: var(--accent-color);
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer-note {
    font-size: 14px;
    color: var(--text-color);
    font-weight: 600;
}

.footer-icp {
    margin-top: 15px;
    font-size: 13px;
}

.footer-icp a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-icp a:hover {
    color: var(--text-color);
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .title-main {
        font-size: 48px;
    }
    
    .title-sub {
        font-size: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .preview-grid {
        grid-template-columns: 1fr;
    }
    
    .download-cards {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==================== 滚动动画 ==================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
