* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #1a1a1a;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: #2c2c2c;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;

}

.header .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
    position: relative;
}

.logo {
    position: absolute;
    left: 20px;
}

.logo-image {
    height: 40px;
    width: auto;
    display: block;
}

.nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.nav ul li {
    margin: 0 20px;
}

.nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 16px;
}

.nav ul li a:hover {
    color: #e74c3c;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 16px;
    text-transform: uppercase;
}

.btn-primary {
    background-color: #e74c3c;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
}

.btn-primary:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

/* Hero Section */
.hero {
    height: 500px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-copyright {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 12px;
    text-align: center;
}

/* Section Common Styles */
section {
    padding: 80px 0;
    background-color: #2c2c2c;
}

section h2 {
    text-align: center;
    font-size: 36px;
    color: #e74c3c;
    margin-bottom: 50px;
    font-weight: 700;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #e74c3c;
    border-radius: 2px;
}

/* Features Section */
.features-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.feature-card {
    background-color: #3a3a3a;
    padding: 25px 35px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);

    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(231, 76, 60, 0.05);
    transition: width 0.3s ease;
}

.feature-card:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.feature-card:hover::before {
    width: 100%;
}

.feature-content {
    z-index: 1;
}

.feature-card h3 {
    font-size: 22px;
    color: #e74c3c;
    margin-bottom: 10px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.feature-card:hover h3 {
    color: #c0392b;
}

.feature-card p {
    color: #cccccc;
    line-height: 1.7;
    font-size: 15px;
    margin: 0;
    transition: color 0.3s ease;
}

.feature-card:hover p {
    color: #ffffff;
}

/* About Section */
.about {
    background-color: #3a3a3a;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 16px;
    color: #cccccc;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Footer */
.footer {
    background-color: #2c2c2c;
    color: #ffffff;
    text-align: center;
    padding: 30px 0;
}

.footer p {
    opacity: 0.8;
    font-size: 14px;
}

/* Download Page Styles */
.download-hero {
    background-color: #e74c3c;
    color: white;
    padding: 60px 0;
    text-align: center;
    }

.download-hero h2 {
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #ffffff;
}

.download-hero p {
    font-size: 16px;
    margin-bottom: 0;
    opacity: 0.9;
    color: #ffffff;
}

.download-section {
    background-color: #2c2c2c;
    padding: 60px 0;
    }

.download-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #3a3a3a;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.download-item-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.download-item-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
}

/* 为所有图标添加统一的容器，确保视觉大小一致 */
.download-item-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* 为鸿蒙SVG图标添加深色背景，解决白色图标在白色背景上不显示的问题 */
.download-item-img[src="HarmonyOS0115.svg"] {
    background-color: #007aff;
    padding: 8px;
    border-radius: 8px;
    width: 60px;
    height: 60px;
}

.download-item-info {
    display: flex;
    flex-direction: column;
}

.download-item-info h3 {
    font-size: 18px;
    color: #e74c3c;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.download-item-info p {
    font-size: 14px;
    color: #cccccc;
    margin: 0;
}

.download-item .btn {
    margin: 0;
    white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 10px;
        padding: 10px 20px;
    }

    .logo {
        position: static;
        margin-bottom: 10px;
    }

    .nav ul li {
        margin: 0 10px;
    }

    .nav ul li a {
        font-size: 14px;
    }

    .hero {
        height: 400px;
    }

    section {
        padding: 50px 0;
    }

    section h2 {
        font-size: 28px;
    }
    
    .download-item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px;
    }
    
    .download-item-left {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .nav ul {
        flex-wrap: wrap;
    }

    .nav ul li {
        margin: 5px 10px;
    }

    .hero {
        height: 300px;
    }

    section {
        padding: 40px 0;
    }

    section h2 {
        font-size: 24px;
    }

    .features-grid {
        gap: 20px;
    }

    .feature-card {
        padding: 20px;
    }
}