:root {
  --accent: #7C5CFF;
  --accent-2: #B45CFF;
  --accent-deep: #5B3FE0;
  --ink: #121A18;
  --heading: #1a1340;
  --muted: #4A554C;
  --line: #E2E6F5;
  --tint: #EEF2FF;
  --tint-2: #FFFDF6;
  --sand: #F2F4FF;
  --shadow: 0 22px 48px -28px rgba(26, 19, 64, 0.35);
  --grad: linear-gradient(135deg, #7DD3FC 0%, #7C5CFF 48%, #B45CFF 100%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font-family: "Noto Sans TC", -apple-system, "Segoe UI", "Microsoft JhengHei", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100vw - 32px)); margin: 0 auto; }

/* === 頂部公告列 === */
.topbar { background: var(--grad); color: #fff; text-align: center; font-size: 13px; font-weight: 700; padding: 8px 16px; letter-spacing: .04em; }

/* === 導覽列 === */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo svg { width: 38px; height: 38px; border-radius: 10px; display: block; }
.logo b .dom { color: #768071; font-family: ui-monospace, Menlo, monospace; font-weight: 400; font-size: 15px; margin-left: 2px; }
.logo b { display: block; font-family: Manrope, "Noto Sans TC", sans-serif; font-size: 22px; font-weight: 900; letter-spacing: -.02em; color: var(--heading); line-height: 1; }
.logo small { display: block; margin-top: 4px; font-size: 11px; font-weight: 700; color: var(--accent); }
.nav-links { display: flex; gap: 30px; font-size: 15px; font-weight: 700; }
.nav-links a { color: #1F2433; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-deep); }
.nav-cta { padding: 11px 22px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 800; font-size: 14px; box-shadow: 0 8px 20px rgba(124,92,255,.3); }

/* === Buttons === */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 15px 22px; border-radius: 10px; font-size: 16px; font-weight: 800; transition: .2s ease; border: 0; cursor: pointer; font-family: inherit; }
.btn-solid { background: var(--accent); color: #fff; box-shadow: 0 12px 26px rgba(124,92,255,.35); }
.btn-solid:hover { background: var(--accent-deep); }
.btn-outline { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-deep); }

/* === Hero === */
.hero { background: linear-gradient(180deg, var(--tint-2) 0%, var(--tint) 100%); padding: 96px 0 80px; overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid #D9D3FF; background: #fff; color: var(--accent-deep); font-size: 15px; font-weight: 800; letter-spacing: .02em; }
.pill svg { width: 16px; height: 16px; }
.hero h1 { margin: 22px 0 0; font-size: clamp(36px, 4.6vw, 58px); line-height: 1.15; font-weight: 900; letter-spacing: -.01em; color: var(--ink); }
.hero h1 em { font-style: normal; color: var(--accent-deep); }
.hero p.lead { margin: 26px 0 0; font-size: 18px; line-height: 1.95; color: var(--muted); max-width: 560px; }
.hero .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.stats { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 38px; padding-top: 26px; border-top: 1px solid #DCE1F2; }
.stats b { display: block; font-size: 19px; font-weight: 900; }
.stats span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }

/* 首屏右側：白框傾斜卡片，內含「POS + 品牌商城」雙裝置示意 */
.hero-card { position: relative; padding: 10px; background: #fff; border-radius: 26px; box-shadow: 0 30px 70px rgba(26,19,64,.16); transform: rotate(-2.5deg); }
.hero-card::after { content: ""; position: absolute; right: -36px; top: 18%; width: 160px; height: 300px; border-radius: 0 200px 200px 0; background: rgba(124,92,255,.12); z-index: -1; }
.hero-art { position: relative; overflow: hidden; border-radius: 18px; padding: 36px 26px 30px; background: radial-gradient(circle at 0% 70%, rgba(124,92,255,.45) 0 26%, transparent 27%), linear-gradient(160deg, #FFFDF6 0%, #E8ECFF 100%); }
.hero-art h3 { margin: 0; text-align: center; font-size: clamp(24px, 2.6vw, 34px); font-weight: 900; color: var(--accent-deep); letter-spacing: .02em; }
.hero-art h3 span { display: block; margin-top: 6px; font-size: .78em; color: var(--ink); letter-spacing: .3em; }
.devices { margin-top: 26px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; align-items: end; }
.tablet { background: #1a1340; border-radius: 14px; padding: 7px; box-shadow: 0 16px 30px rgba(0,0,0,.2); }
.laptop .lid { background: #1a1340; border-radius: 10px 10px 0 0; padding: 6px 6px 8px; }
.laptop .base { height: 9px; margin: 0 -10px; border-radius: 0 0 10px 10px; background: linear-gradient(180deg, #cfd2c8, #a9ac a1); background: linear-gradient(180deg, #d6d8cf, #aeb1a6); }
.mini-pos { background: #F4F5FB; border-radius: 8px; display: grid; grid-template-columns: 1fr 64px; gap: 5px; padding: 6px; height: 150px; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; align-content: start; }
.mini-grid i { height: 38px; border-radius: 5px; background: #fff; border: 1px solid var(--line); position: relative; }
.mini-grid i::before { content: ""; position: absolute; inset: 4px 4px 12px; border-radius: 3px; background: var(--c, #D9D3FF); }
.mini-cart { background: #fff; border-radius: 5px; padding: 5px; display: grid; align-content: space-between; }
.mini-cart s { display: block; height: 4px; border-radius: 2px; background: #e3e5dc; margin-bottom: 4px; text-decoration: none; }
.mini-cart u { display: block; height: 14px; border-radius: 4px; background: var(--accent); }
.mini-shop { background: #fff; border-radius: 4px; height: 118px; overflow: hidden; display: grid; grid-template-rows: 22px 1fr; }
.mini-shop .banner { background: linear-gradient(90deg, #1a1340, #7C5CFF); }
.mini-shop .items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 6px; }
.mini-shop .items i { border-radius: 4px; background: var(--c, #E8ECFF); }
.qr-stand { position: absolute; left: 18px; bottom: 16px; width: 62px; padding: 6px; border-radius: 8px; background: #fff; box-shadow: 0 8px 18px rgba(0,0,0,.12); text-align: center; font-size: 8px; font-weight: 800; color: var(--accent-deep); }
.qr { margin-top: 4px; height: 42px; background: conic-gradient(#1a1340 25%, #fff 0 50%, #1a1340 0 75%, #fff 0) 0 0/10px 10px; border: 3px solid #1a1340; border-radius: 3px; }

/* === Section 共用 === */
.section { padding: 100px 0; }
.sand { background: var(--sand); }
.tint { background: linear-gradient(180deg, var(--tint-2) 0%, var(--tint) 100%); }
.head { text-align: center; max-width: 820px; margin: 0 auto 52px; }
.kicker { color: var(--accent-deep); font-size: 15px; font-weight: 800; letter-spacing: .24em; }
.kicker.big { font-size: 26px; letter-spacing: .14em; color: var(--accent); }
.head h2 { margin: 14px 0 0; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.25; font-weight: 900; color: var(--heading); }
.head p { margin: 18px 0 0; color: var(--muted); font-size: 17px; line-height: 1.85; }

/* === 圖說 === */
.caption { text-align: center; margin-top: 18px; font-size: 13px; color: var(--muted); }

/* === 諮詢表單 === */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.contact .eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .2em; color: var(--ink); }
.contact h2 { margin: 14px 0 0; font-size: clamp(34px, 4vw, 54px); line-height: 1.2; font-weight: 900; color: var(--accent-deep); }
.contact p { margin: 22px 0 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.contact ul { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.contact li { display: flex; gap: 10px; font-size: 15px; color: #2E3446; }
.contact li::before { content: "✓"; color: var(--accent); font-weight: 900; }
.form-card { background: #fff; border-radius: 22px; padding: 40px; box-shadow: var(--shadow); border: 1px solid #E8EBF7; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 800; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 10px; border: 1px solid #D5DAEC; background: #fff; color: var(--ink); }
.field input:focus, .field textarea:focus { outline: 2px solid rgba(124,92,255,.45); border-color: var(--accent); }
.field textarea { min-height: 120px; resize: vertical; }
.submit { margin-top: 22px; width: 100%; justify-content: center; background: var(--grad); color: #fff; border-radius: 10px; }
.form-note { margin: 12px 0 0; font-size: 12px; color: var(--muted); text-align: center; }

/* === STEP 卡片 === */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps.three { grid-template-columns: repeat(3, 1fr); max-width: 1100px; margin: 0 auto; }
.step { background: #fff; border-radius: 20px; padding: 32px 28px; box-shadow: var(--shadow); border: 1px solid #E8EBF7; }
.step .ico { width: 52px; height: 52px; border-radius: 12px; background: var(--accent); color: #fff; display: grid; place-items: center; }
.step .ico svg { width: 24px; height: 24px; }
.step .no { margin-top: 26px; font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--accent-deep); }
.step h3 { margin: 8px 0 0; font-size: 22px; font-weight: 900; color: var(--heading); letter-spacing: .04em; }
.step p { margin: 12px 0 0; font-size: 15px; line-height: 1.8; color: var(--muted); }
.banner-note { max-width: 790px; margin: 34px auto 0; padding: 18px 22px; border-radius: 12px; background: #fff; border: 1px solid #D9D3FF; text-align: center; font-weight: 800; color: var(--heading); }
.banner-note span { color: var(--accent); margin-right: 8px; }

/* === 適用情境 === */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.fit-visual { border-radius: 24px; min-height: 440px; padding: 40px; color: #fff; display: grid; align-content: end; background: radial-gradient(circle at 80% 15%, rgba(166,214,74,.55), transparent 40%), linear-gradient(160deg, #2a2150 0%, #0a0820 100%); box-shadow: 0 30px 70px rgba(26,19,64,.2); }
.fit-visual b { font-size: 15px; letter-spacing: .2em; color: var(--accent-2); }
.fit-visual p { margin: 14px 0 0; font-size: 28px; line-height: 1.5; font-weight: 900; }
.fit h2 { margin: 12px 0 0; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.3; font-weight: 900; color: var(--heading); }
.fit-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 22px; }
.fit-list li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; }
.fit-list li::before { content: "✓"; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); color: var(--accent-deep); display: grid; place-items: center; font-weight: 900; }
.fit-list b { display: block; font-size: 18px; }
.fit-list span { display: block; margin-top: 6px; color: var(--muted); line-height: 1.75; font-size: 15px; }
.quote { margin-top: 30px; padding: 22px 24px; border-left: 4px solid var(--accent); background: var(--tint); border-radius: 0 14px 14px 0; font-size: 16px; line-height: 1.85; font-weight: 700; color: #2E3446; }

/* === 功能表一覽 === */
.price-card { max-width: 620px; margin: 0 auto 36px; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 22px 28px; border-radius: 16px; border: 2px solid var(--accent); background: #fff; }
.price-card .tag { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.price-card small { display: block; font-size: 14px; font-weight: 800; letter-spacing: .12em; color: var(--heading); }
.price-card b { display: block; margin-top: 4px; font-size: 28px; font-weight: 900; color: var(--accent-deep); }
.ftable { max-width: 1160px; margin: 0 auto; border: 1px solid #D9D3FF; border-radius: 4px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.band { background: var(--accent); color: #fff; text-align: center; font-size: 22px; font-weight: 900; letter-spacing: .1em; padding: 18px 12px; }
.band small { display: block; font-size: 18px; margin-top: 4px; }
.rows { display: grid; grid-template-columns: repeat(3, 1fr); }
.cell { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid #E8EBF7; border-right: 1px solid #E8EBF7; background: #FBFCFF; }
.rows .cell:nth-child(3n) { border-right: 0; }
.cell span { padding: 18px 10px; text-align: center; font-size: 16px; font-weight: 800; color: #1F2433; border-right: 1px solid #E8EBF7; }
.cell i { display: grid; place-items: center; font-style: normal; }
.cell i::before { content: "✓"; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 900; }
.cell i.txt::before { content: none; }
.cell i.txt { font-weight: 900; color: var(--accent-deep); font-size: 16px; }

/* === FAQ === */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 14px; border: 1px solid #E2E6F5; }
.faq summary { padding: 20px 22px; font-weight: 800; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0; padding: 0 22px 20px; color: var(--muted); line-height: 1.8; }

/* === Footer === */
.footer { border-top: 4px solid transparent; border-image: var(--grad) 1; padding: 64px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr repeat(3, 1fr); gap: 40px; }
.footer .logo { margin-bottom: 18px; }
.footer p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.85; max-width: 340px; }
.footer .fbtns { display: flex; gap: 12px; margin-top: 22px; }
.footer .fbtns a { padding: 11px 26px; border-radius: 8px; font-weight: 800; font-size: 14px; }
.f-outline { border: 2px solid var(--accent); color: var(--accent-deep); }
.f-solid { background: var(--grad); color: #fff; }
.footer h4 { margin: 0 0 16px; font-size: 16px; font-weight: 900; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14px; color: var(--muted); }
.footer ul a:hover { color: var(--accent-deep); }
.bottombar { background: var(--grad); color: #fff; font-size: 14px; font-weight: 700; }
.bottombar .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 0; }
.bottombar a { margin-left: 18px; }

/* === Reveal === */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0ms); }
.js .reveal.show { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* === Responsive === */
@media (max-width: 1080px) {
  .nav-links { gap: 20px; font-size: 14px; }
  .hero-grid, .contact, .fit { grid-template-columns: 1fr; gap: 48px; }
  .hero-card { max-width: 600px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .rows { grid-template-columns: 1fr 1fr; }
  .rows .cell:nth-child(3n) { border-right: 1px solid #E8EBF7; }
  .rows .cell:nth-child(2n) { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-inner { flex-wrap: wrap; height: auto; padding-top: 12px; gap: 10px 12px; }
  .nav-links { display: flex; order: 3; width: 100%; gap: 6px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { flex: 0 0 auto; padding: 7px 12px; border-radius: 999px; background: var(--sand); font-size: 14px; }
  .nav-links a.active { background: var(--tint); }
  .hero { padding: 56px 0 64px; }
  .hero-card { transform: none; }
  .hero-card::after { display: none; }
  .section { padding: 64px 0; }
  .steps, .steps.three { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .rows { grid-template-columns: 1fr; }
  .rows .cell { border-right: 0 !important; }
  .band { font-size: 19px; }
  .fit-visual { min-height: 300px; padding: 28px; }
  .fit-visual p { font-size: 22px; }
  .price-card { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .bottombar a { margin: 0 18px 0 0; }
}

/* ===== 以下為各介紹頁共用的新元件 ===== */

/* 真實系統截圖：瀏覽器外框 */
.shot { background: #fff; border-radius: 18px; padding: 0; overflow: hidden; border: 1px solid #E2E6F5; box-shadow: 0 30px 70px rgba(26,19,64,.14); }
.shot .bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #F4F5FB; border-bottom: 1px solid #E2E6F5; }
.shot .bar i { width: 10px; height: 10px; border-radius: 50%; background: #D5DAEC; }
.shot .bar span { margin-left: 10px; flex: 1; max-width: 360px; height: 20px; border-radius: 6px; background: #fff; border: 1px solid #E2E6F5; font-size: 11px; color: var(--muted); display: flex; align-items: center; padding: 0 10px; overflow: hidden; white-space: nowrap; }
.shot img { display: block; width: 100%; height: auto; }
.shot.tilt { transform: rotate(-2deg); }
.phone { width: 230px; border-radius: 34px; padding: 9px; background: #1a1340; box-shadow: 0 30px 60px rgba(26,19,64,.3); }
.phone img { display: block; width: 100%; height: auto; border-radius: 26px; }
.shot-pair { position: relative; }
.shot-pair .phone { position: absolute; right: -14px; bottom: -36px; width: 150px; padding: 6px; border-radius: 24px; }
.shot-pair .phone img { border-radius: 19px; }
.shot-cap { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }

/* 左右交錯的功能段落 */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 110px; }
.split.rev > :first-child { order: 2; }
.split h3 { margin: 12px 0 0; font-size: clamp(26px, 3vw, 38px); line-height: 1.3; font-weight: 900; color: var(--heading); }
.split p { margin: 18px 0 0; color: var(--muted); font-size: 16px; line-height: 1.9; }
.split ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.split li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 15px; line-height: 1.7; }
.split li::before { content: "✓"; width: 24px; height: 24px; border-radius: 50%; background: var(--tint); color: var(--accent-deep); display: grid; place-items: center; font-weight: 900; font-size: 12px; }

/* 即將推出 */
.soon { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: #FFF4E5; color: #B45309; border: 1px solid #FCD9A8; font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.soon-card { position: relative; background: #fff; border-radius: 20px; padding: 30px 28px; border: 1px dashed #D5DAEC; }
.soon-card .soon { position: absolute; top: 18px; right: 18px; }
.soon-card h3 { margin: 14px 0 0; font-size: 20px; font-weight: 900; color: var(--heading); padding-right: 96px; }
.soon-card p { margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.soon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.live-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: #ECFDF3; color: #047857; border: 1px solid #A7F3D0; font-size: 13px; font-weight: 800; }

@media (max-width: 1080px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.rev > :first-child { order: 0; }
  .soon-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .split + .split { margin-top: 72px; }
  .shot-pair .phone { width: 96px; right: -6px; bottom: -24px; padding: 4px; border-radius: 16px; }
  .shot-pair .phone img { border-radius: 13px; }
  .shot-pair { margin-right: 6px; }
  .soon-grid { grid-template-columns: 1fr; }
  .shot.tilt { transform: none; }
}

/* ===== AI 頁：首屏組合示意（比照 SHOPNEX AI 頁；中間放真實 AI 導購畫面，浮卡不放捏造數據） ===== */
.ai-visual { position: relative; padding: 14px; border-radius: 30px; background: rgba(255,255,255,.75); border: 1px solid #E2E6F5; box-shadow: 0 30px 70px rgba(26,19,64,.14); }
.ai-visual::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(124,92,255,.25); z-index: -1; }
.ai-status { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.ai-chip { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid #E8EBF7; box-shadow: 0 10px 24px -18px rgba(26,19,64,.4); }
.ai-chip .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--tint); color: var(--accent-deep); display: grid; place-items: center; flex-shrink: 0; }
.ai-chip .ic svg { width: 18px; height: 18px; }
.ai-chip b { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 900; color: var(--heading); }
.ai-chip b::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px rgba(34,197,94,.18); }
.ai-chip.idle b::after { background: #A5B4FC; box-shadow: 0 0 0 3px rgba(165,180,252,.25); }
.ai-chip small { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
.ai-stage { position: relative; border-radius: 22px 22px 90px 22px; overflow: hidden; background: #F4F5FB; aspect-ratio: 4 / 3.3; }
.ai-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.ai-float { position: absolute; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); border: 1px solid rgba(226,230,245,.9); border-radius: 16px; box-shadow: 0 18px 40px -20px rgba(26,19,64,.45); padding: 12px 14px; }
.ai-float h5 { margin: 0 0 8px; font-size: 14px; font-weight: 900; color: var(--heading); display: flex; align-items: center; gap: 6px; }
.ai-float h5 em { font-style: normal; font-size: 11px; color: var(--accent); font-weight: 800; }
.ai-float.ask { left: 14px; top: 14px; max-width: 62%; }
.ai-float.ask p { margin: 0; font-size: 13px; line-height: 1.6; color: #2E3446; }
.ai-float.picks { right: 14px; bottom: 14px; }
.ai-float.picks .row { display: flex; gap: 6px; }
.ai-float.picks img { width: 58px; height: 58px; border-radius: 10px; object-fit: cover; border: 1px solid #E8EBF7; background: #fff; }
.ai-float.log { left: 14px; bottom: 14px; }
.ai-float.log ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 12px; color: #2E3446; }
.ai-float.log li::before { content: "✓ "; color: var(--accent); font-weight: 900; }
.ai-cap { margin: 12px 0 0; text-align: center; font-size: 13px; color: var(--muted); }

/* AI 核心能力卡片 */
.cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cap { position: relative; overflow: hidden; padding: 34px 34px 30px; border-radius: 22px; background: linear-gradient(180deg, #fff 0%, #FBFAFF 100%); border: 1px solid #E8EBF7; box-shadow: var(--shadow); }
.cap::after { content: ""; position: absolute; right: -36px; top: -36px; width: 110px; height: 110px; border-radius: 50%; background: var(--tint); }
.cap .ico { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 14px; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 24px -12px rgba(124,92,255,.7); }
.cap .ico svg { width: 26px; height: 26px; }
.cap h3 { margin: 24px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 24px; font-weight: 900; color: var(--heading); letter-spacing: .04em; }
.cap h3 .soon, .cap h3 .live-tag { font-size: 12px; letter-spacing: 0; }
.cap p { margin: 12px 0 0; color: var(--muted); font-size: 15px; line-height: 1.85; padding-bottom: 20px; border-bottom: 1px solid #E8EBF7; }
.cap ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; font-size: 15px; color: #2E3446; }
.cap li::before { content: "✓"; color: var(--accent); font-weight: 900; margin-right: 10px; }
.opt-tag { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: var(--tint); color: var(--accent-deep); border: 1px solid #D9D3FF; font-size: 12px; font-weight: 800; letter-spacing: 0; }

@media (max-width: 760px) {
  .ai-status { grid-template-columns: 1fr; }
  .ai-stage { aspect-ratio: 3 / 4; border-radius: 18px 18px 56px 18px; }
  .ai-float.ask { max-width: 80%; }
  .ai-float.log { display: none; }
  .ai-float.picks img { width: 46px; height: 46px; }
  .cap-grid { grid-template-columns: 1fr; }
  .cap { padding: 26px 22px; }
}

/* ===== 情境圖：真實系統截圖當背景＋半透明浮卡（比照 SHOPNEX 網路開店頁的插圖構圖） ===== */
.scene { position: relative; aspect-ratio: 16 / 10; border-radius: 26px; overflow: hidden; background: linear-gradient(135deg, #F2F4FF 0%, #E8ECFF 100%); box-shadow: 0 30px 70px rgba(26,19,64,.14); border: 1px solid #E2E6F5; }
.scene > .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 0%); }
.scene.dim > .bg { filter: saturate(.85); }
.scene.dim::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(242,244,255,.55) 0%, rgba(242,244,255,.15) 55%, rgba(242,244,255,0) 100%); pointer-events: none; }
.glass { position: absolute; z-index: 2; background: rgba(255,255,255,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.95); border-radius: 16px; box-shadow: 0 18px 40px -18px rgba(26,19,64,.45); padding: 12px 14px; font-size: 13px; color: #2E3446; }
.glass h5 { margin: 0 0 8px; font-size: 14px; font-weight: 900; color: var(--heading); display: flex; align-items: center; gap: 8px; }
.glass h5 em { font-style: normal; font-size: 11px; color: var(--accent); font-weight: 800; }
.glass .kv { display: flex; justify-content: space-between; gap: 18px; padding: 3px 0; }
.glass .kv b { color: var(--heading); }
.glass .big { font-size: 22px; font-weight: 900; color: var(--accent-deep); line-height: 1.2; }
.glass ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.glass li::before { content: "✓ "; color: var(--accent); font-weight: 900; }
.glass .chips { display: flex; flex-wrap: wrap; gap: 5px; }
.glass .chip { padding: 3px 9px; border-radius: 999px; background: var(--tint); color: var(--accent-deep); font-size: 11px; font-weight: 800; }
.glass .chip.ok { background: #ECFDF3; color: #047857; }
.glass .chip.warn { background: #FFF4E5; color: #B45309; }
.glass code { font-family: ui-monospace, Menlo, monospace; font-size: 12px; }
.glass.icon { width: 58px; height: 58px; padding: 0; display: grid; place-items: center; color: var(--accent); }
.glass.icon svg { width: 28px; height: 28px; }
.glass .chan { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; text-align: center; }
.glass .chan div { padding: 8px 6px; border-radius: 12px; background: #fff; border: 1px solid #E8EBF7; }
.glass .chan svg { width: 34px; height: 34px; color: var(--accent); }
.glass .chan small { display: inline-block; margin-top: 4px; padding: 1px 8px; border-radius: 999px; background: #1a1340; color: #fff; font-size: 10px; }
.glass .chan b { display: block; margin-top: 4px; font-size: 12px; }
.glass img.thumb { display: block; width: 100%; height: auto; border-radius: 10px; }
.scene .monitor { position: absolute; z-index: 1; left: 6%; top: 9%; width: 64%; border-radius: 12px; background: #1a1340; padding: 6px 6px 0; box-shadow: 0 24px 50px -20px rgba(26,19,64,.5); }
.scene .monitor img { display: block; width: 100%; height: auto; border-radius: 6px 6px 0 0; }
.scene .monitor::after { content: ""; display: block; height: 10px; }
.scene .mobile { position: absolute; z-index: 2; width: 19%; border-radius: 18px; padding: 4px; background: #1a1340; box-shadow: 0 24px 50px -20px rgba(26,19,64,.5); }
.scene .mobile img { display: block; width: 100%; height: auto; border-radius: 14px; }
.dash { position: absolute; z-index: 1; border: 2px dashed rgba(124,92,255,.55); border-radius: 50%; pointer-events: none; }
.soon-inline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 28px 30px; border-radius: 22px; border: 1px dashed #D5DAEC; background: #fff; }
.soon-inline h3 { margin: 8px 0 0; font-size: 22px; font-weight: 900; color: var(--heading); }
.soon-inline p { margin: 8px 0 0; color: var(--muted); font-size: 15px; line-height: 1.8; max-width: 640px; }

@media (max-width: 760px) {
  .scene { aspect-ratio: 4 / 3.4; border-radius: 18px; }
  .glass { font-size: 11px; padding: 8px 10px; border-radius: 12px; }
  .glass h5 { font-size: 12px; margin-bottom: 5px; }
  .glass h5 em { display: none; }
  .glass .big { font-size: 17px; }
  .glass.hide-m { display: none; }
  .glass.icon { width: 40px; height: 40px; }
  .glass.icon svg { width: 20px; height: 20px; }
  .glass .chan svg { width: 24px; height: 24px; }
}
