* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Microsoft YaHei", sans-serif;
    color: #1f2d3d;
    background: #f4f6f9;
}

.page {
    width: 100vw;
    min-height: 100vh;
    position: relative;
    padding-bottom: 1rem;
}

.header-section {
    width: 100%;
    height: 5.6rem;
    background: url("../images/details_bg.png") center top/100% auto no-repeat;
    position: relative;
    padding-top: 1.2rem;
}

.system-title {
    text-align: left;
    font-size: 0.48rem;
    font-weight: bold;
    color: #000;
    margin: 0 auto;
    width: 13.5rem;
    letter-spacing: 0.02rem;
}

.intro-box {
    width: 13.5rem;
    height: 0.8rem;
    margin: 0.6rem auto 0;
    position: relative;
    padding: 0 0.4rem;
}

.quote {
    font-size: 0.9rem;
    color: #4b78f0;
    position: absolute;
    font-family: Arial, sans-serif;
    font-weight: bold;
}

.left-quote {
    left: -0.1rem;
    top: -0.1rem;
}

.right-quote {
    right: -0.1rem;
    bottom: -1.3rem;
}

.description {
    font-size: 0.2rem;
    color: #333;
    line-height: 1.8;
    margin: 0;
    text-indent: 0.4rem;
    /* display: -webkit-box; */
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.learn-more {
    color: #4b78f0;
    text-decoration: none;
    font-size: 0.2rem;
    margin-left: 0.1rem;
}

.card-container {
    width: 13.5rem;
    height: 1.8rem;
    margin: 1.6rem auto 0;
    background: #fff;
    border-radius: 0.1rem;
    display: flex;
    align-items: center;
    box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
}

/* hidden 属性需压过 display:flex，否则整块试用卡片无法真正隐藏 */
.card-container[hidden] {
    display: none !important;
}

.guide-box {
    width: 2.8rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.zhinan-img {
    width: 2rem;
    position: absolute;
    bottom: 0.45rem;
    left: 0.3rem;
}

.trial-box {
    flex: 1;
    /* padding: 0 -0.6rem; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 3.3rem;
}

.trial-header {
    display: flex;
    align-items: center;
    width: 10.5rem;
    height: 0.7rem;
    background: url(../images/tiyan.png) left center / 100% 100% no-repeat;
    padding-left: 1.1rem;
    margin-bottom: 0.2rem;
    padding-top: 0.1rem;
    margin-top: -0.3rem;
}

.trial-text {
    color: #fff;
    font-size: 0.22rem;
    margin-right: 0.1rem;
}

.trial-btn {
    background: #fff;
    color: #5084ff;
    padding: 0.04rem 0.2rem;
    border-radius: 0.06rem;
    text-decoration: none;
    font-size: 0.18rem;
}

.trial-info {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    padding-left: 0.1rem;
}

.info-item {
    display: flex;
    align-items: center;
    font-size: 0.22rem;
}

.info-item .label {
    padding: 0.06rem 0.2rem;
    border-radius: 0.06rem;
    margin-right: 0.15rem;
}

.info-item:nth-child(1) .label {
    background: #e1f5eb;
    color: #1e7e4d;
}

.info-item:nth-child(2) .label {
    background: #ece7fc;
    color: #6455a2;
}

.info-item .value {
    color: #333;
    font-weight: bold;
    font-family: Arial, sans-serif;
}

.main-content .content-section {
    width: 100%;
    margin-top: 0.01rem;
    margin-bottom: 0.28rem;
}

.content-section {
    position: relative;
    z-index: 2;
}

.region-filter-bar {
    display: flex;
    align-items: center;
    gap: 0.28rem;
    flex-wrap: wrap;
    padding: 0.15rem 0.32rem;
    background: #ffffff;
    border-radius: 0.08rem;
}

.region-filter-label {
    flex-shrink: 0;
    font-family: SourceHanSansCN, SourceHanSansCN;
    font-weight: 400;
    font-size: 0.2rem;
    color: #3A6CEB;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.region-filter-letters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.14rem;
}

.region-filter-letter {
    width: 0.46rem;
    height: 0.46rem;
    padding: 0;
    border: none;
    border-radius: 0.06rem;
    font-size: 0.20rem;
    /* font-weight: bold; */
    cursor: pointer;
    background: #F1F5FE;
    color: #3A6CEB;
    font-family: Arial, "Microsoft YaHei", sans-serif;
    transition: background 0.15s ease, color 0.15s ease;
}

.region-filter-letter:hover,
.region-filter-letter--active {
    background: #4b78f0;
    color: #fff;
}

.main-content {
    width: 13.5rem;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    margin-top: 0.7rem;
}

.page.no-trial-card .main-content {
    margin-top: -1.2rem;
}

.formal-address-btn {
    display: inline-block;
    background: #4b78f0;
    color: #fff;
    font-size: 0.24rem;
    font-weight: bold;
    padding: 0.2rem 0.3rem;
    /* border-radius: 0.06rem; */
    margin-bottom: 0.2rem;
}

.province-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.province-item {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.45rem;
    padding: 0 0.16rem;
    height: 0.8rem;
    border-radius: 0.06rem;
    box-shadow: 0 0.05rem 0.15rem rgba(0, 0, 0, 0.03);
    font-size: 0.22rem;
    color: #4b78f0;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.province-item span {
    white-space: nowrap;
}

.province-list--single .province-item {
    width: fit-content;
    min-width: 2.45rem;
    max-width: 100%;
    padding: 0 0.24rem;
}

.province-item:hover:not(.province-item--active) {
    box-shadow: 0 0.05rem 0.2rem rgba(75, 120, 240, 0.2);
    transform: translateY(-2px);
}

.province-item--active {
    background: #4b78f0 !important;
    color: #fff !important;
    transform: none;
    box-shadow: 0 0.05rem 0.15rem rgba(75, 120, 240, 0.35);
}

.province-item--active:hover {
    transform: none;
}

.province-item .item_star {
    width: 0.26rem;
    height: 0.26rem;
    margin-right: 0.1rem;
    object-fit: contain;
}

.province-item--active .item_star {
    filter: brightness(0) invert(1);
}

.service-float {
    position: fixed;
    right: 0.3rem;
    top: 55%;
    transform: translateY(-50%);
    background: #fff;
    width: 0.6rem;
    height: 1.5rem;
    border-radius: 0.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0.05rem 0.2rem rgba(0, 0, 0, 0.1);
    color: #4b78f0;
    font-size: 0.14rem;
    text-align: center;
    line-height: 1.2;
    z-index: 99;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-float:hover {
    width: 2rem;
    border-radius: 0.4rem;
    flex-direction: row;
    justify-content: flex-start;
    padding-left: 0.15rem;
}

.service-float:hover .service-text {
    display: none;
}

.service-float:hover .service-phone {
    display: block;
    white-space: nowrap;
    margin-left: 0.1rem;
    font-size: 0.2rem;
    font-weight: bold;
}

.service-phone {
    display: none;
}

.phone-icon {
    width: 0.24rem;
    margin-bottom: 0.05rem;
    transition: all 0.3s ease;
}

.service-float:hover .phone-icon {
    margin-bottom: 0;
}