/* 页面标题区域 */
.page-header {
    padding-top: 10rem;
    padding-bottom: 4rem;
    text-align: center;
    background-color: #0f1a2a;
    background-image: linear-gradient(to top, #0f1a2a 0%, transparent 100%),
    url('../../images/banner/banner-background16.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    background-attachment: unset;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 26, 42, 0.55);
    z-index: 1;
}

.ie11 .page-header::before {
    background-color: rgba(15, 26, 42, 0);
}

.page-header h1 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 2rem;
    margin-bottom: 1rem;
    color: #f0f4f8;
    position: relative;
    z-index: 2;
}

.page-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 2;
}

/* ==== 内容卡片样式 ==== */
.content-card {
    background: #16253d;
    -webkit-border-radius: 12px;
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid #2d3748;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    margin-bottom: 2.5rem;
}

.content-card:hover {
    -webkit-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
    -webkit-box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: #1bba9a;
}

.content-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #f0f4f8;
    border-left: 4px solid #1bba9a;
    padding-left: 1rem;
}

.content-card p {
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.content-card ul {
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.content-card li {
    margin-bottom: 0.5rem;
}

.content-card .highlight {
    color: #1bba9a;
    font-weight: 600;
}

/* ==== 网格布局样式 ==== */
.grid-container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -1rem;
}

.grid-item {
    background: #16253d;
    -webkit-border-radius: 12px;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #2d3748;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    width: calc(33.333% - 2rem);
    margin: 0 1rem 2rem;
    /* IE11 flexbox兼容 */
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    -moz-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

.grid-item:hover {
    -webkit-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    transform: translateY(-10px);
    -webkit-box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: #1bba9a;
}

.grid-item .icon {
    font-size: 2.5rem;
    color: #1bba9a;
    margin-bottom: 1.5rem;
    text-align: center;
}

.grid-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #f0f4f8;
    text-align: center;
}

.grid-item p {
    color: #cbd5e1;
    text-align: center;
}

/* ==== 承诺区域样式 ==== */
.commitment-box {
    /* IE11兼容的渐变 */
    background: #1bba9a;
    background: -webkit-gradient(linear, left top, right bottom, from(rgba(27, 186, 154, 0.1)), to(rgba(15, 26, 42, 0.7)));
    background: -webkit-linear-gradient(top left, rgba(27, 186, 154, 0.1) 0%, rgba(15, 26, 42, 0.7) 100%);
    background: -o-linear-gradient(top left, rgba(27, 186, 154, 0.1) 0%, rgba(15, 26, 42, 0.7) 100%);
    background: linear-gradient(135deg, rgba(27, 186, 154, 0.1) 0%, rgba(15, 26, 42, 0.7) 100%);
    border: 1px solid #1bba9a;
    -webkit-border-radius: 12px;
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.commitment-box h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #f0f4f8;
}

.commitment-box p {
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: left;
}

/* ==== 按钮样式 ==== */
.btn {
    display: inline-block;
    background-color: #1bba9a;
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border: none;
    -webkit-border-radius: 50px;
    border-radius: 50px;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    -webkit-box-shadow: 0 4px 15px rgba(27, 186, 154, 0.2);
    box-shadow: 0 4px 15px rgba(27, 186, 154, 0.2);
}

.btn:hover {
    background-color: #169c80;
    -webkit-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    transform: translateY(-3px);
    -webkit-box-shadow: 0 6px 20px rgba(27, 186, 154, 0.3);
    box-shadow: 0 6px 20px rgba(27, 186, 154, 0.3);
    color: white;
}

@media (max-width: 992px) {
    .page-header h1 {
        font-size: 2.2rem;
    }

    .grid-item {
        width: calc(50% - 2rem);
    }
}

@media (max-width: 768px) {
    .page-header {
        padding-top: 8rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .content-card, .grid-item, .commitment-box {
        padding: 1.5rem;
    }

    .grid-item {
        width: calc(100% - 2rem);
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.8rem;
    }
}

/* IE11特定修复 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    /* IE10+ CSS样式 */
    .grid-item {
        width: 31.333%;
        margin: 1%;
    }

    @media (max-width: 992px) {
        .grid-item {
            width: 48%;
        }
    }

    @media (max-width: 768px) {
        .grid-item {
            width: 98%;
        }
    }

    .commitment-box {
        background: rgba(27, 186, 154, 0.1);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1BBA9A', endColorstr='#0F1A2A', GradientType=1);
    }
}