/* ========== 基础 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif; color: #333; background: #fff; line-height: 1.7; font-size: 15px; }
a { color: #5b6abf; text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ========== 导航 ========== */
.nav { background: #fff; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 100; }
.nav-inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 60px; }
.nav-logo { font-size: 20px; font-weight: 700; color: #333; display: flex; align-items: center; gap: 8px; text-decoration: none; }
.nav-logo:hover { text-decoration: none; }
.nav-logo .dot { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, #6366f1, #8b5cf6); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; font-weight: 700; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: #666; font-size: 14px; font-weight: 500; text-decoration: none; }
.nav-links a:hover, .nav-links a.active { color: #6366f1; }

/* ========== Footer ========== */
.footer { background: #1e1e2f; color: #aaa; padding: 40px 24px; text-align: center; font-size: 13px; margin-top: 64px; }
.footer-links { margin-bottom: 16px; display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: #aaa; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer p { margin-bottom: 4px; }
.footer .icp a { color: #777; }
.footer-contact { margin-top: 12px; padding-top: 12px; border-top: 1px solid #333; }

/* ========== 通用 Section ========== */
.section { padding: 64px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 26px; font-weight: 700; margin-bottom: 8px; }
.section-header p { color: #888; font-size: 14px; }
.bg-gray { background: #fafafe; }

/* ========== Hero ========== */
.hero { background: linear-gradient(135deg, #f0f0ff 0%, #e8e6ff 50%, #f5f3ff 100%); padding: 72px 24px 64px; text-align: center; }
.hero-tag { display: inline-block; background: #fff; border: 1px solid #e0ddff; color: #6366f1; padding: 6px 18px; border-radius: 20px; font-size: 13px; margin-bottom: 20px; font-weight: 500; }
.hero h1 { font-size: 34px; font-weight: 800; color: #1a1a2e; margin-bottom: 16px; letter-spacing: -0.5px; }
.hero p { font-size: 16px; color: #666; max-width: 540px; margin: 0 auto 32px; }
.hero-btn { display: inline-block; background: #6366f1; color: #fff; padding: 13px 36px; border-radius: 8px; font-size: 15px; font-weight: 600; text-decoration: none; transition: background 0.2s; }
.hero-btn:hover { background: #4f46e5; text-decoration: none; }

/* ========== 特性卡片 ========== */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card { text-align: center; padding: 28px 16px; background: #fff; border-radius: 12px; border: 1px solid #f0f0f0; }
.feature-icon { font-size: 28px; margin-bottom: 12px; }
.feature-card h4 { font-size: 15px; margin-bottom: 6px; }
.feature-card p { font-size: 13px; color: #888; }

/* ========== 产品卡片 ========== */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card { border: 1px solid #eee; border-radius: 12px; padding: 24px; transition: all 0.2s; background: #fff; display: flex; flex-direction: column; }
.product-card:hover { border-color: #c7c4ff; box-shadow: 0 4px 16px rgba(99,102,241,0.08); transform: translateY(-2px); }
.product-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px; }
.product-icon.purple { background: #f0efff; }
.product-icon.blue { background: #eef4ff; }
.product-icon.pink { background: #fdf0f5; }
.product-icon.green { background: #ecfdf5; }
.product-icon.orange { background: #fff7ed; }
.product-icon.teal { background: #f0fdfa; }
.product-card h3 { font-size: 16px; margin-bottom: 6px; font-weight: 600; }
.product-card .desc { color: #888; font-size: 13px; margin-bottom: 16px; flex: 1; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-size: 22px; font-weight: 700; color: #6366f1; }
.product-price small { font-size: 12px; color: #aaa; font-weight: 400; margin-left: 2px; }
.btn { display: inline-block; padding: 8px 20px; border-radius: 6px; font-size: 13px; font-weight: 500; cursor: pointer; border: none; text-decoration: none; }
.btn:hover { text-decoration: none; }
.btn-primary { background: #6366f1; color: #fff; }
.btn-primary:hover { background: #4f46e5; }
.btn-outline { background: #fff; color: #6366f1; border: 1px solid #6366f1; }
.btn-outline:hover { background: #f5f3ff; }
.btn-lg { padding: 13px 36px; font-size: 15px; font-weight: 600; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ========== 流程 ========== */
.steps { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.step { flex: 1; min-width: 200px; max-width: 280px; text-align: center; padding: 32px 20px; background: #fafafe; border-radius: 12px; }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: #6366f1; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.step h4 { margin-bottom: 8px; font-size: 16px; }
.step p { color: #888; font-size: 13px; }

/* ========== 详情页 ========== */
.detail-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 48px 0; }
.detail-sample { background: #f8f8fc; border-radius: 16px; padding: 32px; min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #eee; }
.detail-sample .sample-label { font-size: 13px; color: #999; margin-bottom: 12px; }
.detail-sample .sample-box { background: #fff; border-radius: 12px; padding: 24px; width: 100%; border: 1px solid #eee; }
.detail-sample .sample-box h4 { font-size: 14px; margin-bottom: 12px; color: #333; }
.detail-sample .sample-bar { height: 8px; border-radius: 4px; margin-bottom: 8px; }
.detail-info h1 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.detail-info .price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 20px; }
.detail-info .price-big { font-size: 36px; font-weight: 800; color: #6366f1; }
.detail-info .price-unit { font-size: 14px; color: #aaa; }
.detail-info .desc-text { color: #666; font-size: 14px; margin-bottom: 24px; line-height: 1.8; }
.detail-features { list-style: none; margin-bottom: 28px; }
.detail-features li { padding: 8px 0; border-bottom: 1px solid #f5f5f5; font-size: 14px; color: #555; display: flex; align-items: center; gap: 8px; }
.detail-features li::before { content: "✓"; color: #6366f1; font-weight: 700; }

/* ========== 支付页 ========== */
.pay-wrap { max-width: 560px; margin: 48px auto; }
.pay-card { background: #fff; border: 1px solid #eee; border-radius: 16px; overflow: hidden; }
.pay-header { background: #fafafe; padding: 24px 28px; border-bottom: 1px solid #eee; }
.pay-header h2 { font-size: 20px; font-weight: 700; }
.pay-body { padding: 28px; }
.pay-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #f5f5f5; font-size: 14px; }
.pay-row:last-child { border-bottom: none; }
.pay-row .label { color: #999; }
.pay-row .value { font-weight: 500; }
.pay-row.total .value { font-size: 24px; font-weight: 700; color: #6366f1; }
.pay-methods { margin-top: 24px; }
.pay-methods h4 { font-size: 14px; color: #666; margin-bottom: 12px; }
.pay-option { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #eee; border-radius: 10px; margin-bottom: 8px; cursor: pointer; transition: all 0.2s; }
.pay-option:hover { border-color: #c7c4ff; }
.pay-option.selected { border-color: #6366f1; background: #fafaff; }
.pay-option input[type="radio"] { accent-color: #6366f1; }
.pay-option .pay-name { font-size: 14px; font-weight: 500; }
.pay-option .pay-icon { font-size: 20px; }
.qr-area { text-align: center; padding: 28px; margin-top: 20px; background: #fafafe; border-radius: 12px; }
.qr-box { width: 180px; height: 180px; margin: 0 auto 16px; background: #fff; border: 1px solid #eee; border-radius: 8px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.qr-placeholder { width: 156px; height: 156px; display: grid; grid-template-columns: repeat(21, 1fr); grid-template-rows: repeat(21, 1fr); gap: 0; }
.qr-placeholder span { border-radius: 0; }
.qr-tip { font-size: 13px; color: #999; }
.qr-tip strong { color: #333; }
.pay-status { text-align: center; margin-top: 20px; font-size: 14px; color: #888; }
.pay-terms { font-size: 12px; color: #bbb; text-align: center; margin-top: 16px; }
.pay-terms a { color: #999; }

/* ========== 关于页 ========== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.about-text p { color: #666; font-size: 14px; margin-bottom: 14px; line-height: 1.8; }
.info-table { width: 100%; }
.info-table td { padding: 12px 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.info-table td:first-child { color: #999; width: 100px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.contact-card { text-align: center; padding: 28px 16px; background: #fafafe; border-radius: 12px; }
.contact-card .c-icon { font-size: 28px; margin-bottom: 10px; }
.contact-card h4 { font-size: 15px; margin-bottom: 4px; }
.contact-card p { font-size: 13px; color: #888; }

/* ========== 协议页 ========== */
.legal-wrap { max-width: 720px; margin: 0 auto; padding: 48px 24px; }
.legal-wrap h1 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.legal-wrap .update-date { color: #999; font-size: 13px; margin-bottom: 32px; }
.legal-wrap h3 { margin: 28px 0 12px; font-size: 16px; }
.legal-wrap p { color: #555; font-size: 14px; margin-bottom: 10px; line-height: 1.9; }

/* ========== 面包屑 ========== */
.breadcrumb { padding: 16px 0; font-size: 13px; color: #999; }
.breadcrumb a { color: #999; }
.breadcrumb a:hover { color: #6366f1; }
.breadcrumb span { margin: 0 6px; }

/* ========== 汉堡菜单 ========== */
.nav-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; padding: 4px 8px; color: #333; }

/* ========== 移动端 ========== */
@media (max-width: 768px) {
  .hero h1 { font-size: 24px; }
  .hero p { font-size: 14px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
  .detail-wrap { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 60px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; border-bottom: 1px solid #eee; box-shadow: 0 4px 12px rgba(0,0,0,0.06); z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 24px; border-top: 1px solid #f5f5f5; }
  .steps { flex-direction: column; align-items: center; }
  .step { max-width: 100%; }
  .pay-wrap { margin: 24px 16px; }
}
