/* 管家婆生鲜ERP产品页样式 */

/* Banner Section */
.banner-sxerp {
    background:url('../images/product-sxerp/sxerp-banner-bg.png') top center no-repeat;
    background-size: cover;
    padding: 112px 0 48px;
    color: #fff;
}

.banner-sxerp .banner-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.banner-sxerp .banner-left {
    flex: 1;
}

.banner-sxerp .page-banner-title {
    font-size: 3.25rem;
    line-height: 52px;
    font-weight: 700;
    margin-bottom: 12px;
    color: rgb(33, 33, 33);;
}

.banner-sxerp .page-banner-subtitle {
    font-size: var(--text-4xl);
    line-height: 36px;
    font-weight: 600;
    color: rgb(39, 174, 96);;
}

.banner-sxerp .page-banner-slogan {
    font-size: var(--text-2xl);
    font-weight: 500;
    margin-bottom: 16px;
    color: rgb(75, 85, 99);
}

.banner-sxerp .page-banner-flow {
    font-size: var(--text-base);
    margin-bottom: 24px;
    color: rgb(75, 85, 99);
}

.banner-sxerp .banner-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.banner-sxerp .banner-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgb(255, 255, 255);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: var(--text-sm);
    color: rgb(75, 85, 99);
}

.banner-sxerp .tag-icon {
    width: 18px;
    height: 18px;
    background: #fff;
    color: #52C41A;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xs);
    font-weight: bold;
    font-style: normal;
}

.banner-sxerp .page-banner-target {
    font-size: var(--text-sm);
    color: rgb(75, 85, 99);
    margin-bottom: 28px;
}

.banner-sxerp .banner-buttons {
    display: flex;
    gap: 16px;
}

.banner-sxerp .banner-buttons .btn-primary {
    background: #FF9500;
    border-color: #FF9500;
}

.banner-sxerp .banner-buttons .btn-primary:hover {
    background: #E68600;
    border-color: #E68600;
}

.banner-sxerp .banner-buttons .btn-outline {
    border-color: #FF9500;
    color: #FF9500;
}

.banner-sxerp .banner-buttons .btn-outline:hover {
    background: #FF9500;
    color: #ffffff;
}

.banner-sxerp .banner-right {
    flex: 1;
    text-align: right;
}

.banner-sxerp .banner-right img {
    max-width: 100%;
    height: auto;
}

/* Pain Points Section */
.painpoints-section {
    padding: 48px 0;
    background: rgba(251, 250, 250, 1);
}

.painpoints-section .section-title {
    text-align: center;
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 48px;
}
.painpoints-section .section-title strong {
    color: rgb(39, 174, 96);
}

.painpoints-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.painpoint-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.painpoint-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.painpoint-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
}

.painpoint-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.painpoint-title {
    font-size: var(--text-md);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.painpoint-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Why Choose Section */
.why-sxerp-section {
    padding: 48px 0;
    background: #fff;
}

.why-sxerp-section .section-title {
    text-align: center;
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 48px;
}

.why-sxerp-section .title-highlight {
    color: #52C41A;
}

.why-sxerp-content {
    display: flex;
    gap: 0;
    align-items: stretch;
}

.why-sxerp-left {
    flex: 0 0 320px;
}

.why-sxerp-image {
    position: relative;
    height: 100%;
    border-radius: 12px 0 0 12px;
    overflow: hidden;
}

.why-sxerp-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-sxerp-right {
    flex: 1;
}

.why-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0;
    border: 1px solid #f0f0f0;
    border-radius: 0 12px 12px 0;
    overflow: hidden;
    height: 100%;
}

.why-feature-card {
    padding: 24px 20px;
    background: #fff;
    border-right: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.why-feature-card:nth-child(3n) {
    border-right: none;
}

.why-feature-card:nth-last-child(-n+3) {
    border-bottom: none;
}

.why-feature-card:hover {
    background: #F6FFED;
}

.why-feature-title {
    font-size: var(--text-md);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.why-feature-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Features Section */
.features-section {
    padding: 48px 0;
    background: #F6FFED;
}

.features-section .section-title {
    text-align: center;
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 48px;
}

.features-section .title-highlight {
    color: #52C41A;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.feature-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.feature-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.feature-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: #fff;
    text-align: center;
}

.feature-title {
    font-size: var(--text-md);
    font-weight: 700;
    margin-bottom: 6px;
}

.feature-desc {
    font-size: var(--text-sm);
    opacity: 0.9;
    line-height: 1.5;
}

/* Industries Section */
.industries-section {
    padding: 48px 0;
    background: #fff;
}

.industries-section .section-title {
    text-align: center;
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 48px;
}

.industries-section .title-highlight {
    color: #52C41A;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.industry-card {
    background: #fff;
    transition: all 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-4px);
}

.industry-card:hover .industry-image img {
    transform: scale(1.05);
}

.industry-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 8px;
}

.industry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.industry-info {
    padding: 16px 0;
    text-align: center;
}

.industry-name {
    font-size: var(--text-md);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.industry-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    padding: 48px 0;
    background: rgba(251, 250, 250, 1);
}

.stats-section .section-title {
    text-align: center;
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.stats-section .title-highlight {
    color: #52C41A;
}

.stats-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 60px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 0;
}

.stat-item {
    text-align: center;
    padding: 20px 30px;
    position: relative;
}

.stat-item:not(:nth-child(3n))::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: #e8e8e8;
}

.stat-number {
    font-size: 2.625rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.2;
}

.stat-item-highlight .stat-number {
    color: var(--text-primary);
}

.stat-plus {
    font-size: var(--text-3xl);
    font-weight: 400;
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

/* Customers Section */
.customers-section {
    padding: 80px 0;
    background: #F6FFED;
}

.customers-section .section-title {
    text-align: center;
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 48px;
}

.customers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.customer-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.customer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.customer-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
}

.customer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.customer-name {
    font-size: var(--text-md);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.customer-company {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.customer-quote {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
}

/* CTA Section */
.cta-section-sxerp {
    padding: 48px 0;
    background: url(../images/comm-cta-bg.png) top center no-repeat;
    text-align: center;
}

.cta-section-sxerp .section-title {
    font-size: var(--text-3xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.cta-subtitle {
    font-size: var(--text-base);
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.cta-buttons .btn {
    padding: 14px 40px;
    font-size: var(--text-base);
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
    background: #52C41A;
    color: #fff;
    border: none;
}

.cta-buttons .btn-primary:hover {
    background: #389E0D;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(82, 196, 26, 0.3);
}

.cta-buttons .btn-outline {
    background: transparent;
    color: #52C41A;
    border: 1px solid #52C41A;
}

.cta-buttons .btn-outline:hover {
    background: #52C41A;
    color: #fff;
}

/* Brand Section */
.brand-section {
    background: url('../images/product-sxerp/sxerp-brand-bg.jpg') no-repeat center -200px/cover;
    color: #fff;
}

.brand-container {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    min-height: 400px;
}

.brand-left {
    flex: 0 0 40%;
    background: linear-gradient(135deg, #2b7de1 0%, #1a5fb4 100%);
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 50px;
}

.brand-item {
    position: relative;
}

.brand-title-wrap {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
}

.brand-title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: #fff;
}

.brand-subtitle {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
}

.brand-desc {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.brand-right {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    align-items: center;
}

.brand-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 60px;
    width: 100%;
}

.brand-service-item {
    position: relative;
    padding-bottom: 30px;
}

.brand-service-item:nth-child(1),
.brand-service-item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-service-item:nth-child(odd)::after {
    content: '';
    position: absolute;
    right: -30px;
    top: 0;
    height: 100%;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.brand-service-title {
    font-size: var(--text-md);
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.brand-service-desc {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 1024px) {
    .banner-sxerp .banner-content {
        flex-direction: column;
        text-align: center;
    }

    .banner-sxerp .banner-right {
        text-align: center;
    }

    .banner-sxerp .banner-buttons {
        justify-content: center;
    }

    .painpoints-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-sxerp-content {
        flex-direction: column;
    }

    .why-sxerp-left {
        flex: 0 0 auto;
        max-width: 400px;
        margin: 0 auto;
    }

    .why-sxerp-image {
        height: 300px;
    }

    .why-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-feature-card:nth-child(3n) {
        border-right: 1px solid #f0f0f0;
    }

    .why-feature-card:nth-child(2n) {
        border-right: none;
    }

    .why-feature-card:nth-last-child(-n+3) {
        border-bottom: 1px solid #f0f0f0;
    }

    .why-feature-card:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card-large {
        grid-column: span 2;
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .customers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .banner-sxerp {
        padding: 60px 0;
    }

    .banner-sxerp .page-banner-title {
        font-size: var(--text-3xl);
    }

    .banner-sxerp .page-banner-subtitle {
        font-size: var(--text-lg);
    }

    .painpoints-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card {
        aspect-ratio: 16 / 12;
    }

    .feature-content {
        padding: 16px;
    }

    .feature-title {
        font-size: var(--text-sm);
    }

    .feature-desc {
        font-size: var(--text-xs);
    }

    /* Why Choose Mobile */
    .why-sxerp-left {
        max-width: 100%;
    }

    .why-sxerp-image {
        height: 250px;
    }

    .why-features-grid {
        grid-template-columns: 1fr;
    }

    .why-feature-card {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
    }

    .why-feature-card:nth-child(3n) {
        border-right: none;
    }

    .why-feature-card:nth-child(2n) {
        border-right: none;
    }

    .why-feature-card:nth-last-child(-n+3),
    .why-feature-card:nth-last-child(-n+2) {
        border-bottom: 1px solid #f0f0f0;
    }

    .why-feature-card:last-child {
        border-bottom: none;
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }

    .stats-wrapper {
        padding: 40px 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 0;
    }

    .stat-item:not(:nth-child(3n))::after {
        display: none;
    }

    .stat-item:not(:nth-child(2n))::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 60%;
        background: #e8e8e8;
    }

    .stat-number {
        font-size: var(--text-3xl);
    }

    .customers-grid {
        grid-template-columns: 1fr;
    }

    .brand-container {
        flex-direction: column;
    }

    .brand-left {
        flex: 0 0 auto;
        padding: 40px 30px;
        gap: 30px;
    }

    .brand-right {
        padding: 40px 30px;
    }

    .brand-services-grid {
        gap: 30px 40px;
    }

    .brand-service-item:nth-child(odd)::after {
        right: -20px;
    }

    .cta-section-sxerp .section-title {
        font-size: var(--text-xl);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 200px;
    }
}
