:root {
  color-scheme: light;
  --ink: #172554;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --paper: #ffffff;
  --base: #f8fafc;
  --indigo: #4f46e5;
  --orange: #f97316;
  --amber: #f59e0b;
  --emerald: #059669;
  --rose: #e11d48;
  --sky: #0284c7;
  --shadow: 0 22px 70px rgba(30, 41, 59, 0.16);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--base);
  color: var(--text);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 64px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(226, 232, 240, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 900;
  color: var(--ink);
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(79, 70, 229, 0.18);
}

.brand span {
  white-space: nowrap;
}

nav {
  display: none;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 0 18px;
  color: white;
  background: #1f2937;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.18);
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 64px 0;
}

.section.narrow {
  width: min(920px, calc(100% - 36px));
}

.section-band {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: max(18px, calc((100% - 1120px) / 2));
  padding-right: max(18px, calc((100% - 1120px) / 2));
}

.warm-band {
  background:
    radial-gradient(circle at 88% 8%, rgba(253, 230, 138, 0.7), transparent 24rem),
    radial-gradient(circle at 8% 95%, rgba(186, 230, 253, 0.72), transparent 18rem),
    linear-gradient(135deg, #fff7ed 0%, #eef2ff 58%, #ecfeff 100%);
}

.blue-band {
  background: linear-gradient(135deg, #eef2ff 0%, #f0f9ff 48%, #ecfeff 100%);
}

.green-band {
  background: linear-gradient(135deg, #ecfdf5 0%, #fff7ed 100%);
}

.faq-band {
  background: linear-gradient(135deg, #fff1f2 0%, #f8fafc 48%, #eef2ff 100%);
}

.hero {
  display: grid;
  gap: 18px;
  padding-top: 26px;
  padding-bottom: 30px;
  overflow: hidden;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  margin: 0 0 16px;
  padding: 6px 13px;
  border: 1px solid rgba(249, 115, 22, 0.22);
  border-radius: 999px;
  background: rgba(255, 237, 213, 0.76);
  color: #9a3412;
  font-size: 0.86rem;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

.line {
  display: block;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.25rem, 9vw, 4rem);
  line-height: 1.08;
  font-weight: 900;
}

h2 {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: clamp(1.68rem, 7vw, 2.65rem);
  line-height: 1.2;
  font-weight: 900;
  text-wrap: balance;
}

h3 {
  margin: 0;
  color: #1e293b;
  font-size: 1.2rem;
  line-height: 1.25;
  font-weight: 900;
}

.hero-lede {
  margin: 18px 0 0;
  max-width: 37rem;
  color: #475569;
  font-size: 1.08rem;
  font-weight: 700;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  border-radius: 999px;
  padding: 10px 22px 10px 14px;
  background: #1f2937;
  color: white;
  font-size: 1.04rem;
  font-weight: 900;
  line-height: 1.08;
  box-shadow: 0 16px 34px rgba(31, 41, 55, 0.22);
}

.store-button small {
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.76rem;
  font-weight: 700;
}

.store-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: white;
  color: #1f2937;
  font-size: 0.78rem;
  font-weight: 900;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  border: 1px solid rgba(79, 70, 229, 0.16);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.72);
  color: #4338ca;
  font-size: 0.8rem;
  font-weight: 900;
}

.hero-visual {
  position: relative;
  display: grid;
  justify-items: center;
  align-items: start;
  min-height: 260px;
}

.phone-frame {
  width: min(54vw, 190px);
  height: 260px;
  border: 12px solid #111827;
  border-radius: 42px;
  background: #111827;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-frame img,
.feature-row img {
  aspect-ratio: 1290 / 2796;
  object-fit: cover;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-position: top;
}

.floating-chip {
  position: absolute;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.92);
  color: #334155;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(30, 41, 59, 0.13);
}

.chip-one {
  top: 38px;
  left: 2px;
}

.chip-two {
  right: 0;
  bottom: 42px;
  color: #9a3412;
}

.zhuyin-float {
  position: absolute;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  background: white;
  color: var(--indigo);
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(30, 41, 59, 0.16);
}

.tile-zhi {
  top: 90px;
  left: 22px;
  transform: rotate(-9deg);
}

.tile-zi {
  top: 180px;
  left: -4px;
  color: var(--emerald);
  transform: rotate(7deg);
}

.tile-en {
  right: 22px;
  top: 120px;
  color: var(--orange);
  transform: rotate(8deg);
}

.tile-eng {
  right: 0;
  bottom: 152px;
  color: var(--rose);
  transform: rotate(-7deg);
}

.hint-flow-card,
.hero-qr-card {
  display: none;
}

.pain-list,
.promise-grid,
.comparison-grid,
.difference-grid,
.plan-grid,
.trust-grid {
  display: grid;
  gap: 14px;
}

.pain-list article,
.promise-grid article,
.compare-card,
.difference-grid article,
.plan,
details {
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 24px;
  background: white;
  box-shadow: 0 16px 36px rgba(30, 41, 59, 0.08);
}

.pain-list article {
  padding: 22px;
}

.pain-list p,
.promise-grid p,
.compare-card li,
.difference-grid p,
.feature-copy p,
.plan li,
.founder-copy p,
details p,
.final-cta p {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}

.pain-list p,
.promise-grid p,
.difference-grid p,
.feature-copy p {
  margin: 8px 0 0;
}

.comparison-section h2 {
  max-width: 46rem;
}

.comparison-grid {
  gap: 18px;
}

.compare-card {
  padding: 24px;
}

.compare-card h3 {
  margin-bottom: 16px;
}

.compare-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.15rem;
}

.muted-card {
  background: linear-gradient(135deg, #f8fafc, #ffffff);
}

.muted-card h3 {
  color: #64748b;
}

.focus-card {
  border-color: rgba(249, 115, 22, 0.28);
  background: linear-gradient(135deg, #fff7ed, #ffffff);
  box-shadow: 0 22px 48px rgba(249, 115, 22, 0.13);
}

.focus-card h3 {
  color: #9a3412;
}

.zhuyin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: #dcfce7;
  color: #047857;
  font-size: 1.7rem;
  font-weight: 900;
}

.zhuyin-badge.orange {
  background: #ffedd5;
  color: #c2410c;
}

.zhuyin-badge.rose {
  background: #ffe4e6;
  color: #be123c;
}

.promise-grid article {
  padding: 24px;
}

.promise-grid strong,
.difference-grid strong {
  display: block;
  color: var(--ink);
  font-size: 1.28rem;
  font-weight: 900;
}

.difference-grid article {
  position: relative;
  overflow: hidden;
  padding: 26px;
}

.difference-grid article::after {
  position: absolute;
  right: -24px;
  bottom: -36px;
  color: rgba(79, 70, 229, 0.06);
  font-size: 8rem;
  font-weight: 900;
  content: "ㄅ";
}

.difference-grid article:nth-child(2)::after {
  color: rgba(249, 115, 22, 0.08);
  content: "ㄣ";
}

.difference-grid article:nth-child(3)::after {
  color: rgba(225, 29, 72, 0.07);
  content: "ㄅ";
}

.difference-grid article:nth-child(4)::after {
  color: rgba(5, 150, 105, 0.07);
  content: "★";
}

.diff-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border-radius: 18px;
  background: #eef2ff;
  color: var(--indigo);
  font-size: 1.8rem;
  font-weight: 900;
}

.difference-grid article:nth-child(2) .diff-icon {
  background: #ffedd5;
  color: #c2410c;
}

.difference-grid article:nth-child(3) .diff-icon {
  background: #fff1f2;
  color: #be123c;
}

.difference-grid article:nth-child(4) .diff-icon {
  background: #dcfce7;
  color: #047857;
}

.difference-grid strong,
.difference-grid p {
  position: relative;
  z-index: 1;
}

.feature-stack {
  display: grid;
  gap: 20px;
}

.feature-row {
  display: grid;
  gap: 22px;
  align-items: center;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 28px;
  padding: 20px;
  background: white;
  box-shadow: 0 16px 42px rgba(30, 41, 59, 0.08);
}

.feature-copy span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--orange);
  font-weight: 900;
}

.feature-row img {
  width: min(100%, 310px);
  justify-self: center;
  border-radius: 34px;
  box-shadow: 0 18px 48px rgba(30, 41, 59, 0.18);
}

.plan {
  padding: 24px;
}

.plan h3 {
  margin-bottom: 14px;
}

.plan ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.plan.premium {
  border-color: rgba(245, 158, 11, 0.38);
  background: linear-gradient(135deg, #fffbeb, white);
}

.trust-grid {
  grid-template-columns: 1fr;
}

.trust-grid span {
  display: flex;
  align-items: center;
  min-height: 58px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  padding: 14px 16px;
  background: white;
  color: #1e293b;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(30, 41, 59, 0.06);
}

.founder {
  width: min(880px, calc(100% - 36px));
}

.founder-copy {
  border-left: 6px solid var(--orange);
  border-radius: 22px;
  padding: 22px;
  background: white;
  box-shadow: 0 16px 38px rgba(30, 41, 59, 0.08);
}

.founder-copy p {
  max-width: 44rem;
  margin: 0;
  color: #475569;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.88;
}

.founder-copy p + p {
  margin-top: 14px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  padding: 0;
  overflow: hidden;
}

summary {
  min-height: 58px;
  padding: 17px 20px;
  cursor: pointer;
  color: #1e293b;
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
}

.final-cta {
  display: grid;
  justify-items: start;
  gap: 16px;
  text-align: left;
}

.final-cta p {
  max-width: 42rem;
  margin: 0;
}

.download-actions {
  display: grid;
  gap: 16px;
  align-items: center;
}

.qr-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  max-width: 430px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 22px;
  padding: 14px;
  background: white;
  box-shadow: 0 16px 36px rgba(30, 41, 59, 0.08);
}

.qr-card img {
  width: 104px;
  height: 104px;
  border-radius: 12px;
}

.qr-card strong {
  display: block;
  color: var(--ink);
  font-weight: 900;
}

.qr-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.55;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  padding: 28px 18px 38px;
  border-top: 1px solid rgba(226, 232, 240, 0.86);
  background: white;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-footer a:hover,
.site-header a:hover {
  color: var(--indigo);
}

@media (min-width: 720px) {
  .section {
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.82fr);
    align-items: center;
    gap: 42px;
    padding-top: 42px;
    padding-bottom: 46px;
  }

  .hero-copy {
    padding-top: 28px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .phone-frame {
    width: min(28vw, 300px);
    height: auto;
  }

  .hero-points {
    display: flex;
  }

  .pain-list,
  .promise-grid,
  .comparison-grid,
  .difference-grid,
  .plan-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .comparison-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }

  .zhuyin-float,
  .hint-flow-card,
  .hero-qr-card {
    display: flex;
  }

  .hint-flow-card {
    position: absolute;
    z-index: 3;
    left: 0;
    bottom: 28px;
    flex-direction: column;
    gap: 10px;
    width: 190px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 22px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 42px rgba(30, 41, 59, 0.14);
  }

  .hint-flow-card strong {
    color: var(--ink);
    font-weight: 900;
  }

  .hint-flow-card ol {
    display: grid;
    gap: 6px;
    margin: 0;
    padding-left: 1.2rem;
    color: #475569;
    font-size: 0.9rem;
    font-weight: 800;
  }

  .hero-qr-card {
    position: absolute;
    z-index: 3;
    right: 4px;
    bottom: 10px;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 22px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.95);
    color: #334155;
    font-size: 0.8rem;
    font-weight: 900;
    box-shadow: 0 18px 42px rgba(30, 41, 59, 0.14);
  }

  .hero-qr-card img {
    width: 86px;
    height: 86px;
    border-radius: 10px;
  }

  .plan-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .download-actions {
    grid-template-columns: auto minmax(280px, 430px);
  }

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

  .feature-row {
    grid-template-columns: minmax(0, 1fr) 270px;
    padding: 28px 34px;
  }

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

  .feature-row.flip .feature-copy {
    order: 2;
  }

  .feature-row.flip img {
    order: 1;
  }
}

@media (min-width: 960px) {
  .site-header {
    padding-left: max(28px, calc((100% - 1180px) / 2));
    padding-right: max(28px, calc((100% - 1180px) / 2));
  }

  nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: #475569;
    font-weight: 900;
  }

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

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

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
