/* 签到云平台 - H5签到端样式 */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif; color: #333; background: #f5f6fa; }
body { min-height: 100vh; }

/* ========== 认证页 ========== */
.auth-page { background: linear-gradient(135deg, #1890FF 0%, #096dd9 100%); min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.auth-container { width: 100%; max-width: 380px; }
.auth-logo { width: 56px; height: 56px; line-height: 56px; text-align: center; background: #fff; color: #1890FF; border-radius: 14px; font-weight: bold; font-size: 20px; margin: 0 auto 16px; }
.auth-title { text-align: center; color: #fff; font-size: 26px; margin-bottom: 8px; }
.auth-slogan { text-align: center; color: rgba(255,255,255,0.85); font-size: 14px; margin-bottom: 30px; }
.auth-card { background: #fff; border-radius: 12px; padding: 24px 20px; box-shadow: 0 8px 30px rgba(0,0,0,0.15); }
.auth-tabs { display: flex; border-bottom: 1px solid #eee; margin-bottom: 18px; }
.auth-tabs .tab { flex: 1; text-align: center; padding: 10px 0; color: #999; cursor: pointer; font-size: 15px; position: relative; }
.auth-tabs .tab.active { color: #1890FF; font-weight: 600; }
.auth-tabs .tab.active::after { content: ''; position: absolute; bottom: -1px; left: 30%; right: 30%; height: 2px; background: #1890FF; }
.auth-form .form-group { margin-bottom: 16px; }
.auth-form label { display: block; font-size: 13px; color: #666; margin-bottom: 6px; }
.auth-form input, .auth-form select, .auth-form textarea { width: 100%; height: 44px; border: 1px solid #ddd; border-radius: 8px; padding: 0 12px; font-size: 15px; outline: none; transition: border-color .2s; }
.auth-form input:focus { border-color: #1890FF; }
.code-group .code-input { display: flex; gap: 8px; }
.code-input input { flex: 1; }
.btn-code { width: 120px; height: 44px; background: #f0f7ff; color: #1890FF; border: 1px solid #1890FF; border-radius: 8px; font-size: 13px; cursor: pointer; white-space: nowrap; }
.btn-code:disabled { background: #f5f5f5; color: #bbb; border-color: #ddd; }
.btn-primary { width: 100%; height: 46px; background: #1890FF; color: #fff; border: none; border-radius: 8px; font-size: 16px; cursor: pointer; margin-top: 8px; }
.btn-primary:active { background: #096dd9; }
.btn-secondary { width: 100%; height: 44px; background: #fff; color: #666; border: 1px solid #ddd; border-radius: 8px; font-size: 15px; cursor: pointer; margin-top: 10px; }
.auth-tip { text-align: center; color: rgba(255,255,255,0.8); font-size: 13px; margin-top: 20px; line-height: 1.8; }
.onboard-header { text-align: center; color: #fff; margin-bottom: 20px; }
.onboard-header h1 { font-size: 22px; margin-bottom: 8px; }
.field-tip { font-size: 12px; color: #999; margin-top: 4px; }
.required { color: #f5222d; }

/* ========== 签到页 ========== */
.sign-page { background: #f5f6fa; }
.sign-container { max-width: 480px; margin: 0 auto; min-height: 100vh; background: #fff; }
.sign-header { text-align: center; padding: 24px 20px 16px; border-bottom: 1px solid #f0f0f0; }
.tenant-logo { max-height: 40px; max-width: 160px; margin-bottom: 12px; }
.tenant-logo-text { font-size: 16px; color: #1890FF; font-weight: 600; margin-bottom: 12px; }
.activity-name { font-size: 20px; margin-bottom: 10px; }
.activity-meta { font-size: 13px; color: #999; margin-bottom: 4px; }
.invite-badge { display: inline-block; background: #fff7e6; color: #fa8c16; padding: 4px 12px; border-radius: 12px; font-size: 12px; margin-top: 8px; }
.ad-banner { position: relative; margin: 12px 16px; border-radius: 8px; overflow: hidden; background: #f9f9f9; }
.ad-tag { position: absolute; top: 6px; right: 6px; background: rgba(0,0,0,0.5); color: #fff; font-size: 11px; padding: 2px 6px; border-radius: 4px; z-index: 2; }
.ad-image { width: 100%; display: block; }
.ad-text-link { display: block; padding: 14px; text-decoration: none; color: #333; }
.ad-text-link strong { display: block; font-size: 15px; margin-bottom: 4px; }
.ad-text-link span { font-size: 13px; color: #666; }
.sign-form { padding: 16px; }
.sign-form .form-group { margin-bottom: 16px; }
.sign-form label { display: block; font-size: 14px; color: #333; margin-bottom: 6px; }
.sign-form input, .sign-form select, .sign-form textarea { width: 100%; height: 44px; border: 1px solid #ddd; border-radius: 8px; padding: 0 12px; font-size: 15px; }
.sign-form textarea { height: 80px; padding: 10px 12px; }
.radio-group { display: flex; flex-wrap: wrap; gap: 12px; padding: 6px 0; }
.radio-group label { font-size: 14px; }
.privacy-check { margin: 16px 0; font-size: 13px; color: #666; }
.privacy-check a { color: #1890FF; }
.attendee-mode .form-group input#phoneTail { font-size: 22px; letter-spacing: 8px; text-align: center; height: 56px; }
.phone-tail-boxes { display: flex; justify-content: center; gap: 12px; margin: 8px 0; }
.phone-tail-boxes .tail-box {
    width: 56px; height: 56px; text-align: center; font-size: 24px; font-weight: 600;
    border: 2px solid #d9d9d9; border-radius: 10px; background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
}
.phone-tail-boxes .tail-box:focus {
    border-color: #1890FF; outline: none;
    box-shadow: 0 0 0 3px rgba(24,144,255,0.15);
}
.phone-tail-boxes .tail-box.filled { border-color: #1890FF; color: #1890FF; }
.phone-tail-boxes .tail-box.error { border-color: #ff4d4f; color: #ff4d4f; }
.candidate-list { display: flex; flex-direction: column; gap: 8px; }
.candidate-item { padding: 12px; border: 1px solid #ddd; border-radius: 8px; cursor: pointer; }
.candidate-item:hover, .candidate-item.selected { border-color: #1890FF; background: #f0f7ff; }

/* ========== 结果页 ========== */
.result-page { background: #f5f6fa; display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 20px; }
.result-container { background: #fff; border-radius: 12px; padding: 40px 24px; text-align: center; max-width: 360px; width: 100%; }
.result-icon { width: 72px; height: 72px; line-height: 72px; border-radius: 50%; margin: 0 auto 16px; font-size: 40px; color: #fff; }
.result-icon.success { background: #52c41a; }
.result-icon.error { background: #f5222d; }
.result-title { font-size: 22px; margin-bottom: 16px; }
.result-title.error { color: #f5222d; }
.result-info { text-align: left; margin: 20px 0; }
.info-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #f0f0f0; font-size: 15px; }
.info-row span { color: #999; }
.result-tip { font-size: 13px; color: #999; margin-top: 12px; line-height: 1.6; }
.result-copyright { margin-top: 20px; padding-top: 16px; border-top: 1px solid #f0f0f0; font-size: 12px; color: #bfbfbf; line-height: 1.6; text-align: center; word-break: break-all; }

/* ========== 返回首页链接 ========== */
.auth-back { display: inline-block; color: rgba(255,255,255,0.85); font-size: 14px; margin-bottom: 16px; text-decoration: none; }
.auth-back:hover { color: #fff; }

/* ========== 官网宣传首页 ========== */
.landing-page { background: #fff; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif; }

/* 顶部导航 */
.landing-nav { position: fixed; top: 0; left: 0; right: 0; height: 64px; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); box-shadow: 0 1px 8px rgba(0,0,0,0.06); display: flex; align-items: center; justify-content: space-between; padding: 0 24px; z-index: 100; }
.nav-logo { font-size: 22px; font-weight: bold; color: #1890FF; }
.nav-login-btn { height: 36px; padding: 0 24px; background: #1890FF; color: #fff; border: none; border-radius: 18px; font-size: 14px; cursor: pointer; transition: background .2s; }
.nav-login-btn:hover { background: #096dd9; }

/* 主视觉区 */
.landing-hero { background: linear-gradient(135deg, #1890FF 0%, #096dd9 100%); min-height: 520px; display: flex; align-items: center; justify-content: center; padding: 80px 20px 60px; text-align: center; }
.hero-content { max-width: 720px; }
.hero-title { color: #fff; font-size: 48px; margin-bottom: 16px; font-weight: bold; letter-spacing: 2px; }
.hero-subtitle { color: rgba(255,255,255,0.9); font-size: 18px; margin-bottom: 36px; line-height: 1.6; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-hero-primary { height: 52px; padding: 0 40px; background: #fff; color: #1890FF; border: none; border-radius: 26px; font-size: 16px; font-weight: 600; cursor: pointer; transition: transform .2s; }
.btn-hero-primary:hover { transform: translateY(-2px); }
.btn-hero-secondary { height: 52px; padding: 0 40px; background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); border-radius: 26px; font-size: 16px; cursor: pointer; transition: border-color .2s; }
.btn-hero-secondary:hover { border-color: #fff; }

/* 数据亮点 */
.landing-stats { display: flex; justify-content: center; gap: 60px; padding: 48px 20px; background: #fff; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-num { font-size: 36px; font-weight: bold; color: #1890FF; margin-bottom: 8px; }
.stat-label { font-size: 14px; color: #666; }

/* 通用标题 */
.section-title { text-align: center; font-size: 32px; color: #333; margin-bottom: 12px; font-weight: bold; }
.section-desc { text-align: center; font-size: 16px; color: #666; margin-bottom: 40px; }

/* 核心优势 */
.landing-features { padding: 60px 24px; background: #f5f6fa; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; max-width: 1080px; margin: 0 auto; }
.feature-card { background: #fff; border-radius: 12px; padding: 32px 24px; text-align: center; transition: box-shadow .2s, transform .2s; }
.feature-card:hover { box-shadow: 0 8px 24px rgba(24,144,255,0.12); transform: translateY(-4px); }
.feature-icon { font-size: 48px; margin-bottom: 16px; }
.feature-title { font-size: 18px; color: #333; margin-bottom: 12px; font-weight: 600; }
.feature-desc { font-size: 14px; color: #666; line-height: 1.7; }

/* 使用流程 */
.landing-steps { padding: 60px 24px; background: #fff; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; max-width: 960px; margin: 0 auto; }
.step-item { text-align: center; position: relative; }
.step-num { width: 56px; height: 56px; line-height: 56px; border-radius: 50%; background: #1890FF; color: #fff; font-size: 24px; font-weight: bold; margin: 0 auto 16px; }
.step-title { font-size: 18px; color: #333; margin-bottom: 8px; font-weight: 600; }
.step-desc { font-size: 14px; color: #666; line-height: 1.6; }

/* 套餐对比 */
.landing-pricing { padding: 60px 24px; background: #f5f6fa; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 1080px; margin: 0 auto; }
.pricing-card { background: #fff; border-radius: 12px; padding: 32px 24px; text-align: center; position: relative; border: 2px solid transparent; transition: border-color .2s; }
.pricing-card.featured { border-color: #1890FF; }
.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #1890FF; color: #fff; padding: 4px 16px; border-radius: 12px; font-size: 12px; }
.pricing-name { font-size: 16px; color: #666; margin-bottom: 12px; }
.pricing-price { font-size: 40px; color: #333; font-weight: bold; margin-bottom: 24px; }
.pricing-price span { font-size: 14px; color: #999; font-weight: normal; }
.pricing-features { list-style: none; margin-bottom: 24px; text-align: left; }
.pricing-features li { padding: 8px 0; font-size: 14px; color: #666; border-bottom: 1px solid #f5f5f5; }
.pricing-features li::before { content: '✓'; color: #52c41a; margin-right: 8px; font-weight: bold; }
.btn-pricing { width: 100%; height: 44px; background: #f0f7ff; color: #1890FF; border: 1px solid #1890FF; border-radius: 22px; font-size: 15px; cursor: pointer; transition: background .2s; }
.btn-pricing:hover { background: #1890FF; color: #fff; }

/* 套餐功能对比表（PLAT-12） */
.landing-compare { padding: 60px 24px; background: #fff; }
.compare-table-wrap { max-width: 1080px; margin: 0 auto; overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.compare-table th, .compare-table td { padding: 14px 16px; text-align: center; border-bottom: 1px solid #f0f0f0; font-size: 14px; color: #595959; }
.compare-table thead th { background: #fafafa; color: #262626; font-weight: 600; }
.compare-table thead th:first-child { text-align: left; }
.compare-table tbody tr:hover { background: #fafafa; }
.compare-table .cmp-label { text-align: left; color: #262626; font-weight: 600; background: #fafafa; }
.compare-table .cmp-yes { display: inline-block; padding: 2px 10px; background: #f6ffed; color: #52c41a; border: 1px solid #b7eb8f; border-radius: 10px; font-size: 12px; }
.compare-table .cmp-no { display: inline-block; padding: 2px 10px; background: #fff1f0; color: #f5222d; border: 1px solid #ffa39e; border-radius: 10px; font-size: 12px; }

/* 底部 CTA */
.landing-cta { padding: 80px 24px; background: linear-gradient(135deg, #1890FF 0%, #096dd9 100%); text-align: center; }
.cta-title { color: #fff; font-size: 32px; margin-bottom: 12px; font-weight: bold; }
.cta-desc { color: rgba(255,255,255,0.9); font-size: 16px; margin-bottom: 32px; }
.btn-cta { height: 52px; padding: 0 48px; background: #fff; color: #1890FF; border: none; border-radius: 26px; font-size: 16px; font-weight: 600; cursor: pointer; transition: transform .2s; }
.btn-cta:hover { transform: translateY(-2px); }

/* 底部 */
.landing-footer { padding: 24px; background: #262626; text-align: center; }
.landing-footer p { color: #888; font-size: 13px; }

/* 移动端适配 */
@media (max-width: 768px) {
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 15px; }
    .section-title { font-size: 24px; }
    .landing-stats { gap: 24px; }
    .stat-num { font-size: 28px; }
    .features-grid { grid-template-columns: 1fr; }
}
