
/* ==========================================
   基础与全站纯白视觉调性
   ========================================== */
.san-ace-perf-section {
    padding: 100px 0;
    background-color: #ffffff; /* 严格执行全站极简白底色 */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    box-sizing: border-box;
}

.perf-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 头部样式 */
.perf-header {
    text-align: center;
    margin-bottom: 70px;
}

.perf-tagline {
    color: #004B87; /* San Ace 品牌蓝 */
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 12px;
}

.perf-header h2 {
    color: #0F172A;
    font-size: 34px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.perf-header-line {
    width: 45px;
    height: 3px;
    background-color: #C1272E; /* 标志性红点缀中轴线 */
    margin: 20px auto 0 auto;
}

/* ==========================================
   精密多维卡片网格布局（支持三栏/双栏自适应）
   ========================================== */
.perf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 默认大屏下 3 列排版 */
    gap: 35px;
}

/* 独立纯白卡片容器 */
.perf-card {
    background-color: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 💥 Hover 卡片微浮动与阴影 */
.perf-card:hover {
    transform: translateY(-5px);
    border-color: #CBD5E1;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
}

.perf-card-body {
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* 图标与标题同行对齐 */
.perf-icon-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

/* 极简无框矢量图标 */
.perf-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.perf-icon .material-icons {
    font-size: 24px;
}

/* 红蓝交错的品牌小图标点缀 */
.icon-red { color: #C1272E; }
.icon-blue { color: #004B87; }

.perf-card-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

/* 💥 Hover 时标题文字平滑同步切为品牌红 */
.perf-card:hover .perf-card-body h3 {
    color: #C1272E;
}

.perf-card-body p {
    font-size: 14px;
    color: #55657e;
    line-height: 1.6;
    margin: 0;
}

/* 卡片底部隐藏的品牌红饰线 (#C1272E) */
.perf-hover-bar {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 3px;
    background-color: #C1272E;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.perf-card:hover .perf-hover-bar {
    transform: scaleX(1);
}


/* ==========================================
   多端响应式适配（媒体查询）
   ========================================== */

/* 1. 笔记本电脑端 (1024px 到 1280px) */
@media (max-width: 1280px) {
    .perf-container { padding: 0 30px; }
    .perf-grid { gap: 25px; }
    .perf-card-body { padding: 30px 24px; }
    .perf-header h2 { font-size: 30px; }
    .perf-card-body h3 { font-size: 16px; }
}

/* 2. 平板电脑端 (768px 到 1023px) - 自动重组为双列矩阵布局 */
@media (max-width: 1023px) {
    .perf-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* 3. 移动端 / 手机 (767px 及以下) - 自动变为单列垂直卡片流 */
@media (max-width: 767px) {
    .san-ace-perf-section { padding: 60px 0; }
    .perf-container { padding: 0 20px; }
    .perf-header { margin-bottom: 45px; }
    .perf-header h2 { font-size: 25px; }
    .perf-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .perf-card-body { padding: 25px 20px; }
    .perf-card-body h3 { font-size: 16px; }
    .perf-card-body p { font-size: 13px; }
}
