/* 基本設定 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui,
    "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  color: #2c1b18;
  background-color: #fffaf6;
}

body.privacy-body {
  background-color: #fff7f0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* 色彩 */
:root {
  --orange: #ff8b3d;
  --orange-soft: #ffe0c7;
  --orange-light: #fff0e3;
  --brown: #3f2722;
  --text-muted: #8b7067;
  --bg-soft: #fff6ee;
  --border-soft: #f2d6c2;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: linear-gradient(
      to bottom,
      rgba(255, 250, 246, 0.9),
      rgba(255, 250, 246, 0.6)
    );
  border-bottom: 1px solid rgba(242, 214, 194, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.logo-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

/* 按鈕 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease-out;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #ff9b46, #ff7a3a);
  color: #fff;
  box-shadow: 0 12px 25px rgba(255, 137, 63, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(255, 137, 63, 0.4);
}

.btn-outline {
  border-color: rgba(255, 139, 61, 0.6);
  color: var(--orange);
  background-color: rgba(255, 250, 246, 0.8);
}

.btn-outline:hover {
  background-color: rgba(255, 139, 61, 0.08);
}

.btn-light {
  background-color: #fff;
  color: var(--orange);
  border-color: rgba(255, 139, 61, 0.2);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.btn-light:hover {
  background-color: #fff7f0;
}

/* Hero 區塊 */
.hero {
  padding: 64px 0 40px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 40px;
}

.hero-kicker {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.hero h1 {
  font-size: 40px;
  line-height: 1.15;
  margin: 0 0 14px;
}

.hero-desc {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card-stack {
  position: relative;
  width: min(320px, 80vw);
  aspect-ratio: 3 / 5.5;
}

.hero-card {
  position: absolute;
  inset: 0;
  border-radius: 26px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
  object-fit: cover;
}

.hero-card-back {
  transform: translate(-18px, 14px) rotate(-7deg);
  filter: brightness(0.96);
}

.hero-card-front {
  transform: translate(18px, -10px) rotate(6deg);
}

/* 一般區塊 */
.section {
  padding: 40px 0;
}

.section-soft {
  background: radial-gradient(
      circle at top left,
      rgba(255, 188, 129, 0.23),
      transparent 60%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(255, 211, 173, 0.25),
      transparent 55%
    ),
    var(--bg-soft);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 28px;
}

.section-header h2 {
  margin: 0 0 10px;
  font-size: 26px;
}

.section-header p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-preview .section-header {
  text-align: right;
  margin: 0 0 28px 0;
}

.section-dev .section-header {
  text-align: left;
  margin: 0 0 28px;
}

.dev-contact {
  max-width: 640px;
  margin: 0;
  text-align: left;
}

.dev-contact p {
  font-size: 14px;
  color: var(--brown);
  margin: 0 0 14px;
}

/* 功能區塊 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  background-color: #fffdf9;
  border-radius: 18px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(242, 214, 194, 0.9);
  box-shadow: 0 14px 32px rgba(217, 176, 148, 0.18);
}

.feature-card h3 {
  font-size: 16px;
  margin: 0 0 8px;
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 預覽區塊 */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.preview-item {
  background-color: transparent;
  border-radius: 0;
  padding: 0;
  border: none;
  box-shadow: none;
}

.preview-item img {
  border-radius: 18px;
}

.preview-item figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

/* 資訊區塊 */
.info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: flex-start;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(191, 151, 126, 0.35);
  font-size: 14px;
}

.info-list li span:first-child {
  color: var(--text-muted);
}

.info-copy,
.info-copy-note {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

.info-copy-note {
  margin-top: 10px;
}

.info-copy-note a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* CTA 區塊 */
.cta {
  background: linear-gradient(
      135deg,
      rgba(207, 225, 255, 0.2),
      rgba(232, 240, 255, 0.95)
    ),
    #f4f7ff;
  border-top: 1px solid rgba(143, 170, 210, 0.4);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-inner h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.cta-inner p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  max-width: 460px;
  line-height: 1.7;
}

/* Footer */
.site-footer {
  padding: 14px 0 20px;
  background-color: #fff7f0;
  border-top: 1px solid rgba(242, 214, 194, 0.9);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-inner a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* 隱私權頁面 */
.privacy-main {
  padding-top: 40px;
}

.privacy-content {
  max-width: 760px;
}

.privacy-content h1 {
  font-size: 28px;
  margin: 0 0 10px;
}

.privacy-content h2 {
  font-size: 20px;
  margin-top: 26px;
  margin-bottom: 10px;
}

.privacy-content h3 {
  font-size: 17px;
  margin-top: 22px;
  margin-bottom: 8px;
}

.privacy-content p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--brown);
}

.privacy-content ul {
  padding-left: 1.2em;
}

.privacy-content li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--brown);
}

.privacy-lead {
  color: var(--text-muted);
}

.privacy-content hr {
  border: none;
  border-top: 1px dashed rgba(191, 151, 126, 0.4);
  margin: 22px 0;
}

.privacy-content a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* RWD */
@media (max-width: 920px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .hero {
    text-align: left;
  }

  .section-header {
    text-align: left;
  }

  .section-preview .section-header {
    text-align: left;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preview-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .info-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .header-inner {
    gap: 10px;
  }

  .btn {
    padding-inline: 16px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .info-list li {
    flex-direction: column;
    align-items: flex-start;
  }
}


