/* WUYOU 無憂 一頁式形象網站
   配色/字體/版面照設計參考（見專案根目錄 marketing-site 開發討論）忠實重刻，
   原始參考檔是設計工具匯出的原型（含未解析的樣板語法），這裡是重新手刻的正式版，
   額外補上響應式（原始參考只給桌面寬螢幕的版面）。*/

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: oklch(0.955 0.008 300);
}

body {
  color: oklch(0.44 0.03 295);
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

a { color: oklch(0.55 0.09 300); text-decoration: none; }
a:hover { color: oklch(0.47 0.11 300); }
img { max-width: 100%; }
ul { list-style: none; }

.page {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Header ── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 0 0;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
.brand-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 25px;
  line-height: 1;
  letter-spacing: 0.1em;
  color: oklch(0.5 0.08 300);
}
.brand-zh {
  font-family: 'Noto Serif TC', serif;
  font-size: 15px;
  line-height: 1;
  letter-spacing: calc(0.34em + 1px);
  text-indent: calc(0.34em + 1px);
  color: oklch(0.62 0.05 300);
}
.brand-by {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.brand-by-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: oklch(0.7 0.05 300);
}
.brand-by-mark { display: block; height: 13px; width: auto; opacity: 0.85; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: oklch(0.955 0.008 300);
  box-shadow: inset -3px -3px 7px oklch(1 0 0 / 0.9), inset 4px 4px 9px oklch(0.7 0.03 300 / 0.28);
}
.lang-chip {
  border: 0;
  cursor: pointer;
  padding: 9px 20px;
  border-radius: 999px;
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  background: transparent;
  color: oklch(0.58 0.04 297);
  box-shadow: none;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.lang-chip--active {
  background: linear-gradient(160deg, oklch(0.78 0.1 300), oklch(0.69 0.12 296));
  color: oklch(0.99 0.005 300);
  box-shadow: -2px -2px 5px oklch(1 0 0 / 0.6), 3px 4px 10px oklch(0.62 0.09 297 / 0.35);
}

/* ── Shared section chrome ── */
.section { padding: 148px 0 0; }
.section-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding-bottom: 88px;
}
.section-label {
  margin: 0;
  font-family: 'Noto Serif TC', serif;
  font-size: 16.2px;
  letter-spacing: 0.36em;
  font-weight: 400;
  color: oklch(0.56 0.05 298);
  white-space: nowrap;
}
.section-label--mono { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.28em; }
.rule { flex: 1; height: 1px; background: oklch(0.89 0.015 300); }
.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: oklch(0.66 0.06 300);
}

/* ── Hero ── */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  padding: 104px 0 128px;
}
.hero-copy { display: flex; flex-direction: column; gap: 30px; }
.hero-title {
  margin: 0;
  font-family: 'Noto Serif TC', serif;
  font-size: 52px;
  line-height: 1.5;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: oklch(0.4 0.04 295);
  text-wrap: pretty;
}
.hero-title--en { font-family: 'Cormorant Garamond', serif; font-size: 56px; line-height: 1.35; letter-spacing: normal; }
.hero-lead { margin: 0; max-width: 30em; font-size: 18px; line-height: 2.1; color: oklch(0.56 0.03 295); }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 6px; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 17px 40px;
  border-radius: 999px;
  background: linear-gradient(160deg, oklch(0.76 0.1 300), oklch(0.67 0.13 296));
  color: oklch(0.99 0.005 300) !important;
  font-size: 15px;
  letter-spacing: 0.14em;
  box-shadow: -5px -5px 12px oklch(1 0 0 / 0.8), 8px 10px 22px oklch(0.62 0.09 297 / 0.35);
}
.link-arrow { font-size: 14px; letter-spacing: 0.12em; color: oklch(0.6 0.05 297); }

.hero-portrait { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.hero-portrait-ring {
  position: absolute;
  inset: 14%;
  border-radius: 999px;
  background: oklch(0.955 0.008 300);
  box-shadow: -16px -16px 34px oklch(1 0 0 / 0.9), 18px 20px 44px oklch(0.68 0.03 300 / 0.28);
}
.hero-portrait-img {
  position: relative;
  display: block;
  width: 68%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 999px;
  mask-image: radial-gradient(circle, oklch(0 0 0) 56%, oklch(0 0 0 / 0.55) 74%, transparent 90%);
  -webkit-mask-image: radial-gradient(circle, oklch(0 0 0) 56%, oklch(0 0 0 / 0.55) 74%, transparent 90%);
}

/* ── Four core features ── */
.feature-list { display: flex; flex-direction: column; gap: 132px; }
.feature { display: grid; grid-template-columns: 1fr 0.82fr; gap: 80px; align-items: center; }
.feature--image-first { grid-template-columns: 0.82fr 1fr; }
.feature--image-first .feature-shot { order: -1; }
.feature-copy { display: flex; flex-direction: column; gap: 22px; }
.feature-index { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.2em; color: oklch(0.7 0.1 300); }
.feature-title {
  margin: 0;
  font-family: 'Noto Serif TC', serif;
  font-size: 31px;
  line-height: 1.65;
  font-weight: 400;
  color: oklch(0.41 0.04 295);
}
.feature-title--en { font-family: 'Cormorant Garamond', serif; font-size: 34px; line-height: 1.45; }
.feature-body { margin: 0; font-size: 20px; line-height: 2.15; color: oklch(0.56 0.03 295); text-wrap: pretty; }
.feature-shot { display: block; width: 50%; margin: 0 auto; filter: drop-shadow(8px 12px 30px oklch(0.68 0.04 300 / 0.22)); }

/* ── Advanced / self-healing ── */
.advanced-intro { display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: center; padding-bottom: 76px; }
.advanced-copy { display: flex; flex-direction: column; gap: 28px; }
.advanced-lead {
  margin: 0;
  max-width: 32em;
  font-family: 'Noto Serif TC', serif;
  font-size: 29px;
  line-height: 1.8;
  color: oklch(0.47 0.04 295);
  text-wrap: pretty;
}
.advanced-lead--en { font-family: 'Cormorant Garamond', serif; font-size: 24px; line-height: 1.8; max-width: 34em; margin-bottom: 60px; }
.advanced-sub { margin: 0; max-width: 26em; font-family: 'Noto Serif TC', serif; font-size: 22px; line-height: 2.1; color: oklch(0.58 0.04 297); text-wrap: pretty; }
.advanced-badge { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.advanced-badge-orb {
  position: relative;
  width: 152px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: oklch(0.9 0.045 298);
  box-shadow: -8px -8px 18px oklch(1 0 0 / 0.85), 12px 16px 34px oklch(0.62 0.09 297 / 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.advanced-badge-icon { display: block; width: 66px; height: auto; }
.advanced-badge-label { font-family: 'Noto Sans TC', sans-serif; font-weight: 500; font-size: 18px; letter-spacing: 0.1em; color: oklch(0.45 0.08 297); }
.advanced-badge-note { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.16em; color: oklch(0.7 0.05 300); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(292px, 1fr)); gap: 26px; }
.card {
  padding: 36px 32px;
  border-radius: 28px;
  background: oklch(0.955 0.008 300);
  box-shadow: -9px -9px 20px oklch(1 0 0 / 0.9), 11px 13px 28px oklch(0.7 0.03 300 / 0.24);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card-title { margin: 0; font-family: 'Noto Serif TC', serif; font-size: 20px; font-weight: 500; line-height: 1.6; color: oklch(0.42 0.04 295); }
.card-title--en { font-family: 'Cormorant Garamond', serif; font-size: 23px; font-weight: 400; line-height: 1.5; }
.card-body { margin: 0; font-size: 18px; line-height: 2; color: oklch(0.57 0.03 295); text-wrap: pretty; }

/* ── Thoughtful details ── */
.detail-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 52px;
}
.detail-list li { display: flex; gap: 16px; align-items: flex-start; }
.detail-list .dot { width: 9px; height: 9px; margin-top: 13px; flex: none; border-radius: 999px; background: oklch(0.78 0.1 300); }
.detail-list p { margin: 0; font-size: 17px; line-height: 2; color: oklch(0.53 0.03 295); text-wrap: pretty; }

/* ── Coming soon ── */
.coming-soon {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  padding: 52px 48px;
  border-radius: 34px;
  background: oklch(0.955 0.008 300);
  box-shadow: -12px -12px 26px oklch(1 0 0 / 0.9), 14px 16px 34px oklch(0.7 0.03 300 / 0.24);
}
.coming-soon-copy { display: flex; flex-direction: column; gap: 20px; }
.coming-soon-title { margin: 0; font-family: 'Noto Serif TC', serif; font-size: 29px; line-height: 1.6; font-weight: 400; color: oklch(0.41 0.04 295); }
.coming-soon-title--en { font-family: 'Cormorant Garamond', serif; font-size: 32px; line-height: 1.45; }
.coming-soon-body { margin: 0; max-width: 30em; font-size: 18px; line-height: 2.1; color: oklch(0.56 0.03 295); text-wrap: pretty; }
.coming-soon-orb { position: relative; width: 132px; aspect-ratio: 1; display: grid; place-items: center; }
.coming-soon-orb::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: oklch(0.955 0.008 300);
  box-shadow: inset -5px -5px 12px oklch(1 0 0 / 0.9), inset 6px 7px 16px oklch(0.7 0.03 300 / 0.3);
}
.coming-soon-wave { position: relative; width: 62%; overflow: visible; display: block; }
.breathe-dot { animation: wuyouBreathe 12s ease-in-out infinite; transform-origin: 98px 6px; }
.coming-soon-orb-fill {
  position: relative;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: linear-gradient(160deg, oklch(0.82 0.09 300), oklch(0.72 0.12 296));
  animation: wuyouBreathe 12s ease-in-out infinite;
}
@keyframes wuyouBreathe { 0%, 100% { transform: scale(0.92); opacity: 0.7; } 50% { transform: scale(1.08); opacity: 1; } }

/* ── Download ── */
.download {
  padding: 160px 0 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}
.download-quote {
  margin: 0;
  max-width: 24em;
  font-family: 'Noto Serif TC', serif;
  font-size: 30px;
  line-height: 2.1;
  font-weight: 300;
  color: oklch(0.42 0.04 295);
  text-wrap: pretty;
}
.download-quote--en { font-family: 'Cormorant Garamond', serif; font-size: 34px; line-height: 1.6; max-width: 26em; }
.download-tagline { margin: 0; font-size: 18px; letter-spacing: 0.1em; color: oklch(0.58 0.04 297); }
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 820px;
  padding-top: 26px;
}
.store-card {
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
  padding: 22px 28px;
  border-radius: 24px;
  background: oklch(0.955 0.008 300);
  box-shadow: -8px -8px 18px oklch(1 0 0 / 0.9), 10px 12px 26px oklch(0.7 0.03 300 / 0.26);
}
.store-card--web {
  background: linear-gradient(160deg, oklch(0.78 0.09 300), oklch(0.69 0.12 296));
  box-shadow: -6px -6px 14px oklch(1 0 0 / 0.8), 9px 12px 26px oklch(0.62 0.09 297 / 0.35);
}
.store-icon { display: block; height: 32px; width: auto; flex: none; }
.store-web-icon { width: 36px; flex: none; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.store-web-icon span:first-child { width: 32px; height: 22px; border-radius: 4px; border: 1.5px solid oklch(0.99 0.005 300 / 0.85); }
.store-web-icon span:last-child { width: 20px; height: 2px; border-radius: 2px; background: oklch(0.99 0.005 300 / 0.85); }
.store-text { display: flex; flex-direction: column; gap: 5px; }
.store-name { font-size: 18px; letter-spacing: 0.06em; color: oklch(0.45 0.05 297); }
.store-card--web .store-name { color: oklch(0.99 0.005 300); }
.store-note { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.16em; color: oklch(0.68 0.05 300); }
.store-card--web .store-note { color: oklch(0.97 0.01 300 / 0.85); }

/* ── Footer ── */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 30px 0 56px;
  border-top: 1px solid oklch(0.9 0.015 300);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: oklch(0.68 0.03 300);
}

/* ── Responsive：原始參考只給桌面寬螢幕版面，這裡補上手機/平板收合 ── */
@media (max-width: 760px) {
  .page { padding: 0 20px; }
  .site-header { padding-top: 24px; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 56px 0 72px; text-align: center; }
  .hero-copy { align-items: center; }
  .hero-title { font-size: 34px; }
  .hero-title--en { font-size: 36px; }
  .hero-portrait { max-width: 280px; margin: 0 auto; }
  .hero-actions { justify-content: center; }

  .section { padding-top: 88px; }
  .section-head { padding-bottom: 48px; }

  .feature, .feature--image-first {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  /* 手機版收合成單欄後，桌面版「圖在左/文在右」交錯排版（.feature--image-first 用
     order:-1 把圖片移到前面，.feature--text-first 維持 DOM 原本順序：文字在前）沒有意義，
     兩種文章在單欄下應該長得一樣——統一改成圖片一律在上、文字一律在下，不要一半圖文、
     一半文圖 */
  .feature-shot { order: -1; width: 62%; }
  .feature-title { font-size: 25px; }
  .feature-title--en { font-size: 27px; }
  .feature-body { font-size: 17px; line-height: 1.9; }
  .feature-list { gap: 72px; }

  .advanced-intro { grid-template-columns: 1fr; text-align: center; padding-bottom: 48px; }
  .advanced-copy { align-items: center; }
  .advanced-badge { margin: 0 auto; }

  .detail-list { grid-template-columns: 1fr; }

  .coming-soon { grid-template-columns: 1fr; text-align: center; padding: 36px 24px; }
  .coming-soon-copy { align-items: center; }
  .coming-soon-orb { margin: 0 auto; }

  .download { padding: 96px 0 72px; }
  .download-quote { font-size: 23px; }
  .download-quote--en { font-size: 25px; }

  .site-footer { justify-content: center; text-align: center; padding: 24px 0 40px; }
  .site-footer span:first-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .breathe-dot, .coming-soon-orb-fill { animation: none; }
}
