    /* ─── Gradient Border Card (voxr.ai technique) ─── */
    .gcard {
      position: relative;
      background: var(--surface);
      backdrop-filter: var(--blur);
      -webkit-backdrop-filter: var(--blur);
      border-radius: var(--radius);
      overflow: visible;
    }
    .gcard::before {
      content:'';
      position:absolute; inset:0;
      border-radius: inherit;
      padding: 1.5px;
      background: var(--border-grad);
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      mask:         linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      pointer-events: none;
    }
    .gcard-hi {
      background: var(--surface-hi);
      backdrop-filter: blur(32px);
      -webkit-backdrop-filter: blur(32px);
    }
    .gcard-hi::before {
      padding: 2px;
      background: var(--border-grad-strong);
    }

    .hero .btn-primary,
    .hero .btn-primary:hover { box-shadow: none; }

    /* ── ThreeUI dark-pill (dark glass) ── */
    .dg-btn {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      height: 52px;
      padding: 0 32px;
      overflow: hidden;
      border: 0;
      border-radius: 9999px;
      color: rgba(255,255,255,.75);
      background: transparent;
      font-size: 15px;
      font-weight: 600;
      line-height: 1.4;
      cursor: pointer;
      text-decoration: none !important;
      white-space: nowrap;
      transition: transform .28s ease, color .28s ease;
      -webkit-font-smoothing: antialiased;
    }
    .dg-btn::before,
    .dg-btn::after {
      position: absolute;
      inset: 0;
      border-radius: inherit;
      content: "";
      pointer-events: none;
    }
    .dg-btn::before {
      background: rgba(23,23,23,.72);
      box-shadow: inset 2px 4px 16px rgba(255,255,255,.06);
      backdrop-filter: blur(50px);
      -webkit-backdrop-filter: blur(50px);
    }
    .dg-btn::after {
      z-index: 2;
      border: 1px solid rgba(255,255,255,.25);
      opacity: .25;
      mask-image: linear-gradient(170deg,#000,transparent 50%);
      -webkit-mask-image: linear-gradient(170deg,#000,transparent 50%);
    }
    .dg-btn__label {
      position: relative;
      z-index: 4;
      overflow: hidden;
      display: inline-flex;
      align-items: center;
    }
    .dg-btn__halo {
      position: absolute;
      z-index: 3;
      top: calc(50% - 100px);
      left: calc(50% - 100px);
      width: 200px;
      height: 200px;
      pointer-events: none;
    }
    .dg-btn__halo::before,
    .dg-btn__halo::after {
      position: absolute;
      inset: 0;
      border-radius: 50%;
      content: "";
    }
    .dg-btn__halo::before {
      background: conic-gradient(from 180deg, rgba(255,255,255,.012) 180deg, rgba(255,255,255,.06) 360deg);
      filter: blur(15px);
      animation: dg-spin 3.6s linear infinite;
      transition: opacity .5s;
    }
    .dg-btn__halo::after {
      inset: 30px;
      background: rgba(255,255,255,.14);
      opacity: 0;
      filter: blur(5px);
      transform: scale(.5);
      transition: opacity .5s, transform .7s;
      mask-image: radial-gradient(50% 50%,#000,rgba(23,23,23,0));
      -webkit-mask-image: radial-gradient(50% 50%,#000,rgba(23,23,23,0));
    }
    .dg-btn:hover { color: rgba(255,255,255,.75); }
    .dg-btn:hover .dg-btn__halo::before { opacity: 0; }
    .dg-btn:hover .dg-btn__halo::after  { opacity: 1; transform: scale(1); }
    .dg-btn:active { transform: scale(.98); }
    @keyframes dg-spin {
      0%   { transform: translate(0)          rotate(0deg);   }
      25%  { transform: translateX(-30px)     rotate(90deg);  }
      50%  { transform: translate(0)          rotate(180deg); }
      75%  { transform: translateX(30px)      rotate(270deg); }
      100% { transform: translate(0)          rotate(360deg); }
    }
    @media (prefers-reduced-motion: reduce) {
      .dg-btn__halo::before { animation: none; }
      .dg-btn__halo::after, .dg-btn:hover .dg-btn__halo::after { transition: none; }
    }

    .btn-glass {
      position: relative;
      background: rgba(255,255,255,.65);
      color: var(--c9);
      font-weight:600;
      backdrop-filter: var(--blur-sm);
      -webkit-backdrop-filter: var(--blur-sm);
    }
    .btn-glass::before {
      content:'';
      position:absolute; inset:0;
      border-radius: inherit;
      padding: 1.5px;
      background: var(--border-grad);
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      mask:         linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      pointer-events: none;
    }
    .btn-glass:hover {
      background: rgba(255,255,255,.85);
      transform: translateY(-1px);
      color: var(--c9);
    }

    @keyframes cta-pulse {
      0%,100% { box-shadow:0 5px 20px rgba(48,90,93,.28); }
      50%     { box-shadow:0 10px 38px rgba(48,90,93,.45), 0 0 0 8px rgba(74,182,202,.12); }
    }
    .cta-pulse { animation:cta-pulse 2.5s ease-in-out infinite; }

    /* ─── Reveal ─── */
    .rv { opacity:0; transform:translateY(24px); transition:opacity .72s ease, transform .72s ease; }
    .rv.in { opacity:1; transform:translateY(0); }
    .rv-d1 { transition-delay:.18s; }
    .rv-d2 { transition-delay:.42s; }
    .rv-d3 { transition-delay:.66s; }

    /* ─── Section layout ─── */
    .sec-pad    { padding: 80px 24px; }

    /* ── Mask reveal text ── */
    .spotlight-outer {
      padding: 100px 24px 40px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .spotlight-sticky {
      width: 100%;
      max-width: 860px;
      text-align: center;
    }
    .spotlight-text {
      font-size: clamp(28px, 5vw, 60px);
      font-weight: 900;
      color: var(--text-head);
      line-height: 1.3;
      margin: 0;
    }
    .mr-line {
      display: block;
      overflow: hidden;
    }
    .mr-inner {
      display: inline-block;
      transform: translateY(110%);
      transition: transform 0.9s cubic-bezier(0.16,1,0.3,1);
    }
    .sec-head { text-align:center; margin-bottom:48px; }
    .sec-eyebrow { margin-bottom:14px; }
    .sec-title {
      font-size: clamp(24px,3.2vw,40px);
      font-weight:800; line-height:1.1; margin-bottom:10px;
    }
    .sec-sub { font-size: clamp(13px,1.6vw,15px); color:var(--text-muted); line-height:1.6; }

    /* ═══ HERO ═══ */
    .hero {
      padding:120px 24px 0; text-align:center;
      background: linear-gradient(160deg, #f4fafb 0%, #e2edef 100%);
      border-bottom-left-radius: 0;
      border-bottom-right-radius: 0;
      margin: 0;
      overflow: hidden;
      position: relative;
      min-height: 100vh;
      min-height: 100dvh;
      display: flex;
      flex-direction: column;
    }
    .hero > .wrap-sm { width: 100%; }
    .hero-headline {
      font-size: 32px;
      font-weight:900; line-height:1.12; color:var(--text-head);
      margin:18px 0 28px;
      width: 800px;
      max-width: 100%;
      display:flex; align-items:stretch; justify-content:center;
      margin-left:auto; margin-right:auto;
    }
    .hero-headline h1 { width:100%; height:auto; position:relative; }

    /* ─── Scramble Counter (twelvelabs style) ─── */
    .scr-num { display:inline-flex; align-items:flex-end; }
    .scr-sep { display:inline-block; }
    .scr-d {
      display:inline-block;
      color: var(--c4);          /* scrambling = light teal (decorative transition) */
      transition: color 0.25s ease;
      font-variant-numeric: tabular-nums;
      font-feature-settings: "tnum";
    }
    .scr-d.settled {
      color: var(--text-head);   /* #162527 — 13.4:1 on white, AAA ✓ */
      transition: color 200ms ease;
    }
    .hero-sub {
      font-size: clamp(15px,2vw,18px);
      color:var(--text-muted); line-height:1.75;
      max-width:420px; margin:0 auto 40px;
    }
    .hero-actions { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
    .hero-note {
      margin-top:28px; font-size:15px;
      color:var(--text-muted); letter-spacing:.05em;
    }
    .hero-note span { margin:0 7px; }

    /* ─── Headline Carousel — per-token animated ─── */
    .hc {
      display:flex; flex-direction:column; align-items:stretch; justify-content:center;
      width:100%; height:auto; position:relative;
    }

    /* ─── Headline Avatars ─── */
    .hc-avatars {
      position:absolute;
      top:0; left:calc(50% + 0.5em);
      height:1em;
      display:flex; align-items:center;
      transform:translateY(-230%);
      pointer-events:none;
    }
    .hc-avatars .av {
      display: inline-flex;
      flex-shrink: 0;
      margin-left: -0.22em;
    }
    .hc-avatars .av:first-child { margin-left: 0; }
    .hc-avatars img {
      width:1em; height:1em;
      border-radius:50%;
      object-fit:cover;
      box-shadow: 0 0 0 2px #f2f8f9, 0 2px 8px rgba(48,90,93,0.18);
      background:var(--c1);
    }

    /* Row 1 — 讓客戶 absolutely centered; 別 & 來找你 pinned adjacent to it */
    .hc-row1 {
      position:relative;
      overflow:clip;
      overflow-clip-margin: 0.15em;
      height:1em;
      width:7em;        /* 別(1em) + 讓客戶(3em) + 來找你(3em) = 7em */
      margin:0 auto;
      align-self:center;
    }
    /* 三個字按實際位置排列，container 置中後整體對齊頁面中心 */
    #hcBie {
      position:absolute; left:0; top:0;
      transform:translateY(-120%);
      white-space:nowrap;
      color: var(--hc-ca);
    }
    #hcFix {
      position:absolute; left:1em; top:0;
      transform:translateY(-120%);
      white-space:nowrap;
      color: var(--hc-ca);
    }
    #hcLai {
      position:absolute; left:4em; top:0;
      transform:translateY(-120%);
      white-space:nowrap;
      color: var(--hc-ca);
    }

    /* Logo 佔 別 的同一 slot，State B 時與「來找你」同步進場 */
    #hcLogo {
      position:absolute; left:0; top:0;
      height:1em; width:auto;
      transform: translateY(-120%);   /* 初始藏在上方，同 hcLai */
      object-fit:contain;
      border-radius:6px;
    }

    /* Color wipe overlay — clip-path reveals/hides colorB on top of colorA */
    .hcFix-b {
      position:absolute; left:0; top:0;
      color: var(--hc-ca);
      white-space:nowrap;
      pointer-events:none;
      clip-path: inset(0 0 100% 0);   /* initially hidden */
    }
    .hcFix-b.wipe-down {
      animation: hcWipeDown .55s cubic-bezier(0.22,1,0.36,1) forwards;
    }
    .hcFix-b.wipe-up {
      animation: hcWipeUp .55s cubic-bezier(0.22,1,0.36,1) forwards;
    }
    @keyframes hcWipeDown {
      from { clip-path: inset(0 0 100% 0); }   /* top-to-bottom reveal */
      to   { clip-path: inset(0 0 0 0); }
    }
    @keyframes hcWipeUp {
      from { clip-path: inset(0 0 0 0); }       /* bottom-to-top wipe away */
      to   { clip-path: inset(0 0 100% 0); }
    }

    /* Row 2 — clips both vertical (hcZhi) and horizontal (hcBu) */
    .hc-row2 {
      position:relative; overflow:clip; overflow-clip-margin:0.15em;
      height:1em; margin-top:20px;
      width:100%; text-align:center;
    }
    .hc-row2 > span {
      position:absolute; left:50%; top:0;
      transform:translateX(-50%) translateY(-120%);
      white-space:nowrap; width:max-content;
    }
    /* override per-element initial transforms */
    #hcZhi { transform:translateX(-50%) translateY(-120%); }
    #hcBu  { transform:translateX(-50%) translateY(-120%); }

    .hc-acc {
      font-style:normal; color:var(--c9);
    }

    @media(prefers-reduced-motion:reduce){
      #hcBie,#hcFix,#hcLai,#hcZhi,#hcBu { transition:none !important; }
    }

    /* Wave character wrapper — purely inline, no layout impact */
    .gc { display:inline; transition: color 200ms ease; }

    /* ═══ STATS ═══ */
    .stats-sec {
      overflow-x: clip;      /* hide cards shifting off-screen */
      background: #fff;
      padding-top: 140px;    /* sec-pad 80px + 60px */
      padding-bottom: 140px;
    }

    /* 大標題 — jeton 風格 */
    .stats-display-title {
      font-size: clamp(32px, 5.5vw, 64px);
      font-weight: 700;
      line-height: 1.1;
      color: #4AB6CA;
      text-align: center;
      display: inline-block;
      width: 100%;
      transform-origin: center center;
      will-change: transform;
      margin-bottom: 10px;
    }
    .stats-title-break { display: none; }
    @media(max-width:640px){ .stats-title-break { display: initial; } }

    .stats-display-sub {
      font-size: clamp(18px, 2.2vw, 22px);
      color: #1F1F1F;
      text-align: center;
      margin-bottom: 52px;
      opacity: 0;
      transform: translateY(18px);
      transition: opacity 0.5s ease, transform 0.5s ease;
    }
    .stats-display-sub.sub-visible {
      opacity: 1;
      transform: translateY(0);
    }
    /* 手機版：副標跟主標題一起出現（桌機維持捲到第一張卡片前才淡入）。
       父層 .rv 淡入時它就已經是顯示狀態，跟著一起進來 */
    @media(max-width:640px){
      .stats-display-sub { opacity: 1; transform: none; transition: none; }
    }

    .stats-grid {
      display: grid; grid-template-columns: repeat(3, 1fr); width: fit-content; gap: 20px;
      transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    @media(max-width:580px){
      /* 桌機靠 JS(updateGridShift）算 translateX 置中，手機不跑那段邏輯，
         width:fit-content 預設會貼左，改用 margin:auto 直接置中 */
      .stats-grid{ gap:12px; grid-template-columns:1fr; transition:none; margin:0 auto; }
    }

    .stat-card {
      padding: 36px 28px; text-align: center;
      display: flex; flex-direction: column; align-items: center; justify-content: flex-start;

      transition: transform .3s ease, box-shadow .3s ease;
      box-shadow: var(--shadow-sm);
      overflow: hidden;      /* clip pixel canvas */
      isolation: isolate;    /* own stacking context */
    }
    .stat-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-md); }

    /* keep gradient border on top of pixel canvas */
    .stat-card.gcard::before { z-index: 3; }

    /* pixel canvas layer */
    .stat-pixel-canvas {
      position: absolute; inset: 0;
      width: 100%; height: 100%;
      display: block; pointer-events: none;
      z-index: 0;
    }
    /* lift card content above canvas */
    .stat-card .stat-num,
    .stat-card .stat-label,
    .stat-card .stat-desc,
    .stat-card .feat-tag {
      position: relative; z-index: 1;
    }

    /* ── Stat cards: hidden until sc-entered ── */
    .fly-l, .fly-b, .fly-r {
      opacity: 0;
      transform: scale(0.94);
      will-change: transform, opacity;
    }
    .stat-foot-anim { opacity: 0; will-change: opacity; }

    .stat-num {
      font-family:'Varela Round',sans-serif;
      font-size: clamp(40px,5vw,64px);
      font-weight:800; line-height:1; margin-top: auto; margin-bottom: 12px;
      color: var(--text-head);
    }
    .stat-unit { font-size:.52em; font-weight:600; color: var(--text-head); }
    .stat-label { font-weight:700; font-size: 24px; color:#1F1F1F; margin-bottom: 0; line-height: 1.4; }
    .stat-desc  {
      font-size: 20px; color:#1F1F1F; line-height: 1.4; font-weight: 500; margin-bottom: 16px;
      min-height: calc(20px * 1.4 * 2);
      display: flex; align-items: center; justify-content: center; text-align: center;
    }

    .feat-tag {
      display:inline-block;
      background: linear-gradient(135deg, #305A5D, #1a3a3c);
      color:#fff; font-size:13px; font-weight:800; letter-spacing:.06em;
      padding:3px 12px; border-radius:999px; margin-bottom:12px;
    }
    .stat-card.featured::before {
      background: var(--border-grad-strong);
      padding: 2px;
    }

    .stat-foot {
      text-align:center; font-size:18px;
      color:#1F1F1F; margin-top:18px; opacity:.75;
    }
    @media(max-width:580px){
      .stat-card { padding:18px 14px; }
      .stat-num  { font-size: 32px; margin-bottom: 8px; }
      .stat-label { font-size: 18px; }
      .stat-desc {
        font-size: 15px; margin-bottom: 12px;
        min-height: calc(15px * 1.4 * 2);
      }
      .feat-tag { font-size: 11px; padding: 2px 10px; margin-bottom: 8px; }
      .stat-foot { font-size: 15px; }
    }

    /* ═══ APP SHOWCASE (grow from bottom + sec2 push + carousel) ═══ */
    .showcase-section-wrapper {
      position: relative;
      background: #fff;
    }
    /* stats-sec sticks while showcase is scrolling */
    .showcase-section-wrapper .stats-sec {
      position: sticky;
      top: 0;
      z-index: 10;
    }
    .showcase-outer {
      /* height set by JS */
      background: #fff;
    }
    /* position:fixed image layer — grows from inline anchor to full-screen */
    .showcase-fixed {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 11;
      opacity: 0;
    }
    .showcase-img-wrap {
      position: absolute;
      border-radius: 999px;
      overflow: hidden;
      will-change: width, height, left, top, border-radius;
    }
    /* Inline placeholder that creates a gap inside the title text */
    .showcase-caption {
      position: absolute;
      top: 6%;
      left: 6%;
      z-index: 3;
      color: #fff;
      font-family: 'Noto Sans TC', sans-serif;
      font-size: clamp(18px, 2.4vw, 32px);
      font-weight: 700;
      line-height: 1.45;
      text-shadow: 0 0 12px rgba(0,0,0,0.58);
      opacity: 0;
      pointer-events: none;
    }
    @media(max-width:768px){
      .showcase-caption { font-size: 22px; }
    }

    .showcase-anchor {
      display: inline-block;
      vertical-align: -0.15em;
      width: 2em;
      height: 1em;
      border-radius: 9999px;
      margin: 0 4px;
      overflow: hidden;
    }
    .showcase-anchor img {
      width: 100%; height: 100%;
      object-fit: cover;
      object-position: center 65%;
      display: block;
    }
    /* zoom the span itself — driven directly by scroll JS */
    .showcase-anchor {
      transform-origin: center center;
    }

    /* Stat card bounce — approximate GSAP elastic.out(0.6, 0.3) */
    @keyframes sc-bounce {
      0%   { transform: scale(0.94); }
      48%  { transform: scale(1.04); }
      68%  { transform: scale(0.99); }
      84%  { transform: scale(1.01); }
      100% { transform: scale(1.00); }
    }
    .fly-l.sc-entered,
    .fly-b.sc-entered,
    .fly-r.sc-entered {
      opacity: 1;
      animation: sc-bounce 0.55s ease forwards;
    }
    .showcase-img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 65%;
      opacity: 0;
      transition: none;
      pointer-events: none;
      user-select: none;
    }
    .showcase-img.active { opacity: 1; }

    /* ═══ DEEPER CARDS — horizontal row ═══ */
    .deeper-sec {
      background: #fff;
      padding: 160px 0 0;
    }
    .deeper-sec-head {
      text-align: center;
      padding: 0 20px 28px;
    }
    .deeper-sec-head .sec-title { color: #1F1F1F; }
    .deeper-sec-head .sec-sub   { color: #555; }

    .deeper-hscroll-outer {
      position: relative;
      /* height set by JS based on card count + card width */
    }

    .deeper-hscroll-sticky {
      position: sticky;
      top: 60px;
      height: calc(100vh - 60px);
      overflow: hidden;
      display: flex;
      align-items: center;
    }

    .deeper-cards-row {
      display: flex;
      gap: 20px;
      flex-shrink: 0;
      will-change: transform;
    }

    .deeper-card-item {
      flex: 0 0 clamp(360px, 40.5vw, 540px);
    }

    .deeper-card-media {
      position: relative;
      border-radius: 20px;
      height: clamp(360px, 44vw, 580px);
      background: radial-gradient(ellipse at 60% 110%, #5BAFC3 0%, #93CCDA 28%, #E8F4F7 62%, #F5FAFB 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }
    .deeper-card-item:nth-child(2) .deeper-card-media {
      background: radial-gradient(ellipse at 60% -10%, #4FA3B8 0%, #88C6D6 28%, #E2F1F6 62%, #F2F8FA 100%);
    }
    .deeper-card-item:nth-child(3) .deeper-card-media {
      background: radial-gradient(ellipse at 60% 110%, #3F929E 0%, #7DC4D2 28%, #DFF0F4 62%, #F2F8FA 100%);
    }

    .deeper-card-media video {
      position: relative;
      z-index: 1;
      height: 84%;
      width: auto;
      max-width: 78%;
      display: block;
      border-radius: 36px;
    }


    .deeper-card-caption {
      padding: 20px 4px 0;
    }

    .deeper-title {
      font-size: clamp(14px, 1.3vw, 17px);
      font-weight: 700;
      color: #305A5D;
      line-height: 1.6;
      margin-bottom: 6px;
      letter-spacing: .02em;
    }
    .deeper-sub {
      font-size: clamp(18px, 2vw, 28px);
      font-weight: 700;
      color: #1F1F1F;
      line-height: 1.3;
    }

    @media(max-width: 768px) {
      /* 手機改成直排，不用桌機那套「捲動綁定水平位移」的 sticky 效果 */
      .deeper-hscroll-sticky {
        position: static;
        top: auto;
        height: auto;
        overflow: visible;
        display: block; /* 桌機用 display:flex 讓單一子元素橫向置中，手機忘了改掉：
          .deeper-cards-row 變成一個沒有明確寬度的 flex item，各瀏覽器對它要不要撐滿寬度算法不一致，
          可能就是 Safari 上卡片/文字量出來卻超出畫面的原因 */
      }
      .deeper-cards-row {
        flex-direction: column;
        gap: 32px;
        padding: 0 20px;
      }
      .deeper-card-item {
        flex: 0 0 auto;
        width: 100%;
        min-width: 0; /* flex item 預設 min-width:auto，影片的原始尺寸會撐開卡片超出螢幕寬度 */
      }
      .deeper-card-media video {
        max-width: 100%;
        border-radius: 24px; /* 手機影片變窄（~150px），桌機的 36px 太大會像藥丸，但 16px 太小看不出手機外型的圓角感 */
      }
    }

    /* ═══ PRICING ═══ */
    #pricing .wrap { max-width: 1240px; }

    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(4, 286px);
      gap: 16px;
      width: fit-content;
      margin: 0 auto;
      align-items: stretch; /* all cards same height as tallest */
    }
    @media(max-width:900px){
      .pricing-grid { grid-template-columns: repeat(2, 286px); }
    }
    @media(max-width:620px){
      .pricing-grid { grid-template-columns: minmax(0, 340px); width: 100%; justify-content: center; }
      .pricing-grid .p-card { width: 100%; }
      #pricing .wrap { padding-left: 8px; padding-right: 8px; }
    }

    .p-card {
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      padding: 28px 28px 24px;
      gap: 18px;
      width: 286px;
      position: relative;
      background: #FFFFFF;
      border: 1px solid #D7E5E4;
      box-shadow: 0px 8px 22px rgba(21, 59, 53, 0.0784314);
      border-radius: 18px;
      overflow: hidden;
      transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
      --mx: 50%; --my: 100%;
    }
    .p-card::after {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: inherit;
      background: radial-gradient(ellipse 55% 35% at var(--mx) var(--my), rgba(29,170,191,0.04) 0%, transparent 70%);
      opacity: 0;
      transition: opacity .35s ease;
      pointer-events: none;
      z-index: 0;
    }
    .p-card:hover::after { opacity: 1; }
    .p-card.p-pop::after { background: radial-gradient(ellipse 55% 35% at var(--mx) var(--my), rgba(29,170,191,0.07) 0%, transparent 70%); }
    .p-card:hover {
      transform: translateY(-4px);
      box-shadow: 0px 16px 36px rgba(21, 59, 53, 0.14);
      border-color: #A8CDD0;
    }

    .p-card.p-pop {
      background: #FFFFFF;
      border-color: #BCDCD9;
      box-shadow: 0px 8px 22px rgba(21, 59, 53, 0.078);
    }
    .p-card.p-pop:hover {
      border-color: #1DAABF;
      box-shadow: 0px 16px 36px rgba(29, 170, 191, 0.18);
    }

    /* Plan header group */
    .p-plan-header {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 7px;
      align-self: stretch;
      flex: none;
      flex-grow: 0;
    }

    .p-plan-name {
      font-size: 27px;
      font-weight: 500;
      color: #142E2D;
      line-height: 33px;
      align-self: stretch;
    }

    .p-billing-note {
      font-size: 13px;
      font-weight: 400;
      color: #45615F;
      line-height: 135%;
      align-self: stretch;
    }

    /* Price section */
    .p-price-sec {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      padding: 0;
      gap: 5px;
      align-self: stretch;
    }

    .p-body { flex: 1; display: flex; flex-direction: column; width: 100%; gap: 18px; }

    .p-row {
      padding: 14px 0;
      border-top: none;
    }
    .p-row:first-child { padding-top: 0; }
    /* Static price row (免費/企業) */
    .p-row.p-row-static { padding-top: 0; padding-bottom: 0; }
    .p-row-head {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      padding-top: 12px;
    }
    .p-row-name { font-size: 18px; font-weight: 400; color: #294A47; }
    .p-row-price { font-size: 18px; font-weight: 700; color: #173A38; white-space: nowrap; }
    .p-row-price em { font-style: normal; font-size: 13px; font-weight: 400; color: #55706D; }
    .p-row-note { font-size: 14px; color: #55706D; line-height: 140%; }

    /* ── Radio-selectable p-row ── */
    .p-row.p-row-radio { display: flex; flex-direction: column; gap: 5px;
      cursor: pointer; border-radius: 10px; transition: background .15s; user-select: none;
      margin-left: -20px; margin-right: -20px;
      padding: 12px 20px; }
    .p-row.p-row-radio:hover { background: rgba(48,90,93,.05); }
    .p-row.p-row-radio.selected { background: rgba(29,170,191,.08); }
    .p-row-radio-wrap { display: flex; align-items: center; gap: 10px; }
    .p-radio-dot {
      flex-shrink: 0;
      width: 16px; height: 16px; border-radius: 50%;
      border: 2px solid #c8d8da; background: #fff;
      transition: border-color .15s, background .15s;
      display: flex; align-items: center; justify-content: center;
    }
    .p-row-radio.selected .p-radio-dot {
      border-color: var(--c6); background: var(--c6);
    }
    .p-radio-dot::after {
      content: ''; width: 5px; height: 5px; border-radius: 50%;
      background: #fff; opacity: 0; transition: opacity .15s;
    }
    .p-row-radio.selected .p-radio-dot::after { opacity: 1; }
    .p-row-radio-content { flex: 1; min-width: 0; display: flex; align-items: center; }
    .p-row-radio-content .p-row-head { padding-top: 0; width: 100%; }

    .p-tier { font-size:13px; font-weight:800; letter-spacing:.11em; margin-bottom:6px; color:var(--text-muted); }
    .p-price { font-family:'Noto Sans TC',sans-serif; font-size:40px; font-weight:900; color:var(--text-head); margin-bottom:2px; }
    .p-price span { font-size:14px; font-weight:400; color:var(--text-muted); }
    .p-tagline { font-size:13px; color:var(--text-muted); margin-bottom:4px; }
    .p-micro   { font-size:13px; color:var(--text-muted); font-weight:600; margin-bottom:18px; }

    .p-features {
      list-style: none; width: 100%;
      display: flex; flex-direction: column; gap: 8px;
      align-self: stretch;
    }
    .p-features li {
      display: flex; flex-direction: row; gap: 9px; align-items: flex-start;
      font-size: 13px; color: #27413F; line-height: 145%;
      padding: 0; position: static;
    }
    .p-features li::before {
      content: '';
      flex-shrink: 0;
      display: block;
      width: 19px; height: 13px;
      margin-top: 1px;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 13' fill='none'%3E%3Cpolyline points='1.5,6.5 4.5,10.5 11.5,2.5' stroke='%232E6370' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
    }
    .p-features li.plus::before {
      content: '';
      width: 19px; height: 19px; flex-shrink: 0;
      display: block;
      background-color: rgba(29,170,191,0.15);
      border-radius: 50%;
      margin-top: -2px;
      background-repeat: no-repeat;
      background-position: center center;
      background-size: 84% 84%;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M8,8 C9,5.5 13,5.5 13,8 C13,10.5 9,10.5 8,8 C7,5.5 3,5.5 3,8 C3,10.5 7,10.5 8,8' stroke='%231DAABF' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    }
    .p-features li.plus-add::before {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cline x1='8' y1='2.5' x2='8' y2='13.5' stroke='%231DAABF' stroke-width='1.5' stroke-linecap='round'/%3E%3Cline x1='2.5' y1='8' x2='13.5' y2='8' stroke='%231DAABF' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
      background-size: 65% 65%;
    }
    .p-features li.plus-custom::before {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='4.2' r='2.3' stroke='%231DAABF' stroke-width='1.5'/%3E%3Cpath d='M2.5 12c0-3.04 2.46-5.5 5.5-5.5s5.5 2.46 5.5 5.5' stroke='%231DAABF' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
      background-size: 62% 62%;
    }


    .p-cta {
      display: flex; align-items: center; justify-content: center;
      height: 43px; padding: 0; width: 100%;
      border-radius: 22px; font-weight: 700; font-size: 13px;
      text-decoration: none; transition: transform .45s cubic-bezier(0.34,1.56,0.64,1), box-shadow .45s cubic-bezier(0.34,1.56,0.64,1), opacity .22s ease;
      background: #1DAABF; color: #FFFFFF;
      margin-top: auto; overflow: hidden; position: relative;
    }
    .p-cta:hover { opacity: 0.88; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(29,170,191,0.30); }
    .p-cta.p-cta-outline {
      background: #FFFFFF;
      color: #173A38;
      border: 1px solid #C4D0CF;
    }
    .p-cta.p-cta-outline:hover { border-color: #173A38; }
    @keyframes cwReveal {
      0%   { color: #B0BCBC; }
      45%  { color: #1DAABF; }
      100% { color: #45615F; }
    }
    .cw-char { display: inline-block; color: #B0BCBC; }
    .cw-active .cw-char {
      animation: cwReveal 0.9s ease var(--cw-delay, 0s) forwards;
    }
    @keyframes ctaPulse {
      0%   { transform: scale(1); }
      35%  { transform: scale(1.05); }
      65%  { transform: scale(0.97); }
      100% { transform: scale(1); }
    }
    .p-cta.pulse { animation: ctaPulse .4s cubic-bezier(.36,.07,.19,.97); }
    .slot-clip { display:inline-block; overflow:hidden; height:1.15em; line-height:1.15em; vertical-align:baseline; font-variant-numeric:tabular-nums; }
    .slot-col  { display:flex; flex-direction:column; line-height:1.15em; will-change:transform; font-variant-numeric:tabular-nums; }

    /* ── Pricing card head equalizer ── */
    .p-head { display:flex; flex-direction:column; }

    /* ── Plan / billing tab toggles inside pricing cards ── */
    .p-tab-bar, .p-bill-bar {
      display:flex; gap:3px;
      background:rgba(48,90,93,.07); border-radius:9999px; padding:3px;
    }
    /* 年繳鈕上方的「免費送 2 個月」浮動標籤 */
    .p-bill-bar { position:relative; overflow:visible !important; margin-top:20px; }
    .p-bill.ind-bill-tab[data-bill="annual"] { position:relative; overflow:visible !important; }
    .bill-bubble { position:absolute; left:50%; bottom:calc(100% + 6px); transform:translateX(-50%); white-space:nowrap; padding:2px 8px; border-radius:999px; background:linear-gradient(135deg,#FFD966,#FFB347); color:#5C3B00; font-size:10.5px; font-weight:800; line-height:1.5; box-shadow:0 6px 14px -6px rgba(183,121,31,.7); animation:bubbleBob 2.6s ease-in-out infinite; pointer-events:none; z-index:2; }
    .bill-bubble::after { content:""; position:absolute; left:50%; bottom:-3px; width:7px; height:7px; margin-left:-3.5px; background:#FFC45A; transform:rotate(45deg); border-radius:1px; }
    @keyframes bubbleBob { 50% { transform:translateX(-50%) translateY(-3px); } }
    @media (prefers-reduced-motion:reduce) { .bill-bubble { animation:none; } }
    .p-row-note b.save { color:#1F8A9B; font-weight:700; }
    /* Spacer for cards without a bill toggle — JS sets height to match .p-bill-bar */
    .p-bill-placeholder {
      display: flex;
      align-items: center;
      font-size: 13px;
      color: #45615F;
      box-sizing: border-box;
    }
    .p-tab, .p-bill {
      flex:1; border:none; background:none; cursor:pointer;
      padding:5px 10px; border-radius:9999px; font-size:13px; font-weight:700;
      color:var(--text-muted); transition:all .2s; white-space:nowrap;
    }
    .p-tab.active, .p-bill.active {
      background:#fff; color:var(--c9);
      box-shadow:0 1px 6px rgba(48,90,93,.15);
    }

    .trust-row {
      display:flex; flex-wrap:wrap; justify-content:center;
      gap:14px 32px; margin-top:30px; font-size:13px; color:var(--text-muted);
    }
    .trust-item { display:flex; align-items:center; gap:7px; }
    .trust-chk {
      display: inline-block;
      width: 14px; height: 14px; flex-shrink: 0;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 13' fill='none'%3E%3Cpolyline points='1.5,6.5 4.5,10.5 11.5,2.5' stroke='%232E6370' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      font-size: 0;
    }
    .free-link { text-align:center; margin-top:14px; font-size:13px; }
    .free-link a { color:var(--text-muted); text-decoration:underline; text-underline-offset:3px; }
    .free-link a:hover { color:var(--c9); }

    /* ═══ SOCIAL PROOF ═══ */
    .proof-sec {
      padding:110px 0;
      position:relative; overflow:hidden;
    }
    /* 背景圖層 — 獨立控制 opacity */
    .proof-bg {
      position: absolute; inset: 0; z-index: 0;
      background: url('../images/v3/feedback.webp') center top / 100% auto no-repeat;
      will-change: opacity;
      -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
      mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    }
    /* 手機版換成直式三人照，用 cover 填滿整個 100vh 的框，裁切以上方為主 */
    @media(max-width:768px){
      .proof-bg {
        background: url('../images/v3/proof-mobile.webp') center top / 100% auto no-repeat;
      }
    }
    .proof-bg::before {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(to bottom, rgba(20,20,20,0.50) 0%, rgba(20,20,20,0.0) 80%);
    }
    .proof-bg::after {
      content: '';
      position: absolute; inset: 0;
      opacity: 0.18;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
      background-repeat: repeat;
      background-size: 180px 180px;
    }
    /* 顆粒感 grain layer */
    .proof-sec .wrap,
    .proof-orb-a, .proof-orb-b,
    .testi-marquee-outer { position: relative; z-index: 2; }
    .proof-orb-a, .proof-orb-b {
      display: none;
    }
    .proof-sec .wrap { position:relative; z-index:2; }

    .proof-stats {
      display:grid; grid-template-columns:repeat(3,1fr); gap:24px;
      margin-bottom:52px;
    }
    .proof-stat { text-align:center; }
    .proof-num {
      font-family:'Varela Round',sans-serif;
      font-size:clamp(28px,4.5vw,56px);
      font-weight:800; color:#ffffff; line-height:1;
    }
    /* AAA: white on #305A5D = 7.2:1 ✓ */
    .proof-label { font-size:13px; color:#ffffff; margin-top:8px; }

    /* ═══ TESTIMONIAL MARQUEE (Relay.fi style) ═══ */
    .testi-marquee-outer {
      position: relative;
      overflow: hidden;
      padding-top: 8px;
      margin-top: -8px;
    }

    /* the scrolling track — contains 2× cards for seamless loop */
    .testi-marquee-track {
      display: flex;
      gap: 18px;
      width: max-content;
      animation: testi-scroll 36s linear infinite;
    }
    .testi-marquee-outer:hover .testi-marquee-track {
      animation-play-state: paused;
    }
    @keyframes testi-scroll {
      from { transform: translateX(0); }
      to   { transform: translateX(-50%); }
    }
    @media(prefers-reduced-motion: reduce) {
      .testi-marquee-track { animation: none; }
    }

    /* individual card */
    .testi-mc {
      width: 300px;
      flex-shrink: 0;
      padding: 26px 28px;
      background: rgba(255,255,255,0.15);
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
      border-radius: var(--radius);
      display: flex;
      flex-direction: column;
      gap: 12px;
      position: relative;
      box-shadow: var(--shadow-sm);
      transition: box-shadow .25s ease, transform .25s ease;
    }
    .testi-mc:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-3px);
    }
    /* gradient border */
    .testi-mc::before {
      content: '';
      position: absolute; inset: 0;
      border-radius: inherit;
      padding: 1.5px;
      background: var(--border-grad);
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      mask:         linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      pointer-events: none;
    }

    .testi-mc-quote {
      font-size: 32px;
      line-height: 1;
      color: rgba(255,255,255,0.7);
      font-family: Georgia, serif;
      user-select: none;
      margin-bottom: -4px;
    }
    .testi-mc-text {
      font-size: 13px;
      line-height: 1.8;
      color: #ffffff;
      flex: 1;
    }
    .testi-mc-text .hl {
      font-weight: 700;
      color: #ffffff;
      text-decoration: underline;
      text-underline-offset: 3px;
    }
    .testi-mc-author {
      font-size: 13px;
      font-weight: 700;
      color: rgba(255,255,255,0.7);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      padding-top: 10px;
      border-top: 1px solid rgba(255,255,255,0.2);
    }
    @media(max-width:768px){
      .testi-mc {
        padding-top: 18px; padding-bottom: 18px;
        /* 手機效能：14 張卡片各自做 20px 模糊＋飽和度很吃 iOS GPU，降低模糊值 */
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
      }
    }

    /* ═══ PODIUM REVEAL — proof → bcta ═══ */
    .podium-reveal {
      position: relative;
      /* 裝飾溢出由 proof-spline-wrap 的 overflow:clip 處理 */
      isolation: isolate;
    }
    .footer-reveal {
      position: relative;
      isolation: isolate;
      color: #fff;
      background: #1F3840;
    }
    .podium-reveal .shader-bg,
    .footer-reveal .shader-bg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
      pointer-events: none;
      display: block;
    }
    .footer-reveal-bcta {
      text-align: center;
      padding: 80px 24px 16px;
      background: transparent;
    }
    .proof-phone-cta {
      position: absolute;
      top: 62%;
      left: 0;
      right: 0;
      z-index: 5;
      padding: 0 24px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(20px);
    }
    .proof-phone-cta .bcta-title { margin: 0 0 12px; }
    .proof-phone-cta .bcta-sub { margin-bottom: 24px; }
    .proof-phone-cta .hero-actions { margin-bottom: 14px; }
    .proof-phone-cta .hero-note { margin-bottom: 0; }
    @media (max-height: 700px) {
      .proof-phone-cta { top: 56%; }
      .proof-phone-cta .bcta-title { font-size: clamp(28px, 4vw, 42px); }
      .proof-phone-cta .bcta-sub { margin-bottom: 16px; }
    }
    .footer-reveal-bcta .bcta-title { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,0.45); }
    .footer-reveal-bcta .bcta-sub { color: rgba(255,255,255,0.85); text-shadow: 0 1px 12px rgba(0,0,0,0.4); }
    .footer-reveal-bcta .hero-note { color: rgba(255,255,255,0.75); text-shadow: 0 1px 12px rgba(0,0,0,0.4); }
    .footer-reveal .footer-reveal-footer {
      background: #1F3840;
      padding: 80px 24px 28px;
      color: #ffffff;
    }
    .podium-reveal .proof-sec {
      --cta-offset: 20px;
      position: sticky;
      top: 0;
      z-index: 2;
      height: 100vh;
      background: transparent;
      overflow: visible;
      /* will-change:transform 曾經放在這個 sticky 元素自己身上，
         在真實滑動（不是程式碼直接 scrollTo）測試中會讓它提早脫離 sticky、
         跟著頁面正常往上滾走——bcta 的手機因此在淡入時已經捲出畫面外。
         這個 section 本身不需要 transform 動畫（只有裡面的子元素會位移），拿掉。 */
    }
    .proof-sec .sec-head,
    .proof-sec .proof-stats {
      will-change: transform, opacity;
    }
    /* testi-marquee-outer 不加 will-change：
       will-change:transform 會建立獨立 compositing layer，
       導致子元素的 backdrop-filter 失效 */
    .proof-slide-spacer {
      height: 65vh;
      position: relative;
      z-index: 0;
    }
    .podium-reveal .bcta {
      position: relative;
      z-index: 1;
    }

    /* ═══ BOTTOM CTA ═══ */
    .bcta {
      padding:96px 24px; text-align:center; position:relative;
      background: #ffffff;
    }

    /* bcta 浮層：CTA 文字，在 Spline 手機前面淡入 */
    .bcta-float {
      position: absolute;
      z-index: 5;
      left: 0; right: 0;
      /* CTA 整組位於 Spline 中線下方，並另行預留 footer 間距。 */
      top: calc(50% + var(--cta-offset));
      text-align: center;
      padding: 0 24px;
      opacity: 0;
      transform: translateY(40px);
      pointer-events: none;
    }
    /* footer 貼齊最後一屏底部，CTA 依實際高度預留間距 */
    .proof-footer {
      position: absolute;
      bottom: -200px; left: 0; right: 0;
      z-index: 4;
      opacity: 0;
      pointer-events: none;
    }
    .proof-footer.is-visible { pointer-events: auto; }
    .bcta-float.is-visible { pointer-events: auto; }
    .bcta-float .bcta-title { color: #ffffff; text-shadow: 0 2px 24px rgba(0,0,0,0.45), 0 1px 6px rgba(0,0,0,0.3); margin: 8px 0 12px; }
    .bcta-float .bcta-sub   { color: rgba(255,255,255,0.85); text-shadow: 0 1px 12px rgba(0,0,0,0.4); margin-bottom: 20px; }
    .bcta-float .hero-actions { margin-bottom: 8px; }
    .bcta-float .hero-note  { margin-bottom: 0; }
    .bcta-float .hero-note  { color: rgba(255,255,255,0.75); text-shadow: 0 1px 12px rgba(0,0,0,0.4); }
    .bcta-float .sec-eyebrow { margin-bottom: 8px; }

    .proof-spline-wrap {
      position: absolute;
      inset: 0;
      overflow: clip;
      z-index: 1;
      pointer-events: none;
    }
    .proof-spline {
      transform: translateY(-40px) perspective(2400px) rotateX(var(--phone-tilt-x, 0deg)) rotateY(var(--phone-tilt-y, 0deg));
      transform-origin: 50% 45%;
      transition: transform 240ms ease-out;
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 38%, black 25%, transparent 65%);
      mask-image:         radial-gradient(ellipse 70% 55% at 50% 38%, black 25%, transparent 65%);
    }
    /* 這個 Spline 場景是照桌機寬螢幕的構圖調的。原本手機版讓 .proof-spline 直接吃滿窄螢幕的 100%/100%，
       等於把畫布本身的長寬比設成手機直式（很窄很高），Spline 內部鏡頭會照這個比例取景，
       導致場景在「渲染當下」就已經把手機模型左右裁掉了——外面再怎麼用 CSS scale 縮放都是縮小一張已經裁過的圖，救不回來。
       改法：畫布固定給一個桌機寬螢幕的參考尺寸（960x600），置中，讓 Spline 鏡頭照原本設計的寬螢幕比例取景、
       不再裁切，再用 scale 把這張「完整、沒裁切」的畫面整張縮小塞進手機畫面。
       遮罩的直式漸層百分比是算在這個 960x600 的畫布自己身上，不受外層 scale 影響，維持原樣即可 */
    @media(max-width:640px){
      .proof-spline {
        inset: auto;
        left: 50%;
        top: 50%;
        width: 960px;
        height: 600px;
        margin: -300px 0 0 -480px;
        transform: translateY(-40px) perspective(2400px) scale(0.46) rotateX(var(--phone-tilt-x, 0deg)) rotateY(var(--phone-tilt-y, 0deg));
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 22%, black 55%, transparent 80%);
        mask-image:         linear-gradient(to bottom, transparent 0%, black 22%, black 55%, transparent 80%);
      }
    }
    /* 手機版的 Spline 換成 Zora 的透明影片：820x480 的畫面縮到剛好塞進 220px 高的區塊，上下同樣用漸層遮罩收邊 */
    @media(max-width:768px){
      .proof-video {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 820px;
        height: 480px;
        margin: -240px 0 0 -410px;
        transform: scale(0.46);
        object-fit: contain;
        pointer-events: none;
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 62%, transparent 86%);
        mask-image:         linear-gradient(to bottom, transparent 0%, black 18%, black 62%, transparent 86%);
      }
      /* 桌機 3D 手機捲到時會從躺平立起、變大；影片本身沒有這段，捲進畫面時用 CSS 補（JS 加 .is-in） */
      .proof-video:not(.is-in) { transform: perspective(1600px) rotateX(58deg) scale(0.3); }
      .proof-video { transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1); transform-origin: 50% 80%; }
    }
    /* 手機版不要 sticky 卡住的效果，讓整段內容用 flex 排好順序，隨頁面正常往上滑；
       spacer 是原本用來撐出 sticky 停留距離的，手機版不需要了。
       這段一定要放在 .proof-spline-wrap / .proof-spline / .proof-phone-cta 的原始規則之後，
       CSS 選擇器權重一樣時後面的才會贏，放前面會被原始規則蓋掉 */
    @media(max-width:768px){
      .podium-reveal .proof-sec {
        position: relative;
        top: auto;
        height: auto;
        display: flex;
        flex-direction: column;
        padding-bottom: 60px; /* bcta 下方留白總共 60px：這裡 60 + 頁尾上內距 0 */
      }
      .footer-reveal .footer-reveal-footer { padding-top: 0; }
      .proof-slide-spacer {
        height: 0;
      }
      .proof-sec .wrap { order: 1; }
      .testi-marquee-outer { order: 2; margin-top: 8px !important; /* HTML 內聯 margin-top:48px，往上移 40px */ }
      .proof-spline-wrap {
        position: relative;
        inset: auto;
        order: 3;
        height: 220px;
        margin: 48px 0 -60px;
        /* opacity 不在這裡設，手機本體載入完成後才淡入，見 load-complete 那段 JS */
      }
      .proof-phone-cta {
        position: relative;
        top: auto; left: auto; right: auto;
        order: 4;
        padding: 0 24px;
        margin-top: -10px;
        opacity: 1;
        visibility: visible;
        transform: none;
      }
    }
    .bcta .wrap-sm {
      position: relative;
      z-index: 1;
    }
    .bcta-title { font-size:clamp(28px,4.5vw,56px); font-weight:800; margin:14px 0 16px; }
    .bcta-sub { font-size:15px; color:var(--text-muted); margin-bottom:36px; }

    .podium-reveal .bcta {
      height: 0; padding: 0; overflow: hidden;
    }
    footer, .bcta-footer {
      background: transparent;
    }

    /* 手機版方案區：卡片與標題直接出場，不做淡入／位移（#pricing 的 id 權重高於 .rv，不用 !important） */
    @media(max-width:768px){
      #pricing .rv { opacity: 1; transform: none; transition: none; }
      #pricing .p-card { transition: none; }
    }

    .num-roll { font-feature-settings:"tnum"; }

    /* ═══ HERO VISUAL ═══ */
    .hero-visual {
      max-width:920px;
      width:100%;
      margin:auto auto 0;   /* hero 是 flex column，auto 上邊界把手機推到底 */
    }
    .hero-landing {
      display:block;
      width:100%; max-width:860px;
      height:auto;
      margin:0 auto;
      pointer-events:none;
      will-change: transform;
    }
    .notif {
      position:absolute;
      display:flex; flex-direction:column; gap:5px;
    }
    .notif-label {
      font-size:13px; color:var(--text-muted);
      opacity:.55; letter-spacing:.04em;
    }
    .notif-card {
      padding:12px 14px;
      display:flex; gap:10px; align-items:flex-start;
      width:270px;
      border-radius:18px;
      position:relative; overflow:hidden;

      /* Liquid glass base */
      background: rgba(255,255,255,0.18);
      backdrop-filter: blur(36px) saturate(200%) brightness(1.08);
      -webkit-backdrop-filter: blur(36px) saturate(200%) brightness(1.08);

      /* Border: thin light rim */
      border: 1px solid rgba(255,255,255,0.55);

      /* Depth shadows */
      box-shadow:
        0 12px 40px rgba(48,90,93,0.14),
        0 2px 8px  rgba(48,90,93,0.08),
        inset 0 1.5px 0 rgba(255,255,255,0.70),
        inset 0 -1px 0 rgba(255,255,255,0.20);
    }

    /* Specular highlight — diagonal shine across top-left */
    .notif-card::after {
      content:'';
      position:absolute; inset:0;
      border-radius:inherit;
      background: linear-gradient(
        135deg,
        rgba(255,255,255,0.42) 0%,
        rgba(255,255,255,0.10) 35%,
        transparent 55%
      );
      pointer-events:none;
    }
    .notif-avatar {
      width:36px; height:36px;
      border-radius:50%; object-fit:cover; flex-shrink:0;
    }
    .notif-body { flex:1; min-width:0; }
    .notif-row {
      display:flex; justify-content:space-between; align-items:center;
      margin-bottom:4px;
    }
    .notif-name { font-weight:700; font-size:13px; color:var(--text-head); }
    .notif-time { font-size:13px; color:var(--text-muted); flex-shrink:0; margin-left:8px; }
    .notif-msg  { font-size:13px; color:var(--text-muted); line-height:1.55; }

    .notif-tr { top:0;    right:0; }
    .notif-bl { bottom:60px; left:0; }
    .notif-br { bottom:0; right:40px; }

    @keyframes notif-float {
      0%,100% { transform:translateY(0px); }
      50%      { transform:translateY(-7px); }
    }
    .notif-tr { animation:notif-float 4.2s ease-in-out infinite; }
    .notif-bl { animation:notif-float 4.2s ease-in-out infinite 1.4s; }
    .notif-br { animation:notif-float 4.2s ease-in-out infinite 2.8s; }


    /* ═══ MOBILE OPTIMIZATIONS ═══ */

    /* Responsive price font — prevent overflow on 1-col mobile */
    .p-price { font-size: clamp(26px, 7.5vw, 40px); }

    /* Hero — reduce top padding on small screens */
    @media(max-width:480px){
      .hero { padding-top: 96px; padding-bottom: 0; }
      .hero-sub { margin-bottom: 24px; }
    }

    /* Hero — mobile: 按鈕縮小；文字區跟 header／手機的距離改由 fitHeroPhone() 動態算成等距 */
    @media(max-width:640px){
      .hero-actions .btn-lg { padding: 12px 28px; font-size: 14px; }
    }
    /* 手機版：第一屏手機區塊不要再等 .rv 的 0.66s 延遲＋0.72s 淡入才出現（3D 載好前本來就是透明的） */
    @media(max-width:768px){
      .hero-visual.rv { opacity: 1; transform: none; transition: none; }
    }

    /* Hero headline — 第二行 8 字 = 8em，窄螢幕需隨視窗縮放才不會被裁掉 */
    .hero-headline h1 { font-size: min(64px, 10.5vw); }

    /* Stats section — 140px padding is desktop-only */
    @media(max-width:768px){
      .stats-sec { padding-top: 80px; padding-bottom: 80px; }
      .stats-display-sub { margin-bottom: 36px; }
    }
    @media(max-width:480px){
      .stats-sec { padding-top: 52px; padding-bottom: 52px; }
      .stats-display-sub { margin-bottom: 24px; }
    }

    /* Proof stats — stack to 1 column on phone */
    @media(max-width:520px){
      .proof-stats { grid-template-columns: 1fr; gap: 24px; margin-bottom: 36px; }
    }

    /* General sections — less vertical padding on phone */
    @media(max-width:480px){
      .sec-pad { padding: 52px 20px; }
      .bcta { padding: 56px 20px; }
      .deeper-sec { padding-top: 100px; }
    }

    /* Pricing tabs — ensure they don't crowd on very narrow screens */
    @media(max-width:360px){
      .p-tab, .p-bill { font-size: 13px; padding: 5px 8px; }
    }

