/* ==========================================================================
   济峰科技 · 首页样式（科技蓝·清爽白）
   依赖 layouts/app.blade.php 中的 --zh-* 变量
   ========================================================================== */

/* ---------- 通用区块 ---------- */
.jf_section { padding: 58px 0; }
.jf_section_soft { background: var(--zh-bg-light); }
.jf_head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 30px; flex-wrap: wrap; gap: 10px; }
.jf_head_l { display: flex; align-items: center; gap: 14px; }
.jf_head_bar { width: 5px; height: 30px; border-radius: 3px; background: linear-gradient(180deg, var(--zh-primary), var(--zh-accent)); }
.jf_head_t { font-size: 26px; font-weight: 800; color: var(--zh-text-primary); line-height: 1.2; }
.jf_head_t small { display: block; font-size: 12px; font-weight: 500; color: var(--zh-text-tertiary); letter-spacing: 2px; margin-top: 4px; text-transform: uppercase; }
.jf_head_more { font-size: 13px; color: var(--zh-text-tertiary); display: inline-flex; align-items: center; gap: 5px; }
.jf_head_more:hover { color: var(--zh-primary); }

/* ---------- ① Hero 通栏 banner ---------- */
.jf_hero { padding: 26px 0 10px; }
.jf_hero_banner {
    position: relative;
    border-radius: var(--zh-radius-xl);
    background-image: url('/uploads/banner/banner.jpg');
    background-size: cover;
    background-position: left center;
    min-height: 468px;
    display: flex; align-items: center; justify-content: flex-end;
    padding: 40px 56px;
    overflow: hidden;
    box-shadow: var(--zh-shadow-md);
}
.jf_hero_overlay {
    position: relative; z-index: 2;
    width: 480px; max-width: 100%;
    background: rgba(255,255,255,0.62);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: var(--zh-radius-lg);
    padding: 34px 34px 30px;
    box-shadow: 0 20px 50px rgba(12,40,95,0.12);
}
.jf_hero_tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--zh-primary); color: #fff;
    font-size: 12px; font-weight: 700;
    padding: 6px 15px; border-radius: var(--zh-radius-pill);
    margin-bottom: 16px;
}
.jf_hero_title { font-size: 38px; font-weight: 800; line-height: 1.22; color: var(--zh-text-primary); }
.jf_hero_title span { color: var(--zh-primary); }
.jf_hero_sub { font-size: 14.5px; line-height: 1.75; color: var(--zh-text-secondary); margin: 16px 0 22px; }
.jf_hero_search {
    display: flex; align-items: center; height: 50px;
    background: #fff; border: 2px solid var(--zh-primary);
    border-radius: var(--zh-radius-pill); overflow: hidden; margin-bottom: 18px;
}
.jf_hero_search input { flex: 1; min-width: 0; border: none; outline: none; padding: 0 20px; font-size: 14px; background: transparent; }
.jf_hero_search button { border: none; background: var(--zh-primary); color: #fff; padding: 0 26px; height: 100%; font-size: 14px; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.jf_hero_search button:hover { background: var(--zh-primary-dark); }
.jf_hero_btns { display: flex; gap: 12px; }
.jf_hero_btns a { flex: 1; text-align: center; padding: 12px 0; border-radius: var(--zh-radius-pill); font-size: 14px; font-weight: 700; transition: all 0.2s; }
.jf_hero_btns .primary { background: var(--zh-primary); color: #fff; }
.jf_hero_btns .primary:hover { background: var(--zh-primary-dark); transform: translateY(-2px); }
.jf_hero_btns .ghost { background: #fff; color: var(--zh-primary-dark); border: 1.5px solid var(--zh-primary); }
.jf_hero_btns .ghost:hover { background: var(--zh-primary-light); }

/* ---------- ② 双平台入口卡 ---------- */
.jf_dual_grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.jf_dual_card {
    position: relative; overflow: hidden;
    border-radius: var(--zh-radius-xl);
    padding: 36px 40px;
    color: #fff;
    min-height: 190px;
    display: flex; flex-direction: column; justify-content: center;
    transition: transform 0.28s, box-shadow 0.28s;
}
.jf_dual_card:hover { transform: translateY(-5px); box-shadow: var(--zh-shadow-hover); }
.jf_dual_card.mall { background: linear-gradient(120deg, var(--zh-primary-dark), var(--zh-primary)); }
.jf_dual_card.info { background: linear-gradient(120deg, #0E97A7, var(--zh-accent)); }
.jf_dual_ic { width: 56px; height: 56px; border-radius: var(--zh-radius-lg); background: rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; }
.jf_dual_card h3 { font-size: 23px; font-weight: 800; margin-bottom: 8px; }
.jf_dual_card p { font-size: 13.5px; color: rgba(255,255,255,0.88); line-height: 1.7; margin-bottom: 16px; max-width: 340px; }
.jf_dual_link { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; color: #fff; }
.jf_dual_link i { transition: transform 0.2s; }
.jf_dual_card:hover .jf_dual_link i { transform: translateX(4px); }
.jf_dual_deco { position: absolute; right: -30px; bottom: -30px; font-size: 150px; color: rgba(255,255,255,0.08); pointer-events: none; }

/* ---------- ③ 品类导航 ---------- */
.jf_cat_row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.jf_cat_item {
    text-align: center; padding: 26px 12px;
    background: var(--zh-bg-card); border: 1px solid var(--zh-border);
    border-radius: var(--zh-radius-lg);
    transition: all 0.26s;
}
.jf_cat_item:hover { border-color: transparent; transform: translateY(-6px); box-shadow: var(--zh-shadow-lg); }
.jf_cat_ic {
    width: 60px; height: 60px; margin: 0 auto 14px;
    border-radius: var(--zh-radius-lg);
    background: var(--zh-primary-light); color: var(--zh-primary);
    display: flex; align-items: center; justify-content: center; font-size: 25px;
    transition: all 0.26s;
}
.jf_cat_item:hover .jf_cat_ic { background: linear-gradient(135deg, var(--zh-primary), var(--zh-accent)); color: #fff; }
.jf_cat_item.info .jf_cat_ic { background: var(--zh-accent-light); color: var(--zh-accent-dark); }
.jf_cat_item.info:hover .jf_cat_ic { background: linear-gradient(135deg, var(--zh-accent), var(--zh-primary)); color: #fff; }
.jf_cat_name { font-size: 15px; font-weight: 700; color: var(--zh-text-primary); }
.jf_cat_en { font-size: 11px; color: var(--zh-text-tertiary); letter-spacing: 1px; margin-top: 3px; }

/* ---------- 商品卡片（通用） ---------- */
.jf_pcard {
    display: flex; flex-direction: column;
    background: var(--zh-bg-card); border: 1px solid var(--zh-border);
    border-radius: var(--zh-radius-lg); overflow: hidden;
    transition: all 0.26s;
}
.jf_pcard:hover { transform: translateY(-6px); box-shadow: var(--zh-shadow-lg); border-color: transparent; }
.jf_pcard_img { position: relative; aspect-ratio: 1/1; background: var(--zh-bg-muted); overflow: hidden; }
.jf_pcard_img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.jf_pcard:hover .jf_pcard_img img { transform: scale(1.06); }
.jf_pcard_badge { position: absolute; top: 10px; left: 10px; background: var(--zh-price); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: var(--zh-radius-pill); }
.jf_pcard_badge.hot { background: var(--zh-primary); }
.jf_pcard_body { padding: 14px 15px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.jf_pcard_name { font-size: 14px; font-weight: 500; color: var(--zh-text-primary); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; }
.jf_pcard_meta { display: flex; align-items: baseline; justify-content: space-between; margin-top: auto; }
.jf_price { color: var(--zh-price); font-weight: 800; font-size: 18px; }
.jf_price small { font-size: 12px; font-weight: 600; }
.jf_pcard_sales { font-size: 12px; color: var(--zh-text-tertiary); }

/* 商品网格 */
.jf_pgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

/* ---------- ④ 精选好物 showcase ---------- */
.jf_showcase { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; }
.jf_showcase_hero {
    grid-row: 1 / 3;
    position: relative; overflow: hidden;
    border-radius: var(--zh-radius-lg);
    background: linear-gradient(150deg, var(--zh-primary-dark), var(--zh-primary));
    color: #fff; display: flex; flex-direction: column; justify-content: flex-end;
    padding: 30px; min-height: 380px;
    transition: transform 0.28s, box-shadow 0.28s;
}
.jf_showcase_hero:hover { transform: translateY(-5px); box-shadow: var(--zh-shadow-hover); }
.jf_showcase_hero img { position: absolute; top: 42%; left: 50%; transform: translate(-50%,-50%); width: 78%; height: 55%; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0,0,0,0.28)); }
.jf_showcase_hero .tag { position: relative; z-index: 2; align-self: flex-start; background: rgba(255,255,255,0.2); font-size: 12px; font-weight: 700; padding: 5px 13px; border-radius: var(--zh-radius-pill); margin-bottom: auto; }
.jf_showcase_hero .info { position: relative; z-index: 2; }
.jf_showcase_hero .name { font-size: 18px; font-weight: 700; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.jf_showcase_hero .price { font-size: 24px; font-weight: 800; color: #fff; }
.jf_showcase_hero .price small { font-size: 13px; opacity: 0.85; }
.jf_showcase .jf_pcard { min-height: 0; }

/* ---------- ⑤ 平台介绍图文 ---------- */
.jf_intro_grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 54px; align-items: center; }
.jf_intro_media { position: relative; }
.jf_intro_media img { width: 100%; border-radius: var(--zh-radius-xl); box-shadow: var(--zh-shadow-lg); display: block; }
.jf_intro_badge {
    position: absolute; background: #fff; border-radius: var(--zh-radius-lg);
    box-shadow: var(--zh-shadow-lg); padding: 14px 20px; display: flex; align-items: center; gap: 12px;
}
.jf_intro_badge.b1 { top: 24px; left: -24px; }
.jf_intro_badge.b2 { bottom: 26px; right: -20px; }
.jf_intro_badge .n { font-size: 22px; font-weight: 800; color: var(--zh-primary); line-height: 1; }
.jf_intro_badge .l { font-size: 12px; color: var(--zh-text-tertiary); }
.jf_intro_tag { display: inline-flex; align-items: center; gap: 6px; background: var(--zh-primary-light); color: var(--zh-primary-dark); font-size: 12.5px; font-weight: 700; padding: 6px 15px; border-radius: var(--zh-radius-pill); margin-bottom: 16px; }
.jf_intro_title { font-size: 30px; font-weight: 800; color: var(--zh-text-primary); line-height: 1.3; margin-bottom: 16px; }
.jf_intro_title span { color: var(--zh-primary); }
.jf_intro_p { font-size: 14.5px; line-height: 1.9; color: var(--zh-text-secondary); margin-bottom: 24px; }
.jf_intro_feats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-bottom: 28px; }
.jf_intro_feat { display: flex; align-items: flex-start; gap: 12px; }
.jf_intro_feat .ic { width: 42px; height: 42px; flex-shrink: 0; border-radius: var(--zh-radius-md); background: var(--zh-primary-light); color: var(--zh-primary); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.jf_intro_feat b { display: block; font-size: 14.5px; color: var(--zh-text-primary); }
.jf_intro_feat span { font-size: 12.5px; color: var(--zh-text-tertiary); }

/* ---------- ⑤b 平台介绍白面板 ---------- */
.jf_intro_wrap { background: var(--zh-bg-card); border-radius: var(--zh-radius-xl); padding: 50px 48px; box-shadow: var(--zh-shadow-sm); border: 1px solid var(--zh-border); }

/* ---------- ⑥ 平台数据条（深色锚点面板） ---------- */
.jf_data { background: var(--zh-dark); position: relative; overflow: hidden; border-radius: var(--zh-radius-xl); }
.jf_data::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, rgba(22,104,227,0.35), transparent 45%), radial-gradient(circle at 85% 90%, rgba(20,180,198,0.28), transparent 45%); }
.jf_data_inner { position: relative; z-index: 2; padding: 50px 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.jf_data_item { text-align: center; color: #fff; position: relative; }
.jf_data_item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 46px; background: rgba(255,255,255,0.12); }
.jf_data_n { font-size: 40px; font-weight: 800; line-height: 1; background: linear-gradient(90deg, #fff, #9fc6ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.jf_data_n .plus { font-size: 24px; }
.jf_data_l { font-size: 13.5px; color: rgba(255,255,255,0.7); margin-top: 10px; }

/* ---------- ⑦ 生活服务信息（文字卡片，无缩略图） ---------- */
.jf_info_grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.jf_info_card { position: relative; display: flex; flex-direction: column; background: var(--zh-bg-card); border: 1px solid var(--zh-border); border-radius: var(--zh-radius-lg); padding: 20px 22px 18px; transition: all 0.26s; }
.jf_info_card::before { content: ''; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 0 3px 3px 0; background: linear-gradient(var(--zh-primary), var(--zh-accent)); }
.jf_info_card:hover { transform: translateY(-6px); box-shadow: var(--zh-shadow-lg); border-color: transparent; }
.jf_info_top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.jf_info_cat { font-size: 11px; font-weight: 600; color: var(--zh-primary); background: var(--zh-primary-light); padding: 4px 12px; border-radius: var(--zh-radius-pill); }
.jf_info_views { font-size: 12px; color: var(--zh-text-tertiary); }
.jf_info_views i { margin-right: 3px; }
.jf_info_title { font-size: 15px; font-weight: 700; color: var(--zh-text-primary); line-height: 1.5; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 45px; }
.jf_info_card:hover .jf_info_title { color: var(--zh-primary); }
.jf_info_excerpt { font-size: 12.5px; color: var(--zh-text-tertiary); line-height: 1.65; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 41px; }
.jf_info_foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--zh-border); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.jf_info_pub { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--zh-text-secondary); font-weight: 500; min-width: 0; }
.jf_info_pub .n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jf_info_avatar { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--zh-primary), var(--zh-accent)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 600; flex-shrink: 0; }
.jf_info_date { font-size: 11.5px; color: var(--zh-text-tertiary); flex-shrink: 0; }

/* ---------- ⑧ 入驻 + 三步流程（面板） ---------- */
.jf_join { background: var(--zh-primary-light); border-radius: var(--zh-radius-xl); padding: 46px 44px; }
.jf_join_grid { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 44px; align-items: center; }
.jf_join_l h2 { font-size: 28px; font-weight: 800; color: var(--zh-text-primary); line-height: 1.3; margin-bottom: 14px; }
.jf_join_l h2 span { color: var(--zh-primary); }
.jf_join_l p { font-size: 14px; line-height: 1.85; color: var(--zh-text-secondary); margin-bottom: 24px; }
.jf_join_btns { display: flex; gap: 12px; flex-wrap: wrap; }
.jf_steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.jf_step { background: #fff; border-radius: var(--zh-radius-lg); padding: 26px 20px; text-align: center; position: relative; }
.jf_step_n { width: 44px; height: 44px; margin: 0 auto 14px; border-radius: var(--zh-radius-full); background: linear-gradient(135deg, var(--zh-primary), var(--zh-accent)); color: #fff; font-size: 18px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.jf_step b { display: block; font-size: 15px; color: var(--zh-text-primary); margin-bottom: 6px; }
.jf_step span { font-size: 12.5px; color: var(--zh-text-tertiary); line-height: 1.6; }
.jf_step:not(:last-child)::after { content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; right: -12px; top: 50%; transform: translateY(-50%); color: var(--zh-primary); opacity: 0.4; font-size: 18px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1199px) {
    .jf_cat_row { grid-template-columns: repeat(5, 1fr); }
    .jf_info_grid { grid-template-columns: repeat(3, 1fr); }
    .jf_pgrid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 991px) {
    .jf_hero_banner { min-height: 380px; padding: 24px; justify-content: center; background-position: center; }
    .jf_hero_overlay { width: 100%; max-width: 520px; background: rgba(255,255,255,0.85); }
    .jf_hero_title { font-size: 30px; }
    .jf_dual_grid { grid-template-columns: 1fr; }
    .jf_showcase { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .jf_showcase_hero { grid-row: auto; grid-column: 1 / 3; min-height: 260px; }
    .jf_intro_grid { grid-template-columns: 1fr; gap: 32px; }
    .jf_intro_media { max-width: 520px; margin: 0 auto; }
    .jf_data_inner { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
    .jf_data_item:nth-child(2)::after { display: none; }
    .jf_join_grid { grid-template-columns: 1fr; gap: 28px; }
    .jf_cat_row { grid-template-columns: repeat(4, 1fr); }
    .jf_pgrid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
    .jf_section { padding: 40px 0; }
    .jf_intro_wrap { padding: 28px 20px; }
    .jf_data_inner { padding: 34px 18px; }
    .jf_join { padding-left: 22px; padding-right: 22px; }
    .jf_head_t { font-size: 21px; }
    .jf_cat_row { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .jf_showcase { grid-template-columns: 1fr 1fr; }
    .jf_showcase_hero { grid-column: 1 / 3; }
    .jf_info_grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .jf_pgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .jf_intro_feats { grid-template-columns: 1fr; }
    .jf_intro_badge { display: none; }
    .jf_steps { grid-template-columns: 1fr; }
    .jf_step:not(:last-child)::after { content: '\f107'; right: 50%; top: auto; bottom: -12px; transform: translateX(50%); }
    .jf_hero_title { font-size: 25px; }
}
@media (max-width: 480px) {
    .jf_cat_row { grid-template-columns: repeat(2, 1fr); }
    .jf_data_inner { grid-template-columns: 1fr 1fr; }
}
