﻿/* ==========================================================================
   包藥藥 — 對外行銷首頁樣式
   獨立於後台的 Tailwind / Bootstrap，只有 Pages/Home.cshtml 會載入。
   ========================================================================== */

:root {
    --brand: #0f6d67;
    --brand-hover: #0c5a55;
    --brand-deep: #08433f;
    --brand-soft: #e9f7f4;
    --brand-mid: #1f938b;
    --gold: #c7922b;
    --gold-soft: #fdf6e7;
    --ink: #12212b;
    /* 內文／次要文字別再調淡：白底上的中文細筆畫本來就吃虧，
       #4c5c68 / #75858f 在實機上整片區塊看起來是灰的、沒有重量。 */
    --body: #3d4d5a;
    --muted: #63737e;
    --line: #d9e4e1;
    --surface: #ffffff;
    --surface-alt: #f5f8f7;
    --radius: 16px;
    --shadow-sm: 0 1px 2px rgba(18, 33, 43, .06), 0 4px 12px rgba(18, 33, 43, .05);
    --shadow-md: 0 2px 6px rgba(18, 33, 43, .07), 0 18px 40px rgba(18, 33, 43, .09);
    --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    margin: 0;
    background: var(--surface);
    color: var(--body);
    font-family: "Microsoft JhengHei", "PingFang TC", "Noto Sans TC", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 19px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    letter-spacing: .01em;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.35; margin: 0; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }

/* 左右留白隨視窗縮放。固定 24px 的話，視窗在 1120~1250px 之間時內容會貼齊兩側（--maxw 剛好吃滿），看起來非常擠。
   斜率要抓到 5.5vw：3.6vw 在平板（768~1024）只有 28~37px，比桌機的 56px 少一半，內容會明顯貼邊；
   5.5vw 在 1018px 就吃到 56px 上限，桌機留白維持原樣，只有平板以下變寬。 */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5.5vw, 56px); }

/* ── 導覽列 ───────────────────────────────────────────── */
.nav {
    position: sticky; top: 0; z-index: 60;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
/* 品牌標記＝App 圖示本人（/img/app-icon.svg），不要換成別的圖形。 */
.brand-mark {
    width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
    display: block; box-shadow: 0 2px 8px rgba(18, 33, 43, .18);
}
.brand-name { font-size: 22px; font-weight: 800; color: var(--brand); letter-spacing: .04em; line-height: 1.2; }
.brand-sub { display: block; font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: .12em; }

.nav-links { display: flex; align-items: center; gap: 6px; margin-left: 20px; }
.nav-links a {
    font-size: 17px; font-weight: 600; color: var(--body);
    padding: 8px 12px; border-radius: 8px; transition: background .15s, color .15s;
}
.nav-links a:hover { color: var(--brand); background: var(--brand-soft); }
/* 中文可以逐字斷行，不擋住的話導覽列會在 800~1000px 被拆成兩三行擠爆列高。 */
.nav-links a { white-space: nowrap; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
/* 漢堡選單模式下仍然留一顆主要 CTA 在列上，不要把註冊藏進選單裡。
   選擇器要兩層：.btn 定義在後面且同權重，單層的 .nav-cta-mobile 會被它蓋掉。 */
.nav-inner .nav-cta-mobile { display: none; }

/* ── 按鈕 ─────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-size: 18px; font-weight: 700; line-height: 1;
    padding: 13px 24px; border-radius: 10px; border: 1px solid transparent;
    cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, color .15s, border-color .15s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 2px 6px rgba(15, 109, 103, .25); }
.btn-primary:hover { background: var(--brand-hover); box-shadow: 0 6px 18px rgba(15, 109, 103, .3); color: #fff; }
.btn-ghost { background: #fff; color: var(--brand); border-color: #cfe0dd; }
.btn-ghost:hover { border-color: var(--brand); background: var(--brand-soft); }
.btn-ondark { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .38); }
.btn-ondark:hover { background: rgba(255, 255, 255, .18); border-color: #fff; color: #fff; }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 2px 6px rgba(199, 146, 43, .3); }
.btn-gold:hover { background: #b17f1f; color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 17px; border-radius: 8px; }
.btn-lg { padding: 16px 30px; font-size: 19px; }

/* ── 區塊通用 ─────────────────────────────────────────── */
.section { padding: 86px 0; }
.section-alt { background: var(--surface-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 15px; font-weight: 700; letter-spacing: .1em;
    color: var(--brand); background: var(--brand-soft);
    padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 14px; }
.section-head p { font-size: 19px; color: var(--body); }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(900px 460px at 12% -10%, rgba(31, 147, 139, .5), transparent 62%),
        radial-gradient(760px 520px at 92% 8%, rgba(199, 146, 43, .22), transparent 60%),
        linear-gradient(160deg, #0d5f5a 0%, var(--brand-deep) 100%);
    color: #fff;
}
.hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
    background-size: 26px 26px; opacity: .35;
    mask-image: linear-gradient(to bottom, #000, transparent 72%);
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 72%);
}
.hero-inner {
    position: relative; z-index: 1;
    /* 左欄寬度要接近 .hero-lead 的 560px 上限，右欄才不會空一大塊；
       右欄仍用 fr（不用 auto），手機示意圖才能置中、不會貼死右緣。 */
    display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center;
    /* 只設上下內距。用 padding 簡寫會把 .wrap 的左右留白歸零（同權重、後定義者勝），
       平板寬度下標題就會貼死左緣。
       內距跟著視窗高度縮：筆電或瀏覽器放大後，CSS 高度常只剩 650~700px，
       固定的 84/92px 會把標題推到畫面中央，上方空一大塊、下方的按鈕還被切掉。
       視窗夠高（約 935px 以上）時就是原本的 84/92px。 */
    padding-block: clamp(46px, 9vh, 84px) clamp(52px, 9.5vh, 92px);
}
.hero h1 {
    color: #fff; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.28;
    letter-spacing: -.02em; margin-bottom: 22px;
}
.hero h1 .hl { color: #ffd98a; }
.hero-lead { font-size: 20px; color: rgba(255, 255, 255, .84); line-height: 1.85; margin-bottom: 32px; max-width: 560px; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
    color: #e6fffb; font-size: 16px; font-weight: 600; letter-spacing: .04em;
    padding: 7px 16px; border-radius: 999px; margin-bottom: 26px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 16px; color: rgba(255, 255, 255, .72); }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note i { color: #7fe3d5; font-size: 15px; }

/* 手機示意圖 */
.phone-stage { display: flex; justify-content: center; position: relative; }
.phone {
    width: 288px; border-radius: 34px; padding: 12px;
    background: linear-gradient(150deg, #1b3a3c, #0a2a2b);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .38), 0 0 0 1px rgba(255, 255, 255, .1);
}
.phone-screen { background: #f6f9f8; border-radius: 24px; overflow: hidden; }
.phone-top {
    background: linear-gradient(140deg, var(--brand-mid), var(--brand));
    color: #fff; padding: 18px 18px 20px;
}
.phone-top .ps-store { font-size: 14px; opacity: .85; letter-spacing: .08em; }
.phone-top .ps-name { font-size: 19px; font-weight: 800; margin-top: 3px; }
.phone-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.ps-tile {
    display: flex; align-items: center; gap: 12px;
    background: #fff; border: 1px solid var(--line); border-radius: 13px;
    padding: 13px 14px; box-shadow: 0 1px 2px rgba(18, 33, 43, .04);
}
.ps-ico {
    width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 18px;
    background: var(--brand-soft); color: var(--brand);
}
.ps-ico.gold { background: var(--gold-soft); color: var(--gold); }
.ps-t { font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.ps-d { font-size: 14px; color: var(--muted); line-height: 1.5; }
.ps-badge {
    margin-left: auto; font-size: 13px; font-weight: 700; color: #2d8a57;
    background: #ecf8f1; border-radius: 999px; padding: 3px 8px; white-space: nowrap;
}
.ps-status {
    background: #fff; border: 1px dashed #cfe0dd; border-radius: 13px;
    padding: 12px 14px; font-size: 14px; color: var(--muted);
}
.ps-steps { display: flex; align-items: center; gap: 6px; margin-top: 9px; }
.ps-dot { width: 9px; height: 9px; border-radius: 50%; background: #d8e4e1; flex-shrink: 0; }
.ps-dot.on { background: var(--brand); }
.ps-bar { flex: 1; height: 2px; background: #e4ecea; }
.ps-bar.on { background: var(--brand); }

/* ── 三大功能 ─────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px 26px; box-shadow: var(--shadow-sm);
    transition: transform .18s, box-shadow .18s, border-color .18s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cfe0dd; }
.card-ico {
    width: 50px; height: 50px; border-radius: 14px; margin-bottom: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; background: var(--brand-soft); color: var(--brand);
}
.card-ico.gold { background: var(--gold-soft); color: var(--gold); }
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card p { font-size: 17px; line-height: 1.8; }
.card ul { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.card li { position: relative; padding-left: 22px; font-size: 17px; color: var(--body); line-height: 1.65; }
.card li::before {
    content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900;
    position: absolute; left: 0; top: 1px; font-size: 14px; color: var(--brand);
}

/* ── 客戶獨立管理 ─────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split h2 { font-size: clamp(25px, 3.2vw, 34px); margin-bottom: 18px; }
.split-copy > p { font-size: 19px; line-height: 1.9; }
.point-list { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 20px; }
.point { display: flex; gap: 15px; }
.point-ico {
    width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--brand-soft); color: var(--brand); font-size: 18px;
}
.point h4 { font-size: 19px; margin-bottom: 4px; }
.point p { font-size: 17px; line-height: 1.75; }

/* 隔離示意圖 */
.iso { display: flex; flex-direction: column; gap: 14px; }
.iso-box {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 20px 22px; box-shadow: var(--shadow-sm);
}
.iso-box.self { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft), var(--shadow-sm); }
.iso-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.iso-badge {
    width: 32px; height: 32px; border-radius: 9px; display: flex;
    align-items: center; justify-content: center; font-size: 16px;
    background: var(--surface-alt); color: var(--muted); flex-shrink: 0;
}
.iso-box.self .iso-badge { background: var(--brand); color: #fff; }
.iso-title { font-size: 18px; font-weight: 800; color: var(--ink); }
.iso-tag {
    margin-left: auto; font-size: 14px; font-weight: 700; padding: 3px 10px;
    border-radius: 999px; background: var(--surface-alt); color: var(--muted); white-space: nowrap;
}
.iso-box.self .iso-tag { background: var(--brand-soft); color: var(--brand); }
.iso-people { display: flex; flex-wrap: wrap; gap: 7px; }
.avatar {
    width: 30px; height: 30px; border-radius: 50%; font-size: 14px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    background: #eef3f2; color: var(--muted);
}
.iso-box.self .avatar { background: var(--brand-soft); color: var(--brand); }
.iso-cut {
    display: flex; align-items: center; gap: 12px;
    font-size: 15px; font-weight: 700; color: var(--muted); letter-spacing: .04em;
}
.iso-cut::before, .iso-cut::after {
    content: ""; flex: 1; height: 1px;
    background: repeating-linear-gradient(90deg, #cfd9d7 0 6px, transparent 6px 12px);
}

/* ── 三步驟 ───────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
    position: relative; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 32px 26px 28px; box-shadow: var(--shadow-sm);
}
.step-no {
    width: 40px; height: 40px; border-radius: 12px; margin-bottom: 18px;
    display: flex; align-items: center; justify-content: center;
    background: var(--brand); color: #fff; font-size: 20px; font-weight: 800;
}
.step h3 { font-size: 21px; margin-bottom: 9px; }
.step p { font-size: 17px; line-height: 1.8; }

/* ── 後台功能列表 ─────────────────────────────────────── */
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini {
    display: flex; gap: 13px; align-items: flex-start;
    background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 18px;
}
.mini i { color: var(--brand); font-size: 17px; margin-top: 4px; width: 18px; text-align: center; flex-shrink: 0; }
.mini strong { display: block; font-size: 18px; color: var(--ink); font-weight: 700; }
.mini span { font-size: 16px; color: var(--muted); line-height: 1.65; }

/* ── FAQ ──────────────────────────────────────────────── */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details {
    background: #fff; border: 1px solid var(--line); border-radius: 13px;
    padding: 4px 22px; box-shadow: var(--shadow-sm);
}
.faq summary {
    cursor: pointer; list-style: none; padding: 18px 30px 18px 0; position: relative;
    font-size: 19px; font-weight: 700; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "\f078"; font-family: "Font Awesome 5 Free"; font-weight: 900;
    position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    font-size: 15px; color: var(--muted); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.faq details p { padding: 0 0 20px; font-size: 18px; line-height: 1.85; }

/* ── 結尾 CTA ─────────────────────────────────────────── */
.cta {
    background: linear-gradient(150deg, #0d5f5a, var(--brand-deep));
    color: #fff; text-align: center; padding: 84px 0;
}
.cta h2 { color: #fff; font-size: clamp(25px, 3.4vw, 36px); margin-bottom: 16px; }
.cta > .wrap > p { font-size: 19px; color: rgba(255, 255, 255, .82); max-width: 620px; margin: 0 auto 34px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-note { margin-top: 22px; font-size: 16px; color: rgba(255, 255, 255, .6); }

/* ── Footer ───────────────────────────────────────────── */
.footer { background: #0a1c1d; color: rgba(255, 255, 255, .6); padding: 44px 0 40px; font-size: 16px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; }
.footer .brand-name { color: #fff; }
.footer .brand-sub { color: rgba(255, 255, 255, .45); }
.footer-links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-links a:hover { color: #fff; }
.footer-copy {
    width: 100%; border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 20px; margin-top: 6px; font-size: 15px; color: rgba(255, 255, 255, .42);
}

/* ── 行動裝置 ─────────────────────────────────────────── */
.nav-toggle {
    display: none; width: 40px; height: 40px; border-radius: 9px; flex-shrink: 0;
    border: 1px solid var(--line); background: #fff; color: var(--brand); font-size: 19px; cursor: pointer;
}
.mobile-menu { display: none; border-top: 1px solid var(--line); background: #fff; padding: 14px 0 20px; }
.mobile-menu.open { display: block; }
.mobile-menu a.m-link { display: block; padding: 11px 4px; font-size: 18px; font-weight: 600; color: var(--ink); }
.mobile-menu .m-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.mobile-menu .btn { width: 100%; }

/* ── 平板／小筆電（含直向平板、手機橫置）─────────────────
   桌機導覽列一整行需要約 1080px；1024 以下一律收成漢堡選單。 */
@media (max-width: 1023px) {
    .nav-links, .nav-cta { display: none; }
    .nav-inner .nav-cta-mobile { display: inline-flex; margin-left: auto; }
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

    .hero-inner { grid-template-columns: 1fr; gap: 46px; padding-block: 62px 70px; }
    .hero-lead { max-width: none; }
    .split { grid-template-columns: 1fr; gap: 40px; }
    .section { padding: 72px 0; }

    .grid-3, .steps, .mini-grid { grid-template-columns: 1fr 1fr; }
    /* 三張一組的區塊排兩欄時最後一張會落單，讓它跨滿整列，右邊才不會開天窗。 */
    .grid-3 > :last-child, .steps > :last-child { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
    /* 在窄視窗展開選單後把視窗拉寬，選單不該留在畫面上。 */
    .mobile-menu { display: none !important; }
}

/* ── 矮視窗（筆電、瀏覽器放大）───────────────────────────
   手機示意圖比左欄文字高約 90px，align-items: center 會在標題上方再多墊一半。
   高度不夠時改成上緣對齊：文字跟示意圖同一條起跑線，空白讓到下面去。 */
@media (min-width: 1024px) and (max-height: 820px) {
    .hero-inner { align-items: start; }
}

/* ── 手機 ─────────────────────────────────────────────── */
@media (max-width: 780px) {
    .section { padding: 62px 0; }
    .grid-3, .steps, .mini-grid { grid-template-columns: 1fr; }
    .grid-3 > :last-child, .steps > :last-child { grid-column: auto; }
    .hero-actions .btn { flex: 1 1 100%; }
    .cta-actions .btn { width: 100%; }
    .footer-links { margin-left: 0; width: 100%; }
}

/* ── 小尺寸手機（iPhone SE 等）───────────────────────── */
@media (max-width: 430px) {
    /* 左右留白已由 .wrap 的 clamp 處理 */
    /* 讓出寬度給列上的註冊按鈕 */
    .brand-sub { display: none; }
    .brand-name { font-size: 21px; }
    .nav-inner { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
    .btn:hover, .card:hover { transform: none; }
}

/* ── 段落結尾的 CTA（首頁門市 POS 段 → 藥掌櫃 Lite 介紹頁） ─────── */
.section-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-top: 34px; }
.section-cta span { font-size: 16px; color: var(--muted); }

/* ── 藥掌櫃 Lite 介紹頁（Pages/PosLite.cshtml）：同一套版型，主色換成 POS 的深藍 ── */
.pos-lite {
    --brand: #1e3a5f;
    --brand-hover: #16304f;
    --brand-deep: #10243d;
    --brand-soft: #e8eef7;
    --brand-mid: #3568a8;
}
.pos-lite .hero {
    background:
        radial-gradient(900px 460px at 12% -10%, rgba(53, 104, 168, .55), transparent 62%),
        radial-gradient(760px 520px at 92% 8%, rgba(242, 92, 84, .22), transparent 60%),
        linear-gradient(160deg, #24487a 0%, var(--brand-deep) 100%);
}
.pos-lite .hero-eyebrow { color: #e8f0ff; }
.pos-lite .hero h1 .hl { color: #ffb4ae; }
.pos-lite .cta { background: linear-gradient(150deg, #24487a, var(--brand-deep)); }
.pos-lite .footer { background: #0b1626; }
.pos-lite .btn-primary { box-shadow: 0 2px 6px rgba(30, 58, 95, .25); }
.pos-lite .btn-primary:hover { box-shadow: 0 6px 18px rgba(30, 58, 95, .3); }
.pos-lite .btn-ghost { border-color: #c9d6e8; }
.pos-lite .phone { background: linear-gradient(150deg, #24487a, #10243d); }
.pos-lite .ps-ico { background: var(--brand-soft); color: var(--brand); }

/* 收銀畫面示意（沿用手機框） */
.pos-mock-line { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; padding: 6px 0; border-bottom: 1px dashed var(--line); color: var(--ink); }
.pos-mock-line small { color: var(--muted); display: block; font-size: 11px; }
.pos-mock-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; font-weight: 800; color: var(--ink); font-size: 15px; }
.pos-mock-total b { font-size: 22px; color: var(--brand); }
.pos-mock-pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.pos-mock-pay span { text-align: center; font-size: 12px; font-weight: 700; padding: 8px 0; border-radius: 8px; background: var(--brand-soft); color: var(--brand); }
.pos-mock-pay span.on { background: var(--brand); color: #fff; }

/* 兩種用法：兩張並排的卡 */
.modes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.mode { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); }
.mode.featured { border-color: var(--brand-mid); box-shadow: 0 0 0 3px var(--brand-soft), var(--shadow-md); }
.mode-tag { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .06em; color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }
.mode h3 { font-size: 24px; color: var(--ink); margin: 0 0 10px; }
.mode > p { margin: 0 0 16px; }
.mode ul { margin: 0; padding-left: 0; list-style: none; }
.mode li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.mode li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 2px; color: var(--brand-mid); font-size: 14px; }
@media (max-width: 860px) { .modes { grid-template-columns: 1fr; } }
