/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background: #0a0a2a; /* 深空底色 */
    color: #fff;
    overflow-x: hidden;
}

/* 粒子背景 */
.particle-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #0a0a2a 0%, #040418 100%);
}

.particle-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="25" fill="rgba(64,224,208,0.03)"/></svg>');
    animation: particle-float 15s linear infinite;
}

@keyframes particle-float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

/* 导航栏 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(10, 10, 42, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid rgba(64, 224, 208, 0.1);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: #c0c0f0;
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: #40e0d0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #40e0d0;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.login-btn {
    background: linear-gradient(45deg, #40e0d0, #2a9d8f);
    color: #0a0a2a;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.3s;
}

.login-btn:hover {
    transform: scale(1.05);
}

/* 主视觉区 */
.hero-section {
    padding: 12rem 5% 4rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #40e0d0, #84ffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tag-banner {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: rgba(64, 224, 208, 0.1);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    border: 1px solid rgba(64, 224, 208, 0.2);
    font-size: 0.9rem;
    transition: all 0.3s;
}

.tag:hover {
    background: rgba(64, 224, 208, 0.2);
    transform: translateY(-2px);
}

.sub-text {
    color: #c0c0f0;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* 智能咨询框 */
.chat-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(10, 10, 42, 0.8);
    border: 1px solid rgba(64, 224, 208, 0.2);
    border-radius: 30px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    box-shadow: 0 4px 20px rgba(64, 224, 208, 0.05);
}

.chat-input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1rem;
    padding: 0.8rem 1rem;
    min-height: 80px;
    max-height: 200px;
    resize: none;
    border-radius: 15px;
    transition: background 0.3s;
}

.chat-input:focus {
    outline: none;
    background: rgba(64, 224, 208, 0.05);
}

.chat-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.8rem;
}

.deep-think-btn {
    background: transparent;
    border: 1px solid #40e0d0;
    color: #40e0d0;
    padding: 0.4rem 1rem;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s;
}

.deep-think-btn:hover {
    background: #40e0d0;
    color: #0a0a2a;
}

.send-btn {
    background: linear-gradient(45deg, #40e0d0, #2a9d8f);
    border: none;
    padding: 0.4rem 1.2rem;
    border-radius: 18px;
    color: #0a0a2a;
    cursor: pointer;
    transition: transform 0.3s;
    font-size: 1.1rem;
}

.send-btn:hover {
    transform: scale(1.05);
}

/* 底部 */
.footer {
    padding: 2rem 5%;
    text-align: center;
    border-top: 1px solid rgba(64, 224, 208, 0.1);
    margin-top: 4rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: #c0c0f0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #40e0d0;
}