/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #121212;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* 背景效果 */
.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #12121f 0%, #1a1a2a 100%);
    z-index: 0;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5em;
    color: #ffffff;
}

a {
    text-decoration: none;
    color: #ff5722;
    transition: all 0.3s ease;
}

a:hover {
    color: #ff7a50;
}

/* 头部样式 */
header {
    background-color: rgba(30, 30, 46, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #b0b0b0;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff5722;
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: #ffffff;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a.active {
    color: #ff5722;
    font-weight: 600;
}

nav ul li a.active::after {
    width: 100%;
}

/* 英雄区样式 */
.hero {
    padding: 100px 0 50px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 550px;
    position: relative;
}

.glowing-text {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.glowing-text h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 87, 34, 0.3);
    background: linear-gradient(90deg, #ffffff, #ff5722);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-content p {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 30px;
}

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.device-mockup {
    position: relative;
    width: 80%;
    max-width: 500px;
    border-radius: 12px;
    background: #252530;
    padding: 20px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transform: perspective(1200px) rotateY(-10deg) rotateX(5deg);
    transition: all 0.5s ease;
}

.device-mockup:hover {
    transform: perspective(1200px) rotateY(-5deg) rotateX(2deg) translateY(-10px);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset,
        0 0 30px rgba(255, 87, 34, 0.2);
}

.device-mockup img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.reflection {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0) 50%
    );
    border-radius: 12px;
    pointer-events: none;
}

.hero-wave {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.hero-wave svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
    transform: rotateY(180deg);
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(0);
}

.btn-primary {
    background: linear-gradient(135deg, #ff5722 0%, #ff7043 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #ff5722;
    border: 2px solid #ff5722;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.1);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.2);
    background: rgba(255, 87, 34, 0.1);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.btn-download {
    background: linear-gradient(135deg, #ff5722 0%, #ff7043 100%);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
    padding: 15px 24px;
    border-radius: 8px;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.4);
    color: #ffffff; /* 添加这行确保hover时文字颜色保持白色 */
}

/* 如果按钮内有图标和文字，确保它们在hover时也保持可见 */
.btn-download .btn-icon,
.btn-download .btn-text {
    color: #ffffff;
    transition: all 0.3s ease;
}

.btn-download:hover .btn-icon,
.btn-download:hover .btn-text {
    color: #ffffff;
}

/* 下载区域样式 */
.download-section {
    padding: 80px 0;
    position: relative;
    background-color: #121212;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff5722 0%, #ff7043 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 24px;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.3);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-header p {
    color: #b0b0b0;
    font-size: 1.1rem;
}

.download-options {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 60px;
}

.download-card {
    width: 350px;
    height: 320px;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    background: #1e1e2e;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 87, 34, 0.3);
}

.platform-icon-wrapper {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: #ff5722;
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.2) 0%, rgba(255, 87, 34, 0.05) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.download-card:hover .platform-icon-wrapper {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.8) 0%, rgba(255, 87, 34, 0.6) 100%);
}

.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.download-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.download-card p {
    color: #a0a0a0;
    margin-bottom: 20px;
    text-align: center;
    font-size: 0.95rem;
    flex: 1;
}

.download-buttons {
    margin-top: auto;
}

/* 系统要求样式 */
.system-requirements {
    margin-top: 60px;
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 16px;
    background: rgba(30, 30, 46, 0.5);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.system-requirements h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
}
/* 系统要求样式 (续) */
.requirements-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
}

.requirement {
    flex: 1;
    min-width: 280px;
    background: rgba(30, 30, 46, 0.7);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.requirement:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 87, 34, 0.3);
}

.requirement-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.requirement-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.2) 0%, rgba(255, 87, 34, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 20px;
    color: #ff5722;
}

.requirement h4 {
    margin-bottom: 0;
    font-size: 1.3rem;
    color: #ffffff;
}

.requirement ul {
    list-style-type: none;
}

.requirement ul li {
    margin-bottom: 12px;
    color: #a0a0a0;
    position: relative;
    padding-left: 25px;
}

.requirement ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff5722;
    font-weight: bold;
}

/* 安装指南样式 */
.installation-guide {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    z-index: 2;
}

.installation-tabs {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(30, 30, 46, 0.7);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tab-buttons {
    display: flex;
    background: rgba(20, 20, 30, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tab-btn {
    flex: 1;
    background-color: transparent;
    border: none;
    padding: 20px;
    font-size: 1rem;
    font-weight: 600;
    color: #a0a0a0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tab-btn i {
    font-size: 1.2rem;
}

.tab-btn.active {
    color: #ff5722;
    background: rgba(255, 87, 34, 0.1);
}

.tab-content {
    padding: 30px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.step-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff5722 0%, #ff7043 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 5px 10px rgba(255, 87, 34, 0.3);
}

.step-text {
    color: #e0e0e0;
    padding-top: 5px;
}

/* 页脚样式 */
footer {
    background-color: #0a0a14;
    color: #888888;
    padding: 60px 0 30px;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
    margin-right: 30px;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.link-group h4 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.2) 0%, rgba(255, 87, 34, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ff5722;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.8) 0%, rgba(255, 87, 34, 0.6) 100%);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(255, 87, 34, 0.3);
}

.copyright {
    text-align: center;
    border-top: 1px solid #222230;
    padding-top: 30px;
    font-size: 0.9rem;
    color: #666666;
}

/* 动画效果 */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 87, 34, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 87, 34, 0);
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 60px;
        max-width: 100%;
    }

    .glowing-text h2 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        justify-content: center;
    }

    .device-mockup {
        width: 100%;
        transform: perspective(1200px) rotateY(0) rotateX(0);
    }

    .device-mockup:hover {
        transform: perspective(1200px) rotateY(0) rotateX(0) translateY(-10px);
    }

    .footer-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .download-options {
        flex-direction: column;
        align-items: center;
    }

    .download-card {
        width: 100%;
        max-width: 400px;
        height: auto;
    }

    .requirements-container {
        flex-direction: column;
    }

    header .container {
        flex-direction: column;
    }

    nav ul {
        margin-top: 15px;
    }

    nav ul li {
        margin: 0 10px;
    }

    .installation-tabs {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .glowing-text h2 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .tab-buttons {
        flex-direction: column;
    }

    .tab-btn {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .tab-btn.active {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        border-left: 3px solid #ff5722;
    }

    .installation-tabs {
        max-width: 100%;
        border-radius: 0;
    }
}
