/* 全局样式-现代商务蓝调 */
:root {
    --primary-color: #0a2d5f; /* 主色调-深海蓝 */
    --secondary-color: #165DFF; /* 辅助色-科技蓝 */
    --accent-color: #0FC6C2; /* 点缀色-清新青 */
    --light-blue: #F0F7FF; /* 浅蓝背景 */
    --border-color: #E1E8F0; /* 柔和边框 */
    --white: #FFFFFF; /* 纯白 */
    --text-dark: #2D3748; /* 深灰色文字 */
    --text-light: #718096; /* 浅灰色文字 */
    --shadow-light: 0 4px 12px rgba(10, 45, 95, 0.08);
    --shadow-medium: 0 8px 24px rgba(10, 45, 95, 0.12);
    --shadow-heavy: 0 15px 35px rgba(10, 45, 95, 0.15);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Microsoft YaHei', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--white);
    letter-spacing: 0.5px;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* 艺术字样式 - Symzel品牌标识 */
.brand-logo {
    font-weight: 700;
    letter-spacing: 1.2px;
    font-size: 2rem;
    font-family: 'Poppins', cursive;
    color: var(--secondary-color);
    text-shadow: 0 2px 4px rgba(22, 93, 255, 0.15);
}

.brand-subtitle {
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 0.8px;
    font-size: 0.9rem;
    margin-left: 0.8rem;
    font-family: 'Poppins', sans-serif;
}

/* 通用板块样式 */
.section {
    padding: 6rem 0;
    position: relative;
    background-color: var(--white);
}

.section.alt-bg {
    background-color: var(--light-blue);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 1.5rem;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    max-width: 700px;
    margin: 1.2rem auto 0;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* 导航栏样式 */
.navbar {
    background-color: var(--white) !important;
    box-shadow: var(--shadow-light);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    box-shadow: var(--shadow-medium);
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 0.8rem;
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* 轮播图样式-5秒循环轮播 | V14版 精准配图 */
.carousel-item {
    height: 85vh;
    min-height: 500px;
    margin-top: 90px;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1); /* 顺滑轮播动画 */
}
.carousel-item img {
    object-fit: cover;
    height: 100%;
    filter: brightness(0.9);
}
.carousel-caption {
    bottom: 30%;
    z-index: 2;
    text-align: left;
    left: 10%;
    right: 30%;
}
.carousel-caption h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.8rem;
    text-shadow: 0 3px 10px rgba(10, 45, 95, 0.2);
    line-height: 1.3;
    letter-spacing: 1.2px;
    color: var(--white);
}
.carousel-caption p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(10, 45, 95, 0.15);
    line-height: 1.8;
}

/* 核心优势卡片 */
.advantage-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background-color: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.4s ease;
    height: 100%;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--secondary-color);
}

.advantage-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1);
}

.advantage-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.advantage-card p {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
    line-height: 1.7;
}

/* 产品卡片 */
.product-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--white);
    transition: all 0.4s ease;
    height: 100%;
    box-shadow: var(--shadow-light);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--secondary-color);
}

.product-img {
    height: 220px;
    overflow: hidden;
}

.product-img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-card .card-body {
    padding: 1.8rem;
}

.product-card .card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-card .card-text {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
    line-height: 1.7;
}

/* 时间线样式 */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, var(--secondary-color), var(--accent-color));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-container {
    padding: 20px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 3px solid var(--secondary-color);
    border-radius: 50%;
    top: 25px;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::after {
    right: -10px;
}

.right::after {
    left: -10px;
}

.timeline-content {
    padding: 2rem;
    background-color: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
}

.timeline-date {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.8rem;
    display: block;
    font-size: 1.1rem;
}

.timeline-content h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

/* 关于我们内容 */
.about-content {
    background-color: var(--white);
    border-radius: 12px;
    padding: 3rem;
    border: 1px solid var(--border-color);
    line-height: 1.8;
    box-shadow: var(--shadow-light);
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

/* 联系卡片 */
.contact-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-light);
}

.contact-card:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-heavy);
}

.contact-card h5 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
}

.contact-list li i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    margin-top: 3px;
}

.wechat-qr-code {
    max-width: 200px;
    max-height: 200px;
    margin: 1rem auto;
    display: block;
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
}

/* 页脚样式 */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-brand {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 1.5px;
    font-family: 'Poppins', cursive;
    color: var(--white);
}

.footer-desc {
    color: #CBD5E0;
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 350px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-social a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #CBD5E0;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links h6 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #CBD5E0;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 2.5rem;
    margin-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #CBD5E0;
    font-size: 0.95rem;
}

/* 语言切换按钮 */
.language-switcher {
    margin-left: 1.5rem;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.lang-btn.active,
.lang-btn:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .carousel-item {
        height: 75vh;
    }
    .carousel-caption {
        bottom: 25%;
        left: 5%;
        right: 5%;
        text-align: center;
    }
    .carousel-caption h1 {
        font-size: 3.2rem;
    }
    .carousel-caption p {
        max-width: 100%;
    }
    .section {
        padding: 4.5rem 0;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .timeline::after {
        left: 30px;
    }

    .timeline-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-container::after {
        left: 18px;
    }

    .left::after, .right::after {
        left: 18px;
    }

    .right {
        left: 0%;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        height: 65vh;
        margin-top: 80px;
    }
    .carousel-caption h1 {
        font-size: 2.8rem;
    }
    .carousel-caption p {
        font-size: 1.15rem;
    }
    .section {
        padding: 3.5rem 0;
    }

    .section-title {
        margin-bottom: 3rem;
    }

    .about-content {
        padding: 2rem;
    }

    .brand-logo {
        font-size: 1.8rem;
    }

    .nav-link {
        margin: 0.5rem 0;
        padding: 0.5rem;
    }

    .wechat-qr-code {
        max-width: 150px;
        max-height: 150px;
    }
}

@media (max-width: 576px) {
    .carousel-item {
        height: 55vh;
    }
    .carousel-caption {
        bottom: 20%;
    }
    .carousel-caption h1 {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
    }
    .section {
        padding: 3rem 0;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .advantage-card, .contact-card {
        padding: 1.8rem;
    }

    .footer-brand {
        font-size: 1.8rem;
    }

    .wechat-qr-code {
        max-width: 120px;
        max-height: 120px;
    }
}