/* 全局样式 */
body {
    font-family: 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #F4F4F4; /* 浅灰色背景 */
    color: #333333; /* 深灰色文字 */
    transition: background-color 0.5s ease, color 0.5s ease; /* 平滑过渡 */
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background: #3A506B; /* 深蓝灰色 */
    color: #ffffff;
    padding-top: 30px;
    min-height: 70px;
    border-bottom: #FFD700 3px solid; /* 金色边框作为强调 */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
    transition: color 0.3s ease, background-color 0.3s ease; /* 为链接添加过渡 */
}

header a:hover {
    color: #FFD700; /* 鼠标悬停时变为金色 */
}

header ul {
    padding: 0;
    list-style: none;
}

header li {
    display: inline;
    padding: 0 20px 0 20px;
}

header nav {
    float: right;
    margin-top: 10px;
}

header h1 {
    float: left;
    margin: 0;
}

/* Hero区域样式 */
#hero {
    min-height: 400px;
    background: #507D96 url('../images/hero-bg.jpg') no-repeat center center; /* 较深的蓝灰色背景，如果图片加载失败或不存在 */
    background-size: cover;
    background-blend-mode: multiply; /* 使背景图和背景色混合，增加深邃感 */
    text-align: center;
    color: #ffffff;
    padding: 80px 20px; /* 增加内边距 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#hero h2 {
    margin-top: 0; /* 由于flex布局，不再需要顶部margin */
    font-size: 52px; /* 略微增大字体 */
    margin-bottom: 20px;
    color: #FFD700; /* 标题使用金色强调 */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* 添加文字阴影 */
}

#hero p {
    font-size: 22px; /* 略微增大字体 */
    color: #EAEAEA; /* 浅灰色文字，确保对比度 */
    max-width: 600px; /* 限制段落宽度，提高可读性 */
}

/* 主要内容区域 */
main {
    padding: 20px 0;
}

main section {
    padding: 25px;
    margin-bottom: 25px;
    background: #ffffff; /* 内容区域使用白色背景，与浅灰色body形成对比 */
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.12); /* 略微增强阴影 */
    padding: 30px;
}

#features h3 {
    color: #3A506B; /* 与头部一致的深蓝灰色 */
    margin-bottom: 20px;
    border-bottom: 2px solid #FFD700; /* 金色下划线 */
    padding-bottom: 10px;
}

/* 功能区域样式 */
#features ul {
    list-style: none;
    padding: 0;
}

#features li {
    padding: 12px 0; /* 调整内边距 */
    border-bottom: 1px dashed #cccccc; /* 虚线分隔 */
    color: #555555;
}

#features li:last-child {
    border-bottom: none;
}

/* 页脚样式 */
footer {
    padding: 25px;
    margin-top: 30px;
    color: #EAEAEA; /* 页脚浅色文字 */
    background-color: #3A506B; /* 与头部一致的深蓝灰色 */
    text-align: center;
    padding: 30px 20px;
}

/* 响应式设计 */
@media(max-width: 768px){
    header nav,
    header h1 {
        float: none;
        text-align: center;
        width: 100%;
    }

    header nav ul {
        text-align: center;
    }

    header nav li {
        display: block;
        padding: 10px;
    }

    #hero h2 {
        font-size: 35px;
    }

    #hero p {
        font-size: 16px;
    }

    .container {
        width: 95%;
    }
}
/* 特色工具样式 */
.featured-tool {
    background-color: #E0F7FA; /* 淡青色背景 */
    border: 2px solid #17A2B8; /* 青色边框 */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-tool:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.featured-tool h3 {
    color: #00796B; /* 深青色标题 */
}

.featured-tool a {
    background-color: #17A2B8; /* 青色按钮 */
    color: white;
    padding: 10px 18px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.featured-tool a:hover {
    background-color: #138496; /* 深一点的青色 */
    transform: scale(1.05);
}
/* 笔记重点标记样式 */
.highlight {
    color: #FF0000; /* 红色 */
    font-weight: bold; /* 加粗 */
}