/* ============================================
   NBDpsy 心理咨询 H5 移动网站 - 设计系统
   品牌配色：暗红/勃艮第 + 金色（与管理后台一致）
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;600;700&display=swap');

/* --- CSS 变量（设计令牌 - 与管理后台 Serene Professional 色系一致）--- */
:root {
  /* 主色调 - 暗红/勃艮第（管理后台 Primary） */
  --color-primary: #8B2942;
  --color-primary-light: #A63D58;
  --color-primary-dark: #6E1F33;
  --color-primary-bg: rgba(139,41,66,0.06);

  /* 辅助色 - 金色（管理后台 Secondary） */
  --color-gold: #D4AF37;
  --color-gold-light: #E8CC6A;
  --color-gold-dark: #B8941D;
  --color-gold-bg: rgba(212,175,55,0.08);

  /* 功能色 */
  --color-accent: #F5E6C8;
  --color-accent-dark: #3D2914;
  --color-sage: #10B981;
  --color-sage-light: #D1FAE5;
  --color-warm-rose: #FDE8E8;
  --color-warm-amber: #FEF3C7;

  /* 中性色（管理后台 Serene Professional 色系） */
  --color-bg: #FAF8F5;
  --color-bg-warm: #F5F0EA;
  --color-surface: #FFFFFF;
  --color-text-primary: #1A1A1A;
  --color-text-secondary: #44403C;
  --color-text-tertiary: #6B6B6B;
  --color-text-muted: #78716C;
  --color-border: #E8E4DC;
  --color-border-light: #F0ECE4;
  --color-muted: #E8E4DC;

  /* 渐变 */
  --gradient-primary: linear-gradient(135deg, #8B2942 0%, #A63D58 50%, #C4546E 100%);
  --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #E8CC6A 100%);
  --gradient-warm: linear-gradient(135deg, #F5E6C8 0%, #FAF0E0 100%);
  --gradient-hero: linear-gradient(180deg, rgba(139,41,66,0.06) 0%, rgba(250,248,245,0) 100%);
  --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.6) 100%);

  /* 阴影 */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-card: 0 4px 6px -1px rgb(0 0 0 / 0.02), 0 2px 4px -2px rgb(0 0 0 / 0.02);
  --shadow-md: 0 4px 12px rgba(26,26,26,0.06), 0 2px 6px rgba(26,26,26,0.04);
  --shadow-lg: 0 12px 32px rgba(26,26,26,0.08), 0 4px 12px rgba(26,26,26,0.04);
  --shadow-xl: 0 20px 48px rgba(26,26,26,0.1), 0 8px 20px rgba(26,26,26,0.06);
  --shadow-primary: 0 8px 24px rgba(139,41,66,0.2);
  --shadow-gold: 0 0 15px rgba(212,175,55,0.15);

  /* 圆角（与管理后台一致） */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-pill: 9999px;

  /* 间距 */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* 字号 */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;

  /* 动画 */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
}

/* --- Reset 与基础样式 --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--color-text-primary);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

/* --- 入场动画 --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.animate-in {
  animation: fadeInUp var(--duration-slow) var(--ease-out) both;
}

.animate-delay-1 { animation-delay: 100ms; }
.animate-delay-2 { animation-delay: 200ms; }
.animate-delay-3 { animation-delay: 300ms; }
.animate-delay-4 { animation-delay: 400ms; }
.animate-delay-5 { animation-delay: 500ms; }

/* --- 通用布局 --- */
.container {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.page {
  min-height: 100vh;
  background: var(--color-bg);
}

.section {
  padding: var(--space-2xl) 0;
}

/* --- 导航栏 --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250,248,245,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--color-border-light);
  transition: background var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: var(--shadow-sm);
}

.navbar-inner {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  height: 56px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.navbar-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.navbar-title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-primary);
}

.navbar-menu {
  display: flex;
  gap: var(--space-md);
}

.navbar-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: color var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out);
}

.navbar-link:hover,
.navbar-link.active {
  color: var(--color-primary);
  background: var(--color-primary-bg);
}

/* --- 英雄区（首页）--- */
.hero {
  padding-top: 80px;
  padding-bottom: var(--space-2xl);
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139,41,66,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(212,175,55,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--color-primary-bg);
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-md);
  border: 1px solid rgba(139,41,66,0.1);
  animation: fadeInUp var(--duration-slow) var(--ease-out) both;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
  animation: fadeInUp var(--duration-slow) var(--ease-out) 100ms both;
}

.hero-title .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  animation: fadeInUp var(--duration-slow) var(--ease-out) 200ms both;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  animation: fadeInUp var(--duration-slow) var(--ease-out) 300ms both;
}

/* --- 品牌 Logo 展示区 --- */
.brand-logo-section {
  text-align: center;
  padding: var(--space-lg) 0;
  animation: fadeInUp var(--duration-slow) var(--ease-out) 50ms both;
}

.brand-logo-large {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-xl);
  object-fit: cover;
  margin: 0 auto var(--space-md);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  border: 3px solid rgba(212,175,55,0.2);
}

/* --- 按钮系统 --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  padding: 14px 28px;
  font-size: var(--text-base);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(139,41,66,0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text-primary);
  padding: 14px 28px;
  font-size: var(--text-base);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--color-bg);
  border-color: var(--color-primary-light);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: var(--text-sm);
}

.btn-block {
  width: 100%;
}

.btn-gold {
  background: var(--gradient-gold);
  color: #3D2914;
  padding: 14px 28px;
  font-size: var(--text-base);
  box-shadow: 0 8px 24px rgba(212,175,55,0.25);
  font-weight: 700;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212,175,55,0.35);
}

.btn-alipay {
  background: linear-gradient(135deg, #1677FF, #0958d9);
  color: #fff;
  padding: 16px 28px;
  font-size: var(--text-base);
  box-shadow: 0 8px 24px rgba(22,119,255,0.25);
}

.btn-alipay:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(22,119,255,0.35);
}

/* --- 信任标识栏 --- */
.trust-bar {
  padding: var(--space-lg) 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.trust-items {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: var(--space-sm);
}

.trust-item {
  text-align: center;
}

.trust-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.trust-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 500;
}

/* --- 卡片系统 --- */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border-light);
  transition: all var(--duration-normal) var(--ease-out);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* --- 特色区域 --- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.feature-card {
  padding: var(--space-lg);
  text-align: center;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-size: 1.5rem;
}

.feature-icon.brand {
  background: var(--color-primary-bg);
}

.feature-icon.gold {
  background: var(--color-gold-bg);
}

.feature-icon.warm {
  background: var(--color-warm-rose);
}

.feature-icon.green {
  background: var(--color-sage-light);
}

.feature-title {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--color-text-primary);
}

.feature-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* --- 区块标题 --- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-sm);
}

.section-tag::before,
.section-tag::after {
  content: '';
  height: 1px;
  width: 24px;
  background: var(--color-gold);
}

.section-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* --- 服务列表 --- */
.service-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.service-card {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-card);
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
  transform: translateY(-2px);
}

.service-card:active {
  transform: translateY(0);
}

.service-image {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.service-image.bg-brand { background: var(--color-primary-bg); }
.service-image.bg-gold { background: var(--color-gold-bg); }
.service-image.bg-warm { background: var(--color-warm-rose); }
.service-image.bg-sage { background: var(--color-sage-light); }
.service-image.bg-amber { background: var(--color-warm-amber); }

.service-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-name {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--color-text-primary);
}

.service-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
  line-height: 1.5;
}

.service-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.service-price {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
}

.service-price .unit {
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--color-text-muted);
}

.service-tag {
  font-size: var(--text-xs);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-weight: 500;
}

.service-tag.hot {
  background: var(--color-primary-bg);
  color: var(--color-primary);
}

.service-tag.new {
  background: var(--color-gold-bg);
  color: var(--color-gold-dark);
}

/* --- 关于我们 --- */
.about-card {
  background: var(--gradient-primary);
  color: #fff;
  border-radius: var(--radius-2xl);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: rgba(212,175,55,0.1);
  border-radius: 50%;
}

.about-card::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -20px;
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.about-title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.about-text {
  font-size: var(--text-sm);
  line-height: 1.8;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
  position: relative;
  z-index: 1;
}

.about-stat {
  text-align: center;
}

.about-stat-value {
  font-size: var(--text-2xl);
  font-weight: 700;
}

.about-stat-label {
  font-size: var(--text-xs);
  opacity: 0.7;
}

/* --- 咨询师介绍 --- */
.counselor-card {
  text-align: center;
  padding: var(--space-xl);
}

.counselor-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto var(--space-md);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  box-shadow: var(--shadow-primary);
}

.counselor-name {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.counselor-title-text {
  font-size: var(--text-sm);
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: var(--space-md);
}

.counselor-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.counselor-tag {
  font-size: var(--text-xs);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-primary-bg);
  color: var(--color-primary-dark);
  font-weight: 500;
}

.counselor-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* --- 评价 --- */
.review-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.review-card {
  padding: var(--space-lg);
}

.review-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-warm-rose);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
}

.review-name {
  font-size: var(--text-sm);
  font-weight: 600;
}

.review-stars {
  font-size: var(--text-xs);
  color: var(--color-gold);
  letter-spacing: 2px;
}

.review-content {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
  font-style: italic;
}

.review-content::before {
  content: '"';
  font-size: var(--text-2xl);
  color: var(--color-gold);
  font-weight: 700;
  line-height: 0;
  vertical-align: -8px;
  margin-right: 4px;
}

/* --- 服务详情页 --- */
.service-detail-hero {
  padding-top: 72px;
  padding-bottom: var(--space-xl);
  text-align: center;
  position: relative;
}

.service-detail-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-2xl);
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.service-detail-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.service-detail-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.service-detail-price {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-primary);
}

.service-detail-price .yen {
  font-size: var(--text-lg);
}

.service-detail-original {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.service-detail-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
  padding: 0 var(--space-md);
}

/* --- 详情列表 --- */
.detail-section {
  margin-bottom: var(--space-lg);
}

.detail-title {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.detail-title .icon {
  font-size: 1.2rem;
}

.detail-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.detail-item .check {
  color: var(--color-primary);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- 支付页面 --- */
.payment-hero {
  padding-top: 72px;
  padding-bottom: var(--space-lg);
  text-align: center;
  background: var(--gradient-hero);
}

.payment-status-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-gold-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-size: 2rem;
}

.payment-title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.payment-subtitle {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* --- 订单信息 --- */
.order-card {
  padding: var(--space-lg);
}

.order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border-light);
}

.order-label {
  font-size: var(--text-sm);
  font-weight: 600;
}

.order-no {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.order-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-item-name {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.order-item-value {
  font-size: var(--text-sm);
  font-weight: 500;
}

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  border-top: 1px dashed var(--color-border);
  margin-top: var(--space-md);
}

.order-total-label {
  font-size: var(--text-base);
  font-weight: 600;
}

.order-total-value {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-primary);
}

/* --- 支付方式选择 --- */
.payment-methods {
  margin-top: var(--space-lg);
}

.payment-method-title {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.payment-method-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.payment-method-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-border);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.payment-method-item.selected {
  border-color: var(--color-primary);
  background: var(--color-primary-bg);
}

.payment-method-item:hover {
  border-color: var(--color-primary-light);
}

.payment-method-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.payment-method-icon img,
.payment-method-icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.payment-method-info {
  flex: 1;
}

.payment-method-name {
  font-size: var(--text-sm);
  font-weight: 600;
}

.payment-method-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.payment-method-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--duration-fast) var(--ease-out);
}

.payment-method-item.selected .payment-method-radio {
  border-color: var(--color-primary);
  background: var(--color-primary);
}

.payment-method-item.selected .payment-method-radio::after {
  content: '✓';
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* --- 底部操作栏 --- */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid var(--color-border-light);
  padding: var(--space-md);
  padding-bottom: calc(var(--space-md) + env(safe-area-inset-bottom, 0px));
}

.bottom-bar-inner {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.bottom-price {
  flex: 1;
}

.bottom-price-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.bottom-price-value {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
}

.bottom-price-value .yen {
  font-size: var(--text-sm);
}

/* --- 底部导航栏 --- */
.tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid var(--color-border-light);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.tab-bar-inner {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 56px;
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  transition: color var(--duration-fast) var(--ease-out);
  cursor: pointer;
}

.tab-item.active {
  color: var(--color-primary);
}

.tab-icon {
  font-size: 1.3rem;
}

.tab-label {
  font-size: 10px;
  font-weight: 500;
}

/* --- 页脚 --- */
.footer {
  padding: var(--space-xl) 0;
  padding-bottom: 80px;
  text-align: center;
  border-top: 1px solid var(--color-border-light);
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.footer-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
}

.footer-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
}

.footer-info {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-md);
}

.footer-link {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-link:hover {
  color: var(--color-primary);
}

/* --- 安全支付标识 --- */
.security-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-md) 0;
  margin-top: var(--space-md);
}

.security-badge {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.security-icon {
  font-size: 1rem;
}

/* --- 流程步骤 --- */
.steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding: 0 var(--space-md);
}

.step {
  display: flex;
  gap: var(--space-md);
}

.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 700;
  flex-shrink: 0;
}

.step-line {
  width: 2px;
  flex: 1;
  background: var(--color-border);
  margin: var(--space-xs) 0;
}

.step:last-child .step-line {
  display: none;
}

.step-content {
  padding-top: 4px;
  padding-bottom: var(--space-md);
}

.step-title {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.step-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --- 成人声明 --- */
.adult-notice {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-gold-bg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212,175,55,0.15);
  font-size: var(--text-xs);
  color: var(--color-gold-dark);
  line-height: 1.6;
}

.adult-notice .notice-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* --- 页面适配 --- */
.page-with-bottom-bar { padding-bottom: 80px; }
.page-with-tab-bar { padding-bottom: 72px; }

/* --- 触摸反馈 --- */
.service-card:active { transform: scale(0.98) !important; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 2px; }
