    /* ═══════════════════════════════════════════════════════════
       CORE TOKENS
       ═══════════════════════════════════════════════════════════ */
    @property --grad-angle {
      syntax: '<angle>'; inherits: false; initial-value: 0deg;
    }
    @property --shimmer-pos {
      syntax: '<percentage>'; inherits: false; initial-value: -100%;
    }

    :root {
      /* Brand */
      --teal-50:  #ECFAFA;
      --teal-100: #D2F3F3;
      --teal-200: #A8E6E6;
      --teal-300: #6DD2D2;
      --teal-400: #3FC1C1;
      --teal-500: #2DB8B8;
      --teal-600: #1F9999;
      --teal-700: #167878;
      --teal-800: #0F5555;
      --teal-900: #0A3838;

      --gold-300: #FFD27A;
      --gold-400: #F5B942;
      --gold-500: #E89B2A;
      --gold-600: #C97E1E;

      --navy:     #0F2A35;
      --navy-2:   #163847;
      --navy-3:   #1E4859;

      --ink:      #0F1B22;
      --ink-2:    #2C3E4A;
      --muted:    #6B7E89;
      --muted-2:  #94A4AE;

      --cream:    #FFF8EC;
      --off:      #FAFBFB;
      --bg:       #F4F8F8;
      --line:     #E5EEEE;
      --white:    #FFFFFF;

      /* Geometry */
      --radius-sm: 10px;
      --radius:    18px;
      --radius-lg: 28px;
      --radius-xl: 40px;

      /* Shadows */
      --shadow-xs: 0 1px 2px rgba(15,42,53,.04), 0 1px 3px rgba(15,42,53,.06);
      --shadow-sm: 0 4px 12px rgba(15,42,53,.06), 0 2px 4px rgba(15,42,53,.04);
      --shadow:    0 10px 32px rgba(15,42,53,.08), 0 4px 12px rgba(15,42,53,.04);
      --shadow-lg: 0 24px 60px rgba(15,42,53,.12), 0 8px 20px rgba(15,42,53,.06);
      --shadow-xl: 0 40px 100px rgba(15,42,53,.18), 0 16px 32px rgba(15,42,53,.08);
      --shadow-glow: 0 0 60px rgba(45,184,184,.4);

      /* Motion */
      --ease: cubic-bezier(.22, 1, .36, 1);
      --ease-out: cubic-bezier(.16, 1, .3, 1);
      --ease-elastic: cubic-bezier(.34, 1.56, .64, 1);

      /* Type — 加入完整 CJK fallback 防止字型載入失敗時的渲染問題 */
      --font-zh: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei UI', 'Microsoft JhengHei', 'Heiti TC', 'Apple LiGothic', system-ui, sans-serif;
      --font-en: 'Plus Jakarta Sans', 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei UI', system-ui, sans-serif;
      --font-mono: 'JetBrains Mono', 'SF Mono', 'Consolas', ui-monospace, monospace;
    }

    [data-theme="dark"] {
      --bg:    #0A1518;
      --off:   #0F1F23;
      --white: #142A30;
      --ink:   #ECF6F6;
      --ink-2: #C8D8DC;
      --muted: #8FA4AB;
      --muted-2: #6B848C;
      --line:  #1F3940;
      --navy:  #ECF6F6;
      --cream: #1A2D33;
    }

    /* ═══════════════════════════════════════════════════════════
       RESET
       ═══════════════════════════════════════════════════════════ */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html {
      scroll-behavior: smooth;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      text-rendering: optimizeLegibility;
    }

    body {
      font-family: var(--font-zh);
      color: var(--ink);
      background: var(--bg);
      line-height: 1.6;
      overflow-x: hidden;
      transition: background .4s var(--ease), color .4s var(--ease);
    }

    img, svg { display: block; max-width: 100%; }
    button { font-family: inherit; cursor: pointer; border: none; background: none; }
    a { text-decoration: none; color: inherit; }
    ul { list-style: none; }

    ::selection { background: var(--teal-500); color: #fff; }

    /* Custom scrollbar */
    ::-webkit-scrollbar { width: 10px; height: 10px; }
    ::-webkit-scrollbar-track { background: transparent; }
    ::-webkit-scrollbar-thumb { background: var(--teal-200); border-radius: 10px; }
    ::-webkit-scrollbar-thumb:hover { background: var(--teal-400); }

    /* ═══════════════════════════════════════════════════════════
       UTILITY
       ═══════════════════════════════════════════════════════════ */
    .wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
    .wrap-narrow { max-width: 980px; margin: 0 auto; padding: 0 28px; }

    .eyebrow {
      display: inline-flex; align-items: center; gap: 8px;
      font-family: var(--font-en);
      font-size: .74rem; font-weight: 700;
      letter-spacing: .12em; text-transform: uppercase;
      color: var(--teal-700);
      background: linear-gradient(135deg, var(--teal-50), color-mix(in srgb, var(--teal-100), white 20%));
      border: 1px solid color-mix(in srgb, var(--teal-300), transparent 60%);
      border-radius: 50px;
      padding: 6px 14px 6px 12px;
      backdrop-filter: blur(8px);
    }
    .eyebrow::before {
      content: ''; width: 6px; height: 6px;
      background: var(--teal-500); border-radius: 50%;
      box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal-500), transparent 75%);
      animation: pulse 2.4s ease-in-out infinite;
    }
    @keyframes pulse {
      0%, 100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal-500), transparent 75%); }
      50%      { box-shadow: 0 0 0 8px color-mix(in srgb, var(--teal-500), transparent 90%); }
    }

    .h-display {
      font-family: var(--font-zh);
      font-weight: 900;
      font-size: clamp(2.2rem, 5.4vw, 4.4rem);
      line-height: 1.05;
      letter-spacing: -.02em;
      color: var(--ink);
    }
    .h-section {
      font-family: var(--font-zh);
      font-weight: 900;
      font-size: clamp(1.8rem, 4vw, 3rem);
      line-height: 1.15;
      letter-spacing: -.015em;
      font-feature-settings: "kern" 1, "liga" 1;
      text-rendering: geometricPrecision;
      color: var(--ink);
    }
    .lede {
      font-size: clamp(1rem, 1.3vw, 1.18rem);
      color: var(--muted);
      line-height: 1.7;
      max-width: 640px;
    }
    .gradient-text {
      background: linear-gradient(135deg, var(--teal-500) 0%, var(--teal-700) 50%, var(--gold-500) 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    /* ═══════════════════════════════════════════════════════════
       BUTTONS
       ═══════════════════════════════════════════════════════════ */
    .btn {
      position: relative;
      display: inline-flex; align-items: center; gap: 10px;
      font-family: var(--font-zh);
      font-weight: 700; font-size: .94rem;
      padding: 14px 24px;
      border-radius: 50px;
      transition: transform .3s var(--ease), box-shadow .3s var(--ease);
      overflow: hidden;
      white-space: nowrap;
    }
    .btn-primary {
      background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
      color: #fff;
      box-shadow: 0 8px 24px color-mix(in srgb, var(--teal-500), transparent 60%);
    }
    .btn-primary::after {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(120deg,
        transparent 30%,
        rgba(255,255,255,.4) 50%,
        transparent 70%);
      transform: translateX(-100%);
      transition: transform .8s var(--ease);
    }
    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 14px 36px color-mix(in srgb, var(--teal-500), transparent 50%);
    }
    .btn-primary:hover::after { transform: translateX(100%); }

    .btn-ghost {
      background: color-mix(in srgb, var(--white), transparent 20%);
      color: var(--ink);
      border: 1.5px solid var(--line);
      backdrop-filter: blur(8px);
    }
    .btn-ghost:hover {
      transform: translateY(-2px);
      border-color: var(--teal-400);
      color: var(--teal-700);
    }

    .btn-dark {
      background: var(--navy);
      color: #fff;
    }
    .btn-dark:hover { transform: translateY(-2px); background: var(--ink); }

    .btn-arrow { transition: transform .3s var(--ease); }
    .btn:hover .btn-arrow { transform: translateX(4px); }

    /* ═══════════════════════════════════════════════════════════
       NAV
       ═══════════════════════════════════════════════════════════ */
    .nav {
      position: fixed; top: 0; left: 0; right: 0;
      z-index: 100;
      transition: all .4s var(--ease);
    }
    .nav-inner {
      max-width: 1240px;
      margin: 16px auto 0;
      padding: 12px 18px;
      display: flex; align-items: center; justify-content: space-between;
      background: color-mix(in srgb, var(--white), transparent 25%);
      border: 1px solid color-mix(in srgb, var(--line), transparent 30%);
      border-radius: 100px;
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
      box-shadow: var(--shadow-sm);
    }
    .nav.scrolled .nav-inner {
      background: color-mix(in srgb, var(--white), transparent 10%);
      box-shadow: var(--shadow);
    }

    .logo {
      display: flex; align-items: center; gap: 10px;
    }
    .logo-mark {
      width: 38px; height: 38px;
      flex-shrink: 0;
    }
    .logo-wordmark {
      display: flex; align-items: baseline; gap: 8px;
      font-weight: 900;
    }
    .logo-cn { font-size: 1.05rem; color: var(--teal-600); letter-spacing: .02em; }
    .logo-en {
      font-family: var(--font-en);
      font-size: .82rem; color: var(--teal-800);
      letter-spacing: .08em; text-transform: uppercase;
      padding: 2px 6px; border-radius: 4px;
      background: color-mix(in srgb, var(--teal-100), transparent 40%);
    }

    .nav-menu {
      display: flex; align-items: center; gap: 4px;
    }
    .nav-link {
      font-size: .88rem;
      font-weight: 500;
      color: var(--ink-2);
      padding: 8px 14px;
      border-radius: 50px;
      transition: all .2s var(--ease);
    }
    .nav-link:hover { color: var(--teal-700); background: var(--teal-50); }

    .nav-actions { display: flex; align-items: center; gap: 10px; }
    .theme-toggle {
      width: 38px; height: 38px;
      border-radius: 50%;
      background: var(--teal-50);
      color: var(--teal-700);
      display: flex; align-items: center; justify-content: center;
      transition: all .3s var(--ease);
    }
    .theme-toggle:hover { background: var(--teal-100); transform: rotate(20deg); }
    [data-theme="dark"] .theme-toggle .sun-icon { display: none; }
    [data-theme="light"] .theme-toggle .moon-icon { display: none; }

    .menu-toggle {
      display: none;
      width: 38px; height: 38px;
      border-radius: 50%;
      background: var(--teal-50);
      align-items: center; justify-content: center;
    }
    .menu-toggle span {
      display: block; width: 18px; height: 2px;
      background: var(--teal-700); border-radius: 2px;
      position: relative;
      transition: all .3s var(--ease);
    }
    .menu-toggle span::before,
    .menu-toggle span::after {
      content: ''; position: absolute; left: 0;
      width: 18px; height: 2px;
      background: var(--teal-700); border-radius: 2px;
      transition: all .3s var(--ease);
    }
    .menu-toggle span::before { top: -6px; }
    .menu-toggle span::after  { top:  6px; }

    /* ═══════════════════════════════════════════════════════════
       HERO
       ═══════════════════════════════════════════════════════════ */
    .hero {
      position: relative;
      padding: 140px 0 80px;
      overflow: hidden;
      isolation: isolate;
    }

    /* Animated mesh background */
    .hero-mesh {
      position: absolute; inset: 0; z-index: -1;
      background:
        radial-gradient(ellipse 800px 600px at 15% 20%, color-mix(in srgb, var(--teal-200), transparent 50%), transparent 60%),
        radial-gradient(ellipse 700px 500px at 85% 30%, color-mix(in srgb, var(--gold-300), transparent 60%), transparent 60%),
        radial-gradient(ellipse 900px 700px at 50% 90%, color-mix(in srgb, var(--teal-100), transparent 30%), transparent 60%),
        linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--bg), white 50%) 100%);
      animation: meshFloat 20s ease-in-out infinite alternate;
    }
    @keyframes meshFloat {
      0%   { background-position: 0% 0%, 100% 0%, 50% 100%, 0% 0%; }
      100% { background-position: 10% 5%, 90% 10%, 60% 90%, 0% 0%; }
    }

    .hero-grid-overlay {
      position: absolute; inset: 0; z-index: -1;
      background-image:
        linear-gradient(rgba(15,42,53,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15,42,53,.03) 1px, transparent 1px);
      background-size: 60px 60px;
      mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.05fr .95fr;
      gap: 60px;
      align-items: center;
    }

    .hero-content { position: relative; }

    .hero-title {
      font-weight: 900;
      font-size: clamp(2.4rem, 5.8vw, 4.8rem);
      line-height: 1.02;
      letter-spacing: -.025em;
      margin: 22px 0 24px;
    }
    .hero-title .word-em {
      position: relative;
      display: inline-block;
      background: linear-gradient(135deg, var(--teal-500) 0%, var(--teal-700) 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    .hero-title .word-em::after {
      content: ''; position: absolute;
      left: 4%; right: 4%; bottom: -4px;
      height: 12px;
      background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'><path d='M2 8 Q 50 0, 100 6 T 198 4' stroke='%23F5B942' stroke-width='3' fill='none' stroke-linecap='round'/></svg>") no-repeat center / 100% 100%;
      animation: drawUnderline 1.5s var(--ease) .4s both;
    }
    @keyframes drawUnderline {
      0%   { clip-path: inset(0 100% 0 0); }
      100% { clip-path: inset(0 0 0 0); }
    }

    .hero-title .word-gold {
      color: var(--gold-500);
    }

    .hero-lede {
      font-size: clamp(1rem, 1.25vw, 1.18rem);
      color: var(--ink-2);
      max-width: 560px;
      line-height: 1.65;
      margin-bottom: 36px;
    }

    .hero-cta {
      display: flex; gap: 12px; flex-wrap: wrap;
      margin-bottom: 48px;
    }

    .trust-row {
      display: flex; align-items: center; gap: 24px;
      flex-wrap: wrap;
    }
    .trust-avatars {
      display: flex;
    }
    .trust-avatars > div {
      width: 36px; height: 36px;
      border-radius: 50%;
      border: 2px solid var(--bg);
      margin-left: -10px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1rem;
      background: linear-gradient(135deg, var(--teal-300), var(--teal-500));
    }
    .trust-avatars > div:first-child { margin-left: 0; }
    .trust-avatars > div:nth-child(2) { background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); }
    .trust-avatars > div:nth-child(3) { background: linear-gradient(135deg, #B39DDB, #7E57C2); }
    .trust-avatars > div:nth-child(4) { background: linear-gradient(135deg, #FFAB91, #FF7043); }
    .trust-text { font-size: .85rem; color: var(--muted); }
    .trust-text strong { color: var(--ink); font-weight: 700; }
    .trust-stars { color: var(--gold-500); letter-spacing: 1px; font-size: .9rem; }

    /* Hero visual / phone */
    .hero-visual {
      position: relative;
      display: flex; justify-content: center; align-items: center;
      min-height: 600px;
    }

    .orbit-rings {
      position: absolute; inset: 0;
      display: flex; align-items: center; justify-content: center;
      z-index: 0;
    }
    .orbit-rings::before, .orbit-rings::after {
      content: '';
      position: absolute;
      border: 1.5px dashed color-mix(in srgb, var(--teal-400), transparent 70%);
      border-radius: 50%;
    }
    .orbit-rings::before {
      width: 480px; height: 480px;
      animation: rotate 40s linear infinite;
    }
    .orbit-rings::after {
      width: 620px; height: 620px;
      border-color: color-mix(in srgb, var(--gold-400), transparent 75%);
      animation: rotate 60s linear infinite reverse;
    }
    @keyframes rotate { to { transform: rotate(360deg); } }

    .hero-blob {
      position: absolute;
      width: 460px; height: 460px;
      background: radial-gradient(circle, color-mix(in srgb, var(--teal-300), transparent 50%) 0%, transparent 70%);
      filter: blur(40px);
      z-index: -1;
      animation: blobMove 12s ease-in-out infinite;
    }
    @keyframes blobMove {
      0%, 100% { transform: translate(0, 0) scale(1); }
      50%      { transform: translate(20px, -30px) scale(1.1); }
    }

    /* Phone Mockup - ultra detailed */
    .phone {
      position: relative;
      width: 320px;
      height: 656px;
      background: linear-gradient(145deg, #1a2a35, #0d1820);
      border-radius: 48px;
      padding: 14px;
      box-shadow:
        0 50px 100px rgba(15,42,53,.25),
        0 20px 40px rgba(15,42,53,.15),
        inset 0 0 0 1.5px rgba(255,255,255,.08),
        inset 0 -3px 0 rgba(0,0,0,.4);
      z-index: 2;
      transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
      transition: transform .8s var(--ease);
    }
    .phone:hover { transform: perspective(1200px) rotateY(-2deg) rotateX(0deg) translateY(-8px); }
    .phone::before {
      content: '';
      position: absolute;
      inset: 18px -12px 18px auto;
      width: 22px;
      border-radius: 0 34px 34px 0;
      background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(0,0,0,.35));
      transform: translateZ(-18px);
      filter: blur(.2px);
    }
    .phone::after {
      content: '';
      position: absolute;
      inset: auto 34px -26px;
      height: 34px;
      border-radius: 50%;
      background: rgba(15,42,53,.22);
      filter: blur(18px);
      transform: rotateX(70deg);
      z-index: -1;
    }

    .phone-screen {
      width: 100%; height: 100%;
      background: linear-gradient(180deg, #0D1A20 0%, #142A33 100%);
      border-radius: 36px;
      overflow: hidden;
      position: relative;
      padding: 18px 16px 14px;
      transform: translateZ(18px);
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
    }
    .phone-notch {
      position: absolute; top: 12px; left: 50%;
      transform: translateX(-50%);
      width: 100px; height: 26px;
      background: #000;
      border-radius: 50px;
      z-index: 10;
    }
    .phone-statusbar {
      display: flex; justify-content: space-between; align-items: center;
      padding: 6px 14px 16px;
      font-family: var(--font-en);
      font-size: .68rem;
      color: #fff; font-weight: 600;
    }
    .phone-statusbar-icons { display: flex; gap: 4px; align-items: center; }
    .phone-statusbar-icons svg { width: 14px; height: 14px; }

    .app-header {
      padding: 4px 6px 14px;
    }
    .app-header h2 {
      font-size: 1.05rem; font-weight: 800; color: #fff;
      margin-bottom: 2px;
    }
    .app-header p {
      font-size: .68rem; color: rgba(167,200,210,.7);
    }

    .app-pet-card {
      background: linear-gradient(135deg, color-mix(in srgb, var(--teal-500), transparent 70%), color-mix(in srgb, var(--teal-700), transparent 60%));
      border: 1px solid rgba(60,200,200,.15);
      border-radius: 18px;
      padding: 14px;
      margin-bottom: 10px;
      backdrop-filter: blur(12px);
    }
    .app-pet-row { display: flex; align-items: center; gap: 10px; }
    .app-pet-avatar {
      width: 38px; height: 38px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
      display: flex; align-items: center; justify-content: center;
      font-size: 1.05rem;
      box-shadow: 0 4px 12px rgba(245,185,66,.3);
    }
    .app-pet-name { color: #fff; font-size: .85rem; font-weight: 700; }
    .app-pet-info { color: rgba(167,200,210,.8); font-size: .62rem; }
    .app-pet-arrow { margin-left: auto; color: rgba(255,255,255,.5); font-size: .8rem; }

    .app-summary {
      background: rgba(255,255,255,.04);
      border: 1px solid rgba(255,255,255,.06);
      border-radius: 18px;
      padding: 14px;
      margin-bottom: 12px;
    }
    .app-summary-title {
      color: rgba(167,200,210,.7); font-size: .65rem;
      text-transform: uppercase; letter-spacing: .08em;
      margin-bottom: 10px; font-weight: 600;
    }
    .app-metric { margin-bottom: 8px; }
    .app-metric-row {
      display: flex; justify-content: space-between;
      font-size: .65rem; margin-bottom: 4px;
    }
    .app-metric-row span:first-child { color: #C8DCE0; }
    .app-metric-row span:last-child  { color: #fff; font-weight: 600; font-family: var(--font-en); }
    .app-progress {
      height: 5px; background: rgba(255,255,255,.06);
      border-radius: 5px; overflow: hidden;
    }
    .app-progress > div {
      height: 100%;
      background: linear-gradient(90deg, var(--teal-400), var(--teal-300));
      border-radius: 5px;
      animation: fillBar 1.5s var(--ease) .5s both;
    }
    .app-progress.gold > div { background: linear-gradient(90deg, var(--gold-400), var(--gold-300)); }
    @keyframes fillBar {
      from { width: 0% !important; }
    }

    .app-quick-title {
      color: rgba(167,200,210,.7); font-size: .65rem;
      text-transform: uppercase; letter-spacing: .08em;
      margin: 4px 6px 8px; font-weight: 600;
    }
    .app-quick {
      display: grid; grid-template-columns: repeat(4, 1fr);
      gap: 6px;
    }
    .app-quick-cell {
      background: rgba(255,255,255,.04);
      border: 1px solid rgba(255,255,255,.06);
      border-radius: 12px;
      padding: 8px 4px 6px;
      text-align: center;
      transition: all .3s var(--ease);
    }
    .app-quick-cell:hover { background: rgba(60,200,200,.1); transform: scale(1.04); }
    .app-quick-cell-icon {
      width: 26px; height: 26px;
      margin: 0 auto 4px;
      background: linear-gradient(135deg, var(--teal-400), var(--teal-600));
      border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      font-size: .8rem;
    }
    .app-quick-cell:nth-child(2) .app-quick-cell-icon { background: linear-gradient(135deg, #64B5F6, #1976D2); }
    .app-quick-cell:nth-child(3) .app-quick-cell-icon { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); }
    .app-quick-cell:nth-child(4) .app-quick-cell-icon { background: linear-gradient(135deg, #EF5350, #C62828); }
    .app-quick-cell:nth-child(5) .app-quick-cell-icon { background: linear-gradient(135deg, #66BB6A, #2E7D32); }
    .app-quick-cell:nth-child(6) .app-quick-cell-icon { background: linear-gradient(135deg, #BA68C8, #7B1FA2); }
    .app-quick-cell:nth-child(7) .app-quick-cell-icon { background: linear-gradient(135deg, #FFB74D, #EF6C00); }
    .app-quick-cell:nth-child(8) .app-quick-cell-icon { background: linear-gradient(135deg, #4DB6AC, #00695C); }

    .app-quick-cell-name {
      color: #C8DCE0; font-size: .52rem; font-weight: 500;
    }

    .app-tabbar {
      position: absolute; bottom: 8px; left: 14px; right: 14px;
      display: flex; justify-content: space-around;
      background: rgba(20,42,51,.8);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(255,255,255,.05);
      border-radius: 22px;
      padding: 8px 4px;
    }
    .app-tab {
      display: flex; flex-direction: column; align-items: center; gap: 2px;
      padding: 4px 6px;
      border-radius: 14px;
      transition: all .25s var(--ease);
    }
    .app-tab.active { background: rgba(60,200,200,.15); }
    .app-tab-icon { font-size: .82rem; color: rgba(167,200,210,.6); }
    .app-tab.active .app-tab-icon { color: var(--teal-400); }
    .app-tab-label { font-size: .48rem; color: rgba(167,200,210,.6); font-weight: 500; }
    .app-tab.active .app-tab-label { color: var(--teal-400); }

    /* Floating overlay cards */
    .float-card {
      position: absolute;
      background: var(--white);
      border-radius: 16px;
      padding: 12px 16px;
      box-shadow: var(--shadow-lg);
      display: flex; align-items: center; gap: 10px;
      z-index: 3;
      border: 1px solid var(--line);
      backdrop-filter: blur(20px);
      animation: floatY 5s ease-in-out infinite;
    }
    @keyframes floatY {
      0%, 100% { transform: translateY(0); }
      50%      { transform: translateY(-12px); }
    }
    .float-card-1 { top: 8%; left: -10%; animation-delay: 0s; }
    .float-card-2 { top: 42%; right: -16%; animation-delay: -1.5s; }
    .float-card-3 { bottom: 12%; left: -8%; animation-delay: -3s; }

    .float-card-icon {
      width: 36px; height: 36px;
      border-radius: 10px;
      background: linear-gradient(135deg, var(--teal-400), var(--teal-600));
      display: flex; align-items: center; justify-content: center;
      color: #fff;
      flex-shrink: 0;
    }
    .float-card-1 .float-card-icon { background: linear-gradient(135deg, #66BB6A, #2E7D32); }
    .float-card-3 .float-card-icon { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); }

    .float-card-label {
      font-size: .68rem; color: var(--muted); font-weight: 500;
    }
    .float-card-value {
      font-size: .92rem; color: var(--ink); font-weight: 800;
      font-family: var(--font-en);
    }
    .float-card-trend {
      font-size: .65rem; color: #2E7D32; font-weight: 700;
    }

    /* Hero stats strip */
    .hero-stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
      margin-top: 80px;
      padding: 32px 40px;
      background: color-mix(in srgb, var(--white), transparent 30%);
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      backdrop-filter: blur(20px);
      box-shadow: var(--shadow-sm);
    }
    .hero-stat {
      text-align: center;
      padding: 0 20px;
      border-right: 1px solid var(--line);
    }
    .hero-stat:last-child { border-right: none; }
    .hero-stat-num {
      font-family: var(--font-en);
      font-size: clamp(1.6rem, 3vw, 2.4rem);
      font-weight: 800;
      color: var(--ink);
      line-height: 1;
      margin-bottom: 6px;
    }
    .hero-stat-num span { color: var(--teal-500); }
    .hero-stat-label {
      font-size: .82rem;
      color: var(--muted);
    }

    /* ═══════════════════════════════════════════════════════════
       MARQUEE — trusted partners
       ═══════════════════════════════════════════════════════════ */
    .marquee {
      padding: 60px 0 40px;
      background: var(--white);
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      overflow: hidden;
    }
    .marquee-title {
      text-align: center;
      font-size: .84rem;
      color: var(--muted);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: .14em;
      margin-bottom: 28px;
    }
    .marquee-track-wrap {
      mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
      overflow: hidden;
    }
    .marquee-track {
      display: flex;
      gap: 60px;
      width: max-content;
      animation: marqueeScroll 40s linear infinite;
    }
    @keyframes marqueeScroll {
      to { transform: translateX(-50%); }
    }
    .marquee-item {
      display: flex; align-items: center; gap: 10px;
      font-family: var(--font-en);
      font-weight: 700;
      font-size: 1.1rem;
      color: var(--muted-2);
      white-space: nowrap;
      transition: color .3s var(--ease);
    }
    .marquee-item:hover { color: var(--teal-600); }
    .marquee-item-icon {
      width: 28px; height: 28px;
      border-radius: 6px;
      background: var(--teal-50);
      display: flex; align-items: center; justify-content: center;
      color: var(--teal-600);
    }

    /* ═══════════════════════════════════════════════════════════
       SECTION HEADER
       ═══════════════════════════════════════════════════════════ */
    section { padding: 120px 0; position: relative; }
    section[id] { scroll-margin-top: 120px; }
    section.compact { padding: 80px 0; }
    .section-head {
      text-align: center;
      max-width: 760px;
      margin: 0 auto 64px;
    }
    .section-head .eyebrow { margin-bottom: 18px; }
    .section-head .h-section { margin-bottom: 16px; }
    .section-head .lede { margin: 0 auto; }

    /* ═══════════════════════════════════════════════════════════
       BENTO GRID — features
       ═══════════════════════════════════════════════════════════ */
    .bento {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      grid-auto-rows: minmax(180px, auto);
      gap: 20px;
    }
    .bento-card {
      position: relative;
      background: var(--white);
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      padding: 32px;
      overflow: hidden;
      transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s var(--ease);
    }
    .bento-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-lg);
      border-color: color-mix(in srgb, var(--teal-300), transparent 30%);
    }
    .bento-card-icon {
      width: 56px; height: 56px;
      border-radius: 16px;
      background: linear-gradient(135deg, var(--teal-100), var(--teal-200));
      display: flex; align-items: center; justify-content: center;
      color: var(--teal-700);
      margin-bottom: 20px;
      transition: transform .4s var(--ease);
    }
    .bento-card:hover .bento-card-icon { transform: scale(1.08) rotate(-4deg); }

    .bento-card h3 {
      font-size: 1.2rem;
      font-weight: 800;
      color: var(--ink);
      margin-bottom: 10px;
      line-height: 1.3;
    }
    .bento-card p {
      font-size: .92rem;
      color: var(--muted);
      line-height: 1.6;
    }

    /* Bento layout */
    .b-1 { grid-column: span 7; grid-row: span 2; }
    .b-2 { grid-column: span 5; grid-row: span 1; }
    .b-3 { grid-column: span 5; grid-row: span 1; }
    .b-4 { grid-column: span 4; grid-row: span 1; }
    .b-5 { grid-column: span 4; grid-row: span 1; }
    .b-6 { grid-column: span 4; grid-row: span 1; }

    /* Bento — feature 1: Pet ID demo */
    .b-1 {
      background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
      color: #fff;
      overflow: hidden;
    }
    .b-1::before {
      content: ''; position: absolute;
      top: -50%; right: -20%;
      width: 600px; height: 600px;
      background: radial-gradient(circle, color-mix(in srgb, var(--teal-400), transparent 80%) 0%, transparent 60%);
    }
    .b-1::after {
      content: '';
      position: absolute; bottom: 0; left: 0; right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--teal-400), transparent);
    }
    .b-1 h3 { color: #fff; font-size: 1.6rem; max-width: 380px; }
    .b-1 p  { color: rgba(255,255,255,.7); max-width: 380px; }
    .b-1 .bento-card-icon {
      background: linear-gradient(135deg, color-mix(in srgb, var(--teal-400), transparent 40%), color-mix(in srgb, var(--teal-600), transparent 40%));
      color: #fff;
      border: 1px solid rgba(255,255,255,.1);
    }
    .b-1 .pet-id-demo {
      position: absolute;
      bottom: 28px; right: 28px;
      width: 240px;
      padding: 18px;
      background: rgba(255,255,255,.06);
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 16px;
      backdrop-filter: blur(20px);
    }
    .pet-id-demo-id {
      font-family: var(--font-mono);
      font-size: .75rem; color: var(--teal-300);
      letter-spacing: .1em;
      margin-bottom: 8px;
    }
    .pet-id-demo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
    .pet-id-demo-avatar {
      width: 44px; height: 44px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
      display: flex; align-items: center; justify-content: center;
      font-size: 1.3rem;
    }
    .pet-id-demo-name { color: #fff; font-size: .9rem; font-weight: 700; }
    .pet-id-demo-meta { color: rgba(255,255,255,.6); font-size: .7rem; }
    .pet-id-demo-chips { display: flex; flex-wrap: wrap; gap: 6px; }
    .pid-chip {
      font-size: .65rem;
      padding: 3px 8px;
      border-radius: 20px;
      background: rgba(60,200,200,.12);
      color: var(--teal-300);
      border: 1px solid rgba(60,200,200,.2);
    }

    /* Bento — feature 2: AI */
    .b-2 .bento-card-icon { background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); color: #fff; }
    .b-2 .ai-scan {
      position: absolute;
      bottom: 20px; right: 20px;
      width: 90px; height: 90px;
      background:
        linear-gradient(transparent, transparent),
        repeating-linear-gradient(0deg, var(--gold-400), var(--gold-400) 1px, transparent 1px, transparent 8px);
      border: 2px solid var(--gold-400);
      border-radius: 12px;
      opacity: .4;
    }

    /* Bento — feature 3: health chart */
    .b-3 .chart-mini {
      position: absolute;
      bottom: 24px; right: 24px;
      width: 140px; height: 60px;
      display: flex; align-items: flex-end; gap: 4px;
    }
    .chart-mini-bar {
      flex: 1;
      background: linear-gradient(180deg, var(--teal-400), var(--teal-600));
      border-radius: 4px 4px 0 0;
      opacity: .5;
      transition: all .3s var(--ease);
    }
    .b-3:hover .chart-mini-bar { opacity: 1; }

    /* Bento — feature 4, 5, 6 */
    .b-4, .b-5, .b-6 { padding: 28px; }
    .b-4 .bento-card-icon { background: linear-gradient(135deg, #FFCDD2, #EF5350); color: #fff; }
    .b-5 .bento-card-icon { background: linear-gradient(135deg, #C5E1A5, #689F38); color: #fff; }
    .b-6 .bento-card-icon { background: linear-gradient(135deg, #B39DDB, #7E57C2); color: #fff; }

    /* Sticky scrollytelling journey */
    .journey {
      --journey-progress: 0;
      position: relative;
      height: 520vh;
      max-width: 1120px;
      margin: 0 auto;
    }
    .journey-stage {
      position: sticky;
      top: 96px;
      height: calc(100vh - 116px);
      min-height: 640px;
      display: grid;
      grid-template-columns: 44px minmax(0, .9fr) minmax(440px, 1.08fr);
      gap: 32px;
      align-items: center;
      padding: 32px;
      border: 1px solid color-mix(in srgb, var(--teal-300), transparent 45%);
      border-radius: var(--radius-xl);
      background:
        radial-gradient(circle at 72% 44%, color-mix(in srgb, var(--teal-200), transparent 40%), transparent 34%),
        radial-gradient(circle at 86% 18%, color-mix(in srgb, var(--gold-300), transparent 46%), transparent 28%),
        color-mix(in srgb, var(--white), transparent 4%);
      box-shadow: var(--shadow-xl);
      overflow: hidden;
      isolation: isolate;
    }
    .journey-stage::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(45,184,184,.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45,184,184,.055) 1px, transparent 1px);
      background-size: 28px 28px;
      mask-image: radial-gradient(ellipse at 70% 50%, black 20%, transparent 78%);
      z-index: -1;
    }
    .journey-progress {
      position: relative;
      align-self: stretch;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
      padding: 6px 0;
    }
    .journey-progress::before,
    .journey-progress-fill {
      content: '';
      position: absolute;
      top: 22px;
      bottom: 22px;
      left: 50%;
      width: 3px;
      transform: translateX(-50%);
      border-radius: 20px;
      background: var(--line);
    }
    .journey-progress-fill {
      bottom: auto;
      height: calc((100% - 44px) * var(--journey-progress));
      background: linear-gradient(180deg, var(--teal-400), var(--gold-400));
      box-shadow: var(--shadow-glow);
    }
    .journey-progress button {
      position: relative;
      z-index: 1;
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background: var(--white);
      border: 1px solid var(--line);
      color: var(--muted);
      font-family: var(--font-en);
      font-weight: 800;
      font-size: .72rem;
      box-shadow: var(--shadow-xs);
      transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
    }
    .journey-progress button.active {
      transform: scale(1.14);
      background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
      color: #fff;
      border-color: transparent;
    }
    .journey-copy-stack {
      position: relative;
      min-height: 430px;
    }
    .journey-step {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      opacity: 0;
      transform: translateY(28px) scale(.98);
      pointer-events: none;
      transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
    }
    .journey-step.active {
      opacity: 1;
      transform: translateY(0) scale(1);
      pointer-events: auto;
    }
    .journey-step::before {
      content: attr(data-step);
      position: absolute;
      top: -48px;
      left: -8px;
      font-family: var(--font-en);
      font-size: clamp(5rem, 10vw, 8.5rem);
      line-height: 1;
      font-weight: 800;
      color: color-mix(in srgb, var(--teal-200), transparent 32%);
      z-index: -1;
    }
    .journey-kicker {
      display: inline-flex;
      margin-bottom: 14px;
      padding: 6px 12px;
      border-radius: 50px;
      font-size: .72rem;
      font-weight: 800;
      color: var(--teal-700);
      background: var(--teal-50);
    }
    .journey-copy h3 {
      max-width: 520px;
      font-size: clamp(1.4rem, 2.6vw, 2.2rem);
      line-height: 1.2;
      font-weight: 900;
      color: var(--ink);
      margin-bottom: 14px;
    }
    .journey-copy p {
      max-width: 540px;
      color: var(--muted);
      line-height: 1.75;
      margin-bottom: 18px;
    }
    .journey-copy ul {
      display: grid;
      gap: 8px;
    }
    .journey-copy li {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: .9rem;
      color: var(--ink-2);
      font-weight: 600;
    }
    .journey-copy li::before {
      content: '';
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--gold-400);
      box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold-400), transparent 78%);
      flex-shrink: 0;
    }
    .journey-universe {
      position: relative;
      height: min(560px, calc(100vh - 190px));
      min-height: 470px;
      border-radius: var(--radius-xl);
      transform-style: preserve-3d;
    }
    .universe-orbit {
      position: absolute;
      inset: 9%;
      border: 1px dashed color-mix(in srgb, var(--teal-500), transparent 62%);
      border-radius: 50%;
      animation: rotate 44s linear infinite;
    }
    .orbit-2 {
      inset: 1%;
      border-color: color-mix(in srgb, var(--gold-400), transparent 58%);
      animation-duration: 70s;
      animation-direction: reverse;
    }
    .universe-core {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 164px;
      height: 164px;
      transform: translate(-50%, -50%) translateZ(44px);
      border-radius: 46px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      background: linear-gradient(135deg, var(--navy), var(--navy-2));
      color: #fff;
      box-shadow: var(--shadow-xl), 0 0 90px color-mix(in srgb, var(--teal-500), transparent 58%);
      z-index: 5;
    }
    .core-pet {
      width: 54px;
      height: 54px;
      border-radius: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
      font-size: 2rem;
      margin-bottom: 10px;
    }
    .universe-core strong { font-size: 1.1rem; }
    .universe-core small { color: var(--teal-300); font-family: var(--font-mono); font-size: .68rem; margin-top: 4px; }
    .data-node {
      position: absolute;
      z-index: 4;
      min-width: 118px;
      padding: 12px 14px;
      border-radius: 18px;
      background: color-mix(in srgb, var(--white), transparent 8%);
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
      opacity: .45;
      transform: scale(.92);
      transition: opacity .45s var(--ease), transform .45s var(--ease), border-color .45s var(--ease);
    }
    .data-node span {
      display: block;
      font-size: .7rem;
      color: var(--muted);
      font-weight: 800;
      margin-bottom: 3px;
    }
    .data-node b {
      display: block;
      color: var(--ink);
      font-size: .92rem;
      white-space: nowrap;
    }
    .data-node.active {
      opacity: 1;
      transform: scale(1.04);
      border-color: var(--teal-300);
      box-shadow: var(--shadow-lg);
    }
    .node-id { top: 7%; left: 13%; }
    .node-health { top: 10%; right: 11%; }
    .node-clinic { top: 44%; right: 1%; }
    .node-finance { bottom: 11%; right: 14%; }
    .node-insight { bottom: 9%; left: 10%; }
    .story-visual {
      position: absolute;
      inset: 9% 6%;
      border-radius: var(--radius-lg);
      background:
        linear-gradient(rgba(255,255,255,.72), rgba(255,255,255,.72)),
        linear-gradient(135deg, var(--teal-50), var(--cream));
      border: 1px solid var(--line);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.7), var(--shadow);
      overflow: hidden;
      opacity: 0;
      transform: translateY(24px) scale(.96) rotateX(4deg);
      transition: opacity .55s var(--ease), transform .55s var(--ease);
    }
    .story-visual.active {
      opacity: 1;
      transform: translateY(0) scale(1) rotateX(0);
    }
    .story-visual::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(45,184,184,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45,184,184,.06) 1px, transparent 1px);
      background-size: 22px 22px;
    }
    .scene-pet-card, .scene-record, .scene-loan, .scene-insurance, .scene-insight, .scene-alert {
      position: relative;
      z-index: 1;
      border: 1px solid var(--line);
      border-radius: 16px;
      background: var(--white);
      box-shadow: var(--shadow-sm);
    }
    .scene-pet-card {
      width: 76%;
      margin: 52px auto 0;
      padding: 22px;
      background: linear-gradient(135deg, var(--navy), var(--navy-2));
      color: #fff;
      transform: translateZ(28px) rotate(-2deg);
    }
    .scene-pet-card span, .scene-pet-card small { display: block; color: rgba(255,255,255,.62); }
    .scene-pet-card strong { display: block; font-size: 1.8rem; margin: 8px 0 2px; }
    .scene-scan-grid {
      position: absolute;
      inset: 28px;
      border: 2px solid var(--teal-400);
      border-radius: 18px;
      opacity: .28;
    }
    .scene-chart {
      position: absolute;
      left: 36px;
      right: 36px;
      bottom: 72px;
      height: 160px;
      display: flex;
      align-items: flex-end;
      gap: 12px;
      z-index: 1;
    }
    .scene-chart i {
      flex: 1;
      border-radius: 12px 12px 4px 4px;
      background: linear-gradient(180deg, var(--teal-300), var(--teal-600));
      box-shadow: 0 12px 28px color-mix(in srgb, var(--teal-500), transparent 72%);
    }
    .scene-alert {
      position: absolute;
      top: 34px;
      right: 30px;
      padding: 12px 16px;
      color: var(--teal-700);
      font-weight: 800;
      z-index: 2;
    }
    .visual-clinic {
      display: grid;
      align-content: center;
      gap: 14px;
      padding: 30px;
    }
    .scene-record {
      padding: 16px 18px;
      display: flex;
      justify-content: space-between;
      gap: 14px;
      align-items: center;
    }
    .scene-record b { color: var(--ink); }
    .scene-record span { color: var(--muted); font-size: .82rem; }
    .visual-finance { padding: 36px; display: grid; align-content: center; gap: 18px; }
    .scene-loan, .scene-insurance { padding: 22px; }
    .scene-loan { background: linear-gradient(135deg, var(--teal-500), var(--teal-700)); color: #fff; }
    .scene-insurance { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: #fff; margin-left: 42px; }
    .scene-loan span, .scene-insurance span { display: block; opacity: .76; font-size: .82rem; }
    .scene-loan strong, .scene-insurance strong { display: block; margin-top: 4px; font-size: 1.15rem; }
    .visual-insight { padding: 34px; display: grid; align-content: center; gap: 14px; }
    .scene-insight { padding: 16px 18px; font-weight: 800; color: var(--ink); }
    .scene-insight.main {
      background: linear-gradient(135deg, var(--navy), var(--navy-2));
      color: #fff;
      transform: translateX(26px);
    }

    /* ═══════════════════════════════════════════════════════════
       FLOW SECTION
       ═══════════════════════════════════════════════════════════ */
    .flow {
      background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%);
    }
    .flow-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      position: relative;
    }
    .flow-grid::before {
      content: ''; position: absolute;
      top: 60px; left: 12%; right: 12%;
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--teal-300) 20%, var(--teal-300) 80%, transparent);
      z-index: 0;
    }
    .flow-step {
      position: relative;
      background: var(--white);
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      padding: 36px 28px 28px;
      text-align: center;
      transition: all .4s var(--ease);
    }
    .flow-step:hover {
      transform: translateY(-6px);
      border-color: var(--teal-300);
      box-shadow: var(--shadow);
    }
    .flow-step-num {
      width: 56px; height: 56px;
      margin: 0 auto 20px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--teal-400), var(--teal-700));
      color: #fff;
      font-family: var(--font-en);
      font-size: 1.5rem;
      font-weight: 800;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 8px 24px color-mix(in srgb, var(--teal-500), transparent 60%);
      position: relative;
    }
    .flow-step-num::after {
      content: '';
      position: absolute; inset: -6px;
      border-radius: 50%;
      border: 2px solid color-mix(in srgb, var(--teal-300), transparent 60%);
    }
    .flow-step h3 {
      font-size: 1.15rem; font-weight: 800;
      color: var(--ink); margin-bottom: 10px;
    }
    .flow-step p {
      font-size: .9rem; color: var(--muted);
      line-height: 1.65;
    }
    .flow-step-meta {
      display: inline-flex; align-items: center; gap: 6px;
      margin-top: 16px;
      padding: 6px 12px;
      font-size: .72rem;
      font-weight: 600;
      color: var(--teal-700);
      background: var(--teal-50);
      border-radius: 50px;
    }

    .flow-product {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      align-items: stretch;
    }
    .flow-screen {
      display: flex;
      flex-direction: column;
      gap: 18px;
      min-width: 0;
    }
    .flow-device {
      position: relative;
      min-height: 380px;
      border-radius: var(--radius-lg);
      background: linear-gradient(145deg, #152B35, #0D1A20);
      box-shadow: var(--shadow-xl);
      border: 1px solid color-mix(in srgb, var(--teal-300), transparent 72%);
      overflow: hidden;
      padding: 22px;
      transform: perspective(1000px) rotateX(3deg);
      transition: transform .5s var(--ease);
    }
    .flow-device:hover { transform: perspective(1000px) rotateX(0deg) translateY(-6px); }
    .flow-device.mobile {
      max-width: 260px;
      margin: 0 auto;
      border-radius: 38px;
      padding: 44px 16px 18px;
    }
    .flow-device-bar {
      position: absolute;
      top: 16px;
      left: 50%;
      width: 74px;
      height: 18px;
      transform: translateX(-50%);
      border-radius: 40px;
      background: #000;
    }
    .flow-scan-card, .flow-fin-alert {
      height: 100%;
      border-radius: 24px;
      padding: 18px;
      background: rgba(255,255,255,.06);
      border: 1px solid rgba(255,255,255,.08);
      color: #fff;
    }
    .flow-scan-card span, .flow-fin-alert span {
      display: block;
      color: var(--teal-300);
      font-family: var(--font-en);
      font-size: .72rem;
      font-weight: 800;
      letter-spacing: .08em;
      margin-bottom: 8px;
    }
    .flow-scan-card h3 { font-size: 1.15rem; margin-bottom: 18px; }
    .flow-photo-target {
      height: 138px;
      border-radius: 22px;
      border: 2px solid var(--teal-400);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 4rem;
      background:
        linear-gradient(transparent, transparent),
        repeating-linear-gradient(0deg, rgba(60,200,200,.12), rgba(60,200,200,.12) 1px, transparent 1px, transparent 14px);
      margin-bottom: 16px;
    }
    .flow-progress {
      height: 7px;
      border-radius: 8px;
      background: rgba(255,255,255,.08);
      overflow: hidden;
      margin-bottom: 14px;
    }
    .flow-progress i {
      display: block;
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, var(--teal-300), var(--gold-400));
    }
    .flow-scan-card p, .flow-fin-alert p { color: rgba(255,255,255,.68); font-size: .8rem; line-height: 1.55; }
    .flow-device.dashboard {
      padding: 52px 22px 22px;
      min-height: 330px;
      margin-top: 32px;
    }
    .flow-device-top {
      position: absolute;
      top: 18px;
      left: 22px;
      right: 22px;
      display: flex;
      gap: 8px;
      padding-bottom: 14px;
      border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .flow-device-top span {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--teal-400);
    }
    .flow-device-top span:nth-child(2) { background: var(--gold-400); }
    .flow-device-top span:nth-child(3) { background: rgba(255,255,255,.28); }
    .flow-dashboard-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }
    .dash-card {
      min-height: 86px;
      border-radius: 18px;
      padding: 14px;
      background: rgba(255,255,255,.06);
      border: 1px solid rgba(255,255,255,.08);
      color: #fff;
    }
    .dash-card.wide { grid-column: span 2; }
    .dash-card b { display: block; font-size: .76rem; color: rgba(255,255,255,.66); margin-bottom: 10px; }
    .dash-card strong { font-family: var(--font-en); font-size: 1.4rem; }
    .dash-card > i {
      display: block;
      height: 8px;
      width: 76%;
      border-radius: 8px;
      background: linear-gradient(90deg, var(--teal-300), var(--teal-500));
    }
    .dash-card.chart {
      display: flex;
      align-items: flex-end;
      gap: 8px;
    }
    .dash-card.chart i {
      flex: 1;
      width: auto;
      border-radius: 8px 8px 2px 2px;
      background: linear-gradient(180deg, var(--gold-300), var(--gold-600));
    }
    .dash-card.chart i:nth-child(1) { height: 34%; }
    .dash-card.chart i:nth-child(2) { height: 58%; }
    .dash-card.chart i:nth-child(3) { height: 44%; }
    .dash-card.chart i:nth-child(4) { height: 76%; }
    .flow-fin-alert {
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .flow-fin-alert strong {
      display: block;
      font-family: var(--font-en);
      font-size: 2rem;
      margin-bottom: 12px;
    }
    .flow-fin-alert button {
      margin-top: 22px;
      padding: 12px 14px;
      border-radius: 50px;
      background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
      color: #fff;
      font-weight: 800;
    }
    .flow-caption {
      text-align: center;
    }
    .flow-caption span {
      display: inline-flex;
      padding: 5px 10px;
      border-radius: 50px;
      color: var(--teal-700);
      background: var(--teal-50);
      font-size: .72rem;
      font-weight: 800;
      margin-bottom: 8px;
    }
    .flow-caption strong {
      display: block;
      color: var(--ink);
      font-size: 1.05rem;
    }

    /* ═══════════════════════════════════════════════════════════
       DEEP DIVE — split with tabs
       ═══════════════════════════════════════════════════════════ */
    .deepdive {
      background: var(--white);
    }
    .deepdive-grid {
      display: grid;
      grid-template-columns: 1fr 1.1fr;
      gap: 80px;
      align-items: center;
    }
    .deepdive-tabs {
      display: flex; flex-direction: column; gap: 12px;
    }
    .deepdive-tab {
      text-align: left;
      padding: 20px 24px;
      background: var(--bg);
      border: 1px solid transparent;
      border-radius: var(--radius);
      cursor: pointer;
      transition: all .3s var(--ease);
      display: flex; align-items: flex-start; gap: 16px;
    }
    .deepdive-tab:hover { background: var(--teal-50); }
    .deepdive-tab.active {
      background: var(--white);
      border-color: var(--teal-200);
      box-shadow: var(--shadow);
    }
    .deepdive-tab-icon {
      width: 44px; height: 44px;
      border-radius: 12px;
      background: var(--white);
      border: 1px solid var(--line);
      display: flex; align-items: center; justify-content: center;
      color: var(--muted);
      flex-shrink: 0;
      transition: all .3s var(--ease);
    }
    .deepdive-tab.active .deepdive-tab-icon {
      background: var(--teal-500);
      color: #fff;
      border-color: var(--teal-500);
    }
    .deepdive-tab h4 {
      font-size: 1rem;
      font-weight: 800;
      color: var(--ink);
      margin-bottom: 4px;
    }
    .deepdive-tab p {
      font-size: .85rem;
      color: var(--muted);
      line-height: 1.5;
    }

    .deepdive-canvas {
      position: relative;
      background: linear-gradient(135deg, var(--teal-50) 0%, var(--cream) 100%);
      border: 1px solid var(--line);
      border-radius: var(--radius-xl);
      padding: 40px;
      min-height: 520px;
      display: flex; align-items: center; justify-content: center;
      overflow: hidden;
    }
    .deepdive-canvas::before {
      content: ''; position: absolute; inset: 0;
      background-image:
        linear-gradient(rgba(45,184,184,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45,184,184,.05) 1px, transparent 1px);
      background-size: 24px 24px;
    }

    .panel {
      position: absolute; inset: 40px;
      display: none;
      flex-direction: column;
      gap: 16px;
      animation: panelIn .5s var(--ease);
    }
    .panel.active { display: flex; }
    @keyframes panelIn {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .panel-card {
      background: var(--white);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 20px;
      box-shadow: var(--shadow-sm);
    }
    .panel-card-head {
      display: flex; justify-content: space-between; align-items: center;
      margin-bottom: 14px;
    }
    .panel-card-head h5 {
      font-size: .92rem; font-weight: 700; color: var(--ink);
    }
    .panel-card-head .badge {
      font-size: .68rem;
      font-weight: 700;
      padding: 3px 10px;
      border-radius: 50px;
      background: var(--teal-50);
      color: var(--teal-700);
    }

    .chart-large {
      height: 140px;
      display: flex; align-items: flex-end; gap: 6px;
    }
    .chart-bar {
      flex: 1;
      background: linear-gradient(180deg, var(--teal-300) 0%, var(--teal-500) 100%);
      border-radius: 6px 6px 0 0;
      position: relative;
      animation: barRise .8s var(--ease) backwards;
    }
    .chart-bar.alert { background: linear-gradient(180deg, var(--gold-300) 0%, var(--gold-500) 100%); }
    .chart-bar::after {
      content: attr(data-val);
      position: absolute; top: -22px; left: 50%;
      transform: translateX(-50%);
      font-family: var(--font-en);
      font-size: .65rem; font-weight: 700;
      color: var(--ink-2);
    }
    @keyframes barRise {
      from { height: 0 !important; opacity: 0; }
    }
    .chart-bar:nth-child(1) { animation-delay: 0s; }
    .chart-bar:nth-child(2) { animation-delay: .05s; }
    .chart-bar:nth-child(3) { animation-delay: .1s; }
    .chart-bar:nth-child(4) { animation-delay: .15s; }
    .chart-bar:nth-child(5) { animation-delay: .2s; }
    .chart-bar:nth-child(6) { animation-delay: .25s; }
    .chart-bar:nth-child(7) { animation-delay: .3s; }

    .chart-labels {
      display: flex; gap: 6px;
      margin-top: 8px;
    }
    .chart-labels span {
      flex: 1; text-align: center;
      font-size: .64rem; color: var(--muted);
    }

    .panel-stats {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 10px;
    }
    .panel-stat {
      background: var(--bg);
      padding: 12px;
      border-radius: 12px;
      text-align: center;
    }
    .panel-stat-val {
      font-family: var(--font-en);
      font-size: 1.1rem; font-weight: 800;
      color: var(--ink);
    }
    .panel-stat-lbl {
      font-size: .65rem; color: var(--muted);
      margin-top: 2px;
    }

    .timeline {
      display: flex; flex-direction: column; gap: 14px;
    }
    .timeline-item {
      display: flex; gap: 14px; align-items: flex-start;
    }
    .timeline-dot {
      width: 28px; height: 28px;
      border-radius: 50%;
      background: var(--teal-100);
      color: var(--teal-700);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      font-size: .82rem;
    }
    .timeline-item.alert .timeline-dot { background: #FFE0B2; color: var(--gold-600); }
    .timeline-content { flex: 1; }
    .timeline-content h6 {
      font-size: .82rem; font-weight: 700;
      color: var(--ink); margin-bottom: 2px;
    }
    .timeline-content p {
      font-size: .72rem; color: var(--muted);
    }
    .timeline-content time {
      font-size: .66rem; color: var(--muted-2);
      font-family: var(--font-en);
    }

    /* AI scan panel */
    .ai-scan-canvas {
      background: linear-gradient(135deg, var(--navy), var(--navy-2));
      border-radius: var(--radius);
      padding: 28px;
      min-height: 380px;
      position: relative; overflow: hidden;
    }
    .ai-scan-canvas::before {
      content: '';
      position: absolute; inset: 0;
      background:
        repeating-linear-gradient(0deg,
          rgba(60,200,200,.08) 0px,
          rgba(60,200,200,.08) 1px,
          transparent 1px,
          transparent 20px);
    }
    .ai-photo-frame {
      width: 180px; height: 180px;
      margin: 0 auto 20px;
      border: 2px solid var(--teal-400);
      border-radius: var(--radius);
      position: relative;
      background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
      display: flex; align-items: center; justify-content: center;
      font-size: 5rem;
      overflow: hidden;
    }
    .ai-photo-frame::before {
      content: '';
      position: absolute; top: 0; left: 0; right: 0;
      height: 3px;
      background: linear-gradient(90deg, transparent, var(--teal-300), transparent);
      animation: scanline 2.5s linear infinite;
    }
    @keyframes scanline {
      0%   { top: 0; }
      100% { top: 100%; }
    }
    .ai-photo-corners > span {
      position: absolute;
      width: 16px; height: 16px;
      border: 2.5px solid var(--teal-400);
    }
    .ai-photo-corners > span:nth-child(1) { top: -2px; left: -2px;  border-right: none; border-bottom: none; }
    .ai-photo-corners > span:nth-child(2) { top: -2px; right: -2px; border-left: none;  border-bottom: none; }
    .ai-photo-corners > span:nth-child(3) { bottom: -2px; left: -2px;  border-right: none; border-top: none; }
    .ai-photo-corners > span:nth-child(4) { bottom: -2px; right: -2px; border-left: none;  border-top: none; }

    .ai-result {
      background: rgba(255,255,255,.04);
      border: 1px solid rgba(60,200,200,.2);
      border-radius: 12px;
      padding: 14px;
      color: #fff;
      position: relative;
      z-index: 1;
    }
    .ai-result-row {
      display: flex; justify-content: space-between;
      padding: 6px 0;
      font-size: .8rem;
      border-bottom: 1px solid rgba(255,255,255,.05);
    }
    .ai-result-row:last-child { border-bottom: none; }
    .ai-result-row span:first-child  { color: rgba(255,255,255,.6); }
    .ai-result-row span:last-child   { color: var(--teal-300); font-family: var(--font-en); font-weight: 600; }

    .visual-panel {
      min-height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .nutrition-map {
      display: grid;
      grid-template-columns: 150px 1fr;
      gap: 24px;
      align-items: center;
    }
    .nutrition-ring {
      width: 150px;
      aspect-ratio: 1;
      border-radius: 50%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      background:
        radial-gradient(circle at center, var(--white) 56%, transparent 58%),
        conic-gradient(var(--teal-500) 0 76%, var(--gold-400) 76% 88%, var(--line) 88% 100%);
      box-shadow: var(--shadow-sm);
    }
    .nutrition-ring span {
      font-family: var(--font-en);
      font-size: 2rem;
      font-weight: 800;
      color: var(--ink);
    }
    .nutrition-ring small { color: var(--muted); font-weight: 700; }
    .nutrition-bars { display: grid; gap: 16px; }
    .nutrition-bars div {
      display: grid;
      grid-template-columns: 64px 1fr;
      gap: 12px;
      align-items: center;
      font-size: .78rem;
      color: var(--muted);
      font-weight: 700;
    }
    .nutrition-bars i {
      height: 11px;
      border-radius: 20px;
      background: linear-gradient(90deg, var(--teal-300), var(--teal-600));
      box-shadow: 0 8px 20px color-mix(in srgb, var(--teal-500), transparent 74%);
    }
    .nutrition-bars i.warn { background: linear-gradient(90deg, var(--gold-300), var(--gold-600)); }
    .vitals-board {
      display: grid;
      grid-template-columns: 160px 1fr;
      gap: 22px;
      align-items: center;
    }
    .vital-gauge {
      width: 160px;
      aspect-ratio: 1;
      border-radius: 34px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, var(--navy), var(--navy-2));
      color: #fff;
      box-shadow: var(--shadow);
    }
    .vital-gauge span {
      font-family: var(--font-en);
      font-size: 2.6rem;
      font-weight: 800;
      line-height: 1;
    }
    .vital-gauge small { color: var(--teal-300); margin-top: 8px; font-weight: 700; }
    .vital-list { display: grid; gap: 12px; }
    .vital-list div {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      padding: 14px;
      border-radius: 14px;
      background: var(--bg);
      color: var(--ink);
    }
    .vital-list span { font-family: var(--font-en); font-weight: 800; color: var(--teal-700); }
    .vital-list .warn span { color: var(--gold-600); }
    .record-flow {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 220px;
    }
    .record-node {
      width: 86px;
      height: 86px;
      border-radius: 24px;
      background: var(--white);
      border: 1px solid var(--line);
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: var(--ink);
      font-size: .82rem;
      font-weight: 800;
      box-shadow: var(--shadow-sm);
    }
    .record-node.active {
      width: 110px;
      height: 110px;
      background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
      color: #fff;
      box-shadow: var(--shadow-glow);
    }
    .record-link {
      width: 38px;
      height: 2px;
      background: linear-gradient(90deg, var(--teal-200), var(--gold-300));
    }
    .record-summary {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
    }
    .record-summary span {
      padding: 12px;
      border-radius: 12px;
      text-align: center;
      background: var(--bg);
      color: var(--teal-700);
      font-family: var(--font-en);
      font-weight: 800;
    }
    .ai-pipeline {
      display: grid;
      grid-template-columns: 180px 44px 1fr;
      align-items: center;
      gap: 18px;
      position: relative;
      z-index: 1;
      margin-bottom: 20px;
    }
    .ai-pipeline .ai-photo-frame { margin: 0; }
    .ai-pipe-arrow {
      height: 2px;
      background: var(--teal-300);
      position: relative;
    }
    .ai-pipe-arrow::after {
      content: '';
      position: absolute;
      right: -2px;
      top: 50%;
      width: 10px;
      height: 10px;
      border-top: 2px solid var(--teal-300);
      border-right: 2px solid var(--teal-300);
      transform: translateY(-50%) rotate(45deg);
    }
    .ai-id-output {
      border-radius: 18px;
      padding: 20px;
      background: rgba(255,255,255,.06);
      border: 1px solid rgba(60,200,200,.2);
      color: #fff;
    }
    .ai-id-output span {
      display: block;
      color: var(--teal-300);
      font-size: .72rem;
      font-weight: 800;
      letter-spacing: .12em;
      margin-bottom: 8px;
    }
    .ai-id-output strong {
      display: block;
      font-family: var(--font-mono);
      letter-spacing: .08em;
      margin-bottom: 8px;
    }
    .ai-id-output small { color: rgba(255,255,255,.6); }

    /* ═══════════════════════════════════════════════════════════
       PET ID SECTION
       ═══════════════════════════════════════════════════════════ */
    /* ═══════════════════════════════════════════════════════════
       Pet ID 卡片（翻片設計） */
    .petid-flip-hint {
      display: inline-flex;
      margin: 0 0 16px 0;
      padding: 8px 16px;
      border-radius: 50px;
      background: linear-gradient(135deg, rgba(45, 184, 184, 0.1), rgba(245, 185, 66, 0.1));
      color: var(--teal-600);
      font-size: .78rem;
      font-weight: 800;
      box-shadow: 0 2px 8px rgba(45, 184, 184, 0.08);
      border: 1px solid rgba(45, 184, 184, 0.2);
      cursor: pointer;
      transition: all 0.3s var(--ease);
      letter-spacing: 0.5px;
    }
    .petid-flip-hint:hover {
      background: linear-gradient(135deg, rgba(45, 184, 184, 0.15), rgba(245, 185, 66, 0.15));
      box-shadow: 0 4px 16px rgba(45, 184, 184, 0.15);
      transform: translateY(-2px);
    }

    .petid-card-wrap {
      perspective: 1200px;
      transform-style: preserve-3d;
      filter: drop-shadow(0 40px 100px rgba(15,42,53,.15));
      margin-bottom: 20px;
    }

    .petid-card-flipper {
      position: relative;
      display: block;
      width: 100%;
      min-height: 640px;
      transform-style: preserve-3d;
      transition: transform .8s var(--ease);
      text-align: left;
      color: inherit;
      cursor: pointer;
    }

    .petid-card-flipper.is-flipped { 
      transform: rotateY(180deg); 
    }

    .petid-card {
      position: absolute;
      inset: 0;
      min-height: 640px;
      background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
      border-radius: var(--radius-xl);
      padding: 48px;
      color: #fff;
      box-shadow: 0 40px 100px rgba(15,42,53,.15);
      overflow: hidden;
      transform: rotate(-0.5deg);
      transition: transform .6s var(--ease), box-shadow 0.6s var(--ease);
      border: 1px solid rgba(45, 184, 184, 0.1);
      backface-visibility: hidden;
      display: block;
    }

    .petid-card:hover { 
      transform: rotate(0deg);
      box-shadow: 0 50px 120px rgba(45,184,184,.2);
    }

    .petid-card-back {
      transform: rotateY(180deg) !important;
      background: linear-gradient(135deg, var(--teal-700) 0%, var(--teal-800) 50%, var(--navy-2) 100%);
    }

    .petid-card::before {
      content: '';
      position: absolute;
      top: -150px; right: -150px;
      width: 500px; height: 500px;
      background: radial-gradient(circle, rgba(45,184,184,.25), transparent 70%);
      pointer-events: none;
      animation: float 8s ease-in-out infinite;
    }

    @keyframes float {
      0%, 100% { transform: translate(0, 0); }
      50% { transform: translate(-20px, 20px); }
    }

    .petid-card-head {
      display: flex; 
      justify-content: space-between; 
      align-items: center;
      padding-bottom: 28px;
      border-bottom: 1px solid rgba(45,184,184,.2);
      margin-bottom: 28px;
    }

    .petid-card-brand {
      font-family: var(--font-en);
      font-size: .85rem;
      letter-spacing: .15em;
      color: var(--teal-200);
      font-weight: 800;
    }

    .petid-card-chip {
      width: 42px; height: 32px;
      border-radius: 8px;
      background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 4px 16px rgba(245,185,66,.3);
    }

    .petid-card-id {
      font-family: var(--font-mono);
      font-size: 1.4rem;
      letter-spacing: .25em;
      margin-bottom: 28px;
      color: #fff;
      font-weight: 700;
    }

    .petid-card-pet {
      display: flex; 
      align-items: center; 
      gap: 18px;
      margin-bottom: 28px;
      padding-bottom: 28px;
      border-bottom: 1px solid rgba(45,184,184,.15);
    }

    .petid-card-avatar {
      width: 80px; height: 80px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
      display: flex; align-items: center; justify-content: center;
      font-size: 2.2rem;
      box-shadow: 0 12px 32px rgba(245,185,66,.35), inset 0 -2px 8px rgba(0,0,0,.1);
      flex-shrink: 0;
      border: 2px solid rgba(255,255,255,.1);
    }

    .petid-card-pet h4, 
    .petid-card-name {
      display: block;
      font-size: 1.5rem; 
      font-weight: 900;
      color: #fff; 
      margin-bottom: 4px;
      letter-spacing: -0.3px;
    }

    .petid-card-pet p, 
    .petid-card-meta {
      display: block;
      font-size: .85rem; 
      color: rgba(255,255,255,.6);
      font-weight: 500;
    }

    .petid-card-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
      margin-bottom: 0;
    }

    .petid-card-field {
      padding: 12px 16px;
      background: linear-gradient(135deg, rgba(45,184,184,.1), rgba(245,185,66,.05));
      border: 1px solid rgba(45,184,184,.2);
      border-radius: 12px;
      transition: all 0.3s var(--ease);
    }

    .petid-card-field:hover {
      background: linear-gradient(135deg, rgba(45,184,184,.15), rgba(245,185,66,.1));
      border-color: rgba(45,184,184,.4);
    }

    .petid-card-field-label {
      font-size: .68rem;
      color: rgba(255,255,255,.5);
      text-transform: uppercase;
      letter-spacing: .1em;
      margin-bottom: 6px;
      font-weight: 700;
    }

    .petid-card-field-value {
      font-size: .95rem;
      color: #fff;
      font-weight: 700;
    }

    .petid-card-foot {
      display: flex; 
      justify-content: space-between; 
      align-items: center;
      padding-top: 24px;
      border-top: 1px solid rgba(45,184,184,.2);
      margin-top: 24px;
    }

    .petid-verified {
      display: flex; 
      align-items: center; 
      gap: 8px;
      font-size: .84rem;
      color: var(--teal-200);
      font-weight: 600;
    }

    .petid-verified-dot {
      width: 8px; height: 8px;
      border-radius: 50%;
      background: var(--teal-300);
      box-shadow: 0 0 12px var(--teal-300);
      animation: pulse 2s ease-in-out infinite;
    }

    .petid-qr {
      width: 60px; height: 60px;
      background: #fff;
      border-radius: 12px;
      padding: 4px;
      box-shadow: 0 4px 16px rgba(0,0,0,.2);
    }

    .petid-back-title {
      display: block;
      font-size: 1.6rem;
      color: #fff;
      font-weight: 900;
      margin-bottom: 14px;
      letter-spacing: -0.3px;
    }

    .petid-back-copy {
      display: block;
      color: rgba(255,255,255,.75);
      line-height: 1.8;
      margin-bottom: 26px;
      font-size: 0.95rem;
    }

    .petid-back-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px;
    }

    .petid-back-grid > span {
      display: block;
      min-height: 120px;
      padding: 18px;
      border-radius: 16px;
      background: linear-gradient(135deg, rgba(45,184,184,.15), rgba(255,255,255,.05));
      border: 1px solid rgba(45,184,184,.25);
      transition: all 0.3s var(--ease);
    }

    .petid-back-grid > span:hover {
      background: linear-gradient(135deg, rgba(45,184,184,.25), rgba(255,255,255,.1));
      border-color: rgba(45,184,184,.4);
      transform: translateY(-2px);
    }

    .petid-back-grid b {
      display: block;
      color: var(--gold-200);
      font-size: .95rem;
      margin-bottom: 8px;
      font-weight: 700;
    }

    .petid-back-grid small {
      display: block;
      color: rgba(255,255,255,.65);
      line-height: 1.6;
      font-size: .8rem;
    }

    .petid-back-foot {
      display: inline-flex;
      margin-top: 24px;
      padding: 8px 14px;
      border-radius: 50px;
      background: rgba(45,184,184,.15);
      color: var(--teal-100);
      font-size: .78rem;
      font-weight: 800;
      border: 1px solid rgba(45,184,184,.3);
      letter-spacing: 0.5px;
    }

    /* ═══════════════════════════════════════════════════════════
       Pet ID Points（簡潔設計） */
    .petid-points { 
      display: flex; 
      flex-direction: column; 
      gap: 16px; 
      margin-top: 40px; 
    }
    .petid-point {
      display: flex; 
      gap: 16px; 
      align-items: flex-start;
      padding: 20px 24px;
      background: linear-gradient(135deg, var(--white), var(--off));
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      transition: all 0.3s var(--ease);
      border-left: 4px solid var(--teal-500);
    }
    .petid-point:hover {
      transform: translateX(8px);
      box-shadow: var(--shadow);
      border-left-color: var(--teal-600);
    }
    .petid-point-icon {
      width: 20px;
      color: var(--teal-500);
      flex-shrink: 0;
      margin-top: 2px;
    }
    .petid-point h4 {
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 4px;
      color: var(--ink);
    }
    .petid-point p {
      font-size: 0.9rem;
      color: var(--muted);
      line-height: 1.5;
      margin: 0;
    }

    /* ═══════════════════════════════════════════════════════════
       響應式調整 */
    @media (max-width: 1024px) {
      .petid-grid {
        grid-template-columns: 1fr;
        gap: 60px;
      }
    }
    
    .petid {
      background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
      padding: 120px 0;
    }
    .petid-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }
      position: sticky;
      top: 100px;
      z-index: 10;
      margin-bottom: 80px;
      padding: 32px;
      background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(244,248,248,.95));
      border-radius: var(--radius-lg);
      border: 1px solid var(--line);
      box-shadow: 0 10px 40px rgba(15,42,53,.08);
      backdrop-filter: blur(10px);
      animation: slideDown .6s var(--ease);
    }
    @keyframes slideDown {
      from {
        opacity: 0;
        transform: translateY(-20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
      display: flex;
      flex-direction: column;
      gap: 60px;
    }

    /* 引導文案 */
      display: flex;
      flex-direction: column;
      gap: 28px;
    }

    /* 單個功能卡片 */
      opacity: 1;
      animation: shimmer 0.6s ease-in-out;
    }
    @media (max-width: 1200px) {
      .petid-grid {
        gap: 100px;
      }
    }

    @media (max-width: 1024px) {
      .petid-grid {
        grid-template-columns: 1fr;
        gap: 60px;
      }
      .petid-header-sticky {
        position: static;
        margin-bottom: 40px;
      }
      .petid-feature-card {
        padding: 24px;
        gap: 16px;
      }
    }
      transition: all .3s var(--ease);
    }
    .petid-point:hover {
      transform: translateX(4px);
      border-color: var(--teal-300);
      box-shadow: var(--shadow);
    }
    .petid-point-icon {
      width: 40px; height: 40px;
      border-radius: 10px;
      background: var(--teal-50);
      color: var(--teal-700);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .petid-point h4 {
      font-size: .96rem; font-weight: 800;
      color: var(--ink); margin-bottom: 4px;
    }
    .petid-point p {
      font-size: .85rem; color: var(--muted);
      line-height: 1.55;
    }

    /* ═══════════════════════════════════════════════════════════
       FINTECH SECTION
       ═══════════════════════════════════════════════════════════ */
    .fintech { background: var(--white); }
    .fin-grid {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 22px;
    }
    .fin-card {
      position: relative;
      border-radius: var(--radius-lg);
      padding: 36px;
      color: #fff;
      overflow: hidden;
      min-height: 420px;
      display: flex; flex-direction: column;
      transition: transform .5s var(--ease);
    }
    .fin-card:hover { transform: translateY(-8px); }
    .fin-card::before {
      content: ''; position: absolute;
      bottom: -100px; right: -100px;
      width: 300px; height: 300px;
      border-radius: 50%;
      background: rgba(255,255,255,.06);
    }
    .fin-card::after {
      content: ''; position: absolute;
      top: -50px; right: -50px;
      width: 200px; height: 200px;
      border-radius: 50%;
      background: rgba(255,255,255,.04);
    }
    .fin-card.teal {
      background: linear-gradient(160deg, var(--teal-500) 0%, var(--teal-700) 100%);
    }
    .fin-card.gold {
      background: linear-gradient(160deg, var(--gold-400) 0%, var(--gold-600) 100%);
    }
    .fin-card.navy {
      background: linear-gradient(160deg, var(--navy-2) 0%, var(--navy) 100%);
    }

    .fin-card-icon {
      width: 60px; height: 60px;
      border-radius: 16px;
      background: rgba(255,255,255,.15);
      backdrop-filter: blur(20px);
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 24px;
      position: relative; z-index: 1;
    }
    .fin-card h3 {
      font-size: 1.4rem; font-weight: 800;
      margin-bottom: 10px;
      position: relative; z-index: 1;
    }
    .fin-card-desc {
      font-size: .9rem;
      color: rgba(255,255,255,.85);
      line-height: 1.6;
      margin-bottom: 24px;
      position: relative; z-index: 1;
    }
    .fin-card-list {
      display: flex; flex-direction: column; gap: 10px;
      margin-bottom: 24px;
      position: relative; z-index: 1;
    }
    .fin-card-list li {
      display: flex; align-items: center; gap: 10px;
      font-size: .84rem;
      color: rgba(255,255,255,.95);
    }
    .fin-card-list li svg {
      width: 16px; height: 16px;
      flex-shrink: 0;
      stroke: rgba(255,255,255,.6);
    }
    .fin-card-cta {
      margin-top: auto;
      display: inline-flex; align-items: center; gap: 6px;
      font-size: .85rem;
      font-weight: 700;
      color: #fff;
      padding: 12px 18px;
      background: rgba(255,255,255,.15);
      border-radius: 50px;
      backdrop-filter: blur(10px);
      align-self: flex-start;
      position: relative; z-index: 1;
      transition: all .3s var(--ease);
    }
    .fin-card-cta:hover { background: rgba(255,255,255,.25); transform: translateX(3px); }

    /* ═══════════════════════════════════════════════════════════
       COMPARISON TABLE
       ═══════════════════════════════════════════════════════════ */
    .compare { background: var(--bg); }
    .compare-table {
      max-width: 920px; margin: 0 auto;
      background: var(--white);
      border-radius: var(--radius-lg);
      border: 1px solid var(--line);
      overflow: hidden;
      box-shadow: var(--shadow);
    }
    .compare-row {
      display: grid;
      grid-template-columns: 1.4fr 1fr 1fr;
      align-items: center;
      padding: 18px 24px;
      border-bottom: 1px solid var(--line);
      transition: background .2s ease;
    }
    .compare-row:last-child { border-bottom: none; }
    .compare-row.head {
      background: var(--bg);
      padding: 22px 24px;
    }
    .compare-row.head > div:first-child { color: var(--muted); font-size: .82rem; font-weight: 600; }
    .compare-row.head > div:nth-child(2) { color: var(--muted); font-size: .92rem; font-weight: 700; text-align: center; }
    .compare-row.head > div:nth-child(3) {
      text-align: center;
      font-weight: 800; font-size: 1rem;
      background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    .compare-row > div:first-child {
      font-size: .94rem;
      color: var(--ink);
      font-weight: 600;
    }
    .compare-row > div:nth-child(2),
    .compare-row > div:nth-child(3) {
      text-align: center;
      font-size: .88rem;
      color: var(--muted);
    }
    .compare-row > div:nth-child(3) {
      color: var(--teal-700);
      font-weight: 700;
    }
    .compare-icon-check { color: var(--teal-500); }
    .compare-icon-x { color: var(--muted-2); }

    /* ═══════════════════════════════════════════════════════════
       PRICING
       ═══════════════════════════════════════════════════════════ */
    .pricing { background: var(--white); }
    .pricing-toggle {
      display: inline-flex;
      background: var(--bg);
      border: 1px solid var(--line);
      border-radius: 50px;
      padding: 4px;
      margin: 0 auto 56px;
    }
    .toggle-wrap {
      text-align: center;
    }
    .pricing-toggle button {
      padding: 10px 20px;
      font-size: .88rem;
      font-weight: 700;
      color: var(--muted);
      border-radius: 50px;
      transition: all .3s var(--ease);
    }
    .pricing-toggle button.active {
      background: var(--white);
      color: var(--teal-700);
      box-shadow: var(--shadow-sm);
    }
    .save-badge {
      display: inline-block;
      margin-left: 6px;
      font-size: .7rem;
      padding: 2px 8px;
      border-radius: 50px;
      background: var(--gold-400);
      color: #fff;
      font-weight: 700;
    }

    .price-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
      max-width: 1080px;
      margin: 0 auto;
    }
    .price-card {
      position: relative;
      background: var(--white);
      border: 1.5px solid var(--line);
      border-radius: var(--radius-lg);
      padding: 36px 32px;
      transition: all .4s var(--ease);
    }
    .price-card:hover {
      transform: translateY(-6px);
      border-color: var(--teal-300);
      box-shadow: var(--shadow-lg);
    }
    .price-card.featured {
      background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
      border-color: var(--navy);
      transform: scale(1.04);
    }
    .price-card.featured:hover { transform: scale(1.04) translateY(-6px); }
    .price-card.featured * { color: #fff; }
    .price-card.featured .price-feat-list svg { stroke: var(--teal-300); }
    .price-badge {
      position: absolute; top: -14px; left: 50%;
      transform: translateX(-50%);
      padding: 6px 16px;
      font-size: .72rem;
      font-weight: 800;
      background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
      color: #fff;
      border-radius: 50px;
      letter-spacing: .04em;
      box-shadow: 0 6px 16px rgba(245,185,66,.4);
    }
    .price-name {
      font-size: .85rem;
      font-weight: 700;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: .08em;
      margin-bottom: 14px;
    }
    .price-card.featured .price-name { color: var(--teal-300); }
    .price-amount { display: flex; align-items: baseline; gap: 4px; margin-bottom: 8px; }
    .price-cur {
      font-size: 1rem;
      font-weight: 700;
      color: var(--muted);
    }
    .price-num {
      font-family: var(--font-en);
      font-size: 3.4rem;
      font-weight: 800;
      color: var(--ink);
      line-height: 1;
      letter-spacing: -.03em;
    }
    .price-period {
      font-size: .9rem;
      color: var(--muted);
      margin-left: 4px;
    }
    .price-card.featured .price-period { color: rgba(255,255,255,.6); }
    .price-desc {
      font-size: .88rem;
      color: var(--muted);
      margin-bottom: 24px;
      line-height: 1.55;
    }
    .price-card.featured .price-desc { color: rgba(255,255,255,.65); }
    .price-divider {
      height: 1px;
      background: var(--line);
      margin: 0 0 24px;
    }
    .price-card.featured .price-divider { background: rgba(255,255,255,.1); }
    .price-feat-list {
      display: flex; flex-direction: column; gap: 12px;
      margin-bottom: 28px;
    }
    .price-feat-list li {
      display: flex; align-items: flex-start; gap: 10px;
      font-size: .88rem;
      color: var(--ink-2);
      line-height: 1.5;
    }
    .price-card.featured .price-feat-list li { color: rgba(255,255,255,.85); }
    .price-feat-list svg {
      width: 16px; height: 16px;
      flex-shrink: 0; margin-top: 4px;
      stroke: var(--teal-500);
    }
    .price-cta {
      display: block;
      width: 100%;
      padding: 14px;
      border-radius: 50px;
      font-weight: 700;
      font-size: .92rem;
      text-align: center;
      transition: all .3s var(--ease);
    }
    .price-cta.outline {
      background: transparent;
      border: 1.5px solid var(--line);
      color: var(--ink);
    }
    .price-cta.outline:hover {
      border-color: var(--teal-500);
      color: var(--teal-700);
    }
    .price-card.featured .price-cta.outline {
      border-color: rgba(255,255,255,.25);
      color: #fff;
    }
    .price-cta.solid {
      background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
      color: #fff;
      box-shadow: 0 6px 18px color-mix(in srgb, var(--teal-500), transparent 60%);
    }
    .price-cta.solid:hover { transform: translateY(-2px); box-shadow: 0 12px 28px color-mix(in srgb, var(--teal-500), transparent 50%); }

    /* ═══════════════════════════════════════════════════════════
       TESTIMONIALS
       ═══════════════════════════════════════════════════════════ */
    .testimonials {
      background: var(--bg);
      padding: 120px 0;
      overflow: hidden;
    }
    .testimonial-grid {
      columns: 3;
      column-gap: 22px;
    }
    @media (max-width: 900px) { .testimonial-grid { columns: 2; } }
    @media (max-width: 640px) { .testimonial-grid { columns: 1; } }
    .testimonial {
      display: inline-block;
      width: 100%;
      background: var(--white);
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      padding: 28px;
      margin-bottom: 22px;
      break-inside: avoid;
      transition: all .3s var(--ease);
    }
    .testimonial:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow);
    }
    .t-rating {
      color: var(--gold-500);
      letter-spacing: 3px;
      font-size: .92rem;
      margin-bottom: 14px;
    }
    .t-quote {
      font-size: .94rem;
      color: var(--ink-2);
      line-height: 1.65;
      margin-bottom: 20px;
    }
    .t-meta {
      display: flex; align-items: center; gap: 12px;
    }
    .t-avatar {
      width: 42px; height: 42px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--teal-300), var(--teal-500));
      display: flex; align-items: center; justify-content: center;
      color: #fff;
      font-weight: 700;
    }
    .t-info h5 { font-size: .88rem; font-weight: 700; color: var(--ink); }
    .t-info p { font-size: .75rem; color: var(--muted); }

    /* ═══════════════════════════════════════════════════════════
       FAQ
       ═══════════════════════════════════════════════════════════ */
    .faq { background: var(--white); }
    .faq-list { max-width: 820px; margin: 0 auto; }
    .faq-item {
      border-bottom: 1px solid var(--line);
    }
    .faq-q {
      width: 100%;
      display: flex; justify-content: space-between; align-items: center;
      padding: 24px 0;
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--ink);
      text-align: left;
      transition: color .3s var(--ease);
    }
    .faq-q:hover { color: var(--teal-700); }
    .faq-icon {
      width: 32px; height: 32px;
      border-radius: 50%;
      background: var(--teal-50);
      color: var(--teal-700);
      display: flex; align-items: center; justify-content: center;
      transition: all .3s var(--ease);
      flex-shrink: 0;
    }
    .faq-item.open .faq-icon {
      background: var(--teal-500);
      color: #fff;
      transform: rotate(45deg);
    }
    .faq-a {
      max-height: 0;
      overflow: hidden;
      transition: max-height .5s var(--ease);
    }
    .faq-item.open .faq-a { max-height: 400px; }
    .faq-a > div {
      padding: 0 0 28px;
      font-size: .94rem;
      color: var(--muted);
      line-height: 1.7;
      max-width: 720px;
    }

    /* ═══════════════════════════════════════════════════════════
       CTA
       ═══════════════════════════════════════════════════════════ */
    .cta {
      position: relative;
      padding: 140px 0;
      background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 50%, var(--teal-900) 100%);
      overflow: hidden;
    }
    .cta::before {
      content: '';
      position: absolute; inset: 0;
      background:
        radial-gradient(ellipse 600px 400px at 20% 30%, color-mix(in srgb, var(--teal-500), transparent 70%), transparent),
        radial-gradient(ellipse 500px 300px at 80% 70%, color-mix(in srgb, var(--gold-400), transparent 80%), transparent);
      animation: meshFloat 15s ease-in-out infinite alternate;
    }
    .cta::after {
      content: '';
      position: absolute; inset: 0;
      background-image:
        linear-gradient(rgba(60,200,200,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(60,200,200,.06) 1px, transparent 1px);
      background-size: 60px 60px;
      mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    }
    .cta-inner {
      position: relative;
      text-align: center;
      max-width: 760px;
      margin: 0 auto;
      z-index: 1;
    }
    .cta .eyebrow {
      background: rgba(255,255,255,.05);
      border-color: rgba(255,255,255,.1);
      color: var(--teal-300);
    }
    .cta h2 {
      font-size: clamp(2rem, 4.5vw, 3.6rem);
      font-weight: 900;
      color: #fff;
      line-height: 1.1;
      letter-spacing: -.02em;
      margin: 20px 0 24px;
    }
    .cta h2 .gradient-text {
      background: linear-gradient(135deg, var(--teal-300), var(--gold-300));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    .cta p {
      font-size: 1.1rem;
      color: rgba(255,255,255,.7);
      margin-bottom: 40px;
      max-width: 540px;
      margin-left: auto;
      margin-right: auto;
    }
    .cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
    .cta-store {
      display: inline-flex; align-items: center; gap: 12px;
      padding: 14px 24px;
      background: rgba(255,255,255,.08);
      border: 1px solid rgba(255,255,255,.15);
      border-radius: 16px;
      color: #fff;
      backdrop-filter: blur(20px);
      transition: all .3s var(--ease);
    }
    .cta-store:hover { background: rgba(255,255,255,.15); transform: translateY(-3px); }
    .cta-store svg { width: 28px; height: 28px; flex-shrink: 0; }
    .cta-store-text { text-align: left; }
    .cta-store-text small { display: block; font-size: .65rem; color: rgba(255,255,255,.65); }
    .cta-store-text strong { font-size: 1rem; font-weight: 700; }
    .cta-trust {
      display: flex; justify-content: center; align-items: center; gap: 24px;
      flex-wrap: wrap;
      font-size: .85rem;
      color: rgba(255,255,255,.6);
    }
    .cta-trust > span { display: flex; align-items: center; gap: 8px; }

    /* ═══════════════════════════════════════════════════════════
       FOOTER
       ═══════════════════════════════════════════════════════════ */
    footer {
      background: var(--ink);
      padding: 80px 0 32px;
      color: rgba(255,255,255,.55);
    }
    .foot-grid {
      display: grid;
      grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
      gap: 40px;
      padding-bottom: 56px;
      border-bottom: 1px solid rgba(255,255,255,.06);
    }
    .foot-brand p {
      font-size: .9rem;
      line-height: 1.7;
      margin: 20px 0 24px;
      max-width: 320px;
    }
    .foot-social { display: flex; gap: 10px; }
    .foot-social a {
      width: 38px; height: 38px;
      border-radius: 10px;
      background: rgba(255,255,255,.05);
      display: flex; align-items: center; justify-content: center;
      transition: all .3s var(--ease);
    }
    .foot-social a:hover { background: var(--teal-500); transform: translateY(-2px); }
    .foot-social svg { width: 18px; height: 18px; stroke: #fff; }

    .foot-col h5 {
      font-size: .82rem;
      font-weight: 700;
      color: #fff;
      text-transform: uppercase;
      letter-spacing: .12em;
      margin-bottom: 20px;
    }
    .foot-col ul { display: flex; flex-direction: column; gap: 12px; }
    .foot-col a {
      font-size: .9rem;
      color: rgba(255,255,255,.55);
      transition: color .2s ease;
    }
    .foot-col a:hover { color: var(--teal-300); }

    .foot-newsletter input {
      width: 100%;
      padding: 12px 16px;
      background: rgba(255,255,255,.06);
      border: 1px solid rgba(255,255,255,.08);
      border-radius: 10px;
      color: #fff;
      font-family: inherit;
      font-size: .88rem;
      margin-bottom: 10px;
      transition: border-color .3s ease;
    }
    .foot-newsletter input:focus { outline: none; border-color: var(--teal-500); }
    .foot-newsletter input::placeholder { color: rgba(255,255,255,.4); }
    .foot-newsletter button {
      width: 100%;
      padding: 12px;
      background: var(--teal-500);
      color: #fff;
      border-radius: 10px;
      font-weight: 700;
      font-size: .88rem;
      transition: background .3s ease;
    }
    .foot-newsletter button:hover { background: var(--teal-600); }

    .foot-bottom {
      padding-top: 32px;
      display: flex; justify-content: space-between; align-items: center;
      flex-wrap: wrap; gap: 16px;
      font-size: .82rem;
    }
    .foot-bottom .slogan { color: rgba(255,255,255,.4); font-size: .78rem; }

    /* ═══════════════════════════════════════════════════════════
       ANIMATIONS / REVEAL
       ═══════════════════════════════════════════════════════════ */
    /* Only hide [data-reveal] when JS is ready — fail-safe for no-JS / blocked-JS */
    .js-ready [data-reveal] {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
    }
    .js-ready [data-reveal].in {
      opacity: 1;
      transform: translateY(0);
    }
    [data-reveal][data-delay="1"] { transition-delay: .08s; }
    [data-reveal][data-delay="2"] { transition-delay: .16s; }
    [data-reveal][data-delay="3"] { transition-delay: .24s; }
    [data-reveal][data-delay="4"] { transition-delay: .32s; }
    [data-reveal][data-delay="5"] { transition-delay: .40s; }
    [data-reveal][data-delay="6"] { transition-delay: .48s; }

    /* ═══════════════════════════════════════════════════════════
       RESPONSIVE
       ═══════════════════════════════════════════════════════════ */
	    @media (max-width: 1080px) {
	      .b-1 { grid-column: span 12; }
	      .b-2, .b-3 { grid-column: span 6; }
	      .b-4, .b-5, .b-6 { grid-column: span 4; }
	      .journey-stage {
	        grid-template-columns: 38px 1fr;
	        grid-template-rows: minmax(290px, .9fr) minmax(260px, 1fr);
	      }
	      .journey-copy-stack { grid-column: 2; grid-row: 1; min-height: 290px; }
	      .journey-universe { grid-column: 2; grid-row: 2; min-height: 300px; height: 100%; }
	      .journey-progress { grid-row: 1 / span 2; }
	      .flow-product { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
	      .flow-device.dashboard { margin-top: 0; }
	    }
    @media (max-width: 900px) {
      .hero-grid, .deepdive-grid, .petid-grid { grid-template-columns: 1fr; gap: 60px; }
      .hero-visual { min-height: 500px; }
      .fin-grid, .price-grid { grid-template-columns: 1fr; }
      .price-card.featured { transform: none; }
      .price-card.featured:hover { transform: translateY(-6px); }
      .flow-grid { grid-template-columns: 1fr; }
      .flow-grid::before { display: none; }
      .b-2, .b-3, .b-4, .b-5, .b-6 { grid-column: span 12; }
      .hero-stats { grid-template-columns: repeat(2, 1fr); }
      .hero-stat { padding: 12px; border-right: none; }
      .foot-grid { grid-template-columns: 1fr 1fr; }
      .nutrition-map, .vitals-board, .ai-pipeline { grid-template-columns: 1fr; justify-items: center; }
      .record-flow { flex-wrap: wrap; gap: 10px; }
      .record-link { width: 24px; }
    }
    @media (max-width: 700px) {
      .nav-menu { display: none; }
      .menu-toggle { display: flex; }
      .nav-menu.open {
        display: flex; flex-direction: column;
        position: absolute; top: 70px; left: 16px; right: 16px;
        background: var(--white);
        padding: 16px;
        border-radius: var(--radius);
        box-shadow: var(--shadow-lg);
        gap: 4px;
      }
      .nav-menu.open .nav-link { padding: 12px 16px; }
      section { padding: 80px 0; }
      .hero { padding-top: 120px; }
      .float-card { display: none; }
      .phone { transform: none; }
      .phone:hover { transform: translateY(-4px); }
      .compare-row { grid-template-columns: 1.4fr .8fr .8fr; padding: 14px 18px; font-size: .85rem; }
      .foot-grid { grid-template-columns: 1fr; }
      .cta-actions { flex-direction: column; align-items: center; }
	      .testimonial-grid { columns: 1; }
	      .journey { height: auto; }
	      .journey-stage {
	        position: relative;
	        top: auto;
	        height: auto;
	        min-height: 760px;
	        display: block;
	        padding: 28px;
	      }
	      .journey-progress {
	        height: 42px;
	        flex-direction: row;
	        margin-bottom: 24px;
	      }
	      .journey-progress::before,
	      .journey-progress-fill {
	        top: 50%;
	        bottom: auto;
	        left: 20px;
	        right: 20px;
	        width: auto;
	        height: 3px;
	        transform: translateY(-50%);
	      }
	      .journey-progress-fill {
	        width: calc((100% - 40px) * var(--journey-progress));
	      }
	      .journey-copy-stack {
	        min-height: 360px;
	      }
	      .journey-universe {
	        min-height: 320px;
	        height: 320px;
	      }
	      .data-node { display: none; }
	      .universe-core {
	        width: 132px;
	        height: 132px;
	        border-radius: 34px;
	      }
	      .story-visual { inset: 8%; }
	      .scene-record { flex-direction: column; align-items: flex-start; }
	      .petid-card-flipper, .petid-card-wrap .petid-card { min-height: 560px; }
      .petid-back-grid { grid-template-columns: 1fr; }
      .petid-card { padding: 28px; }
      .petid-card-grid { grid-template-columns: 1fr; }
      .petid-card-foot { align-items: flex-start; gap: 14px; flex-direction: column; }
      .record-summary { grid-template-columns: 1fr; }
    }

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
      }
    }

/* ═══════════════════════════════════════════════════════════
   PATCH v2 — 2026 升級
   包含:Hero 強化、Universe 重做、Fintech glassmorphism、
        How v2、Features v2、Bug 修復、頂級 SaaS 細節
   ═══════════════════════════════════════════════════════════ */

/* ─────── A13: 統一 section spacing,消除大量空白 ─────── */
section { padding: clamp(80px, 11vh, 130px) 0; }
/* hero 保留原本的 140px top, 80px bottom 給 nav 留位置 */
.hero { padding: 140px 0 80px !important; }
.marquee { padding: 28px 0; }
#features { padding: clamp(80px, 11vh, 130px) 0 60px; } /* features 內含 sticky 區,結尾減少 */
.flow#how { padding-top: 60px; }
#universe-scrolly { padding: 0 !important; } /* universe 自帶 sticky 高度 */
.fintech { padding-top: clamp(80px, 11vh, 130px); }

/* ─────── B2: Nav scroll progress bar ─────── */
.nav-progress {
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--teal-400), var(--gold-400));
  transition: width 0.1s linear;
  opacity: 0;
  border-radius: 0 2px 2px 0;
}
.nav.scrolled .nav-progress { opacity: 1; box-shadow: 0 0 8px rgba(63,193,193,0.5); }

/* ─────── B3: PETZZO Medical Scan Cursor ───────
   設計理念:六邊形(呼應品牌 logo 立方體)+ 十字準星(醫療掃描精準感)+ teal 主色(品牌)
*/
.custom-cursor {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  top: 0; left: 0;
  width: 0; height: 0;
  color: var(--teal-500);
  will-change: transform;
}
.custom-cursor > * {
  position: absolute;
  left: 0;
  top: 0;
  transition: opacity 0.25s var(--ease), transform 0.3s var(--ease);
}
.custom-cursor > svg {
  display: block;
  overflow: visible;
}

/* 中心圓點 */
.cursor-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 10px rgba(45, 184, 184, 0.5);
  margin-left: -3px;
  margin-top: -3px;
  transition: transform 0.18s var(--ease), background 0.25s, box-shadow 0.25s, width 0.18s, height 0.18s, margin 0.18s;
}

/* 六邊形外框 */
.cursor-hex {
  width: 48px;
  height: 48px;
  margin-left: -24px;
  margin-top: -24px;
  opacity: 0.5;
  transform: scale(0.55) rotate(0deg);
  transform-origin: center;
  animation: cursorHexSpin 24s linear infinite;
  transition: opacity 0.25s var(--ease), transform 0.35s var(--ease);
}
@keyframes cursorHexSpin {
  from { transform: scale(0.55) rotate(0deg); }
  to { transform: scale(0.55) rotate(360deg); }
}

/* 掃描環 */
.cursor-scan-ring {
  width: 64px;
  height: 64px;
  margin-left: -32px;
  margin-top: -32px;
  opacity: 0;
  transform: scale(0.7) rotate(0deg);
  transform-origin: center;
  color: var(--teal-400);
}

/* 十字準星 */
.cursor-crosshair {
  width: 30px;
  height: 30px;
  margin-left: -15px;
  margin-top: -15px;
  opacity: 0;
  transform: scale(0.6);
  transform-origin: center;
  color: var(--teal-600);
}

/* ─── hover 互動元素時 ─── */
.custom-cursor.is-magnetic .cursor-dot {
  width: 8px;
  height: 8px;
  margin-left: -4px;
  margin-top: -4px;
  background: #fff;
  box-shadow:
    0 0 0 2px var(--teal-600),
    0 0 14px rgba(45, 184, 184, 0.7);
  animation: cursorDotPulse 1.4s ease-in-out infinite;
}
@keyframes cursorDotPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.35); }
}

.custom-cursor.is-magnetic .cursor-hex {
  opacity: 1;
  animation: cursorHexSpinFast 8s linear infinite;
  filter: drop-shadow(0 0 8px rgba(45, 184, 184, 0.55));
}
.custom-cursor.is-magnetic .cursor-hex-shape {
  stroke: var(--teal-600);
  stroke-width: 2;
  fill: rgba(45, 184, 184, 0.08);
}
@keyframes cursorHexSpinFast {
  from { transform: scale(1) rotate(15deg); }
  to { transform: scale(1) rotate(375deg); }
}

.custom-cursor.is-magnetic .cursor-scan-ring {
  opacity: 0.85;
  transform: scale(1) rotate(0deg);
  animation: cursorScanRingSpin 3s linear infinite;
  color: var(--teal-500);
}
.custom-cursor.is-magnetic .cursor-scan-ring circle {
  stroke-width: 1.8;
}
@keyframes cursorScanRingSpin {
  to { transform: scale(1) rotate(360deg); }
}

.custom-cursor.is-magnetic .cursor-crosshair {
  opacity: 1;
  transform: scale(1);
  color: var(--teal-700);
}
.custom-cursor.is-magnetic .cursor-crosshair line {
  stroke-width: 2;
}

/* ─── 主 CTA 等 teal 填色按鈕 → cursor 用白色對比 ─── */
.custom-cursor.is-on-primary .cursor-dot {
  background: var(--teal-700);
  box-shadow:
    0 0 0 2px #fff,
    0 0 14px rgba(255,255,255,0.6);
}
.custom-cursor.is-on-primary .cursor-hex-shape {
  stroke: #fff;
  fill: rgba(255,255,255,0.12);
}
.custom-cursor.is-on-primary .cursor-scan-ring {
  color: #fff;
}
.custom-cursor.is-on-primary .cursor-crosshair {
  color: #fff;
}

/* ─── 在深色背景時自動切換顏色 ─── */
.custom-cursor.is-on-dark {
  color: var(--teal-300);
}
.custom-cursor.is-on-dark .cursor-dot {
  background: var(--teal-300);
  box-shadow: 0 0 10px rgba(63, 193, 193, 0.6);
}
.custom-cursor.is-on-dark.is-magnetic .cursor-dot {
  background: #fff;
  box-shadow:
    0 0 0 2px var(--teal-300),
    0 0 18px rgba(63, 193, 193, 0.9);
}

/* ─── 隱藏狀態 ─── */
.custom-cursor.is-hidden > * { opacity: 0; }

/* 在 click/active 狀態,中心點微收縮(回饋感)*/
.custom-cursor.is-clicking .cursor-dot {
  transform: scale(0.6);
}
.custom-cursor.is-clicking .cursor-hex {
  transform: scale(0.85);
}

/* Mobile / 觸控裝置不顯示 */
@media (max-width: 900px), (pointer: coarse), (hover: none) {
  .custom-cursor { display: none !important; }
  body, a, button { cursor: auto !important; }
}

/* 在桌面上隱藏原生 cursor */
@media (min-width: 901px) and (pointer: fine) {
  body { cursor: none; }
  a, button, [data-magnetic], .btn, .nav-link, .pricing-toggle button,
  .fin-card-glass-cta, .deepdive-tab, .faq-q, .petid-card-flipper,
  input, textarea, select { cursor: none; }
  /* 但 input / textarea 內 focus 時還是要原生游標 */
  input:focus, textarea:focus, select:focus { cursor: text; }
}

/* ─────── H1: Hero Mesh Gradient + Mouse Parallax 強化 ─────── */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-mesh {
  position: absolute;
  inset: -10% -10%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--mx, 30%) var(--my, 30%), rgba(63,193,193,0.18), transparent 45%),
    radial-gradient(circle at calc(100% - var(--mx, 30%)) 70%, rgba(245,185,66,0.14), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(63,193,193,0.12), transparent 40%),
    linear-gradient(135deg, #FAFBFB 0%, #F4F8F8 100%);
  transition: background 0.6s ease-out;
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(45,184,184,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,184,184,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 40%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, black 0%, transparent 70%);
}

/* H1: 粒子層 */
.hero-particles {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.hero-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--teal-400);
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 8px var(--teal-400);
  animation: particleRise 8s linear infinite;
}
@keyframes particleRise {
  0% { transform: translateY(100vh) scale(0.6); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-20vh) scale(1); opacity: 0; }
}

/* ─────── H2: Hero Title reveal & gradient flow ─────── */
.hero-title {
  position: relative;
}
.word-em {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700) 40%, var(--teal-500) 70%, var(--teal-400));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  animation: gradientFlow 5s ease-in-out infinite;
}
.word-em::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, var(--teal-400), var(--teal-600));
  border-radius: 2px;
  animation: underlineDraw 1.2s 0.8s var(--ease) forwards;
}
.word-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600) 40%, var(--gold-400) 70%, var(--gold-300));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientFlow 6s ease-in-out infinite;
}
@keyframes gradientFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes underlineDraw {
  to { width: 100%; }
}

/* ─────── H4: Phone idle floating ─────── */
@keyframes phoneIdle {
  0%, 100% { transform: perspective(1200px) rotateY(-8deg) rotateX(4deg) translateY(0); }
  50% { transform: perspective(1200px) rotateY(-7deg) rotateX(3deg) translateY(-6px); }
}
.phone {
  animation: phoneIdle 6s ease-in-out infinite;
}

/* ─────── H5: 三浮卡獨立軌道飄動 (用 translate property 不影響 transform) ─────── */
@keyframes floatY1 {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}
@keyframes floatX2 {
  0%, 100% { translate: 0 0; }
  50% { translate: -5px 0; }
}
@keyframes floatOrbit3 {
  0%, 100% { translate: 0 0; }
  25% { translate: -4px -3px; }
  50% { translate: 0 -6px; }
  75% { translate: 4px -3px; }
}
.float-card-1 { animation: floatY1 4.5s ease-in-out infinite; }
.float-card-2 { animation: floatX2 5.5s ease-in-out infinite; animation-delay: -1.5s; }
.float-card-3 { animation: floatOrbit3 7s ease-in-out infinite; animation-delay: -3s; }

/* ─────── H6: Phone screen content animations ─────── */
.app-progress > div { transition: width 1.4s var(--ease) 0.4s; }
.app-progress > div[data-anim-bar] { width: 0% !important; }
.in .app-progress > div[data-anim-bar][data-animated="true"] { width: var(--target-w, 0%) !important; }

.app-quick-cell {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  transition-delay: calc(var(--cell-delay, 0) * 0.05s + 1s);
}
/* 進場後永久顯示 — 由 IO 觸發 phone-visible class */
.phone.cells-active .app-quick-cell,
.hero-visual.in .app-quick-cell,
[data-reveal].in .app-quick-cell {
  opacity: 1;
  transform: translateY(0);
}

/* ─────── H7: Trust row 升級 ─────── */
.trust-avatar {
  position: relative;
}
.trust-avatar::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--teal-300);
  opacity: 0;
  animation: avatarBreath 3s ease-in-out infinite;
}
.trust-avatar:nth-child(1)::after { animation-delay: 0s; }
.trust-avatar:nth-child(2)::after { animation-delay: 0.6s; }
.trust-avatar:nth-child(3)::after { animation-delay: 1.2s; }
.trust-avatar:nth-child(4)::after { animation-delay: 1.8s; }
@keyframes avatarBreath {
  0%, 100% { transform: scale(1); opacity: 0; }
  50% { transform: scale(1.15); opacity: 0.4; }
}
.trust-star-row { display: inline-flex; gap: 1px; }
.trust-star {
  display: inline-block;
  color: var(--gold-400);
  font-size: 1rem;
  opacity: 0;
  transform: scale(0.6);
  animation: starPop 0.4s var(--ease-elastic) forwards;
}
.trust-star:nth-child(1) { animation-delay: 1.0s; }
.trust-star:nth-child(2) { animation-delay: 1.1s; }
.trust-star:nth-child(3) { animation-delay: 1.2s; }
.trust-star:nth-child(4) { animation-delay: 1.3s; }
.trust-star:nth-child(5) { animation-delay: 1.4s; }
@keyframes starPop {
  to { opacity: 1; transform: scale(1); }
}
.trust-live-count {
  display: inline-block;
  color: var(--teal-700);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  transition: color 0.3s;
}
.trust-live-count.bump {
  color: var(--gold-500);
  transform: scale(1.05);
  transition: transform 0.3s, color 0.3s;
}

/* ─────── H9: CTA 按鈕升級 ─────── */
.btn-shimmer {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 26px 10px;
  gap: 2px;
}
.btn-shimmer .btn-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.96rem;
}
.btn-shimmer .btn-arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.btn-shimmer .btn-sub {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.75;
  letter-spacing: 0.01em;
}
.btn-shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  animation: shimmer 3.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shimmer {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}
.btn-shimmer:hover .btn-arrow {
  transform: translate(4px, -4px) rotate(-45deg);
}

.btn-play {
  align-items: center;
}
.btn-play-icon {
  position: relative;
  display: inline-flex;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--teal-50);
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  color: var(--teal-700);
}
.btn-play-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--teal-400);
  opacity: 0;
  animation: playPulse 2.5s ease-out infinite;
}
@keyframes playPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}
.btn-play:hover .btn-play-icon {
  background: var(--teal-100);
}

/* ─────── H10: Scroll Indicator ─────── */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  opacity: 0.7;
  transition: opacity 0.4s;
  z-index: 5;
}
.scroll-indicator.hidden { opacity: 0; }
.scroll-indicator-bar {
  position: relative;
  width: 2px;
  height: 36px;
  background: linear-gradient(180deg, transparent, var(--teal-400), transparent);
  border-radius: 1px;
  overflow: hidden;
}
.scroll-indicator-dot {
  position: absolute;
  left: -2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 8px var(--teal-400);
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { top: 0; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
.scroll-indicator-text {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.15em;
  font-weight: 600;
}

/* ─────── A1-A6: Features 區 journey 全新右圖 (方向 A) ─────── */
.journey-universe {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 移除舊的 data-node、universe-core、universe-orbit、story-visual 樣式覆蓋 */
.journey-universe .data-node,
.journey-universe .universe-core,
.journey-universe .universe-orbit,
.journey-universe .story-visual { display: none !important; }

/* 中央手機 mockup */
.jp-phone {
  position: relative;
  width: 280px;
  height: 560px;
  background: linear-gradient(180deg, #1a2e35, #0F2A35);
  border-radius: 42px;
  padding: 14px;
  box-shadow:
    0 30px 80px rgba(15,42,53,0.25),
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 4px 12px rgba(15,42,53,0.15);
  flex-shrink: 0;
  z-index: 5;
}
.jp-phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 22px;
  background: #0a1518;
  border-radius: 12px;
  z-index: 10;
}
.jp-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #142a30 0%, #0a1f24 100%);
  border-radius: 30px;
  overflow: hidden;
  padding: 50px 18px 24px;
  display: flex;
  flex-direction: column;
}

/* 5 個 stage screen,完全絕對切換 */
.jp-screen {
  position: absolute;
  inset: 50px 18px 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.97);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0s 0.5s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.jp-screen.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0s;
}
.jp-screen-header {
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  text-align: center;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

/* Stage 1: 掃描 */
.jp-scan-frame {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 18px auto 8px;
  border-radius: 28px;
  background: rgba(63,193,193,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.jp-scan-pet {
  font-size: 70px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
  animation: petBounce 3s ease-in-out infinite;
}
@keyframes petBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.jp-scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal-400), transparent);
  box-shadow: 0 0 12px var(--teal-400);
  animation: scanLine 2.4s ease-in-out infinite;
}
@keyframes scanLine {
  0% { top: 10%; }
  50% { top: 88%; }
  100% { top: 10%; }
}
.jp-scan-corners i {
  position: absolute;
  width: 16px; height: 16px;
  border: 2px solid var(--teal-400);
}
.jp-scan-corners i:nth-child(1) { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.jp-scan-corners i:nth-child(2) { top: 8px; right: 8px; border-left: none; border-bottom: none; }
.jp-scan-corners i:nth-child(3) { bottom: 8px; left: 8px; border-right: none; border-top: none; }
.jp-scan-corners i:nth-child(4) { bottom: 8px; right: 8px; border-left: none; border-top: none; }
.jp-scan-label {
  color: var(--teal-300);
  font-size: 0.82rem;
  text-align: center;
  font-weight: 600;
}
.jp-scan-progress {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.jp-scan-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--teal-400), var(--gold-400));
  border-radius: 2px;
  animation: scanProgress 2.5s ease-in-out infinite;
}
@keyframes scanProgress {
  0% { width: 0%; }
  80% { width: 100%; }
  100% { width: 100%; opacity: 0; }
}
.jp-screen-petid {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-300);
  text-align: center;
  padding: 10px;
  background: rgba(245,185,66,0.08);
  border: 1px solid rgba(245,185,66,0.25);
  border-radius: 10px;
  letter-spacing: 0.1em;
}

/* Stage 2: 健康曲線 */
.jp-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 120px;
  padding: 0 4px;
  margin-top: 12px;
}
.jp-chart i {
  display: block;
  width: 18px;
  background: linear-gradient(180deg, var(--teal-400), var(--teal-600));
  border-radius: 4px 4px 0 0;
  height: var(--h, 50%);
  box-shadow: 0 4px 8px rgba(63,193,193,0.25);
  animation: barRise 0.6s var(--ease-elastic) backwards;
}
.jp-chart i:nth-child(1) { animation-delay: 0.1s; }
.jp-chart i:nth-child(2) { animation-delay: 0.18s; }
.jp-chart i:nth-child(3) { animation-delay: 0.26s; }
.jp-chart i:nth-child(4) { animation-delay: 0.34s; }
.jp-chart i:nth-child(5) { animation-delay: 0.42s; }
.jp-chart i:nth-child(6) { animation-delay: 0.5s; background: linear-gradient(180deg, var(--gold-400), var(--gold-600)); box-shadow: 0 4px 8px rgba(245,185,66,0.25); }
.jp-chart i:nth-child(7) { animation-delay: 0.58s; }
@keyframes barRise {
  from { height: 0; opacity: 0; }
  to { height: var(--h, 50%); opacity: 1; }
}
.jp-chart-labels {
  display: flex;
  justify-content: space-between;
  padding: 0 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
}
.jp-metric-row {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.jp-metric {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
}
.jp-metric span { display: block; font-size: 0.66rem; color: rgba(255,255,255,0.55); margin-bottom: 2px; }
.jp-metric b { display: block; font-size: 0.85rem; color: #fff; font-family: var(--font-en); font-weight: 700; }

/* Stage 3: timeline */
.jp-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
  position: relative;
}
.jp-timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 1.5px;
  background: linear-gradient(180deg, var(--teal-400), transparent);
}
.jp-timeline-item {
  position: relative;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.jp-timeline-item i {
  position: absolute;
  left: 0; top: 4px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--teal-400);
  border: 2.5px solid #0a1f24;
  box-shadow: 0 0 0 1.5px var(--teal-400);
}
.jp-timeline-item b { color: #fff; font-size: 0.82rem; font-weight: 700; }
.jp-timeline-item span { color: rgba(255,255,255,0.55); font-size: 0.7rem; }
.jp-screen-tag {
  margin-top: auto;
  text-align: center;
  font-size: 0.72rem;
  color: var(--teal-300);
  padding: 8px;
  background: rgba(63,193,193,0.1);
  border: 1px solid rgba(63,193,193,0.25);
  border-radius: 8px;
}

/* Stage 4: finance */
.jp-finance-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 14px;
  margin-top: 10px;
}
.jp-finance-loan { background: linear-gradient(135deg, rgba(63,193,193,0.18), rgba(63,193,193,0.05)); border-color: rgba(63,193,193,0.3); }
.jp-finance-ins { background: linear-gradient(135deg, rgba(245,185,66,0.15), rgba(245,185,66,0.04)); border-color: rgba(245,185,66,0.3); }
.jp-finance-label { color: rgba(255,255,255,0.7); font-size: 0.7rem; font-weight: 600; }
.jp-finance-amount { color: #fff; font-size: 1.4rem; font-weight: 800; font-family: var(--font-en); margin: 4px 0; }
.jp-finance-sub { color: rgba(255,255,255,0.5); font-size: 0.68rem; }
.jp-finance-progress {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
  margin: 8px 0 6px;
}
.jp-finance-progress > div {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
  border-radius: 3px;
  animation: insProgress 2s ease-out forwards;
}
@keyframes insProgress {
  to { width: 72%; }
}

/* Stage 5: insight */
.jp-insight-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  margin-top: 8px;
}
.jp-insight-main {
  background: linear-gradient(135deg, rgba(63,193,193,0.15), rgba(245,185,66,0.1));
  border-color: rgba(63,193,193,0.3);
}
.jp-insight-item i { font-size: 22px; font-style: normal; }
.jp-insight-item b { display: block; color: #fff; font-size: 0.82rem; font-weight: 700; }
.jp-insight-item span { color: rgba(255,255,255,0.55); font-size: 0.7rem; }

/* 浮動小卡 - 圍繞 phone (改用 calc 相對中心定位,phone 寬 280px,卡離 phone ~30px 距離) */
.jp-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-top-color: rgba(255,255,255,1);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.92) translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0s 0.4s;
  white-space: nowrap;
  max-width: 200px;
}
.jp-float.jp-float-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
  transition: opacity 0.45s var(--ease) 0.1s, transform 0.45s var(--ease) 0.1s, visibility 0s;
}
.jp-float-icon {
  width: 34px; height: 34px;
  background: var(--teal-50);
  color: var(--teal-700);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.jp-float-body { min-width: 0; flex: 1; }
.jp-float-label { color: var(--muted); font-size: 0.72rem; font-weight: 600; margin-bottom: 2px; overflow: hidden; text-overflow: ellipsis; }
.jp-float-value { color: var(--ink); font-size: 0.92rem; font-weight: 800; overflow: hidden; text-overflow: ellipsis; }

/* 浮動小卡定位 - 用 left:50% + 大幅 translate 相對 phone 中心 (phone 半寬 140px, 浮卡寬 ~180px) */
/* 左側卡: 中心向左 280px (140 phone半寬 + 30 gap + 110 浮卡半寬) */
/* 右側卡: 中心向右 280px */
.jp-float-id-1     { top: 18%;  left: 50%; transform: translateX(-380px) scale(0.92) translateY(8px); animation: floatY1 4s ease-in-out infinite; }
.jp-float-id-2     { top: 38%;  left: 50%; transform: translateX(180px)  scale(0.92) translateY(8px); animation: floatX2 5s ease-in-out infinite; }
.jp-float-health-1 { top: 22%;  left: 50%; transform: translateX(180px)  scale(0.92) translateY(8px); animation: floatY1 4.5s ease-in-out infinite; }
.jp-float-health-2 { bottom: 18%; left: 50%; transform: translateX(-380px) scale(0.92) translateY(8px); animation: floatX2 5.5s ease-in-out infinite; }
.jp-float-clinic-1 { top: 18%;  left: 50%; transform: translateX(-380px) scale(0.92) translateY(8px); animation: floatY1 4s ease-in-out infinite; }
.jp-float-clinic-2 { bottom: 16%; left: 50%; transform: translateX(180px)  scale(0.92) translateY(8px); animation: floatX2 5s ease-in-out infinite; }
.jp-float-finance-1{ top: 22%;  left: 50%; transform: translateX(180px)  scale(0.92) translateY(8px); animation: floatY1 4.2s ease-in-out infinite; }
.jp-float-finance-2{ bottom: 22%; left: 50%; transform: translateX(-380px) scale(0.92) translateY(8px); animation: floatX2 5.4s ease-in-out infinite; }
.jp-float-insight-1{ top: 20%;  left: 50%; transform: translateX(-380px) scale(0.92) translateY(8px); animation: floatY1 4.8s ease-in-out infinite; }
.jp-float-insight-2{ bottom: 20%; left: 50%; transform: translateX(180px)  scale(0.92) translateY(8px); animation: floatX2 4.6s ease-in-out infinite; }

/* Active 狀態:transform 完整切換(去 scale + translateY,保留 X 偏移)*/
.jp-float-id-1.jp-float-active     { transform: translateX(-380px) scale(1) translateY(0); animation: floatY1 4s ease-in-out infinite; }
.jp-float-id-2.jp-float-active     { transform: translateX(180px)  scale(1) translateY(0); animation: floatX2 5s ease-in-out infinite; }
.jp-float-health-1.jp-float-active { transform: translateX(180px)  scale(1) translateY(0); animation: floatY1 4.5s ease-in-out infinite; }
.jp-float-health-2.jp-float-active { transform: translateX(-380px) scale(1) translateY(0); animation: floatX2 5.5s ease-in-out infinite; }
.jp-float-clinic-1.jp-float-active { transform: translateX(-380px) scale(1) translateY(0); animation: floatY1 4s ease-in-out infinite; }
.jp-float-clinic-2.jp-float-active { transform: translateX(180px)  scale(1) translateY(0); animation: floatX2 5s ease-in-out infinite; }
.jp-float-finance-1.jp-float-active{ transform: translateX(180px)  scale(1) translateY(0); animation: floatY1 4.2s ease-in-out infinite; }
.jp-float-finance-2.jp-float-active{ transform: translateX(-380px) scale(1) translateY(0); animation: floatX2 5.4s ease-in-out infinite; }
.jp-float-insight-1.jp-float-active{ transform: translateX(-380px) scale(1) translateY(0); animation: floatY1 4.8s ease-in-out infinite; }
.jp-float-insight-2.jp-float-active{ transform: translateX(180px)  scale(1) translateY(0); animation: floatX2 4.6s ease-in-out infinite; }

/* Pet ID hash 跳動效果 */
[data-hash-text] {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}
[data-hash-text].is-hashing {
  color: var(--gold-400);
}

/* ─────── B7: How v2 三步驟手機統一 ─────── */
.flow-v2,
.flow-product.flow-v2 {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 32px !important;
  align-items: stretch;
}
.flow-screen-v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.flow-step-num {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-size: 4.5rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--teal-200);
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}
.flow-phone-v2 {
  position: relative;
  width: 220px;
  height: 440px;
  background: linear-gradient(180deg, #1a2e35, #0F2A35);
  border-radius: 36px;
  padding: 12px;
  box-shadow:
    0 24px 60px rgba(15,42,53,0.22),
    0 0 0 1px rgba(255,255,255,0.06) inset;
  z-index: 1;
  transition: transform 0.5s var(--ease);
}
.flow-screen-v2:hover .flow-phone-v2 {
  transform: translateY(-6px);
}
.flow-phone-v2-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 18px;
  background: #0a1518;
  border-radius: 10px;
  z-index: 10;
}
.flow-phone-v2-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #142a30 0%, #0a1f24 100%);
  border-radius: 26px;
  overflow: hidden;
  padding: 40px 14px 16px;
  display: flex;
  flex-direction: column;
}
.flow-phone-v2-status {
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,0.55);
  font-size: 0.65rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.flow-phone-v2-signals { letter-spacing: 0.05em; }

.flow-phone-v2-app {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.flow-app-step-label {
  font-size: 0.62rem;
  color: var(--teal-300);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.flow-app-step-alert { color: var(--gold-400); }
.flow-app-title { color: #fff; font-size: 0.95rem; font-weight: 800; margin-bottom: 6px; }

/* Step 1 specific */
.flow-scan-circle {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 6px auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-scan-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.flow-scan-ring-anim {
  animation: scanRingSpin 2.5s linear infinite;
  transform-origin: center;
}
@keyframes scanRingSpin {
  to { transform: rotate(360deg); }
}
.flow-scan-pet-emoji { font-size: 56px; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4)); }
.flow-scan-corner-tl, .flow-scan-corner-tr, .flow-scan-corner-bl, .flow-scan-corner-br {
  position: absolute;
  width: 12px; height: 12px;
  border: 2px solid var(--teal-400);
}
.flow-scan-corner-tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.flow-scan-corner-tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.flow-scan-corner-bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.flow-scan-corner-br { bottom: 0; right: 0; border-left: none; border-top: none; }
.flow-scan-text { color: var(--teal-300); font-size: 0.72rem; text-align: center; }
.flow-app-progress {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.flow-app-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--teal-400), var(--gold-400));
  border-radius: 2px;
  width: 0%;
  animation: flowProgressFill 2.5s var(--ease) infinite;
}
@keyframes flowProgressFill {
  0% { width: 0%; }
  60% { width: var(--w, 78%); }
  100% { width: var(--w, 78%); opacity: 0.8; }
}
.flow-app-result {
  text-align: center;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
}
.flow-app-result b { color: var(--teal-300); font-family: var(--font-mono); }

/* Step 2 specific */
.flow-app-ring {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 4px;
}
.flow-app-ring svg { width: 100%; height: 100%; }
.flow-ring-anim {
  animation: ringDraw 2s var(--ease) forwards;
  stroke-dasharray: 0 251;
}
@keyframes ringDraw {
  to { stroke-dasharray: 188 251; }
}
.flow-app-ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.flow-app-ring-num { color: #fff; font-size: 2rem; font-weight: 800; font-family: var(--font-en); line-height: 1; }
.flow-app-ring-unit { color: rgba(255,255,255,0.55); font-size: 0.7rem; }
.flow-app-metrics {
  display: flex;
  gap: 6px;
}
.flow-app-metric {
  flex: 1;
  text-align: center;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 6px 4px;
}
.flow-app-metric span { display: block; font-size: 0.6rem; color: rgba(255,255,255,0.5); }
.flow-app-metric b { display: block; font-size: 0.75rem; color: #fff; font-family: var(--font-en); }
.flow-app-mini-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 32px;
  margin-top: auto;
}
.flow-app-mini-chart i {
  width: 12%;
  background: linear-gradient(180deg, var(--teal-400), var(--teal-600));
  border-radius: 2px 2px 0 0;
  height: var(--h, 50%);
}

/* Step 3 specific */
.flow-fin-card {
  background: linear-gradient(135deg, rgba(245,185,66,0.18), rgba(245,185,66,0.05));
  border: 1px solid rgba(245,185,66,0.3);
  border-radius: 12px;
  padding: 12px;
  margin-top: 4px;
}
.flow-fin-card-label { color: rgba(255,255,255,0.7); font-size: 0.65rem; font-weight: 600; }
.flow-fin-card-amount { color: #fff; font-size: 1.4rem; font-weight: 800; font-family: var(--font-en); margin-top: 2px; }
.flow-fin-num { color: var(--gold-300); }
.flow-fin-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.flow-fin-option {
  display: flex;
  gap: 8px;
  align-items: center;
  background: rgba(255,255,255,0.05);
  padding: 8px 10px;
  border-radius: 10px;
}
.flow-fin-opt-icon { font-size: 16px; }
.flow-fin-option b { color: #fff; font-size: 0.78rem; font-weight: 700; display: block; }
.flow-fin-option span { color: rgba(255,255,255,0.55); font-size: 0.66rem; }
.flow-fin-cta {
  margin-top: auto;
  background: linear-gradient(135deg, var(--teal-400), var(--teal-600));
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  font-family: var(--font-zh);
}

.flow-v2 .flow-step-meta {
  margin-top: 24px;
  text-align: center;
  max-width: 240px;
  display: block;
  padding: 0;
  background: transparent;
  border-radius: 0;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}
.flow-v2 .flow-step-time {
  display: inline-block;
  padding: 3px 12px;
  background: var(--teal-50);
  color: var(--teal-700);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  margin-bottom: 10px;
  white-space: nowrap;
}
.flow-v2 .flow-step-meta h3 { font-size: 1.05rem; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.flow-v2 .flow-step-meta p { font-size: 0.85rem; color: var(--muted); line-height: 1.55; }

/* ─────── B6: Fintech glassmorphism ─────── */
.fintech {
  position: relative;
  background: linear-gradient(180deg, var(--bg) 0%, #102a32 30%, #0F2A35 100%);
  color: #fff;
  overflow: hidden;
}
.fintech-bg-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 30%, rgba(63,193,193,0.18), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(245,185,66,0.12), transparent 50%);
}
.fintech .wrap { position: relative; z-index: 1; }
.fintech .h-section { color: #fff; }
.fintech .lede { color: rgba(255,255,255,0.7); }
.fintech .eyebrow {
  background: rgba(63,193,193,0.12);
  color: var(--teal-300);
  border-color: rgba(63,193,193,0.3);
}

.fin-grid-glass {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.fin-card-glass {
  position: relative;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.1);
  border-top-color: rgba(255,255,255,0.18);
  border-radius: 24px;
  padding: 32px 26px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
}
.fin-card-glass:hover {
  transform: translateY(-6px);
  border-color: rgba(63,193,193,0.5);
  box-shadow: 0 30px 80px rgba(0,0,0,0.3), 0 0 50px rgba(63,193,193,0.18);
}
.fin-card-glass-glow {
  position: absolute;
  top: -50%;
  right: -30%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(63,193,193,0.4), transparent 70%);
  filter: blur(40px);
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 0.4s;
}
.fin-card-glass-featured .fin-card-glass-glow {
  background: radial-gradient(circle, rgba(245,185,66,0.5), transparent 70%);
}
.fin-card-glass:hover .fin-card-glass-glow {
  opacity: 1;
}
.fin-card-glass-featured {
  border-color: rgba(245,185,66,0.35);
  background: linear-gradient(180deg, rgba(245,185,66,0.06), rgba(255,255,255,0.04));
  transform: translateY(-12px);
}
.fin-card-glass-featured:hover {
  transform: translateY(-18px);
  border-color: rgba(245,185,66,0.6);
}
.fin-card-glass-content {
  position: relative;
  z-index: 2;
}
.fin-card-glass-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(63,193,193,0.2), rgba(63,193,193,0.05));
  border: 1px solid rgba(63,193,193,0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-300);
  margin-bottom: 18px;
}
.fin-card-glass-featured .fin-card-glass-icon {
  background: linear-gradient(135deg, rgba(245,185,66,0.22), rgba(245,185,66,0.05));
  border-color: rgba(245,185,66,0.35);
  color: var(--gold-300);
}
.fin-card-glass-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  background: rgba(63,193,193,0.15);
  color: var(--teal-300);
  border-radius: 999px;
  margin-bottom: 12px;
}
.fin-tag-hot {
  background: rgba(245,185,66,0.2);
  color: var(--gold-300);
}
.fin-card-glass h3 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.fin-card-glass-desc {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 22px;
}
.fin-card-glass-stat {
  padding: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  margin-bottom: 18px;
}
.fin-stat-num {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 800;
  font-family: var(--font-en);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.fin-stat-unit { font-size: 1.1rem; color: var(--gold-300); }
.fin-stat-sub {
  color: rgba(255,255,255,0.55);
  font-size: 0.74rem;
  font-weight: 500;
}
.fin-card-glass-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}
.fin-card-glass-list li {
  position: relative;
  padding-left: 18px;
  color: rgba(255,255,255,0.72);
  font-size: 0.82rem;
  margin-bottom: 8px;
  font-weight: 500;
}
.fin-li-dot {
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-400);
  box-shadow: 0 0 6px var(--teal-400);
}
.fin-card-glass-featured .fin-li-dot {
  background: var(--gold-400);
  box-shadow: 0 0 6px var(--gold-400);
}
.fin-blockchain {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 18px;
  height: 8px;
  position: relative;
}
.fin-blockchain::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 4px;
  right: 4px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(63,193,193,0.3), transparent);
}
.fin-block {
  width: 8px;
  height: 8px;
  background: var(--teal-400);
  border-radius: 2px;
  box-shadow: 0 0 4px var(--teal-400);
  opacity: 0.3;
  animation: blockPulse 2.5s ease-in-out infinite;
  position: relative;
  z-index: 1;
}
.fin-card-glass-featured .fin-block {
  background: var(--gold-400);
  box-shadow: 0 0 4px var(--gold-400);
}
.fin-block:nth-child(1) { animation-delay: 0s; }
.fin-block:nth-child(2) { animation-delay: 0.4s; }
.fin-block:nth-child(3) { animation-delay: 0.8s; }
.fin-block:nth-child(4) { animation-delay: 1.2s; }
.fin-block:nth-child(5) { animation-delay: 1.6s; }
@keyframes blockPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}
.fin-card-glass-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal-300);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: gap 0.3s var(--ease), color 0.3s;
}
.fin-card-glass-cta:hover {
  gap: 10px;
  color: var(--teal-200);
}
.fin-card-glass-featured .fin-card-glass-cta { color: var(--gold-300); }
.fin-card-glass-featured .fin-card-glass-cta:hover { color: var(--gold-400); }

/* ─────── B5: Marquee hover 暫停 ─────── */
.marquee-track-wrap:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-item {
  cursor: default;
  transition: transform 0.3s var(--ease), color 0.3s;
}
.marquee-item:hover {
  transform: scale(1.08);
  color: var(--teal-700);
}

/* ─────── B8: Testimonial masonry + 升級 (覆蓋舊樣式,加大錯落感) ─────── */
.testimonials .testimonial-grid {
  columns: 3;
  column-gap: 24px;
}
.testimonials .testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-top-color: rgba(255,255,255,1);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative;
  display: inline-block;
  width: 100%;
  box-shadow: var(--shadow-sm);
}
.testimonials .testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-200);
}
/* 不同位置給不同 padding 製造視覺差 */
.testimonials .testimonial:nth-child(1) { padding: 28px 28px 32px; }
.testimonials .testimonial:nth-child(2) { padding: 40px 28px 36px; }
.testimonials .testimonial:nth-child(3) { padding: 26px 28px; }
.testimonials .testimonial:nth-child(4) { padding: 34px 28px 28px; }
.testimonials .testimonial:nth-child(5) { padding: 28px; }
.testimonials .testimonial:nth-child(6) { padding: 30px 28px 34px; }
@media (max-width: 980px) {
  .testimonials .testimonial-grid { columns: 2; }
}
@media (max-width: 640px) {
  .testimonials .testimonial-grid { columns: 1; }
}

/* ─────── 響應式調整 ─────── */
@media (max-width: 960px) {
  .flow-v2 { grid-template-columns: 1fr; gap: 48px; }
  .fin-grid-glass { grid-template-columns: 1fr; }
  .fin-card-glass-featured { transform: none; }
  .journey-universe { height: auto; padding: 24px 0; }
  .jp-float { display: none; }
  .scroll-indicator { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   方向 C: BENTO GRID for Deepdive — 6 cards
   ═══════════════════════════════════════════════════════════ */
.deepdive {
  background: linear-gradient(180deg, var(--bg) 0%, var(--off-white, #FAFBFB) 100%);
}
[data-theme="dark"] .deepdive {
  background: linear-gradient(180deg, var(--bg) 0%, #0a1518 100%);
}

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 220px);
  gap: 20px;
  margin-top: 60px;
}
.bento-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-top-color: rgba(255,255,255,1);
  border-radius: 22px;
  padding: 24px;
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s, border-color 0.4s;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
[data-theme="dark"] .bento-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
  border-top-color: rgba(255,255,255,0.16);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-300);
}

/* Card 1: 大卡 (跨 2x2) */
.bento-large {
  grid-column: span 2;
  grid-row: span 2;
}
/* Card 2: 高卡 (1x2) */
.bento-tall {
  grid-column: span 2;
  grid-row: span 2;
}
/* Cards 3, 4: 標準 */
.bento-card:nth-child(3),
.bento-card:nth-child(4) {
  grid-column: span 2;
}
/* Card 5: sync */
.bento-sync {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: #fff;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
[data-theme="dark"] .bento-sync {
  background: linear-gradient(135deg, rgba(45,184,184,0.18), rgba(15,42,53,0.6));
  border-color: rgba(63,193,193,0.3);
}
/* Card 6: score */
.bento-score {
  grid-column: span 2;
  background: linear-gradient(135deg, #FFF8E5, #FFEDC4);
  position: relative;
  overflow: hidden;
}
[data-theme="dark"] .bento-score {
  background: linear-gradient(135deg, rgba(245,185,66,0.14), rgba(15,42,53,0.4));
  border-color: rgba(245,185,66,0.25);
}

.bento-card-head { display: flex; flex-direction: column; gap: 4px; }
.bento-card-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--teal-700);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
[data-theme="dark"] .bento-card-eyebrow { color: var(--teal-300); }
.bento-card-head h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}
[data-theme="dark"] .bento-card-head h3 { color: #fff; }
.bento-card-head p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
}
[data-theme="dark"] .bento-card-head p { color: rgba(255,255,255,0.65); }

/* ─── Card 1: Dashboard ─── */
.bento-dashboard {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
}
.bento-dash-top {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: center;
}
.bento-dash-ring {
  position: relative;
  width: 130px;
  height: 130px;
}
.bento-dash-ring svg { width: 100%; height: 100%; }
.bento-ring-anim { animation: bentoRingDraw 2s var(--ease) forwards; }
@keyframes bentoRingDraw {
  to { stroke-dasharray: 198 264; }
}
.bento-dash-ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.bento-dash-ring-center strong {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ink);
  font-family: var(--font-en);
  line-height: 1;
}
[data-theme="dark"] .bento-dash-ring-center strong { color: #fff; }
.bento-dash-ring-center span {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 2px;
}
[data-theme="dark"] .bento-dash-ring-center span { color: rgba(255,255,255,0.55); }
.bento-dash-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bento-bar-row {
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
}
.bento-bar-row > span { color: var(--muted); font-weight: 500; }
[data-theme="dark"] .bento-bar-row > span { color: rgba(255,255,255,0.7); }
.bento-bar-row b {
  text-align: right;
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--ink);
}
[data-theme="dark"] .bento-bar-row b { color: #fff; }
.bento-bar {
  height: 6px;
  background: rgba(45,184,184,0.1);
  border-radius: 3px;
  overflow: hidden;
}
[data-theme="dark"] .bento-bar { background: rgba(255,255,255,0.08); }
.bento-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--teal-400), var(--teal-600));
  border-radius: 3px;
  transition: width 1.4s var(--ease) 0.3s;
}
.bento-bar i.warn { background: linear-gradient(90deg, var(--gold-400), var(--gold-600)); }
.bento-dash-chart {
  height: 70px;
}
.bento-dash-chart svg {
  width: 100%; height: 100%;
}

/* ─── Card 2: Map ─── */
.bento-map {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: -10px;
}
.bento-map-stat {
  position: absolute;
  top: 8px;
  left: 0;
  display: flex;
  flex-direction: column;
  z-index: 2;
}
.bento-map-stat strong {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--teal-700);
  font-family: var(--font-en);
  line-height: 1;
}
[data-theme="dark"] .bento-map-stat strong { color: var(--teal-300); }
.bento-map-stat span {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 4px;
}
[data-theme="dark"] .bento-map-stat span { color: rgba(255,255,255,0.6); }
.bento-map-svg {
  width: auto;
  height: 90%;
  max-height: 240px;
}
.bento-map-pulse {
  animation: bentoMapPulse 2.4s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes bentoMapPulse {
  0%, 100% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 0 transparent); }
  50% { opacity: 0.6; transform: scale(1.4); filter: drop-shadow(0 0 6px var(--teal-400)); }
}

/* ─── Card 3: Vitals waveform ─── */
.bento-vitals {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}
.bento-wave {
  width: 100%;
  height: 60px;
  flex-shrink: 0;
}
.bento-wave-anim {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: bentoWaveDraw 3s linear infinite;
}
@keyframes bentoWaveDraw {
  to { stroke-dashoffset: 0; }
}
.bento-vitals-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.bento-vitals-row > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.bento-vitals-row strong {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: var(--font-en);
  color: var(--ink);
  line-height: 1;
}
[data-theme="dark"] .bento-vitals-row strong { color: #fff; }
.bento-vitals-row > div span {
  font-size: 0.7rem;
  color: var(--muted);
}
[data-theme="dark"] .bento-vitals-row > div span { color: rgba(255,255,255,0.55); }

/* ─── Card 4: AI Pet ID ─── */
.bento-ai {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.bento-ai-photos {
  display: flex;
  gap: -8px;
  position: relative;
}
.bento-ai-photo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal-50), var(--cream, #FFF8E5));
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-right: -10px;
  position: relative;
  z-index: 3;
  animation: bentoAiPhotoFloat 3s ease-in-out infinite;
}
[data-theme="dark"] .bento-ai-photo {
  background: linear-gradient(135deg, rgba(45,184,184,0.2), rgba(245,185,66,0.15));
  border-color: rgba(255,255,255,0.15);
}
.bento-ai-photo.bento-ai-delay-1 { z-index: 2; animation-delay: 0.3s; }
.bento-ai-photo.bento-ai-delay-2 { z-index: 1; animation-delay: 0.6s; }
@keyframes bentoAiPhotoFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -3px; }
}
.bento-ai-arrow {
  color: var(--teal-500);
  font-size: 1.3rem;
  font-weight: 800;
}
.bento-ai-id {
  flex: 1;
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  border-radius: 10px;
  padding: 8px 10px;
  text-align: center;
}
[data-theme="dark"] .bento-ai-id {
  background: rgba(45,184,184,0.1);
  border-color: rgba(63,193,193,0.3);
}
.bento-ai-id span {
  display: block;
  font-size: 0.65rem;
  color: var(--teal-700);
  font-weight: 600;
}
[data-theme="dark"] .bento-ai-id span { color: var(--teal-300); }
.bento-ai-id strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink);
  font-weight: 700;
  margin-top: 2px;
}
[data-theme="dark"] .bento-ai-id strong { color: #fff; }
.bento-ai-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted);
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
[data-theme="dark"] .bento-ai-meta {
  color: rgba(255,255,255,0.6);
  border-top-color: rgba(255,255,255,0.08);
}
.bento-ai-meta b {
  color: var(--teal-700);
  font-family: var(--font-en);
  font-weight: 800;
}
[data-theme="dark"] .bento-ai-meta b { color: var(--teal-300); }

/* ─── Card 5: Sync ─── */
.bento-sync-pulse {
  position: relative;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bento-sync-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px rgba(255,255,255,0.8);
  z-index: 2;
}
.bento-sync-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #fff;
  opacity: 0;
  animation: bentoSyncRing 2s ease-out infinite;
}
@keyframes bentoSyncRing {
  0% { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}
.bento-sync-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bento-sync-info strong {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}
.bento-sync-info span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.78);
}
.bento-sync-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 16px;
  border-left: 1px solid rgba(255,255,255,0.2);
}
.bento-sync-stats > div {
  display: flex;
  flex-direction: column;
}
.bento-sync-stats b {
  font-size: 1rem;
  color: #fff;
  font-family: var(--font-en);
  font-weight: 700;
}
.bento-sync-stats small { font-size: 0.65rem; opacity: 0.7; margin-left: 2px; }
.bento-sync-stats span {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.6);
}

/* ─── Card 6: Score ─── */
.bento-score-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(245,185,66,0.35), transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(45,184,184,0.18), transparent 60%);
  pointer-events: none;
}
.bento-score-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}
.bento-score-num {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 8px 0;
}
.bento-score-num span {
  font-size: 3.2rem;
  font-weight: 800;
  font-family: var(--font-en);
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
}
[data-theme="dark"] .bento-score-num span { color: #fff; }
.bento-score-num small {
  font-size: 1rem;
  color: var(--muted);
  font-family: var(--font-en);
  font-weight: 600;
}
[data-theme="dark"] .bento-score-num small { color: rgba(255,255,255,0.5); }
.bento-score-content strong {
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 800;
}
[data-theme="dark"] .bento-score-content strong { color: #fff; }
.bento-score-trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--teal-700);
  font-weight: 700;
  margin-top: 6px;
}
[data-theme="dark"] .bento-score-trend { color: var(--teal-300); }

/* Word emphasis for h2 in bento section */
.deepdive .word-em {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ─── 響應式 ─── */
@media (max-width: 1100px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .bento-large,
  .bento-tall,
  .bento-sync,
  .bento-score,
  .bento-card:nth-child(3),
  .bento-card:nth-child(4) {
    grid-column: span 2;
    grid-row: auto;
  }
  .bento-large { min-height: 380px; }
  .bento-tall { min-height: 300px; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento-card { grid-column: span 1 !important; }
  .bento-dash-top { grid-template-columns: 1fr; }
  .bento-dash-ring { margin: 0 auto; }
}

/* ═══════════════════════════════════════════════════════════
   i18n 切換按鈕
   ═══════════════════════════════════════════════════════════ */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  margin-right: 8px;
  position: relative;
  z-index: 2;
}
[data-theme="dark"] .lang-switcher {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}
.lang-switcher button {
  background: transparent;
  border: none;
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  letter-spacing: 0.02em;
}
.lang-switcher button.active {
  background: var(--teal-500);
  color: #fff;
  box-shadow: 0 2px 8px rgba(45,184,184,0.35);
}
.lang-switcher button:hover:not(.active) {
  color: var(--ink);
}
[data-theme="dark"] .lang-switcher button:hover:not(.active) { color: #fff; }

/* lang=en 時讓所有中文字位置正確 */
html[lang="en"] body { letter-spacing: 0; }
html[lang="en"] .h-hero,
html[lang="en"] .h-section { letter-spacing: -0.02em; }

@media (max-width: 720px) {
  .lang-switcher button { padding: 4px 8px; font-size: 0.7rem; }
}

/* ═══════════════════════════════════════════════════════════
   深色模式配色全面修復 (Bug #5)
   ═══════════════════════════════════════════════════════════ */
[data-theme="dark"] footer {
  background: #0a1518;
  border-top-color: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
}
[data-theme="dark"] footer .foot-grid h5,
[data-theme="dark"] footer .foot-brand p,
[data-theme="dark"] footer .foot-grid p,
[data-theme="dark"] footer .foot-links a,
[data-theme="dark"] footer .foot-bottom span,
[data-theme="dark"] footer .foot-bottom small {
  color: rgba(255,255,255,0.7);
}
[data-theme="dark"] footer .foot-grid h5 {
  color: #fff;
}
[data-theme="dark"] footer .foot-links a:hover {
  color: var(--teal-300);
}
[data-theme="dark"] footer .foot-social a {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.1);
}
[data-theme="dark"] footer .foot-social a:hover {
  background: var(--teal-500);
  color: #fff;
  border-color: var(--teal-500);
}
[data-theme="dark"] footer .newsletter-input {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
  color: #fff;
}
[data-theme="dark"] footer .newsletter-input::placeholder {
  color: rgba(255,255,255,0.4);
}
[data-theme="dark"] footer .newsletter-btn {
  background: var(--teal-500);
  color: #fff;
}

/* 全站深色 mode 補強 */
[data-theme="dark"] body { background: var(--bg); color: rgba(255,255,255,0.85); }
[data-theme="dark"] .h-section,
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3, [data-theme="dark"] h4 { color: #fff; }
[data-theme="dark"] .lede { color: rgba(255,255,255,0.7); }
[data-theme="dark"] .eyebrow {
  background: rgba(63,193,193,0.12);
  color: var(--teal-300);
  border-color: rgba(63,193,193,0.25);
}
[data-theme="dark"] .marquee {
  background: rgba(255,255,255,0.02);
  border-top-color: rgba(255,255,255,0.06);
  border-bottom-color: rgba(255,255,255,0.06);
}
[data-theme="dark"] .marquee-title { color: rgba(255,255,255,0.5); }
[data-theme="dark"] .marquee-item { color: rgba(255,255,255,0.65); }
[data-theme="dark"] .marquee-item:hover { color: var(--teal-300); }
[data-theme="dark"] .hero-stats {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] .hero-stat-num { color: #fff; }
[data-theme="dark"] .hero-stat-label { color: rgba(255,255,255,0.6); }
[data-theme="dark"] .hero-mesh {
  background:
    radial-gradient(circle at var(--mx, 30%) var(--my, 30%), rgba(63,193,193,0.18), transparent 45%),
    radial-gradient(circle at calc(100% - var(--mx, 30%)) 70%, rgba(245,185,66,0.10), transparent 50%),
    linear-gradient(135deg, #0a1518 0%, #0f2a35 100%);
}
[data-theme="dark"] .hero-grid-overlay {
  background-image:
    linear-gradient(rgba(63,193,193,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63,193,193,0.06) 1px, transparent 1px);
}
/* Hero 浮動小卡在 dark mode */
[data-theme="dark"] .float-card {
  background: rgba(15,42,53,0.92);
  border-color: rgba(255,255,255,0.1);
  border-top-color: rgba(255,255,255,0.2);
}
[data-theme="dark"] .float-card-label { color: rgba(255,255,255,0.55); }
[data-theme="dark"] .float-card-value { color: #fff; }
[data-theme="dark"] .float-card-trend { color: var(--teal-300); }
[data-theme="dark"] .float-card-icon {
  background: rgba(45,184,184,0.18);
  color: var(--teal-300);
}
[data-theme="dark"] .trust-text { color: rgba(255,255,255,0.65); }
[data-theme="dark"] .trust-text strong { color: var(--teal-300); }

/* 各 section dark mode */
[data-theme="dark"] #features { background: var(--bg); }
[data-theme="dark"] .step-num,
[data-theme="dark"] .journey-step h3 { color: #fff; }
[data-theme="dark"] .journey-step .step-label { color: var(--teal-300); }
[data-theme="dark"] .journey-step p { color: rgba(255,255,255,0.7); }
[data-theme="dark"] .journey-step li { color: rgba(255,255,255,0.85); }
[data-theme="dark"] .step-rail { background: rgba(255,255,255,0.08); }
[data-theme="dark"] .step-rail-fill { background: linear-gradient(180deg, var(--teal-400), var(--gold-400)); }
[data-theme="dark"] .step-marker {
  background: rgba(15,42,53,0.95);
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.65);
}
[data-theme="dark"] .step-marker.active {
  background: var(--teal-500);
  color: #fff;
  border-color: var(--teal-500);
}

/* journey-universe 容器 dark mode */
[data-theme="dark"] .journey-universe {
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.06);
}
[data-theme="dark"] .jp-float {
  background: rgba(15,42,53,0.96);
  border-color: rgba(255,255,255,0.1);
  border-top-color: rgba(255,255,255,0.2);
}
[data-theme="dark"] .jp-float-icon {
  background: rgba(45,184,184,0.18);
  color: var(--teal-300);
}
[data-theme="dark"] .jp-float-label { color: rgba(255,255,255,0.55); }
[data-theme="dark"] .jp-float-value { color: #fff; }

/* How v2 dark mode */
[data-theme="dark"] .flow-v2 .flow-step-time {
  background: rgba(45,184,184,0.15);
  color: var(--teal-300);
}
[data-theme="dark"] .flow-v2 .flow-step-meta h3 { color: #fff; }
[data-theme="dark"] .flow-v2 .flow-step-meta p { color: rgba(255,255,255,0.65); }

/* compare table dark mode */
[data-theme="dark"] .compare,
[data-theme="dark"] .pricing,
[data-theme="dark"] .testimonials,
[data-theme="dark"] .faq {
  background: var(--bg);
}
[data-theme="dark"] .compare-table {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] .compare-table th,
[data-theme="dark"] .compare-table td {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.06);
}
[data-theme="dark"] .compare-table thead th {
  background: rgba(255,255,255,0.04);
  color: #fff;
}
[data-theme="dark"] .compare-table .pet-cell { color: var(--teal-300); }
[data-theme="dark"] .compare-table .compare-x { color: var(--gold-500); }
[data-theme="dark"] .compare-table .compare-v { color: var(--teal-300); }

/* pricing card dark mode */
[data-theme="dark"] .price-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
  border-top-color: rgba(255,255,255,0.16);
}
[data-theme="dark"] .price-card h3 { color: #fff; }
[data-theme="dark"] .price-card .price-amount { color: #fff; }
[data-theme="dark"] .price-card .price-desc { color: rgba(255,255,255,0.6); }
[data-theme="dark"] .price-card li { color: rgba(255,255,255,0.8); }
[data-theme="dark"] .price-card.featured {
  background: linear-gradient(180deg, rgba(45,184,184,0.12), rgba(255,255,255,0.04));
  border-color: rgba(63,193,193,0.5);
}

/* testimonials dark mode */
[data-theme="dark"] .testimonial {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
  border-top-color: rgba(255,255,255,0.16);
}
[data-theme="dark"] .testimonial p { color: rgba(255,255,255,0.85); }
[data-theme="dark"] .testimonial-author b { color: #fff; }
[data-theme="dark"] .testimonial-author span { color: rgba(255,255,255,0.55); }
[data-theme="dark"] .testimonial-avatar {
  background: rgba(45,184,184,0.2);
  color: var(--teal-300);
}

/* FAQ dark mode */
[data-theme="dark"] .faq-item {
  border-bottom-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] .faq-q { color: #fff; }
[data-theme="dark"] .faq-q-toggle { color: var(--teal-300); }
[data-theme="dark"] .faq-a { color: rgba(255,255,255,0.7); }

/* CTA dark mode */
[data-theme="dark"] .cta-inner {
  background: linear-gradient(135deg, rgba(45,184,184,0.18), rgba(15,42,53,0.95));
  border: 1px solid rgba(63,193,193,0.25);
}
[data-theme="dark"] .cta-inner h2,
[data-theme="dark"] .cta-inner p {
  color: #fff;
}
[data-theme="dark"] .cta-inner p { opacity: 0.85; }
