/* ===== 小红书达人种草页面样式 ===== */

/* --- 1. Hero 区域 --- */
.xhs-hero {
    padding: 80px 0 60px;
    background: #ffffff;
    position: relative;
}
.xhs-hero-content { display: flex; justify-content: space-between; align-items: center; gap: 50px; }
.xhs-hero-text { flex: 1; max-width: 500px; }

.xhs-hero-badge { display: inline-block; background: #eeebff; padding: 6px 18px; border-radius: 20px; font-size: 13px; color: #2b1ee0; margin-bottom: 20px; font-weight: 500; }
.xhs-hero-title { font-size: 38px; line-height: 1.2; margin-bottom: 20px; font-weight: 700; color: #111; }
.xhs-hero-desc { color: #666; margin-bottom: 30px; font-size: 15px; line-height: 1.8; }
.xhs-hero-actions { display: flex; gap: 16px; }

/* Hero 右侧图片 */
.xhs-hero-graphic-wrap {
    flex: 1.3;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 320px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
    border: 1px solid #e0e0e0;
}
.xhs-hero-graphic-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* 悬浮数据卡片 */
.xhs-stat-badge {
    position: absolute;
    left: 20px; bottom: -20px;
    background: #fff; padding: 12px 20px; border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    display: flex; align-items: center; gap: 12px;
}
.xhs-stat-badge .xhs-icon-circle { width: 32px; height: 32px; background: #f4f0ff; color: #2b1ee0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; }
.xhs-stat-badge .info strong { font-size: 16px; color: #2b1ee0; display: block; }
.xhs-stat-badge .info span { font-size: 12px; color: #666; }

/* --- 2. 自研达人数据技术栈 --- */
.xhs-tech-stack { padding: 60px 0 80px; background: #ffffff; text-align: center; }
.xhs-tech-stack h2 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.xhs-tech-stack > .container > p { color: #888; font-size: 14px; margin-bottom: 50px; }

.xhs-stack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; }
.xhs-st-item { background: #f8f7ff; border-radius: 16px; padding: 30px 24px; border: 1px solid #f0eeff; transition: transform 0.2s; position: relative; }
.xhs-st-item:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.02); }
.xhs-st-num { background: #2b1ee0; color: #fff; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; margin-bottom: 15px; }
.xhs-st-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.xhs-st-item p { font-size: 13px; color: #888; line-height: 1.5; }

/* --- 3. 核心卖点 --- */
.xhs-core-usps { padding: 60px 0; background: #f8f7ff; }
.xhs-core-usps .container { display: flex; flex-direction: column; gap: 30px; }
.xhs-cu-grid-top { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; }

.xhs-cu-left { background: #fff; border-radius: 16px; padding: 30px 24px; border: 1px solid #eee; }
.xhs-cu-left .xhs-icon-box { background: #f8f7ff; width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; }
.xhs-cu-left .xhs-icon-box img { width: 24px; height: 24px; }
.xhs-cu-left h4 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.xhs-cu-left p { font-size: 14px; color: #888; line-height: 1.6; }
.xhs-cu-left .avatars { display: flex; margin-top: 20px; gap: 10px; }
.xhs-cu-left .avatars div { width: 32px; height: 32px; background: #eee; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; display: flex; align-items: center; justify-content: center; font-size: 10px; color: #666; }
.xhs-cu-left .avatars div:first-child { margin-left: 0; }

.xhs-cu-right { background: #2b1ee0; border-radius: 16px; padding: 30px 24px; color: #fff; }
.xhs-cu-right .xhs-icon-box { background: rgba(255,255,255,0.15); width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; }
.xhs-cu-right .xhs-icon-box img { width: 24px; height: 24px; }
.xhs-cu-right h4 { font-size: 18px; font-weight: 600; margin-bottom: 8px; color: #fff; }
.xhs-cu-right p { font-size: 14px; color: #d4d0ff; line-height: 1.6; }

/* 下方图文卡片 */
.xhs-cu-bottom { background: #fff; border-radius: 16px; border: 1px solid #eee; overflow: hidden; display: flex; align-items: center; }
.xhs-cu-bottom-text { padding: 40px; flex: 1; }
.xhs-cu-bottom-text .xhs-icon-box { background: #f8f7ff; width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; }
.xhs-cu-bottom-text .xhs-icon-box img { width: 24px; height: 24px; }
.xhs-cu-bottom-text h4 { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.xhs-cu-bottom-text p { font-size: 14px; color: #888; line-height: 1.6; margin-bottom: 15px; }
.xhs-cu-bottom-text ul li { font-size: 13px; color: #555; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.xhs-cu-bottom-text ul li::before { content: '\2713'; color: #2b1ee0; font-weight: bold; }
.xhs-cu-bottom-img { width: 40%; height: 200px; }
.xhs-cu-bottom-img img { width: 100%; height: 100%; object-fit: cover; }

/* --- 4. 标准化服务流程 --- */
.xhs-process-simple { padding: 80px 0; background: #f8f7ff; text-align: center; }
.xhs-process-simple h2 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.xhs-process-simple > .container > p { color: #888; font-size: 14px; margin-bottom: 50px; }

.xhs-ps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; text-align: left; position: relative; }
.xhs-ps-grid::before {
    content: ''; position: absolute; top: 24px; left: 10%; width: 80%; height: 2px;
    background: transparent; z-index: 0; border-top: 2px dashed #d0d0d0;
}
.xhs-ps-item { background: #fff; border-radius: 12px; padding: 24px; border: 1px solid #f0f0f0; position: relative; z-index: 1; text-align: center; }
.xhs-ps-item:hover { box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.xhs-ps-num { display: inline-block; background: #f4f3ff; color: #2b1ee0; padding: 4px 14px; border-radius: 12px; font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.xhs-ps-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.xhs-ps-item p { font-size: 13px; color: #888; line-height: 1.4; }

/* --- 5. 品牌影响力扩散 --- */
.xhs-brand-influence { padding: 80px 0; background: #fff; }
.xhs-brand-influence h2 { font-size: 28px; font-weight: 700; margin-bottom: 40px; }

.xhs-influence-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; grid-auto-rows: 160px; }
.xhs-ig-item { border-radius: 16px; overflow: hidden; position: relative; }
.xhs-ig-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xhs-ig-item:nth-child(1) { grid-column: span 1; grid-row: span 2; }
.xhs-ig-item:nth-child(2) { grid-column: span 1; grid-row: span 2; }
.xhs-ig-item:nth-child(3) { grid-column: span 1; grid-row: span 2; }
.xhs-ig-item:nth-child(4) { grid-column: span 1; grid-row: span 2; }
.xhs-ig-item:nth-child(5) { grid-column: span 1; }
.xhs-ig-item:nth-child(6) { grid-column: span 1; }
.xhs-ig-item:nth-child(7) { grid-column: span 1; }
.xhs-ig-item:nth-child(8) { grid-column: span 1; }
.xhs-ig-item:nth-child(9) { grid-column: span 1; }
.xhs-ig-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 50%); }

/* --- 6. FAQ --- */
.xhs-faq-section { padding: 80px 0; background: #fafbfc; text-align: center; }
.xhs-faq-section h2 { font-size: 28px; font-weight: 700; margin-bottom: 40px; }

.xhs-faq-list { max-width: 900px; margin: 0 auto; text-align: left; display: flex; flex-direction: column; gap: 16px; }
.xhs-faq-item { background: #fff; border-radius: 12px; padding: 20px 24px; cursor: pointer; border: 1px solid #eee; transition: all 0.3s; box-shadow: 0 2px 6px rgba(0,0,0,0.02); }
.xhs-faq-item:hover { border-color: #d0d0d0; }
.xhs-faq-question { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; font-weight: 600; font-size: 15px; color: #1a1a1a; line-height: 1.4; }
.xhs-faq-icon { color: #ccc; font-size: 16px; transition: transform 0.3s; font-weight: 300; flex-shrink: 0; margin-top: 2px; }
.xhs-faq-answer { margin-top: 15px; font-size: 14px; color: #666; display: none; padding-top: 15px; border-top: 1px solid #f0f0f0; line-height: 1.7; }
.xhs-faq-item.active .xhs-faq-answer { display: block; }
.xhs-faq-item.active .xhs-faq-icon { transform: rotate(45deg); }

/* --- 响应式适配 --- */
@media (max-width: 992px) {
    .xhs-hero-content { flex-direction: column; }
    .xhs-hero-graphic-wrap { width: 100%; height: 220px; }
    .xhs-stack-grid { grid-template-columns: 1fr 1fr; }
    .xhs-cu-grid-top, .xhs-ps-grid { grid-template-columns: 1fr; }
    .xhs-ps-grid::before { display: none; }
    .xhs-cu-bottom { flex-direction: column-reverse; }
    .xhs-cu-bottom-img { width: 100%; height: 160px; }
    .xhs-influence-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }
    .xhs-ig-item:nth-child(1), .xhs-ig-item:nth-child(2), .xhs-ig-item:nth-child(3), .xhs-ig-item:nth-child(4) { grid-column: span 1; grid-row: span 1; }
}

@media (max-width: 768px) {
    .xhs-hero { padding: 40px 0 30px; }
    .xhs-hero-title { font-size: 24px; }
    .xhs-hero-desc { font-size: 13px; line-height: 1.7; }
    .xhs-hero-actions { flex-direction: column; gap: 10px; }
    .xhs-hero-actions .btn { width: 100%; text-align: center; }
    .xhs-hero-graphic-wrap { height: 160px; }
    .xhs-stat-badge { left: 12px; bottom: -15px; padding: 10px 16px; }

    .xhs-tech-stack { padding: 40px 0; }
    .xhs-tech-stack h2 { font-size: 21px; }
    .xhs-stack-grid { grid-template-columns: 1fr; gap: 16px; }
    .xhs-st-item { padding: 22px 18px; }
    .xhs-st-item h4 { font-size: 15px; }
    .xhs-st-item p { font-size: 12px; }

    .xhs-core-usps { padding: 40px 0; }
    .xhs-cu-grid-top { grid-template-columns: 1fr; gap: 16px; }
    .xhs-cu-left { padding: 22px 18px; }
    .xhs-cu-left h4 { font-size: 16px; }
    .xhs-cu-left p { font-size: 13px; }
    .xhs-cu-right { padding: 22px 18px; }
    .xhs-cu-right h4 { font-size: 16px; }
    .xhs-cu-right p { font-size: 13px; }
    .xhs-cu-bottom { flex-direction: column-reverse; }
    .xhs-cu-bottom-text { padding: 24px 18px; }
    .xhs-cu-bottom-text h4 { font-size: 16px; }
    .xhs-cu-bottom-text p { font-size: 13px; }
    .xhs-cu-bottom-img { height: 140px; }

    .xhs-process-simple { padding: 40px 0; }
    .xhs-process-simple h2 { font-size: 21px; }
    .xhs-ps-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .xhs-ps-item { padding: 18px 14px; }
    .xhs-ps-item h4 { font-size: 15px; }
    .xhs-ps-item p { font-size: 12px; }

    .xhs-brand-influence { padding: 40px 0; }
    .xhs-brand-influence h2 { font-size: 21px; }
    .xhs-influence-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 110px; }

    .xhs-faq-section { padding: 40px 0; }
    .xhs-faq-section h2 { font-size: 21px; }
    .xhs-faq-item { padding: 16px 18px; }
    .xhs-faq-question { font-size: 14px; }
    .xhs-faq-answer { font-size: 13px; }
}

@media (max-width: 480px) {
    .xhs-hero-title { font-size: 22px; }
    .xhs-ps-grid { grid-template-columns: 1fr; }
    .xhs-influence-grid { grid-template-columns: 1fr; grid-auto-rows: 130px; }
}
