/* ===== 設計變數（欣究好品牌色） ===== */
:root {
  --gold-1: #b18b4b;
  --gold-2: #d4a85f;
  --gold-3: #f3d99c;
  --pink-1: #f9e7e3;
  --pink-2: #f5d6cf;
  --cream-1: #fdf8ec;
  --cream-2: #f8eed4;
  --ink-1: #2a2118;
  --ink-2: #5a4e3f;
  --ink-3: #8a7c6b;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(120, 90, 50, 0.08);
  --shadow-md: 0 6px 24px rgba(120, 90, 50, 0.14);
  --shadow-lg: 0 12px 40px rgba(120, 90, 50, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'PingFang TC', sans-serif;
  color: var(--ink-1);
  line-height: 1.6;
  background: var(--cream-1);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; cursor: pointer; font-family: inherit; }

/* ===== Hero ===== */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at top right, rgba(244, 215, 175, 0.5), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(249, 231, 227, 0.6), transparent 50%),
    linear-gradient(180deg, var(--cream-1) 0%, var(--pink-1) 100%);
  padding: 40px 20px 56px;
  overflow: hidden;
}

.hero-inner { max-width: 540px; margin: 0 auto; text-align: center; }

.hero-logo {
  width: 140px;
  height: auto;
  margin: 0 auto 20px;
  filter: drop-shadow(0 2px 6px rgba(177, 139, 75, 0.18));
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--gold-1);
  font-weight: 500;
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Noto Serif TC', serif;
  font-weight: 900;
  font-size: clamp(40px, 11vw, 60px);
  line-height: 1.18;
  color: var(--ink-1);
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}

.hi-line { display: block; }
.hi-x {
  display: block;
  font-size: 0.55em;
  color: var(--gold-1);
  margin: 6px 0;
  font-weight: 500;
}

.hero-sub {
  font-size: clamp(17px, 4.6vw, 20px);
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-poweredby {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 14px auto 22px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(31, 122, 53, 0.18);
  border-radius: 999px;
  padding: 10px 18px;
  width: fit-content;
  max-width: 90%;
  box-shadow: var(--shadow-sm);
}

.hero-poweredby .pb-label {
  font-size: 13px;
  color: #1f5e2c;
  font-weight: 500;
  white-space: nowrap;
}

.hero-poweredby .pb-tongxin {
  height: 36px;
  width: auto;
  flex-shrink: 0;
}

.hero-badges {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0 auto 32px;
  max-width: 480px;
}

.hero-badges li {
  background: var(--white);
  border-radius: 12px;
  padding: 12px 4px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(177, 139, 75, 0.12);
}

.hero-badges strong {
  display: block;
  font-family: 'Noto Serif TC', serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--gold-1);
  line-height: 1.2;
}

.hero-badges span {
  display: block;
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 4px;
}

.hero-foot {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-3);
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold-1) 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(177, 139, 75, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
  letter-spacing: 0.02em;
  text-align: center;
  width: 100%;
  max-width: 360px;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(177, 139, 75, 0.45); }
.btn-primary:active { transform: translateY(0); }

.btn-hero { font-size: 17px; padding: 18px 32px; }
.btn-large { font-size: 17px; padding: 20px 32px; }

/* ===== 倒數 ===== */
.countdown {
  background: linear-gradient(135deg, #fff 0%, var(--cream-2) 100%);
  padding: 28px 20px;
  text-align: center;
  border-top: 1px solid rgba(177, 139, 75, 0.12);
  border-bottom: 1px solid rgba(177, 139, 75, 0.12);
}

.cd-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 14px;
}

.cd-box {
  background: linear-gradient(180deg, var(--ink-1) 0%, #443628 100%);
  color: var(--gold-3);
  border-radius: 12px;
  padding: 12px 14px;
  min-width: 60px;
  box-shadow: var(--shadow-md);
}

.cd-num {
  display: block;
  font-family: 'Noto Serif TC', serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.cd-label {
  display: block;
  font-size: 11px;
  margin-top: 4px;
  opacity: 0.85;
}

.cd-event {
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.cd-spots {
  font-size: 13px;
  color: var(--gold-1);
  font-weight: 500;
}

.cd-spots strong { font-size: 17px; font-weight: 700; }

/* ===== Block 通用 ===== */
.block {
  padding: 56px 20px;
}

.block-light { background: var(--cream-1); }
.block-cream { background: linear-gradient(180deg, #fff 0%, var(--cream-2) 100%); }

.block-title {
  font-family: 'Noto Serif TC', serif;
  font-weight: 900;
  font-size: clamp(24px, 6vw, 30px);
  text-align: center;
  color: var(--ink-1);
  line-height: 1.35;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.block-sub {
  text-align: center;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 32px;
}

/* ===== 適合對象 ===== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 540px;
  margin: 0 auto;
}

.aud-card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(177, 139, 75, 0.1);
}

.aud-emoji { font-size: 36px; display: block; margin-bottom: 10px; }
.aud-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-1);
  margin-bottom: 6px;
}
.aud-card p { font-size: 13px; color: var(--ink-3); line-height: 1.5; }

/* ===== 議程 ===== */
.agenda-list {
  list-style: none;
  max-width: 540px;
  margin: 0 auto 28px;
}

.agenda-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold-2);
}

.ag-num {
  font-family: 'Noto Serif TC', serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--gold-1);
  line-height: 1;
  min-width: 44px;
}

.agenda-list h3 {
  font-size: 17px;
  margin-bottom: 4px;
  color: var(--ink-1);
}

.agenda-list p {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.65;
}

.venue-card {
  background: linear-gradient(135deg, var(--ink-1) 0%, #443628 100%);
  color: var(--white);
  border-radius: 16px;
  padding: 24px 20px;
  margin: 32px auto;
  max-width: 540px;
  box-shadow: var(--shadow-md);
}

.venue-card h3 {
  font-size: 17px;
  color: var(--gold-3);
  margin-bottom: 14px;
  text-align: center;
}

.venue-card ul { list-style: none; }
.venue-card li {
  display: flex;
  gap: 12px;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(243, 217, 156, 0.2);
}

.venue-card li:last-child { border-bottom: none; }
.venue-card li span {
  color: var(--gold-3);
  font-weight: 500;
  min-width: 44px;
}

.block-cream .btn-primary { display: block; margin: 0 auto; }

/* ===== 歷屆花絮 Gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  max-width: 540px;
  margin: 0 auto 16px;
}

.g-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: var(--cream-2);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 5;
}

.g-item.g-large {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
}

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.g-item:hover img { transform: scale(1.04); }

.gallery-foot {
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 10px;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
    gap: 12px;
  }
  .g-item.g-large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
  }
}

/* ===== 背書卡片 ===== */
.endorse-card {
  background: var(--white);
  border-radius: 20px;
  padding: 28px 22px;
  margin: 0 auto 16px;
  max-width: 540px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(177, 139, 75, 0.15);
}

.endorse-cream { background: linear-gradient(135deg, #fff 0%, var(--cream-2) 100%); }

.endorse-head { text-align: center; margin-bottom: 18px; }

.endorse-tag {
  display: inline-block;
  background: var(--gold-1);
  color: var(--white);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.endorse-logo {
  display: block;
  height: 80px;
  width: auto;
  margin: 4px auto 8px;
}

.endorse-card h3 {
  font-family: 'Noto Serif TC', serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--ink-1);
  margin-bottom: 4px;
}

.endorse-tagline {
  font-size: 14px;
  color: var(--gold-1);
  font-weight: 500;
}

.endorse-list { list-style: none; }
.endorse-list li {
  font-size: 14.5px;
  color: var(--ink-2);
  padding: 8px 0;
  border-bottom: 1px dashed rgba(177, 139, 75, 0.15);
  line-height: 1.7;
}

.endorse-list li:last-child { border-bottom: none; }

/* ===== 產品 ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 540px;
  margin: 0 auto;
}

.product-card {
  background: var(--white);
  border-radius: 16px;
  padding: 18px 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(177, 139, 75, 0.1);
  position: relative;
}

.product-feature {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--cream-2) 0%, #fff 100%);
  border: 2px solid var(--gold-2);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-feature .prod-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--cream-1);
}

.product-feature .prod-body {
  padding: 18px 18px 22px;
}

.product-family {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 540px;
  margin: 0 auto 24px;
}

.product-family img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(177, 139, 75, 0.1);
}

@media (min-width: 768px) {
  .product-family { grid-template-columns: 1fr 1fr; max-width: 900px; }
  .product-feature { flex-direction: row; }
  .product-feature .prod-img { width: 280px; height: auto; flex-shrink: 0; }
  .product-feature .prod-body { padding: 22px 24px; flex: 1; }
}

.prod-flag {
  display: inline-block;
  background: var(--gold-1);
  color: var(--white);
  font-size: 11.5px;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  font-weight: 600;
}

.product-card h3 {
  font-family: 'Noto Serif TC', serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-1);
  margin-bottom: 4px;
}

.product-feature h3 { font-size: 22px; }

.prod-tag {
  font-size: 13px;
  color: var(--gold-1);
  font-weight: 500;
  margin-bottom: 6px;
}

.prod-detail {
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* ===== 0 元創業 ===== */
.zero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 540px;
  margin: 0 auto 24px;
}

@media (min-width: 480px) {
  .zero-grid { grid-template-columns: repeat(3, 1fr); }
}

.zero-card {
  background: var(--white);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(177, 139, 75, 0.1);
}

.zero-emoji { font-size: 32px; display: block; margin-bottom: 8px; }

.zero-card h3 {
  font-size: 16px;
  color: var(--ink-1);
  margin-bottom: 4px;
}

.zero-card p {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
}

.guarantee {
  background: linear-gradient(135deg, var(--pink-1) 0%, var(--pink-2) 100%);
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  max-width: 540px;
  margin: 0 auto 16px;
  border: 1px solid rgba(177, 139, 75, 0.18);
}

.g-flag {
  display: inline-block;
  background: var(--ink-1);
  color: var(--gold-3);
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 12px;
  font-weight: 600;
}

.guarantee p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.7;
}

.guarantee strong { color: var(--gold-1); font-weight: 700; }

.system-card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.system-card h3 {
  font-size: 18px;
  color: var(--ink-1);
  margin-bottom: 14px;
}

.system-card ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.system-card li {
  background: var(--cream-1);
  padding: 10px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--ink-2);
}

.sys-note {
  font-size: 13px;
  color: var(--ink-3);
}

/* ===== 表單 ===== */
.block-form {
  background:
    radial-gradient(ellipse at top, rgba(244, 215, 175, 0.3), transparent 60%),
    linear-gradient(180deg, var(--cream-1) 0%, var(--pink-1) 100%);
  padding: 56px 20px 80px;
}

.lead-form {
  background: var(--white);
  border-radius: 20px;
  padding: 28px 22px;
  max-width: 540px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(177, 139, 75, 0.15);
}

.lead-form label {
  display: block;
  margin-bottom: 14px;
}

.lead-form label > span {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.lead-form em {
  color: #d44a3a;
  font-style: normal;
  margin-left: 2px;
}

.lead-form input,
.lead-form select {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  border: 1.5px solid rgba(177, 139, 75, 0.25);
  border-radius: 10px;
  background: var(--cream-1);
  color: var(--ink-1);
  font-family: inherit;
  transition: border-color 0.15s;
}

.lead-form input:focus,
.lead-form select:focus {
  outline: none;
  border-color: var(--gold-1);
  background: var(--white);
}

.lead-form fieldset {
  border: 1px dashed rgba(177, 139, 75, 0.25);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 18px;
}

.lead-form legend {
  font-size: 13.5px;
  color: var(--ink-2);
  padding: 0 8px;
}

.lead-form .cb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
}

.lead-form .cb:last-child { margin-bottom: 0; }
.lead-form .cb input { width: auto; }

.form-note {
  font-size: 12.5px;
  color: var(--ink-3);
  text-align: center;
  margin-top: 12px;
  line-height: 1.6;
}

/* ===== 表單成功 ===== */
.form-success {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 24px;
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--gold-2);
}

.success-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-1));
  border-radius: 50%;
  color: var(--white);
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 8px 20px rgba(177, 139, 75, 0.4);
}

.form-success h3 {
  font-family: 'Noto Serif TC', serif;
  font-size: 26px;
  color: var(--ink-1);
  margin-bottom: 6px;
}

.form-success > p {
  color: var(--ink-2);
  margin-bottom: 24px;
}

.line-cta {
  background: linear-gradient(135deg, #f0fae0 0%, #d8f0b4 100%);
  border-radius: 14px;
  padding: 22px 18px;
  margin-bottom: 18px;
  border: 1px solid #a8d860;
}

.line-cta p {
  font-size: 14px;
  color: #3a5a18;
  line-height: 1.7;
  margin-bottom: 14px;
}

.line-cta strong { font-size: 16px; color: #285208; }

.btn-line {
  display: inline-block;
  background: #06c755;
  color: var(--white);
  font-weight: 700;
  font-size: 17px;
  padding: 16px 28px;
  border-radius: 999px;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 6px 18px rgba(6, 199, 85, 0.35);
}

.success-note {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 6px;
}

/* ===== Footer ===== */
.site-foot {
  background: var(--ink-1);
  color: rgba(255, 255, 255, 0.7);
  padding: 28px 20px 96px;
  text-align: center;
  font-size: 12px;
  line-height: 1.8;
}

.site-foot p { margin-bottom: 4px; }
.foot-links {
  margin-top: 12px;
  margin-bottom: 6px;
}
.foot-links a {
  color: rgba(243, 217, 156, 0.85);
  text-decoration: none;
  font-size: 12.5px;
  margin: 0 6px;
}
.foot-links a:hover { color: var(--gold-3); text-decoration: underline; }
.foot-links span { color: rgba(255,255,255,0.3); }
.foot-note {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
}

/* ===== Sticky 底部 CTA ===== */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  display: flex;
  gap: 8px;
  border-top: 1px solid rgba(177, 139, 75, 0.2);
  box-shadow: 0 -4px 20px rgba(120, 90, 50, 0.1);
  z-index: 100;
}

.sc-primary {
  flex: 1;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-1));
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  padding: 14px;
  border-radius: 999px;
  text-align: center;
}

.sc-line {
  background: #06c755;
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 18px;
  border-radius: 999px;
  text-align: center;
  white-space: nowrap;
}

/* ===== Desktop adjustments ===== */
@media (min-width: 768px) {
  .hero { padding: 64px 24px 72px; }
  .hero-logo { width: 140px; }
  .block { padding: 80px 24px; }
  .audience-grid { grid-template-columns: repeat(4, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .product-feature { grid-column: 1 / -1; }
  .products-grid .product-feature { grid-column: 1 / -1; }
  .zero-grid { grid-template-columns: repeat(3, 1fr); }
  .system-card ul { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .block { padding: 96px 32px; }
  .products-grid {
    max-width: 900px;
    grid-template-columns: repeat(3, 1fr);
  }
  .audience-grid { max-width: 900px; }
}

/* hidden helper */
[hidden] { display: none !important; }
