/* ============================================================
   橋語翻譯 Landing V2 — homepage-only styles (依 mockup-target.png 還原)
   index.html 專用；privacy.html / terms.html 仍使用 style.css，兩者互不影響。
   Fonts: Inter (Latin/數字) · Noto Sans TC (中文) · Noto Sans Thai · Space Mono
   Icons: Material Symbols Outlined (.msi)
   ============================================================ */

:root {
  /* palette — sampled from mockup-target.png */
  --navy: #0B2350;          /* 大標、內文主色 */
  --navy-2: #1C3768;        /* 手機標題列 */
  --blue: #035EC8;          /* 「順暢溝通」重點字 */
  --primary: #0A5BC4;       /* 標籤、數字圈、icon */
  --icon: #1A66CF;
  --hero-bg: #E6F1FD;
  --page: #F8FAFE;
  --card-soft: #EEF5FE;
  --border: #E0EAF7;
  --text: #24385A;
  --muted: #5B6F8C;
  --green: #03B323;         /* LINE CTA（mockup 實際取樣） */
  --green-2: #02A31D;
  --green-ink: #12A33A;
  --tick: #16A84A;
  --amber: #FCBD31;
  --amber-ink: #CC7F20;
  --spark: #F6B81C;
  --pro-bg: #FEF8E5;
  --pro-border: #F8CE6A;
  --red: #D9363F;
  --red-bg: #FDECEE;
  --green-bg: #E8F8EC;
  --bubble-bot: #D3F5B9;
  --band: #0254AD;

  --font-sans: "Inter", "Noto Sans TC", "Noto Sans Thai", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, Menlo, monospace;

  --container: 1200px;
  --gutter: 24px;
  --header-h: 76px;
  --shadow-sm: 0 4px 14px rgba(16, 60, 130, .07);
  --shadow: 0 12px 32px rgba(16, 60, 130, .10);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-sans); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--page); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--primary); text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #4C9BF0; outline-offset: 2px; border-radius: 6px; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* ---------- Material Symbols ---------- */
.msi {
  font-family: "Material Symbols Outlined"; font-weight: normal; font-style: normal;
  font-size: 24px; line-height: 1; letter-spacing: normal; text-transform: none;
  display: inline-block; white-space: nowrap; word-wrap: normal; direction: ltr;
  font-feature-settings: "liga"; -webkit-font-feature-settings: "liga"; -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  width: 1em; height: 1em; overflow: hidden; flex: none; user-select: none; vertical-align: middle;
}
.msi-fill { font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24; }
.msi-bold { font-variation-settings: "FILL" 0, "wght" 700, "GRAD" 0, "opsz" 24; }
.no-icons .msi { visibility: hidden; }

/* LINE 徽章（白色對話框＋綠字） / 裝飾光芒 */
.line-badge { width: 30px; height: 28px; color: #fff; flex: none; }
.line-badge .line-word { fill: var(--green); }
.spark { position: absolute; width: 40px; height: 40px; color: var(--spark); pointer-events: none; }
.spark-green { color: #19B54A; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 10px 24px; border-radius: 999px; border: 2px solid transparent;
  font-size: 16px; font-weight: 800; line-height: 1.2; text-align: center; white-space: nowrap;
  cursor: pointer; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn .msi { font-size: 22px; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 42px; padding: 7px 18px 7px 12px; font-size: 15.5px; }
.btn-lg { min-height: 60px; padding: 12px 30px 12px 22px; font-size: 19px; }
.btn-lg .line-badge { width: 36px; height: 34px; }
.btn-line { background: linear-gradient(180deg, #0CBC2E 0%, var(--green-2) 100%); color: #fff; box-shadow: 0 8px 20px rgba(3, 163, 29, .30); }
.btn-line:hover { background: var(--green-2); box-shadow: 0 10px 24px rgba(3, 163, 29, .38); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); box-shadow: 0 6px 16px rgba(11, 35, 80, .08); }
.btn-outline .msi { color: var(--navy); font-size: 30px; }
.btn-outline-green { background: #fff; color: var(--green-ink); border-color: var(--green-ink); }
.btn-outline-navy { background: #fff; color: var(--navy); border-color: var(--navy); }
.mock-static { pointer-events: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(237, 245, 254, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand-logo { height: 66px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-links a:not(.btn) { padding: 8px 14px; border-radius: 10px; color: var(--navy); font-weight: 700; font-size: 16px; transition: background .15s, color .15s; }
.nav-links a:not(.btn):hover { background: rgba(255, 255, 255, .7); color: var(--primary); }
.nav-login-mobile, .nav-cta-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { position: relative; display: inline-flex; align-items: center; }
.lang-switch .msi { position: absolute; left: 9px; font-size: 18px; color: var(--primary); pointer-events: none; }
.lang-select { appearance: none; -webkit-appearance: none; height: 36px; padding: 0 12px 0 31px; border: 1px solid #CFDDF0; border-radius: 999px; background: rgba(255, 255, 255, .8); font-size: 14px; font-weight: 700; color: var(--navy); cursor: pointer; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid #CFDDF0; background: #fff; color: var(--navy); align-items: center; justify-content: center; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--hero-bg) 0%, #EDF5FE 100%); padding: 30px 0 96px; }
/* 照片寬高比 1672:941；hero 高約 660px 時寬 ≈ 81.5vw，人物剛好落在文字欄與手機之間 */
.hero-bg { position: absolute; top: 0; bottom: 0; left: 3.3%; width: 81.5%; z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 88%, transparent 100%); }
.hero-bg picture, .hero-bg img { width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: 100% 30%; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
.hero-copy { position: relative; max-width: 540px; padding-top: 6px; }
.hero-copy::before { /* 文字後方柔光，確保壓在照片上仍清楚 */ content: ""; position: absolute; inset: -40px -60px -30px -120px; z-index: -1; background: radial-gradient(closest-side, rgba(236, 244, 254, .92), rgba(236, 244, 254, 0)); }
.hero-tag { display: inline-block; padding: 7px 22px; border-radius: 999px; background: linear-gradient(90deg, #0A62D0, #0457BF); color: #fff; font-size: 17px; font-weight: 800; line-height: 1.4; box-shadow: 0 6px 14px rgba(4, 87, 191, .25); }
.hero h1 { position: relative; margin-top: 16px; font-size: clamp(2.3rem, 1.2rem + 3.2vw, 3.5rem); font-weight: 900; line-height: 1.24; letter-spacing: .01em; color: var(--navy); }
.hero h1 .hl { position: relative; color: var(--blue); white-space: nowrap; }
.hero h1 .hl::after { /* 黃色筆刷底線 */
  content: ""; position: absolute; left: 4%; right: -6%; bottom: -10px; height: 12px; z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M4 9 C70 4 150 3 296 7' fill='none' stroke='%23F5C21B' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.hero .spark-green { left: 345px; top: 86px; width: 52px; height: 52px; transform: rotate(196deg); }
.hero .lead { margin-top: 22px; font-size: 17px; line-height: 1.8; font-weight: 500; color: var(--navy); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 20px; }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 800; color: var(--navy); }
.hero-points .msi { color: var(--primary); font-size: 22px; }
html:not(:lang(zh)) .hero h1 { font-size: clamp(2rem, 1rem + 2.4vw, 2.9rem); line-height: 1.22; }
html:lang(th) .hero h1, html:lang(vi) .hero h1 { line-height: 1.35; }
html:not(:lang(zh)) .hero .lead { max-width: 30em; }
.hero-tag { max-width: 100%; border-radius: 22px; }
html:not(:lang(zh)) .hero .spark-green { display: none; }

/* hero phone — 銀色邊框手機，HTML/CSS 繪製 */
.hero-phone-wrap { position: relative; justify-self: end; width: 284px; margin-top: 0; margin-right: calc(-1 * clamp(0px, (100vw - 1340px) / 2, 50px)); }
.hero-phone-wrap .spark-yellow { right: -46px; top: -6px; width: 50px; height: 50px; transform: scaleX(-1) rotate(-10deg); }
.phone { position: relative; padding: 9px; border-radius: 46px; background: linear-gradient(150deg, #F7F9FC 0%, #C8CFD9 45%, #EEF1F5 100%); box-shadow: 0 30px 60px rgba(14, 45, 95, .28), inset 0 0 0 1px rgba(0, 0, 0, .08); }
.phone-island { position: absolute; top: 18px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 14px; background: #0B0F17; z-index: 2; }
.phone-bar { display: flex; align-items: center; gap: 6px; padding: 48px 14px 12px; border-radius: 37px 37px 0 0; background: var(--navy-2); color: #fff; font-size: 17px; border: 3px solid #0B0F17; border-bottom: 0; }
.phone-bar b { font-weight: 700; white-space: nowrap; }
.phone-bar-icons { margin-left: auto; display: inline-flex; gap: 12px; }
.phone-bar .msi { font-size: 22px; }
.phone .chat { padding: 14px 12px 22px; gap: 12px; border-radius: 0 0 37px 37px; background: #E7F0FB; border: 3px solid #0B0F17; border-top: 0; }

/* ---------- 共用：LINE 聊天元件 ---------- */
.chat { display: flex; flex-direction: column; gap: 14px; }
.msg { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; column-gap: 8px; align-items: start; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.avatar .msi { font-size: 24px; }
.av-staff { background: linear-gradient(160deg, #6E87AA, #34507A); }
.av-worker { background: linear-gradient(160deg, #E8B25A, #B9772A); }
.av-bot { background: #18B04A; }
.msg-name { display: block; margin-bottom: 3px; font-size: 13px; font-weight: 800; color: var(--navy); line-height: 1.3; }
.bubble { display: inline-block; max-width: 100%; padding: 9px 13px; border-radius: 4px 16px 16px 16px; background: #fff; box-shadow: 0 2px 6px rgba(16, 60, 130, .08); font-size: 14.5px; line-height: 1.5; color: var(--navy); font-weight: 500; overflow-wrap: anywhere; }
.bubble.bot { background: var(--bubble-bot); }
.bubble-lg { font-size: 16px; font-weight: 700; padding: 9px 14px; }
.phone .bubble { font-size: 13.5px; }
.msg-time { align-self: end; font-size: 11px; color: #6E7F98; padding-bottom: 2px; }
.msg-bot .msg-body { grid-row: 1 / span 2; grid-column: 2; }
.msg-time-left { grid-column: 1; grid-row: 2; justify-self: center; align-self: start; font-size: 10.5px; }

/* 波浪遮罩 */
.wave { position: absolute; left: 0; width: 100%; display: block; pointer-events: none; }
.wave-hero { bottom: -1px; height: 120px; z-index: 2; }

/* ============================================================
   WHY（為什麼選擇橋語翻譯）
   ============================================================ */
.section { position: relative; }
.section-why { padding: 30px 0 56px; }
.sec-title { text-align: center; }
.sec-title h2 { position: relative; display: inline-flex; align-items: center; gap: 14px; font-size: clamp(1.6rem, 1.1rem + 1.2vw, 2.1rem); font-weight: 900; color: var(--navy); line-height: 1.3; }
.sec-title .spark { position: static; width: 34px; height: 34px; }
.sec-title .spark-l { transform: rotate(20deg); }
.sec-title .spark-r { transform: scaleX(-1) rotate(20deg); }
.sec-title p { margin-top: 8px; font-size: 16px; color: var(--text); }
.feature-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.feature-card { padding: 26px 10px 24px; text-align: center; background: linear-gradient(180deg, #EAF2FD 0%, #F3F8FE 100%); border: 1px solid #E2ECF8; border-radius: 18px; box-shadow: 0 6px 16px rgba(16, 60, 130, .05); transition: transform .2s, box-shadow .2s; }
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-ic { font-size: 44px; color: var(--icon); }
.feature-card h3 { margin-top: 12px; font-size: 18px; font-weight: 900; color: var(--navy); line-height: 1.4; }
.feature-card p { margin-top: 8px; font-size: 14px; line-height: 1.65; color: var(--text); }

/* ============================================================
   DEMO + 使用前後比較
   ============================================================ */
.section-demo { padding: 8px 0 60px; }
.demo-layout { display: grid; grid-template-columns: minmax(0, 1.68fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.demo-card { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 26px; padding: 34px 32px; border-radius: 24px; background: linear-gradient(135deg, #E7F1FD 0%, #F2F7FE 55%, #E9F1FC 100%); border: 1px solid #E1EBF8; box-shadow: 0 12px 30px rgba(16, 60, 130, .08); }
.demo-chip { display: inline-block; padding: 6px 18px; border-radius: 999px; background: linear-gradient(90deg, #0A62D0, #0457BF); color: #fff; font-size: 15px; font-weight: 800; }
.demo-info h2 { margin-top: 16px; font-size: clamp(1.5rem, 1.1rem + 1vw, 1.85rem); white-space: nowrap; font-weight: 900; line-height: 1.3; color: var(--navy); }
.demo-sub { margin-top: 10px; font-size: 16px; color: var(--text); }
.ctl-label { display: block; margin: 26px 0 10px; font-size: 16px; font-weight: 900; color: var(--navy); }
.lang-picker { position: relative; display: flex; align-items: center; height: 56px; padding: 0 14px 0 18px; border-radius: 12px; background: #fff; box-shadow: 0 6px 16px rgba(16, 60, 130, .09); }
.lang-picker .flag { width: 32px; height: 21px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); flex: none; object-fit: cover; }
.lang-picker select { appearance: none; -webkit-appearance: none; flex: 1; min-width: 0; height: 100%; padding: 0 34px 0 14px; border: 0; background: transparent; font-size: 16px; font-weight: 700; color: var(--navy); cursor: pointer; }
.lang-picker select:focus-visible { outline: none; }
.lang-picker:focus-within { box-shadow: 0 0 0 3px #4C9BF0, 0 6px 16px rgba(16, 60, 130, .09); }
.lang-picker .msi { position: absolute; right: 14px; font-size: 26px; color: var(--navy); pointer-events: none; }
.dir-toggle { display: flex; gap: 8px; flex-wrap: wrap; }
.dir-toggle button { padding: 6px 14px; min-height: 38px; border-radius: 999px; border: 1.5px solid #CFDDF0; background: #fff; color: var(--navy); font-size: 14px; font-weight: 700; }
.dir-toggle button[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }

.demo-chat { position: relative; display: flex; flex-direction: column; padding: 20px 18px 14px; border-radius: 20px; background: rgba(255, 255, 255, .92); box-shadow: 0 10px 26px rgba(16, 60, 130, .10); }
.spark-chat { right: -14px; top: 118px; width: 40px; height: 40px; transform: scaleX(-1) rotate(10deg); }
.demo-stream { display: flex; flex-direction: column; gap: 16px; min-height: 210px; max-height: 300px; overflow-y: auto; padding: 2px 4px 6px 2px; }
.demo-stream .msg { grid-template-columns: 46px minmax(0, 1fr) auto; }
.demo-stream .avatar { width: 46px; height: 46px; }
.demo-stream .avatar .msi { font-size: 28px; }
.demo-stream .bubble { font-size: 15px; font-weight: 600; }
.demo-stream .bubble.bot { font-size: 15.5px; padding: 11px 16px; }
.demo-stream .msg-time { color: #3D6FB5; }
.demo-try { margin-top: 12px; padding-top: 12px; border-top: 1px solid #E3ECF8; }
.demo-try-label { font-size: 13px; font-weight: 800; color: var(--muted); margin-bottom: 6px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.chip { flex: none; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 6px 12px; border-radius: 999px; border: 1px solid #CFDDF0; background: #F3F8FE; color: var(--navy); font-size: 13px; font-weight: 600; }
.chip:hover { border-color: var(--primary); background: #fff; }
.demo-form { display: flex; gap: 8px; margin-top: 10px; }
.demo-form input { flex: 1; min-width: 0; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid #D5E1F0; background: #F3F7FC; font-size: 16px; }
.demo-form input:focus { outline: none; border-color: var(--primary); background: #fff; }
.send-btn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; }
.send-btn .msi { font-size: 20px; }
.demo-limit { margin-top: 8px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.typing { display: inline-flex; gap: 4px; padding: 4px 2px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #6BA35A; animation: blink 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.inline-link { color: var(--primary); font-weight: 700; text-decoration: underline; }

.compare { display: flex; flex-direction: column; gap: 12px; }
.compare-title { display: flex; align-items: center; gap: 10px; font-size: 1.55rem; font-weight: 900; color: var(--navy); line-height: 1.3; }
.compare-title .sun { color: var(--spark); font-size: 34px; }
.cmp { padding: 12px 14px 14px; border-radius: 18px; border: 1px solid; }
.cmp-before { background: var(--red-bg); border-color: #F6CDD1; }
.cmp-after { background: var(--green-bg); border-color: #C5E9CF; }
.cmp-head { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 900; line-height: 1.4; }
.cmp-head .msi { font-size: 30px; }
.cmp-before .cmp-head { color: #C9303A; }
.cmp-before .cmp-head .msi { color: #E04A55; }
.cmp-after .cmp-head { color: #158A3D; }
.cmp-after .cmp-head .msi { color: #18A84A; }
.cmp-body { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .45); }
.cmp .msg { grid-template-columns: 44px minmax(0, 1fr) auto; }
.cmp .avatar { width: 44px; height: 44px; }
.cmp .bubble { font-size: 15px; font-weight: 600; }
.cmp .msg-time { color: #3D6FB5; font-size: 12px; }

/* ============================================================
   HOW
   ============================================================ */
.section-how { padding: 10px 0 56px; }
.how-title { display: flex; align-items: center; gap: 24px; justify-content: center; font-size: clamp(1.35rem, 1rem + 1vw, 1.75rem); font-weight: 800; color: var(--navy); text-align: center; line-height: 1.3; }
.how-title::before, .how-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(160, 190, 228, 0), #C9DAF0); }
.how-title::after { background: linear-gradient(90deg, #C9DAF0, rgba(160, 190, 228, 0)); }
.how-title b { font-size: 1.75em; font-weight: 900; margin: 0 .12em; vertical-align: -.06em; }
.stage-row { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr); align-items: stretch; margin-top: 26px; }
.stage { display: flex; flex-direction: column; padding: 18px 18px 20px; border-radius: 18px; background: linear-gradient(180deg, #EEF5FE 0%, #F5F9FE 100%); border: 1px solid #E0EAF7; box-shadow: 0 6px 16px rgba(16, 60, 130, .05); }
.stage-head { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 900; color: var(--primary); line-height: 1.3; }
.stage-num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 17px; font-weight: 900; flex: none; }
.stage-flag { margin-left: auto; padding: 2px 10px; border-radius: 999px; background: var(--amber); color: #4A3000; font-size: 12px; font-weight: 800; white-space: nowrap; }
.stage-photo { margin: 14px 0 12px; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: #DCE8F7; }
.stage-photo img { width: 100%; height: 100%; object-fit: cover; }
.stage p { font-size: 14.5px; line-height: 1.65; color: var(--text); font-weight: 500; }
.stage .cmd { display: inline-block; margin: 6px 0 0; padding: 2px 10px; border-radius: 6px; background: #FFE58A; color: var(--navy); font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; }
.stage-key { border-color: #F4D58C; background: linear-gradient(180deg, #FFF9EC 0%, #FFFDF7 100%); }
.stage-arrow { align-self: center; justify-self: center; color: #6C9BDB; font-size: 32px; }
.how-foot { display: flex; justify-content: center; margin-top: 26px; }
.tutorial-tile { position: relative; display: inline-flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border: 0; border-radius: 16px; background: linear-gradient(120deg, #123A74 0%, #0A5BC4 100%); color: #fff; box-shadow: var(--shadow); text-align: left; }
.tile-play { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--green); }
.tile-play .msi { font-size: 32px; }
.tile-text { font-size: 17px; font-weight: 900; }
.tile-badge { padding: 3px 10px; border-radius: 6px; background: rgba(0, 0, 0, .35); font-size: 12.5px; font-weight: 700; }
.tutorial-tile:hover { transform: translateY(-1px); }

/* ============================================================
   SCENES
   ============================================================ */
.section-scenes { padding: 10px 0 56px; }
.scn-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 20px; }
.scn-head h2 { font-size: clamp(1.6rem, 1.1rem + 1.2vw, 2.1rem); font-weight: 900; color: var(--navy); }
.scn-head p { font-size: 15.5px; color: var(--text); font-weight: 500; }
.scene-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 20px; }
.scene { position: relative; aspect-ratio: 39 / 15; border-radius: 16px; overflow: hidden; background: var(--navy); box-shadow: var(--shadow); isolation: isolate; }
.scene picture, .scene img { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene img { object-fit: cover; object-position: 50% 28%; z-index: -2; transition: transform .5s ease; }
/* 各張照片的焦點：保留安全帽／廚師帽與上排人物的頭部 */
.scene-grid .scene:nth-child(1) img { object-position: 50% 12%; }
.scene-grid .scene:nth-child(2) img { object-position: 50% 14%; }
.scene-grid .scene:nth-child(3) img { object-position: 50% 10%; }
.scene:hover img { transform: scale(1.04); }
.scene::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 18, 38, 0) 28%, rgba(8, 18, 38, .82) 100%); }
.scene-cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 16px 22px; color: #fff; }
.scene-cap > .msi { font-size: 40px; }
.scene-cap h3 { font-size: 19px; font-weight: 900; color: #fff; line-height: 1.35; }
.scene-cap p { font-size: 14px; color: rgba(255, 255, 255, .92); line-height: 1.5; }
/* 家庭看護專頁入口（mockup 以外的新增；淺綠色呼應 family 頁） */
.scene-family { display: flex; align-items: center; gap: 18px; margin-top: 24px; padding: 14px 22px 14px 16px; border-radius: 16px; border: 1px solid #D3E6DA; background: linear-gradient(90deg, #E4F0E8 0%, #F1F7F3 100%); color: var(--navy); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.scene-family:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.scene-family-ph { flex: none; width: 60px; height: 60px; border-radius: 50%; overflow: hidden; border: 3px solid #fff; box-shadow: 0 0 0 2px #CFE7DA; }
.scene-family-ph img { width: 100%; height: 100%; object-fit: cover; }
.scene-family-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.scene-family-text strong { font-size: 18px; font-weight: 900; line-height: 1.4; }
.scene-family-text span { font-size: 15px; font-weight: 500; line-height: 1.5; color: var(--text); }
.scene-family-cta { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 9px 18px; border-radius: 999px; border: 1.5px solid #2C8C78; background: #fff; color: #0E5A4A; font-size: 15.5px; font-weight: 800; white-space: nowrap; }
.scene-family-cta .msi { font-size: 20px; transition: transform .2s; }
.scene-family:hover .scene-family-cta .msi { transform: translateX(3px); }

/* ============================================================
   PRICING
   ============================================================ */
.section-pricing { padding: 26px 0 40px; }
.pricing-layout { display: grid; grid-template-columns: minmax(0, .78fr) repeat(3, minmax(0, 1fr)); gap: 26px; align-items: stretch; }
.pricing-intro h2 { font-size: clamp(1.6rem, 1.1rem + 1.2vw, 2.1rem); font-weight: 900; color: var(--navy); }
.pricing-intro p { margin-top: 12px; font-size: 15.5px; color: var(--text); }
.price-toggle { display: inline-flex; gap: 4px; margin-top: 18px; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid #D5E2F2; }
.price-toggle button { min-height: 36px; padding: 4px 14px; border-radius: 999px; border: 0; background: transparent; color: var(--navy); font-size: 14px; font-weight: 800; display: inline-flex; align-items: center; gap: 6px; }
.price-toggle button[aria-pressed="true"] { background: var(--primary); color: #fff; }
.save-tag { padding: 1px 8px; border-radius: 999px; background: var(--amber); color: #4A3000; font-size: 11.5px; font-weight: 800; }
.price-card { position: relative; display: flex; flex-direction: column; align-items: center; padding: 22px 24px 22px; text-align: center; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 6px 18px rgba(16, 60, 130, .06); }
.price-card h3 { font-size: 20px; font-weight: 900; color: var(--navy); }
.price { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin-top: 4px; color: var(--navy); }
.price .cur { font-size: 22px; font-weight: 900; }
.price .amt { font-family: "Inter", var(--font-sans); font-size: 48px; font-weight: 900; line-height: 1.1; letter-spacing: -.01em; }
.price .per { font-size: 19px; font-weight: 800; }
.price-quote { align-items: center; gap: 8px; margin-top: 10px; color: var(--amber-ink); }
.price-quote .msi { font-size: 34px; color: #E39B2F; }
.price-quote .amt-text { font-size: 28px; font-weight: 900; }
.price-alt { margin-top: 4px; padding: 2px 12px; border-radius: 999px; background: #FFDF7E; color: var(--navy); font-size: 13px; font-weight: 800; }
.price-features { display: inline-flex; flex-direction: column; gap: 6px; margin: 14px 0 18px; text-align: left; flex: 1; }
.price-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--text); font-weight: 500; }
.price-features .msi { font-size: 21px; color: var(--tick); }
.price-cta { width: 100%; min-height: 46px; font-size: 17px; }
.price-popular { background: var(--pro-bg); border: 2px solid var(--pro-border); box-shadow: 0 16px 36px rgba(242, 170, 30, .18); }
.badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 4px; padding: 3px 16px; border-radius: 10px 10px 10px 10px; background: var(--amber); color: #fff; font-size: 14px; font-weight: 900; white-space: nowrap; box-shadow: 0 6px 14px rgba(242, 170, 30, .3); }
.badge .msi { font-size: 18px; }

/* ============================================================
   PRIVACY · FAQ · HELP
   ============================================================ */
.section-faq { padding: 26px 0 30px; }
.faq-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) minmax(0, .92fr); gap: 26px; align-items: stretch; }
.panel { padding: 20px 26px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--border); box-shadow: 0 6px 18px rgba(16, 60, 130, .06); }
.panel-title { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 900; color: var(--navy); line-height: 1.3; }
.panel-title .msi { font-size: 32px; color: var(--icon); }
.check-list { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--text); font-weight: 500; }
.check-list .msi { font-size: 21px; color: var(--tick); }
.panel-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; margin-left: 31px; font-size: 14.5px; font-weight: 800; color: var(--primary); }
.panel-link .msi { font-size: 18px; }
.faq { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.faq details { border: 1px solid #DCE6F3; border-radius: 10px; background: #fff; }
.faq details[open] { border-color: #B9D3F2; background: #F7FAFF; }
.faq summary { display: flex; align-items: center; gap: 8px; padding: 5px 12px; font-size: 14.5px; font-weight: 800; color: var(--navy); line-height: 1.5; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary > .msi:first-child { font-size: 18px; }
.faq summary .chev { margin-left: auto; font-size: 22px; transition: transform .2s; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq details p { padding: 2px 14px 12px 38px; font-size: 14px; line-height: 1.75; color: var(--text); }
.help-panel { display: grid; grid-template-columns: minmax(0, 1fr) 132px; grid-template-rows: auto 1fr; gap: 12px 14px; align-items: start; padding: 16px; background: linear-gradient(135deg, #F2F7FE 0%, #FFFFFF 100%); }
.help-bubble { position: relative; grid-column: 1; grid-row: 1; padding: 16px 12px; border-radius: 18px; background: #E5F0FD; text-align: center; }
.help-bubble::after { content: ""; position: absolute; right: -20px; top: 40%; border: 9px solid transparent; border-left: 14px solid #E5F0FD; }
.help-bubble p { font-size: 16.5px; font-weight: 900; line-height: 1.55; color: var(--navy); }
.help-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 6px 16px; border-radius: 10px; background: #fff; color: var(--primary); font-size: 16px; font-weight: 900; box-shadow: 0 4px 10px rgba(16, 60, 130, .1); }
.help-btn .msi { font-size: 20px; }
.help-qr { grid-column: 1; grid-row: 2; display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 10px 8px 8px; border-radius: 14px; background: #fff; border: 1px solid var(--border); box-shadow: 0 6px 16px rgba(16, 60, 130, .08); }
.help-qr img { width: 84px; height: 84px; flex: none; }
.help-qr figcaption { font-size: 13.5px; font-weight: 800; color: var(--navy); line-height: 1.45; word-break: keep-all; }
/* 客服人員照片：人物在原圖右半部，裁成直式肖像 */
.help-agent { grid-column: 2; grid-row: 1 / span 2; align-self: stretch; min-height: 210px; border-radius: 16px; overflow: hidden; background: #DCE8F7; box-shadow: 0 8px 20px rgba(16, 60, 130, .12); }
.help-agent img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 22%; }

/* ============================================================
   CTA BAND + FOOTER（頂部波浪遮罩）
   ============================================================ */
.site-footer { position: relative; overflow: hidden; margin-top: 20px; padding-top: 96px; }
.wave-footer { top: 0; height: 110px; }
.footer-band { position: relative; background: var(--band); color: #fff; padding: 6px 0 0; }
.cta-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 40px; }
.cta-row h2 { font-size: clamp(1.4rem, 1rem + 1.1vw, 1.9rem); font-weight: 900; line-height: 1.4; color: #fff; }
.cta-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; }
.cta-points li { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; }
.cta-points .msi { font-size: 28px; }
.cta-btn-wrap { position: relative; }
.cta-btn { border: 3px solid rgba(255, 255, 255, .9); }
.spark-cta { right: -38px; top: -22px; width: 40px; height: 40px; transform: scaleX(-1) rotate(-10deg); }
.foot-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-top: 30px; padding-block: 18px 22px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 13.5px; color: #CFE1F7; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-links a { color: #fff; opacity: .9; }
.foot-links a:hover { opacity: 1; text-decoration: underline; }

/* ============================================================
   5 步驟互動教學（<dialog>）
   ============================================================ */
.tutorial { width: min(900px, calc(100% - 32px)); max-height: calc(100vh - 40px); padding: 26px 28px 28px; border: 0; border-radius: 24px; background: #fff; color: var(--text); box-shadow: 0 30px 80px rgba(8, 25, 55, .35); }
.tutorial::backdrop { background: rgba(8, 25, 55, .55); }
.tutorial-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tutorial-head h2 { font-size: 22px; font-weight: 900; color: var(--navy); }
.tutorial-close { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #EEF4FC; color: var(--navy); }
.tutorial-sub { margin-top: 4px; font-size: 14px; color: var(--muted); }
.onboard-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.onboard-tabs button { flex: 1 1 auto; padding: 8px 14px; min-height: 42px; border-radius: 12px; border: 1.5px solid #D5E2F2; background: #fff; color: var(--navy); font-size: 14.5px; font-weight: 800; }
.onboard-tabs button[aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.onboard-stage { margin-top: 16px; padding: 22px; border-radius: 18px; background: var(--card-soft); border: 1px solid var(--border); }
.onboard-panel { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.onboard-screen { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; }
.onboard-caption h3 { font-size: 19px; font-weight: 900; color: var(--navy); }
.onboard-caption p { margin-top: 6px; font-size: 15px; line-height: 1.75; }
.onboard-caption-warn p b { color: #A35F00; }
.onboard-caption .stage-flag { margin-left: 6px; vertical-align: 2px; }
.onboard-down { font-size: 13px; font-weight: 800; color: var(--primary); white-space: nowrap; }
.mock-phone { width: 230px; max-width: 100%; border: 6px solid #0F1E3A; border-radius: 28px; overflow: hidden; background: #E7F0FB; flex: none; }
.mock-bar { display: flex; align-items: center; gap: 4px; padding: 9px 12px; background: var(--navy-2); color: #fff; font-size: 14px; }
.mock-phone .chat { padding: 12px 10px 18px; }
.mock-phone .msg { grid-template-columns: 32px minmax(0, 1fr); }
.mock-phone .avatar { width: 32px; height: 32px; }
.mock-phone .avatar .msi { font-size: 20px; }
.mock-phone .bubble { font-size: 13px; }
.mock-friend { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 24px 14px 26px; text-align: center; background: #fff; }
.mock-avatar { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 26px; font-weight: 900; }
.mock-friend-name { font-weight: 900; color: var(--navy); }
.mock-friend-desc { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.mock-sys { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 34px 14px 40px; }
.mock-sysmsg { font-size: 12px; color: #8A9BB0; }
.mock-sysline { padding: 5px 12px; border-radius: 999px; background: rgba(15, 30, 58, .12); font-size: 12.5px; font-weight: 700; color: var(--navy); }
.mock-link { display: block; margin-top: 6px; padding: 5px 10px; border-radius: 8px; background: #fff; color: var(--primary); font-weight: 800; font-size: 12.5px; }
.mock-browser { width: 100%; max-width: 300px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.mock-browser-wide { max-width: 380px; }
.browser-bar { display: flex; align-items: center; gap: 5px; padding: 8px 12px; background: #F3F7FC; border-bottom: 1px solid var(--border); }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #C5D0DE; }
.browser-url { margin-left: 6px; font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser-body { display: flex; flex-direction: column; gap: 12px; padding: 18px; }
.browser-body.center { align-items: center; text-align: center; }
.mock-title { font-weight: 900; color: var(--navy); }
.mock-sub { font-size: 12.5px; color: var(--muted); }
.code-chip { padding: 8px 16px; border-radius: 10px; border: 2px dashed #9FC2EE; background: #FFF7D6; font-family: var(--font-mono); font-weight: 700; font-size: 19px; letter-spacing: .06em; color: var(--navy); }
.mock-group-name { font-weight: 900; color: var(--navy); font-size: 17px; }
.mock-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--border); font-size: 14px; }
.mock-row-label { color: var(--muted); }
.lang-pill { padding: 3px 12px; border-radius: 999px; background: #E3EEFD; color: var(--primary); font-weight: 800; font-size: 13.5px; }
.mock-toggle-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mock-toggle-title { font-weight: 800; color: var(--navy); }
.mock-toggle-warn { font-size: 12px; color: #A35F00; font-weight: 700; }
.toggle { position: relative; display: inline-block; width: 64px; height: 34px; border-radius: 17px; background: #C5D0DE; flex: none; }
.toggle .knob { position: absolute; top: 3px; left: 3px; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.toggle.on { background: #18B04A; }
.toggle.on .knob { left: 33px; }

/* ============================================================
   Responsive（Mockup 為桌機版；以下為平板／手機的對應排版）
   ============================================================ */
@media (max-width: 1340px) {
  .hero-phone-wrap .spark-yellow { right: -18px; top: -26px; }
}

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 10px var(--gutter) 22px; background: #fff; box-shadow: 0 20px 40px rgba(16, 43, 85, .14); }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 12px; font-size: 17px; }
  .nav-login-mobile { display: block; }
  .header-actions { margin-left: auto; }
  .feature-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .stage-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .stage-arrow { display: none; }
  .pricing-layout { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 34px; }
  .pricing-intro { grid-column: 1 / -1; text-align: center; }
  .faq-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .help-panel { grid-column: 1 / -1; max-width: 560px; justify-self: center; width: 100%; }
}

@media (max-width: 1024px) {
  /* 平板／手機：文字 → 照片 → 手機示意（疊在照片下緣），全部在波浪之上完整顯示 */
  .hero { display: flex; flex-direction: column; padding: 28px 0 70px; }
  .hero > .container.hero-grid { display: contents; }
  .hero-copy { order: 1; position: relative; z-index: 1; width: 100%; max-width: calc(640px + var(--gutter) * 2); padding-inline: var(--gutter); margin-inline: auto; }
  .hero-copy::before { display: none; }
  .hero .spark-green { display: none; }
  .hero-bg { order: 2; position: relative; left: 0; width: 100%; height: 420px; margin-top: -30px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 82%, transparent 100%); }
  .hero-bg img { object-position: 80% 30%; }
  .hero-phone-wrap { order: 3; position: relative; z-index: 3; width: 290px; margin: -170px auto 0; justify-self: auto; }
  .hero-phone-wrap { margin-left: max(var(--gutter), calc(50% - 320px)); margin-right: auto; }
  .hero-phone-wrap .spark-yellow { display: none; }
  .wave-hero { height: 70px; }
  .demo-layout { grid-template-columns: minmax(0, 1fr); }
  .compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .compare-title { grid-column: 1 / -1; }
  .cta-row { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 22px; }
}

@media (max-width: 900px) {
  .demo-card { grid-template-columns: minmax(0, 1fr); padding: 28px 22px; }
  .demo-info h2 { white-space: normal; }
  .spark-chat { display: none; }
  .scene-grid { grid-template-columns: 1fr; gap: 18px; max-width: 620px; margin-inline: auto; }
  .scene-family { max-width: 620px; margin-inline: auto; }
  .scene { aspect-ratio: 2.2 / 1; }
  .pricing-layout { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; row-gap: 32px; }
  .faq-row { grid-template-columns: 1fr; }
  .onboard-panel { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; --header-h: 66px; }
  .brand-logo { height: 54px; }
  .header-cta { display: none; }
  .nav-cta-mobile { display: inline-flex; margin-top: 10px; }
  .hero .lead { font-size: 16px; }
  .hero .lead br { display: none; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn-lg { font-size: 18px; min-height: 56px; }
  .hero-points { gap: 6px 18px; }
  .hero-points li { font-size: 14.5px; }
  .hero-bg { height: 300px; margin-top: -10px; }
  .hero-bg img { object-position: 78% 25%; }
  .hero-phone-wrap { width: 250px; margin-top: -110px; margin-inline: auto; }
  .phone { border-radius: 36px; padding: 7px; }
  .phone-bar { padding: 44px 10px 10px; font-size: 14px; border-radius: 29px 29px 0 0; }
  .phone-island { top: 16px; width: 70px; height: 20px; margin-left: -35px; }
  .phone-bar .msi { font-size: 18px; }
  .phone-bar-icons { gap: 6px; }
  .phone .chat { padding: 10px 8px 18px; gap: 10px; border-radius: 0 0 29px 29px; }
  .phone .msg { grid-template-columns: 28px minmax(0, 1fr) auto; column-gap: 5px; }
  .phone .avatar { width: 28px; height: 28px; }
  .phone .avatar .msi { font-size: 18px; }
  .phone .bubble { font-size: 12px; padding: 6px 9px; }
  .phone .bubble-lg { font-size: 13.5px; }
  .phone .msg-name { font-size: 10.5px; }
  .phone .msg-time { font-size: 9px; }
  .feature-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .feature-card { padding: 20px 8px; }
  .feature-card h3 { font-size: 16px; }
  .feature-card p { font-size: 13px; }
  .sec-title .spark { width: 26px; height: 26px; }
  .compare { grid-template-columns: 1fr; }
  .demo-stream .msg { grid-template-columns: 38px minmax(0, 1fr) auto; }
  .demo-stream .avatar { width: 38px; height: 38px; }
  .how-title { gap: 12px; }
  .how-title::before, .how-title::after { display: none; }
  .stage-row { grid-template-columns: 1fr; gap: 16px; }
  .stage { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 14px; align-items: start; }
  .stage-head { grid-column: 1 / -1; }
  .stage-photo { margin: 12px 0 0; }
  .stage p { margin-top: 12px; }
  .tutorial-tile { width: 100%; padding: 10px 12px 10px 10px; gap: 12px; }
  .tile-text { font-size: 15.5px; white-space: nowrap; }
  .tile-badge { font-size: 11px; padding: 3px 7px; white-space: nowrap; }
  .scene { aspect-ratio: 16 / 9; }
  .scene-cap { padding: 14px 16px; }
  .scene-family { flex-wrap: wrap; gap: 12px 14px; padding: 14px 16px; }
  .scene-family-ph { width: 52px; height: 52px; }
  .scene-family-text strong { font-size: 16.5px; }
  .scene-family-text span { font-size: 14px; }
  .scene-family-cta { width: 100%; justify-content: center; }
  .panel { padding: 18px 18px; }
  .help-panel { grid-template-columns: minmax(0, 1fr) 118px; }
  .help-qr img { width: 76px; height: 76px; }
  .cta-points { gap: 8px 18px; }
  .cta-btn-wrap, .cta-btn { width: 100%; }
  .spark-cta { display: none; }
  .foot-meta { flex-direction: column; align-items: flex-start; }
  .tutorial { padding: 20px 16px; }
  .onboard-stage { padding: 14px; }
  .onboard-down { display: none; }
}

@media (max-width: 380px) {
  .lang-select { padding-right: 6px; }
  .brand-logo { height: 48px; }
  .hero-phone-wrap { width: 236px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .feature-card:hover, .btn:hover, .tutorial-tile:hover { transform: none; }
  .scene:hover img { transform: none; }
  .scene-family:hover, .scene-family:hover .scene-family-cta .msi { transform: none; }
}
