/* ==========================================================
   UCC 国际干洗 · 移动端官网
   配色：墨绿 × 米白 × 鎏金
   ========================================================== */
:root {
  --green-950: #062018;
  --green-900: #0b3325;
  --green-800: #0f4432;
  --green-700: #155640;
  --green-100: #e3ede7;
  --gold: #c8a96a;
  --gold-strong: #a8874a;
  --gold-soft: #e8d9b8;
  --cream: #f6f3ea;
  --paper: #fbfaf6;
  --ink: #17281f;
  --muted: #6d7c73;
  --line: rgba(11, 51, 37, 0.12);
  --shadow: 0 10px 30px rgba(6, 32, 24, 0.10);
  --serif: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.wrap { max-width: 520px; margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部品牌栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 32, 24, 0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 169, 106, 0.25);
}
.topbar-in {
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { display: grid; place-items: center; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { color: #f3ead6; font-size: 15px; letter-spacing: 1px; }
.brand-text em { color: rgba(200, 169, 106, 0.85); font-style: normal; font-size: 8px; letter-spacing: 2.5px; }
.topbar-tel {
  display: flex; align-items: center; gap: 6px;
  color: var(--gold); font-size: 13px; font-weight: 600;
  border: 1px solid rgba(200, 169, 106, 0.45); border-radius: 999px;
  padding: 5px 12px;
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 50% -10%, #17553e 0%, var(--green-900) 52%, var(--green-950) 100%);
  color: #f3ead6;
  overflow: hidden;
  padding: 52px 0 72px;
}
.hero-noise {
  position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image: radial-gradient(rgba(200,169,106,0.14) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 0%, transparent 75%);
}
.hero-frame {
  position: absolute; inset: 12px; pointer-events: none;
  border: 1px solid rgba(200, 169, 106, 0.35);
  border-radius: 14px;
}
.hero-in { position: relative; text-align: center; }
.hero-kicker {
  font-size: 10px; letter-spacing: 4px; color: rgba(232, 217, 184, 0.8);
  border: 1px solid rgba(200, 169, 106, 0.4); border-radius: 999px;
  display: inline-block; padding: 6px 16px; margin-bottom: 26px;
}
.hero-art { width: min(78%, 320px); margin: 0 auto 8px; }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(34px, 9.5vw, 44px);
  font-weight: 700; letter-spacing: 6px;
  color: var(--gold-soft);
  text-shadow: 0 2px 24px rgba(200, 169, 106, 0.25);
}
.hero-slogan {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 17px; letter-spacing: 8px;
  color: rgba(243, 234, 214, 0.95);
}
.hero-slogan::before, .hero-slogan::after {
  content: ""; display: inline-block; vertical-align: middle;
  width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold));
  margin: 0 12px;
}
.hero-slogan::after { background: linear-gradient(90deg, var(--gold), transparent); }
.hero-sub {
  margin-top: 18px; font-size: 13px; line-height: 1.9;
  color: rgba(243, 234, 214, 0.72);
}
.hero-cta { display: flex; gap: 12px; justify-content: center; margin-top: 30px; }
.hero-note { margin-top: 16px; font-size: 11px; color: rgba(232, 217, 184, 0.55); letter-spacing: 1px; }
.hero-fade {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 56px;
  background: linear-gradient(180deg, transparent, var(--paper));
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: 2px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer; border: none;
}
.btn:active { transform: scale(0.97); }
.btn-gold {
  background: linear-gradient(135deg, #d9bc82, var(--gold) 45%, #b28f52);
  color: #21301c;
  box-shadow: 0 8px 24px rgba(200, 169, 106, 0.35);
}
.btn-ghost {
  background: transparent; color: var(--gold-soft);
  border: 1px solid rgba(200, 169, 106, 0.65);
}
.btn-sm { min-height: 40px; padding: 0 20px; font-size: 13px; }

/* ---------- 数据条 ---------- */
.stats { background: var(--paper); }
.stats-in {
  display: grid; grid-template-columns: repeat(4, 1fr);
  transform: translateY(-24px);
  background: #fff;
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 18px 6px;
}
.stat { text-align: center; border-right: 1px dashed var(--line); }
.stat:last-child { border-right: none; }
.stat b {
  display: block; font-family: var(--serif);
  font-size: 22px; color: var(--green-800); line-height: 1.2;
}
.stat b .pct { font-size: 12px; }
.stat span { font-size: 11px; color: var(--muted); letter-spacing: 1px; }

/* ---------- 通用 Section ---------- */
.section { padding: 64px 0 56px; background: var(--paper); }
.sec-head { text-align: center; margin-bottom: 34px; }
.sec-head em {
  display: block; font-style: normal;
  font-size: 10px; letter-spacing: 5px; color: var(--gold-strong);
  margin-bottom: 10px;
}
.sec-head h2 {
  font-family: var(--serif);
  font-size: 26px; letter-spacing: 4px; color: var(--green-900);
}
.sec-line {
  display: flex; align-items: center; justify-content: center;
  margin: 14px auto 10px; width: 180px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 135, 74, 0.55), transparent);
}
.sec-line b { width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.sec-head p { font-size: 12.5px; color: var(--muted); letter-spacing: 1px; }

/* ---------- 优点 ---------- */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.f-ico {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 12px; color: var(--green-800);
  background: linear-gradient(135deg, var(--green-100), #f2efe4);
  border: 1px solid rgba(21, 86, 64, 0.15);
  margin-bottom: 12px;
}
.f-ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 15px; color: var(--green-900); letter-spacing: 1px; margin-bottom: 6px; }
.feature p { font-size: 12px; color: var(--muted); line-height: 1.75; }

/* ---------- 流程（深色） ---------- */
.section-dark {
  background:
    radial-gradient(100% 120% at 50% 0%, var(--green-800) 0%, var(--green-900) 60%, var(--green-950) 100%);
  color: #e9e2cf;
}
.section-dark .sec-head h2 { color: var(--gold-soft); }
.section-dark .sec-head p { color: rgba(233, 226, 207, 0.6); }
.flow {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.flow li {
  text-align: center; padding: 18px 6px 16px;
  border: 1px solid rgba(200, 169, 106, 0.28); border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}
.flow li b {
  display: block; font-family: var(--serif);
  color: var(--gold); font-size: 18px; margin-bottom: 8px;
}
.flow li h4 { font-size: 13.5px; letter-spacing: 1px; color: #f3ead6; margin-bottom: 4px; }
.flow li p { font-size: 10.5px; color: rgba(233, 226, 207, 0.55); line-height: 1.5; }

/* ---------- 价格表 ---------- */
#price { background: linear-gradient(180deg, var(--paper), var(--cream)); }
.chip-nav {
  display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 14px;
  scrollbar-width: none; -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.chip-nav::-webkit-scrollbar { display: none; }
.chip-nav button {
  flex: 0 0 auto;
  padding: 9px 16px; border-radius: 999px; font-size: 13px; letter-spacing: 1px;
  background: #fff; color: var(--green-900);
  border: 1px solid var(--line); cursor: pointer;
  transition: all 0.18s ease;
}
.chip-nav button.on {
  background: var(--green-900); color: var(--gold-soft);
  border-color: var(--green-900);
  box-shadow: 0 6px 16px rgba(6, 32, 24, 0.25);
}
.price-board {
  background: #fff;
  border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.price-cat { padding: 20px 18px 8px; }
.price-cat + .price-cat { border-top: 1px dashed var(--line); }
.price-cat-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.price-cat-head h3 {
  font-family: var(--serif); font-size: 17px; letter-spacing: 2px; color: var(--green-900);
  display: flex; align-items: center; gap: 8px;
}
.price-cat-head h3::before {
  content: ""; width: 4px; height: 16px; border-radius: 2px;
  background: linear-gradient(180deg, var(--gold), var(--gold-strong));
}
.price-cat-head em { font-size: 9px; letter-spacing: 2px; color: var(--muted); font-style: normal; }
.price-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px;
}
.price-cols.single { grid-template-columns: 1fr; }
.price-row {
  display: flex; align-items: baseline; gap: 8px;
  padding: 9px 0;
  border-bottom: 1px dotted rgba(11, 51, 37, 0.14);
}
.price-cols.single .price-row { max-width: none; }
.price-row:last-child { border-bottom: none; }
.price-row .p-name { font-size: 13px; color: var(--ink); white-space: nowrap; }
.price-row .p-unit { font-size: 10px; color: var(--muted); white-space: nowrap; }
.price-row .dots {
  flex: 1; border-bottom: 1px dotted rgba(11, 51, 37, 0.22);
  transform: translateY(-3px); min-width: 12px;
}
.price-row .p-old { font-size: 12px; color: #9aa8a0; text-decoration: line-through; white-space: nowrap; }
.price-row .p-vip {
  font-size: 13px; font-weight: 700; color: var(--gold-strong); white-space: nowrap;
  min-width: 44px; text-align: right;
}
.price-row .p-normal { font-size: 13px; color: var(--ink); font-weight: 600; white-space: nowrap; }
.price-legend {
  display: flex; justify-content: center; gap: 18px; padding: 14px 0 4px;
  font-size: 10.5px; color: var(--muted);
}
.price-legend i { font-style: normal; display: inline-flex; align-items: center; gap: 5px; }
.price-legend s { text-decoration: line-through; color: #9aa8a0; }
.price-legend b { color: var(--gold-strong); }
.price-note {
  margin-top: 18px; font-size: 11px; line-height: 1.8; color: var(--muted);
  text-align: center; padding: 0 6px;
}

/* ---------- 会员充值 ---------- */
.section-recharge {
  background:
    radial-gradient(130% 100% at 50% 0%, #124a36 0%, var(--green-900) 55%, var(--green-950) 100%);
  padding-bottom: 96px;
}
.section-recharge .sec-head h2 { color: var(--gold-soft); }
.section-recharge .sec-head p { color: rgba(233, 226, 207, 0.6); }
.vip-card {
  background: linear-gradient(165deg, #10423280, #06201880), #0a2d21;
  border: 1px solid rgba(200, 169, 106, 0.4);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.vip-head { padding: 22px 22px 18px; border-bottom: 1px solid rgba(200, 169, 106, 0.25); }
.vip-badge {
  display: inline-grid; place-items: center;
  font-family: var(--serif); font-weight: 700; letter-spacing: 2px;
  color: #21301c; font-size: 13px;
  background: linear-gradient(135deg, #e3cb96, var(--gold) 50%, #ab8950);
  border-radius: 8px; padding: 5px 10px;
  box-shadow: 0 4px 14px rgba(200, 169, 106, 0.4);
}
.vip-title { display: inline-flex; flex-direction: column; margin-left: 12px; vertical-align: middle; }
.vip-title strong { color: var(--gold-soft); font-size: 17px; letter-spacing: 2px; font-family: var(--serif); }
.vip-title span { color: rgba(233, 226, 207, 0.6); font-size: 11px; margin-top: 2px; }
.vip-demo { margin-top: 16px; display: grid; gap: 8px; }
.vip-demo-row {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 12.5px; color: rgba(233, 226, 207, 0.75);
}
.vip-demo-row del { color: rgba(233, 226, 207, 0.4); }
.vip-demo-row b { color: var(--gold); font-size: 15px; }
.vip-demo-row b::before { content: "会员价 "; font-size: 10px; font-weight: 400; color: rgba(200,169,106,0.7); }

.recharge-form { padding: 22px; }
.field { display: block; margin-bottom: 18px; }
.field-label {
  display: block; font-size: 13px; letter-spacing: 1px;
  color: rgba(233, 226, 207, 0.85); margin-bottom: 8px;
}
.field-label i { color: #e2b13c; font-style: normal; }
.field-label .opt { color: rgba(233, 226, 207, 0.45); font-size: 11px; }
.field input[type="tel"],
.field input[type="text"],
.field input[type="number"] {
  width: 100%; height: 50px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(200, 169, 106, 0.3);
  border-radius: 12px;
  color: #f3ead6; font-size: 16px; letter-spacing: 1px;
  padding: 0 16px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  -webkit-appearance: none; appearance: none;
}
.field input::placeholder { color: rgba(233, 226, 207, 0.35); font-size: 14px; letter-spacing: 0; }
.field input:focus { border-color: var(--gold); background: rgba(255, 255, 255, 0.09); }
.hp-field { position: absolute; left: -9999px; height: 0; opacity: 0; }

.amount-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amount-chips .chip {
  height: 46px; border-radius: 12px; cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(200, 169, 106, 0.3);
  color: rgba(233, 226, 207, 0.85); font-size: 15px; font-weight: 600; letter-spacing: 1px;
  transition: all 0.15s ease;
}
.amount-chips .chip.on {
  background: linear-gradient(135deg, #d9bc82, var(--gold) 50%, #b28f52);
  border-color: transparent; color: #21301c;
  box-shadow: 0 6px 18px rgba(200, 169, 106, 0.35);
}
#customAmount { margin-top: 10px; }

.btn-submit { width: 100%; margin-top: 6px; letter-spacing: 4px; }
.btn-submit[disabled] { opacity: 0.6; pointer-events: none; }
.form-tip { margin-top: 14px; font-size: 11px; color: rgba(233, 226, 207, 0.45); text-align: center; line-height: 1.7; }

.recharge-success { padding: 44px 24px 40px; text-align: center; }
.recharge-success h3 {
  margin-top: 16px; font-family: var(--serif);
  color: var(--gold-soft); font-size: 22px; letter-spacing: 4px;
}
.recharge-success p { margin-top: 10px; font-size: 13px; color: rgba(233, 226, 207, 0.7); }
.success-actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; }

/* ---------- 页脚 ---------- */
.footer {
  background: #050f0b; color: rgba(233, 226, 207, 0.6);
  padding: 44px 0 120px;
}
.footer-brand { text-align: center; margin-bottom: 24px; }
.footer-brand strong {
  display: block; font-family: var(--serif);
  color: var(--gold-soft); font-size: 20px; letter-spacing: 4px;
}
.footer-brand span { font-size: 11px; letter-spacing: 3px; }
.footer-info {
  list-style: none; display: grid; gap: 10px;
  border-top: 1px solid rgba(200, 169, 106, 0.18);
  padding-top: 22px;
}
.footer-info li { display: flex; gap: 14px; font-size: 12.5px; }
.footer-info li span {
  color: rgba(200, 169, 106, 0.8); flex: 0 0 4.5em; letter-spacing: 1px;
}
.footer-info li b { font-weight: 500; color: rgba(233, 226, 207, 0.85); }
.footer-copy { margin-top: 26px; text-align: center; font-size: 10.5px; color: rgba(233, 226, 207, 0.3); }

/* ---------- 底部导航 ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: stretch;
  background: rgba(6, 32, 24, 0.96);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid rgba(200, 169, 106, 0.25);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; padding: 9px 0 8px;
  color: rgba(233, 226, 207, 0.65); font-size: 10.5px; letter-spacing: 1px;
}
.tabbar a svg { width: 21px; height: 21px; }
.tabbar .tab-cta {
  flex: 1.15;
}
.tabbar .tab-cta span {
  background: linear-gradient(135deg, #d9bc82, var(--gold) 50%, #b28f52);
  color: #21301c; font-weight: 700; font-size: 13px; letter-spacing: 2px;
  border-radius: 999px; padding: 8px 20px;
  box-shadow: 0 6px 16px rgba(200, 169, 106, 0.35);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 108px; transform: translateX(-50%);
  z-index: 90; max-width: 80vw;
  background: rgba(6, 32, 24, 0.95); color: #f3ead6;
  border: 1px solid rgba(200, 169, 106, 0.4);
  border-radius: 12px; padding: 11px 20px;
  font-size: 13px; letter-spacing: 1px; text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  animation: toastIn 0.25s ease;
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 桌面端（Edge） ---------- */
@media (min-width: 760px) {
  body {
    background:
      radial-gradient(60% 40% at 12% 8%, rgba(21, 86, 64, 0.12), transparent),
      radial-gradient(50% 36% at 88% 90%, rgba(200, 169, 106, 0.12), transparent),
      #eef0ea;
  }
  .topbar-in, .hero-in, .stats-in, .section .wrap, .footer-in { max-width: 640px; }
  .hero { padding: 84px 0 96px; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .price-cols { grid-template-columns: 1fr 1fr; }
  .stat b { font-size: 26px; }
  .section { padding: 88px 0 76px; }
}

/* ---------- 超窄屏 ---------- */
@media (max-width: 359px) {
  .feature-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .amount-chips { grid-template-columns: repeat(2, 1fr); }
}
