/* ============================================================
   首頁專屬樣式
   ============================================================ */

.mobile-only { display: none; }

.hero {
  padding: 64px 0 56px;
  background:
    radial-gradient(ellipse 60% 50% at 85% 0%, rgba(225,85,59,0.08), transparent),
    radial-gradient(ellipse 50% 40% at 10% 10%, rgba(107,122,79,0.08), transparent);
}

.hero-inner {
  text-align: center;
  max-width: 720px;
}

.hero-title {
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1.25;
  margin-bottom: 18px;
}

.hero-sub {
  color: var(--color-coffee-soft);
  font-size: 17px;
  margin-bottom: 36px;
}

.upload-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--color-white);
  border: 2.5px dashed var(--color-tomato-light);
  border-radius: var(--radius-lg);
  padding: 44px 24px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  box-shadow: var(--shadow-card);
}

.upload-hero:hover {
  border-color: var(--color-tomato);
  background: #fffaf6;
}

.upload-hero:active { transform: scale(0.99); }

.upload-hero.dragover {
  border-color: var(--color-tomato);
  background: var(--color-tomato-light);
}

/* V2：拍照後壓縮/暫存處理中的視覺提示，避免使用者誤以為沒反應 */
.upload-hero.is-loading {
  opacity: 0.6;
  pointer-events: none;
  border-color: var(--color-tomato);
}

.upload-hero.is-loading .upload-hero-text strong::after {
  content: " 處理中...";
  color: var(--color-tomato);
}

.upload-hero-icon { font-size: 44px; }

.upload-hero-text strong {
  display: block;
  font-size: 19px;
  color: var(--color-coffee);
  margin-bottom: 4px;
}

.upload-hero-text span {
  font-size: 13.5px;
  color: var(--color-coffee-soft);
}

.hero-secondary-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--color-olive-dark);
  font-weight: 600;
  font-size: 14.5px;
}
.hero-secondary-link:hover { text-decoration: underline; }

/* 三大功能卡 */
.feature-card {
  text-align: left;
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.icon-tomato { background: var(--color-tomato-light); }
.icon-olive { background: var(--color-olive-light); }
.icon-tomato-dark { background: var(--color-butter); }

.feature-card p { color: var(--color-coffee-soft); font-size: 14.5px; margin: 0; }

/* 流程說明 */
.how-it-works { background: var(--color-butter); border-radius: var(--radius-lg); margin: 0 20px; max-width: calc(var(--container-w) + 40px); margin-left: auto; margin-right: auto; }
.steps-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.step-item {
  flex: 1;
  min-width: 160px;
  text-align: center;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 26px 18px;
  box-shadow: var(--shadow-soft);
}
.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-tomato);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.step-item h4 { margin-bottom: 4px; font-size: 16px; }
.step-item p { margin: 0; }
.step-arrow { font-size: 22px; color: var(--color-tomato); }

/* 冰箱找食譜 promo */
.fridge-promo-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  background: var(--color-olive-light);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.tag-olive-eyebrow { color: var(--color-olive-dark); }
.fridge-promo-text h2 { font-size: clamp(24px, 3.4vw, 32px); margin-bottom: 14px; }
.fridge-promo-text .btn { margin-top: 20px; }

.fridge-promo-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fridge-card-mini {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-soft);
  font-size: 15px;
}

/* 品牌核心句 */
.brand-quote { padding: 70px 0 90px; }
.quote-text {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.6vw, 30px);
  font-weight: 700;
  color: var(--color-coffee);
  margin-bottom: 28px;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .mobile-only { display: inline; }
  .fridge-promo-inner { grid-template-columns: 1fr; padding: 32px 24px; }
  .steps-row { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .how-it-works { margin: 0 12px; }
}
