/* 全局样式 */
:root {
    --primary-color: #660874; /* 清华紫 */
    --secondary-color: #8B5A96; /* 浅紫色 */
    --accent-color: #E6E6FA; /* 淡紫色 */
    --text-light: #FFFFFF;
    --text-dark: #333333;
    --bg-gradient: linear-gradient(135deg, #660874 0%, #8B5A96 50%, #E6E6FA 100%);
    --neon-glow: 0 0 20px rgba(102, 8, 116, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'SimSun', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* 导航栏样式 */
.navbar {
    background: rgba(102, 8, 116, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: bold;
    color: #E6E6FA !important;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    margin: 0 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #E6E6FA !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Hero区域样式 */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: var(--bg-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(230, 230, 250, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 90, 150, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(102, 8, 116, 0.1) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.title-line {
    display: block;
    animation: titleSlideIn 1s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.title-line:nth-child(2) {
    animation-delay: 0.3s;
}

@keyframes titleSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.6s forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    background: var(--accent-color) !important;
    border: 2px solid var(--accent-color) !important;
    color: var(--primary-color) !important;
    font-weight: bold;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: var(--neon-glow);
    animation: buttonPulse 2s ease-in-out infinite;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(230, 230, 250, 0.8);
    background: var(--primary-color) !important;
    color: var(--accent-color) !important;
}

@keyframes buttonPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* 霓虹线条效果 */
.neon-lines {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 100px;
}

.line {
    position: absolute;
    height: 2px;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
    animation: neonFlow 3s ease-in-out infinite;
}

.line-1 {
    width: 60px;
    left: 0;
    animation-delay: 0s;
}

.line-2 {
    width: 80px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1s;
}

.line-3 {
    width: 60px;
    right: 0;
    animation-delay: 2s;
}

@keyframes neonFlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* 功能预览区域 */
.features-preview {
    padding: 5rem 0;
    background: #f8f9fa;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 8, 116, 0.2);
    border-color: var(--secondary-color);
}

.feature-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    color: var(--accent-color);
    transform: scale(1.1);
}

.feature-card h3 {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    font-size: 0.9rem;
}

/* 底部样式 */
.footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--text-light);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    color: var(--accent-color);
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-3px);
}

.copyright {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.scroll-indicator {
    text-align: center;
    margin-top: 2rem;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.scroll-indicator i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .features-preview {
        padding: 3rem 0;
    }
} 