/* ===== supubao 平台专属样式 ===== */

/* 顶部导航 */
.site-nav { position: sticky; top: 0; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); z-index: 20; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; max-width: 1080px; margin: 0 auto; }
.logo { font-weight: 800; font-size: 20px; color: var(--primary); }
.logo span { font-size: 12px; color: var(--muted); font-weight: 500; margin-left: 6px; letter-spacing: 1px; }
.site-nav nav { display: flex; gap: 18px; align-items: center; }
.site-nav nav a { color: var(--text); font-size: 14px; }
.site-nav nav a.btn { color: #fff; }

/* Hero */
.hero { background: linear-gradient(160deg, #e6f4f1 0%, #f2f7f6 55%, #eef6f4 100%); padding: 64px 0 56px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.hero h1 { font-size: 40px; line-height: 1.25; margin: 0 0 16px; }
.hero p { color: var(--muted); font-size: 16px; line-height: 1.9; margin: 0 0 24px; }
.hero-actions { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.hero-badges { color: var(--muted); font-size: 13px; }
.hero-visual { position: relative; }
.mock-card { background: #fff; border-radius: 16px; box-shadow: 0 18px 50px rgba(15, 118, 110, 0.14); padding: 18px; border: 1px solid var(--border); }
.mock-card .mock-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 13px; color: var(--muted); }
.mock-stat { display: flex; gap: 10px; margin-bottom: 12px; }
.mock-stat div { flex: 1; background: var(--primary-soft); border-radius: 10px; padding: 10px; text-align: center; }
.mock-stat b { display: block; font-size: 20px; color: var(--primary); }
.mock-stat span { font-size: 11px; color: var(--muted); }
.mock-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f0f5f4; font-size: 13px; }
.mock-row:last-child { border-bottom: none; }
.mock-row .ok { color: #0f8a5f; }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; } .hero h1 { font-size: 30px; } }

/* 通用区块 */
.section { max-width: 1080px; margin: 0 auto; padding: 56px 16px; }
.section h2 { font-size: 28px; text-align: center; margin: 0 0 8px; }
.section .sub { text-align: center; color: var(--muted); margin: 0 0 32px; }

/* 行业场景 */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.industry-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); }
.industry-card .icon { font-size: 26px; }
.industry-card h3 { margin: 10px 0 6px; font-size: 16px; }
.industry-card p { color: var(--muted); font-size: 13px; margin: 0; line-height: 1.7; }
@media (max-width: 860px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .industry-grid { grid-template-columns: 1fr; } }

/* 功能模块 */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); }
.feature-card .icon { font-size: 26px; }
.feature-card h3 { margin: 10px 0 10px; font-size: 17px; }
.feature-card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13px; line-height: 2; }
@media (max-width: 700px) { .feature-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.faq-item p { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 10px 0 0; }

/* 底部 CTA */
.cta-band { background: linear-gradient(135deg, var(--primary), var(--primary-2)); padding: 56px 16px; }
.cta-inner { max-width: 720px; margin: 0 auto; text-align: center; color: #fff; }
.cta-inner h2 { font-size: 28px; margin: 0 0 10px; }
.cta-inner p { opacity: 0.9; margin: 0 0 22px; }
.cta-inner .btn { background: #fff; color: var(--primary); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); }

/* 模块卡片 */
.module-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.module-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); }
.module-card .icon { font-size: 28px; }
.module-card h3 { margin: 10px 0 6px; }
.module-card p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.7; }
@media (max-width: 700px) { .module-grid { grid-template-columns: 1fr; } }

/* 价格 */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.price-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); }
.price-card h3 { margin: 0 0 2px; font-size: 17px; }
.price-card .desc { color: var(--muted); font-size: 12px; margin-bottom: 10px; }
.plan-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.plan-row:last-child { border-bottom: none; }
.plan-price { color: var(--primary); font-weight: 700; }

/* 三步开通 */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px; text-align: center; box-shadow: var(--shadow); }
.step .num { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 10px; }
.step h3 { margin: 0 0 6px; font-size: 16px; }
.step p { color: var(--muted); font-size: 13px; margin: 0; }
@media (max-width: 700px) { .steps-grid { grid-template-columns: 1fr; } }

/* 商户中心 */
.sub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 18px; }
.sub-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); }
.sub-card.active { border-color: var(--primary-2); }
.sub-card h3 { margin: 0 0 4px; font-size: 16px; }
.sub-card .desc { color: var(--muted); font-size: 12px; min-height: 18px; }
.sub-meta { margin-top: 10px; font-size: 13px; }
.sub-meta .expire { color: var(--primary); font-weight: 600; }
@media (max-width: 700px) { .sub-grid { grid-template-columns: 1fr; } }

/* 弹窗 */
.modal { position: fixed; inset: 0; background: rgba(18, 49, 45, 0.45); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 20px; }
.modal-box { background: #fff; border-radius: 16px; padding: 24px; max-width: 400px; width: 100%; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25); }
.modal-box h3 { margin: 0 0 14px; }
.modal-box input { width: 100%; padding: 11px 12px; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 10px; font-size: 14px; outline: none; }
.modal-box input:focus { border-color: var(--primary-2); }

/* 图表 */
.chart { display: flex; align-items: flex-end; gap: 10px; height: 170px; padding: 10px 4px 0; }
.chart-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; }
.chart-bar { width: 100%; max-width: 36px; background: linear-gradient(180deg, var(--primary-2), var(--primary)); border-radius: 6px 6px 0 0; min-height: 2px; }
.chart-label { font-size: 11px; color: var(--muted); }
.chart-val { font-size: 11px; color: var(--primary); font-weight: 600; }
.chart-legend { text-align: center; color: var(--muted); font-size: 12px; margin-top: 8px; }

/* 平台后台 */
.admin-form select { padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; font-size: 14px; background: #fbfdfd; outline: none; }
.code-box { width: 100%; min-height: 120px; border: 1px solid var(--border); border-radius: 10px; padding: 10px; font-family: Consolas, monospace; font-size: 13px; margin-top: 10px; outline: none; }
.small-input { padding: 6px 8px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; width: 100px; outline: none; }

/* 协议页 */
.legal { max-width: 820px; margin: 0 auto; padding: 40px 20px 80px; }
.legal h1 { font-size: 24px; }
.legal h2 { font-size: 17px; margin-top: 26px; }
.legal p, .legal li { color: #3b4d4a; font-size: 14px; line-height: 1.9; }
