/* 水沐卿 C端 · 轻奢康养生活方式设计系统 */
:root {
  /* Brand — lifestyle wellness (非后台系统绿) */
  --c-primary: #2F5D4A;       /* 深康养绿 */
  --c-primary-soft: #3D7A62;
  --c-mint: #7BC4A8;          /* 薄荷绿 */
  --c-mint-deep: #4FA88A;
  --c-gold: #C4A574;          /* 温暖金 */
  --c-gold-deep: #B08D5A;
  --c-coral: #D4A08A;         /* 柔和暖橙，非艳红 */

  /* Neutrals */
  --c-text: #2C2A26;
  --c-text-2: #6B6560;
  --c-text-3: #9A948C;
  --c-border: #E8E2D9;
  --c-divider: #F0EBE3;
  --c-bg: #F6F1E9;            /* 米杏色 */
  --c-bg-warm: #FAF7F2;
  --c-card: #FFFFFF;

  /* Radius / Shadow / Space */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-full: 999px;
  --shadow: 0 2px 8px rgba(60, 48, 32, 0.04), 0 8px 24px rgba(60, 48, 32, 0.05);
  --shadow-soft: 0 1px 3px rgba(60, 48, 32, 0.04);
  --shadow-float: 0 12px 32px rgba(47, 93, 74, 0.12);
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 20px;
  --space-2xl: 28px;
  --font: 'PingFang SC', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
  --font-num: 'DIN Alternate', 'SF Pro Display', 'PingFang SC', sans-serif;
}

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

body {
  font-family: var(--font);
  background: #1A1814;
  min-height: 100vh;
  color: var(--c-text);
  -webkit-font-smoothing: antialiased;
}

.stage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px 40px;
}
.topbar {
  width: 100%; max-width: 420px;
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px; color: #F0EBE3;
}
.topbar b { font-size: 15px; font-weight: 600; }
.topbar .hint { opacity: 0.5; font-size: 12px; margin-left: 8px; font-weight: 400; }
.topbar a { color: #C4A574; text-decoration: none; font-size: 13px; }

.phone {
  width: 100%; max-width: 390px;
  height: min(844px, calc(100vh - 110px));
  background: #2A2620;
  border-radius: 40px;
  padding: 10px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.screen {
  height: 100%;
  background: var(--c-bg);
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.notch {
  height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-bg-warm);
  font-size: 12px; font-weight: 550;
  color: var(--c-text-2);
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
.content {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--c-bg);
}
.page-pad { padding: var(--space-lg) var(--space-lg) var(--space-2xl); }

/* ===== Components ===== */
.cc-card {
  background: var(--c-card);
  border-radius: var(--r-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow);
  border: 1px solid rgba(232, 226, 217, 0.65);
}
.cc-card--click { cursor: pointer; transition: transform 0.15s, box-shadow 0.2s; }
.cc-card--click:active { transform: scale(0.985); }

.cc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: none; outline: none; cursor: pointer; font-family: inherit;
  font-weight: 580; letter-spacing: 0.02em;
  transition: opacity 0.15s, transform 0.12s, background 0.15s;
  user-select: none; white-space: nowrap;
}
.cc-btn:active { transform: scale(0.98); opacity: 0.92; }
.cc-btn--block { width: 100%; }
.cc-btn--primary {
  background: linear-gradient(135deg, #2F5D4A 0%, #3D7A62 100%);
  color: #fff;
  border-radius: var(--r-full);
  padding: 13px 20px;
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(47, 93, 74, 0.22);
}
.cc-btn--gold {
  background: linear-gradient(135deg, #C4A574 0%, #D4B88A 100%);
  color: #2C2A26;
  border-radius: var(--r-full);
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 620;
  box-shadow: 0 4px 14px rgba(196, 165, 116, 0.28);
}
.cc-btn--secondary {
  background: rgba(47, 93, 74, 0.08);
  color: var(--c-primary);
  border-radius: var(--r-full);
  padding: 11px 18px;
  font-size: 14px;
  border: 1px solid rgba(47, 93, 74, 0.12);
}
.cc-btn--ghost {
  background: rgba(255,255,255,0.88);
  color: var(--c-text);
  border-radius: var(--r-full);
  padding: 11px 16px;
  font-size: 13px;
  border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}
.cc-btn--sm { padding: 8px 14px; font-size: 12px; }

.cc-chip {
  display: inline-block;
  padding: 3px 9px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 550;
  background: rgba(47, 93, 74, 0.08);
  color: var(--c-primary);
  margin-right: 4px;
}
.cc-chip--gold { background: rgba(196, 165, 116, 0.18); color: var(--c-gold-deep); }
.cc-chip--mint { background: rgba(123, 196, 168, 0.22); color: var(--c-mint-deep); }

.muted { color: var(--c-text-2); font-size: 12px; line-height: 1.5; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.cc-toast {
  position: absolute; left: 50%; bottom: 88px;
  transform: translateX(-50%);
  background: rgba(44, 42, 38, 0.88);
  backdrop-filter: blur(10px);
  color: #F6F1E9;
  padding: 10px 16px;
  border-radius: var(--r-full);
  font-size: 13px; z-index: 30;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.cc-nav {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--c-divider);
  position: sticky; top: 0; z-index: 5;
}
.cc-nav__back { color: var(--c-primary); cursor: pointer; font-size: 14px; font-weight: 560; }
.cc-nav__title { font-size: 16px; font-weight: 620; color: var(--c-text); }

.cc-input, .cc-select {
  width: 100%;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  background: var(--c-bg-warm);
  color: var(--c-text);
  margin-top: 6px;
}
.cc-input:focus, .cc-select:focus {
  border-color: rgba(47, 93, 74, 0.4);
  box-shadow: 0 0 0 3px rgba(47, 93, 74, 0.08);
  background: #fff;
}
.cc-label {
  display: block;
  font-size: 12px;
  font-weight: 550;
  color: var(--c-text-2);
  margin-top: 14px;
}

@media (max-width: 480px) {
  .stage { padding: 0; }
  .topbar { display: none; }
  .phone { max-width: 100%; height: 100vh; border-radius: 0; padding: 0; box-shadow: none; }
  .screen { border-radius: 0; }
}
