/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow: hidden;
    background: #000;
    color: #fff;
}

/* 自定义鼠标 */
.cursor {
    width: 8px;
    height: 8px;
    background: #377bff;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, transform 0.1s;
    transform-origin: center;
    box-shadow: 0 0 10px rgba(55, 123, 255, 0.8),
                0 0 20px rgba(55, 123, 255, 0.4),
                0 0 30px rgba(55, 123, 255, 0.2);
}

.cursor::before,
.cursor::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border: 2px solid rgba(55, 123, 255, 0.5);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: cursorPulse 2s ease-out infinite;
}

.cursor::after {
    animation-delay: 1s;
}

@keyframes cursorPulse {
    0% {
        width: 24px;
        height: 24px;
        opacity: 1;
    }
    100% {
        width: 48px;
        height: 48px;
        opacity: 0;
    }
}

.cursor-follower {
    width: 32px;
    height: 32px;
    border: 2px solid rgba(55, 123, 255, 0.3);
    border-radius: 4px;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.6s, border-color 0.3s;
    transform-origin: center;
}

.cursor-follower::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1px solid rgba(55, 123, 255, 0.2);
    border-radius: 6px;
    animation: rotateFrame 4s linear infinite;
}

@keyframes rotateFrame {
    0% {
        transform: rotate(0deg);
        border-color: rgba(55, 123, 255, 0.2);
    }
    50% {
        border-color: rgba(55, 123, 255, 0.5);
    }
    100% {
        transform: rotate(360deg);
        border-color: rgba(55, 123, 255, 0.2);
    }
}

/* 鼠标悬停效果 */
a:hover ~ .cursor,
button:hover ~ .cursor {
    transform: scale(1.5);
    background: rgba(55, 123, 255, 0.8);
}

a:hover ~ .cursor-follower,
button:hover ~ .cursor-follower {
    border-color: rgba(55, 123, 255, 0.8);
    transform: scale(1.2) rotate(45deg);
}

/* 容器样式 */
.landing-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

/* 背景动画 */
.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(55, 123, 255, 0.1) 2px,
            rgba(55, 123, 255, 0.1) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(55, 123, 255, 0.1) 2px,
            rgba(55, 123, 255, 0.1) 4px
        );
    z-index: 1;
    transform-style: preserve-3d;
}

.background-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        transparent 0%,
        rgba(0,0,0,0.8) 100%
    );
}

/* 霓虹效果 */
.neon-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.neon-line {
    position: absolute;
    background: linear-gradient(90deg, 
        rgba(55, 123, 255, 0),
        rgba(55, 123, 255, 0.5),
        rgba(55, 123, 255, 0)
    );
    height: 1px;
    width: 100%;
    transform-origin: left;
    animation: neonMove 8s linear infinite;
    opacity: 0;
}

@keyframes neonMove {
    0% {
        transform: translateY(-100%) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100%) rotate(0deg);
        opacity: 0;
    }
}

/* 内容样式 */
.content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.content:hover {
    transform: translateZ(20px);
    box-shadow: 0 0 30px rgba(55, 123, 255, 0.3);
}

/* Logo样式 */
.logo-container {
    margin-bottom: 2rem;
    position: relative;
}

.logo-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: float 6s ease-in-out infinite;
    color: #fff;
    text-shadow: 0 0 10px rgba(55, 123, 255, 0.8);
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.logo-container h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #377bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(55, 123, 255, 0.3);
}

/* 标语样式 */
.tagline {
    margin-bottom: 3rem;
}

.tagline h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(55, 123, 255, 0.5);
}

.tagline p {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

/* CTA按钮样式 */
.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    color: #fff;
    background: rgba(55, 123, 255, 0.2);
    border: 2px solid rgba(55, 123, 255, 0.5);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.cta-button:hover {
    background: rgba(55, 123, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(55, 123, 255, 0.5);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button span {
    margin-right: 10px;
}

/* 粒子效果容器 */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .logo-icon {
        font-size: 4rem;
    }
    
    .logo-container h1 {
        font-size: 2rem;
    }
    
    .tagline h2 {
        font-size: 1.5rem;
    }
    
    .tagline p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.6rem;
        font-size: 1rem;
    }
}

/* AOS动画库样式 */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* 添加模糊效果 */
.content {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background: rgba(255,255,255,0.1);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255,255,255,0.18);
} 