/* 基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: #0d0d0d;
    color: #e0e0e0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    overflow-x: hidden;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #0d0d0d;
}

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

/* 头部导航 */
header {
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 2px;
}

.logo .x {
    color: #ff0055;
    text-shadow: 0 0 10px #ff0055;
}

.logo small {
    font-size: 12px;
    opacity: 0.5;
    font-weight: normal;
}

nav a {
    color: #e0e0e0;
    text-decoration: none;
    margin-left: 30px;
    font-size: 14px;
    transition: color 0.3s;
}

nav a:hover {
    color: #ff0055;
}

.btn-nav {
    border: 1px solid #ff0055;
    padding: 8px 16px;
    border-radius: 4px;
    background: rgba(255, 0, 85, 0.1);
}

/* Hero 区域 */
.hero {
    padding: 150px 0 100px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.glitch {
    font-size: 72px;
    font-weight: 900;
    position: relative;
    color: #fff;
    letter-spacing: -2px;
}

/* 抖音风格故障特效 */
.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff0055;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #00ffff;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 1s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(31px, 9999px, 94px, 0); }
    20% { clip: rect(62px, 9999px, 42px, 0); }
    100% { clip: rect(13px, 9999px, 81px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(65px, 9999px, 100px, 0); }
    20% { clip: rect(10px, 9999px, 50px, 0); }
    100% { clip: rect(50px, 9999px, 90px, 0); }
}

.tagline {
    font-size: 20px;
    opacity: 0.7;
    margin: 20px 0 40px 0;
}

.hero-btns .btn-primary {
    background: #ff0055;
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-right: 20px;
    display: inline-block;
    box-shadow: 0 10px 20px rgba(255, 0, 85, 0.3);
    transition: transform 0.3s;
}

.hero-btns .btn-primary:hover {
    transform: translateY(-3px);
}

.hero-btns .btn-secondary {
    color: #fff;
    text-decoration: none;
    border-bottom: 2px solid #ff0055;
    padding-bottom: 5px;
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.stat-item {
    text-align: right;
}

.stat-num {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: #ff0055;
}

.stat-label {
    font-size: 14px;
    opacity: 0.5;
}

/* 核心功能 */
.section-title {
    font-size: 32px;
    text-align: center;
    margin: 100px 0 60px 0;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    transition: background 0.3s, transform 0.3s;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 40px;
    color: #ff0055;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 14px;
    opacity: 0.6;
    line-height: 1.6;
}

/* 更新日志 */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
}

.timeline-date {
    width: 150px;
    font-size: 14px;
    opacity: 0.5;
    padding-top: 5px;
}

.timeline-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    padding: 20px 30px;
    border-left: 3px solid #ff0055;
    border-radius: 0 10px 10px 0;
}

.timeline-content h4 {
    margin-bottom: 10px;
    color: #fff;
}

.timeline-content ul {
    list-style: none;
    font-size: 14px;
    opacity: 0.7;
}

.timeline-content li::before {
    content: "•";
    color: #ff0055;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* 下载区域 */
.download {
    margin: 150px 0;
}

.dl-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
    border: 1px solid rgba(255, 0, 85, 0.2);
    padding: 80px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.dl-card h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.dl-card p {
    font-size: 18px;
    opacity: 0.6;
    margin-bottom: 40px;
}

.dl-btn {
    background: #fff;
    color: #000;
    text-decoration: none;
    display: inline-block;
    padding: 20px 60px;
    border-radius: 50px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.dl-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.dl-main {
    display: block;
    font-size: 20px;
    font-weight: 900;
}

.dl-sub {
    font-size: 12px;
    opacity: 0.5;
}

footer {
    padding: 60px 0;
    text-align: center;
    font-size: 12px;
    opacity: 0.3;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* 响应式适配 */
@media (max-width: 768px) {
    .hero { flex-direction: column; text-align: center; padding-top: 100px; }
    .hero-content { margin-bottom: 60px; }
    .glitch { font-size: 48px; }
    .hero-stats { flex-direction: row; justify-content: center; gap: 40px; }
    .stat-item { text-align: center; }
    .feature-grid { grid-template-columns: 1fr; }
    header nav { display: none; }
}
