:root {
    --primary: #0d0e17;
    --secondary: #1a1c38;
    --accent: #00c8ff;
    --accent-secondary: #ff2d95;
    --text: #ffffff;
    --text-secondary: #b0b0ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a {
    text-decoration: none; /* 去除下划线 */
    color: inherit;        /* 继承父元素颜色 */
}

body {
    font-family: 'Roboto', sans-serif;
    background: var(--primary);
    color: var(--text);
    overflow-x: hidden;
    background-image:
            radial-gradient(circle at 10% 20%, rgba(0, 200, 255, 0.05) 0%, transparent 20%),
            radial-gradient(circle at 90% 80%, rgba(255, 45, 149, 0.05) 0%, transparent 20%);
}

/* 星空背景动画 */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.star {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    animation: twinkle var(--duration) infinite ease-in-out;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1); }
}

/* 导航栏 */
.navbar {
    background: rgba(13, 14, 23, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 40px;
    border-bottom: 1px solid rgba(0, 200, 255, 0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 200, 255, 0.3);
    letter-spacing: 1px;
}

.nav-link {
    color: var(--text-secondary) !important;
    margin: 0 15px;
    font-weight: 400;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text) !important;
}

.nav-link:hover::after {
    width: 100%;
}

/* 轮播图 */
#mainCarousel {
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.carousel-inner {
    height: 100%;
    position: relative;
}

.carousel-item {
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.carousel-item.active {
    opacity: 1;
    z-index: 1;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(13, 14, 23, 0.9) 20%, rgba(13, 14, 23, 0.5) 50%);
}

.carousel-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 10%;
    max-width: 50%;
    z-index: 2;
}

.carousel-subtitle {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.carousel-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    margin-bottom: 25px;
    line-height: 1.1;
    text-shadow: 0 0 20px rgba(0, 200, 255, 0.3);
}

.carousel-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.btn-group {
    display: flex;
    gap: 20px;
}

.download-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
    z-index: -1;
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    transition: clip-path 0.5s ease;
}

.download-btn:hover::before {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.download-btn:hover {
    box-shadow: 0 0 25px rgba(0, 200, 255, 0.3);
}

.download-btn i {
    margin-left: 8px;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent);
}

/* 特征亮点 */
.features {
    padding: 100px 10%;
    text-align: center;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 70px;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text);
}

.feature-text {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 系统需求 */
.system-requirements {
    padding: 100px 10%;
    background: var(--secondary);
    border-top: 1px solid rgba(0, 200, 255, 0.1);
    border-bottom: 1px solid rgba(0, 200, 255, 0.1);
}

.specs-container {
    display: flex;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.specs-box {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.specs-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--accent);
    position: relative;
    padding-bottom: 15px;
}

.specs-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--accent);
}

.specs-list {
    list-style: none;
}

.specs-list li {
    margin: 20px 0;
    padding-left: 25px;
    position: relative;
}

.specs-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: bold;
}

/* 轮播控制器 */
.carousel-controls {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--accent);
    box-shadow: 0 0 10px rgba(0, 200, 255, 0.7);
}

/* 媒体查询 */
@media (max-width: 992px) {
    .carousel-content {
        max-width: 90%;
    }

    .section-title {
        font-size: 2rem;
    }

    .specs-container {
        flex-direction: column;
    }

    .carousel-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .carousel-title {
        font-size: 2.5rem;
    }

    .btn-group {
        flex-direction: column;
        gap: 15px;
    }

    .download-btn {
        padding: 15px;
    }

    .carousel-content {
        padding: 0 5%;
        max-width: 100%;
    }
}

/* 底部备案信息 */
footer {
    background: rgba(5, 6, 14, 0.95);
    padding: 50px 5% 30px;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
}

.footer-about {
    max-width: 300px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-section {
    min-width: 200px;
}

.footer-title {
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin: 15px 0;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a i {
    margin-right: 10px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-links a:hover i {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-info {
    margin: 15px 0;
    line-height: 1.6;
}

.record-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.record-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
}