/* ==========================================================================
   发稿大师 - 首页样式
   ========================================================================== */

/* ========== Hero ========== */
/* 深色区块（2026-09-12 二次换版）：底走 --c-dark-grad，前景纯蓝白，深底不再用橙色 */
.hero {
    position: relative;
    background: var(--c-dark-grad);
    color: #fff;
    overflow: hidden;
    padding: 80px 0 120px;
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
}
.hero::after {
    content: ""; position: absolute; right: -200px; top: -100px; width: 800px; height: 800px;
    background: radial-gradient(circle, var(--c-dark-glow), transparent 60%);
    pointer-events: none;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
/* .hero-eyebrow / .hero-eyebrow .dot 已收口到 common.css
   （faq.html 是全站唯一不引 home.css 的页面，写在那边会让它的 banner 丢样式）
   改这两条规则请去 common.css 的「banner 上方的小标签」处。 */
.hero h1 {
    font-size: 56px; font-weight: 800; letter-spacing: -1.5px; line-height: 1.15;
    margin-bottom: 20px;
}
.hero h1 .accent { background: linear-gradient(135deg, #A9C6FF, #FFFFFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub {
    font-size: 20px; color: var(--c-dark-on-sub); line-height: 1.6; margin-bottom: 36px; max-width: 540px;
}
.hero .sub b { color: var(--c-dark-on-hi); font-weight: 700; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
    margin-top: 56px; padding-top: 32px;
    border-top: 1px solid var(--c-dark-line);
}
.hero-stat .num { font-size: 32px; font-weight: 800; color: var(--c-dark-on); letter-spacing: -.5px; text-shadow: 0 0 22px rgba(140,175,255,.55); }
.hero-stat .label { font-size: 13px; color: var(--c-dark-on-sub); margin-top: 2px; }

/* Hero 右侧:媒体云示意 */
.hero-visual {
    position: relative; height: 480px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-xl);
    padding: 32px;
    overflow: hidden;
}
.hero-visual::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(0,82,217,.4), transparent 50%);
}
.media-bubble {
    position: absolute; padding: 10px 16px; border-radius: 22px;
    background: rgba(255,255,255,.95); color: var(--c-text); font-size: 13px; font-weight: 500;
    box-shadow: 0 8px 24px rgba(0,0,0,.25); animation: float 6s ease-in-out infinite;
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid rgba(255,255,255,.85);
}
.media-bubble > svg {
    width: 15px; height: 15px; flex-shrink: 0;
}
.media-bubble.acc {
    background: linear-gradient(135deg, #5B8CFF, #4C7DFF); color: #fff;
    animation-delay: 1s; border-color: rgba(255,255,255,.28);
    box-shadow: 0 8px 24px rgba(0,0,0,.25), 0 0 0 1px rgba(255,255,255,.14) inset;
}
.media-bubble.pri {
    background: linear-gradient(135deg, #2A62E0, #1B4ED8); color: #fff;
    animation-delay: 2s; border-color: rgba(255,255,255,.22);
    box-shadow: 0 8px 24px rgba(0,0,0,.25), 0 0 0 1px rgba(255,255,255,.12) inset;
}
.media-bubble::after {
    content: ""; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%;
    background: var(--c-success);
    box-shadow: 0 0 0 2px rgba(0,168,112,.2);
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.hero-visual-center {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 140px; height: 140px; border-radius: 50%;
    background: linear-gradient(135deg, #1B3FA8, #4C7DFF);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    box-shadow: 0 12px 40px rgba(76,125,255,.45);
    animation: pulse 3s ease-in-out infinite;
}
.hero-visual-center b { font-size: 28px; font-weight: 800; }
.hero-visual-center span { font-size: 11px; opacity: .85; }
@keyframes pulse {
    0%, 100% { box-shadow: 0 12px 40px rgba(76,125,255,.45); }
    50% { box-shadow: 0 12px 60px rgba(76,125,255,.75); }
}

/* ========== 信任背书 ========== */
.trustbar { background: var(--c-bg-soft); padding: 40px 0; border-bottom: 1px solid var(--c-line); }
.trustbar .container { display: flex; align-items: center; gap: 40px; }
.trustbar .label { font-size: 14px; color: var(--c-text-sub); font-weight: 500; white-space: nowrap; }
.trustbar .label::before { content: "✦"; color: var(--c-accent); margin-right: 8px; }
.trustbar .logos { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.trustbar .logos span {
    color: var(--c-text-mute); font-size: 18px; font-weight: 700; letter-spacing: 1px;
    opacity: .7; transition: opacity .2s;
}
.trustbar .logos span:hover { opacity: 1; color: var(--c-primary); }

/* ========== 主营业务 ========== */
.biz-section { background: #fff; }
.biz-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
    align-items: stretch;
}
.biz-card {
    background: var(--c-bg-soft);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid var(--c-line);
    transition: transform .3s, box-shadow .3s;
    display: flex; flex-direction: column;
}
.biz-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.biz-card-alt { background: linear-gradient(160deg, #F0F5FF 0%, #FFFFFF 100%); border-color: #DDE7FB; }
.biz-card-head {
    display: flex; align-items: flex-start; gap: 16px;
    margin-bottom: 24px; padding-bottom: 20px;
    border-bottom: 1px solid var(--c-line);
}
.biz-num {
    flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px;
    background: var(--c-primary); color: #fff;
    font-size: 18px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 16px rgba(0,82,217,.25);
}
.biz-card-alt .biz-num { background: var(--c-accent); box-shadow: 0 6px 16px rgba(241,149,0,.28); }
.biz-card-head h3 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.biz-sub { font-size: 14px; color: var(--c-text-sub); margin: 0; }
.biz-list { flex: 1; }
.biz-list li { padding: 14px 0; border-bottom: 1px dashed var(--c-line); }
.biz-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.biz-list strong {
    display: block; font-size: 16px; font-weight: 700; color: var(--c-text);
    margin-bottom: 6px; position: relative; padding-left: 16px;
}
.biz-list strong::before {
    content: ""; position: absolute; left: 0; top: 8px;
    width: 7px; height: 7px; border-radius: 50%; background: var(--c-primary);
}
.biz-card-alt .biz-list strong::before { background: var(--c-accent); }
.biz-list p { font-size: 14px; color: var(--c-text-sub); line-height: 1.7; margin: 0; }
.biz-more {
    display: inline-block; margin-top: 24px;
    font-size: 15px; font-weight: 600; color: var(--c-primary);
}
.biz-card-alt .biz-more { color: var(--c-accent); }
.biz-actions {
    margin-top: 24px; display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
}
.biz-actions .biz-more { margin-top: 0; }

/* ========== 核心优势 4 卡 ========== */
.feature-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.feature-card {
    padding: 36px 28px; background: #fff; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s;
    border: 1px solid var(--c-line);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: var(--c-primary-light); color: var(--c-primary);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card.alt .feature-icon { background: var(--c-accent-light); color: var(--c-accent); }
.feature-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--c-text-sub); line-height: 1.7; }
.feature-card .more { display: inline-block; margin-top: 16px; font-size: 14px; color: var(--c-primary); font-weight: 500; }

/* ========== 资源类型 ========== */
.media-types {
    background: linear-gradient(180deg, #F7F9FC, #fff);
}
.types-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.type-card {
    background: #fff; border-radius: var(--radius-lg); padding: 32px;
    border: 1px solid var(--c-line); position: relative; overflow: hidden;
    transition: all .3s;
}
.type-card:hover { border-color: var(--c-primary); box-shadow: var(--shadow-md); }
.type-card .badge {
    position: absolute; right: 16px; top: 16px;
    font-size: 12px; padding: 4px 10px; border-radius: 10px;
    background: var(--c-accent-light); color: var(--c-accent); font-weight: 600;
}
.type-card .icon {
    display: flex; align-items: center;
    height: 46px; margin-bottom: 16px; color: var(--c-primary);
}
.type-card .icon svg { width: 38px; height: 38px; }
.type-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.type-card p { font-size: 14px; color: var(--c-text-sub); margin-bottom: 20px; }
.type-list { font-size: 14px; color: var(--c-text-sub); }
.type-list li {
    padding: 6px 0; display: flex; justify-content: space-between;
    border-bottom: 1px dashed var(--c-line);
}
.type-list li:last-child { border-bottom: 0; }
.type-list .count { color: var(--c-primary); font-weight: 600; }

/* ========== 发稿流程 ========== */
.flow-section { background: var(--c-dark-grad); color: #fff; position: relative; overflow: hidden; }
.flow-section .section-head h2 { color: #fff; }
.flow-section .section-head p { color: rgba(255,255,255,.7); }
.flow-section::before {
    content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
    width: 1px; height: 100%; background: linear-gradient(to bottom, transparent, rgba(255,255,255,.1), transparent);
}
.flow-grid {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; position: relative;
}
.flow-step {
    text-align: center; position: relative; z-index: 1;
}
.flow-step .num {
    width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--c-primary), #266FE8);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 800; color: #fff;
    box-shadow: 0 8px 24px rgba(0,82,217,.4);
}
.flow-step:nth-child(even) .num { background: linear-gradient(135deg, #2A55E0, #6C93FF); box-shadow: 0 8px 24px rgba(76,125,255,.45); }
.flow-step h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.flow-step p { font-size: 13px; color: rgba(255,255,255,.6); }

/* ========== 客户案例 ========== */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
    background: #fff; border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--c-line); transition: all .3s;
}
.case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.case-cover {
    height: 180px; position: relative;
    background: linear-gradient(135deg, #0052D9, #266FE8);
    display: flex; align-items: center; justify-content: center; color: #fff; font-size: 36px;
}
/* 案例卡 banner 图（2026-09-21）：has-banner 变体仅用于案例封面；
   资讯卡（c4-c6 + emoji）不受影响 */
.case-cover img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; display: block;
}
.case-cover.has-banner::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(160deg, rgba(16,42,100,.60) 0%, rgba(0,82,217,.24) 55%, rgba(0,31,79,.38) 100%);
}
.case-cover.c2 { background: linear-gradient(135deg, #F19500, #FFC24D); }
.case-cover.c3 { background: linear-gradient(135deg, #00A870, #43C69B); }
.case-cover.c4 { background: linear-gradient(135deg, #5A4FCF, #9E97F5); }
.case-cover.c5 { background: linear-gradient(135deg, #0C7CE2, #6BB6F5); }
.case-cover.c6 { background: linear-gradient(135deg, #101F4F, #2B4A8F); }
.case-cover .tag {
    position: absolute; left: 16px; top: 16px; z-index: 2;
    background: rgba(255,255,255,.2); color: #fff;
    font-size: 12px; padding: 4px 12px; border-radius: 10px; backdrop-filter: blur(8px);
}
.case-body { padding: 24px; }
.case-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.case-meta { display: flex; gap: 12px; font-size: 13px; color: var(--c-text-mute); margin-bottom: 12px; }
.case-meta span::before { content: "·"; margin-right: 8px; color: var(--c-line); }
.case-meta span:first-child::before { display: none; }
.case-body p { font-size: 14px; color: var(--c-text-sub); line-height: 1.7; margin-bottom: 16px; }
.case-stat { display: flex; justify-content: space-between; padding-top: 16px; border-top: 1px dashed var(--c-line); }
.case-stat div b { font-size: 20px; color: var(--c-accent); font-weight: 800; display: block; }
.case-stat div span { font-size: 12px; color: var(--c-text-mute); }

/* ========== CTA ========== */
/* .cta-section（底部咨询 CTA）已上移为全站唯一真源 → assets/css/common.css
   原因：65 个案例详情页不加载本文件，若继续定义在此会导致其 CTA 丢样式 */

/* Hero媒体数据流位置（对称环绕中心圆，白蓝交替，八方位不咬圆） */
.b1 { top: 6%; left: 8%; animation-delay: .0s; }   /* 新华网·白 · 顶部左 */
.b2 { top: 6%; right: 8%; animation-delay: .5s; }  /* 央广网·蓝 · 顶部右 */
.b3 { top: 24%; right: 4%; animation-delay: 1s; }   /* 今日头条·白 · 右中上 */
.b4 { bottom: 24%; right: 4%; animation-delay: 1.5s; } /* 人民网·蓝 · 右中下 */
.b5 { bottom: 6%; right: 8%; animation-delay: 2s; } /* 凤凰网·白 · 底部右 */
.b6 { bottom: 6%; left: 8%; animation-delay: 2.5s; } /* 中新网·蓝 · 底部左 */
.b7 { top: 24%; left: 4%; animation-delay: 1.2s; }   /* 36氪·蓝 · 左中上 */
.b8 { bottom: 24%; left: 4%; animation-delay: .8s; } /* 网易·白 · 左中下 */

/* 响应式 */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .types-grid, .cases-grid { grid-template-columns: repeat(2, 1fr); }
    .flow-grid { grid-template-columns: repeat(3, 1fr); }
    .hero h1 { font-size: 40px; }
}
@media (max-width: 768px) {
    .hero { padding: 60px 0 80px; }
    .hero h1 { font-size: 32px; }
    .hero .sub { font-size: 16px; }
    .hero-stats { grid-template-columns: 1fr 1fr; gap: 20px; }
    .feature-grid, .types-grid, .cases-grid { grid-template-columns: 1fr; }
    .biz-grid { grid-template-columns: 1fr; }
    .flow-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .hero { padding: 44px 0 56px; }
    .hero h1 { font-size: 26px; line-height: 1.35; }
    .hero .sub { font-size: 15px; }
    .hero-stats { grid-template-columns: 1fr 1fr; gap: 14px 12px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .flow-grid { grid-template-columns: 1fr; }
    .trustbar { flex-wrap: wrap; gap: 10px 18px; }
}
