/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #000080;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #3b1d62;
    transition: all 0.3s ease;
}

a:hover {
    color: #3b1d62;
}

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

/* 导航栏 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
    height: 40px;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: rotate(-5deg);
}

.logo h1 {
    font-size: 24px;
    color: #3b1d62;
    font-weight: 700;
    transition: color 0.3s ease;
}

.logo:hover h1 {
    color: #2a1345;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.nav-links a {
    color: #555;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 12px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: block;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 12px;
    background-color: #3b1d62;
    transition: all 0.3s ease;
}

.nav-links li:hover {
    background-color: rgba(59, 29, 98, 0.1);
}

.nav-links a:hover {
    color: #3b1d62;
    transform: scale(1.05);
}

.nav-links a:hover::after {
    width: calc(100% - 24px);
}

/* 移动端保持原有样式 */
@media (max-width: 768px) {
    .nav-links li {
        margin-left: 0;
        background: none !important;
    }

    .nav-links a {
        padding: 5px 0;
    }

    .nav-links a:hover {
        transform: none;
    }

    .nav-links a::after {
        left: 0;
    }

    .nav-links a:hover::after {
        width: 100%;
    }
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

/* 英雄区域 */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('http://bulaomei.dfsjkhk.cn/pic/bulaomei-shouye1.png') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: #3b1d62;
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #3b1d62;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 关于我们 */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: #3b1d62;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: #3b1d62;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: #777;
    max-width: 700px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.about-text p {
    margin-bottom: 15px;
    color: #555;
}

.about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 产品价值 */
.value-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.value-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    width: calc(33.333% - 20px);
    min-width: 300px;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-card i {
    font-size: 40px;
    color: #3b1d62;
    margin-bottom: 20px;
    display: inline-block;
}

.value-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.value-card p {
    color: #666;
}

/* 应用场景 */
.scenarios {
    background-color: #f9f9f9;
}

.scenario-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    background-color: #e0e0e0;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    color: #555;
    margin: 5px;
}

.tab-btn.active {
    background-color: #3b1d62;
    color: #fff;
}

.tab-content {
    display: none;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.tab-content h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #3b1d62;
}

.tab-content p {
    margin-bottom: 15px;
    color: #555;
}

/* 联系我们 */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.contact-card {
    flex: 1;
    min-width: 250px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-card i {
    font-size: 40px;
    color: #3b1d62;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.contact-card p {
    color: #666;
}

/* 页脚 */
footer {
    background-color: #3b1d62;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: #3b1d62;
    bottom: 0;
    left: 0;
}

.footer-column p {
    margin-bottom: 15px;
    color: #ddd;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: #fff;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #3b1d62;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ddd;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .value-card {
        width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        transition: all 0.5s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .about-content {
        flex-direction: column;
    }

    .about-text {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .value-card {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-title h2 {
        font-size: 28px;
    }
}