.btn {
    padding: 0.5rem 2rem;
    border-radius: 50px;
}

.btn-outline {
    background-color: rgba(27, 186, 154, 0);
    border: 2px solid #1bba9a;
    color: #1bba9a;
}

.btn-outline:hover {
    background-color: rgba(27, 186, 154, 0.1);
}

.btn-secondary {
    padding: 6px 0 !important;
    font-size: 1rem;
    background-color: transparent;
    border: 2px solid #1bba9a; /* 原var(--primary-color) */
    color: #1bba9a; /* 原var(--primary-color) */
}

.order-btn {
    padding: 6px 0 !important;
    font-size: 1rem;
}

.btn-secondary:hover {
    background-color: rgba(27, 186, 154, 0.1);
}

/* banner区域 */
.banner {
    padding-top: 10rem;
    padding-bottom: 6rem;
    background-color: #0f1a2a;
    background-image: linear-gradient(to top, #0f1a2a 0%, transparent 100%),
    url('../../images/banner/banner-background1.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    background-attachment: unset;
    position: relative;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 26, 42, 0);
    z-index: 1;
}

.ie11 .banner::before {
    background-color: rgba(15, 26, 42, 0);
}

.banner .container {
    position: relative;
    z-index: 2;
}

.banner h1 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f4f8; /* 确保颜色正确 */
}

.banner p {
    font-size: 1.25rem;
    color: #cbd5e1; /* 原var(--text-gray) */
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

/* IE11修复：确保文本颜色 */
.ie11 .banner h1,
.ie11 .banner p {
    color: #f0f4f8 !important;
}

/* 产品优势 - 使用Flexbox替代Grid以兼容IE11 */
.advantages-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1rem;
}

.advantage-card {
    background: #16253d; /* 原var(--bg-card) */
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid #2d3748; /* 原var(--border-color) */
    text-align: center;
    transition: all 0.3s ease;
    width: calc(33.333% - 2rem);
    margin: 0 1rem 2rem;
}

/* 修复悬停效果 */
.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: #1bba9a; /* 原var(--primary-color) */
}

.advantage-icon {
    font-size: 2.5rem;
    color: #1bba9a; /* 原var(--primary-color) */
    margin-bottom: 1.5rem;
}

.advantage-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #f0f4f8; /* 原var(--text-light) */
}

.advantage-card p {
    text-align: left;
    color: #cbd5e1; /* 原var(--text-gray) */
}

/* IE11修复：确保卡片背景和文字颜色 */
.ie11 .advantage-card {
    background: #16253d;
    color: #cbd5e1;
}

.ie11 .advantage-card h3 {
    color: #f0f4f8;
}

/* 价格区域 */
.pricing-section {
    background-color: rgba(15, 26, 42, 0.7);
}

/* IE11修复：使用不透明背景 */
.ie11 .pricing-section {
    background-color: #0c1522;
}

.pricing-intro {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #cbd5e1; /* 原var(--text-gray) */
}

.pricing-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 2rem -1rem 0;
}

.pricing-card {
    background: #16253d; /* 原var(--bg-card) */
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #2d3748; /* 原var(--border-color) */
    transition: all 0.4s ease;
    width: calc(33.333% - 2rem);
    margin: 0 1rem 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* 修复价格卡片的悬停效果 */
.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: #1bba9a; /* 原var(--primary-color) */
}

.pricing-card.popular {
    border: 2px solid #1bba9a; /* 原var(--primary-color) */
    position: relative;
}

.pricing-card.popular::before {
    content: '最受欢迎';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1bba9a; /* 原var(--primary-color) */
    color: white;
    padding: 0.4rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.pricing-header {
    text-align: center;
    border-bottom: 1px solid #2d3748; /* 原var(--border-color) */
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f0f4f8; /* 原var(--text-light) */
    margin-bottom: 0.5rem;
}

.pricing-desc {
    font-size: 0.95rem;
    color: #cbd5e1; /* 原var(--text-gray) */
    margin-bottom: 1rem;
}

.pricing-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1rem 0;
}

.monthly-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1bba9a; /* 原var(--primary-color) */
    line-height: 1;
}

.price-period {
    font-size: 0.9rem;
    color: #cbd5e1; /* 原var(--text-gray) */
    margin-top: 0.3rem;
}

/* 价格显示控制样式 */
.yearly-price,
.yearly-save {
    display: none;
}

.yearly-view .monthly-price,
.yearly-view .yearly-note {
    display: none;
}

.yearly-view .yearly-price,
.yearly-view .yearly-save {
    display: block;
}

.yearly-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1bba9a;
    line-height: 1;
}

.yearly-save {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-top: 0.5rem;
    padding: 0.3rem 0.8rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.yearly-save span {
    color: #1bba9a;
    font-weight: 600;
}

.yearly-note {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-top: 0.5rem;
    padding: 0.3rem 0.8rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.yearly-note span {
    color: #1bba9a;
    font-weight: 600;
}

.pricing-features {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.pricing-features ul {
    list-style: none;
}

.pricing-features li {
    padding: 0.7rem 0;
    color: #cbd5e1; /* 原var(--text-gray) */
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: #1bba9a; /* 原var(--primary-color) */
    margin-right: 0.8rem;
    font-size: 0.9rem;
}

.pricing-actions {
    text-align: center;
    margin-top: auto;
}

.pricing-buttons {
    display: flex;
    margin-bottom: 1rem;
    /* 修复按钮间距 */
    gap: 1rem;
    justify-content: space-between;
}

/* 修复IE11中的按钮间距 */
.ie11 .pricing-buttons .btn {
    margin-right: 1rem;
}

.ie11 .pricing-buttons .btn:last-child {
    margin-right: 0;
}

.pricing-buttons .btn {
    flex: 1;
    padding: 0.75rem 1rem;
}

.pricing-note {
    font-size: 0.85rem;
    color: #cbd5e1; /* 原var(--text-gray) */
    margin-top: 0.5rem;
}

/* 价格切换控件 */
.pricing-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2.5rem;
}

.view-toggle {
    display: flex;
    align-items: center;
    background-color: rgba(22, 37, 61, 0.6);
    border-radius: 50px;
    padding: 0.3rem;
    border: 1px solid #2d3748; /* 原var(--border-color) */
}

.view-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    background: none;
    border: none;
    color: #cbd5e1; /* 原var(--text-gray) */
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.view-btn i {
    margin-right: 0.5rem;
}

.view-btn.active {
    background-color: #1bba9a; /* 原var(--primary-color) */
    color: white;
}

/* 产品功能 - 使用Flexbox替代Grid */
.features-section {
    background-color: rgba(15, 26, 42, 0.3);
}

/* IE11修复：使用不透明背景 */
.ie11 .features-section {
    background-color: #0a121f;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.features-intro {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #cbd5e1; /* 原var(--text-gray) */
}

.features-grid-simple {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1.25rem;
}

.feature-card-simple {
    background: #16253d; /* 简化背景，IE11兼容 */
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    height: auto;
    width: calc(33.333% - 2rem);
    margin: 0 1rem 2rem;
}

/* IE11修复：为功能卡片添加左侧边框 */
.ie11 .feature-card-simple {
    border-left: 6px solid #1bba9a;
    background: linear-gradient(to right, #1a2c4e, #16253d);
}

.feature-card-simple:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(27, 186, 154, 0.3);
}

.feature-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(27, 186, 154, 0.1); /* 简化背景 */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-card-simple:hover .feature-icon-wrapper {
    transform: scale(1.05);
    background: rgba(27, 186, 154, 0.2);
}

.feature-icon-simple {
    font-size: 1.8rem;
    color: #1bba9a; /* 原var(--primary-color) */
    transition: all 0.3s ease;
}

.feature-card-simple:hover .feature-icon-simple {
    color: #f0f4f8; /* 原var(--text-light) */
}

.feature-title-simple {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f0f4f8; /* 原var(--text-light) */
    line-height: 1.3;
}

.feature-desc-simple {
    color: #cbd5e1; /* 原var(--text-gray) */
    line-height: 1.6;
    font-size: 1rem;
    flex-grow: 1;
}

.feature-benefits {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-benefits h4 {
    font-size: 1.1rem;
    color: #f0f4f8; /* 原var(--text-light) */
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.feature-benefits h4 i {
    margin-right: 0.5rem;
    color: #1bba9a; /* 原var(--primary-color) */
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    padding: 0.5rem 0;
    color: #cbd5e1; /* 原var(--text-gray) */
    display: flex;
    align-items: flex-start;
}

.benefits-list li i {
    color: #1bba9a; /* 原var(--primary-color) */
    margin-right: 0.7rem;
    margin-top: 0.3rem;
    font-size: 0.9rem;
}

/* 新闻中心区域 */
.news-section {
    background-color: rgba(15, 26, 42, 0.5);
    padding-bottom: 4rem;
}

/* IE11修复：使用不透明背景 */
.ie11 .news-section {
    background-color: #0c1522;
}

.news-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid #2d3748; /* 原var(--border-color) */
    flex-wrap: wrap;
}

.news-tab {
    padding: 1rem 2rem;
    background: none;
    border: none;
    color: #cbd5e1; /* 原var(--text-gray) */
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.news-tab:hover {
    color: #1bba9a; /* 原var(--primary-color) */
}

.news-tab.active {
    color: #1bba9a; /* 原var(--primary-color) */
    border-bottom: 3px solid #1bba9a; /* 原var(--primary-color) */
}

.news-tab i {
    margin-right: 0.5rem;
}

.news-content {
    display: none;
}

.news-content.active {
    display: block;
}

/* 新闻列表样式 */
.news-list {
    background: #16253d; /* 原var(--bg-card) */
    border-radius: 12px;
    border: 1px solid #2d3748; /* 原var(--border-color) */
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.news-list-header {
    padding: 1.5rem;
    border-bottom: 1px solid #2d3748; /* 原var(--border-color) */
    background-color: rgba(255, 255, 255, 0.03);
}

.news-list-header h3 {
    font-size: 1.3rem;
    color: #f0f4f8; /* 原var(--text-light) */
    display: flex;
    align-items: center;
}

.news-list-header h3 i {
    margin-right: 0.8rem;
    color: #1bba9a; /* 原var(--primary-color) */
}

.news-list-header p {
    color: #cbd5e1; /* 原var(--text-gray) */
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.news-list-items {
    list-style: none;
}

.news-list-item {
    padding: 1.5rem;
    border-bottom: 1px solid #2d3748; /* 原var(--border-color) */
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
}

.news-list-item:last-child {
    border-bottom: none;
}

.news-list-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
    padding-left: 2rem;
}

.news-list-item-content {
    flex: 1;
}

.news-list-item-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #cbd5e1; /* 原var(--text-gray) */
    margin-bottom: 0.5rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-list-item-title a {
    color: #e8eef5; /* 原var(--text-gray) */
    transition: color 0.3s ease;
}

.news-list-item-title a:hover {
    color: #1bba9a; /* 原var(--primary-color) */
}

.news-list-item-summary {
    color: #94a3b8; /* 原var(--text-muted) */
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    max-width: 800px;
}

.news-list-item-meta {
    display: flex;
    align-items: center;
    color: #cbd5e1; /* 原var(--text-gray) */
    font-size: 0.9rem;
}

.news-list-item-date {
    display: flex;
    align-items: center;
    margin-right: 1.5rem;
}

.news-list-item-date i {
    font-size: 0.85rem;
    margin-right: 0.4rem;
}

.news-list-item-actions {
    margin-left: 1.5rem;
    flex-shrink: 0;
}

.news-list-item-link {
    color: #1bba9a; /* 原var(--primary-color) */
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background-color: rgba(27, 186, 154, 0.1);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.news-list-item-link:hover {
    background-color: rgba(27, 186, 154, 0.2);
    color: #169c80; /* 原var(--primary-dark) */
}

.news-list-item-link i {
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

.news-actions {
    text-align: center;
    margin-top: 3rem;
}

@media (max-width: 992px) {
    .banner h1 {
        font-size: 2.2rem;
    }

    .advantage-card,
    .pricing-card,
    .feature-card-simple {
        width: calc(50% - 2rem);
    }
}

@media (max-width: 768px) {
    .banner {
        padding-top: 8rem;
    }

    .banner h1 {
        font-size: 2rem;
    }

    .advantage-card,
    .pricing-card,
    .feature-card-simple {
        width: 100%;
        margin: 0 0 2rem 0;
    }

    .advantages-grid,
    .pricing-container,
    .features-grid-simple {
        margin: 0;
    }

    .pricing-card:hover,
    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }

    /* 移动端价格按钮间距修复 */
    .pricing-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .ie11 .pricing-buttons .btn {
        margin-right: 0;
        margin-bottom: 0.75rem;
    }

    .ie11 .pricing-buttons .btn:last-child {
        margin-bottom: 0;
    }

    .news-list-item {
        flex-direction: column;
        padding: 1.2rem;
    }

    .news-list-item:hover {
        padding-left: 1.5rem;
    }

    .news-list-item-meta {
        flex-wrap: wrap;
        margin-bottom: 1rem;
    }

    .news-list-item-date {
        margin-right: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .news-list-item-actions {
        margin-left: 0;
        margin-top: 0.5rem;
        width: 100%;
    }

    .news-list-item-link {
        width: 100%;
        justify-content: center;
    }

    .feature-card-simple {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .banner h1 {
        font-size: 1.8rem;
    }

    .advantage-card,
    .feature-card-simple {
        padding: 1.5rem;
    }

    .pricing-card {
        padding: 1.5rem;
        padding-top: 2rem;
    }

    .monthly-price {
        font-size: 2rem;
    }
}

/* IE11 特定兼容性样式 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .banner::before {
        background-color: #0f1a2a;
        opacity: 0.95;
    }

    .pricing-section,
    .features-section,
    .news-section {
        background-color: #0c1522;
    }

    /* 修复卡片背景和文字颜色 */
    .advantage-card,
    .pricing-card,
    .feature-card-simple,
    .news-list {
        background-color: #16253d;
        color: #cbd5e1;
    }

    .advantage-card h3,
    .pricing-name,
    .feature-title-simple,
    .news-list-header h3 {
        color: #f0f4f8;
    }

    .advantage-card p,
    .pricing-desc,
    .feature-desc-simple,
    .news-list-header p {
        color: #cbd5e1;
    }

    /* 修复价格卡片悬停效果 */
    .pricing-card:hover {
        border-color: #1bba9a;
        margin-top: -10px;
        margin-bottom: 30px;
    }

    .pricing-card.popular:hover {
        border-color: #1bba9a;
        margin-top: -10px;
        margin-bottom: 30px;
    }

    /* 修复功能卡片左侧边框 */
    .feature-card-simple {
        border-left: 6px solid #1bba9a;
        background: #16253d;
    }

    .feature-card-simple:hover {
        margin-top: -8px;
        margin-bottom: 33px;
    }

    /* 修复按钮间距 */
    .pricing-buttons .btn {
        margin-right: 1rem;
    }

    .pricing-buttons .btn:last-child {
        margin-right: 0;
    }

    /* 修复Flexbox布局 */
    .advantages-grid,
    .pricing-container,
    .features-grid-simple {
        display: -ms-flexbox;
        -ms-flex-wrap: wrap;
    }

    /* 修复新闻列表布局 */
    .news-list-item {
        display: -ms-flexbox;
    }
}