/* ============================================
   印链ERP - 官方网站 Style Sheet
   SEO optimized, responsive, fresh-gradient design
   ============================================ */

/* --- CSS Variables --- */
:root {
  --bg: #f8fafc;
  --bg2: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --rule: #e2e8f0;
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --accent-dark: #1d4ed8;
  --accent2: #0891b2;
  --accent2-light: #06b6d4;
  --gradient: linear-gradient(135deg, #2563eb, #0891b2);
  --gradient-hero: linear-gradient(135deg, #1e3a5f 0%, #2563eb 50%, #0891b2 100%);
  --shadow-sm: 0 1px 3px rgba(37, 99, 235, 0.08);
  --shadow-md: 0 4px 12px rgba(37, 99, 235, 0.1);
  --shadow-lg: 0 8px 30px rgba(37, 99, 235, 0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --max-width: 1200px;
  --header-h: 72px;
  --font-heading: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  --font-body: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-light); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.25; color: var(--ink); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header h2 {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}
.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
  margin: 0.75rem auto 0;
}
.section-header p {
  max-width: 600px;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 1.1rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff !important;
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: var(--accent) !important;
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--rule);
  z-index: 1000;
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink) !important;
  text-decoration: none;
}
.logo-icon {
  width: auto;
  height: 36px;
  display: block;
  object-fit: contain;
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav a:hover, .nav a.active { color: var(--accent); }
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 1px;
}
.nav .btn { margin-left: 8px; }
.nav .login-link {
  padding: 6px 16px;
  border: 1.5px solid var(--rule);
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--muted);
  transition: all 0.2s;
}
.nav .login-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.nav .download-link {
  padding: 6px 16px;
  border: 1.5px solid var(--accent);
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--accent);
  transition: all 0.2s;
}
.nav .download-link:hover {
  background: var(--accent);
  color: #fff;
}
[data-client-download].download-unavailable {
  opacity: 0.55;
  pointer-events: none;
}
.download-btn svg {
  flex-shrink: 0;
  animation: download-bounce 2s ease-in-out infinite;
}
@keyframes download-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
.mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s; }

/* --- Hero Section --- */
.hero {
  padding: 120px 0 80px;
  background: var(--gradient-hero);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  border-radius: 50%;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-content h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
.hero-content h1 .highlight { background: linear-gradient(135deg, #60a5fa, #67e8f9); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-content p { color: rgba(255,255,255,0.8); font-size: 1.15rem; line-height: 1.8; margin-bottom: 2rem; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-actions .btn-primary { background: #fff; color: var(--accent) !important; box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.hero-actions .btn-outline { border-color: rgba(255,255,255,0.5); color: #fff !important; }
.hero-actions .btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-mockup {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4/3;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.hero-mockup svg { width: 100%; height: 100%; }

/* --- Hero Stats Bar --- */
.hero-stats {
  background: #fff;
  border-bottom: 1px solid var(--rule);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-item .stat-label {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

/* --- Features Section --- */
.features { padding: 100px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg2);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(8,145,178,0.1));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 24px; height: 24px; color: var(--accent); }
.feature-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.feature-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 0; }

/* --- Solutions Section --- */
.solutions {
  padding: 100px 0;
  background: var(--bg2);
}
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.solution-card {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s;
}
.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.solution-card .icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.solution-card .icon-circle svg { width: 28px; height: 28px; color: #fff; }
.solution-card h3 { margin-bottom: 12px; }
.solution-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0; }

/* --- CTA Section --- */
.cta-section {
  padding: 80px 0;
  background: var(--gradient-hero);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: #fff; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 600px; margin: 0 auto 2rem; }
.cta-section .btn-white { font-size: 1.1rem; padding: 16px 40px; }

/* ============ FORM: FILE UPLOAD & CODE INPUT ============ */
.file-upload-wrapper {
  position: relative;
}
.file-upload-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  cursor: pointer;
  color: #6b7280;
  font-size: 0.9rem;
  transition: border-color 0.2s, color 0.2s;
  background: #fafafa;
}
.file-upload-trigger:hover {
  border-color: #6366f1;
  color: #6366f1;
}
.file-upload-trigger.has-file {
  border-color: #22c55e;
  color: #22c55e;
  border-style: solid;
}
.code-input-group {
  display: flex;
  gap: 8px;
}
.code-input-group input {
  flex: 1;
  min-width: 120px;
}
.code-input-group .btn-code {
  white-space: nowrap;
  min-width: 60px;
  height: 46px;
  font-size: 0.85rem;
  padding: 0 8px;
}
.code-input-group .btn-code:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.file-preview {
  margin-top: 8px;
}
.file-preview img {
  max-width: 100%;
  max-height: 120px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

/* ============ FOOTER ============ */
/* --- Footer --- */
.footer {
  background: #0f172a;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { color: #fff !important; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 20px; }
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: #fff; }

/* --- Page Header --- */
.page-header {
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: 60px;
  background: var(--gradient-hero);
  color: #fff;
  text-align: center;
}
.page-header h1 { color: #fff; margin-bottom: 0.75rem; }
.page-header p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto; font-size: 1.1rem; }

/* --- Features Detail Page --- */
.feature-detail { padding: 80px 0; }
.feature-detail:nth-child(even) { background: var(--bg2); }
.feature-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.feature-detail-text h2 { margin-bottom: 1rem; }
.feature-detail-text .feature-sub {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.feature-detail-text p { color: var(--muted); }
.feature-list { margin-top: 1.5rem; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  color: var(--ink);
  font-size: 0.95rem;
}
.feature-list li svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
.feature-detail-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-illustration {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, rgba(37,99,235,0.05), rgba(8,145,178,0.05));
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

/* --- Pricing Page --- */
.pricing { padding: 80px 0; }
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}
.toggle-label { font-size: 0.95rem; color: var(--muted); font-weight: 500; }
.toggle-label.active { color: var(--ink); }
.toggle-switch {
  width: 48px;
  height: 26px;
  background: var(--rule);
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s;
}
.toggle-switch.active { background: var(--accent); }
.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s;
  box-shadow: var(--shadow-sm);
}
.toggle-switch.active::after { transform: translateX(22px); }
.badge-save { 
  background: #dcfce7; color: #16a34a; font-size: 0.75rem; font-weight: 600; 
  padding: 2px 8px; border-radius: 10px; margin-left: 4px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--bg2);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  transition: all 0.3s;
  position: relative;
}
.pricing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.pricing-card.featured {
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
  transform: scale(1.03);
}
.pricing-card.featured:hover { transform: scale(1.03) translateY(-4px); }
.pricing-card .popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 20px;
  border-radius: 20px;
}
.pricing-card .plan-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.pricing-card .plan-desc { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }
.pricing-card .price { 
  font-family: var(--font-heading); 
  font-size: 2.8rem; 
  font-weight: 800; 
  color: var(--ink);
  margin-bottom: 4px;
}
.pricing-card .price .currency { font-size: 1.4rem; }
.pricing-card .price .period { font-size: 1rem; font-weight: 400; color: var(--muted); }
.pricing-card .price-sub { color: var(--muted); font-size: 0.85rem; margin-bottom: 32px; }
.pricing-card .btn { width: 100%; justify-content: center; }
.pricing-features { margin-top: 32px; }
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.pricing-features li svg { width: 18px; height: 18px; flex-shrink: 0; }
.pricing-features li .check { color: #16a34a; }
.pricing-features li .cross { color: #ef4444; }
.pricing-faq { padding: 80px 0; background: var(--bg); }
.faq-grid { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--bg2);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  padding: 20px 24px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}
.faq-question:hover { background: rgba(37,99,235,0.03); }
.faq-question svg { width: 20px; height: 20px; color: var(--muted); transition: transform 0.3s; flex-shrink: 0; }
.faq-question.open svg { transform: rotate(180deg); }
.faq-answer {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  display: none;
}
.faq-answer.open { display: block; }

/* --- About Page --- */
.about-mission {
  padding: 80px 0;
  text-align: center;
  background: var(--bg2);
}
.about-mission h2 { max-width: 800px; margin: 0 auto 1.5rem; }
.about-mission p { max-width: 700px; margin: 0 auto; color: var(--muted); font-size: 1.1rem; }
.about-values { padding: 80px 0; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg2);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  transition: all 0.3s;
}
.value-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.value-card .value-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(8,145,178,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.value-card .value-icon svg { width: 24px; height: 24px; color: var(--accent); }
.value-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.value-card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 0; }

/* --- Contact Page --- */
.contact { padding: 80px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { color: var(--muted); margin-bottom: 2rem; }
.contact-methods { display: flex; flex-direction: column; gap: 20px; }
.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-method svg { width: 24px; height: 24px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact-method h4 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-method p { color: var(--muted); font-size: 0.9rem; margin-bottom: 0; }
.contact-form {
  background: var(--bg2);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 40px;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group .btn { width: 100%; justify-content: center; }

/* --- 官网微信扫码一键注册 --- */
.wx-qr-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 4px;
}
.wx-qr-title { font-size: 1.35rem; margin-bottom: 10px; }
.wx-qr-sub { color: var(--muted); font-size: 0.95rem; line-height: 1.7; max-width: 360px; margin-bottom: 28px; }
.wx-qr-box {
  position: relative;
  width: 220px;
  height: 220px;
  padding: 12px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.wx-qr-img { width: 200px; height: 200px; }
.wx-qr-img canvas,
.wx-qr-img img { display: block; margin: 0 auto; }
.wx-qr-loading { color: var(--muted); font-size: 0.9rem; }
.wx-qr-status {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(255,255,255,0.92);
  border-radius: var(--radius-md);
  color: var(--accent-dark);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.6;
}
.wx-qr-tip { color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; }

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--muted); }
.breadcrumb .sep { margin: 0 8px; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-content p { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .feature-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-detail-grid .feature-detail-visual { order: -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: var(--header-h); left: 0; right: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); padding: 20px 24px; gap: 16px; border-bottom: 1px solid var(--rule); }
  .mobile-toggle { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-item .stat-number { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero { padding: 100px 0 60px; }
  .features, .solutions, .pricing, .contact { padding: 60px 0; }
  .section-header { margin-bottom: 2.5rem; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* --- Form message --- */
.form-message {
  margin-top: 1rem;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  display: none;
}
.form-message.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
  display: block;
}
.form-message.error {
  background: #fbe9e7;
  color: #c62828;
  border: 1px solid #ef9a9a;
  display: block;
}
button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* --- 微信一键注册 --- */
.wx-register-box {
  padding: 4px 0;
}
.wx-register-box .wx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #07c160;
  border-color: #07c160;
  background: #fff;
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all .2s;
}
.wx-register-box .wx-btn:hover {
  background: rgba(7, 193, 96, 0.06);
}
.wx-tip {
  margin: 8px 0 0;
  font-size: 13px;
  color: #64748b;
}
.wx-authed-text {
  font-size: 14px;
  color: #07c160;
  font-weight: 500;
  vertical-align: middle;
}
.wx-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 8px;
  border: 1px solid #e2e8f0;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.6s ease forwards; }
.animate-in-delay-1 { animation-delay: 0.1s; }
.animate-in-delay-2 { animation-delay: 0.2s; }
.animate-in-delay-3 { animation-delay: 0.3s; }

/* --- Utility --- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* --- Legal pages (terms / privacy) --- */
.legal-content { max-width: 820px; margin: 0 auto; text-align: left; }
.legal-content h2 { font-size: 1.35rem; margin: 2.2rem 0 0.8rem; }
.legal-content h3 { font-size: 1.1rem; margin: 1.4rem 0 0.5rem; color: var(--ink); }
.legal-content p { color: var(--muted); font-size: 1.02rem; line-height: 1.8; margin-bottom: 0.8rem; }
.legal-content ul { margin: 0.5rem 0 1rem 1.5rem; }
.legal-content li { color: var(--muted); font-size: 1.02rem; line-height: 1.8; margin-bottom: 0.4rem; }
.legal-content a { color: var(--accent); text-decoration: none; }
.legal-content a:hover { text-decoration: underline; }
.legal-updated { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.5rem !important; }
