:root {
  --bg: #07101d;
  --bg-soft: #0b1727;
  --panel: rgba(16, 31, 49, .78);
  --panel-solid: #102036;
  --line: rgba(143, 168, 194, .16);
  --text: #f5f8fb;
  --muted: #9dafc2;
  --blue: #54a9f5;
  --blue-strong: #248ce4;
  --green: #53e4b0;
  --yellow: #ffd25f;
  --red: #ff6f79;
  --shadow: 0 30px 80px rgba(0, 0, 0, .32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 999; padding: 10px 16px; background: white; color: #111; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.ambient { position: fixed; width: 540px; height: 540px; border-radius: 50%; filter: blur(120px); opacity: .09; pointer-events: none; z-index: -1; }
.ambient-one { background: #1a8be4; top: -180px; right: -160px; }
.ambient-two { background: #00d7a1; top: 44%; left: -320px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  height: 76px; padding: 0 clamp(24px, 6vw, 96px);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(7, 16, 29, .78); border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px); transition: border-color .25s, background .25s;
}
.site-header.scrolled { border-color: var(--line); background: rgba(7, 16, 29, .94); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 800; letter-spacing: -.6px; }
.brand > span:last-child > span { color: var(--blue); }
.brand-mark { width: 30px; height: 30px; padding: 6px; border: 1px solid rgba(84,169,245,.45); border-radius: 9px; display: inline-flex; align-items: flex-end; justify-content: center; gap: 3px; background: linear-gradient(145deg, rgba(84,169,245,.19), rgba(84,169,245,.03)); }
.brand-mark i { width: 3px; border-radius: 4px; background: var(--blue); }
.brand-mark i:nth-child(1) { height: 7px; opacity: .5; }
.brand-mark i:nth-child(2) { height: 13px; }
.brand-mark i:nth-child(3) { height: 10px; opacity: .75; }
nav { display: flex; gap: 34px; color: #b9c8d8; font-size: 14px; }
nav a { transition: color .2s; }
nav a:hover { color: white; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid rgba(84,169,245,.35); border-radius: 10px; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-small { padding: 9px 17px; color: #d9efff; background: rgba(84,169,245,.08); font-size: 13px; }
.button-primary { padding: 14px 22px; background: linear-gradient(135deg, #38a7f2, #2386db); color: white; border-color: transparent; box-shadow: 0 14px 34px rgba(31, 137, 222, .25); }
.button-primary:hover { box-shadow: 0 18px 42px rgba(31, 137, 222, .38); }
.button svg { width: 20px; fill: currentColor; }

.hero { min-height: calc(100vh - 76px); max-width: 1280px; margin: 0 auto; padding: 80px 42px 100px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 70px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #9dc8ec; font-size: 12px; font-weight: 750; letter-spacing: 1.6px; text-transform: uppercase; }
.eyebrow > span { width: 28px; height: 1px; background: var(--blue); box-shadow: 0 0 10px var(--blue); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 720px; margin: 21px 0 25px; font-size: clamp(43px, 5.2vw, 72px); line-height: 1.16; letter-spacing: -3.3px; font-weight: 800; }
h1 em { color: var(--blue); font-style: normal; text-shadow: 0 0 42px rgba(84,169,245,.2); }
.hero-lead { max-width: 590px; margin-bottom: 32px; color: #afc0d0; font-size: 18px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 27px; }
.text-link { color: #c7d5e2; font-size: 14px; }
.text-link span { display: inline-block; margin-left: 5px; color: var(--blue); transition: transform .2s; }
.text-link:hover span { transform: translateY(3px); }
.trust-row { display: flex; gap: 22px; margin-top: 34px; color: #8fa3b7; font-size: 13px; }
.trust-row i { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 5px; color: var(--green); background: rgba(83,228,176,.1); border-radius: 50%; font-style: normal; }

.phone-scene { position: relative; min-height: 650px; display: grid; place-items: center; }
.phone { position: relative; z-index: 3; width: 350px; height: 650px; overflow: hidden; border: 9px solid #17243a; border-radius: 42px; background: #13243a; box-shadow: 0 50px 90px rgba(0,0,0,.48), inset 0 0 0 1px rgba(255,255,255,.08); transform: rotate(1.8deg); }
.phone::after { content: ""; position: absolute; inset: 0; border-radius: 32px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); pointer-events: none; }
.phone-top { height: 26px; display: flex; align-items: center; justify-content: center; background: #0f1c2d; }
.phone-top span { width: 68px; height: 6px; background: #050a12; border-radius: 8px; }
.phone-top i { position: absolute; top: 11px; right: 107px; width: 5px; height: 5px; background: #192b44; border-radius: 50%; }
.telegram-head { height: 64px; padding: 8px 15px; display: flex; align-items: center; gap: 11px; background: #1b3048; }
.avatar { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: white; background: linear-gradient(145deg, #37a9ef, #286db9); font-weight: 800; }
.avatar.small { width: 38px; height: 38px; font-size: 13px; }
.telegram-head strong { display: block; font-size: 14px; }
.telegram-head small, .panel-head small { display: block; color: #7fa6c7; font-size: 11px; }
.more { margin-left: auto; color: #7e9ab5; letter-spacing: 2px; }
.chat { position: relative; height: calc(100% - 90px); padding: 18px 13px; background: radial-gradient(circle at 10% 20%, rgba(80,128,158,.08) 0 1px, transparent 2px) 0 0/24px 24px, #0e1b2c; }
.date-chip { width: max-content; margin: 0 auto 14px; padding: 3px 9px; border-radius: 12px; color: #90a8bd; background: rgba(43,69,93,.65); font-size: 10px; }
.message { position: relative; width: max-content; max-width: 90%; margin-bottom: 9px; padding: 10px 12px 17px; border-radius: 5px 15px 15px 15px; background: #1b3048; color: #dce9f5; font-size: 11px; line-height: 1.55; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.message b { color: white; font-weight: 700; }
.message time { position: absolute; right: 8px; bottom: 3px; color: #7790a7; font-size: 8px; }
.message-icon { margin-right: 4px; font-size: 9px; }
.message-icon.green { color: var(--green); }
.message-icon.red { color: var(--red); }
.message-icon.yellow { color: var(--yellow); }
.accent-message { border-left: 2px solid var(--red); }
.menu-card { margin-top: 17px; padding: 12px; border-radius: 14px; background: rgba(27,48,72,.72); }
.menu-card p { margin-bottom: 8px; color: #9bb0c3; font-size: 10px; }
.menu-card button, .reply-button { width: 100%; margin-top: 5px; padding: 8px; color: #7cc7ff; background: rgba(44, 111, 164, .24); border: 1px solid rgba(85,166,226,.19); border-radius: 7px; font-size: 10px; }
.phone-home { position: absolute; z-index: 4; bottom: 7px; left: 50%; width: 100px; height: 4px; transform: translateX(-50%); background: rgba(255,255,255,.45); border-radius: 5px; }
.orbit { position: absolute; border: 1px solid rgba(84,169,245,.12); border-radius: 50%; }
.orbit-one { width: 590px; height: 590px; }
.orbit-two { width: 460px; height: 460px; border-style: dashed; animation: spin 32s linear infinite; }
.status-float { position: absolute; z-index: 4; padding: 11px 15px; border: 1px solid rgba(122,173,216,.18); border-radius: 12px; background: rgba(14,30,48,.88); backdrop-filter: blur(13px); box-shadow: var(--shadow); color: #c2d2df; font-size: 11px; }
.status-float-top { top: 82px; right: -8px; }
.status-float-bottom { bottom: 99px; left: -8px; display: flex; align-items: center; gap: 8px; }
.status-float-bottom b { color: var(--blue); font-size: 23px; }
.status-float-bottom span { display: block; max-width: 44px; line-height: 1.2; }
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(83,228,176,.09), 0 0 12px var(--green); animation: pulse 2s ease-in-out infinite; }

.signal-strip { padding: 24px 6vw; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(9,20,34,.65); display: flex; align-items: center; justify-content: space-between; }
.signal-strip p { margin: 0; color: #8ea2b5; font-size: 12px; letter-spacing: 1px; }
.signal-strip > div { display: flex; flex-wrap: wrap; gap: 30px; }
.signal-strip span { display: flex; align-items: center; gap: 8px; color: #c0ceda; font-size: 12px; }
.signal-strip i, .setting-row i { width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 10px currentColor; }
.off { color: #8998a8; background: #8998a8; }
.idle { color: var(--green); background: var(--green); }
.busy { color: var(--red); background: var(--red); }
.multi { color: var(--yellow); background: var(--yellow); }
.mail { color: var(--blue); background: var(--blue); }

.section { max-width: 1200px; margin: 0 auto; padding: 125px 42px; }
.section-heading { max-width: 730px; }
.section-heading h2, .feature-copy h2, .cta-section h2, .detail-card h2 { margin: 20px 0 22px; font-size: clamp(34px, 4.3vw, 56px); line-height: 1.23; letter-spacing: -2.2px; }
.section-heading > p { color: var(--muted); }
.problem-grid { margin-top: 55px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.problem-card { position: relative; min-height: 310px; padding: 34px; border: 1px solid var(--line); border-radius: 19px; background: linear-gradient(155deg, rgba(18,35,55,.72), rgba(9,20,34,.54)); overflow: hidden; }
.problem-card.featured { border-color: rgba(84,169,245,.28); transform: translateY(-14px); background: linear-gradient(145deg, rgba(25,57,86,.75), rgba(10,23,39,.8)); }
.card-number { position: absolute; top: 22px; right: 25px; color: rgba(132,159,185,.25); font-size: 12px; }
.mini-icon { width: 48px; height: 48px; margin: 10px 0 44px; border: 1px solid rgba(84,169,245,.25); border-radius: 14px; background: rgba(84,169,245,.07); position: relative; }
.eye-icon::before { content:""; position:absolute; width:23px; height:14px; left:11px; top:16px; border:2px solid var(--blue); border-radius: 70% 20%; transform: rotate(45deg); }
.eye-icon::after { content:""; position:absolute; width:5px; height:5px; left:21px; top:21px; background:var(--blue); border-radius:50%; }
.bell-icon::before { content:""; position:absolute; width:18px; height:20px; left:14px; top:12px; border:2px solid var(--blue); border-radius:12px 12px 7px 7px; }
.bell-icon::after { content:""; position:absolute; width:6px; height:3px; left:21px; top:35px; background:var(--blue); border-radius:5px; }
.chat-icon::before { content:""; position:absolute; width:23px; height:18px; left:11px; top:12px; border:2px solid var(--blue); border-radius:7px; }
.chat-icon::after { content:""; position:absolute; width:8px; height:8px; left:15px; top:27px; border-left:2px solid var(--blue); transform:skew(-30deg); }
.problem-card h3 { margin-bottom: 12px; font-size: 21px; }
.problem-card p { color: var(--muted); font-size: 14px; }

.feature-section, .message-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 85px; }
.section-kicker { color: var(--blue); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; letter-spacing: 2px; }
.feature-copy > p { max-width: 530px; color: var(--muted); font-size: 16px; }
.feature-list { margin: 35px 0 0; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: 18px; padding: 19px 0; border-top: 1px solid var(--line); }
.feature-list li > span { color: var(--blue); font-family: ui-monospace, monospace; font-size: 11px; }
.feature-list b, .feature-list small { display: block; }
.feature-list b { margin-bottom: 4px; font-size: 15px; }
.feature-list small { color: var(--muted); font-size: 12px; }
.settings-panel { padding: 25px; border: 1px solid rgba(107,159,205,.2); border-radius: 21px; background: linear-gradient(150deg, rgba(20,40,63,.94), rgba(10,23,39,.91)); box-shadow: var(--shadow); }
.panel-head { display: flex; align-items: center; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.panel-head > div:nth-child(2) { min-width: 0; }
.panel-head b { display: block; }
.enabled-pill { margin-left: auto; padding: 5px 9px; color: var(--green); background: rgba(83,228,176,.08); border: 1px solid rgba(83,228,176,.2); border-radius: 20px; font-size: 9px; white-space: nowrap; }
.setting-row { display: flex; align-items: center; justify-content: space-between; padding: 17px 5px; border-bottom: 1px solid rgba(143,168,194,.09); }
.setting-row > div { display: flex; align-items: center; gap: 14px; }
.setting-row i { flex: 0 0 auto; }
.setting-row b, .setting-row small { display: block; }
.setting-row b { font-size: 13px; }
.setting-row small { color: #71889e; font-size: 10px; }
.toggle { position: relative; width: 35px; height: 20px; flex: 0 0 auto; border-radius: 20px; background: #314155; }
.toggle::after { content:""; position:absolute; width:14px; height:14px; top:3px; left:3px; border-radius:50%; background:#8798aa; transition:.2s; }
.toggle.on { background: rgba(52,154,227,.65); }
.toggle.on::after { left:18px; background:white; }

.message-section { padding-top: 95px; padding-bottom: 135px; }
.message-demo { padding: 35px 26px; border-radius: 50px 10px 50px 10px; background: radial-gradient(circle at 20% 15%, rgba(84,169,245,.2), transparent 42%), rgba(11,26,43,.48); }
.telegram-window { overflow: hidden; border: 1px solid rgba(131,163,190,.18); border-radius: 16px; background: #0e1b2c; box-shadow: var(--shadow); transform: rotate(-1.3deg); }
.window-bar { height: 42px; padding: 0 14px; display: flex; align-items: center; gap: 7px; background: #1a2d44; }
.window-bar span { width: 8px; height: 8px; border-radius: 50%; background: #40566d; }
.window-bar b { margin-left: 9px; color: #9ab0c4; font-size: 10px; font-weight: 500; }
.window-chat { min-height: 410px; padding: 28px 18px; background: radial-gradient(circle at 10% 20%, rgba(80,128,158,.08) 0 1px, transparent 2px) 0 0/24px 24px, #0e1b2c; }
.message.wide { width: 88%; max-width: 88%; padding: 14px 15px 24px; font-size: 12px; }
.reply-button { width: 88%; margin: -3px 0 22px; padding: 9px; border-radius: 6px; }
.user-message { margin-left: auto; border-radius: 15px 5px 15px 15px; background: #2a607d; }
.message.compact { padding-right: 58px; }
.compact-features { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; color: #b9c9d7; font-size: 13px; }
.compact-features span::first-letter { color: var(--green); }

.how-section { max-width: none; padding-left: max(42px, calc((100vw - 1116px)/2)); padding-right: max(42px, calc((100vw - 1116px)/2)); background: rgba(10,22,37,.55); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.centered { margin: 0 auto; text-align: center; }
.centered .eyebrow { justify-content: center; }
.steps { margin-top: 55px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; min-height: 265px; padding: 31px; display: flex; align-items: flex-start; gap: 19px; border-left: 1px solid rgba(84,169,245,.35); background: linear-gradient(110deg, rgba(84,169,245,.05), transparent 70%); }
.step > b { width: 39px; height: 39px; display: grid; place-items: center; flex: 0 0 auto; color: var(--blue); border: 1px solid rgba(84,169,245,.28); border-radius: 50%; font-family: ui-monospace, monospace; }
.step span { color: #6e8599; font-size: 9px; letter-spacing: 1.3px; }
.step h3 { margin: 17px 0 10px; font-size: 19px; }
.step p { color: var(--muted); font-size: 13px; }

.detail-section { padding-bottom: 75px; }
.detail-card { position: relative; padding: 65px; overflow: hidden; border: 1px solid rgba(84,169,245,.2); border-radius: 24px; background: radial-gradient(circle at 90% 5%, rgba(84,169,245,.22), transparent 35%), linear-gradient(135deg, #122a42, #0b192a); }
.detail-card > span { color: var(--blue); font-size: 10px; letter-spacing: 2px; }
.detail-card > p { max-width: 550px; color: var(--muted); }
.detail-stats { margin-top: 50px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.detail-stats > div { padding-left: 22px; border-left: 1px solid rgba(84,169,245,.3); }
.detail-stats b, .detail-stats span { display: block; }
.detail-stats b { color: white; font-size: 35px; letter-spacing: -1px; }
.detail-stats b small { color: var(--blue); font-size: 13px; }
.detail-stats span { color: #869db1; font-size: 11px; }
.disclaimer { display: block; margin-top: 28px; color: #647b90; font-size: 10px; }

.faq-section { padding-top: 75px; }
.faq-list { margin-top: 50px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { padding: 23px 5px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; font-size: 16px; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary span { position: relative; width: 22px; height: 22px; }
summary span::before, summary span::after { content:""; position:absolute; top:10px; left:4px; width:14px; height:1px; background:var(--blue); transition:.2s; }
summary span::after { transform: rotate(90deg); }
details[open] summary span::after { transform: rotate(0); }
details p { max-width: 780px; padding: 0 5px 24px; margin: 0; color: var(--muted); font-size: 14px; }

.cta-section { position: relative; max-width: 1080px; margin: 55px auto 120px; padding: 90px 40px; overflow: hidden; text-align: center; border: 1px solid rgba(84,169,245,.2); border-radius: 28px; background: linear-gradient(145deg, rgba(17,39,61,.94), rgba(7,18,31,.95)); }
.cta-glow { position: absolute; width: 500px; height: 300px; top: -240px; left: 50%; transform: translateX(-50%); background: var(--blue); filter: blur(100px); opacity: .25; }
.cta-section h2 { position: relative; }
.cta-section p { margin-bottom: 30px; color: var(--muted); }
.button-large { padding: 16px 27px; }
footer { min-height: 120px; padding: 25px 6vw; display: flex; align-items: center; gap: 25px; border-top: 1px solid var(--line); color: #6e8497; font-size: 10px; }
.footer-brand { color: white; font-size: 15px; }
.footer-brand .brand-mark { width: 25px; height: 25px; padding: 5px; }
footer p { margin: 0; }
.footer-note { margin-left: auto; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: .14s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .5; box-shadow: 0 0 0 8px rgba(83,228,176,.04), 0 0 16px var(--green); } }

@media (max-width: 980px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 65px; text-align: center; }
  .hero-copy { display: flex; align-items: center; flex-direction: column; }
  .hero-actions, .trust-row { justify-content: center; }
  .phone-scene { min-height: 610px; }
  .phone { height: 610px; }
  .signal-strip { flex-direction: column; gap: 16px; }
  .problem-grid, .steps { grid-template-columns: 1fr; }
  .problem-card.featured { transform: none; }
  .problem-card { min-height: 250px; }
  .mini-icon { margin-bottom: 28px; }
  .feature-section, .message-section { grid-template-columns: 1fr; gap: 55px; }
  .message-demo { order: 2; }
}

@media (max-width: 640px) {
  .site-header { height: 66px; padding: 0 18px; }
  .site-header .button-small { padding: 8px 11px; font-size: 11px; }
  .brand { font-size: 17px; }
  .brand-mark { width: 27px; height: 27px; }
  .hero { min-height: auto; padding: 58px 20px 70px; gap: 44px; }
  h1 { font-size: 42px; letter-spacing: -2.2px; }
  .hero-lead { font-size: 15px; }
  .hero-actions { flex-direction: column; gap: 17px; }
  .trust-row { gap: 9px; flex-wrap: wrap; font-size: 10px; }
  .phone-scene { min-height: 560px; width: 100%; }
  .phone { width: min(320px, 88vw); height: 560px; border-radius: 35px; }
  .orbit-one { width: 430px; height: 430px; }
  .orbit-two { width: 360px; height: 360px; }
  .status-float-top { top: 55px; right: -4px; }
  .status-float-bottom { bottom: 57px; left: 0; }
  .signal-strip > div { justify-content: center; gap: 13px 19px; }
  .section { padding: 88px 20px; }
  .section-heading h2, .feature-copy h2, .cta-section h2, .detail-card h2 { font-size: 36px; letter-spacing: -1.5px; }
  .problem-grid { margin-top: 38px; }
  .problem-card { padding: 28px; }
  .settings-panel { padding: 16px; }
  .setting-row small { max-width: 200px; }
  .message-section { padding-top: 50px; }
  .message-demo { padding: 20px 10px; border-radius: 30px 8px; }
  .window-chat { padding: 22px 11px; }
  .message.wide, .reply-button { width: 96%; max-width: 96%; }
  .compact-features { grid-template-columns: 1fr; }
  .steps { margin-top: 38px; }
  .step { min-height: 210px; }
  .detail-card { padding: 38px 25px; }
  .detail-stats { grid-template-columns: 1fr; gap: 24px; }
  .detail-stats b { font-size: 30px; }
  .cta-section { margin: 35px 20px 80px; padding: 65px 23px; }
  footer { flex-wrap: wrap; justify-content: center; text-align: center; }
  .footer-note { width: 100%; margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
