/* 基础变量 */
:root {
  --color-primary: #0071e3;
  --color-primary-dark: #005bb5;
  --color-danger: #dc3545;
  --color-success: #28a745;
  --color-text: #1d1d1f;
  --color-text-muted: #6e6e73;
  --color-bg: #f5f5f7;
  --color-white: #ffffff;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-sans); color: var(--color-text); background: var(--color-bg); line-height: 1.6; font-size: 16px; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.compliance-banner {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  color: white; padding: 14px 0; position: sticky; top: 0; z-index: 1000;
}
.compliance-notice { font-size: 14px; line-height: 1.6; text-align: center; }

.main-nav {
  background: var(--color-white); box-shadow: var(--shadow); position: sticky; top: 60px; z-index: 999;
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; }
.logo { font-weight: 700; font-size: 18px; color: var(--color-primary); text-decoration: none; }
.nav-links { display: flex; list-style: none; gap: 24px; }
.nav-links a { color: var(--color-text); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--color-primary); }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }

.hero { background: linear-gradient(180deg, #fff 0%, var(--color-bg) 100%); padding: 60px 0 80px; text-align: center; }
.hero h1 { font-size: clamp(28px, 5vw, 42px); font-weight: 700; margin-bottom: 16px; }
.hero-subtitle { font-size: 18px; color: var(--color-text-muted); margin-bottom: 32px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn { display: inline-block; padding: 14px 28px; border-radius: 10px; font-weight: 600; text-decoration: none; font-size: 16px; border: none; cursor: pointer; }
.btn-primary { background: var(--color-primary); color: white; }
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-1px); }
.btn-secondary { background: var(--color-white); color: var(--color-primary); border: 2px solid var(--color-primary); }
.btn-secondary:hover { background: var(--color-primary); color: white; }
.btn-lg { padding: 18px 36px; font-size: 18px; }

section { padding: 60px 0; }
section h2 { font-size: 28px; margin-bottom: 40px; text-align: center; }

.highlights { background: var(--color-white); }
.highlight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.highlight-card { background: var(--color-bg); padding: 28px; border-radius: var(--radius); }
.highlight-icon { width: 40px; height: 40px; background: var(--color-success); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; margin-bottom: 16px; }
.highlight-card h3 { font-size: 18px; margin-bottom: 8px; }
.highlight-card p { color: var(--color-text-muted); font-size: 14px; }

.tutorial-advantages { background: var(--color-bg); }
.advantage-list { max-width: 700px; margin: 0 auto; }
.advantage-item { display: flex; gap: 20px; margin-bottom: 28px; align-items: flex-start; }
.advantage-item .num { width: 36px; height: 36px; background: var(--color-primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.advantage-item h4 { font-size: 17px; margin-bottom: 4px; }
.advantage-item p { color: var(--color-text-muted); font-size: 15px; }

.quick-access { background: var(--color-white); }
.access-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.access-card { background: var(--color-bg); padding: 28px; border-radius: var(--radius); text-decoration: none; color: var(--color-text); border: 2px solid transparent; }
.access-card:hover { border-color: var(--color-primary); transform: translateY(-2px); }
.access-card h3 { font-size: 18px; margin-bottom: 8px; color: var(--color-primary); }
.access-card p { font-size: 14px; color: var(--color-text-muted); }

.paid-preview { background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%); }
.paid-features ul { list-style: none; }
.paid-features li { padding: 10px 0; font-size: 16px; }

.disclaimer { background: var(--color-white); }
.disclaimer-content { max-width: 800px; margin: 0 auto; }
.disclaimer-content p { margin-bottom: 20px; font-size: 15px; color: var(--color-text-muted); line-height: 1.8; }

.page-hero { padding: 40px 0 30px; background: var(--color-white); border-bottom: 1px solid #eee; text-align: center; }
.page-hero h1 { font-size: 28px; margin-bottom: 8px; }
.page-hero .hero-subtitle { color: var(--color-text-muted); font-size: 16px; }
.page-header { padding: 40px 0 30px; background: var(--color-white); border-bottom: 1px solid #eee; }
.page-header h1 { font-size: 28px; margin-bottom: 8px; }
.page-header p { color: var(--color-text-muted); font-size: 16px; }

.prep-list { margin-bottom: 32px; }
.prep-item { background: var(--color-white); padding: 24px; margin-bottom: 16px; border-radius: var(--radius); box-shadow: var(--shadow); }
.prep-item h3 { font-size: 17px; margin-bottom: 8px; color: var(--color-primary); }
.prep-item p { color: var(--color-text-muted); font-size: 15px; line-height: 1.8; }
.prep-item a { color: var(--color-primary); }
.cta-box { text-align: center; padding: 32px; background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%); border-radius: var(--radius); }
.cta-box p { margin-bottom: 16px; color: var(--color-text-muted); }

.pitfall-list { margin: 16px 0 24px; padding-left: 24px; }
.pitfall-list li { margin-bottom: 12px; line-height: 1.8; color: var(--color-text-muted); }
.warning-box { background: #fff3cd; border: 1px solid #ffc107; border-radius: 8px; padding: 16px; margin: 16px 0 24px; }
.warning-box p { color: #856404; margin: 0; }

.faq-q { font-weight: 600; color: var(--color-text); margin-bottom: 8px; }
.faq-a { color: var(--color-text-muted); font-size: 15px; line-height: 1.8; margin: 0; }

.paid-step label { display: block; margin-bottom: 8px; font-weight: 500; }
.paid-step input[type="email"] { width: 100%; padding: 12px 16px; border: 2px solid #eee; border-radius: 8px; font-size: 16px; margin-bottom: 16px; }
.paid-step input:focus { outline: none; border-color: var(--color-primary); }
.btn-block { width: 100%; margin-top: 8px; }
.payment-note { font-size: 13px; color: var(--color-text-muted); margin-bottom: 24px; line-height: 1.6; }
.region-label { font-size: 14px; color: var(--color-text-muted); margin-bottom: 12px; }
.choose-hint { font-size: 14px; color: var(--color-text-muted); margin-bottom: 12px; }
.scan-tip { font-size: 15px; margin-bottom: 12px; }
.order-no { font-size: 14px; color: var(--color-text-muted); margin-bottom: 20px; }
.qr-row { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.qr-box { text-align: center; }
.qr-box span { display: block; font-size: 14px; margin-bottom: 8px; }
.qr-box .qr-placeholder { min-width: 160px; min-height: 160px; }
.after-pay { font-size: 14px; color: var(--color-text-muted); }
.service-box { max-width: 500px; margin: 32px auto 0; padding: 24px; background: var(--color-white); border-radius: var(--radius); box-shadow: var(--shadow); }
.service-box h3 { font-size: 16px; margin-bottom: 12px; }
.service-box p { font-size: 14px; color: var(--color-text-muted); line-height: 1.6; }

.content-section { padding: 40px 0; }
.content-section h2 { margin-bottom: 24px; text-align: left; }
.steps-list { max-width: 800px; margin: 0 auto; }
.step-item { background: var(--color-white); padding: 28px; margin-bottom: 20px; border-radius: var(--radius); box-shadow: var(--shadow); }
.step-item h3 { font-size: 18px; margin-bottom: 12px; color: var(--color-primary); }
.step-item p, .step-item ul { color: var(--color-text-muted); font-size: 15px; line-height: 1.8; }
.step-item ul { margin: 12px 0 0 20px; }
.step-item .important { background: #f8d7da; padding: 12px 16px; border-radius: 8px; margin-top: 12px; font-size: 14px; color: #721c24; }

.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--color-white); padding: 24px; margin-bottom: 16px; border-radius: var(--radius); box-shadow: var(--shadow); }
.faq-item h3 { font-size: 17px; margin-bottom: 12px; }
.faq-item p { color: var(--color-text-muted); font-size: 15px; line-height: 1.8; }

.payment-section { max-width: 500px; margin: 0 auto; background: var(--color-white); padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow); }
.price-tag { font-size: 36px; font-weight: 700; color: var(--color-primary); margin-bottom: 24px; }
.payment-methods { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.payment-method { padding: 16px 24px; border: 2px solid #eee; border-radius: 10px; cursor: pointer; }
/* 支付宝始终显示，避免旧脚本或缓存把按钮隐藏 */
#payment-methods .payment-method[data-method="alipay"] {
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.payment-method:hover, .payment-method.active { border-color: var(--color-primary); background: #f0f7ff; }
.qr-placeholder { border: 2px dashed #ddd; border-radius: 10px; padding: 40px; text-align: center; background: #fafafa; color: var(--color-text-muted); }

footer { background: var(--color-text); color: #999; padding: 24px 0; text-align: center; font-size: 14px; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-white); flex-direction: column; padding: 20px; }
  .nav-links.active { display: flex; }
  .hero { padding: 40px 0 60px; }
  section { padding: 40px 0; }
  .payment-section { padding: 24px 20px; margin: 0 16px; }
  .payment-methods { flex-direction: column; }
  .payment-method { width: 100%; text-align: center; }
  .btn { padding: 12px 24px; font-size: 15px; }
  .btn-lg { padding: 14px 28px; font-size: 16px; }
  .compliance-notice { font-size: 12px; padding: 10px 8px; }
  .page-hero h1 { font-size: 22px; }
  .content-section h2 { font-size: 20px; }
  .qr-row { flex-direction: column; }
  .qr-box .qr-placeholder { min-width: 140px; min-height: 140px; }
}
