/* ===== VARIABLES ===== */
:root {
  /* Dark theme (default) */
  --bg: #0c0e13;
  --bg-card: #14171e;
  --bg-elevated: #1a1e28;
  --bg-input: #1a1e28;
  --text: #f0ece6;
  --text-muted: #8a8590;
  --accent: #c9a96e;
  --accent-light: #e8d5a8;
  --accent-dark: #a8874e;
  --accent-glow: rgba(201, 169, 110, 0.15);
  --green: #5bb88a;
  --green-muted: rgba(91, 184, 138, 0.12);
  --blue: #6b9fd4;
  --blue-muted: rgba(107, 159, 212, 0.12);
  --red: #e8553d;
  --red-muted: rgba(232, 85, 61, 0.12);
  --border: rgba(255,255,255,0.06);
  --border-light: rgba(255,255,255,0.1);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.4);
  --glass-bg: rgba(20, 23, 30, 0.7);
  --glass-border: rgba(255,255,255,0.08);
  --theme-toggle-bg: rgba(255,255,255,0.06);
}

[data-theme="light"] {
  --bg: #f8f6f3;
  --bg-card: #ffffff;
  --bg-elevated: #f0ede8;
  --bg-input: #f5f2ed;
  --text: #1a1714;
  --text-muted: #7a7570;
  --accent: #a8874e;
  --accent-light: #c9a96e;
  --accent-dark: #8a6d3a;
  --accent-glow: rgba(168, 135, 78, 0.1);
  --green: #3a8a6e;
  --green-muted: rgba(58, 138, 110, 0.08);
  --blue: #4a7fb5;
  --blue-muted: rgba(74, 127, 181, 0.08);
  --red: #c93d27;
  --red-muted: rgba(201, 61, 39, 0.08);
  --border: rgba(0,0,0,0.06);
  --border-light: rgba(0,0,0,0.1);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.1);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0,0,0,0.06);
  --theme-toggle-bg: rgba(0,0,0,0.04);
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

/* ===== ACCESSIBILITY ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--accent);
  color: #0c0e13;
  font-weight: 700;
  font-size: 14px;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}
.hidden {
  display: none !important;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
:root { --font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent-dark); border-radius: 3px; }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(36px, 5.5vw, 64px); font-weight: 800; line-height: 1.15; letter-spacing: -2px; }
h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; line-height: 1.2; letter-spacing: -1.5px; }
h3 { font-size: clamp(20px, 2.5vw, 28px); font-weight: 700; line-height: 1.3; letter-spacing: -0.5px; }
h4 { font-size: 18px; font-weight: 600; }
p { font-size: 16px; line-height: 1.8; }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent); }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 32px; }
.section { padding: 120px 0; position: relative; }
.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  padding: 6px 16px;
  background: var(--accent-glow);
  border-radius: 20px;
}
.section-desc { font-size: 18px; color: var(--text-muted); max-width: 560px; margin-top: 16px; }
.section-header.center .section-desc { margin: 16px auto 0; }

/* ===== NAV ===== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}
.site-nav.scrolled {
  box-shadow: var(--shadow-sm);
}
.nav-logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo .logo-icon {
  width: 30px;
  height: 30px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  color: #0c0e13;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Theme toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--theme-toggle-bg);
  color: var(--text-muted);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}

.nav-cta-btn {
  background: var(--accent);
  color: #0c0e13;
  border: none;
  padding: 9px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}
.nav-cta-btn:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--accent-glow);
}
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 22px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

/* Mobile nav overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
}
.mobile-nav-overlay.open { display: block; }
.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  z-index: 1001;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.mobile-nav-panel.open { transform: translateX(0); }
.mobile-nav-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  margin-left: auto;
}
.mobile-nav-list {
  list-style: none;
}
.mobile-nav-list li {
  border-bottom: 1px solid var(--border);
}
.mobile-nav-list a {
  display: block;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}
.mobile-nav-list a:hover { color: var(--accent); }
.mobile-nav-cta {
  display: block;
  width: 100%;
  margin-top: 24px;
  padding: 14px;
  background: var(--accent);
  color: #0c0e13;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::after { opacity: 1; }
.btn-primary {
  background: var(--accent);
  color: #0c0e13;
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-light);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}
.btn-lg { padding: 16px 36px; font-size: 16px; border-radius: 14px; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
}
[data-theme="light"] .hero-bg img { opacity: 0.08; }
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, transparent 30%, transparent 60%, var(--bg) 100%);
}
/* Animated gradient orb */
.hero-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(60px);
  animation: orbFloat 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.hero-orb-1 { top: 10%; right: 10%; }
.hero-orb-2 { bottom: 10%; left: 5%; animation-delay: -4s; opacity: 0.5; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--accent-glow);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
[data-theme="light"] .hero-badge { color: var(--accent-dark); }
.hero h1 { margin-bottom: 24px; }
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}
.hero h1 em::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: -4px;
  right: -4px;
  height: 12px;
  background: var(--accent);
  opacity: 0.12;
  border-radius: 6px;
  z-index: -1;
}
.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.hero-stat .stat-num {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--text);
}
.hero-stat .stat-num span { color: var(--accent); }
.hero-stat .stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

/* ===== SCENARIO CARDS ===== */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.scenario-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
  position: relative;
}
.scenario-card:hover {
  border-color: var(--accent-dark);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.scenario-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.scenario-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.scenario-card:hover .scenario-card-img img { transform: scale(1.08); }
.scenario-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, var(--bg-card) 100%);
}
.scenario-card-body { padding: 28px; }
.scenario-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.tag-hot { background: var(--red-muted); color: var(--red); }
.tag-new { background: var(--green-muted); color: var(--green); }
.tag-pro { background: var(--blue-muted); color: var(--blue); }
.scenario-card h3 { font-size: 20px; margin-bottom: 10px; }
.scenario-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.scenario-card .card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s;
}
.scenario-card:hover .card-link { gap: 12px; }

/* ===== PROCESS STEPS ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-dark), transparent);
  z-index: 0;
}
.process-card {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 16px;
}
.process-card .step-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 2px solid var(--border);
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  transition: all 0.3s ease;
}
.process-card:hover .step-icon {
  border-color: var(--accent);
  background: var(--accent-glow);
  transform: scale(1.08);
}
.process-card .step-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.process-card h4 { font-size: 18px; margin-bottom: 8px; }
.process-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ===== DETAIL BLOCKS ===== */
.detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.detail-block:last-child { border-bottom: none; }
.detail-block.reverse { direction: ltr; }
.detail-block.reverse .detail-img { order: 2; }
.detail-block.reverse .detail-content { order: 1; }
.detail-img {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}
.detail-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid var(--border);
  pointer-events: none;
}
.detail-content .detail-num {
  font-size: 64px;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: -16px;
  letter-spacing: -4px;
}
.detail-content h3 { margin-bottom: 16px; }
.detail-content p { color: var(--text-muted); margin-bottom: 24px; }
.detail-list { list-style: none; }
.detail-list li {
  padding: 10px 0;
  font-size: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.detail-list li:last-child { border-bottom: none; }
.detail-list li::before {
  content: '◆';
  color: var(--accent);
  font-size: 10px;
  margin-top: 6px;
  flex-shrink: 0;
}

/* ===== TESTIMONIALS ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  border-color: rgba(201,169,110,0.2);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.testimonial-stars { color: var(--accent); font-size: 14px; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-text { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--border);
}
.testimonial-info .author-name { font-size: 14px; font-weight: 600; }
.testimonial-info .author-role { font-size: 12px; color: var(--text-muted); }

/* ===== CASE CARDS ===== */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.35s ease;
}
.case-card:hover {
  border-color: var(--accent-dark);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.case-card-img { height: 220px; overflow: hidden; position: relative; }
.case-card-img img { width: 100%; height: 100%; object-fit: cover; }
.case-card-body { padding: 28px; }
.case-card-body .case-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.case-card-body h3 { font-size: 20px; margin-bottom: 10px; }
.case-card-body p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.case-result {
  display: flex;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.case-result-item .result-num { font-size: 24px; font-weight: 800; color: var(--accent); letter-spacing: -1px; }
.case-result-item .result-label { font-size: 12px; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-container { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); overflow: hidden; }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--accent); }
.faq-question .faq-icon {
  font-size: 28px;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform 0.4s ease;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.faq-answer-inner { padding: 0 0 24px; font-size: 15px; color: var(--text-muted); line-height: 1.8; }

/* ===== CONTACT FORM ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}
.contact-info-card h3 { margin-bottom: 24px; }
.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.contact-info-text .info-label { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.contact-info-text .info-value { font-size: 16px; font-weight: 600; }
.wechat-qr-box {
  margin-top: 24px;
  text-align: center;
  padding: 24px;
  background: var(--bg-elevated);
  border-radius: 12px;
  border: 1px solid var(--border);
}
.wechat-qr-box p { font-size: 13px; color: var(--text-muted); }

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}
.form-card h3 { margin-bottom: 8px; }
.form-card .form-subtitle { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.form-group label .opt { font-weight: 400; color: var(--text-muted); font-size: 12px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  transition: all 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); opacity: 0.5; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%238a8590' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Scene selector */
.scene-select-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 24px; }
.scene-option {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 16px 12px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  background: var(--bg-input);
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  width: 100%;
  display: block;
  -webkit-appearance: none;
  appearance: none;
  line-height: inherit;
}
.scene-option:hover { border-color: var(--accent-dark); background: var(--accent-glow); }
.scene-option:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}
.scene-option.selected {
  border-color: var(--accent);
  background: var(--accent-glow);
  box-shadow: 0 0 0 1px var(--accent);
}
.scene-option .scene-emoji { font-size: 26px; margin-bottom: 6px; }
.scene-option .scene-name { font-size: 12px; font-weight: 600; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { margin-bottom: 16px; position: relative; }
.cta-banner p { color: var(--text-muted); font-size: 17px; margin-bottom: 32px; position: relative; }
.cta-banner .btn { position: relative; }

/* ===== FOOTER ===== */
.site-footer { padding: 64px 0 32px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .footer-logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 14px; color: var(--text-muted); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== ANIMATIONS ===== */
.anim-fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.anim-fade-up.visible { opacity: 1; transform: translateY(0); }
.anim-fade-up.delay-1 { transition-delay: 0.1s; }
.anim-fade-up.delay-2 { transition-delay: 0.2s; }
.anim-fade-up.delay-3 { transition-delay: 0.3s; }
.anim-fade-up.delay-4 { transition-delay: 0.4s; }

.anim-scale-in { opacity: 0; transform: scale(0.95); transition: opacity 0.6s ease, transform 0.6s ease; }
.anim-scale-in.visible { opacity: 1; transform: scale(1); }

.anim-slide-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.anim-slide-left.visible { opacity: 1; transform: translateX(0); }

.anim-slide-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.anim-slide-right.visible { opacity: 1; transform: translateX(0); }

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

/* ===== SUCCESS MODAL ===== */
.success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.success-overlay.active { display: flex; }
.success-modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  max-width: 440px;
  width: 100%;
  animation: modalIn 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.success-modal .success-icon { font-size: 56px; margin-bottom: 20px; }
.success-modal h3 { margin-bottom: 12px; }
.success-modal p { color: var(--text-muted); font-size: 15px; margin-bottom: 8px; }
.success-modal .wechat-highlight {
  display: inline-block;
  background: var(--green-muted);
  color: var(--green);
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  margin: 16px 0;
  letter-spacing: 1px;
}
.success-modal .btn { margin-top: 24px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .scenario-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-grid::before { display: none; }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .container, .container-sm { padding: 0 20px; }
  .section { padding: 80px 0; }
  .site-nav { padding: 0 16px; height: 56px; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .nav-cta-btn { display: none; }

  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero-orb { width: 300px; height: 300px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .hero-stat .stat-num { font-size: 28px; }

  .scenario-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .detail-block { grid-template-columns: 1fr; gap: 32px; }
  .detail-block.reverse { direction: ltr; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .form-row { grid-template-columns: 1fr; }
  .scene-select-grid { grid-template-columns: repeat(2, 1fr); }

  .page-hero { padding: 100px 0 60px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 30px; letter-spacing: -1px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .scene-select-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 16px; }
  .hero-stat .stat-num { font-size: 24px; }
}

/* ===== WECHAT H5 SPECIFIC ===== */
@supports (-webkit-touch-callout: none) {
  /* iOS specific */
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px; /* Prevent iOS zoom on focus */
  }
}

/* Safe area for notched devices */
@supports (padding-top: env(safe-area-inset-top)) {
  .site-nav {
    padding-top: env(safe-area-inset-top);
    height: calc(64px + env(safe-area-inset-top));
  }
  .site-footer {
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
  }
}

/* Prevent overscroll bounce on iOS */
html {
  overscroll-behavior: none;
}

/* Touch-friendly tap targets */
@media (hover: none) and (pointer: coarse) {
  .btn { min-height: 48px; }
  .nav-cta-btn { min-height: 40px; padding: 10px 20px; }
  .scene-option { min-height: 48px; }
  .faq-question { min-height: 48px; }
}

/* ===== CONTACT PAGE UTILITIES ===== */
.form-section { padding-top: 0; }
.info-value-green { color: var(--green); }
.info-value-link { color: var(--accent); }
.qr-img { margin: 0 auto 12px; border-radius: 8px; background: #fff; padding: 8px; }
.qr-title { font-weight: 600; color: var(--text); margin-bottom: 4px; }
.qr-subtitle { font-size: 12px; }
.quick-faq-card { margin-top: 20px; }
.quick-faq-title { margin-bottom: 16px; font-size: 15px; color: var(--text-muted); }
.quick-faq-list { font-size: 14px; color: var(--text-muted); line-height: 2; }
.scene-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.form-back-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.form-back-btn { background: none; border: none; color: var(--text-muted); font-size: 20px; cursor: pointer; padding: 4px; }
.form-back-label { font-size: 14px; color: var(--text-muted); }
.form-divider { height: 1px; background: var(--border); margin: 8px 0 20px; }
.form-submit-full { width: 100%; }
.success-note { font-size: 13px; margin-top: 8px; }
.footer-logo-icon {
  width: 28px; height: 28px;
  background: var(--accent); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 900; color: var(--bg);
}
.icp-line {
  text-align: center; padding-top: 16px;
  font-size: 12px; color: var(--text-muted); opacity: 0.6;
}
.icp-line a { color: inherit; }

/* Section variants */
.section-alt {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-cta-center {
  text-align: center;
  margin-top: 48px;
}
.section-cta-center-sm {
  text-align: center;
  margin-top: 40px;
}
.detail-actions { margin-top: 24px; }
.process-grid-spaced { margin-bottom: 80px; }
.case-grid-extra { margin-top: 24px; }

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  border-color: var(--accent-dark);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.pricing-card-popular {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg);
  transform: scale(1.02);
  z-index: 1;
}
.pricing-card-popular:hover {
  transform: scale(1.02) translateY(-4px);
}
.pricing-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0c0e13;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.pricing-card h3 {
  font-size: 22px;
  margin-bottom: 16px;
}
.pricing-price {
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.price-currency {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-muted);
}
.price-amount {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--text);
  line-height: 1;
}
.price-suffix {
  font-size: 16px;
  color: var(--text-muted);
  margin-left: 4px;
}
.pricing-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.pricing-features {
  list-style: none;
  margin-bottom: 20px;
}
.pricing-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-scene {
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.pricing-scene-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.pricing-scene-tag {
  display: inline-block;
  font-size: 12px;
  padding: 3px 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-muted);
  margin: 2px 4px 2px 0;
}
.pricing-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
  padding-top: 14px;
}
.price-large {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
}

/* Business tier */
.pricing-business {
  margin-top: 24px;
}
.pricing-business-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.pricing-business-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 4px 12px;
  border-radius: 6px;
  flex-shrink: 0;
}
.pricing-business-desc {
  font-size: 14px;
  color: var(--text-muted);
  flex: 1;
  min-width: 200px;
}
.pricing-business-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
}
.pricing-business .btn-sm {
  padding: 8px 20px;
  font-size: 13px;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-card-popular { transform: none; }
  .pricing-card-popular:hover { transform: translateY(-4px); }
}
@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-business-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* Scene option SVG icons */
.scene-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scene-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.scene-option:hover .scene-icon svg,
.scene-option.selected .scene-icon svg {
  stroke: var(--accent);
}

/* ===== ANTI-PATTERN REDUCTION ===== */
/* Toned-down nav: solid bg instead of glassmorphism */
.site-nav {
  background: var(--bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--border);
}
.site-nav.scrolled {
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}
[data-theme="light"] .site-nav {
  background: rgba(248, 246, 243, 0.95);
}

/* Hero orbs: smaller, more subtle */
.hero-orb {
  width: 300px;
  height: 300px;
  filter: blur(80px);
  opacity: 0.5;
}
.hero-orb-2 { opacity: 0.25; }

/* Break card grid monotony: alternate layouts */
.testimonial-grid {
  grid-template-columns: repeat(3, 1fr);
}
.testimonial-grid .testimonial-card:nth-child(4) {
  grid-column: 1 / 3;
}
.testimonial-grid .testimonial-card:nth-child(5) {
  grid-column: 3 / 4;
}

/* Case grid: make first case full-width */
.case-grid .case-card:first-child {
  grid-column: 1 / -1;
}
.case-grid .case-card:first-child .case-card-img {
  height: 280px;
}
.case-grid .case-card:first-child .case-card-body h3 {
  font-size: 24px;
}

/* Hero stats: asymmetric spacing */
.hero-stats {
  gap: 32px 48px;
}

/* Success modal: remove glassmorphism */
.success-modal {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* ===== FLOATING CONTACT ===== */
.float-contact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
}
.float-contact-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #0c0e13;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.4);
  transition: all 0.3s ease;
}
.float-contact-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(201, 169, 110, 0.5);
}
.float-contact-panel {
  position: absolute;
  bottom: 68px;
  right: 0;
  width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.float-contact-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.float-contact-panel img {
  width: 140px;
  height: 140px;
  border-radius: 8px;
  background: #fff;
  padding: 6px;
  margin: 0 auto 10px;
  display: block;
}
.float-contact-panel .fc-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.float-contact-panel .fc-id {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.5px;
}
@media (max-width: 768px) {
  .float-contact { bottom: 16px; right: 16px; }
  .float-contact-btn { width: 48px; height: 48px; font-size: 20px; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .hero-orb { animation: none; opacity: 0.3; }
  .anim-fade-up,
  .anim-scale-in,
  .anim-slide-left,
  .anim-slide-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
