:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --ink: #0f172a;
  --ink-secondary: #475569;
  --ink-muted: #64748b;
  --border: #e2e8f0;
  --brand: #07c160;
  --brand-dark: #059669;
  --brand-soft: #ecfdf5;
  --brand-border: #a7f3d0;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 30px -10px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 24px 50px -15px rgba(15, 23, 42, 0.16);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
code { background: #e2e8f0; padding: 2px 6px; border-radius: 6px; font-size: 13px; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.brand-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, #07c160, #059669);
  color: #fff; display: grid; place-items: center; font-size: 18px; font-weight: 800;
  box-shadow: 0 6px 14px rgba(7, 193, 96, 0.28);
}
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 500; color: var(--ink-secondary); }
.nav-links a:hover { color: var(--brand-dark); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 14px; padding: 10px 18px; border-radius: 10px;
  border: 1px solid transparent; cursor: pointer; transition: all 0.18s ease; white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, #07c160, #059669); color: #fff; box-shadow: 0 8px 20px -6px rgba(7, 193, 96, 0.55); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -6px rgba(7, 193, 96, 0.65); }
.btn-dark { background: #0f172a; color: #fff; }
.btn-dark:hover { background: #1e293b; transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--border); }
.btn-outline:hover { border-color: #cbd5e1; background: #f8fafc; }
.btn-lg { padding: 13px 24px; font-size: 15px; border-radius: 12px; }

.hero {
  padding: 64px 0 72px;
  background:
    radial-gradient(circle at 12% 18%, rgba(7, 193, 96, 0.11), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(37, 99, 235, 0.08), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border);
}
.hero-grid { display: grid; grid-template-columns: 1.06fr 0.94fr; gap: 44px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: var(--brand-soft); border: 1px solid var(--brand-border); color: var(--brand-dark);
  font-size: 13px; font-weight: 600; margin-bottom: 18px;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.hero h1 { font-size: 40px; line-height: 1.24; font-weight: 800; letter-spacing: -0.6px; margin-bottom: 16px; }
.hero h1 span { color: var(--brand-dark); }
.hero-desc { font-size: 16px; color: var(--ink-secondary); margin-bottom: 26px; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 14px 20px; font-size: 13px; color: var(--ink-muted); }
.trust-item { display: inline-flex; align-items: center; gap: 6px; }
.trust-check { color: var(--brand-dark); font-weight: 800; }

.app-mock { background: #fff; border: 1px solid #dbe4ee; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.mock-titlebar {
  background: #0f172a; color: #e2e8f0; padding: 11px 16px;
  display: flex; align-items: center; justify-content: space-between; font-size: 12px;
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots span { width: 10px; height: 10px; border-radius: 50%; display: block; }
.dot-r { background: #ef4444; } .dot-y { background: #f59e0b; } .dot-g { background: #22c55e; }
.mock-badge { background: rgba(7, 193, 96, 0.18); color: #6ee7b7; padding: 2px 8px; border-radius: 999px; font-weight: 600; font-size: 11px; }
.mock-body { padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: #f8fafc; }
.mock-panel { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.mock-panel-title { font-size: 12px; font-weight: 700; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
.mock-chip { font-size: 11px; padding: 2px 7px; border-radius: 6px; background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; }
.mock-list { display: flex; flex-direction: column; gap: 7px; }
.mock-row {
  font-size: 12px; padding: 7px 8px; border-radius: 8px; background: #f8fafc; border: 1px solid #eef2f6;
  display: flex; justify-content: space-between; align-items: center; gap: 6px;
}
.tag-ok { font-size: 10px; padding: 2px 6px; border-radius: 5px; background: #dcfce7; color: #15803d; font-weight: 600; white-space: nowrap; }
.tag-wait { font-size: 10px; padding: 2px 6px; border-radius: 5px; background: #e0f2fe; color: #0369a1; font-weight: 600; white-space: nowrap; }
.tag-miss { font-size: 10px; padding: 2px 6px; border-radius: 5px; background: #fef3c7; color: #b45309; font-weight: 600; white-space: nowrap; }
.mock-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.mock-stat { background: #f8fafc; border: 1px solid #eef2f6; border-radius: 8px; padding: 8px; }
.mock-stat small { display: block; font-size: 11px; color: var(--ink-muted); }
.mock-stat strong { font-size: 15px; color: var(--ink); }
.mock-msg { background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 8px; padding: 9px; font-size: 12px; color: var(--ink-secondary); margin-bottom: 10px; line-height: 1.5; }
.mock-progress-bar { height: 8px; background: #e2e8f0; border-radius: 999px; overflow: hidden; margin-bottom: 6px; }
.mock-progress-fill { width: 76%; height: 100%; background: linear-gradient(90deg, #07c160, #10b981); border-radius: 999px; }
.mock-foot { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-muted); }

section { padding: 72px 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 44px; }
.section-kicker { font-size: 13px; font-weight: 700; color: var(--brand-dark); letter-spacing: 0.6px; margin-bottom: 8px; }
.section-head h2 { font-size: 32px; line-height: 1.28; font-weight: 800; margin-bottom: 10px; }
.section-head p { color: var(--ink-secondary); font-size: 15px; }

.features-grid, .steps-grid, .pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feat-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-dark);
  display: grid; place-items: center; font-size: 18px; font-weight: 800; margin-bottom: 14px;
}
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--ink-secondary); }

.steps-section { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.step-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 10px; background: #0f172a; color: #fff; font-weight: 800; font-size: 14px; margin-bottom: 14px;
}
.step-card h3 { font-size: 17px; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--ink-secondary); }

.price-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 28px 24px; display: flex; flex-direction: column; position: relative; box-shadow: var(--shadow-sm);
}
.price-card.featured { border: 2px solid var(--brand); box-shadow: 0 20px 44px -16px rgba(7, 193, 96, 0.28); }
.promo-ribbon {
  position: absolute; top: -13px; right: 20px; background: linear-gradient(135deg, #f97316, #ef4444);
  color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}
.promo-ribbon.blue { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.price-name { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.price-sub { font-size: 13px; color: var(--ink-muted); margin-bottom: 18px; }
.price-amount { display: flex; align-items: baseline; gap: 8px; margin-bottom: 18px; }
.price-now { font-size: 38px; font-weight: 800; line-height: 1; }
.price-card.featured .price-now { color: var(--brand-dark); }
.price-unit { font-size: 14px; color: var(--ink-secondary); }
.price-old { font-size: 14px; color: #94a3b8; text-decoration: line-through; }
.price-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; flex: 1; font-size: 14px; color: var(--ink-secondary); }
.price-list li { display: flex; align-items: flex-start; gap: 8px; }
.price-list li::before { content: "✓"; color: var(--brand-dark); font-weight: 800; flex-shrink: 0; }

.agent-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 65%, #064e3b 100%);
  color: #fff; border-radius: 22px; padding: 40px 36px;
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 28px; align-items: center; box-shadow: var(--shadow-lg);
}
.agent-box h2 { font-size: 28px; line-height: 1.3; margin-bottom: 12px; }
.agent-box p { color: #cbd5e1; font-size: 15px; margin-bottom: 18px; }
.agent-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.agent-tag { background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.16); color: #ecfdf5; font-size: 13px; padding: 6px 12px; border-radius: 999px; }
.agent-side { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); border-radius: 16px; padding: 22px; text-align: center; }
.agent-wx-label { font-size: 13px; color: #94a3b8; margin-bottom: 6px; }
.agent-wx-id { font-size: 24px; font-weight: 800; color: #6ee7b7; letter-spacing: 0.6px; margin-bottom: 14px; }

.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 15px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--brand-dark); font-weight: 700; }
.faq-item[open] summary::after { content: "−"; }
.faq-body { padding: 14px 22px 18px; font-size: 14px; color: var(--ink-secondary); border-top: 1px solid #f1f5f9; }

footer { background: #fff; border-top: 1px solid var(--border); padding: 34px 0; font-size: 13px; color: var(--ink-muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }

.modal-backdrop {
  position: fixed; inset: 0; background: rgba(15, 23, 42, 0.62); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 20px; z-index: 100;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: #fff; border-radius: 20px; width: 100%; max-width: 680px; max-height: 92vh; overflow-y: auto;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28); padding: 26px; position: relative;
}
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border); background: #f8fafc; font-size: 18px; cursor: pointer; color: var(--ink-secondary);
}
.modal-close:hover { background: #e2e8f0; color: var(--ink); }
.modal h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.modal-sub { font-size: 14px; color: var(--ink-secondary); margin-bottom: 18px; }
.qr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.qr-card { border: 1px solid var(--border); border-radius: 14px; padding: 14px; text-align: center; background: #f8fafc; }
.qr-card-title { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.qr-wx { color: #07c160; } .qr-ali { color: #1677ff; }
.qr-card img { width: 100%; max-height: 300px; object-fit: contain; border-radius: 10px; background: #fff; padding: 6px; border: 1px solid #e2e8f0; margin: 0 auto; }
.pay-tip {
  background: var(--brand-soft); border: 1px solid var(--brand-border); color: #065f46;
  border-radius: 12px; padding: 14px 16px; font-size: 14px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
}

.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: #0f172a; color: #fff; padding: 11px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: all 0.22s ease; z-index: 200;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 960px) {
  .hero-grid, .agent-box { grid-template-columns: 1fr; }
  .features-grid, .steps-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .hero { padding: 40px 0 48px; }
  .hero h1 { font-size: 30px; }
  section { padding: 52px 0; }
  .section-head h2 { font-size: 25px; }
  .features-grid, .steps-grid, .pricing-grid, .mock-body, .qr-grid { grid-template-columns: 1fr; }
  .agent-box { padding: 26px 20px; }
}

.download-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 22px; align-items: stretch; }
.dl-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; justify-content: space-between;
}
.dl-card.primary-dl { border: 2px solid var(--brand); background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%); }
.dl-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 20px; font-size: 13px; color: var(--ink-muted); }
.dl-meta span { background: #f1f5f9; padding: 4px 10px; border-radius: 8px; }
.dl-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dl-notes { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--ink-secondary); margin-top: 12px; }
.dl-notes li { display: flex; gap: 8px; }
.dl-notes li strong { color: var(--ink); }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 24px; text-align: center; box-shadow: var(--shadow-sm);
}
.contact-card .c-icon {
  width: 48px; height: 48px; border-radius: 14px; margin: 0 auto 12px;
  background: var(--brand-soft); color: var(--brand-dark); display: grid; place-items: center; font-size: 20px; font-weight: 800;
}
.contact-card h3 { font-size: 17px; margin-bottom: 6px; }
.contact-card .c-val { font-size: 18px; font-weight: 800; color: var(--brand-dark); margin: 8px 0 10px; }
.contact-card p { font-size: 13px; color: var(--ink-muted); margin-bottom: 14px; }

@media (max-width: 960px) {
  .download-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .contact-grid { grid-template-columns: 1fr; }
}
