/* 星盘首页样式 - 使用 ah_ 前缀避免冲突，使用 rem 布局 */
/* 基准：1920px 设计稿，1rem = 100px */
.ah_wrapper {
    width: 100%;
    background: #F8FCFF;
    font-size: 14px;
}

/* banner */
.ah_hero {
    position: relative;
    margin-bottom: -0.5rem;
}

.ah_hero_content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.36rem;
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
}

.ah_hero_desc {
    font-size: 0.2rem;
    line-height: 1.8;
    color: #151D3E;
}

.ah_hero_btn {
    padding: 9px 40px;
    background: linear-gradient(271deg, #2580FF 0%, #0B31F2 100%);
    border: none;
    border-radius: 24px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.ah_hero_btn:hover {
    transform: translateY(-0.02rem);
    box-shadow: 0 0.06rem 0.16rem rgba(68, 114, 255, 0.4);
}

.ah_hero_stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: url(../../images/xingpan/home/banner_bg.png) no-repeat;
    background-size: 100% 100%;
    border-radius: 0.12rem;
    padding: 0.58rem 0.4rem;
    transform: translateY(-0.74rem);
}

.ah_stat_item {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.ah_stat_item img {
    width: 0.64rem;
    height: auto;
}

.ah_stat_content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ah_stat_number {
    font-size: 0.35rem;
    font-weight: 700;
    color: #2580FF;
}

.ah_stat_label {
    font-size: 14px;
    color: #151D3E;
}

/* 标题 */
.ah_section_title {
    font-size: 0.4rem;
    font-weight: 700;
    color: #151D3E;
    text-align: center;
    margin-bottom: 0.2rem;
}

.ah_section_subtitle {
    font-size: 0.2rem;
    color: #525A6A;
    text-align: center;
    margin-bottom: 0.6rem;
}

/* 五维优势 · AI行研核心能力 */
.ah_advantages {
    padding: 20px 0.6rem 60px;
    background: #F6FBFF;
}

.ah_advantage_cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.3rem;
    font-size: 14px;
}

.ah_advantage_card {
    border-radius: 0.12rem;
    transition: all 0.3s;
    overflow: hidden;
    background: linear-gradient(180deg, #DFECFF 0%, #FFFFFF 100%);
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(0deg, #FFFFFF 0%, #D9E8FF 100%);
    box-shadow: 0px 4px 4px 0px #EAF2FF;
    padding: 25px 0.17rem;
    color: #151D3E;
    border: 1px solid #fff;
}

.ah_advantage_card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(68, 114, 255, 0.15);
}

.ah_advantage_card img {
    width: auto;
    height: 28px;
}

.ah_advantage_card b {
    font-size: 20px;
}

.ah_advantage_footer {
    text-align: center;
    font-size: 16px;
    color: #525A6A;
    margin-top: 59px;
}

/* 中项星盘 · 产品定位与架构逻辑 */
.ah_positioning {
    padding: 80px 0.6rem;
    background: #ECF4FF;
}

.ah_positioning_content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.24rem;
}

.ah_positioning_left {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: linear-gradient(176deg, #C0D9FF 0%, #DFEBFF 100%);
    box-shadow: 0px 4px 16px 0px rgba(225, 236, 255, 0.25);
    border-radius: 0.12rem;
    padding: 0.4rem 0.49rem;
}

.ah_positioning_tags {
    display: flex;
    align-items: center;
    gap: 0.08rem;
}

.ah_positioning_tags span {
    padding: 0.04rem 0.12rem;
    border: 1px solid #2580FF;
    border-radius: 0.3rem;
    font-size: 14px;
    color: #2580FF;
}

.ah_positioning_right {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    gap: 0.2rem;
}

.ah_positioning_card {
    padding: 0.28rem 0.28rem 0 0.28rem;
    border-radius: 0.12rem;
    box-shadow: 0 0.04rem 0.12rem rgba(0, 0, 0, 0.05);
}

.flex_between {
    display: flex;
    justify-content: space-between;
}

.ah_positioning_card_left {
    flex: auto;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding-bottom: 0.2rem;
    padding-right: 0.1rem;
}

/* 决胜之器 · 中项星盘五大核心优势 */
.ah_core {
    padding: 80px 0.6rem;
    background: #F6FBFF;
}

.ah_core_content {
    display: grid;
    grid-template-columns: 1fr 7.17rem 1fr;
    gap: 0.2rem;
    padding-top: 40px;
}

.ah_core_left,
.ah_core_right {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
}

.ah_core_item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: -0.2rem;
}

.ah_core_item:first-child {
    margin-top: 0;
}

.ah_core_left .ah_core_item {
    align-items: flex-end;
    text-align: right;
}

.ah_core_center .ah_core_item {
    align-items: center;
}

.ah_core_right .ah_core_item {
    align-items: flex-start;
}

.ah_core_item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2580FF;
}

/* Cases Section */
.ah_cases {
    padding: 80px 0.6rem;
    background: #ECF4FF;
}

.ah_cases_grid {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.ah_case_item {
    width: calc((100% - 1rem) / 3);
    position: relative;
    border-radius: 0.12rem;
    overflow: hidden;
    box-shadow: 0 0.04rem 0.12rem rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    cursor: pointer;
    background: #fff;
}

.ah_case_item:hover {
    transform: translateY(-0.04rem);
    box-shadow: 0 0.08rem 0.24rem rgba(0, 0, 0, 0.12);
}

.ah_case_item_top {
    display: flex;
    justify-content: space-between;
    background: linear-gradient(161deg, #326EFF 0%, #5BA0FF 100%);
    height: 2.4rem;
}

.ah_case_item_top img {
    width: 55%;
    height: auto;
    object-fit: cover;
}

.ah_case_tags {
    font-size: 12px;
    color: #E8EFFA;
}

.ah_case_detail {
    color: #525A6A;
    font-size: 14px;
}

.ah_case_item_left {
    flex: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.4rem 0.16rem;
    color: #fff;
    background: linear-gradient(161deg, #326EFF 0%, #5BA0FF 100%);
}

.ah_case_item_left h3 {
    font-size: 0.2rem;
}

.ah_case_large {
    grid-row: span 2;
}


.ah_case_content {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    padding: 0.2rem 0.16rem;
    background-color: #fff;
    font-size: 16px;
}

/* 看到机会只是开始，抢占机会才是增长 */
.ah_cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem;
    background: url(../../images/xingpan/home/font.png) no-repeat;
    background-size: cover;
    height: 1.98rem;
}

.ah_cta h2 {
    font-size: 0.4rem;
    margin-bottom: 0.3rem;
}

.ah_cta p {
    font-size: 0.2rem;
}

.ah_cta_btn {
    padding: 0.15rem 0.69rem;
    background: url(../../images/xingpan/home/btn.gif) no-repeat;
    background-size: cover;
    border: none;
    border-radius: 0.5rem;
    color: #fff;
    font-size: 0.24rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0.04rem 0.12rem rgba(0, 0, 0, 0.1);
    animation: ah_cta_pulse 3s ease-in-out infinite;
}

.ah_cta_btn:hover {
    transform: translateY(-0.02rem) scale(1.05);
    box-shadow: 0 0.06rem 0.16rem rgba(0, 0, 0, 0.15);
    animation: none;
}

@keyframes ah_cta_pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}