/* ===== CSS 變數 ===== */
:root {
  --color-bg: #0f0f0f;
  --color-surface: #1a1a1a;
  --color-accent: #e8c47a;
  --color-accent-hover: #d4a843;
  --color-text: #f0f0f0;
  --color-text-muted: #888888;
  --color-border: #2a2a2a;
  --font-display: 'Noto Serif TC', serif;
  --font-body: 'Noto Sans TC', sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  padding-bottom: 80px;
}

/* ===== Header ===== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.05em;
}

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

/* ===== Hero ===== */
.hero {
  padding: 60px 24px 48px;
  background: linear-gradient(160deg, #1a1a1a 0%, #0f0f0f 100%);
  border-bottom: 1px solid var(--color-border);
}

.hero__eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 7vw, 48px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero__title span {
  color: var(--color-accent);
}

.hero__desc {
  font-size: 15px;
  color: var(--color-text-muted);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero__cta {
  display: inline-block;
  background-color: var(--color-accent);
  color: #0f0f0f;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 2px;
  text-decoration: none;
  transition: background-color 0.2s;
}

.hero__cta:hover {
  background-color: var(--color-accent-hover);
}

/* ===== 統計數字區塊 ===== */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background-color: var(--color-border);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stats__item {
  background-color: var(--color-surface);
  padding: 32px 24px;
  text-align: center;
}

.stats__number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stats__label {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ===== 商品區塊 ===== */
.products {
  padding: 48px 24px;
}

.products__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.products__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.product-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  overflow: hidden;
}

.product-card__img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background-color: #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 12px;
}

.product-card__body {
  padding: 12px;
}

.product-card__name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.product-card__price {
  font-size: 13px;
  color: var(--color-accent);
}

/* ===== 固定底部 CTA ===== */
.bottom-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  z-index: 200;
}

.bottom-cta__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  gap: 4px;
  text-decoration: none;
  color: var(--color-text);
  font-size: 11px;
  cursor: pointer;
  border: none;
  background: none;
  transition: background-color 0.2s;
}

.bottom-cta__btn:hover {
  background-color: var(--color-border);
}

.bottom-cta__btn--line {
  color: #06C755;
}

.bottom-cta__icon {
  font-size: 22px;
}

/* ===== Modal ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.7);
  z-index: 300;
  align-items: flex-end;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  width: 100%;
  padding: 32px 24px;
  border-radius: 8px 8px 0 0;
}

.modal__title {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.modal__phone {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.modal__close {
  width: 100%;
  padding: 14px;
  background-color: var(--color-border);
  color: var(--color-text);
  border: none;
  border-radius: 2px;
  font-size: 14px;
  cursor: pointer;
}

/* ===== RWD ===== */
@media (min-width: 480px) {
  .products__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .hero {
    padding: 80px 48px;
  }

  .products {
    padding: 64px 48px;
  }

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

  .bottom-cta__btn {
    font-size: 13px;
  }
}