
/* 基础 CSS 变量 */
:root {
    --text-color-primary-cc: #0f403f; /* 深青色，用于标题 */
    --text-color-secondary-cc: #7f8c8d; /* 灰色，用于描述 */
    --font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

/* 两个版块的通用基类样式 */
.section-base {
    padding: 20px 20px;
    font-family: var(--font-family);
    text-align: center;
    /* 避免相邻版块间距过近 */
    margin-bottom: 20px;
}

/* 原始版块样式：灰色背景 */
.canvas-cotton-section {
    background-color: #f5f5f5;
}

/* 新版块样式：白色背景（Your Vision, Woven in Cotton） */
.vision-cotton-section {
    background-color: #ffffff; /* 要求的白色背景 */
}

/* 主标题样式 */
.section-title {
    margin-bottom: 50px;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-color-primary-cc);
}

/* 特性网格容器 */
.features-grid {
    max-width: 1400px; /* 已修改：增加最大宽度，减少两侧留白 */
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap; /* 允许换行 */
    justify-content: center;
    gap: 30px;
}

/* 单个特性容器（默认 4 个项目/行时的宽度） */
.feature-item {
    /* 默认/备用宽度 */
    flex: 0 0 calc(25% - 22.5px);
    min-width: 200px;
    text-align: left;
}

/* 针对当前 4 个项目版块（vision-cotton-section）的宽度调整 */
.vision-cotton-section .feature-item {
    /* 已修改：针对 4 个项目设置宽度，使项目更大 */
    flex: 0 0 calc(25% - 22.5px);
    min-width: 200px;
}


/* 图标图片样式 */
.feature-icon-img {
    width: 100%; /* 已修改：图片占满容器的全部宽度 */
    aspect-ratio: 1 / 1; /* 保持正方形比例，使视觉更平衡 */
    object-fit: cover; /* 裁剪图片以填充容器，避免变形 */
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: 0;
    margin-right: auto;
    border-radius: 8px; /* 增加圆角使设计更现代 */
}


/* 特性小标题样式 */
.feature-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-color-primary-cc);
    margin-bottom: 10px;
    line-height: 1.4;
    text-align: left;
}

/* 特性描述样式 */
.feature-description {
    font-size: 14px;
    color: var(--text-color-secondary-cc);
    line-height: 1.6;
    text-align: left;
}

/* 响应式调整 - 针对 1024px 以下的平板设备，每行显示 2 个 */
@media (max-width: 1024px) {
    .features-grid {
        gap: 20px;
    }
    .feature-item {
        /* 平板端：每行 2 个项目 */
        flex: 0 0 calc(50% - 10px);
    }
}

/* 响应式调整 - 针对 768px 以下的移动设备，每行显示 1 个 */
@media (max-width: 768px) {
    .section-title {
        margin-bottom: 30px;
    }
    .features-grid {
        flex-direction: column;
        gap: 40px;
        padding: 0 10px;
    }
    .feature-item {
        flex: 0 0 100%;
    }
}

