/* 华为风格基础变量 */
:root {
    --huawei-red: #C7000B;
    --huawei-dark: #1A1A1A;
    --huawei-gray: #F5F5F5;
    --norway-blue: #00205B;
    --norway-red: #BA0C2F;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "HarmonyOS Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: white;
}

/* 华为风格导航栏 */
.nav-bar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #3763e8;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    z-index: 1000;
    height: 124px;
}

.nav-container {
    width: 100%;
    max-width: 1600px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
}

.logo {
    width: 150px;
    height: auto;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    position: relative;
    padding: 0 20px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    height: 80px;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--huawei-red);
}

.nav-links li:hover::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 20px;
    width: calc(100% - 40px);
    height: 3px;
    background-color: var(--huawei-red);
}

/* 主横幅区域 */
.hero-banner {
    margin-top: 124px;
    height: 1048px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    position: relative;
    overflow: hidden;
}

.banner-content {
    position: absolute;
    top: 54%;
    left: 5%;
    transform: translateY(-50%);
    max-width: 34%;
    z-index: 2;
}

.partner-tag {
    display: inline-flex;
    align-items: center;
    background-color: var(--norway-blue);
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 30px;
}

.flag {
    font-size: 18px;
    margin-right: 10px;
}

.banner-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--huawei-dark);
    position: relative;
}

.banner-title span {
    color: var(--huawei-red);
    position: relative;
}

.banner-title span::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(199, 0, 11, 0.2);
    z-index: -1;
}

.banner-desc {
    font-size: 20px;
    color: #666;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--huawei-red);
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s;
}

.cta-button:hover {
    background-color: #A00009;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(199, 0, 11, 0.2);
}

.banner-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 60%;
    max-width: 1000px;
}

/* 产品优势区块 */
.features-section {
    padding: 100px 0;
    background-color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--huawei-dark);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.feature-card {
    background-color: var(--huawei-gray);
    border-radius: 8px;
    padding: 40px 30px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 40px;
    color: var(--huawei-red);
    margin-bottom: 25px;
}

.feature-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--huawei-dark);
}

.feature-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

/* 授权凭证区 */
.certificate-section {
    padding: 100px 0;
    background-color: var(--huawei-gray);
}

.certificate-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
}

.certificate-content {
    flex: 1;
    padding-right: 60px;
}

.certificate-badge {
    display: inline-block;
    background-color: var(--norway-blue);
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 20px;
}

.certificate-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--huawei-dark);
}

.certificate-desc {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.8;
}

.certificate-list {
    list-style: none;
}

.certificate-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 16px;
    color: #444;
}

.certificate-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--huawei-red);
    font-size: 24px;
    line-height: 1;
}

.certificate-list li a {
    color: var(--huawei-red);
    text-decoration: none;
    margin-right: 20px;
}

.certificate-image {
    flex: 1;
    text-align: center;
}

.certificate-image img {
    max-width: 30%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 产品展示区 */
.products-section {
    margin: 100px 0;
    background-color: white;
}

.products-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 200px;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-info {
    padding: 25px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--huawei-dark);
}

.product-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-link {
    display: inline-flex;
    align-items: center;
    color: var(--huawei-red);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.product-link::after {
    content: "→";
    margin-left: 5px;
    transition: transform 0.3s;
}

.product-link:hover::after {
    transform: translateX(5px);
}

/* 页脚 */
.footer {
    background-color: var(--huawei-dark);
    color: white;
    padding: 80px 0 40px;
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-grid {
    display: grid;
    margin-bottom: 60px;
    grid-template-columns: repeat(2, 1fr);
}

.footer-column h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #aaa;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 15px;
}

.footer-column a {
    color: #ddd;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 14px;
    color: #999;
}

.footer-links {
    display: flex;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    margin-left: 30px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .banner-title {
        font-size: 42px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }

    .hero-banner {
        height: auto;
        padding: 120px 0;
    }

    .banner-content {
        position: static;
        transform: none;
        max-width: 100%;
        padding: 0 20px;
        text-align: center;
        margin-bottom: 40px;
    }

    .banner-image {
        position: static;
        transform: none;
        width: 100%;
        padding: 0 20px;
    }

    .certificate-container {
        flex-direction: column;
    }

    .certificate-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .footer-links {
        margin-top: 20px;
    }

    .footer-links a {
        margin: 0 15px;
    }
}

/* index-back.html中的样式 */
.tls-nox-r-600 {
    display: inline-block;
    font-size: 18px;
    margin: 10px 0;
    color: #000;
}

.tls-nox-r-600:hover {
    color: #F25C27;
}

.nav-links .nav-links_current::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 20px;
    width: calc(100% - 40px);
    height: 3px;
    background-color: var(--huawei-red);
}

.nav-links .nav-links_current a {
    color: var(--huawei-red);
}

.banner-title1 {
    color: #fff !important;
}

.nav-container a div {
    width: 70px !important;
    height: 56px !important;
    margin-top: 8px;
}

.nav-container a span {
    top: -16px !important;
}

.nav-container a div img {
    box-shadow: 1px 2px 17px #ffffff;
}