/* 全局样式 */
:root {
    --primary-color: #1a73e8;
    --dark-color: #0a0a16;
    --gradient-start: #8a2be2;
    --gradient-end: #4b0082;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
}

/* 导航栏样式 */
.navbar {
    background: rgba(10, 10, 22, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    color: white !important;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand .logo {
    height: 40px;
    width: auto;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section 样式 */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark-color), #1a1a2e);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/stars-bg.png') repeat;
    opacity: 0.1;
    animation: stars 20s linear infinite;
}

.hero-content {
    color: white;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.btn-primary {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* 功能卡片样式 */
.features {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
    font-size: 2.5rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* 技术优势模块样式 */
.tech-advantages {
    padding: 100px 0;
    background: white;
}

.tech-list {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.tech-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.tech-item h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-size: 1.5rem;
    font-weight: 600;
}

.tech-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.tech-model {
    text-align: center;
}

.tech-model img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 底部备案信息样式 */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 1rem 0;
    position: relative;
    z-index: 1;
}

.footer p {
    margin: 0;
    text-align: center;
}

.footer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--gradient-start);
}

/* 动画效果 */
@keyframes stars {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 1000px 1000px;
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .lead {
        font-size: 1.2rem;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
    
    .tech-list {
        grid-template-columns: 1fr;
    }
    
    .tech-item {
        padding: 1.5rem;
    }
}

/* 滚动动画 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
} 