/* ===== 網頁設計頁專屬：五階段時間軸（桌面橫向 / 平板手機縱向） ===== */
.flow5{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:26px;margin-top:54px}
.flow5 .tl-step{position:relative;z-index:1}
.flow5 .tl-step::after{content:"";position:absolute;top:23px;left:50%;right:-26px;height:1px;
  background:linear-gradient(90deg,rgba(201,235,85,.42),rgba(201,235,85,.16));z-index:0}
.flow5 .tl-step:last-child::after{display:none}
.flow5 .tl-dot{position:relative;z-index:2;width:46px;height:46px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;margin:0 auto 22px;
  background:linear-gradient(165deg,#0a2138,#061225);border:1px solid rgba(201,235,85,.45);
  color:#c9eb55;font-size:14px;font-weight:800;letter-spacing:.04em;
  transition:background .3s ease,border-color .3s ease,box-shadow .3s ease}
.flow5 .tl-step:hover .tl-dot{background:rgba(201,235,85,.14);border-color:#c9eb55;
  box-shadow:0 0 0 6px rgba(201,235,85,.06)}
.flow5 .tl-body h4{font-size:16.5px;font-weight:700;color:#fff;margin:0 0 10px}
.flow5 .tl-body p{color:#a9bbd0;font-size:14px;font-weight:300;line-height:1.8;margin:0}
.tl-note{display:flex;gap:14px;align-items:center;max-width:820px;margin:44px auto 0;
  background:rgba(255,255,255,.05);border:1px solid rgba(201,235,85,.28);border-radius:14px;
  padding:18px 24px}
.tl-note-ico{flex:0 0 38px;width:38px;height:38px;border-radius:10px;display:flex;align-items:center;justify-content:center;
  background:rgba(201,235,85,.12);color:var(--lime)}
.tl-note-ico svg{width:19px;height:19px;display:block}
.tl-note p{margin:0;color:#c3d1e0;font-size:14.5px;font-weight:300;line-height:1.9;text-align:left}
@media (max-width:520px){.tl-note{padding:16px 18px}.tl-note p{font-size:13.5px}}

@media (max-width:1024px){
  .flow5{grid-template-columns:1fr;gap:0;margin-top:40px}
  .flow5 .tl-step{display:flex;gap:18px;padding-bottom:32px}
  .flow5 .tl-step:last-child{padding-bottom:0}
  .flow5 .tl-step::after{top:52px;bottom:0;left:22px;right:auto;width:1px;height:auto;
    background:linear-gradient(180deg,rgba(201,235,85,.42),rgba(201,235,85,.12))}
  .flow5 .tl-dot{flex:0 0 44px;width:44px;height:44px;margin:0}
  .flow5 .tl-body{padding-top:3px;text-align:left}
  .flow5 .tl-body h4{text-align:left}
}
@media (max-width:520px){
  .flow5 .tl-body p{font-size:13.5px}
}

/* ===== 卡片圖標：duotone SVG（淺填充 + 描邊） ===== */
.ico svg{width:26px;height:26px;display:block}
.card .ico{background:linear-gradient(150deg,#f2f8ff 0%,#e2eefc 100%);box-shadow:inset 0 0 0 1px rgba(0,102,204,.07)}
.card:hover .ico{box-shadow:none;background:var(--brand)}
.block.dark .card .ico{background:rgba(201,235,85,.1);box-shadow:inset 0 0 0 1px rgba(201,235,85,.16)}
.block.dark .card:hover .ico{box-shadow:none;background:var(--lime)}

/* ===== 三種合作方式：方案卡（清單式，取代圓點文字塊） ===== */
.plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;
  max-width:var(--max);margin:38px auto 0;text-align:left;align-items:stretch}
.plan{position:relative;display:flex;flex-direction:column;background:var(--surface);
  border:1px solid var(--line);border-radius:var(--radius-lg);padding:26px 26px 22px;
  transition:transform .3s var(--ease),box-shadow .3s var(--ease),border-color .3s var(--ease)}
.plan:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:var(--line-2)}
.plan-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.plan-no{font-size:12.5px;font-weight:800;letter-spacing:.18em;color:#a8b8c9}
.plan-tag{font-size:11.5px;font-weight:700;color:#5b7089;background:#eef2f7;border-radius:999px;
  padding:4px 11px;letter-spacing:.02em}
.plan h3{font-size:20px;font-weight:800;color:var(--ink);letter-spacing:-.01em;margin:0 0 9px}
.plan-fit{font-size:13.5px;font-weight:300;color:var(--ink-4);line-height:1.75;margin:0 0 18px;min-height:68px}
.plan-list{list-style:none;margin:0 0 16px;padding:0}
.plan-list li{position:relative;padding-left:25px;margin-bottom:10px;font-size:14px;
  font-weight:400;color:var(--ink-2);line-height:1.6;text-align:left}
.plan-list li:last-child{margin-bottom:0}
.plan-list li svg{position:absolute;left:0;top:2px;width:16px;height:16px;color:var(--brand)}
.plan-excl{margin:0 0 18px;font-size:12.5px;font-weight:300;color:#93a5b8;line-height:1.7;text-align:left}
.plan-excl b{font-weight:700;color:#7b8fa4;margin-right:6px;font-size:11.5px;
  border:1px solid #d8e2ec;border-radius:4px;padding:1px 5px;vertical-align:1px}
.plan-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;
  padding-top:15px;border-top:1px dashed var(--line)}
.plan-time{font-size:12.5px;font-weight:700;color:var(--ink-3)}
.plan-link{font-size:12.5px;font-weight:700;color:var(--brand);text-decoration:none;white-space:nowrap}
.plan-link:hover{text-decoration:underline}
.plan.is-feature{border-color:rgba(0,102,204,.45);box-shadow:0 14px 38px rgba(0,102,204,.13)}
.plan.is-feature:hover{border-color:var(--brand);box-shadow:0 20px 46px rgba(0,102,204,.18)}
.plan.is-feature::before{content:"";position:absolute;left:0;right:0;top:0;height:3.5px;
  border-radius:var(--radius-lg) var(--radius-lg) 0 0;background:linear-gradient(90deg,var(--brand),var(--lime))}
.plan.is-feature .plan-tag{background:var(--lime);color:var(--lime-ink)}
.plans-note{max-width:760px;margin:26px auto 0;text-align:center;color:#8ba0b6;
  font-size:13px;font-weight:300;line-height:1.85}

/* ===== 費用與付款：兩個獨立面版 ===== */
.fee-split{display:grid;grid-template-columns:1fr 1fr;gap:22px;max-width:var(--max);margin:38px auto 0;text-align:left}
.fee-panel{border-radius:var(--radius-lg);padding:30px 30px 26px;transition:all .3s var(--ease)}
.fee-panel h3{font-size:19px;font-weight:800;letter-spacing:-.01em;margin:0 0 8px}
.fee-panel > p{font-size:14.5px;font-weight:300;line-height:1.8;margin:0 0 18px;color:var(--ink-3)}
.fee-tag{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;font-weight:700;
  padding:6px 13px;border-radius:999px;margin-bottom:16px;letter-spacing:.02em}
.fee-tag svg{width:15px;height:15px}
.tag-once{background:var(--brand-050);color:var(--brand)}
.tag-year{background:#eef2f7;color:#5b7089}
.fee-once{background:var(--surface);border:1px solid var(--line);border-top:3px solid var(--brand)}
.fee-once:hover{box-shadow:var(--shadow);border-color:var(--line-2)}
.fee-once h3{color:var(--ink)}
.fee-year{background:#f4f7fa;border:1px dashed #b9cbe0}
.fee-year:hover{border-color:#9fb9d6;background:#f0f4f9}
.fee-year h3{color:var(--ink)}
.fee-year h3 em{font-style:normal;font-size:12px;font-weight:700;color:#5b7089;background:#e3ebf3;
  border-radius:999px;padding:4px 10px;margin-left:8px;vertical-align:2px}

/* 付款階梯：按金額分三級 */
.pay-tiers{list-style:none;margin:4px 0 16px;padding:0}
.pay-tiers li + li{margin-top:14px}
.pt-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:7px}
.pt-head b{font-size:13.5px;font-weight:700;color:var(--ink);letter-spacing:-.005em}
.pt-head span{font-size:12px;font-weight:500;color:#7e93a9}
.pt-bar{display:flex;height:34px;border-radius:9px;overflow:hidden;background:#eef3f9}
.pt-bar i{display:flex;align-items:center;justify-content:center;font-style:normal;
  font-size:11.5px;font-weight:800;color:#0b3f7a;letter-spacing:.02em}
.pt-bar i:nth-child(1){background:#dbe9fa}
.pt-bar i:nth-child(2){background:#b7d3f1}
.pt-bar i:nth-child(3){background:#8fbce9}

.fee-list{list-style:none;margin:0 0 14px;padding:0}
.fee-list li{display:flex;align-items:baseline;gap:10px;padding:9px 2px;border-bottom:1px solid #e3eaf2;font-size:13.5px}
.fee-list li:last-child{border-bottom:0}
.fee-list b{flex:0 0 74px;font-weight:700;color:var(--ink)}
.fee-list span{flex:1;color:var(--ink-3);font-weight:300}
.fee-list em{font-style:normal;font-size:12px;font-weight:700;color:#5b7089;background:#e3ebf3;
  border-radius:999px;padding:3px 9px;white-space:nowrap}
.fee-cap{font-size:12.5px;color:#8ba0b6;font-weight:300;line-height:1.7;margin:0}

/* 加購橫條：CDN / DDoS 產品頁互鏈 */
.addon-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:var(--max);margin:18px auto 0}
.addon{display:flex;align-items:center;gap:14px;padding:16px 20px;border-radius:14px;
  background:linear-gradient(150deg,#f6faff,#eef5fd);border:1px solid #dbe8f7;text-decoration:none;
  transition:all .28s var(--ease)}
.addon:hover{border-color:#b9d3f0;background:#fff;box-shadow:0 12px 30px rgba(6,18,37,.08);transform:translateY(-2px)}
.addon-ico{flex:0 0 40px;width:40px;height:40px;border-radius:11px;display:flex;align-items:center;justify-content:center;
  background:#fff;color:var(--brand);box-shadow:0 2px 8px rgba(0,102,204,.1)}
.addon-ico svg{width:21px;height:21px;display:block}
.addon-txt{flex:1;display:flex;flex-direction:column;gap:3px;min-width:0;text-align:left}
.addon-txt b{font-size:14.5px;font-weight:700;color:var(--ink)}
.addon-txt i{font-style:normal;font-size:12.5px;font-weight:300;color:#7e93a9;line-height:1.55}
.addon-go{flex:0 0 auto;font-size:12.5px;font-weight:700;color:var(--brand);white-space:nowrap}

.fee-note{max-width:760px;margin:28px auto 0;color:#64748b;font-size:14px;font-weight:300;text-align:center;line-height:1.9}

@media (max-width:1024px){
  .plans{grid-template-columns:1fr;gap:20px}
  .plan{padding:24px 22px 20px}
  .plan-fit{min-height:0}
  .fee-split{grid-template-columns:1fr;gap:18px}
  .addon-row{grid-template-columns:1fr;gap:12px}
}
@media (max-width:520px){
  .plan{padding:22px 20px 18px}
  .plan h3{font-size:18.5px}
  .fee-panel{padding:24px 20px 22px}
  .fee-list li{flex-wrap:wrap;gap:4px 10px}
  .fee-list span{flex-basis:100%;order:3}
  .pt-head{flex-direction:column;align-items:flex-start;gap:2px}
  .addon{padding:14px 16px;gap:12px}
}
