/* ============================================
   MODE: HOME (登入主畫面)
   ============================================ */
.home-hero { padding: 30px 4px 8px; }
.home-eyebrow {
    font-family: var(--mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--sub-ink);
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}
.home-title {
    font-size: clamp(2rem, 7vw, 3.2rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
    margin: 0 0 18px;
}
.home-sub {
    font-size: 1.05rem;
    color: var(--sub-ink);
    line-height: 1.7;
    margin: 0 0 30px;
}

.stage-card {
    display: flex;
    align-items: stretch;
    gap: 16px;
    padding: 20px 18px;
    margin-bottom: 18px;
    background: var(--surface);
    border: var(--border);
    box-shadow: 6px 6px 0 var(--ink);
    cursor: pointer;
    transition: 0.18s ease-out;
    position: relative;
}
.stage-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--ink);
}
.stage-card:active { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
.stage-num {
    font-family: var(--mono);
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--ink);
    opacity: 0.18;
    align-self: center;
    min-width: 56px;
}
.stage-body { flex: 1; }
.stage-name {
    font-size: 1.15rem;
    font-weight: 900;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.stage-name i { color: var(--ink); }
.stage-desc {
    font-size: 0.95rem;
    color: var(--sub-ink);
    line-height: 1.6;
    margin-bottom: 8px;
}
.stage-meta {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--sub-ink);
    letter-spacing: 0.5px;
}
.stage-arrow {
    align-self: center;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--ink);
}
.stage-card { text-decoration: none; color: inherit; }

/* 計畫說明入口:不是流程階段,是「查資料」的那一張。
   刻意做成黑底 + 螢光陰影跟 01-05 區隔,對外只發一個網址時它就是第一眼。 */
.stage-guide {
    background: var(--ink);
    border-left: 8px solid var(--neon);
    box-shadow: 6px 6px 0 var(--neon);
}
.stage-guide:hover { box-shadow: 9px 9px 0 var(--neon); }
.stage-guide:active { box-shadow: 3px 3px 0 var(--neon); }
.stage-guide .stage-num { color: var(--neon); opacity: 0.75; font-size: 2rem; display: flex; align-items: center; justify-content: center; }
.stage-guide .stage-name { color: var(--surface); }
.stage-guide .stage-name i { color: var(--neon); }
.stage-guide .stage-desc { color: #bbb; }
.stage-guide .stage-meta { color: #888; }
.stage-guide .stage-arrow { color: var(--neon); }

/* 說明卡與階段卡之間的分隔標 */
.stage-divider {
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--sub-ink);
    margin: 26px 0 14px;
    padding-left: 2px;
}

.stage-intro { border-left: 8px solid var(--neon); }
.stage-apply { border-left: 8px solid var(--warn); }
.stage-prep  { border-left: 8px solid #4dabff; }
.stage-coach { border-left: 8px solid #9333ea; }
.stage-close { border-left: 8px solid var(--alert); }
.home-foot { text-decoration: none; color: var(--sub-ink); display: block; }

.home-foot {
    margin-top: 20px;
    padding: 14px 16px;
    text-align: center;
    color: var(--sub-ink);
    font-size: 0.9rem;
    background: #fafafa;
    border: 2px dashed #ccc;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.15s;
}
.home-foot:hover { background: #fff; border-color: var(--ink); color: var(--ink); }
.home-foot strong { color: var(--ink); }

/* ============================================
   RWD：手機（窄螢幕）調整
   階段卡為固定欄寬，約 320px 時中文會被擠壓，
   縮小間距/編號字級，讓三欄在小螢幕排得下。
   ============================================ */
@media (max-width: 600px) {
    .stage-card { gap: 12px; padding: 16px 14px; }
    .stage-num { font-size: 1.8rem; min-width: 38px; }
    .stage-arrow { font-size: 1.3rem; }
}

/* 額外機會入口（/antifraud）：不是青年署的流程階段，
   所以刻意不給編號、用琥珀色左邊條跟 01-05 區隔。 */
/* 場域資料庫 / 額外資源 —— 兩張工具卡，用綠與琥珀跟 01-05 流程卡區隔 */
.stage-venues { border-left: 8px solid var(--neon); }
.stage-venues .stage-num { font-size: 1.9rem; display: flex; align-items: center; justify-content: center; color: var(--neon); opacity: .85; }
.stage-extra { border-left: 8px solid #C8860D; }
.stage-extra .stage-num { font-size: 1.9rem; display: flex; align-items: center; justify-content: center; color: #C8860D; opacity: .85; }
.stage-fraud { border-left: 8px solid #E11D48; }
.stage-fraud .stage-num { font-size: 1.9rem; display: flex; align-items: center; justify-content: center; color: #E11D48; opacity: 0.85; }
