/* ============================================================
   网站原型设计 - 页面专属样式
   布艺配饰风 · 藕粉 + 浅绿 + 奶白
   布局：纵向交替时间线 / 交付物卡片 / 工具墙 + 方法列表
   ============================================================ */

/* ---------- Banner 补充 ---------- */
.pb-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.pb-copy h1 em { font-style: normal; color: var(--lotus-deep); position: relative; }
.pb-copy h1 em::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 10px;
    background: var(--sage-soft); z-index: -1; border-radius: 6px;
}

/* ---------- 纵向交替时间线 ---------- */
.timeline {
    position: relative; padding: 20px 0;
}
/* 中央纵向缝线 */
.timeline::before {
    content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px;
    transform: translateX(-50%);
    background: repeating-linear-gradient(180deg, var(--lotus) 0 10px, transparent 10px 20px);
}
.tl-stage {
    display: grid; grid-template-columns: 1fr 80px 1fr; gap: 0;
    align-items: center; margin-bottom: 70px; position: relative;
}
.tl-stage:last-child { margin-bottom: 0; }
/* 交替：奇数阶段卡片在左，图示在右；偶数反之 */
.tl-stage:nth-child(odd) .tl-card { grid-column: 1; text-align: right; padding-right: 30px; }
.tl-stage:nth-child(odd) .tl-visual { grid-column: 3; padding-left: 30px; }
.tl-stage:nth-child(even) .tl-card { grid-column: 3; padding-left: 30px; }
.tl-stage:nth-child(even) .tl-visual { grid-column: 1; text-align: right; padding-right: 30px; }
/* 节点：中央圆环图标 */
.tl-node {
    grid-column: 2; display: grid; place-items: center; position: relative; z-index: 2;
}
.tl-ic {
    width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
    background: var(--white); border: 2px dashed var(--lotus-deep); color: var(--lotus-deep);
    box-shadow: var(--shadow-sm); transition: transform .4s, background .4s, color .4s;
}
.tl-stage:nth-child(even) .tl-ic { border-color: var(--sage-deep); color: var(--sage-deep); }
.tl-ic svg { width: 30px; height: 30px; }
.tl-stage:hover .tl-ic { transform: scale(1.12) rotate(8deg); background: var(--lotus-deep); color: var(--white); }
.tl-stage:nth-child(even):hover .tl-ic { background: var(--sage-deep); border-color: var(--sage-deep); }
/* 卡片内容 */
.tl-card {
    background: var(--white); border-radius: var(--radius); padding: 28px 30px;
    border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    transition: transform .4s, box-shadow .4s;
}
.tl-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tl-no {
    display: inline-block; font-family: var(--f-serif); font-size: 1.3rem; color: var(--lotus-deep);
    font-weight: 600; margin-bottom: 8px; letter-spacing: 2px;
}
.tl-stage:nth-child(even) .tl-no { color: var(--sage-deep); }
.tl-card h3 { margin-bottom: 10px; }
.tl-card p { font-size: .94rem; margin-bottom: 16px; }
.tl-out { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; }
.tl-stage:nth-child(odd) .tl-out { justify-content: flex-end; }
.tl-out li {
    font-size: .8rem; color: var(--ink-soft); padding: 4px 12px; border-radius: 20px;
    background: var(--cream-2); border: 1px solid var(--line);
}
/* 阶段图示容器 */
.tl-visual { display: flex; align-items: center; }
.tl-stage:nth-child(odd) .tl-visual { justify-content: flex-start; }
.tl-stage:nth-child(even) .tl-visual { justify-content: flex-end; }
.tl-illus {
    width: 180px; height: 140px; border-radius: var(--radius); background: var(--cream-2);
    border: 1px solid var(--line); position: relative; overflow: hidden;
    box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 8px; padding: 14px;
}
/* 图示一：需求梳理 - 横线条 + 勾选 */
.illus-1 { justify-content: center; }
.illus-1 .bar { height: 10px; border-radius: 4px; background: var(--cream-3); }
.illus-1 .b1 { width: 80%; }
.illus-1 .b2 { width: 60%; background: var(--lotus); }
.illus-1 .b3 { width: 70%; }
.illus-1 .check {
    position: absolute; right: 14px; top: 14px; width: 24px; height: 24px; border-radius: 50%;
    background: var(--sage-deep); color: var(--white); display: grid; place-items: center;
    font-size: .8rem; font-weight: 700;
}
/* 图示二：信息架构 - 树形结构 */
.illus-2 { justify-content: center; align-items: center; }
.illus-2 .node { width: 18px; height: 18px; border-radius: 50%; position: absolute; }
.illus-2 .root { background: var(--lotus-deep); top: 18px; left: 50%; transform: translateX(-50%); }
.illus-2 .c1 { background: var(--sage-deep); bottom: 18px; left: 22px; }
.illus-2 .c2 { background: var(--sage-deep); bottom: 18px; left: 50%; transform: translateX(-50%); }
.illus-2 .c3 { background: var(--sage-deep); bottom: 18px; right: 22px; }
.illus-2 .branch { position: absolute; background: var(--ink-mute); }
.illus-2 .l1 { width: 2px; height: 60px; top: 32px; left: 50%; transform: translateX(-50%); }
.illus-2 .l2 { width: 2px; height: 40px; bottom: 32px; left: 30px; transform: rotate(20deg); transform-origin: bottom; }
.illus-2 .l3 { width: 2px; height: 40px; bottom: 32px; right: 30px; transform: rotate(-20deg); transform-origin: bottom; }
/* 图示三：低保真 - 线框 */
.illus-3 { padding: 12px; }
.illus-3 .wf-header { height: 16px; border-radius: 4px; background: var(--cream-3); margin-bottom: 6px; }
.illus-3 .wf-hero { height: 40px; border-radius: 6px; border: 1.5px dashed var(--ink-mute); margin-bottom: 6px; }
.illus-3 .wf-row { display: flex; gap: 6px; flex: 1; }
.illus-3 .wf-col { flex: 1; border-radius: 4px; border: 1.5px dashed var(--ink-mute); }
/* 图示四：高保真 - 彩色块 */
.illus-4 { padding: 12px; }
.illus-4 .hp-header { height: 16px; border-radius: 4px; background: var(--lotus-deep); margin-bottom: 6px; }
.illus-4 .hp-hero { height: 40px; border-radius: 6px; background: linear-gradient(120deg, var(--lotus-soft), var(--sage-soft)); margin-bottom: 6px; }
.illus-4 .hp-card { flex: 1; border-radius: 6px; background: var(--cream-2); border: 1px solid var(--line); }
.illus-4 .hp-btn {
    position: absolute; right: 14px; bottom: 14px; width: 40px; height: 12px; border-radius: 8px;
    background: var(--sage-deep);
}

/* ---------- 交付物卡片 ---------- */
.deliver-section { background: var(--cream-2); }
.deliver-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.deliver-card {
    background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    transition: transform .4s, box-shadow .4s; display: flex; flex-direction: column;
}
.deliver-card:nth-child(2) { transform: translateY(28px); }
.deliver-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); }
.deliver-card:nth-child(2):hover { transform: translateY(18px); }
.dl-pic { position: relative; height: 220px; overflow: hidden; }
.dl-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.deliver-card:hover .dl-pic img { transform: scale(1.06); }
.dl-badge {
    position: absolute; top: 16px; left: 16px; width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,.92); color: var(--lotus-deep); display: grid; place-items: center;
    font-family: var(--f-serif); font-size: 1rem; font-weight: 600; box-shadow: var(--shadow-sm);
}
.dl-body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.dl-body h3 { margin-bottom: 10px; }
.dl-body p { font-size: .92rem; flex: 1; margin-bottom: 16px; }
.dl-tag {
    font-size: .8rem; color: var(--sage-deep); letter-spacing: 1px;
    padding: 5px 14px; background: var(--sage-soft); border-radius: 20px; align-self: flex-start;
}

/* ---------- 工具与方法 ---------- */
.method-section { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.method-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
/* 工具墙 */
.tool-wall {
    display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; align-items: center;
}
.tool {
    padding: 10px 22px; border-radius: 30px; background: var(--white);
    border: 1.5px solid var(--line); font-size: .94rem; font-weight: 500; color: var(--ink);
    box-shadow: var(--shadow-sm); transition: transform .35s, background .35s, color .35s; cursor: default;
}
.tool:hover { transform: translateY(-4px); }
.tool.t1 { background: var(--lotus-soft); border-color: var(--lotus); transform: rotate(-2deg); }
.tool.t2 { background: var(--sage-soft); border-color: var(--sage); transform: rotate(1.5deg); }
.tool.t3 { transform: rotate(-1deg); }
.tool.t4 { background: var(--lotus-soft); border-color: var(--lotus); transform: rotate(2deg); }
.tool.t5 { background: var(--sage-soft); border-color: var(--sage); transform: rotate(-1.5deg); }
.tool.t6 { transform: rotate(1deg); }
.tool.t7 { background: var(--lotus-soft); border-color: var(--lotus); transform: rotate(-2deg); }
.tool.t8 { background: var(--sage-soft); border-color: var(--sage); transform: rotate(1.5deg); }
.tool.t1:hover { transform: rotate(-2deg) translateY(-4px); background: var(--lotus-deep); color: var(--white); }
.tool.t2:hover { transform: rotate(1.5deg) translateY(-4px); background: var(--sage-deep); color: var(--white); }
.tool.t3:hover { transform: rotate(-1deg) translateY(-4px); background: var(--lotus-deep); color: var(--white); }
.tool.t4:hover { transform: rotate(2deg) translateY(-4px); background: var(--lotus-deep); color: var(--white); }
.tool.t5:hover { transform: rotate(-1.5deg) translateY(-4px); background: var(--sage-deep); color: var(--white); }
.tool.t6:hover { transform: rotate(1deg) translateY(-4px); background: var(--lotus-deep); color: var(--white); }
.tool.t7:hover { transform: rotate(-2deg) translateY(-4px); background: var(--lotus-deep); color: var(--white); }
.tool.t8:hover { transform: rotate(1.5deg) translateY(-4px); background: var(--sage-deep); color: var(--white); }
/* 方法原则列表 */
.rule-list { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.rule-list li {
    display: flex; gap: 18px; align-items: flex-start; padding: 18px 22px;
    background: var(--white); border-radius: var(--radius); border: 1px solid var(--line);
    box-shadow: var(--shadow-sm); transition: transform .35s, border-color .35s;
}
.rule-list li:hover { transform: translateX(8px); border-color: var(--lotus); }
.r-no {
    font-family: var(--f-serif); font-size: 1.4rem; color: var(--lotus-deep); font-weight: 600;
    flex-shrink: 0; line-height: 1;
}
.rule-list li:nth-child(even) .r-no { color: var(--sage-deep); }
.rule-list h4 { margin-bottom: 4px; font-size: 1.1rem; }
.rule-list p { font-size: .88rem; }

/* ---------- CTA ---------- */
.cta-band {
    background: linear-gradient(135deg, var(--sage-deep), var(--sage)); border-radius: var(--radius-lg);
    padding: 56px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
    position: relative; overflow: hidden;
}
.cta-band::before {
    content: ""; position: absolute; left: -50px; bottom: -50px; width: 220px; height: 220px;
    border-radius: 50%; background: rgba(255,255,255,.12);
}
.cta-band::after {
    content: ""; position: absolute; right: 25%; top: -40px; width: 120px; height: 120px;
    border-radius: 50%; background: rgba(226,196,188,.2);
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; position: relative; z-index: 2; }
.cta-band p { color: rgba(255,255,255,.88); position: relative; z-index: 2; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
    .deliver-grid { grid-template-columns: 1fr 1fr; }
    .deliver-card:nth-child(2) { transform: none; }
    .deliver-card:nth-child(2):hover { transform: translateY(-10px); }
    .method-grid { grid-template-columns: 1fr; gap: 50px; }
}
@media (max-width: 768px) {
    /* 时间线转为单列：节点在左侧 */
    .timeline::before { left: 30px; }
    .tl-stage { grid-template-columns: 60px 1fr; gap: 0; margin-bottom: 40px; }
    .tl-node { grid-column: 1; }
    .tl-card, .tl-stage:nth-child(odd) .tl-card, .tl-stage:nth-child(even) .tl-card {
        grid-column: 2; text-align: left; padding: 24px 22px; padding-left: 22px;
    }
    .tl-stage:nth-child(odd) .tl-out, .tl-stage:nth-child(even) .tl-out { justify-content: flex-start; }
    .tl-visual, .tl-stage:nth-child(odd) .tl-visual, .tl-stage:nth-child(even) .tl-visual {
        grid-column: 2; justify-content: flex-start; text-align: left; padding: 0; margin-top: 16px;
    }
    .tl-illus { width: 150px; height: 120px; }
}
@media (max-width: 640px) {
    .deliver-grid { grid-template-columns: 1fr; }
    .cta-band { padding: 36px 24px; flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .timeline::before { left: 22px; }
    .tl-stage { grid-template-columns: 44px 1fr; }
    .tl-ic { width: 44px; height: 44px; }
    .tl-ic svg { width: 22px; height: 22px; }
    .tl-illus { width: 130px; height: 100px; }
}
