/* ============================================
   home.css — 信言方兴商城 首页（新版）
   配色：深藏蓝 #14315F + 亮蓝 #2F6FE0 + 活力橙 #FF7A18
   类名前缀：xy_h_
   ============================================ */

.xy_home { background: var(--xy-bg); }
.xy_h_in { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.xy_h_sec { padding: 58px 0; }
.xy_h_sec_tight { padding: 40px 0; }

/* 通用区块标题 */
.xy_h_head { margin-bottom: 32px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.xy_h_head_l { min-width: 0; }
.xy_h_eyebrow {
    display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 3px;
    color: var(--xy-orange); margin-bottom: 8px;
}
.xy_h_title { font-size: 30px; font-weight: 800; color: var(--xy-navy); line-height: 1.25; }
.xy_h_title span { color: var(--xy-orange); }
.xy_h_sub { font-size: 14px; color: var(--xy-text-2); margin-top: 8px; }
.xy_h_more {
    display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
    font-size: 14px; font-weight: 600; color: var(--xy-blue); transition: all .2s;
}
.xy_h_more:hover { color: var(--xy-orange); gap: 9px; }
.xy_h_head_center { text-align: center; display: block; }
.xy_h_head_center .xy_h_title::after {
    content: ''; display: block; width: 52px; height: 3px; border-radius: 3px;
    background: var(--xy-grad-orange); margin: 14px auto 0;
}

/* ============================================
   ① Hero — banner 整幅铺底，文字居中
   ============================================ */
.xy_h_hero { position: relative; overflow: hidden; background: #e7f0fc; }
.xy_h_hero_bg {
    position: absolute; inset: 0;
    background: url('/uploads/banner/banner.jpg') center center / cover no-repeat;
}
.xy_h_hero::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: radial-gradient(ellipse 62% 72% at 50% 46%,
        rgba(255,255,255,.94) 0%, rgba(255,255,255,.6) 46%, rgba(255,255,255,0) 76%);
}
.xy_h_hero_in {
    position: relative; z-index: 2;
    max-width: 780px; margin: 0 auto; padding: 76px 20px;
    min-height: 500px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.xy_h_hero_chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; border-radius: 999px;
    background: rgba(47,111,224,.1); color: var(--xy-navy);
    font-size: 12.5px; font-weight: 600; letter-spacing: 1px; margin-bottom: 20px;
}
.xy_h_hero_chip i { color: var(--xy-orange); }
.xy_h_hero_title {
    font-size: 50px; font-weight: 900; color: var(--xy-navy); line-height: 1.12; letter-spacing: 1px;
}
.xy_h_hero_title span { color: var(--xy-orange); }
.xy_h_hero_slogan { font-size: 21px; font-weight: 700; color: var(--xy-blue); margin-top: 12px; letter-spacing: 4px; }
.xy_h_hero_desc { font-size: 15px; color: var(--xy-text-2); line-height: 1.85; margin: 16px auto 0; max-width: 620px; }

/* Hero 搜索 */
.xy_h_hero_search {
    display: flex; align-items: stretch; width: 100%; max-width: 560px; height: 54px;
    margin: 26px auto 0; background: #fff; border-radius: 999px;
    box-shadow: 0 12px 32px rgba(18,43,82,.16); overflow: hidden; border: 2px solid #fff;
}
.xy_h_hero_search input {
    flex: 1; border: none; outline: none; padding: 0 24px; font-size: 15px;
    color: var(--xy-text); background: transparent; min-width: 0;
}
.xy_h_hero_search button {
    flex-shrink: 0; padding: 0 32px; border: none; background: var(--xy-grad-orange);
    color: #fff; font-size: 15px; font-weight: 600; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px; transition: filter .2s;
}
.xy_h_hero_search button:hover { filter: brightness(1.06); }
.xy_h_hero_hot { margin-top: 14px; font-size: 13px; color: var(--xy-text-2); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.xy_h_hero_hot a { color: var(--xy-text-2); padding: 2px 4px; transition: color .2s; }
.xy_h_hero_hot a:hover { color: var(--xy-orange); }

/* Hero CTA */
.xy_h_hero_btns { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; justify-content: center; }
.xy_h_hero_btn {
    display: inline-flex; align-items: center; gap: 9px; padding: 13px 30px;
    border-radius: 999px; font-size: 15px; font-weight: 700; transition: all .25s;
}
.xy_h_hero_btn_main { background: var(--xy-grad-orange); color: #fff; box-shadow: 0 10px 24px rgba(255,122,24,.32); }
.xy_h_hero_btn_main:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 32px rgba(255,122,24,.42); }
.xy_h_hero_btn_outline { background: rgba(255,255,255,.85); color: var(--xy-navy); border: 1.5px solid var(--xy-navy); }
.xy_h_hero_btn_outline:hover { background: var(--xy-navy); color: #fff; transform: translateY(-3px); }

/* Hero 数据 chip */
.xy_h_hero_stats { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; justify-content: center; }
.xy_h_hero_stat {
    display: flex; flex-direction: column; align-items: center;
    background: rgba(255,255,255,.7); backdrop-filter: blur(4px);
    border: 1px solid rgba(47,111,224,.16); border-radius: 14px; padding: 12px 26px; min-width: 110px;
}
.xy_h_hero_stat b { font-size: 26px; font-weight: 800; color: var(--xy-navy); line-height: 1; }
.xy_h_hero_stat b i { color: var(--xy-orange); font-style: normal; }
.xy_h_hero_stat span { font-size: 12.5px; color: var(--xy-text-2); margin-top: 6px; }

/* ============================================
   ② 品类快捷入口条
   ============================================ */
.xy_h_quick_wrap { background: #fff; border-bottom: 1px solid var(--xy-line); }
.xy_h_quick { display: flex; gap: 14px; padding: 22px 0; overflow-x: auto; }
.xy_h_quick::-webkit-scrollbar { height: 0; }
.xy_h_qitem {
    flex: 1 0 auto; min-width: 140px;
    display: flex; align-items: center; gap: 12px; padding: 14px 18px;
    background: var(--xy-bg); border: 1px solid var(--xy-line); border-radius: 14px; transition: all .22s;
}
.xy_h_qitem:hover { border-color: var(--xy-orange); background: #fff; transform: translateY(-3px); box-shadow: 0 10px 24px rgba(18,43,82,.1); }
.xy_h_qicon {
    width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
    background: var(--xy-grad-navy); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-size: 20px;
}
.xy_h_qitem:nth-child(even) .xy_h_qicon { background: var(--xy-grad-orange); }
.xy_h_qtext strong { display: block; font-size: 15px; color: var(--xy-navy); font-weight: 700; }
.xy_h_qtext small { font-size: 12px; color: var(--xy-text-3); }

/* ============================================
   ③ 平台优势 4 卡
   ============================================ */
.xy_h_advs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.xy_h_adv {
    position: relative; background: #fff; border: 1px solid var(--xy-line); border-radius: 16px;
    padding: 30px 24px 26px; transition: all .25s; overflow: hidden;
}
.xy_h_adv::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--xy-grad-orange); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.xy_h_adv:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(18,43,82,.12); }
.xy_h_adv:hover::before { transform: scaleX(1); }
.xy_h_adv_n { position: absolute; top: 18px; right: 22px; font-size: 40px; font-weight: 900; color: var(--xy-bg); font-family: "Arial"; line-height: 1; }
.xy_h_adv_ic {
    width: 56px; height: 56px; border-radius: 15px; margin-bottom: 18px;
    background: var(--xy-blue-tint); color: var(--xy-blue);
    display: inline-flex; align-items: center; justify-content: center; font-size: 24px;
}
.xy_h_adv:hover .xy_h_adv_ic { background: var(--xy-grad-navy); color: #fff; }
.xy_h_adv h3 { font-size: 17px; font-weight: 700; color: var(--xy-navy); margin-bottom: 8px; }
.xy_h_adv p { font-size: 13px; color: var(--xy-text-2); line-height: 1.7; }

/* ============================================
   ④ 精选推荐 — 不对称（左大卡 + 右网格）
   ============================================ */
.xy_h_feat_grid { display: grid; grid-template-columns: 360px 1fr; gap: 24px; align-items: stretch; }
.xy_h_feat_big {
    position: relative; border-radius: 18px; overflow: hidden; color: #fff;
    background: var(--xy-grad-navy); padding: 34px 30px; display: flex; flex-direction: column;
    min-height: 100%;
}
.xy_h_feat_big::after {
    content: ''; position: absolute; right: -40px; bottom: -40px; width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(255,122,24,.4) 0%, transparent 70%); border-radius: 50%;
}
.xy_h_feat_big_eyebrow { font-size: 12px; letter-spacing: 3px; color: rgba(255,255,255,.7); font-weight: 700; }
.xy_h_feat_big h3 { font-size: 28px; font-weight: 800; margin: 12px 0 14px; line-height: 1.3; position: relative; z-index: 1; }
.xy_h_feat_big p { font-size: 14px; color: rgba(255,255,255,.85); line-height: 1.8; position: relative; z-index: 1; }
.xy_h_feat_big_img { margin-top: auto; position: relative; z-index: 1; }
.xy_h_feat_big_img img { width: 100%; border-radius: 14px; aspect-ratio: 16/11; object-fit: cover; }
.xy_h_feat_big_btn {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; align-self: flex-start;
    padding: 11px 24px; border-radius: 999px; background: #fff; color: var(--xy-navy);
    font-size: 14px; font-weight: 700; position: relative; z-index: 1; transition: all .2s;
}
.xy_h_feat_big_btn:hover { background: var(--xy-orange); color: #fff; }
.xy_h_feat_pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* ============================================
   ⑤ 平台介绍图文带
   ============================================ */
.xy_h_about_wrap { background: #fff; }
.xy_h_about { display: grid; grid-template-columns: 440px 1fr; gap: 56px; align-items: center; }
.xy_h_about_img { position: relative; }
.xy_h_about_img img { width: 100%; border-radius: 20px; display: block; box-shadow: 0 20px 44px rgba(18,43,82,.16); }
.xy_h_about_img_badge {
    position: absolute; left: -16px; bottom: 24px; display: inline-flex; align-items: center; gap: 10px;
    background: #fff; border-radius: 14px; padding: 14px 20px; box-shadow: 0 12px 30px rgba(18,43,82,.16);
}
.xy_h_about_img_badge i { width: 40px; height: 40px; border-radius: 10px; background: var(--xy-grad-orange); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.xy_h_about_img_badge span { font-size: 13px; font-weight: 700; color: var(--xy-navy); line-height: 1.4; }
.xy_h_about_txt .xy_h_eyebrow { margin-bottom: 10px; }
.xy_h_about_txt h2 { font-size: 30px; font-weight: 800; color: var(--xy-navy); line-height: 1.3; margin-bottom: 18px; }
.xy_h_about_txt h2 span { color: var(--xy-orange); }
.xy_h_about_txt p { font-size: 14.5px; color: var(--xy-text-2); line-height: 1.95; margin-bottom: 14px; }
.xy_h_about_txt p strong { color: var(--xy-navy); }
.xy_h_about_pts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 22px 0 24px; }
.xy_h_about_pt { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--xy-bg); border-radius: 12px; }
.xy_h_about_pt i { width: 40px; height: 40px; border-radius: 10px; background: var(--xy-blue-tint); color: var(--xy-blue); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.xy_h_about_pt b { display: block; font-size: 14px; color: var(--xy-navy); }
.xy_h_about_pt span { font-size: 12px; color: var(--xy-text-3); }
.xy_h_about_more { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 999px; background: var(--xy-grad-navy); color: #fff; font-size: 14px; font-weight: 700; transition: all .25s; }
.xy_h_about_more:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(47,111,224,.3); }

/* ============================================
   ⑥ 栏目专区
   ============================================ */
.xy_h_zone + .xy_h_zone { padding-top: 0; }
.xy_h_zone_head {
    display: flex; align-items: center; gap: 14px; margin-bottom: 24px;
    padding: 18px 24px; border-radius: 16px; background: var(--xy-grad-navy); color: #fff;
    position: relative; overflow: hidden;
}
.xy_h_zone_head_orange { background: var(--xy-grad-orange) !important; }
.xy_h_zone_ic { width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,.18); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.xy_h_zone_tt { flex: 1; min-width: 0; }
.xy_h_zone_tt h3 { font-size: 22px; font-weight: 800; }
.xy_h_zone_tt p { font-size: 13px; opacity: .9; }
.xy_h_zone_more { display: inline-flex; align-items: center; gap: 6px; padding: 9px 20px; border-radius: 999px; background: rgba(255,255,255,.2); color: #fff; font-size: 13.5px; font-weight: 600; transition: all .2s; flex-shrink: 0; }
.xy_h_zone_more:hover { background: #fff; color: var(--xy-navy); }
.xy_h_zone_grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ============================================
   ⑦ 商家入驻 CTA 大带
   ============================================ */
.xy_h_join_wrap { background: var(--xy-grad-orange); position: relative; overflow: hidden; }
.xy_h_join_wrap::before { content: ''; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(255,255,255,.18) 0%, transparent 70%); border-radius: 50%; }
.xy_h_join { display: grid; grid-template-columns: 1.5fr auto; gap: 40px; align-items: center; padding: 52px 0; position: relative; z-index: 1; }
.xy_h_join_eyebrow { font-size: 12px; letter-spacing: 3px; color: rgba(255,255,255,.85); font-weight: 700; }
.xy_h_join h2 { font-size: 30px; font-weight: 800; color: #fff; margin: 12px 0 18px; }
.xy_h_join ul { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.xy_h_join li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: #fff; }
.xy_h_join li i { color: #fff; }
.xy_h_join_btns { display: flex; flex-direction: column; gap: 14px; flex-shrink: 0; }
.xy_h_join_btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 36px; border-radius: 999px; font-size: 15px; font-weight: 700; transition: all .25s; white-space: nowrap; }
.xy_h_join_btn_main { background: #fff; color: var(--xy-orange-deep); }
.xy_h_join_btn_main:hover { color: var(--xy-orange-deep); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.2); }
.xy_h_join_btn_ghost { background: rgba(255,255,255,.16); color: #fff; border: 1.5px solid rgba(255,255,255,.7); }
.xy_h_join_btn_ghost:hover { background: rgba(255,255,255,.28); color: #fff; }

/* ============================================
   ⑧ 入驻商家网格
   ============================================ */
.xy_h_merch_grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.xy_h_mcard {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    background: #fff; border: 1px solid var(--xy-line); border-radius: 16px; padding: 26px 16px 18px; transition: all .25s;
}
.xy_h_mcard:hover { border-color: transparent; box-shadow: 0 16px 34px rgba(18,43,82,.12); transform: translateY(-4px); }
.xy_h_mcard_logo { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: var(--xy-bg); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; border: 2px solid var(--xy-line); }
.xy_h_mcard_logo img { width: 100%; height: 100%; object-fit: cover; }
.xy_h_mcard_logo i { font-size: 28px; color: var(--xy-blue); }
.xy_h_mcard_name { font-size: 15px; font-weight: 700; color: var(--xy-navy); margin-bottom: 6px; }
.xy_h_mcard_meta { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--xy-text-3); margin-bottom: 14px; }
.xy_h_mcard_badge { color: var(--xy-orange); }
.xy_h_mcard_btn { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--xy-blue); display: inline-flex; align-items: center; gap: 5px; }
.xy_h_mcard:hover .xy_h_mcard_btn { color: var(--xy-orange); }
.xy_h_mcard_join { justify-content: center; background: var(--xy-blue-tint); border-color: transparent; }
.xy_h_mcard_join .xy_h_mcard_logo { background: #fff; border-color: var(--xy-blue); }
.xy_h_mcard_join .xy_h_mcard_logo i { color: var(--xy-orange); }

/* ============================================
   ⑨ 平台流程时间轴
   ============================================ */
.xy_h_flow_wrap { background: #fff; border-top: 1px solid var(--xy-line); }
.xy_h_flow { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.xy_h_flow::before { content: ''; position: absolute; top: 32px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--xy-orange) 0 8px, transparent 8px 16px); opacity: .5; }
.xy_h_fstep { text-align: center; position: relative; z-index: 1; }
.xy_h_fcircle {
    width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px; position: relative;
    background: #fff; border: 2px solid var(--xy-line); color: var(--xy-blue);
    display: flex; align-items: center; justify-content: center; font-size: 24px; transition: all .25s;
}
.xy_h_fstep:hover .xy_h_fcircle { background: var(--xy-grad-orange); border-color: transparent; color: #fff; transform: translateY(-4px); }
.xy_h_fn { position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%; background: var(--xy-navy); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.xy_h_fstep h4 { font-size: 15px; font-weight: 700; color: var(--xy-navy); margin-bottom: 6px; }
.xy_h_fstep p { font-size: 12.5px; color: var(--xy-text-3); line-height: 1.6; }

/* ============================================
   空态
   ============================================ */
.xy_h_empty { grid-column: 1 / -1; text-align: center; padding: 50px 20px; color: var(--xy-text-3); }
.xy_h_empty i { font-size: 44px; color: var(--xy-line); margin-bottom: 14px; }
.xy_h_empty h3 { font-size: 17px; color: var(--xy-text-2); margin-bottom: 6px; }
.xy_h_empty p { font-size: 13px; }

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1199px) {
    .xy_h_merch_grid { grid-template-columns: repeat(4, 1fr); }
    .xy_h_feat_grid { grid-template-columns: 300px 1fr; }
    .xy_h_feat_pgrid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
    .xy_h_hero_title { font-size: 40px; }
    .xy_h_advs { grid-template-columns: repeat(2, 1fr); }
    .xy_h_feat_grid { grid-template-columns: 1fr; }
    .xy_h_feat_pgrid { grid-template-columns: repeat(4, 1fr); }
    .xy_h_about { grid-template-columns: 1fr; gap: 32px; }
    .xy_h_zone_grid { grid-template-columns: repeat(3, 1fr); }
    .xy_h_join { grid-template-columns: 1fr; gap: 26px; }
    .xy_h_join_btns { flex-direction: row; flex-wrap: wrap; }
    .xy_h_merch_grid { grid-template-columns: repeat(3, 1fr); }
    .xy_h_flow { grid-template-columns: repeat(3, 1fr); gap: 26px 16px; }
    .xy_h_flow::before { display: none; }
}
@media (max-width: 767px) {
    .xy_h_sec { padding: 40px 0; }
    .xy_h_title, .xy_h_about_txt h2, .xy_h_join h2 { font-size: 23px; }
    .xy_h_hero_in { min-height: 380px; padding: 56px 18px; }
    .xy_h_hero_title { font-size: 30px; }
    .xy_h_hero_slogan { font-size: 16px; letter-spacing: 2px; }
    .xy_h_hero_desc { font-size: 13.5px; }
    .xy_h_hero_search { height: 48px; }
    .xy_h_hero_search button { padding: 0 20px; }
    .xy_h_hero_search button span { display: none; }
    .xy_h_advs { grid-template-columns: 1fr; }
    .xy_h_feat_pgrid, .xy_h_zone_grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .xy_h_about_pts { grid-template-columns: 1fr; }
    .xy_h_about_img_badge { left: 12px; padding: 10px 14px; }
    .xy_h_merch_grid { grid-template-columns: repeat(2, 1fr); }
    .xy_h_flow { grid-template-columns: repeat(2, 1fr); }
    .xy_h_join li { font-size: 13.5px; }
}
