/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: url('../images/bkg.png') center/cover no-repeat, linear-gradient(135deg, #1a2332 0%, #2c3e50 100%);
    min-height: 100vh;
}

/* 主视觉区样式 */
.hero-section {
    color: white;
    text-align: center;
    padding: 60px 20px 40px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="g" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%2300bcd4" stop-opacity="0.1"/><stop offset="100%" stop-color="%2300bcd4" stop-opacity="0"/></radialGradient></defs><circle cx="50" cy="50" r="50" fill="url(%23g)"/></svg>') center/cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title-image {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}



/* 主内容区 */
.main-content {
    padding: 40px 20px;
}

/* 导航网格 */
.nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
}

.nav-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 12px 3px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 188, 212, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-item:hover::before {
    left: 100%;
}

.nav-item:hover {
    transform: translateY(-5px);
    background: rgba(0, 188, 212, 0.2);
    box-shadow: 0 10px 25px rgba(0, 188, 212, 0.3);
}

.nav-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    color: #00bcd4;
    transition: all 0.3s ease;
}

.nav-item:hover .nav-icon {
    transform: scale(1.1);
    color: #fff;
}

.nav-icon svg {
    width: 100%;
    height: 100%;
}

.nav-text {
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
    color: #fff;
}

/* 底部标语 */
.footer {
    text-align: center;
    padding: 30px 20px;
}

.slogan {
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(45deg, #00bcd4, #4fc3f7, #81c784);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 188, 212, 0.5);
    letter-spacing: 2px;
}

.slogan-separator {
    margin: 0 15px;
    color: #00bcd4;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .hero-title-image {
        max-width: 90%;
    }
    
    .nav-grid {
        gap: 15px;
        max-width: 350px;
    }
    
    .nav-item {
        padding: 15px 8px;
    }
    
    .nav-icon {
        width: 35px;
        height: 35px;
    }
    
    .nav-text {
        font-size: 0.8rem;
    }
    
    .slogan {
        font-size: 1.2rem;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-grid {
        max-width: 300px;
        gap: 12px;
    }
    
    .nav-item {
        padding: 12px 6px;
    }
    
    .nav-text {
        font-size: 0.75rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.nav-item {
    animation: fadeInUp 0.8s ease-out;
}

.nav-item:nth-child(1) { animation-delay: 0.1s; }
.nav-item:nth-child(2) { animation-delay: 0.2s; }
.nav-item:nth-child(3) { animation-delay: 0.3s; }
.nav-item:nth-child(4) { animation-delay: 0.4s; }
.nav-item:nth-child(5) { animation-delay: 0.5s; }
.nav-item:nth-child(6) { animation-delay: 0.6s; }
.nav-item:nth-child(7) { animation-delay: 0.7s; }
.nav-item:nth-child(8) { animation-delay: 0.8s; }
.nav-item:nth-child(9) { animation-delay: 0.9s; }

/* 触摸反馈 */
.nav-item:active {
    transform: translateY(-2px) scale(0.98);
    transition: all 0.1s ease;
}