/* 全局基础重置 & 全局通用样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    font-size: 16px;
    scroll-behavior: smooth;
}
@media screen and (max-width: 768px) {
    html {
        font-size: 14px;
    }
}
body {
    font-family: system-ui, -apple-system, "Microsoft Yahei", sans-serif;
    /* 页面背景：图片同款浅蓝天蓝色 */
    background-color: #B4D2F2;
    color: #222222;
    line-height: 1.6;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* 返回箭头按钮通用样式 */
.back-btn {
    display: inline-block;
    margin: 2rem 0;
    font-size: 1.4rem;
    color: #222;
}

/* 功能卡片通用容器 */
.func-wrap {
    display: flex;
    justify-content: center;
}
.func-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2.2rem;
    width: 25%;
}
@media screen and (max-width: 1024px) {
    .func-grid {
        width: 40%;
    }
}
@media screen and (max-width: 768px) {
    .func-grid {
        width: 70%;
    }
}

.func-card {
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.func-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.10);
}

.card-img-box {
    /* 替换这里色值，推荐 #f9f7f4 */
    background-color: #f9f7f4;
    aspect-ratio: 1 / 1;
    width: 100%;
    padding: 2.5rem;
    position: relative;
    z-index: 1;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(0, 0, 0, 0.06);

    /* 卡片内部轻微颗粒纸感 */
    background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.06'/%3E%3C/svg%3E");
    background-blend-mode: multiply;
}


.card-img-box::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, transparent 50%, rgba(0, 0, 0, 0.05) 50%);
}


/* 卡片下方文字区域：左对齐、无白色背景 */
.card-text {
    text-align: left;
    background: transparent;
    padding-left: 0.3rem;
}
.card-zh {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #222;
}
.card-en {
    font-size: 0.95rem;
    color: #666;
}
/* 废弃旧居中容器，隐藏 */
.card-text-inner {
    display: none;
}

/* 底部Logo与页脚通用 */
.bottom-logo {
    width: 64px;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
}
footer {
    padding: 3rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: #777;
    border-top: 1px solid #dddddd;
}

/* 适配蓝色背景，统一调整边框对比度 */
.table-block, th, td {
    border-color: #dddddd;
}

/* 回到顶部悬浮按钮 */
#backTop {
    position: fixed;
    right: 1.5rem;
    bottom: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    transition: all 0.2s ease;
    z-index: 999;
}
#backTop:hover {
    background: #f5f5f5;
    transform: translateY(-3px);
}

body {
    font-family: system-ui, -apple-system, "Microsoft Yahei", sans-serif;
    background-color: #B4D2F2;
    color: #222222;
    line-height: 1.6;

    /* 加一层轻微颗粒噪点 */
    background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.08'/%3E%3C/svg%3E");
    background-blend-mode: multiply;
}