:root {
  --emerald: #0d4f3c;
  --emerald-deep: #072c22;
  --emerald-mid: #14664f;
  --emerald-soft: #1f7a61;
  --gold: #c9a86c;
  --gold-light: #e8d5a3;
  --gold-deep: #a58445;
  --ivory: #f7f3ec;
  --cream: #efe8dc;
  --white: #fff;
  --ink: #161616;
  --muted: #5a5a5a;
  --line: rgba(201, 168, 108, 0.38);
  --shadow: 0 18px 50px rgba(7, 44, 34, 0.14);
  --radius: 22px;
  --header-h: 76px;
  --font-serif: "Noto Serif TC", "Songti TC", serif;
  --font-sans: "Noto Sans TC", "PingFang HK", "Microsoft JhengHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 0.6em;
}

p { margin: 0 0 1em; }

.container {
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--gold);
  color: var(--emerald-deep);
  padding: 8px 14px;
  z-index: 100;
}

.skip-link:focus { left: 12px; }

.eyebrow {
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  color: var(--gold-deep);
  text-transform: none;
  margin-bottom: 12px;
  font-weight: 500;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
}

.section {
  padding: 88px 0;
  position: relative;
}

.section-head {
  margin-bottom: 48px;
  max-width: 640px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2,
.split-copy h2,
.contact-copy h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  color: var(--emerald);
}

.section-head.light h2 { color: var(--ivory); }
.section-head.light .eyebrow { color: var(--gold-light); }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  background: linear-gradient(180deg, rgba(7, 44, 34, 0.62), transparent);
  transition: background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}

.site-header.scrolled {
  background: rgba(7, 44, 34, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold);
}

.brand strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.brand small {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  opacity: 0.78;
  font-weight: 400;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

.site-nav a:hover { color: var(--gold-light); }
.site-nav a:hover::after { width: 100%; }

.nav-wa {
  background: var(--gold);
  color: var(--emerald-deep) !important;
  padding: 8px 16px !important;
  border-radius: 999px;
  font-weight: 600;
}

.nav-wa::after { display: none; }
.nav-wa:hover { filter: brightness(1.08); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(201, 168, 108, 0.45);
  background: transparent;
  border-radius: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--gold-light);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: end stretch;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 22s ease-out alternate infinite;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 44, 34, 0.55) 0%, rgba(7, 44, 34, 0.28) 38%, rgba(7, 44, 34, 0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 0 110px;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.hero-sub {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  color: var(--gold-light);
  margin-bottom: 10px;
}

.hero-pillars {
  letter-spacing: 0.42em;
  font-size: 0.95rem;
  opacity: 0.92;
}

.hero-tag {
  margin-top: 18px;
  font-size: 1.05rem;
  max-width: 28em;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: linear-gradient(180deg, #e8d5a3, #c9a86c);
  color: var(--emerald-deep);
  box-shadow: 0 10px 24px rgba(201, 168, 108, 0.28);
}

.btn-ghost {
  border: 1px solid rgba(232, 213, 163, 0.7);
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold-light);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.scroll-hint::after {
  content: "";
  width: 1px;
  height: 32px;
  background: var(--gold);
  animation: drip 1.8s ease-in-out infinite;
}

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

@keyframes drip {
  0%, 100% { transform: scaleY(0.4); opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Trust */
.trust-bar {
  background: var(--emerald);
  color: var(--ivory);
  padding: 28px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}

.trust-grid strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--gold-light);
}

.trust-grid span {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* Pain */
.pain { background: var(--white); }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.gold-quote {
  margin: 24px 0;
  padding: 22px 24px;
  border-left: 3px solid var(--gold);
  background: linear-gradient(90deg, rgba(13, 79, 60, 0.06), transparent);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--emerald);
  line-height: 1.8;
}

.highlight-line {
  font-size: 1.15rem;
}

.highlight-line em {
  font-style: normal;
  color: var(--emerald);
  font-weight: 700;
  box-shadow: inset 0 -0.45em 0 rgba(201, 168, 108, 0.35);
}

.split-media {
  position: relative;
  min-height: 460px;
}

.frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--cream);
}

.frame img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.frame figcaption,
.gallery figcaption,
.storefront figcaption,
.qr-card figcaption,
.proof-visuals figcaption {
  padding: 12px 16px 16px;
  font-size: 0.88rem;
  color: var(--muted);
}

.frame-offset {
  position: absolute;
  width: 58%;
  right: -8%;
  bottom: -24px;
}

.frame-offset img { height: 210px; }

/* Tech */
.tech { background: var(--ivory); }

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.tech-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s, box-shadow 0.35s;
}

.tech-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(7, 44, 34, 0.18);
}

.tech-img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.tech-body { padding: 28px; }

.step-no {
  color: var(--gold-deep);
  letter-spacing: 0.18em;
  font-size: 0.78rem;
}

.tech-body h3 {
  color: var(--emerald);
  font-size: 1.45rem;
  margin-top: 6px;
}

.tech-body ul {
  padding-left: 1.1em;
  color: var(--muted);
}

.tech-note {
  text-align: center;
  margin-top: 36px;
  color: var(--emerald);
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

/* Steps */
.steps { background: var(--white); }

.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 28px;
}

.step-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius);
  transition: background 0.3s;
}

.step-item:hover { background: var(--ivory); }

.step-visual {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}

.step-visual img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.step-visual span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--gold-light);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

.step-item h3 { color: var(--emerald); margin-bottom: 8px; }
.step-item p { margin: 0; color: var(--muted); }

/* Benefits */
.benefits {
  background: var(--emerald-deep);
  color: var(--ivory);
  overflow: hidden;
}

.benefits-bg {
  position: absolute;
  inset: 0;
  opacity: 0.18;
}

.benefits-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 168, 108, 0.28);
  border-radius: 18px;
  padding: 28px 22px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}

.benefit-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
}

.benefit-icon {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 1.2rem;
  display: block;
  margin-bottom: 14px;
}

.benefit-card h3 {
  font-size: 1.2rem;
  color: var(--gold-light);
}

.benefit-card p {
  margin: 0;
  color: rgba(247, 243, 236, 0.82);
  font-size: 0.95rem;
}

/* Proof */
.proof { background: var(--ivory); }

.testimonial {
  max-width: 820px;
  margin: 0 auto 36px;
  padding: 36px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.testimonial p {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: var(--emerald);
  line-height: 1.9;
}

.testimonial cite {
  color: var(--gold-deep);
  font-style: normal;
  font-size: 0.9rem;
}

.strike-line {
  text-align: center;
  font-size: 1.2rem;
  color: var(--emerald);
  margin: 8px 0 48px;
}

.cases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 42px;
}

.case-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.case-card h3 { color: var(--emerald); }

.timeline {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}

.timeline li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}

.timeline span {
  color: var(--gold-deep);
  font-weight: 600;
}

.proof-visuals {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.proof-visuals figure,
.authority {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.proof-visuals img { width: 100%; }

.authority {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  padding: 24px;
  align-items: center;
}

.authority img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--gold);
  margin: 0 auto;
}

.authority h3 { color: var(--emerald); font-size: 1.35rem; }

.ppm-list {
  padding-left: 1.1em;
  color: var(--muted);
}

.ppm-note {
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 0;
}

/* Packages */
.packages { background: var(--white); }

.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pkg-card {
  background: var(--ivory);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid transparent;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
}

.pkg-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.pkg-card.featured {
  background: var(--emerald);
  color: var(--ivory);
}

.pkg-card.featured h3 { color: var(--gold-light); }

.pkg-times {
  font-family: var(--font-serif);
  font-size: 4.2rem;
  line-height: 1;
  color: var(--emerald);
  margin: 0 0 8px;
  font-weight: 700;
}

.pkg-card.featured .pkg-times { color: var(--gold-light); }

.pkg-times span {
  font-size: 1.2rem;
  margin-left: 4px;
}

.pkg-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: var(--emerald-deep);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  margin: 0;
  font-weight: 600;
}

.issues {
  margin-top: 48px;
  text-align: center;
}

.issues h3 { color: var(--emerald); }

.issues ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.issues li {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--emerald);
  background: var(--ivory);
  transition: background 0.25s, color 0.25s;
}

.issues li:hover {
  background: var(--emerald);
  color: var(--gold-light);
}

.gallery {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery figure {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ivory);
  box-shadow: var(--shadow);
}

.gallery img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  transition: transform 0.6s;
}

.gallery figure:hover img { transform: scale(1.05); }

/* Contact */
.contact { background: var(--emerald-deep); color: var(--ivory); }

.contact .eyebrow { color: var(--gold-light); }
.contact h2 { color: var(--ivory); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.brand-en {
  opacity: 0.7;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.shop-name {
  font-size: 1.8rem;
  color: var(--gold-light);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 28px 0;
}

.contact-list li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(201, 168, 108, 0.2);
}

.contact-list span { color: var(--gold); }

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.25s, filter 0.25s;
}

.social:hover { transform: translateY(-2px); filter: brightness(1.08); }

.social.wa { background: #25d366; color: #08382b; }
.social.fb { background: #1877f2; color: #fff; }
.social.ig {
  background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
  color: #fff;
}

.contact-media {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 16px;
}

.storefront,
.qr-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 108, 0.22);
}

.storefront img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.qr-card img {
  width: 100%;
  height: auto;
  background: #fff;
}

.storefront figcaption,
.qr-card figcaption { color: rgba(247, 243, 236, 0.78); }

/* Footer */
.site-footer {
  background: #041c16;
  color: rgba(247, 243, 236, 0.8);
  padding: 36px 0 28px;
}

.footer-inner {
  display: grid;
  gap: 18px;
  text-align: center;
  justify-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold);
}

.footer-brand strong {
  display: block;
  color: var(--gold-light);
  font-family: var(--font-serif);
}

.footer-brand p { margin: 0; font-size: 0.8rem; opacity: 0.7; }

.footer-socials {
  display: flex;
  gap: 18px;
}

.footer-socials a:hover { color: var(--gold-light); }

.copyright {
  font-size: 0.82rem;
  margin: 0;
  opacity: 0.7;
}

/* Floating WhatsApp */
.float-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  z-index: 60;
  animation: pulse 2.4s ease-in-out infinite;
}

.float-wa:hover { transform: scale(1.06); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
}

/* Reveal */
.reveal {
  animation: fadeup 0.9s ease both;
}

.hero-content .reveal:nth-child(1) { animation-delay: 0.1s; }
.hero-content .reveal:nth-child(2) { animation-delay: 0.22s; }
.hero-content .reveal:nth-child(3) { animation-delay: 0.34s; }
.hero-content .reveal:nth-child(4) { animation-delay: 0.46s; }
.hero-content .reveal:nth-child(5) { animation-delay: 0.58s; }
.hero-content .reveal:nth-child(6) { animation-delay: 0.7s; }

@keyframes fadeup {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.in-view {
  animation: fadeup 0.8s ease both;
}

/* Mobile */
@media (max-width: 980px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    width: min(320px, 86vw);
    height: calc(100svh - var(--header-h));
    background: rgba(7, 44, 34, 0.97);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    gap: 16px;
    transform: translateX(110%);
    transition: transform 0.35s ease;
  }

  .site-nav.open { transform: none; }

  .trust-grid,
  .tech-grid,
  .benefit-grid,
  .cases,
  .pkg-grid,
  .gallery,
  .split,
  .contact-grid,
  .contact-media,
  .proof-visuals,
  .step-item,
  .authority {
    grid-template-columns: 1fr;
  }

  .split-media { min-height: auto; }
  .frame-offset { position: relative; width: 86%; right: auto; bottom: auto; margin: -48px 0 0 auto; }
  .authority img { width: 140px; height: 140px; }
  .hero-content { padding-bottom: 92px; }
  .section { padding: 64px 0; }
  .gallery img { height: 280px; }
}

@media (max-width: 640px) {
  .brand small { display: none; }
  .hero h1 { letter-spacing: 0.04em; }
  .hero-pillars { letter-spacing: 0.18em; }
  .frame-offset { display: none; }
  .testimonial { padding: 24px 18px; }
  .pkg-times { font-size: 3.4rem; }
  .float-wa { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img,
  .reveal,
  .float-wa,
  .scroll-hint::after { animation: none; }
}
