/* AI Sites 首頁（單頁模板）。無外部資源：字型走系統字型堆疊，圖示與插圖為自製 SVG。 */

:root {
  --ink: #14202e;
  --muted: #5b6470;
  --brand: #f2622a;
  --brand-deep: #d9501c;
  --paper: #ffffff;
  --warm: #fff6f0;
  --line: #ece4de;
  --radius: 14px;
  --font: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
svg { display: block; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* 按鈕 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer;
}
.btn-lg { height: 52px; padding: 0 28px; font-size: 16px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(242, 98, 42, .28); }
.btn-primary:hover { background: var(--brand-deep); }
.btn-ghost { background: #fff; color: var(--ink); border-color: #cfd5dc; }
.btn-outline { background: #fff; color: var(--ink); border-color: #cfd5dc; }
.icon-play { width: 22px; height: 22px; color: var(--brand); }

.eyebrow {
  color: var(--brand); font-size: 13px; letter-spacing: .18em; font-weight: 600;
  padding-left: 12px; border-left: 3px solid var(--brand); margin-bottom: 18px;
}
.text-link { color: var(--brand); font-weight: 600; }

/* 標頭 */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-size: 20px; font-weight: 800; }
.brand-sub { font-size: 11px; color: var(--muted); }
.main-nav ul { display: flex; gap: 32px; }
.main-nav a { font-size: 15px; color: var(--ink); }
.main-nav a:hover { color: var(--brand); }
.header-actions { display: flex; gap: 12px; }
.mobile-nav { display: none; }

/* 首屏 */
.hero { background: linear-gradient(120deg, #fffaf6 0%, #fff1e8 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 40px; padding-top: 72px; padding-bottom: 72px; }
.hero-title { font-size: 56px; line-height: 1.25; font-weight: 700; margin-bottom: 24px; }
.hero-lead { font-size: 17px; color: var(--muted); margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-tagline { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 14px; letter-spacing: .08em; }
.rule { display: inline-block; width: 44px; height: 1px; background: #c9bdb4; }
.hero-visual { position: relative; }
.hero-mockup { width: 100%; border-radius: var(--radius); }
.hero-note { position: absolute; top: -8px; right: 0; color: var(--brand); font-size: 18px; font-weight: 600; text-align: right; line-height: 1.5; z-index: 1; }

/* 適合對象 */
.audience { padding: 96px 0; text-align: center; }
.section-title { font-size: 36px; font-weight: 700; margin-bottom: 12px; }
.section-title.left { text-align: left; }
.section-lead { color: var(--muted); font-size: 16px; margin-bottom: 56px; }
.section-lead.left { text-align: left; margin-bottom: 0; }
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.audience-item { padding: 0 24px; }
.audience-item + .audience-item { border-left: 1px solid var(--line); }
.icon-circle { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--warm); color: var(--brand); margin-bottom: 20px; }
.icon-circle svg { width: 30px; height: 30px; }
.item-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.item-text { color: var(--muted); font-size: 15px; }

/* 功能區 */
.feature { background: #fff8f3; padding: 96px 0; overflow: hidden; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 56px; }
.split-title { font-size: 40px; line-height: 1.35; font-weight: 700; margin-bottom: 20px; }
.split-lead { color: var(--muted); margin-bottom: 28px; }
.split-visual { position: relative; }
.flow-mockup { width: 100%; border-radius: var(--radius); }
.feature-chips { position: absolute; left: -24px; top: 18%; display: flex; flex-direction: column; gap: 12px; background: #fff; padding: 14px; border-radius: var(--radius); box-shadow: 0 16px 40px rgba(20, 32, 46, .12); }
.feature-chips li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; min-width: 170px; }
.chip-icon { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 10px; background: var(--warm); color: var(--brand); }
.chip-icon svg { width: 18px; height: 18px; }

/* 案例 */
.cases { padding: 96px 0; }
.cases-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.case-quote { color: var(--ink); font-size: 16px; line-height: 1.9; }
.case-person { display: flex; align-items: center; gap: 14px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.person-meta { display: flex; flex-direction: column; }
.person-name { font-size: 15px; }
.person-role { color: var(--muted); font-size: 13px; }

/* 收尾 CTA */
.cta { position: relative; min-height: 420px; display: flex; align-items: center; overflow: hidden; background: #f6ece6; }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cta-inner { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; }
.cta-title { font-size: 44px; line-height: 1.35; font-weight: 700; margin-bottom: 16px; }
.cta-lead { color: var(--muted); font-size: 17px; margin-bottom: 32px; }
.cta-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.cta-checks { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: var(--ink); }
.cta-checks li { display: flex; align-items: center; gap: 6px; }
.icon-check { width: 16px; height: 16px; color: var(--brand); }
.cta-note { position: absolute; right: 24px; bottom: 40px; color: var(--brand); font-size: 18px; font-weight: 600; text-align: right; line-height: 1.6; z-index: 1; }

/* 頁尾 */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 40px 0; }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; gap: 24px; }
.footer-links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); justify-content: center; }
.footer-social { display: flex; gap: 12px; justify-content: center; color: #6b7480; }
.footer-social svg { width: 26px; height: 26px; }
.copyright { font-size: 12px; color: var(--muted); text-align: right; }

/* RWD */
@media (max-width: 1024px) {
  .hero-title { font-size: 44px; }
  .main-nav ul { gap: 20px; }
  .split-title, .cta-title { font-size: 34px; }
  .feature-chips { left: 0; }
}
@media (max-width: 860px) {
  .main-nav, .header-actions .btn-ghost { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { cursor: pointer; font-weight: 600; padding: 8px 12px; border: 1px solid #cfd5dc; border-radius: 10px; }
  .mobile-panel { position: absolute; right: 0; top: 48px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 20px; min-width: 200px; box-shadow: 0 12px 30px rgba(20, 32, 46, .12); }
  .mobile-panel li { padding: 8px 0; }
  .header-inner { position: relative; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 48px; padding-bottom: 48px; }
  .hero-visual { order: 2; }
  .audience-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-item:nth-child(3) { border-left: 0; }
  .split-visual { margin-top: 24px; }
  .feature-chips { position: static; margin-top: 16px; }
  .cases-head { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .copyright { text-align: center; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .header-actions .btn-primary { height: 40px; padding: 0 14px; font-size: 14px; }
  .hero-title { font-size: 34px; }
  .hero-note { position: static; text-align: left; margin-bottom: 12px; }
  .hero-actions .btn { width: 100%; }
  .audience-grid, .case-grid { grid-template-columns: 1fr; }
  .audience-item + .audience-item { border-left: 0; margin-top: 32px; }
  .section-title, .split-title { font-size: 28px; }
  .cta-title { font-size: 30px; }
  .cta-note { position: static; text-align: left; margin-top: 24px; }
  .cta-actions .btn { width: 100%; }
  .brand-name { font-size: 18px; }
}
