/* ============================================================
   全局重置 & 设计变量（统一配色 / 字体 / 圆角 / 阴影）
   ============================================================ */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    /* 主色：科技蓝 */
    --theme-main-blue: #1962ff;
    --theme-main-blue-2: #428aff;
    --theme-blue-dark: #0c4fe0;
    /* 辅助色：活力橙（仅用于强调/星级/提示） */
    --theme-orange: #ff8002;
    /* 中性色 */
    --bg-page: #f4f6f9;
    --bg-card: #ffffff;
    --bg-soft: #f8f9fc;
    --text-dark: #1a1d26;
    --text-gray: #818a98;
    --text-muted: #a2a9b8;
    --border-light: #e2e4ea;
    /* 圆角层级 */
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-pill: 22px;
    /* 阴影层级 */
    --shadow-sm: 0 2px 8px rgba(20, 32, 64, 0.05);
    --shadow-md: 0 6px 18px rgba(20, 32, 64, 0.08);
    --shadow-lg: 0 12px 30px rgba(20, 32, 64, 0.12);
    --shadow-blue: 0 8px 22px rgba(25, 98, 255, 0.28);
    /* 动效 */
    --ease: 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

body{
    font-family: "PingFang SC", "Microsoft YaHei", -apple-system, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a{
    text-decoration: none;
    color: inherit;
    transition: color var(--ease), background var(--ease), transform var(--ease);
}

ul,li{
    list-style: none;
}

img{
    display: block;
    max-width: 100%;
}

/* 布局容器 */
.layout-container{
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ============================================================
   通用按钮（蓝紫渐变，呼应 Hero 主按钮）
   ============================================================ */
.primary-click-btn{
    display: inline-block;
    padding: 11px 26px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    color: #ffffff;
    border-radius: var(--radius-sm);
    font-weight: 600;
    border: 0;
    cursor: pointer;
    text-align: center;
    transition: transform var(--ease), box-shadow var(--ease), filter var(--ease);
}

.primary-click-btn:hover{
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
    filter: brightness(1.05);
}

.full-width-btn{
    width: 100%;
    padding: 10px 0;
    font-size: 13.5px;
    border-radius: 8px;
}

/* 全局平滑滚动（锚点跳转也更顺滑） */
html{
    scroll-behavior: smooth;
}

/* 下载按钮变色闪烁动画（慢速 + 无限循环 + 颜色切换） */
@keyframes btnBlink{
    0%, 100%{
        background: linear-gradient(90deg, #8b5cf6, #3b82f6);
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.75);
        transform: scale(1);
    }
    50%{
        background: linear-gradient(90deg, #f59e0b, #ef4444);
        box-shadow: 0 0 0 14px rgba(239, 68, 68, 0);
        transform: scale(1.04);
    }
}
.full-width-btn.is-blinking{
    animation: btnBlink 1.1s ease-in-out infinite;
}
/* 纯 CSS 兜底：即使 JS 失效，锚点命中也会变色闪烁 */
#shangz-dl-btn{
    scroll-margin-top: 56vh;
}
#shangz-dl-btn:target{
    animation: btnBlink 1.1s ease-in-out infinite;
}
/* 排行榜卡片锚点：留出吸顶导航栏高度，避免图标被遮挡 */
#rank-card-1{
    scroll-margin-top: 74px;
}

/* 通用模块间距 */
.main-content-wrap{
    padding: 36px 0;
}

.bg-light-fade{
    background-color: var(--bg-soft);
}

/* 模块标题（居中 + 蓝色短下划线） */
.module-title-text{
    font-size: 25px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    letter-spacing: 0.5px;
}

.module-title-text::after{
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    background: linear-gradient(90deg, #7c3aed, #3b82f6);
    border-radius: 3px;
    margin: 12px auto 0;
}

/* ============================================================
   顶部导航栏
   ============================================================ */
.site-top-bar{
    background: #fff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 999;
}

.top-inner-box{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.site-logo-box{
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon-img{
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-page);
}

.logo-text-name{
    font-size: 19px;
    font-weight: 700;
    color: var(--theme-main-blue);
    letter-spacing: 0.5px;
}

.top-nav-cta{
    font-size: 13.5px;
    font-weight: 600;
    color: var(--theme-main-blue);
    padding: 7px 16px;
    border: 1px solid var(--theme-main-blue);
    border-radius: var(--radius-pill);
    transition: all var(--ease);
}

.top-nav-cta:hover{
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    border-color: transparent;
    color: #fff;
}

/* ============================================================
   APP 介绍 Hero（应用宝下载页风格）
   ============================================================ */
.app-hero{
    position: relative;
    background: linear-gradient(135deg, #4f46e5 0%, #2563eb 55%, #0ea5e9 100%);
    color: #fff;
    padding: 42px 0 64px;
    overflow: hidden;
}

/* 柔和装饰光斑 */
.app-hero::before,
.app-hero::after{
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    pointer-events: none;
}
.app-hero::before{
    width: 320px; height: 320px;
    right: -100px; top: -140px;
}
.app-hero::after{
    width: 240px; height: 240px;
    left: -90px; bottom: -140px;
    background: rgba(255, 255, 255, 0.07);
}

.app-hero__main{
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.app-hero__icon{
    width: 96px;
    height: 96px;
    border-radius: 24px;
    object-fit: cover;
    flex-shrink: 0;
    background: #fff;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.app-hero__info{
    flex: 1;
    min-width: 260px;
}

.app-hero__name{
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

.app-hero__slogan{
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.95;
    margin-top: 4px;
    max-width: 520px;
}

/* 淡色高级标签 */
.app-hero__badges{
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.app-hero__badge{
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.app-hero__badge--blue{
    color: #1d4ed8;
    background: rgba(255, 255, 255, 0.92);
}
.app-hero__badge--purple{
    color: #7c3aed;
    background: rgba(255, 255, 255, 0.92);
}

/* 三指标数据 */
.app-hero__stats{
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 20px;
}
.app-hero__stat{
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 92px;
    padding: 0 18px;
    position: relative;
}
.app-hero__stat:not(:last-child)::after{
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 26px;
    background: rgba(255,255,255,0.35);
}
.app-hero__stat strong{
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
}
.app-hero__stat strong span{
    font-size: 13px;
    font-weight: 600;
    margin-left: 1px;
}
.app-hero__stat em{
    font-size: 12px;
    font-style: normal;
    opacity: 0.82;
    margin-top: 3px;
}

.app-hero__action{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 24px;
}

/* 主下载按钮：大圆角紫蓝渐变 */
.app-hero__download{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 520px;
    background: linear-gradient(90deg, #8b5cf6 0%, #3b82f6 50%, #06b6d4 100%);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    padding: 15px 28px;
    border-radius: 30px;
    box-shadow: 0 12px 28px rgba(59, 130, 246, 0.42);
    transition: transform var(--ease), box-shadow var(--ease), filter var(--ease);
}
.app-hero__download:hover{
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(59, 130, 246, 0.52);
    filter: brightness(1.05);
}

.app-hero__note{
    font-size: 12px;
    opacity: 0.88;
}

/* ============================================================
   应用截图卡片（叠在 Hero 下方，营造应用宝层次感）
   ============================================================ */
.app-shots{
    position: relative;
    margin-top: -32px;
    z-index: 2;
}

.app-shots__card{
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 18px 0 14px;
}

.app-shots__title{
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    padding: 0 18px;
    margin-bottom: 12px;
}
.app-shots__title::before{
    content: "";
    display: inline-block;
    width: 4px;
    height: 15px;
    background: linear-gradient(180deg, #7c3aed, #3b82f6);
    border-radius: 3px;
    margin-right: 8px;
    vertical-align: -2px;
}

/* ============================================================
   功能简介（可折叠）
   ============================================================ */
.app-intro{
    margin-top: 18px;
}
.app-intro__card{
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.app-intro__header{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.app-intro__title{
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
}
.app-intro__title::before{
    content: "";
    display: inline-block;
    width: 4px;
    height: 16px;
    background: linear-gradient(180deg, #7c3aed, #3b82f6);
    border-radius: 3px;
    margin-right: 8px;
    vertical-align: -2px;
}
.app-intro__toggle{
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-gray);
    font-size: 13px;
}
.app-intro__toggle-icon{
    width: 18px;
    height: 18px;
    transition: transform var(--ease);
}
.app-intro__body{
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--ease);
}
.app-intro__lead{
    padding: 0 20px 14px;
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.8;
}
.app-intro__list{
    padding: 0 20px 20px;
    display: grid;
    gap: 12px;
}
.app-intro__list li{
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.65;
}
.app-intro__list b{
    font-weight: 600;
}
.app-intro__dot{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 7px;
    flex-shrink: 0;
}
.app-intro__dot--blue{ background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.app-intro__dot--purple{ background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.app-intro__dot--cyan{ background: linear-gradient(135deg, #06b6d4, #22d3ee); }
.app-intro__dot--orange{ background: linear-gradient(135deg, #f59e0b, #fb923c); }

/* ============================================================
   榜单说明卡片
   ============================================================ */
.explain-card-block{
    background: var(--bg-card);
    padding: 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 18px;
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, #7c3aed, #3b82f6) 1;
    border-image-slice: 3 0 0 0;
}

.card-sub-heading{
    font-size: 18px;
    color: var(--theme-main-blue);
    font-weight: 600;
    margin-bottom: 14px;
}

.card-paragraph-text{
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.78;
    margin-bottom: 14px;
}

.warm-tips-text{
    color: #c2410c;
    font-size: 13.2px;
    font-weight: 500;
    background: linear-gradient(90deg, rgba(255, 128, 2, 0.10), rgba(255, 128, 2, 0.04));
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    line-height: 1.7;
}

/* ============================================================
   榜单列表布局
   ============================================================ */
.rank-card-container{
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 18px;
}

.rank-single-card{
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 18px;
    border-left: 5px solid var(--theme-main-blue);
    transition: transform var(--ease), box-shadow var(--ease);
}

/* 前三名侧边特色颜色 + 淡渐变背景 */
.rank-single-card:nth-child(1){
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, #fff 0%, #fffbeb 100%);
}
.rank-single-card:nth-child(2){
    border-left-color: #94a3b8;
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
}
.rank-single-card:nth-child(3){
    border-left-color: #d97706;
    background: linear-gradient(135deg, #fff 0%, #fff7ed 100%);
}

.rank-single-card:hover{
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.rank-card-content{
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.rank-num-tag{
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rank-single-card:nth-child(1) .rank-num-tag{ background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #5a3b00; }
.rank-single-card:nth-child(2) .rank-num-tag{ background: linear-gradient(135deg, #cbd5e1, #94a3b8); }
.rank-single-card:nth-child(3) .rank-num-tag{ background: linear-gradient(135deg, #f59e0b, #d97706); }

.app-intro-content{
    flex: 1;
    min-width: 0;
}

.app-name-row{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.app-logo-pic{
    width: 46px;
    height: 46px;
    border-radius: 11px;
    border: 1px solid var(--border-light);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--bg-page);
}

.app-title-name{
    font-size: 19px;
    font-weight: 600;
}

.app-desc-info{
    font-size: 13.5px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 12px;
}

.label-tag-group{
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 14px;
}

/* 彩色渐变标签（5 色循环） */
.single-tag-item{
    padding: 5px 13px;
    color: #fff;
    font-size: 11.5px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.label-tag-group .single-tag-item:nth-child(5n+1){
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
}
.label-tag-group .single-tag-item:nth-child(5n+2){
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}
.label-tag-group .single-tag-item:nth-child(5n+3){
    background: linear-gradient(135deg, #ec4899, #f472b6);
}
.label-tag-group .single-tag-item:nth-child(5n+4){
    background: linear-gradient(135deg, #f97316, #fb923c);
}
.label-tag-group .single-tag-item:nth-child(5n+5){
    background: linear-gradient(135deg, #14b8a6, #2dd4bf);
}

/* ============================================================
   用户评价模块
   ============================================================ */
.user-eval-list{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.user-eval-card{
    background: var(--bg-card);
    padding: 18px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.eval-user-top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.user-info-head{
    display: flex;
    align-items: center;
    gap: 11px;
}

.user-head-img{
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-page);
}

.user-nick-name{
    font-size: 14.5px;
    font-weight: 600;
}

.star-score-mark{
    background: linear-gradient(90deg, #f97316, #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 14.5px;
    letter-spacing: 1px;
    font-weight: 700;
}

.eval-content-text{
    color: var(--text-gray);
    font-size: 13.5px;
    line-height: 1.75;
}

/* ============================================================
   页脚样式
   ============================================================ */
.site-footer-area{
    background: var(--text-dark);
    color: #fff;
    padding: 36px 0 20px;
    margin-top: 48px;
}

.footer-flex-wrap{
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.footer-logo-box{
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.footer-logo-img{
    width: 38px;
    height: 38px;
    border-radius: 50%;
}

.footer-logo-text{
    font-size: 19px;
    font-weight: 700;
}

.footer-desc-txt{
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.75;
    margin-bottom: 14px;
}

.footer-link-group{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    font-size: 13px;
}

.link-label-text{
    color: var(--text-muted);
}

.footer-outer-link{
    color: var(--theme-orange);
    padding: 3px 7px;
    border-radius: 4px;
    font-size: 12.5px;
    transition: all var(--ease);
}

.footer-outer-link:hover{
    background: var(--theme-orange);
    color: #fff;
}

.footer-block-title{
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 14px;
}

.footer-nav-list{
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.footer-nav-link{
    color: var(--text-muted);
    font-size: 13.5px;
    transition: color var(--ease);
}

.footer-nav-link:hover{
    color: var(--theme-orange);
}

.copyright-info-text{
    text-align: center;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #333842;
    color: var(--text-muted);
    font-size: 12.5px;
    line-height: 1.6;
}

/* ============================================================
   移动端适配
   ============================================================ */
@media (max-width: 480px){
    .app-hero__main{
        flex-direction: column;
        text-align: center;
    }
    .app-hero__badges{
        justify-content: center;
    }
    .app-hero__stats{
        justify-content: center;
    }
    .app-hero__action{
        align-items: center;
    }
    .app-hero__download{
        max-width: 100%;
    }
    .app-hero__stat{
        min-width: 80px;
        padding: 0 12px;
    }
    .app-hero__stat strong{
        font-size: 20px;
    }
}

/* ============================================================
   平板 / 桌面端适配
   ============================================================ */
@media (min-width: 768px){
    .layout-container{
        padding: 0 24px;
    }
    .footer-flex-wrap{
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .footer-col-block{
        flex: 1;
        min-width: 200px;
    }
    .footer-col-block:first-child{
        flex: 2;
        min-width: 280px;
        padding-right: 30px;
    }
    .app-hero{
        padding: 56px 0 72px;
    }
    .app-hero__name{
        font-size: 32px;
    }
    .app-hero__icon{
        width: 104px;
        height: 104px;
    }
    .app-hero__stats{
        margin-top: 22px;
    }
    .app-hero__download{
        max-width: 360px;
    }
}

@media (min-width: 1024px){
    .user-eval-list{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}
