/* ===== 色票：對齊 App 預設主題「晨霧」（FitLogTheme mist） ===== */
    :root {
      --grad-top: #EFDFC6;
      --grad-mid: #E2DBD0;
      --grad-bottom: #CAD2DA;
      --glow-warm: #E4BE8C;
      --glow-cool: #9CB4C8;
      --ink: #1E1B16;
      --mute: #6E6962;
      --faint: #9B9891;
      --line: rgba(30, 27, 22, .13);
      --hair: rgba(30, 27, 22, .07);
      --brand: #8C7350;
      --brand-deep: #6F5A3E;
      --accent: #C26A3D;
      --good: #5E7A5C;
      --glass: rgba(255, 255, 255, .52);
      --glass-strong: rgba(255, 255, 255, .72);
      --glass-edge: rgba(255, 255, 255, .65);
      --on-brand: #FCFBF7;
      --shadow: 0 18px 44px rgba(62, 51, 36, .13);
      --shadow-soft: 0 8px 24px rgba(62, 51, 36, .09);
    }
    @media (prefers-color-scheme: dark) {
      :root {
        --grad-top: #201C15;
        --grad-mid: #1A1917;
        --grad-bottom: #15171B;
        --glow-warm: #C9A06B;
        --glow-cool: #5E7178;
        --ink: #F1EDE4;
        --mute: #A7A39D;
        --faint: #73716F;
        --line: rgba(241, 237, 228, .14);
        --hair: rgba(241, 237, 228, .07);
        --brand: #B89A72;
        --brand-deep: #CBB08A;
        --accent: #D8855A;
        --good: #85A083;
        --glass: rgba(255, 255, 255, .055);
        --glass-strong: rgba(255, 255, 255, .09);
        --glass-edge: rgba(255, 255, 255, .12);
        --on-brand: #17140F;
        --shadow: 0 18px 44px rgba(0, 0, 0, .42);
        --shadow-soft: 0 8px 24px rgba(0, 0, 0, .3);
      }
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--ink);
      background: var(--grad-mid);
      font-family: -apple-system, BlinkMacSystemFont, "SF Pro TC", "SF Pro Text", "PingFang TC", "Noto Sans TC", "Segoe UI", Roboto, sans-serif;
      line-height: 1.75;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }
    /* 漸層放固定疊層（iOS Safari 不支援 background-attachment: fixed） */
    body::before {
      content: "";
      position: fixed; inset: 0; z-index: -2; pointer-events: none;
      background: linear-gradient(178deg, var(--grad-top) 0%, var(--grad-mid) 46%, var(--grad-bottom) 100%);
    }

    /* 兩道角落柔光（同 App FitLogBackground 的暖右上／冷左下） */
    .glow { position: fixed; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: -1; opacity: .38; }
    .glow-warm { width: 46vmax; height: 46vmax; top: -16vmax; right: -14vmax; background: var(--glow-warm); }
    .glow-cool { width: 42vmax; height: 42vmax; bottom: -18vmax; left: -16vmax; background: var(--glow-cool); }
    @media (prefers-color-scheme: dark) { .glow { opacity: .2; } }

    .wrap { max-width: 78rem; margin: 0 auto; padding: 0 1.25rem; }

    a { color: var(--brand-deep); }
    :focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

    /* ===== 導覽列：玻璃膠囊（呼應 App 底部 tab bar） ===== */
    .nav-shell { position: sticky; top: 0; z-index: 10; }
    nav {
      display: flex; align-items: center; justify-content: space-between; gap: 1rem;
      max-width: 78rem; margin: 0 auto;
      padding: .55rem .65rem .55rem 1.1rem;
      border-radius: 999px;
      background: var(--glass-strong);
      -webkit-backdrop-filter: blur(18px) saturate(1.4);
      backdrop-filter: blur(18px) saturate(1.4);
      border: 1px solid var(--glass-edge);
      box-shadow: var(--shadow-soft);
    }
    .nav-brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; letter-spacing: .02em; text-decoration: none; color: var(--ink); }
    .nav-brand .mark {
      width: 1.7rem; height: 1.7rem; border-radius: 8px; flex: none;
      display: block; overflow: hidden;
    }
    .nav-brand .mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
    .nav-links { display: flex; gap: 1.4rem; font-size: .92rem; }
    .nav-links a { color: var(--mute); text-decoration: none; }
    .nav-links a:hover { color: var(--ink); }
    .nav-cta {
      font-size: .85rem; font-weight: 600; white-space: nowrap;
      color: var(--on-brand); background: var(--brand);
      padding: .45rem 1rem; border-radius: 999px; text-decoration: none;
    }
    .language-switch {
      font-size: .82rem; font-weight: 600; white-space: nowrap;
      color: var(--brand-deep); border: 1px solid var(--line);
      padding: .4rem .75rem; border-radius: 999px; text-decoration: none;
    }
    .nav-actions { display: flex; align-items: center; gap: .55rem; }
    @media (max-width: 760px) { .nav-links { display: none; } }
    @media (max-width: 480px) { .nav-cta { display: none; } }

    /* ===== Hero ===== */
    .hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; padding: 4.5rem 0 3.5rem; }
    .eyebrow {
      font-size: .8rem; font-weight: 600; letter-spacing: .18em;
      color: var(--brand-deep); margin-bottom: 1.1rem;
    }
    h1 {
      font-size: clamp(2.15rem, 5.2vw, 3.35rem);
      line-height: 1.22; letter-spacing: -.015em;
      margin: 0 0 1.15rem; font-weight: 700; text-wrap: balance;
    }
    h1 .kcal { color: var(--accent); }
    .lede { font-size: 1.08rem; color: var(--mute); max-width: 30rem; margin: 0 0 1.9rem; }
    .cta-row { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
    .cta-secondary { font-size: .95rem; color: var(--mute); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: .1rem; }
    .cta-secondary:hover { color: var(--ink); }
    .app-store-badge {
      display: inline-flex; align-items: center;
      line-height: 0; border-radius: 8px;
    }
    .app-store-badge img { display: block; width: auto; height: 48px; }
    .hero-notes { display: flex; gap: .55rem; flex-wrap: wrap; margin-top: 1.7rem; }
    .hero-notes span {
      font-size: .8rem; color: var(--mute);
      background: var(--glass); border: 1px solid var(--glass-edge);
      -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
      padding: .3rem .8rem; border-radius: 999px;
    }

    /* 手機外框：深色邊框 + 動態島 */
    .hero-visual { position: relative; display: flex; justify-content: center; }
    .device {
      width: min(19rem, 78vw);
      position: relative;
      border-radius: 3rem;
      padding: .5rem;
      background: linear-gradient(150deg, #46413a, #171512 42%, #26221e 82%, #3a352f);
      border: 1px solid rgba(255, 255, 255, .16);
      box-shadow: var(--shadow), inset 0 0 0 3px rgba(0, 0, 0, .6);
    }
    .device::after {
      content: ""; position: absolute; left: 50%; transform: translateX(-50%);
      top: 1rem; width: 25%; aspect-ratio: 3.7 / 1;
      background: #0c0b0a; border-radius: 999px; z-index: 2;
    }
    .device img { display: block; width: 100%; height: auto; border-radius: 2.5rem; }
    /* 側邊實體按鍵：右側電源、左側靜音鈕＋音量＋／－ */
    .pbtn { position: absolute; width: 3px; border-radius: 3px; background: #2b2721; box-shadow: -1px 0 1px rgba(0,0,0,.4); }
    .pbtn-pwr { right: -2px; top: 30%; height: 10%; }
    .pbtn-vol { left: -2px; top: 24%; height: 4%; box-shadow: 0 1.9rem 0 #2b2721, 0 3.4rem 0 #2b2721; }


    @media (max-width: 900px) {
      .hero { grid-template-columns: 1fr; gap: 3.2rem; padding-top: 3.2rem; text-align: center; }
      .lede { margin-inline: auto; }
      .cta-row, .hero-notes { justify-content: center; }
    }

    /* ===== 區塊通用 ===== */
    section { padding: 4.2rem 0 1rem; }
    .sec-head { max-width: 36rem; margin-bottom: 2.4rem; }
    .sec-head.center { margin-inline: auto; text-align: center; }
    h2 { font-size: clamp(1.55rem, 3.4vw, 2.15rem); line-height: 1.3; letter-spacing: -.01em; margin: 0 0 .7rem; text-wrap: balance; }
    .sec-head p { color: var(--mute); margin: 0; }

    .cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
    @media (max-width: 1000px) { .cards { grid-template-columns: 1fr 1fr; } }
    @media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }
    .card {
      background: var(--glass); border: 1px solid var(--glass-edge);
      -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
      border-radius: 20px; padding: 1.4rem 1.25rem;
    }
    .card-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .6rem; }
    .card .icon {
      flex: none; width: 2.4rem; height: 2.4rem; border-radius: 11px;
      display: grid; place-items: center;
      background: color-mix(in srgb, var(--brand) 16%, transparent);
      color: var(--brand-deep);
    }
    .card .icon svg { width: 1.25rem; height: 1.25rem; }
    .card h3 { font-size: 1.05rem; margin: 0; line-height: 1.3; }
    .card p { font-size: .92rem; color: var(--mute); margin: 0; }
    /* 白開水成為特色區第 5 張卡：特色網格改 3+2 置中，桌面無落單卡 */
    .cards--features { grid-template-columns: repeat(6, 1fr); }
    .cards--features > .card { grid-column: span 2; }
    .cards--features > .card:nth-child(4) { grid-column: 2 / span 2; }
    .cards--features > .card:nth-child(5) { grid-column: 4 / span 2; }
    @media (max-width: 1000px) {
      .cards--features { grid-template-columns: 1fr 1fr; }
      .cards--features > .card,
      .cards--features > .card:nth-child(4),
      .cards--features > .card:nth-child(5) { grid-column: auto; }
      /* 平板：第 5 張（白開水）滿寬，不落單 */
      .cards--features > .card:nth-child(5) { grid-column: 1 / -1; }
    }
    @media (max-width: 620px) {
      .cards--features { grid-template-columns: 1fr; }
      .cards--features > .card:nth-child(5) { grid-column: auto; }
    }

    /* ===== 畫面展示：各組包成一頁玻璃章節，加 01–04 步驟編號串成流程 ===== */
    #screens { counter-reset: screengroup; }
    .shot-group {
      counter-increment: screengroup;
      margin-top: 1.5rem;
      padding: clamp(1.5rem, 3vw, 2.4rem) clamp(.9rem, 3vw, 1.8rem) clamp(1rem, 2vw, 1.4rem);
      background: var(--glass); border: 1px solid var(--glass-edge);
      -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
      border-radius: 28px;
    }
    .shot-group:first-of-type { margin-top: 0; }
    .group-title { font-size: 1.2rem; margin: 0 0 .3rem; text-align: center; }
    /* 步驟編號 eyebrow（01、02…）：讓四組讀起來像一條使用流程 */
    .group-title::before {
      content: counter(screengroup, decimal-leading-zero);
      display: block; margin-bottom: .3rem;
      font-size: .8rem; font-weight: 700; letter-spacing: .18em;
      color: var(--brand-deep); font-variant-numeric: tabular-nums;
    }
    .group-desc { font-size: .92rem; color: var(--mute); margin: 0; text-align: center; }
    .shots {
      display: grid; grid-auto-flow: column; grid-auto-columns: min(15rem, 68vw);
      gap: 1.2rem; overflow-x: auto; padding: 1.2rem .3rem .6rem;
      width: fit-content; max-width: 100%; margin-inline: auto;
      scroll-snap-type: x mandatory; scroll-padding-inline: .3rem; scrollbar-width: none;
    }
    .shots::-webkit-scrollbar { display: none; }
    .shot { scroll-snap-align: start; }
    .shot .device { width: 100%; animation: none; }
    .shot figcaption { font-size: .88rem; color: var(--mute); text-align: center; margin-top: .85rem; }
    .shot figcaption b { color: var(--ink); font-weight: 600; display: block; }
    figure { margin: 0; }

    /* 03／04 各只有四張：寬桌面在全站共同容器內等分，窄版仍沿用橫向 snap。 */
    @media (min-width: 1024px) {
      .shot-group--four-up .shots-shell { width: 100%; }
      .shot-group--four-up .shots {
        width: 100%; grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-auto-columns: auto;
      }
    }

    /* 相機／掃描示意（非 App 截圖，示意用） */
    .cam, .scan { position: relative; overflow: hidden; border-radius: 2.5rem; }
    .cam img { border-radius: 0; }
    .cam-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.42), rgba(0,0,0,0) 24%, rgba(0,0,0,0) 64%, rgba(0,0,0,.52)); }
    .cam-top {
      position: absolute; top: 7.5%; left: 50%; transform: translateX(-50%); white-space: nowrap;
      font-size: .74rem; font-weight: 600; color: #fff; background: rgba(0,0,0,.42);
      -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
      padding: .28rem .85rem; border-radius: 999px;
    }
    .cam-focus { position: absolute; top: 40%; left: 26%; width: 48%; aspect-ratio: 1; border: 1.5px solid rgba(255, 214, 10, .95); border-radius: 4px; }
    .cam-mode { position: absolute; bottom: 14.5%; left: 50%; transform: translateX(-50%); font-size: .7rem; font-weight: 600; letter-spacing: .14em; color: #FFD60A; }
    .cam-shutter { position: absolute; bottom: 4.6%; left: 50%; transform: translateX(-50%); width: 15%; aspect-ratio: 1; border-radius: 50%; background: #fff; }
    .cam-shutter::before { content: ""; position: absolute; inset: -.4rem; border: 3px solid rgba(255,255,255,.95); border-radius: 50%; }
    /* 掃描示意：近拍一張營養標示（像一般拍照，多了掃描框） */
    .scan { aspect-ratio: 360 / 779; background: radial-gradient(130% 90% at 50% 30%, #d9ccb6 0%, #ab9c82 100%); }
    .scan-paper {
      position: absolute; inset: 12% 8%;
      display: flex; flex-direction: column; justify-content: center; color: #1E1B16;
    }
    .scan-facts { border: 1.5px solid #1E1B16; padding: .7rem .7rem .75rem; background: linear-gradient(160deg, #FAF7F0, #F1ECE0); box-shadow: 0 20px 40px rgba(0, 0, 0, .28); overflow: hidden; }
    .scan-facts h4 { margin: 0; font-size: .74rem; text-align: center; letter-spacing: .06em; border-bottom: 3px solid #1E1B16; padding-bottom: .26rem; }
    .scan-facts h4 small { display: block; font-size: .44rem; font-weight: 400; letter-spacing: .04em; color: #5b544a; margin-top: .08rem; }
    .scan-facts .meta { display: flex; justify-content: space-between; font-size: .48rem; line-height: 1.6; border-bottom: 1.5px solid #1E1B16; padding: .16rem 0 .22rem; white-space: nowrap; }
    .scan-facts .cols { display: grid; grid-template-columns: 1fr auto auto; column-gap: .35rem; font-size: clamp(.4rem, 2.1vw, .49rem); font-variant-numeric: tabular-nums; padding-top: .22rem; }
    .scan-facts .cols span { padding: .15rem 0; border-bottom: 1px solid #E0DACC; white-space: nowrap; }
    .scan-facts .cols .n { text-align: right; }
    .scan-facts .cols .hdr { color: #5b544a; border-bottom: 1.5px solid #1E1B16; }
    .scan-facts .cols .sub { padding-left: .6rem; color: #4a4438; }
    .scan-facts .cols .b { font-weight: 600; }
    .scan-frame { position: absolute; left: 50%; transform: translateX(-50%); top: 22%; width: 80%; height: 56%; }
    .scan-frame i { position: absolute; width: 1.3rem; height: 1.3rem; border: 3px solid #C26A3D; }
    .scan-frame i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
    .scan-frame i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 8px; }
    .scan-frame i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 8px; }
    .scan-frame i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }
    .scan-hint {
      position: absolute; bottom: 6%; left: 50%; transform: translateX(-50%); white-space: nowrap;
      font-size: .72rem; color: #FCFBF7; background: rgba(30, 27, 22, .72);
      padding: .28rem .85rem; border-radius: 999px;
    }

    /* ===== 隱私帶 ===== */
    .band {
      background: var(--glass); border: 1px solid var(--glass-edge);
      -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
      border-radius: 28px; padding: 2.8rem clamp(1.4rem, 5vw, 3.2rem);
    }
    .band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: center; }
    @media (max-width: 820px) { .band-grid { grid-template-columns: 1fr; } }
    .checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .95rem; }
    .checks li { display: flex; gap: .8rem; align-items: flex-start; font-size: .95rem; color: var(--mute); }
    .checks li b { color: var(--ink); font-weight: 600; }
    .checks .tick {
      flex: none; width: 1.45rem; height: 1.45rem; margin-top: .2rem; border-radius: 50%;
      display: grid; place-items: center;
      background: color-mix(in srgb, var(--good) 18%, transparent); color: var(--good);
    }
    .checks .tick svg { width: .8rem; height: .8rem; }

    /* ===== 點數 ===== */
    .credits-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: step; }
    @media (max-width: 720px) { .credits-steps { grid-template-columns: 1fr; } }
    .step { position: relative; padding: 1.4rem 1.3rem 1.3rem; border-radius: 20px; background: var(--glass); border: 1px solid var(--glass-edge); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
    .step h3 { display: flex; align-items: baseline; gap: .6rem; font-size: 1.02rem; margin: 0 0 .45rem; }
    .step p { font-size: .9rem; color: var(--mute); margin: 0; }
    .step .n {
      font-variant-numeric: tabular-nums;
      font-size: .78rem; font-weight: 700; color: var(--brand-deep);
      letter-spacing: .1em;
    }

    /* ===== 下載前常見問題：左標題＋右單欄手風琴 ===== */
    .faq-layout {
      display: grid; grid-template-columns: minmax(0, 19rem) minmax(0, 1fr);
      gap: clamp(1.5rem, 4vw, 3rem); align-items: start;
    }
    .faq-intro { position: sticky; top: 6rem; }
    .faq-intro h2 { margin: 0 0 .7rem; }
    .faq-intro p { color: var(--mute); margin: 0; }
    @media (max-width: 820px) {
      .faq-layout { grid-template-columns: 1fr; gap: 1.4rem; }
      .faq-intro { position: static; }
    }
    .faq-list { display: grid; grid-template-columns: 1fr; gap: .8rem; }
    .faq-item {
      background: var(--glass); border: 1px solid var(--glass-edge);
      -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
      border-radius: 20px; padding: 0 clamp(1.1rem, 3vw, 1.6rem);
    }
    .faq-item summary {
      display: flex; align-items: center; justify-content: space-between; gap: 1rem;
      padding: 1.15rem 0; color: var(--ink); font-weight: 600; line-height: 1.45;
      cursor: pointer; list-style: none;
    }
    .faq-item summary::-webkit-details-marker { display: none; }
    .faq-item summary::after {
      content: "+"; flex: none; color: var(--brand-deep); font-size: 1.35rem; font-weight: 400;
      line-height: 1; transition: transform .2s ease;
    }
    .faq-item[open] summary::after { transform: rotate(45deg); }
    .faq-item[open] summary { padding-bottom: .85rem; }
    .faq-item p {
      margin: 0 0 1.25rem; padding-top: .95rem;
      border-top: 1px solid var(--hair);
      color: var(--mute); font-size: .95rem; line-height: 1.7; max-width: 40rem;
    }
    .faq-item p a { font-weight: 600; }

    /* ===== 尾聲 CTA + footer ===== */
    .finale { text-align: center; padding: 5rem 0 4rem; }
    .finale h2 { margin-bottom: 1rem; }
    .finale p { color: var(--mute); margin: 0 0 1.9rem; }
    .finale-actions { display: flex; align-items: center; justify-content: center; gap: 1.2rem; flex-wrap: wrap; }
    footer {
      border-top: 1px solid var(--hair);
      margin-top: 2rem; padding: 2.4rem 1.25rem 3rem;
      text-align: center; font-size: .88rem; color: var(--mute);
    }
    footer .links { margin-bottom: .8rem; }
    footer .links a { color: var(--brand-deep); text-decoration: none; margin: 0 .6rem; }
    footer .links a:hover { text-decoration: underline; }
    footer .trademark { max-width: 44rem; margin: .8rem auto 0; font-size: .72rem; line-height: 1.5; }


/* 中英文共用斷點與元件；英文文字可自然換行。 */
#top, section { scroll-margin-top: 6rem; }
.hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.card-head h3 { min-width: 0; overflow-wrap: anywhere; }
.scan-hint, .cam-top { width: max-content; max-width: 94%; white-space: normal; text-align: center; }
@media (max-width: 1000px) { .nav-links { display: none; } }
@media (max-width: 900px) { .hero { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 360px) { .nav-brand { gap: .35rem; font-size: .85rem; } .language-switch { padding-inline: .5rem; } }
@media (prefers-reduced-motion: reduce) { .faq-item summary::after { transition: none; } }

/* ===== 展示動態與截圖操作：合併自 landing-motion.css v1 ===== */
.hero .device { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.shots-shell {
  position: relative; width: fit-content; max-width: 100%; margin-inline: auto;
}
.shots-shell .shots {
  margin-inline: 0; scroll-behavior: smooth; cursor: grab;
  overscroll-behavior-inline: contain;
}
.shots-shell .shots.is-dragging {
  cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none;
}
.shots-shell .shot img { -webkit-user-drag: none; user-select: none; }
.shots-nav {
  position: absolute; top: 50%; z-index: 3;
  width: 2.75rem; height: 2.75rem; border: 1px solid var(--glass-edge);
  border-radius: 50%; display: none; place-items: center;
  color: var(--ink); background: var(--glass-strong);
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
  backdrop-filter: blur(16px) saturate(1.35);
  box-shadow: var(--shadow-soft);
  padding: 0;
  cursor: pointer; transform: translateY(-50%);
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
}
.shots-nav::before {
  content: "";
  width: .6rem; height: .6rem;
  border-block-start: 2px solid currentColor;
  border-inline-end: 2px solid currentColor;
}
.shots-shell.can-scroll .shots-nav { display: grid; }
.shots-nav--prev { inset-inline-start: .55rem; }
.shots-nav--prev::before { transform: translateX(.08rem) rotate(-135deg); }
.shots-nav--next { inset-inline-end: .55rem; }
.shots-nav--next::before { transform: translateX(-.08rem) rotate(45deg); }
.shots-nav:hover { background: var(--glass-edge); transform: translateY(-50%) scale(1.05); }
.shots-nav:disabled {
  opacity: 0; pointer-events: none; transform: translateY(-50%) scale(.9);
}
@media (max-width: 760px), (hover: none), (pointer: coarse) {
  .shots-shell .shots { cursor: auto; }
  .shots-shell.can-scroll .shots-nav { display: none; }
}
.scan-line {
  position: absolute; left: 12%; right: 12%; top: 25%; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, #C26A3D 28%, #C26A3D 72%, transparent);
  box-shadow: 0 0 14px rgba(194, 106, 61, .7);
  animation: scanline 2.6s ease-in-out infinite alternate;
}
@keyframes scanline { to { top: 74%; } }

/* 首屏從第一幀可讀；其餘段落僅在 JS 成功執行後才等待 reveal。 */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { transition: none; }
.hero-enter { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shots-shell .shots { scroll-behavior: auto; }
  .shots-nav { transition: none; }
  .hero .device { animation: none; }
  .scan-line { animation: none; top: 47%; }
  .hero-enter { opacity: 1; transform: none; }
  .js .reveal, .reveal { opacity: 1; transform: none; transition: none; }
  .card, .cta-primary, .app-store-badge { transition: none; }
}

.card { transition: transform .3s ease, box-shadow .3s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
@media (prefers-reduced-motion: reduce) { .card { transition: none; } .card:hover { transform: none; } }
