:root {
  --ink: #0b0e12;
  --ink-soft: #11161d;
  --panel: #171d25;
  --panel-light: #202833;
  --line: rgba(255,255,255,.12);
  --text: #f4f1ea;
  --muted: #a7adb3;
  --gold: #e7bd58;
  --gold-deep: #a8782d;
  --blue: #61a7ff;
  --plum: #b582d9;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--sans); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 10; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(11,14,18,.84); backdrop-filter: blur(18px); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 760; letter-spacing: .02em; }
.brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(231,189,88,.3); }
.brand span { font-size: 17px; }
.nav-links { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 13px; }
.nav-links a:hover, .footer a:hover { color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.locale { color: var(--muted); font-size: 12px; }
.language-switch { display: inline-flex; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; }
.language-switch a { min-width: 38px; padding: 7px 8px; color: var(--muted); text-align: center; font-size: 11px; font-weight: 700; }
.language-switch a + a { border-left: 1px solid var(--line); }
.language-switch a[aria-current="true"] { background: var(--text); color: var(--ink); }
.menu-button { display: none; border: 1px solid var(--line); background: transparent; color: var(--text); border-radius: 8px; padding: 8px 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 18px; border: 1px solid transparent; border-radius: 6px; font-weight: 700; font-size: 13px; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: #17120a; }
.button-primary:hover { background: #f0ca6c; }
.button-quiet { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.03); }
.button-quiet:hover { border-color: rgba(231,189,88,.55); }
.button-disabled { border-color: var(--line); color: #777e85; cursor: default; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: 11px; font-weight: 800; }
.hero { position: relative; overflow: hidden; padding: 170px 0 110px; background: radial-gradient(circle at 86% 15%, rgba(167,116,40,.16), transparent 35%), linear-gradient(115deg, #0b0e12 0%, #11161d 60%, #0c1015 100%); }
.hero:after { content: ''; position: absolute; width: 56vw; height: 1px; right: -10vw; bottom: 18%; background: linear-gradient(90deg, transparent, rgba(231,189,88,.48), transparent); transform: rotate(-18deg); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr); align-items: center; gap: 80px; }
.hero-copy-column { position: relative; z-index: 1; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 650px; font: 600 clamp(48px, 7vw, 88px)/.98 var(--serif); letter-spacing: -.04em; }
.hero-copy { max-width: 570px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.microcopy { color: #777f88; font-size: 12px; }
.hero-art { position: relative; min-height: 590px; }
.phone { position: absolute; width: min(290px, 70%); border-radius: 40px; padding: 8px; background: #0c0f13; box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.16); }
.phone img { border-radius: 32px; width: 100%; }
.phone-main { top: 10px; right: 4%; transform: rotate(3.5deg); z-index: 2; }
.phone-back { top: 130px; left: 3%; transform: rotate(-8deg) scale(.84); opacity: .58; }
.hero-note { position: absolute; right: 2%; bottom: 44px; width: 180px; padding: 14px; border-left: 2px solid var(--gold); background: rgba(20,25,32,.82); color: var(--muted); font-size: 12px; }
.hero-note strong { display: block; margin-bottom: 3px; color: var(--text); font-size: 15px; }
.strip { max-width: 470px; margin-top: 38px; }
.strip-grid { display: grid; grid-template-columns: 1fr; gap: 19px; counter-reset: strip-item; }
.strip-item { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 16px; min-width: 0; counter-increment: strip-item; }
.strip-item:before { content: "0" counter(strip-item); grid-row: 1 / 3; margin-top: 5px; color: var(--gold); font-size: 10px; font-weight: 800; line-height: 1; letter-spacing: .2em; }
.strip-item strong { grid-column: 2; display: block; margin-bottom: 3px; color: var(--text); font: 600 18px/1.2 var(--serif); letter-spacing: 0; }
.strip-item span { grid-column: 2; display: block; color: var(--muted); font-size: 12px; line-height: 1.5; }
.section { padding: 116px 0; }
#screens { padding-bottom: 48px; }
#product { padding-top: 56px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 44px; }
.section-heading h2 { max-width: 620px; margin-bottom: 0; font: 600 clamp(34px, 5vw, 58px)/1.03 var(--serif); letter-spacing: -.035em; }
.section-heading p { max-width: 370px; margin-bottom: 4px; color: var(--muted); font-size: 15px; }
.gallery-shell { position: relative; }
.gallery { display: flex; justify-content: safe center; gap: 48px; overflow-x: auto; padding: 18px 0 24px; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; }
.gallery::-webkit-scrollbar { display: none; }
.gallery-card { flex: 0 0 244px; scroll-snap-align: start; margin: 0; }
.gallery-phone { width: 220px; margin: 0 auto; filter: drop-shadow(0 22px 34px rgba(0,0,0,.42)); transform: translateY(8px) rotate(-1.5deg); transform-origin: center 72%; transition: transform .35s ease, filter .35s ease; }
.gallery-card:nth-child(2) .gallery-phone { transform: translateY(-7px) rotate(1.3deg); }
.gallery-card:nth-child(3) .gallery-phone { transform: translateY(5px) rotate(-1deg); }
.gallery-card:nth-child(4) .gallery-phone { transform: translateY(-5px) rotate(1.2deg); }
.gallery-phone img { width: 100%; aspect-ratio: 1206 / 2622; border-radius: 26px; object-fit: contain; }
.gallery-card figcaption { width: 220px; margin: 0 auto; padding: 22px 0 4px; color: var(--muted); font-size: 12px; text-align: center; }
.gallery-card figcaption strong { display: block; color: var(--text); font-size: 14px; margin-bottom: 3px; }
.gallery-card figcaption span { display: block; }
@media (hover: hover) and (pointer: fine) {
  .gallery-card:hover .gallery-phone { filter: drop-shadow(0 30px 44px rgba(0,0,0,.52)); transform: translateY(-10px) rotate(0deg) scale(1.025); }
}
.features { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.feature { padding: 26px 24px 0 0; border-right: 1px solid var(--line); }
.feature + .feature { padding-left: 24px; }
.feature:last-child { border-right: 0; }
.feature-number { color: var(--gold); font: 700 12px/1 var(--sans); letter-spacing: .14em; }
.feature h3 { margin: 28px 0 8px; font: 600 25px/1.1 var(--serif); }
.feature p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.chat-section { background: #121619; }
.chat-grid { display: grid; grid-template-columns: .95fr 1fr; gap: 52px; align-items: center; }
.chat-copy h2 { max-width: 520px; margin: 15px 0 20px; font: 600 clamp(38px, 5vw, 62px)/1 var(--serif); letter-spacing: -.04em; }
.chat-copy p { max-width: 470px; color: var(--muted); }
.chat-panel { width: 100%; max-width: 460px; justify-self: end; overflow: hidden; border: 1px solid rgba(231,189,88,.24); border-radius: 14px; background: #181d21; box-shadow: 0 24px 58px rgba(0,0,0,.32), inset 0 1px rgba(255,255,255,.035); }
.chat-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.08); background: #1c2227; }
.chat-identity { display: flex; align-items: center; gap: 8px; }
.chat-identity img { width: 29px; height: 29px; border-radius: 7px; }
.chat-identity strong { display: block; font-size: 12px; }
.chat-identity span { display: flex; align-items: center; gap: 5px; margin-top: 1px; color: #8f999f; font-size: 8px; }
.chat-identity i { width: 6px; height: 6px; border-radius: 50%; background: #4bc68b; box-shadow: 0 0 0 3px rgba(75,198,139,.12); }
.chat-secure { color: #a8b0b5; font-size: 9px; }
.chat-context { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 14px; border-bottom: 1px solid rgba(231,189,88,.14); background: #14191d; }
.chat-context > div:first-child > span { display: block; margin-bottom: 2px; color: var(--gold); font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.chat-context strong { font-size: 11px; }
.context-tags { display: flex; justify-content: flex-end; gap: 5px; flex-wrap: wrap; }
.context-tags span { padding: 3px 6px; border: 1px solid rgba(255,255,255,.09); border-radius: 5px; background: #1c2227; color: #aeb6bb; font-size: 8px; }
.chat-thread { padding: 12px 14px; }
.chat-message { display: flex; gap: 7px; margin-bottom: 10px; }
.chat-message:last-child { margin-bottom: 0; }
.chat-message-user { display: flex; flex-direction: column; align-items: flex-end; width: auto; max-width: 80%; margin-left: auto; }
.chat-message-user .bubble { width: fit-content; max-width: 100%; }
.chat-message-ai { width: min(97%, 450px); }
.chat-message-body { min-width: 0; flex: 1; }
.chat-message-meta { display: flex; align-items: center; gap: 7px; margin: 0 2px 4px; color: #747e85; font-size: 8px; }
.chat-message-user .chat-message-meta { justify-content: flex-end; }
.chat-avatar { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 14px; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px rgba(231,189,88,.22); }
.chat-avatar img { width: 100%; height: 100%; }
.bubble { max-width: none; padding: 10px 12px; margin: 0; border: 1px solid rgba(255,255,255,.065); border-radius: 6px 13px 13px 13px; background: #22292e; color: #d5dadd; font-size: 10px; line-height: 1.5; }
.bubble p { margin: 0; }
.chat-message-ai .bubble { width: fit-content; min-width: 75%; max-width: 100%; }
.chat-response-line { display: block; }
.bubble-user { border-color: rgba(97,167,255,.18); border-radius: 15px 6px 15px 15px; background: #20374a; color: #e2edf5; }
.analysis-label { display: inline-block; margin-bottom: 6px; color: var(--gold); font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.analysis-label-result { color: #63c997; }
.risk-note { display: flex; gap: 7px; margin-top: 8px; padding-top: 7px; border-top: 1px solid rgba(255,255,255,.075); color: #929ba1; font-size: 8px; }
.risk-note strong { flex: 0 0 auto; color: #d4b767; }
.cta { padding: 84px 0; background: var(--gold); color: #17120a; }
.cta-grid { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta h2 { margin-bottom: 0; font: 600 clamp(34px, 5vw, 54px)/1 var(--serif); letter-spacing: -.03em; }
.store-actions { position: relative; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.store-badge { display: flex; align-items: center; width: 176px; min-height: 56px; padding: 7px 13px; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; background: #111; color: #fff; font-family: var(--sans); text-align: left; box-shadow: 0 7px 16px rgba(70,49,9,.16); }
.store-badge img { flex: 0 0 auto; width: 27px; height: 29px; margin-right: 11px; object-fit: contain; }
.store-badge-copy { display: block; min-width: 0; }
.store-badge-copy small { display: block; margin-bottom: 1px; font-size: 8px; line-height: 1; letter-spacing: 0; }
.store-badge-copy strong { display: block; white-space: nowrap; font-size: 17px; line-height: 1.15; letter-spacing: 0; }
.store-badge-static { cursor: default; }
.store-badge-button { cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.store-badge-button:hover { transform: translateY(-2px); background: #1b1b1b; box-shadow: 0 10px 20px rgba(70,49,9,.22); }
.store-badge-button:focus-visible { outline: 3px solid rgba(17,17,17,.28); outline-offset: 3px; }
.store-toast { position: absolute; top: calc(100% + 12px); left: 50%; z-index: 2; min-width: 108px; padding: 8px 13px; border-radius: 6px; background: #17120a; color: #f6d77f; text-align: center; font-size: 11px; font-weight: 700; opacity: 0; pointer-events: none; transform: translate(-50%, 6px); transition: opacity .18s ease, transform .18s ease; }
.store-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.footer { padding: 44px 0 34px; background: #080a0d; color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; gap: 35px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; font-size: 12px; }
.footer small { display: block; margin-top: 28px; color: #687078; font-size: 11px; }
.legal-shell { min-height: 100vh; padding: 140px 0 90px; background: var(--ink); }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 70px; align-items: start; }
.legal-index { position: sticky; top: 110px; color: var(--muted); font-size: 12px; }
.legal-index strong { display: block; margin-bottom: 14px; color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-size: 10px; }
.legal-index a { display: block; padding: 6px 0; }
.legal-doc { padding: 38px 44px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); color: var(--text); box-shadow: 0 28px 70px rgba(0,0,0,.24); }
.legal-doc h1 { max-width: none; margin-bottom: 12px; color: var(--text); font: 600 52px/1 var(--serif); letter-spacing: 0; }
.legal-doc h2 { padding-top: 28px; margin: 40px 0 14px; border-top: 1px solid var(--line); color: var(--text); font: 600 26px/1.1 var(--serif); letter-spacing: 0; }
.legal-doc h3 { margin: 24px 0 7px; color: #dce1e5; font-size: 16px; }
.legal-doc p, .legal-doc li { color: var(--muted); font-size: 14px; }
.legal-doc ul { padding-left: 22px; }
.legal-doc li { margin-bottom: 7px; }
.legal-meta { display: inline-block; padding: 8px 10px; border-left: 3px solid var(--gold-deep); background: rgba(255,255,255,.04); color: var(--muted); font-size: 12px; }
.legal-callout { padding: 16px 18px; border: 1px solid rgba(231,189,88,.28); background: rgba(231,189,88,.07); color: #d8cfbb; }
.legal-doc a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
[data-language-panel][hidden] { display: none; }
@media (max-width: 860px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .nav { min-height: 68px; }
  .menu-button { display: inline-block; }
  .nav-links { display: none; position: absolute; top: 68px; left: 16px; right: 16px; padding: 15px; flex-direction: column; align-items: stretch; background: #10151b; border: 1px solid var(--line); }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 8px 5px; }
  .hero { padding: 130px 0 75px; }
  .hero-grid, .chat-grid { grid-template-columns: 1fr; gap: 45px; }
  .chat-panel { max-width: none; justify-self: stretch; }
  .bubble { font-size: 11px; }
  .chat-message-ai .bubble { width: auto; }
  .chat-response-line { display: inline; }
  html[lang="en-HK"] .chat-response-line + .chat-response-line:before { content: " "; }
  .hero-art { min-height: 490px; max-width: 500px; width: 100%; margin: 0 auto; }
  .phone { width: 230px; }
  .phone-back { left: 6%; top: 105px; }
  .phone-main { right: 6%; }
  .strip { margin-top: 34px; }
  .strip-grid { gap: 22px; }
  .section { padding: 82px 0; }
  #screens { padding-bottom: 38px; }
  #product { padding-top: 46px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 18px; }
  .gallery { gap: 28px; padding-top: 12px; }
  .gallery-card { flex-basis: min(220px, 66vw); }
  .gallery-phone, .gallery-card figcaption { width: min(205px, 61vw); }
  .gallery-phone { transform: translateY(4px) rotate(-.6deg); }
  .gallery-card:nth-child(2) .gallery-phone { transform: translateY(-3px) rotate(.6deg); }
  .gallery-card:nth-child(3) .gallery-phone { transform: translateY(3px) rotate(-.45deg); }
  .gallery-card:nth-child(4) .gallery-phone { transform: translateY(-2px) rotate(.5deg); }
  .gallery-phone img { border-radius: 23px; }
  .features { grid-template-columns: 1fr; }
  .feature, .feature + .feature { padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .feature:last-child { border-bottom: 0; }
  .cta-grid, .footer-grid { display: block; }
  .store-actions { margin-top: 28px; gap: 10px; }
  .store-badge { width: min(174px, calc(50vw - 21px)); min-height: 52px; padding: 6px 10px; }
  .store-badge img { width: 24px; height: 26px; margin-right: 8px; }
  .store-badge-copy strong { font-size: 15px; }
  .legal-layout { grid-template-columns: 1fr; gap: 22px; }
  .legal-index { position: static; display: flex; gap: 16px; flex-wrap: wrap; }
  .legal-index strong { width: 100%; margin-bottom: -6px; }
  .legal-doc { padding: 26px 20px; }
  .legal-doc h1 { font-size: 40px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *:before, *:after { transition: none !important; } }
