:root {
    --primary: #FF6B35;
    --secondary: #2D82B7;
    --success: #4CAF50;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

li,
ul {
    padding: 0;
    margin: 0;
    list-style: none
}

/* 导航栏定制样式 */
.navbar {
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}

.navbar-brand img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
}

.nav-link {
    font-weight: 500;
    color: #333 !important;
    position: relative;
    padding: 0.5rem 1rem !important;
    transition: all 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
    left: 15%;
}

.nav-link.active {
    color: var(--primary) !important;
}

.navbar-toggler:focus {
    box-shadow: none;
}

@media (max-width: 991px) {
    .navbar-collapse {
        padding: 1rem 0;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .nav-item {
        margin: 0.5rem 0;
    }

    .nav-link {
        padding: 0.8rem 1.5rem !important;
    }

    .navbar-brand img {
        width: 40px !important;
        height: 40px !important;
    }

    .btn-primary {
        width: 100%;
        margin-top: 1rem;
    }
}

.hero-banner {
    background: linear-gradient(rgba(255, 107, 53, 0.9), rgba(255, 107, 53, 0.8)),
        url('platform-bg.jpg') center/cover;
    padding: 120px 0;
    color: white;
}

.value-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    background-color: white;
}

.value-card:hover {
    transform: translateY(-5px);
}


/* 定制步骤样式 */
#process .d-flex {
    padding: 1.2rem;
    border-radius: 12px;
    transition: background 0.3s;
}

#process .d-flex:hover {
    background: rgba(245, 245, 245, 0.8);
}

/*  */
.section-1 {
    text-align: center;
}

.section-1 img {
    display: block;
    height: 504px;
    margin-bottom: 48px
}

/* 有赞社区团购能做什么 */
.section-3 {
    text-align: center;
}

.section-3 .system-list {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 48px;
    margin-top: 40px;
}

.section-3 .system-list .system-item {
    width: calc(100% / 4 - 20px);
    -webkit-box-shadow: 0 8px 30px rgba(61, 67, 77, .08);
    box-shadow: 0 8px 30px rgba(61, 67, 77, .08);
    background-position: center 35px;
    background-repeat: no-repeat;
    padding: 120px 0 24px;
    background-color: white;
    border-radius: .25rem;
}
.section-3 .system-list .system-item.agent {
    background-image: url("./state/agent.png");
    background-size: 55px 49px
}
.section-3 .system-list .system-item.merchant {
    background-image: url("./state/merchant.png");
    background-size: 55px 49px
}

.section-3 .system-list .system-item.mission {
    background-image: url("./state/mission.png");
    background-size: 60px 49px
}

.section-3 .system-list .system-item.consumer {
    background-image: url("./state/consumer.png");
    background-size: 58px 54px
}

.section-3 .system-list .system-item dt {
    font-size: 24px;
    line-height: 28px;
    color: #39393a;
    margin-bottom: 12px
}

.section-3 .system-list .system-item .detail-list {
    display: inline-block
}

.section-3 .system-list .system-item .detail-list li {
    text-align: left;
    font-size: 15px;
    line-height: 30px;
    color: #7a7c7d
}

/* 客服浮动右下角浮动 */
.float-btn:hover {
    transform: translateY(-5px);
}
.float-btn {
    position: fixed;
    right: 50px;
    bottom: 50px;
    z-index: 999;
    transition: all 0.3s ease;
}
