:root {
  color-scheme: light;
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-soft: #fbfbfd;
  --ink: #1d1d1f;
  --body: #5f6368;
  --muted: #86868b;
  --line: rgba(0, 0, 0, 0.10);
  --line-strong: rgba(0, 0, 0, 0.16);
  --accent: #d96d00;
  --accent-hover: #b75b00;
  --blue: #0066cc;
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.12);
  --radius: 28px;
  --radius-sm: 18px;
  --shell: min(1380px, calc(100% - 40px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
button, input { font: inherit; }
.store-shell { width: var(--shell); margin: 0 auto; }
.store-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  background: rgba(250,250,252,0.88);
  backdrop-filter: blur(24px) saturate(150%);
}
.store-header__inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.store-brand { display: inline-flex; align-items: center; text-decoration: none; }
.store-brand img { width: auto; height: 40px; display: block; }
.store-nav { display: flex; align-items: center; gap: 24px; color: #424245; font-size: 0.92rem; }
.store-nav a { text-decoration: none; white-space: nowrap; transition: color .2s ease; }
.store-nav a:hover, .store-nav a[aria-current="page"] { color: var(--accent); }
.store-hero {
  padding: 92px 0 74px;
  background:
    radial-gradient(circle at 78% 2%, rgba(255, 179, 71, 0.16), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
  border-bottom: 1px solid var(--line);
}
.store-hero__eyebrow, .section-eyebrow, .book-code {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.store-hero h1 {
  margin: 18px 0 0;
  max-width: 900px;
  font-size: clamp(3.2rem, 7.4vw, 7.6rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
  font-weight: 760;
}
.store-hero p {
  margin: 28px 0 0;
  max-width: 700px;
  color: var(--body);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.75;
}
.store-filterbar {
  position: sticky;
  top: 68px;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  background: rgba(245,245,247,0.92);
  backdrop-filter: blur(22px);
}
.store-filterbar__inner { display: flex; align-items: center; gap: 10px; padding: 14px 0; overflow-x: auto; scrollbar-width: none; }
.store-filterbar__inner::-webkit-scrollbar { display: none; }
.store-chip {
  flex: 0 0 auto;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(255,255,255,0.86);
  color: #3a3a3c;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}
.store-chip:hover { border-color: var(--line-strong); background: #fff; }
.store-section { padding: 78px 0; }
.store-section--white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 30px; }
.section-head h2 { margin: 10px 0 0; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08; letter-spacing: -0.04em; }
.section-head p { max-width: 560px; margin: 0; color: var(--body); }
.feature-book {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  min-height: 650px;
  overflow: hidden;
  border-radius: 36px;
  background: #111113;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.feature-book__visual {
  display: grid;
  place-items: center;
  padding: 58px 46px;
  background:
    radial-gradient(circle at 25% 18%, rgba(242, 164, 78, 0.34), transparent 38%),
    linear-gradient(150deg, #2a2520 0%, #111113 72%);
}
.feature-book__visual img { width: min(100%, 390px); max-height: 520px; object-fit: contain; border-radius: 8px; box-shadow: 0 30px 70px rgba(0,0,0,0.48); }
.feature-book__content { display: flex; flex-direction: column; justify-content: center; padding: 62px 58px; }
.feature-book__label { color: #f0c99f; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 760; }
.feature-book h3 { margin: 24px 0 0; max-width: 800px; font-size: clamp(2.4rem, 4.8vw, 5rem); line-height: 1.04; letter-spacing: -0.05em; }
.feature-book__subtitle { margin-top: 18px; color: #ded7cf; font-size: 1.18rem; }
.feature-book__summary { margin-top: 24px; max-width: 760px; color: #bdb7b0; font-size: 1.02rem; }
.meta-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.meta-pill { border-radius: 999px; padding: 8px 13px; background: rgba(255,255,255,0.09); color: #f4eee8; font-size: 0.87rem; }
.action-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 21px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); }
.btn--dark { background: #1d1d1f; color: #fff; }
.btn--light { border-color: rgba(255,255,255,0.24); color: #fff; background: rgba(255,255,255,0.04); }
.btn--outline { border-color: var(--line-strong); background: #fff; color: var(--ink); }
.btn--blue { background: var(--blue); color: #fff; }
.book-shelf { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 330px); gap: 22px; overflow-x: auto; padding: 4px 2px 20px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.book-tile { scroll-snap-align: start; display: flex; flex-direction: column; min-height: 100%; }
.book-tile__cover {
  min-height: 410px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.book-tile__cover img { max-width: 100%; max-height: 360px; object-fit: contain; filter: drop-shadow(0 18px 25px rgba(0,0,0,0.16)); }
.book-tile__body { padding: 18px 4px 0; }
.book-tile__body h3 { margin: 7px 0 0; font-size: 1.35rem; line-height: 1.3; letter-spacing: -0.02em; }
.book-tile__body p { margin: 10px 0 0; color: var(--body); font-size: 0.94rem; }
.book-tile__meta { margin-top: 11px; color: var(--muted); font-size: 0.86rem; }
.book-tile__link { display: inline-flex; margin-top: 14px; color: var(--blue); font-weight: 700; text-decoration: none; }
.book-tile__link:hover { text-decoration: underline; }
.path-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.path-card { border-radius: 24px; background: #fff; border: 1px solid var(--line); padding: 26px; box-shadow: var(--shadow-sm); }
.path-card span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: #1d1d1f; color: #fff; font-weight: 760; }
.path-card h3 { margin: 20px 0 0; font-size: 1.25rem; }
.path-card p { margin: 10px 0 0; color: var(--body); }
.newsletter-panel { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 30px; align-items: center; border-radius: 30px; padding: 38px; background: #e8e8ed; }
.newsletter-panel h2 { margin: 0; font-size: clamp(1.8rem, 3.5vw, 3rem); letter-spacing: -0.04em; }
.newsletter-panel p { margin: 11px 0 0; color: var(--body); }
.product-hero {
  padding: 70px 0 72px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #f5f5f7 100%);
}
.product-hero__grid { display: grid; grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr); gap: 76px; align-items: center; }
.product-cover-stage { min-height: 600px; border-radius: 34px; display: grid; place-items: center; padding: 48px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.product-cover-stage--dark { background: linear-gradient(145deg, #28231f, #111113); }
.product-cover-stage img { max-width: 100%; max-height: 520px; object-fit: contain; filter: drop-shadow(0 24px 34px rgba(0,0,0,0.22)); }
.product-copy h1 { margin: 16px 0 0; font-size: clamp(2.7rem, 5.5vw, 5.6rem); line-height: 1.02; letter-spacing: -0.055em; }
.product-copy__subtitle { margin-top: 18px; color: var(--body); font-size: 1.22rem; }
.product-copy__summary { margin-top: 24px; color: var(--body); font-size: 1.02rem; max-width: 720px; }
.product-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: #3a3a3c; }
.product-facts li { padding-top: 11px; border-top: 1px solid var(--line); }
.product-facts strong { display: block; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.product-facts span { display: block; margin-top: 4px; font-weight: 650; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr); gap: 48px; align-items: start; }
.prose-card { border-radius: 28px; background: #fff; border: 1px solid var(--line); padding: 34px; box-shadow: var(--shadow-sm); }
.prose-card + .prose-card { margin-top: 20px; }
.prose-card h2 { margin: 0; font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.15; letter-spacing: -0.035em; }
.prose-card h3 { margin: 26px 0 0; font-size: 1.2rem; }
.prose-card p { margin: 16px 0 0; color: var(--body); }
.point-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 24px; }
.point-card { border-radius: 18px; padding: 20px; background: var(--surface-soft); border: 1px solid var(--line); }
.point-card strong { display: block; font-size: 1rem; }
.point-card p { margin: 8px 0 0; font-size: 0.93rem; }
.toc-list { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.toc-list li { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 14px; align-items: start; border-radius: 16px; padding: 15px 16px; background: var(--surface-soft); border: 1px solid var(--line); }
.toc-list span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #1d1d1f; color: #fff; font-size: 0.78rem; font-weight: 750; }
.toc-list strong { line-height: 1.45; }
.sticky-buy { position: sticky; top: 104px; border-radius: 28px; padding: 28px; background: #1d1d1f; color: #fff; box-shadow: var(--shadow-lg); }
.sticky-buy h2 { margin: 0; font-size: 1.7rem; letter-spacing: -0.03em; }
.sticky-buy p { margin: 12px 0 0; color: #c7c7cc; }
.sticky-buy .action-row { margin-top: 22px; flex-direction: column; }
.sticky-buy .btn { width: 100%; }
.resource-list { margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(255,255,255,0.15); list-style: none; display: grid; gap: 10px; color: #e5e5ea; font-size: 0.92rem; }
.resource-list a { color: #fff; }
.store-footer { background: #1d1d1f; color: #c7c7cc; padding: 34px 0; }
.store-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 0.9rem; }
.store-footer a { color: #fff; text-decoration: none; }
@media (max-width: 980px) {
  .store-nav { display: none; }
  .feature-book, .product-hero__grid, .content-grid { grid-template-columns: 1fr; }
  .feature-book__content { padding: 44px 34px; }
  .product-hero__grid { gap: 38px; }
  .product-cover-stage { min-height: 480px; }
  .path-grid { grid-template-columns: 1fr; }
  .sticky-buy { position: static; }
}
@media (max-width: 700px) {
  :root { --shell: min(100% - 28px, 1380px); }
  .store-hero { padding: 62px 0 52px; }
  .store-filterbar { top: 68px; }
  .store-section { padding: 56px 0; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .feature-book__visual { padding: 42px 28px; }
  .feature-book__content { padding: 36px 26px 40px; }
  .book-shelf { grid-auto-columns: minmax(230px, 82vw); }
  .book-tile__cover { min-height: 360px; }
  .newsletter-panel { grid-template-columns: 1fr; padding: 28px; }
  .product-hero { padding: 48px 0 52px; }
  .product-cover-stage { min-height: 390px; padding: 32px; }
  .product-facts { grid-template-columns: 1fr; }
  .point-grid { grid-template-columns: 1fr; }
  .prose-card { padding: 26px 22px; }
  .store-footer__inner { align-items: flex-start; flex-direction: column; }
}
