:root {
    --primary-gradient: linear-gradient(135deg, #1976D2, #0D47A1);
    --secondary-gradient: linear-gradient(135deg, #4CAF50, #2E7D32);
    --accent-gradient: linear-gradient(135deg, #FF9800, #F57C00);
    --dark-bg: #121212;
    --card-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    font-family: 'Roboto', 'Noto Sans SC', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    overflow-x: hidden;
}

.hero-section {
    background: var(--primary-gradient);
    color: white;
    padding: 120px 0 100px;
    height: 35vh;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjAzKSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.stats-section {
    padding: 60px 0;
    background: var(--dark-bg);
    color: white;
    overflow: hidden;
}

.stat-item {
    text-align: center;
    padding: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.stat-item:nth-child(1) {
    transition-delay: 0.1s;
}

.stat-item:nth-child(2) {
    transition-delay: 0.3s;
}

.stat-item:nth-child(3) {
    transition-delay: 0.5s;
}

.stat-item:nth-child(4) {
    transition-delay: 0.7s;
}

.stat-item.animated {
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-gradient);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.download-card {
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
    border: none;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.download-card .mdui-card-primary {
    padding: 30px 20px 20px;
}

.download-card .mdui-card-content {
    padding: 0 20px 20px;
}

.version-badge {
    position: absolute;
    top: 15px;
    right: 20px;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: bold;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.standard-badge {
    background: var(--primary-gradient);
}

.light-badge {
    background: var(--secondary-gradient);
}

.pro-badge {
    background: var(--accent-gradient);
}

footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 60px 0 20px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-gradient);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--primary-gradient);
    transform: translateY(-3px);
}

.logo {
    font-weight: bold;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
}

.logo-icon {
    margin-right: 10px;
    font-size: 1.5em;
}

.animated-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    z-index: 1;
}

.animated-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
    z-index: -1;
}

.animated-button:hover::before {
    left: 0;
}

.parallax-bg {
    background-image: url('img/photo-1518770660439-4636190af475.png');
    min-height: 400px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.stats-section {
    padding: 60px 0;
    background: var(--dark-bg);
    color: white;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.testimonial-card {
    padding: 30px;
    margin: 15px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-quote {
    font-style: italic;
    position: relative;
    padding-left: 20px;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 2em;
    color: rgba(0, 0, 0, 0.1);
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    object-fit: cover;
}

.floating-linux {
    position: absolute;
    animation: float 6s ease-in-out infinite;
    opacity: 0.1;
    z-index: 1;
}

.count-up {
    animation: countUp 1.5s ease-out forwards;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.linux-1 {
    top: 20%;
    left: 5%;
    animation-delay: 0s;
}

.linux-2 {
    top: 60%;
    left: 80%;
    animation-delay: 1s;
}

.linux-3 {
    top: 30%;
    left: 70%;
    animation-delay: 2s;
}

.linux-4 {
    top: 70%;
    left: 10%;
    animation-delay: 3s;
}

/* 响应式调整 */
@media (max-width: 600px) {
    .hero-section {
        padding: 100px 0 80px;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .feature-card,
    .download-card {
        margin-bottom: 20px;
    }
}