/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #333333;
    --accent-color: #ff6b00;
    --light-color: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    --gray-dark: #999999;
    --gradient-primary: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b00 0%, #ff9900 100%);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    background: url('../tp/库图标2.png') no-repeat center center fixed;
    background-size: cover;
    overflow-x: hidden;
    background-color: transparent;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn-primary {
    background: var(--gradient-accent);
    color: var(--light-color);
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    padding: 14px 32px;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

/* 头部样式 */
.header {
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 5px 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
}

.logo h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    padding: 10px 0;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.nav-menu a:hover:after {
    width: 100%;
}

/* 英雄区域 */
.hero {
    padding: 150px 0;
    background: rgba(255, 255, 255, 0.7);
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 107, 0, 0.1) 0%, transparent 70%);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h2 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.1;
    letter-spacing: -2px;
    transform: skew(-5deg);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    color: var(--secondary-color);
    line-height: 1.6;
    transform: skew(-3deg);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

/* 功能区域 */
.features {
    padding: 150px 0;
    background: rgba(255, 255, 255, 0.7);
}

.features h2 {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 100px;
    letter-spacing: -1px;
    position: relative;
}

.features h2:after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    padding: 60px 40px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 64px;
    margin-bottom: 30px;
    display: inline-block;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--secondary-color);
    font-size: 16px;
    line-height: 1.6;
}

/* 展示区域 */
.showcase {
    padding: 150px 0;
    background: rgba(245, 245, 245, 0.7);
    position: relative;
}

.showcase .container {
    display: flex;
    align-items: center;
    gap: 100px;
}

.showcase-content {
    flex: 1;
    max-width: 600px;
}

.showcase-content h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: -1px;
    color: var(--primary-color);
}

.showcase-content p {
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--secondary-color);
    line-height: 1.6;
}

.showcase-list {
    list-style: none;
}

.showcase-list li {
    padding: 15px 0;
    position: relative;
    padding-left: 40px;
    font-size: 16px;
    font-weight: 500;
    color: var(--secondary-color);
}

.showcase-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 20px;
    width: 30px;
    height: 30px;
    background-color: rgba(255, 107, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 12px;
}

.showcase-image {
    flex: 1;
    position: relative;
}

.showcase-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* 评价区域 */
.testimonials {
    padding: 150px 0;
    background-color: var(--light-color);
}

.testimonials h2 {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 100px;
    letter-spacing: -1px;
    position: relative;
}

.testimonials h2:after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

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

.testimonial-card {
    background-color: var(--light-color);
    padding: 60px 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-card:before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 80px;
    font-weight: bold;
    color: rgba(255, 107, 0, 0.1);
    line-height: 1;
}

.testimonial-card p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: var(--secondary-color);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.author-name {
    font-weight: 700;
    font-size: 16px;
    color: var(--primary-color);
}

.author-title {
    font-size: 14px;
    color: var(--gray-dark);
}

/* 开源信息区域 */
.open-source-section {
    padding: 150px 0;
    background: rgba(255, 255, 255, 0.7);
}

.open-source-section h2 {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -1px;
    position: relative;
}

.open-source-section h2:after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.open-source-section p {
    text-align: center;
    font-size: 18px;
    margin-bottom: 80px;
    color: var(--secondary-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.open-source-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
}

.open-source-item {
    background: rgba(255, 255, 255, 0.8);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.open-source-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.open-source-item h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.open-source-item p {
    text-align: left;
    margin-bottom: 0;
    color: var(--secondary-color);
}

.open-source-item a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.open-source-item a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* 下载区域 */
.download-section {
    padding: 150px 0;
    background: rgba(26, 26, 26, 0.85);
    color: var(--light-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 107, 0, 0.1) 0%, transparent 70%);
}

.download-section .container {
    position: relative;
    z-index: 2;
}

.download-section h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.download-section p {
    font-size: 20px;
    margin-bottom: 60px;
    color: rgba(255, 255, 255, 0.8);
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.download-buttons .btn-primary {
    background: var(--light-color);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.download-buttons .btn-primary:hover {
    background: var(--accent-color);
    color: var(--light-color);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

/* 页脚 */
.footer {
    background: rgba(26, 26, 26, 0.85);
    color: var(--light-color);
    padding: 100px 0 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.footer-links h4:after,
.footer-contact h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 10px 0;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .hero-content h2,
    .features h2,
    .showcase-content h2,
    .testimonials h2,
    .download-section h2 {
        font-size: 40px;
    }
    
    .hero .container,
    .showcase .container {
        gap: 60px;
    }
}

@media (max-width: 992px) {
    .hero .container,
    .showcase .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content,
    .showcase-content {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features,
    .showcase,
    .testimonials,
    .download-section,
    .footer {
        padding: 100px 0;
    }
}

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 20px;
        padding: 10px 0;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .hero-content h2 {
        font-size: 32px;
    }
    
    .features h2,
    .showcase-content h2,
    .testimonials h2,
    .download-section h2 {
        font-size: 32px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-card,
    .testimonial-card {
        padding: 40px 30px;
    }
}

@media (max-width: 576px) {
    .hero-content h2 {
        font-size: 28px;
    }
    
    .hero-content p,
    .showcase-content p,
    .download-section p {
        font-size: 16px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .features h2,
    .showcase-content h2,
    .testimonials h2,
    .download-section h2 {
        font-size: 28px;
    }
}