/* KurTech Kalendar Sync 介紹頁（4.159.0）．只在「KurTech Kalendar Sync 介紹頁」範本載入，動畫在 kalendar.js．
   字體跟全站一樣：英數 Chakra Petch、中文 Noto Sans TC、技術標籤 JetBrains Mono（style.css 最後的「全站統一」規則）．
   配色：深底、紫→粉→橘漸層；iCloud 紫、Google 橘粉（跟 App Icon 一樣）．中文段落一律 text-wrap: normal，寬度用 px． */
@property --kls-ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

.kls { --kls-text: #F6F1FF; --kls-mute: rgba(246,241,255,.7); --kls-dim: rgba(246,241,255,.5); --kls-line: rgba(255,255,255,.1);
	--kls-purple: #B89CFF; --kls-pink: #FF2F92; --kls-orange: #FF7A2F; --kls-green: #3DFFB5; --kls-cyan: #34D5FF; --kls-gold: #FFD98A;
	--kls-grad: linear-gradient(100deg, #7C3CFF, #FF2F92 60%, #FF7A2F);
	position: relative; padding: 140px 0 120px; color: var(--kls-text); overflow: hidden; isolation: isolate;
	background: radial-gradient(1000px 600px at 10% -4%, rgba(124,60,255,.3), transparent 70%), radial-gradient(800px 520px at 96% 4%, rgba(255,47,146,.18), transparent 70%), #07060D; }
.kls, .kls * { font-family: 'Chakra Petch', 'Noto Sans TC', "NotoTC-fallback", system-ui, -apple-system, 'Segoe UI', sans-serif; }
.kls *, .kls *::before, .kls *::after { box-sizing: border-box; }
.kls p { text-wrap: normal; margin: 0; }
.kls h1, .kls h2, .kls h3 { margin: 0; color: var(--kls-text); }
.kls ul, .kls ol { margin: 0; padding: 0; list-style: none; }
.kls a { color: #C9B4FF; }
.kls img { display: block; max-width: 100%; height: auto; }
.kls-wrap { position: relative; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.kls > section + section { margin-top: 140px; }

/* 背景光暈：慢慢飄 */
.kls-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.kls-glow i { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(90px); opacity: .32; animation: kls-drift 22s ease-in-out infinite alternate; }
.kls-glow i:nth-child(1) { left: -160px; top: 120px; background: #7C3CFF; }
.kls-glow i:nth-child(2) { right: -200px; top: 900px; background: #FF2F92; animation-duration: 28s; opacity: .2; }
.kls-glow i:nth-child(3) { left: 20%; top: 2600px; background: #FF7A2F; animation-duration: 32s; opacity: .14; }
@keyframes kls-drift { to { transform: translate(90px, 140px) scale(1.15); } }

/* 文字 */
.kls-eye, .kls-eye * { font: 700 11.5px/1.5 'JetBrains Mono', 'Chakra Petch', monospace; letter-spacing: .16em; color: var(--kls-pink); }
.kls-h1 { font-size: clamp(36px, 5.2vw, 62px); font-weight: 700; line-height: 1.18; letter-spacing: -.01em; }
.kls-h2 { font-size: clamp(27px, 3.4vw, 40px); font-weight: 700; line-height: 1.3; }
.kls-h1 em, .kls-h2 em { font-style: normal; background: var(--kls-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kls-lead { max-width: 600px; color: var(--kls-mute); font-size: 17px; line-height: 1.9; }
.kls-sub { max-width: none; /* 4.163.1：空間夠就不換行（使用者 11/7） */ color: var(--kls-mute); font-size: 16px; line-height: 1.95; }
.kls-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 44px; }
.kls-note { margin-top: 14px !important; color: var(--kls-dim); font-size: 13px; line-height: 1.8; }

/* 按鈕 */
.kls-btn { flex: 0 0 auto; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px;
	border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); color: var(--kls-text) !important; font-size: 15px; font-weight: 700; text-decoration: none; transition: border-color .2s, background .2s, box-shadow .25s, transform .2s; }
.kls-btn:hover { border-color: rgba(184,156,255,.6); background: rgba(184,156,255,.12); transform: translateY(-2px); }
.kls-btn.is-primary { position: relative; overflow: hidden; border-color: transparent; color: #fff !important; background: var(--kls-grad); box-shadow: 0 14px 40px -14px rgba(255,47,146,.75); }
.kls-btn.is-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); animation: kls-shine 4.5s ease-in-out infinite; }
.kls-btn.is-gold { border-color: transparent; color: #3A2600 !important; background: linear-gradient(135deg, #FFE39A, #F5C451 55%, #D99A1E); }
@keyframes kls-shine { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

/* ---- 主視覺 ---- */
.kls-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; min-height: 620px; }
.kls-hero-txt { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.kls-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 700; letter-spacing: .03em; }
.kls-brand-n { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.kls-brand-n small { padding-left: 12px; border-left: 1px solid var(--kls-line); color: var(--kls-mute); font-size: 15px; font-weight: 700; letter-spacing: .14em; white-space: nowrap; }
.kls-brand img { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; box-shadow: 0 10px 30px -10px rgba(124,60,255,.9); }
.kls-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.kls-checks { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--kls-mute); font-size: 14px; }
.kls-checks span { flex: 0 0 auto; white-space: nowrap; }
.kls-checks span::before { content: "✓"; margin-right: 6px; color: var(--kls-green); font-weight: 700; }
.kls-now { max-width: 600px; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(61,255,181,.3); background: rgba(61,255,181,.07); color: #BFFFE6; font-size: 14px; }

.kls-devices { position: relative; height: 640px; min-width: 0; transform-style: preserve-3d; transition: transform .25s ease-out; }
.kls-phone { position: absolute; width: 290px; filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)); }
.kls-phone.is-front { left: 6%; top: 10px; z-index: 2; animation: kls-bob 7s ease-in-out infinite; }
.kls-phone.is-back { right: 2%; top: 70px; z-index: 1; width: 270px; opacity: .96; animation: kls-bob 7s ease-in-out -3.5s infinite; }
@keyframes kls-bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-16px) rotate(-1deg); } }
.kls-phone.is-back { --r: 3deg; }
.kls-orb { position: absolute; left: 50%; top: 46%; z-index: 3; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--kls-grad); box-shadow: 0 0 0 10px rgba(255,47,146,.12), 0 0 50px -4px rgba(255,47,146,.8); animation: kls-pulse 2.6s ease-in-out infinite; }
.kls-orb b { color: #fff; font-size: 26px; }
@keyframes kls-pulse { 0%, 100% { box-shadow: 0 0 0 8px rgba(255,47,146,.1), 0 0 40px -6px rgba(255,47,146,.7); } 50% { box-shadow: 0 0 0 18px rgba(255,47,146,.04), 0 0 64px -2px rgba(255,47,146,.95); } }
.kls-tag { position: absolute; z-index: 4; display: flex; flex-direction: column; gap: 1px; padding: 10px 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); background: rgba(14,12,26,.82); backdrop-filter: blur(10px); font-size: 13px; color: var(--kls-mute); white-space: nowrap; box-shadow: 0 16px 40px -18px rgba(0,0,0,.8); }
.kls-tag b { color: var(--kls-text); font-size: 14px; }
.kls-tag.is-a { left: -2%; bottom: 120px; animation: kls-bob 6s ease-in-out -1s infinite; }
.kls-tag.is-b { right: -2%; top: 40px; animation: kls-bob 6s ease-in-out -4s infinite; }
/* 一個行程從 iPhone 飛到 Android */
.kls-fly { position: absolute; z-index: 5; left: 18%; top: 30%; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: #fff; color: #1b1530; font-size: 13.5px; font-weight: 700; white-space: nowrap; box-shadow: 0 18px 40px -12px rgba(124,60,255,.7); animation: kls-fly 6s cubic-bezier(.5,0,.3,1) infinite; }
.kls-fly i { width: 4px; height: 18px; border-radius: 3px; background: #FF375F; }
@keyframes kls-fly {
	0%, 8% { opacity: 0; transform: translate(0, 10px) scale(.9); }
	16%, 30% { opacity: 1; transform: translate(0, 0) scale(1); }
	58% { opacity: 1; transform: translate(240px, 70px) scale(.95); }
	70%, 100% { opacity: 0; transform: translate(260px, 80px) scale(.8); }
}

/* ---- 數字列（不用卡片，用分隔線） ---- */
.kls-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 30px; padding-bottom: 30px; }
.kls > .kls-stats { margin-top: 70px; }
.kls-stats > div { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 12px; text-align: center; border-left: 1px solid var(--kls-line); }
.kls-stats > div:first-child { border-left: 0; }
.kls-stats b { display: inline-flex; align-items: baseline; gap: 6px; font-size: clamp(40px, 5vw, 56px); font-weight: 700; line-height: 1; }
.kls-stats b > span { background: var(--kls-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kls-stats .kls-range i { font-style: normal; font-size: .68em; margin: 0 .04em; vertical-align: .14em; } /* 4.178.0：「1～3」的～縮小，不要比數字還搶眼 */
.kls-stats small { font-size: 16px; color: var(--kls-mute); font-weight: 700; }
.kls-stats > div > span { color: var(--kls-dim); font-size: 14px; }

/* ---- 跨裝置：電腦＋兩支手機 ---- */
.kls-stage3 { position: relative; max-width: 1020px; margin: 0 auto; padding: 0 70px 60px; }
.kls-browser { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); background: #0b0a14; box-shadow: 0 50px 120px -50px rgba(124,60,255,.6), 0 30px 60px -30px rgba(0,0,0,.9); }
.kls-browser-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #15131f; border-bottom: 1px solid rgba(255,255,255,.08); }
.kls-browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.kls-browser-bar i:nth-child(2) { background: #FEBC2E; } .kls-browser-bar i:nth-child(3) { background: #28C840; }
.kls-browser-bar span { margin-left: 14px; padding: 4px 14px; border-radius: 8px; background: rgba(255,255,255,.06); color: var(--kls-dim); font-size: 12.5px; }
.kls-mini { position: absolute; bottom: 0; width: 200px; filter: drop-shadow(0 30px 40px rgba(0,0,0,.65)); }
.kls-mini.is-l { left: 0; transform: rotate(-4deg); }
.kls-mini.is-r { right: 0; transform: rotate(4deg); }
.kls-toast { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 12px; background: rgba(255,255,255,.96); color: #1b1530; font-size: 13px; font-weight: 700; white-space: nowrap; box-shadow: 0 16px 36px -12px rgba(0,0,0,.7); opacity: 0; animation: kls-toast 7.5s ease-in-out infinite; }
.kls-toast i { width: 8px; height: 8px; border-radius: 50%; background: var(--kls-green); box-shadow: 0 0 0 3px rgba(61,255,181,.3); }
.kls-toast.is-l { left: 10px; bottom: 440px; animation-delay: 0s; }
.kls-toast.is-w { right: 20px; top: 56px; animation-delay: 1.4s; }
.kls-toast.is-r { right: 10px; bottom: 440px; animation-delay: 2.8s; }
@keyframes kls-toast { 0% { opacity: 0; transform: translateY(10px) scale(.92); } 6%, 40% { opacity: 1; transform: none; } 48%, 100% { opacity: 0; transform: translateY(-6px); } }
.kls-plat { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; margin-top: 30px; }
.kls-plat li { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; }
.kls-plat span, .kls-plat a { flex: 0 0 auto; white-space: nowrap; padding: 2px 10px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--kls-dim); font-size: 12.5px; font-weight: 700; text-decoration: none; }
.kls-plat .is-on { background: rgba(61,255,181,.14); color: var(--kls-green); }
.kls-plat a.is-on { transition: background .2s; }
.kls-plat a.is-on:hover { background: rgba(61,255,181,.26); }

/* ---- 適合誰：分頁 ---- */
.kls-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.kls-tabs button { flex: 0 0 auto; white-space: nowrap; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--kls-line); background: transparent; color: var(--kls-mute); font-size: 15px; font-weight: 700; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.kls-tabs button:hover { color: var(--kls-text); border-color: rgba(184,156,255,.4); }
.kls-tabs button.is-on { color: #fff; border-color: transparent; background: var(--kls-grad); }
.kls-panes { position: relative; }
.kls-pane { display: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; padding: 34px 0 10px; border-top: 1px solid var(--kls-line); }
.kls-pane.is-on { display: grid; animation: kls-in .45s ease both; }
.kls-pane > p { font-size: 20px; line-height: 1.9; color: var(--kls-text); max-width: 560px; }
@keyframes kls-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.kls-duo { display: grid; grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr); align-items: center; }
.kls-duo > div { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.035); border-top: 3px solid #8F5CFF; }
.kls-duo > div:last-child { border-top-color: #FF4F8B; }
.kls-duo small { color: var(--kls-dim); font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.kls-duo span { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px; background: rgba(255,255,255,.05); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kls-duo span i { flex: 0 0 auto; width: 4px; height: 18px; border-radius: 3px; background: #8F5CFF; }
.kls-duo > div:last-child span i { background: #FF4F8B; }
.kls-duo > b { text-align: center; font-size: 20px; color: var(--kls-purple); animation: kls-blink 1.6s ease-in-out infinite; }
.kls-pane.is-on .kls-duo > div:last-child span { animation: kls-in .5s ease .35s both; }
@keyframes kls-blink { 50% { opacity: .35; } }

/* ---- 功能：左圖右文交錯 ---- */
.kls-feats { display: flex; flex-direction: column; gap: 120px; }
.kls-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); align-items: center; gap: 70px; }
.kls-row.is-flip .kls-row-pic { order: 2; }
.kls-row.is-fold { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.kls-row-pic { position: relative; display: flex; justify-content: center; }
.kls-row-pic::before { content: ""; position: absolute; left: 50%; top: 50%; width: 80%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(124,60,255,.35), transparent 65%); z-index: 0; }
.kls-row-pic img { position: relative; z-index: 1; width: 300px; filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)); }
.kls-row-pic.is-wide img { width: 100%; max-width: 620px; }
.kls-row-txt { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.kls-ticks { display: flex; flex-direction: column; gap: 10px; margin-top: 6px !important; }
.kls-ticks li { position: relative; padding-left: 30px; color: var(--kls-text); font-size: 15.5px; line-height: 1.7; }
.kls-ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #07060D; background: var(--kls-green); }
.kls-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px !important; }
.kls-chips li { flex: 0 0 auto; max-width: 100%; box-sizing: border-box; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--kls-line); color: var(--kls-mute); font-size: 13.5px; }

/* ---- 比較表 ---- */
.kls-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.kls-table table { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; }
.kls-table th, .kls-table td { padding: 16px 14px; text-align: center; border-bottom: 1px solid var(--kls-line); font-size: 14.5px; color: var(--kls-mute); }
.kls-table thead th { padding-bottom: 20px; color: var(--kls-dim); font-size: 13.5px; font-weight: 700; vertical-align: bottom; }
.kls-table tbody th { text-align: left; color: var(--kls-text); font-weight: 700; font-size: 15px; }
.kls-table .is-us { position: relative; color: var(--kls-text); font-weight: 700; background: rgba(124,60,255,.1); }
.kls-table thead .is-us { border-radius: 16px 16px 0 0; }
.kls-table thead .is-us span { font-size: 16px; background: var(--kls-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kls-table tbody tr:last-child .is-us { border-radius: 0 0 16px 16px; }
.kls-table tbody th, .kls-table thead th:first-child { position: sticky; left: 0; z-index: 1; background: #07060D; }
@media (min-width: 900px) { .kls-table tbody th, .kls-table thead th:first-child { position: static; background: none; } }
.kls-yes, .kls-no { font-style: normal; display: inline-flex; width: 26px; height: 26px; border-radius: 50%; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.kls-yes { color: #07060D; background: var(--kls-green); }
.kls-no { color: rgba(246,241,255,.4); background: rgba(255,255,255,.06); }
.kls-table td.is-us .kls-yes { background: var(--kls-grad); color: #fff; box-shadow: 0 0 18px -4px rgba(255,47,146,.8); }

/* 4.175.1（使用者 11/7：4.175.0 的卡片在摺疊手機、平板直式反而更難看，改回表格）：
   540–899px 還是同一張表，只是縮到螢幕寬度內（固定欄寬、字小一點、可以換行），不用左右滑；
   539px 以下（手機）每個項目一塊：左邊項目名稱、右邊 Kalendar Sync，下面一排小字是其他三種做法 */
@media (max-width: 899px) {
	.kls-table { overflow: visible; }
	.kls-table table { min-width: 0; table-layout: fixed; }
	.kls-table th, .kls-table td { padding: 13px 6px; font-size: 13.5px; line-height: 1.45; overflow-wrap: anywhere; }
	.kls-table thead th { padding-bottom: 14px; font-size: 12.5px; line-height: 1.4; }
	.kls-table thead th:first-child { width: 27%; }
	.kls-table thead .is-us span { font-size: 14px; }
	.kls-table tbody th, .kls-table thead th:first-child { position: static; background: none; }
	.kls-table tbody th { padding-left: 4px; font-size: 14px; }
	.kls-yes, .kls-no { width: 24px; height: 24px; font-size: 12px; }
}
@media (max-width: 539px) {
	.kls-table table, .kls-table tbody, .kls-table tr, .kls-table th, .kls-table td { display: block; }
	.kls-table table { table-layout: auto; }
	.kls-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.kls-table tbody tr { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 8px; padding: 16px 2px; border-bottom: 1px solid var(--kls-line); }
	.kls-table tbody th { flex: 1 1 0; min-width: 0; padding: 0; border: 0; font-size: 15px; }
	.kls-table td { border: 0; padding: 0; font-size: 12.5px; line-height: 1.4; }
	.kls-table td.is-us, .kls-table tbody tr:last-child .is-us { order: 1; flex: 0 0 auto; max-width: 52%; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; padding: 0; background: none; border-radius: 0; text-align: right; font-size: 14px; }
	.kls-table td.is-us::before { content: "Kalendar Sync"; font-size: 11px; font-weight: 700; letter-spacing: .02em; color: transparent; background: var(--kls-grad); -webkit-background-clip: text; background-clip: text; }
	.kls-table td:not(.is-us) { order: 2; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.04); text-align: left; color: var(--kls-mute); }
	.kls-table td:not(.is-us)::before { content: attr(data-short); font-size: 11px; color: var(--kls-dim); }
	.kls-table tbody th + td { margin-left: 0; }
	.kls-table tbody th { order: 0; }
	.kls-table tbody tr::after { content: ""; order: 1; flex: 0 0 100%; height: 0; }
	.kls-table td:not(.is-us) .kls-yes, .kls-table td:not(.is-us) .kls-no { width: 20px; height: 20px; font-size: 11px; }
}

/* ---- 流程圖 ---- */
.kls-pipe { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: none; }
.kls-pipe::before { content: ""; position: absolute; left: 12%; right: 12%; top: 31px; height: 2px; background: linear-gradient(90deg, rgba(124,60,255,.6), rgba(255,47,146,.6), rgba(255,122,47,.6)); }
.kls-pipe::after { content: ""; position: absolute; left: 12%; top: 26px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 16px 4px rgba(255,47,146,.9); animation: kls-run 4.5s ease-in-out infinite; }
@keyframes kls-run { 0% { left: 12%; opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { left: 87%; opacity: 0; } }
.kls-pipe li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 0 6px; }
.kls-node { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; color: #fff; background: #120f22; border: 2px solid rgba(184,156,255,.55); box-shadow: 0 0 0 8px #07060D; }
.kls-pipe li.is-end .kls-node { background: var(--kls-grad); border-color: transparent; animation: kls-pulse 2.6s ease-in-out infinite; }
.kls-pipe h3 { margin-top: 8px !important; font-size: 18px; font-weight: 700; }
.kls-pipe p { color: var(--kls-mute); font-size: 14.5px; line-height: 1.8; max-width: 240px; }

/* ---- 方案：免費 → 月 → 年（流動外框） ---- */
.kls-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.kls-plans.has-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kls-plan { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 32px 26px 26px; border-radius: 24px; border: 1px solid var(--kls-line); background: rgba(255,255,255,.03); }
.kls-plan h3 { font-size: 19px; font-weight: 700; }
.kls-plan ul { flex: 1 1 auto; display: flex; flex-direction: column; gap: 10px; }
.kls-plan li { position: relative; padding-left: 22px; color: var(--kls-mute); font-size: 14.5px; line-height: 1.7; }
.kls-plan li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--kls-green); font-weight: 700; }
.kls-plan .kls-btn { align-self: stretch; }
.kls-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.kls-price b { font-size: 40px; font-weight: 700; line-height: 1.1; }
.kls-price small { color: var(--kls-dim); font-size: 14px; white-space: nowrap; }
.kls-plan.is-hl { z-index: 1; border-color: transparent; background: linear-gradient(170deg, rgba(124,60,255,.2), rgba(255,47,146,.08) 60%, rgba(10,8,20,.95)); box-shadow: 0 40px 90px -40px rgba(255,47,146,.8); transform: translateY(-10px); }
.kls-plan.is-hl::before { content: ""; position: absolute; inset: -1.5px; z-index: -1; border-radius: 25.5px; padding: 1.5px; background: conic-gradient(from var(--kls-ang), #FF2F92, #7C3CFF, #FF7A2F, #FF4D6D, #B89CFF, #FF2F92);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; animation: kls-rot 4s linear infinite; }
.kls-plan.is-hl .kls-price b { background: var(--kls-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes kls-rot { to { --kls-ang: 360deg; } }
.kls-plan.is-gold { border-color: rgba(255,217,138,.45); background: linear-gradient(170deg, rgba(255,217,138,.1), rgba(255,255,255,.02) 70%); }
.kls-plan.is-gold h3 { color: var(--kls-gold); }
.kls-ribbon { position: absolute; top: -13px; left: 24px; white-space: nowrap; padding: 4px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: #fff; background: var(--kls-grad); box-shadow: 0 8px 20px -8px rgba(255,47,146,.9); }
.kls-plan.is-gold .kls-ribbon { color: #3A2600; background: linear-gradient(135deg, #FFE39A, #D99A1E); }

/* ---- 常見問題 ---- */
/* 常見問題：桌機左邊標題、右邊問答，跟上面各區塊一樣寬（原本最寬 920px 靠左，右邊空一塊） */
.kls-faq-sec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); align-items: start; gap: 0 64px; }
.kls-faq-sec .kls-head { position: sticky; top: 110px; margin-bottom: 0; }
.kls-faq { display: flex; flex-direction: column; width: 100%; border-top: 1px solid var(--kls-line); }
.kls-faq details { border-bottom: 1px solid var(--kls-line); }
.kls-faq summary { position: relative; padding: 22px 56px 22px 4px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 700; transition: color .2s; }
.kls-faq summary:hover { color: #E3D8FF; }
.kls-faq summary::-webkit-details-marker { display: none; }
.kls-faq summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid var(--kls-line); color: var(--kls-purple); font-size: 18px; transition: transform .25s, background .25s; }
.kls-faq details[open] summary::after { content: "−"; background: rgba(184,156,255,.14); }
.kls-faq details p { padding: 0 56px 24px 4px; color: var(--kls-mute); font-size: 15.5px; line-height: 1.95; animation: kls-in .3s ease both; }

/* ---- 底部 ---- */
.kls-cta { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 70px; padding-bottom: 70px; text-align: center; background: radial-gradient(closest-side, rgba(124,60,255,.26), transparent) 50% 55% / 640px 300px no-repeat; }
.kls-cta img { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 16px 40px -12px rgba(124,60,255,.9); animation: kls-bob 6s ease-in-out infinite; }
.kls-cta p { max-width: 560px; color: var(--kls-mute); font-size: 16px; line-height: 1.9; }

/* ---- 捲動進場（kalendar.js 加 is-in；沒有 JS 時照常顯示） ---- */
.kls.js .kls-rv { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.kls.js .kls-rv.is-in { opacity: 1; transform: none; }
.kls.js .kls-row .kls-row-pic.kls-rv { transform: translateX(-40px); }
.kls.js .kls-row.is-flip .kls-row-pic.kls-rv, .kls.js .kls-row.is-fold .kls-row-pic.kls-rv { transform: translateX(40px); }
.kls.js .kls-row .kls-row-pic.kls-rv.is-in { transform: none; }

@media (prefers-reduced-motion: reduce) {
	.kls *, .kls *::before, .kls *::after { animation: none !important; transition: none !important; }
	.kls.js .kls-rv { opacity: 1; transform: none; }
	.kls-toast { opacity: 1; }
	.kls-fly { display: none; }
}
@media (max-width: 1080px) {
	.kls-faq-sec { grid-template-columns: minmax(0, 1fr); }
	.kls-faq-sec .kls-head { position: static; margin-bottom: 44px; }
	.kls-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.kls-devices { max-width: 560px; width: 100%; margin: 0 auto; height: 600px; }
	.kls-row, .kls-row.is-fold { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.kls-row.is-flip .kls-row-pic { order: 0; }
	.kls-row.is-fold .kls-row-pic { order: -1; }
	.kls-plans, .kls-plans.has-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kls-plan.is-hl { transform: none; }
	.kls-pane { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 720px) {
	.kls { padding: 110px 0 90px; }
	.kls > section + section { margin-top: 100px; }
	.kls-wrap { padding: 0 18px; }
	.kls-devices { height: 470px; }
	.kls-phone { width: 210px; }
	.kls-phone.is-back { width: 196px; top: 50px; }
	.kls-tag { font-size: 12px; padding: 8px 11px; }
	.kls-tag.is-a { bottom: 70px; left: 0; }
	.kls-tag.is-b { right: 0; top: 0; }
	.kls-fly { left: 12%; animation-name: kls-fly-s; }
	@keyframes kls-fly-s { 0%, 8% { opacity: 0; transform: translate(0, 10px) scale(.9); } 16%, 30% { opacity: 1; transform: none; } 58% { opacity: 1; transform: translate(130px, 60px) scale(.95); } 70%, 100% { opacity: 0; transform: translate(140px, 70px) scale(.8); } }
	.kls-orb { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
	.kls-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
	.kls-stats > div:nth-child(3) { border-left: 0; }
	.kls-stage3 { padding: 0 0 150px; }
	.kls-mini { width: 120px; }
	.kls-toast.is-l, .kls-toast.is-r { bottom: 262px; font-size: 12px; }
	.kls-toast.is-w { top: 46px; right: 10px; }
	.kls-pipe { grid-template-columns: minmax(0, 1fr); gap: 30px; }
	.kls-pipe::before { left: 31px; right: auto; top: 30px; bottom: 30px; width: 2px; height: auto; background: linear-gradient(180deg, rgba(124,60,255,.6), rgba(255,47,146,.6), rgba(255,122,47,.6)); }
	.kls-pipe::after { left: 26px; top: 30px; animation-name: kls-run-v; }
	@keyframes kls-run-v { 0% { top: 30px; opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { top: calc(100% - 40px); opacity: 0; } }
	.kls-pipe li { flex-direction: row; flex-wrap: wrap; align-items: flex-start; text-align: left; gap: 4px 18px; padding: 0; }
	.kls-pipe li h3 { flex: 1 1 calc(100% - 82px); margin-top: 16px !important; }
	.kls-pipe li p { flex: 1 1 100%; max-width: none; padding-left: 82px; }
	.kls-plans, .kls-plans.has-4 { grid-template-columns: minmax(0, 1fr); }
	.kls-row-pic img { width: 240px; }
	.kls-pane > p { font-size: 17px; }
	.kls-faq summary { font-size: 16px; }
	.kls-faq details p { padding-right: 8px; }
}

/* 4.166.1：最下方的法律連結（服務條款、隱私權政策、Google 使用者資料說明） */
.kls-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; padding-top: 0; padding-bottom: 46px; font-size: 13.5px; }
.kls-legal a { flex: 0 0 auto; white-space: nowrap; color: var(--kls-mute); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.25); }
.kls-legal a:hover { color: #fff; text-decoration-color: currentColor; }
