/* 全局样式 */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
}

/* 头部样式 */
header {
    background-color: #1e88e5;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    color: white;
    text-align: center;
}

.robot-profile {
    margin-bottom: 15px;
}

.robot-intro {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid white;
}

h1 {
    margin: 0;
    font-size: 24px;
}

.qq-number {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
}

/* 按钮样式 */
.button {
    background-color: #ff5722;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.button:hover {
    background-color: #e64a19;
}

/* 底部按钮容器 */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

/* 主要内容样式 */
main {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.features, .docs {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #1e88e5;
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.features ul {
    padding-left: 20px;
}

.features li {
    margin-bottom: 10px;
}

/* 页脚样式 */
footer {
    background-color: #f5f5f5;
    padding: 20px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin: 10px;
    text-align: left;
}

.footer-section h3 {
    color: #1e88e5;
    margin-bottom: 15px;
}

.footer-section p {
    color: #666;
    line-height: 1.6;
    margin: 5px 0;
}

.footer-section a {
    color: #1e88e5;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #0d47a1;
    text-decoration: underline;
}

.action-buttons .button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1e88e5;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
    margin: 0 10px;
}

.action-buttons .button:hover {
    background-color: #0d47a1;
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    color: #888;
    font-size: 0.9em;
}

.footer-bottom a {
    color: #1e88e5;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: #0d47a1;
    text-decoration: underline;
}

.qq-number {
    color: #fafafa;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}

.qq-number:hover {
    color: #0d47a1;
    text-decoration: underline;
}

.action-buttons {
    margin-bottom: 30px;
}

/* 功能卡片样式 */
.feature-box {
    padding: 20px 0;
}

.feature-box h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #1e88e5;
}

.box-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.feature-item {
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 3px solid #1e88e5;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-item h3 {
    margin-top: 0;
    color: #333;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    main {
        grid-template-columns: 1fr;
    }
    
    .robot-profile {
        flex-direction: column;
        gap: 10px;
    }
}