/* TTTPocket 全站樣式 */
:root {
  --brand: #2980FE;
  --brand-deep: #1767D6;
  --brand-soft: #EAF3FF;
  --ice: #F5F8FD;
  --soft: #F7F9FC;
  --white: #FFFFFF;
  --ink: #172033;
  --text: #465266;
  --muted: #718096;
  --line: #DCE6F2;
  --footer: #10233F;
  --shadow: 0 18px 50px rgba(35, 87, 155, .10);
  --shadow-small: 0 10px 28px rgba(30, 79, 145, .08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; color: var(--ink); background: var(--white); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif; line-height: 1.72; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 9999; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 16px; }
.site-header { position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(220, 230, 242, .85); background: rgba(255,255,255,.92); backdrop-filter: blur(18px); }
.header-shell { width: min(calc(100% - 40px), var(--container)); min-height: 76px; margin: 0 auto; display: flex; align-items: center; gap: 20px; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; min-width: 148px; }
.brand img, .footer-brand img, .mobile-brand img { object-fit: contain; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 4px; flex: 1 1 auto; white-space: nowrap; }
.nav-link { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 11px; border-radius: 12px; color: #354157; font-size: 14px; font-weight: 700; }
.nav-link:hover, .nav-link:focus-visible, .nav-link.is-active { color: var(--brand-deep); background: var(--brand-soft); }
.nav-group { position: relative; }
.mega-menu { position: absolute; top: calc(100% + 12px); left: 50%; width: 610px; padding: 16px; display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 10px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.98); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: .18s ease; }
.mega-menu-right { left: auto; right: 0; transform: translate(0, 8px); }
.nav-group:hover .mega-menu, .nav-group:focus-within .mega-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-group:hover .mega-menu-right, .nav-group:focus-within .mega-menu-right { transform: translate(0, 0); }
.mega-menu::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.mega-menu > a { min-height: 74px; padding: 12px; border-radius: 14px; background: var(--soft); transition: .18s ease; }
.mega-menu > a:hover, .mega-menu > a:focus-visible { background: var(--brand-soft); transform: translateY(-2px); }
.mega-menu b { display: block; margin-bottom: 3px; color: var(--ink); font-size: 14px; }
.mega-menu small { display: block; color: var(--muted); line-height: 1.45; }
.mega-intro { grid-row: span 2; padding: 18px; border-radius: 16px; color: #fff; background: linear-gradient(145deg, var(--brand), var(--brand-deep)); }
.mega-intro strong { display: block; margin-bottom: 10px; font-size: 20px; }
.mega-intro span { display: block; color: rgba(255,255,255,.82); font-size: 13px; }
.header-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; }
.download-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 0; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); box-shadow: 0 12px 24px rgba(41,128,254,.22); font-weight: 800; transition: .2s ease; }
.download-btn:hover, .download-btn:focus-visible { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(41,128,254,.28); }
.site-header .download-btn { min-height: 42px; padding: 0 18px; font-size: 14px; white-space: nowrap; }
.menu-toggle { width: 44px; height: 44px; display: inline-grid; place-content: center; gap: 5px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.menu-toggle span { width: 18px; height: 2px; border-radius: 2px; background: var(--ink); }
.menu-overlay { position: fixed; inset: 0; z-index: 1100; background: rgba(16,35,63,.48); opacity: 0; transition: opacity .22s ease; }
.menu-overlay.is-visible { opacity: 1; }
.mobile-menu { position: fixed; top: 0; right: 0; bottom: 0; z-index: 1200; width: min(92vw, 430px); padding: 20px; overflow-y: auto; background: #fff; box-shadow: -20px 0 60px rgba(10,31,61,.18); transform: translateX(104%); transition: transform .25s ease; }
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.menu-close { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); color: var(--ink); font-size: 28px; cursor: pointer; }
.mobile-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px 0; }
.mobile-quick a { min-height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--brand-soft); color: var(--brand-deep); font-weight: 800; }
.mobile-group { border-top: 1px solid var(--line); }
.mobile-group > button { width: 100%; min-height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0; border: 0; background: transparent; color: var(--ink); font-weight: 800; cursor: pointer; }
.mobile-group > div { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .2s ease; }
.mobile-group > div > * { overflow: hidden; }
.mobile-group.is-open > div { grid-template-rows: 1fr; }
.mobile-group > div a { min-height: 44px; display: flex; align-items: center; padding: 0 14px; border-radius: 10px; color: var(--text); }
.mobile-group > div a:hover { background: var(--soft); color: var(--brand-deep); }
.mobile-menu > .download-btn { width: 100%; margin-top: 22px; }
main { overflow: hidden; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 92px 0; }
.section-sm { padding: 66px 0; }
.section-soft { background: var(--soft); }
.section-blue { background: linear-gradient(180deg, var(--ice), var(--brand-soft)); }
.section-dark { position: relative; overflow: hidden; color: #fff; background: linear-gradient(145deg, #10233F, #164276); }
.section-dark::before { content: ""; position: absolute; width: 420px; height: 420px; right: -140px; top: -150px; border-radius: 50%; background: rgba(41,128,254,.24); filter: blur(2px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--brand-deep); font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--brand); }
.section-dark .eyebrow { color: #9BC6FF; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -.025em; }
h1 { font-size: clamp(42px, 6vw, 72px); }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: clamp(19px, 2vw, 25px); }
p { margin: 0; color: var(--text); }
.section-dark p { color: rgba(255,255,255,.76); }
.lead { max-width: 780px; margin-top: 18px; font-size: clamp(17px, 2vw, 20px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.section-head p { max-width: 600px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; color: var(--brand-deep); font-weight: 900; }
.text-link::after { content: "→"; transition: transform .18s ease; }
.text-link:hover::after { transform: translateX(4px); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-secondary { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font-weight: 800; }
.btn-secondary:hover { border-color: #b8cee9; color: var(--brand-deep); transform: translateY(-1px); }
.hero { position: relative; padding: 70px 0 58px; background: radial-gradient(circle at 85% 20%, rgba(41,128,254,.18), transparent 30%), linear-gradient(180deg,#fff 0%,#f5f9ff 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); align-items: center; gap: 52px; }
.hero-copy p { max-width: 720px; margin-top: 22px; font-size: 18px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-tags span { padding: 8px 13px; border: 1px solid #cfe1fa; border-radius: 999px; background: rgba(255,255,255,.8); color: var(--brand-deep); font-size: 13px; font-weight: 800; }
.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.hero-visual::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: linear-gradient(145deg, #dcecff, #f8fbff); box-shadow: inset 0 0 0 1px #cfe1f8; }
.hero-visual > img { position: relative; z-index: 2; max-height: 500px; object-fit: contain; filter: drop-shadow(0 30px 45px rgba(31,91,171,.18)); }
.float-note { position: absolute; z-index: 3; min-width: 175px; padding: 14px 16px; border: 1px solid rgba(206,224,248,.9); border-radius: 16px; background: rgba(255,255,255,.88); backdrop-filter: blur(12px); box-shadow: var(--shadow-small); }
.float-note b { display: block; margin-bottom: 3px; font-size: 14px; }
.float-note span { color: var(--muted); font-size: 12px; }
.float-a { left: 0; top: 90px; }.float-b { right: 0; top: 190px; }.float-c { left: 25px; bottom: 70px; }
.capability-strip { margin-top: -20px; position: relative; z-index: 5; }
.capability-grid { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-small); overflow: hidden; }
.capability-item { padding: 24px; }
.capability-item + .capability-item { border-left: 1px solid var(--line); }
.capability-item h2 { margin-bottom: 8px; font-size: 18px; }
.capability-item p { font-size: 14px; }
.category-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.category-item { min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-small); transition: .2s ease; }
.category-item:hover { transform: translateY(-4px); border-color: #b9d4f8; }
.category-item.featured { grid-column: span 2; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); border-color: transparent; }
.category-item.featured p, .category-item.featured .category-link { color: rgba(255,255,255,.86); }
.category-item.wide { grid-column: span 2; background: linear-gradient(145deg,#fff,#edf5ff); }
.category-number { color: var(--brand); font-size: 13px; font-weight: 900; }
.category-item.featured .category-number { color: #fff; }
.category-item p { margin-top: 12px; }
.category-link { margin-top: 18px; color: var(--brand-deep); font-weight: 900; }
.split-feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 58px; }
.image-stage { min-height: 460px; display: grid; place-items: center; padding: 30px; border-radius: 28px; background: linear-gradient(145deg,#dcecff,#fff); }
.image-stage img { max-height: 450px; object-fit: contain; }
.content-panel { padding: 38px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow-small); }
.check-list { display: grid; gap: 11px; margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; color: var(--text); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand-deep); font-size: 12px; font-weight: 900; }
.dual-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; }
.topic-box { position: relative; min-height: 360px; padding: 34px; overflow: hidden; border-radius: 26px; border: 1px solid var(--line); background: #fff; }
.topic-box:nth-child(2) { margin-top: 58px; background: linear-gradient(145deg,#edf5ff,#fff); }
.topic-box p { margin-top: 16px; }
.topic-box ul { margin: 22px 0 0; padding-left: 20px; color: var(--text); }
.visual-topic { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; }
.visual-topic article { min-height: 420px; padding: 34px; border-radius: 26px; background: #fff; border: 1px solid var(--line); }
.visual-topic article:last-child { margin-top: 80px; }
.visual-topic .topic-image { min-height: 200px; display: grid; place-items: center; margin-bottom: 26px; border-radius: 20px; background: var(--brand-soft); overflow: hidden; }
.visual-topic .topic-image img { max-height: 220px; object-fit: contain; }
.safety-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.safety-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.safety-points div { padding: 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(255,255,255,.07); }
.safety-points b { display: block; margin-bottom: 5px; }
.safety-points span { color: rgba(255,255,255,.68); font-size: 13px; }
.process { display: grid; grid-template-columns: repeat(6,1fr); gap: 12px; counter-reset: step; }
.process-step { position: relative; min-height: 238px; padding: 24px 18px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.process-step::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 20px; color: var(--brand); font-size: 24px; font-weight: 900; }
.process-step h3 { font-size: 18px; }
.process-step p { margin-top: 12px; font-size: 14px; }
.process-step a { display: inline-block; margin-top: 14px; color: var(--brand-deep); font-size: 13px; font-weight: 800; }
.notice-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.notice-item { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 24px; min-height: 96px; border-bottom: 1px solid var(--line); }
.notice-item time { color: var(--brand-deep); font-size: 13px; font-weight: 900; }
.notice-item h3 { margin-bottom: 5px; font-size: 18px; }
.notice-item a { color: var(--brand-deep); font-weight: 900; }
.review-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.review { padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.review strong { display: block; margin-bottom: 12px; color: var(--brand-deep); }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.faq-item > button { width: 100%; min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; border: 0; background: transparent; color: var(--ink); text-align: left; font-weight: 900; cursor: pointer; }
.faq-item > button::after { content: "+"; font-size: 23px; color: var(--brand); }
.faq-item.is-open > button::after { content: "−"; }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .2s ease; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { padding: 0 20px 20px; }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.cta-band { padding: 62px 30px; text-align: center; border-radius: 28px; background: radial-gradient(circle at top, rgba(255,255,255,.24), transparent 36%), linear-gradient(135deg,var(--brand),var(--brand-deep)); color: #fff; }
.cta-band p { max-width: 720px; margin: 16px auto 0; color: rgba(255,255,255,.82); }
.cta-band .download-btn { margin-top: 26px; background: #fff; color: var(--brand-deep); box-shadow: none; }
.page-hero { padding: 80px 0 70px; background: radial-gradient(circle at 80% 20%, rgba(41,128,254,.16), transparent 32%), linear-gradient(180deg,#fff,#f4f8fe); }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.page-hero h1 { font-size: clamp(40px,5vw,64px); }
.page-hero p { max-width: 740px; margin-top: 20px; font-size: 18px; }
.page-hero-aside { padding: 28px; border-radius: 24px; background: rgba(255,255,255,.8); border: 1px solid var(--line); box-shadow: var(--shadow-small); }
.page-hero-aside ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.page-hero-aside li { padding: 13px 14px; border-radius: 12px; background: var(--soft); color: var(--text); font-weight: 700; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.content-card { padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-small); }
.content-card p { margin-top: 14px; }
.content-card ul, .article-copy ul { margin: 18px 0 0; padding-left: 22px; color: var(--text); }
.content-card li + li, .article-copy li + li { margin-top: 8px; }
.article-copy { max-width: 860px; }
.article-copy p + p { margin-top: 18px; }
.article-copy h2 { margin-top: 42px; font-size: 30px; }
.article-copy h3 { margin-top: 30px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.info-table { width: 100%; min-width: 700px; border-collapse: collapse; }
.info-table th, .info-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table th { background: var(--soft); color: var(--ink); }
.info-table td { color: var(--text); }
.info-table tr:last-child td { border-bottom: 0; }
.flow-list { display: grid; gap: 16px; counter-reset: flow; }
.flow-item { display: grid; grid-template-columns: 58px 1fr; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.flow-item::before { counter-increment: flow; content: counter(flow); width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--brand-soft); color: var(--brand-deep); font-size: 18px; font-weight: 900; }
.flow-item p { margin-top: 8px; }
.alert-box { padding: 26px; border-left: 4px solid var(--brand); border-radius: 0 18px 18px 0; background: var(--brand-soft); }
.alert-box h2, .alert-box h3 { margin-bottom: 10px; font-size: 23px; }
.alert-box p + p { margin-top: 10px; }
.site-footer { color: #fff; background: var(--footer); }
.footer-shell { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; padding: 66px 0 44px; display: grid; grid-template-columns: 1.1fr 2fr; gap: 60px; }
.footer-brand p { max-width: 360px; margin-top: 18px; color: rgba(255,255,255,.66); }
.footer-links { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.footer-links h2 { margin-bottom: 16px; color: #fff; font-size: 15px; }
.footer-links a { display: block; min-height: 34px; color: rgba(255,255,255,.66); font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom p { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; padding: 20px 0; color: rgba(255,255,255,.52); font-size: 13px; }
@media (max-width: 1120px) {
  .desktop-nav { display: none; }
  .header-shell { min-height: 70px; }
  .brand { flex: 1 1 auto; }
  .hero-grid, .split-feature, .page-hero-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .process { grid-template-columns: repeat(3,1fr); }
  .category-grid { grid-template-columns: repeat(2,1fr); }
  .category-item.featured, .category-item.wide { grid-column: span 1; }
}
@media (max-width: 820px) {
  .section { padding: 70px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 14px; }
  .hero { padding-top: 48px; }
  .hero-grid, .split-feature, .dual-grid, .visual-topic, .safety-grid, .page-hero-grid, .content-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 420px; }
  .float-note { position: relative; inset: auto; display: inline-block; margin: 8px 4px; min-width: 0; }
  .hero-visual::before { width: 330px; height: 330px; }
  .capability-grid { grid-template-columns: 1fr 1fr; }
  .capability-item + .capability-item { border-left: 0; }
  .capability-item:nth-child(even) { border-left: 1px solid var(--line); }
  .capability-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .topic-box:nth-child(2), .visual-topic article:last-child { margin-top: 0; }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .notice-item { grid-template-columns: 100px 1fr; }
  .notice-item a { grid-column: 2; padding-bottom: 18px; }
  .footer-shell { grid-template-columns: 1fr; gap: 38px; }
}
@media (max-width: 560px) {
  .header-shell, .container, .footer-shell, .footer-bottom p { width: min(calc(100% - 28px), var(--container)); }
  .brand img { width: 132px; }
  .site-header .download-btn { min-height: 40px; padding: 0 13px; font-size: 13px; }
  .header-actions { gap: 7px; }
  .menu-toggle { width: 42px; height: 42px; }
  .section { padding: 58px 0; }
  .section-sm { padding: 48px 0; }
  .hero { padding-top: 36px; }
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  .hero-copy p, .page-hero p { font-size: 16px; }
  .hero-visual { min-height: 340px; }
  .hero-visual::before { width: 270px; height: 270px; }
  .hero-visual > img { max-height: 340px; }
  .float-note { width: calc(50% - 12px); vertical-align: top; padding: 11px; }
  .capability-grid, .category-grid, .review-grid, .safety-points, .footer-links { grid-template-columns: 1fr; }
  .capability-item:nth-child(even) { border-left: 0; }
  .capability-item + .capability-item { border-top: 1px solid var(--line); }
  .category-item { min-height: 210px; }
  .content-panel, .content-card, .topic-box, .visual-topic article { padding: 24px; }
  .image-stage { min-height: 320px; padding: 20px; }
  .process { grid-template-columns: 1fr; }
  .process-step { min-height: auto; }
  .notice-item { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .notice-item a { grid-column: 1; padding-bottom: 0; }
  .cta-band { padding: 44px 20px; }
  .page-hero { padding: 56px 0 52px; }
  .flow-item { grid-template-columns: 46px 1fr; padding: 20px; }
  .flow-item::before { width: 42px; height: 42px; }
}
