/* Main Content Container */
.main-content {
    width: 100%;
    padding: 0.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Section 1: Top Banner */
.section-banner {
    width: 98%;
    height: 6.7rem;
    padding: 0.8rem 1rem;
    border-radius: 0.2rem;
    background: url('../images/home/banner.png') no-repeat center center;
    background-size: cover;
    margin-bottom: 0.8rem;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.banner-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 0.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    box-sizing: border-box;
}

.banner-left {
    flex: 1;
}

.banner-title {
    width: 7rem;
    font-size: 0.76rem;
    font-weight: bold;
    color: #000000;
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.banner-text {
    line-height: 0.3rem;
}

.banner-text p {
    font-size: 0.23rem;
    font-family:'Adobe Heiti Std';
    color: #000000;
    line-height: 0.2rem;
    margin-bottom: 0.1rem;
}

.banner-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-placeholder {
    width: 100%;
    max-width: 3rem;
    height: 2.5rem;
    border: 0.02rem dashed #D0D0D0;
    border-radius: 0.1rem;
    background: #FAFAFA;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Section 2: Dark Gray Bar */
.section-gray-bar {
    width: 80%;
    padding: 0.2rem 0;
    border-radius: 0.2rem;
    background: #33A6FF;
    margin-bottom: 0.3rem;
}

.gray-bar-content {
    width: 100%;
    max-width: 13rem;
    margin: 0 auto;
    padding: 0 0.2rem;
    text-align: center;
    color: #FFFFFF;
    line-height: 0.3rem;
    box-sizing: border-box;
}

.gray-bar-content p {
    font-size: 0.25rem;
    font-family:'Adobe Heiti Std';
    margin-bottom: 0.05rem;
}

/* Section 3: Purple Bordered Block */
.section-purple-block {
    /* width: 80%; */
    /* height: 2rem; */
    /* padding: 0.4rem 0; */
    margin-top: 1rem;
    margin-bottom: 0.3rem;
    box-sizing: border-box;
}

.purple-block-container {
    width: 100%;
    margin: 0 auto;
    /* padding: 0 0.2rem; */
    display: flex;
    gap: 0.3rem;
    align-items: center;
    box-sizing: border-box;
}

.purple-block-left {
    flex: 0 0 45%;
    height: 3.89rem;
    padding: 0.2rem 0.3rem 0.15rem 0.15rem;
    width: 7.84rem;
    background:url('../images/home/icon.png') no-repeat center center;
    background-size: cover;
    border-radius: 0.4rem;
    box-sizing: border-box;
    /* display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.3rem; */
}

/* .purple-block-text {
    font-size: 0.18rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 0.3rem;
    text-align: right;
} */

.purple-block-left-img {
    width: 50%;
    height: 100%;
    border-radius: 0.3rem;
    /* height: 100%; */
    /* background: #fff; */
    /* border-radius: 0.1rem; */
    margin-bottom: 0.1rem;
}
.purple-block-text{
    /* width: 50%;
    height: 100%; */
    box-sizing: border-box;
    margin-top: 0.2rem;
    margin-left: 4.5rem;
    margin-bottom: 0.05rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.purple-block-text-left{
    width: 3.2rem;
    font-size: 0.23rem;
    font-weight: 400;
    font-family: 'Adobe Heiti Std';
    color: #fff;
    line-height: 0.3rem;
    margin-bottom: 0.1rem;
    text-align: left;
}

.purple-block-text-img{
    width: 100%;
    height: 2rem;
    /* background: #fff; */
    border-radius: 0.3rem;
    margin-bottom: -0.2rem;
}

.purple-block-right {
    /* flex: 1; */
    padding-left: 0.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    box-sizing: border-box;
}

.purple-block-right .section-label {
    font-size: 0.4rem;
    color: #000000;
    display: block;
    font-family: 'Adobe Heiti Std';
    /* margin-bottom: 0.1rem; */
}

.purple-block-right .section-title {
    font-size: 0.6rem;
    font-family: 'Adobe Heiti Std';
    /* font-weight: bold; */
    color: #000000;
    /* margin-bottom: 0.2rem; */
    line-height: 1;
}

.purple-block-right .section-text {
    font-size: 0.18rem;
    color: #000000;
}

.purple-block-right .section-text p {
    margin: 0;
    padding: 0;
}

/* Section 4: Four Icon Blocks */
.section-four-blocks {
    width: 80%;
    padding: 0.5rem 0;
    margin-bottom: 0.3rem;
}

.four-blocks-container {
    width: 100%;
    /* max-width: 13rem; */
    /* margin: 0 auto; */
    padding: 0 0.2rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.3rem;
}

.four-blocks-header {
    width: 50%;
    flex: 1;
    padding-left: 0.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    box-sizing: border-box;
}

.section-label {
    font-size: 0.2rem;
    color: #000000;
    display: block;
    margin-bottom: 0.1rem;
}

.section-title {
    font-size: 0.7rem;
    /* font-weight: bold; */
    color: #000000;
    margin-bottom: 0.1rem;
    line-height: 0.7rem;
    /* font-family: 'Adobe Heiti Std'; */
}

.section-text {
    /* Empty rule set for future use */
}

.section-text p {
    font-size: 0.15rem;
    font-weight: 700;
    color: #000000;
    line-height: 0.18rem;
    font-family: 'Adobe Heiti Std';
    margin-bottom: 0.05rem;
}

.four-blocks-grid {
    width: 50%;
    display: flex;
    flex-direction: column;
    /* align-items: center;
    justify-content: center; */
    /* flex-wrap: wrap; */
    margin-top: 0.3rem;
}

.block-item-line-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    /* gap: 0.2rem; */
}

.line {
    margin: 0 auto;
    width: 95%;
    height: 0.02rem;
    background: #d4d4d4;
}

.block-item {
    /* background: linear-gradient(to right, #E8D5FF 0%, #D4B5FF 100%); */
    padding: 0.25rem;
    /* border-radius: 0.1rem; */
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 0.15rem;
    flex: 1;
}

.block-item-line {
    width: 0.02rem;
    height: 0.8rem;
    background: #d4d4d4;
}
.block-item-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.block-icon {
    /* width: 0.8rem;
    height: 0.8rem; */
    /* background: rgba(155, 126, 222, 0.5); */
    border-radius: 0.05rem;
    margin-bottom: 0.15rem;
}
.block-icon img{
    width: 0.6rem;
    height: 0.6rem;
    /* object-fit: cover; */
}

.block-title {
    font-size: 0.25rem;
    font-family:  'Oswald';
    /* font-weight: 600 ; */
    color: #000000;
    margin-bottom: 0.07rem;
}

.block-text {
    font-size: 0.18rem;
    font-family: 'Adobe Heiti Std';
    color: #000000;
    line-height: 0.2rem;
}

/* Section 5: Middle Section */
.section-middle {
    width: 100%;
    padding: 0.5rem 0;
    margin-bottom: 0.3rem;
}

.middle-container {
    width: 100%;
    max-width: 13rem;
    margin: 0 auto;
    padding: 0 0.2rem;
    box-sizing: border-box;
}

/* Section 6: Purple Bar */
.section-purple-bar {
    width: 80%;
    padding: 0.4rem 0;
    background: linear-gradient(to right, #9B7EDE 0%, #7B5DBE 100%);
    margin-bottom: 0.3rem;
}


/* Section 7: Two Large Blocks */
.section-two-blocks {
    width: 80%;
    padding: 0.4rem 0;
    margin-bottom: 0.3rem;
}

.purple-bar-content {
    width: 100%;
    margin: 0.2rem auto;
    margin-bottom: 1rem;
    padding: 0 0.2rem;
    box-sizing: border-box;
}
.purple-bar-content p {
    font-size: 0.54rem;
    text-align: center;
    color: #000;
    line-height: 0.5rem;
}

.section-text-p-container {
    width: 10rem;
    margin: -0.5rem auto 0.5rem auto;
    padding: 0 0.2rem;
    box-sizing: border-box;
}

.section-text-p {
    font-size: 0.25rem;
    color: #000;
    line-height: 0.4rem;
    margin-bottom: 0.1rem;
}


.two-blocks-container {
    width: 100%;
    padding: 0 0.2rem;
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    box-sizing: border-box;
}

.large-block {
    flex: 1;
    padding: 0.4rem;
    border-radius: 0.2rem;
    box-sizing: border-box;
}

.large-block.purple-bg {
    background: #33a6ff;
    color: #FFFFFF;
}

.large-block.white-bg {
    background: #f9f8fd;
    border: 0.02rem solid #E8D5FF;
    color: #fff;
}

.large-block .block-title {
    font-size: 0.24rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.15rem;
}

.large-block p {
    font-size: 0.18rem;
    line-height: 0.24rem;
    margin-bottom: 0.1rem;
}

.large-block .black-bg {
    color: #000;
}
.large-block p{
    color: #000;
}
.purple-bg p{
    color: #fff;
}

/* Section 8: Bottom Dashed Border Block */
.section-bottom {
    width: 100%;
    padding: 0.4rem 0;
    margin-bottom: 0.3rem;
}

.bottom-container {
    width: 80%;
    background: url('../images/home/bottombg.png') no-repeat center center;
    margin: 0 auto;
    padding: 0.4rem 0.4rem;
    /* border: 0.02rem dashed #B6B6B6; */
    border-radius: 0.2rem;
    box-sizing: border-box;
}

.bottom-header {
    margin-bottom: 0.3rem;
}

.bottom-header-section-title{
    width: 10rem;
    font-size: 0.7rem;
    color: #000;
    margin: 0 auto;
    text-align: center;
    line-height: 0.7rem;
    margin-bottom: 0.2rem;
}

.bottom-header-section-text{
    font-size: 0.2rem;
    color: #000;
    margin: 0 auto;
    text-align: center;
    line-height: 0.2rem;
}
.bottom-header-section-text p{
    margin: 0;
    padding: 0;
}

.bottom-three-blocks {
    display: flex;
    gap: 0.3rem;
}

.bottom-block {
    flex: 1;
    padding: 0.3rem;
    border-radius: 0.2rem;
    box-sizing: border-box;
}

.bottom-block.white-bg {
    background: #FFFFFF;
    color: #000000;
}

.bottom-block.black-bg {
    background: #33A6FF;
    color: #FFFFFF;
}

.bottom-block .block-title {
    font-size: 0.2rem;
    font-weight: bold;
    margin-bottom: 0.1rem;
}

.bottom-block p {
    font-size: 0.14rem;
    line-height: 0.2rem;
    margin-bottom: 0.05rem;
}

.block-white{
    color: #fff;
    margin-bottom: 0.07rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .banner-container {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .purple-block-container {
        flex-direction: column;
    }
    
    .two-blocks-container {
        flex-direction: column;
    }
    
    .bottom-three-blocks {
        flex-direction: column;
    }
    
    .four-blocks-grid {
        grid-template-columns: 1fr;
    }
}

