/* 全局样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-y: scroll !important;
}

/* 导航栏样式 */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    color: #333 !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #007bff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:not(.btn-primary):hover::after {
    width: 100%;
}

.nav-link:not(.btn-primary):hover {
    color: #007bff !important;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* 导航栏免费试用按钮和下拉菜单样式 */
.nav-link.btn-primary {
    color: #fff !important;
    font-weight: 600;
    margin-left: 1rem;
    padding: 0.5rem 1.2rem !important;
}

.nav-link.btn-primary:hover {
    color: #fff !important;
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* 客服悬浮按钮样式 */
.customer-service {
    position: fixed;
    right: 30px;
    bottom: 100px;
    z-index: 1000;
}

.cs-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
}

.cs-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.cs-btn i {
    font-size: 24px;
    margin-bottom: 2px;
}

.cs-btn span {
    font-size: 12px;
    font-weight: 500;
}

/* 二维码弹出层样式 */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modal-header {
    padding: 1.5rem 1.5rem 0;
}

.modal-title {
    font-weight: 600;
    color: #333;
}

.btn-close:focus {
    box-shadow: none;
}

.modal-body img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.navbar .dropdown-menu {
    margin-top: 10px;
    padding: 0.8rem 0;
    border: none;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    animation: dropdownFade 0.25s ease;
}

.navbar .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    transform: rotate(45deg);
    box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.04);
}

.navbar .dropdown-item {
    padding: 0.7rem 1.5rem;
    color: #4a5568;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background-color: #f8f9fa;
    color: #007bff;
    padding-left: 1.8rem;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 首屏区域 */
.hero-section {
    padding: 120px 0 80px;
    background-color: #f8f9fa;
}

/* 特点卡片 */
.feature-card, .solution-card, .service-card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.feature-card:hover, .solution-card:hover, .service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.12);
}

/* 解决方案卡片 */
.solution-card {
    background: #fff;
    transition: all 0.3s ease;
}

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

.solution-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e7f1ff;
    border-radius: 50%;
}

/* 联系我们 */
.contact-item {
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    transition: all 0.3s ease;
}

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

/* 响应式调整 */
@media (max-width: 991.98px) {
    .navbar-nav {
        padding: 1rem 0;
    }

    .nav-link {
        padding: 0.5rem 0 !important;
    }

    .btn-primary {
        margin: 1rem 0;
        display: inline-block;
    }

    .hero-section {
        padding: 100px 0 60px;
        text-align: center;
    }

    .hero-section .btn {
        margin: 0.5rem;
    }

    .navbar .dropdown-menu::before {
        display: none;
    }

    .navbar .dropdown-menu {
        margin-top: 0;
        background-color: #f8f9fa;
        box-shadow: none;
        border-radius: 8px;
    }
}