* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif; background: linear-gradient(180deg, #f0f7ff 0%, #f8fafc 100%); color: #1e293b; -webkit-tap-highlight-color: transparent; min-height: 100vh; }
img { display: block; max-width: 100%; height: auto; border-radius: 16px; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

.hover-lift { transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.hover-lift:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -12px rgba(59, 130, 246, 0.25); }

.card-glass { background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.5); }

.gradient-text { background: linear-gradient(135deg, #2563eb 0%, #14b8a6 50%, #f97316 100%); background-size: 200% 200%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: gradient 6s ease infinite; }

.back-to-top { position: fixed; bottom: 104px; right: 24px; width: 48px; height: 48px; background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); color: #fff; border: none; border-radius: 50%; cursor: pointer; box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4); opacity: 0; visibility: hidden; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); z-index: 50; display: flex; align-items: center; justify-content: center; }
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 32px rgba(59, 130, 246, 0.5); }

/* 右下角"每日恢复日报"圆形按钮 */
.dc-recheck-fab { position: fixed; bottom: 24px; right: 20px; z-index: 55; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%); color: #fff; border: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(59, 130, 246, 0.45); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.dc-recheck-fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 32px rgba(59, 130, 246, 0.5); }
.dc-recheck-fab.done { background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%); box-shadow: 0 8px 24px rgba(100, 116, 139, 0.4); }
.dc-recheck-fab svg { width: 24px; height: 24px; }
.dc-recheck-fab #dcRecheckText { font-size: 12px; font-weight: 700; line-height: 1; margin-top: 4px; }
/* 日报弹窗打开时，导航栏（骨logo/右上角菜单）和悬浮按钮不可点击 */
body.dc-open #navbar,
body.dc-open .dc-recheck-fab { pointer-events: none; }

.section-title { position: relative; display: inline-block; }
.section-title::after { content: ''; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); width: 60px; height: 4px; background: linear-gradient(90deg, #3b82f6, #14b8a6); border-radius: 2px; }

.quick-entry { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.quick-entry:hover { transform: translateY(-4px) scale(1.02); }
.quick-entry:hover .entry-icon { transform: scale(1.1); }
.entry-icon { transition: transform 0.3s ease; }

@media (max-width: 640px) {
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ============================================================
   首页样式（替代原 Tailwind 工具类）
   ============================================================ */

/* ---------- 顶部导航 ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); padding: 1rem 0; }
.nav.scrolled { padding: 0.5rem 0; }
.nav-inner { max-width: 56rem; margin: 0 auto; padding: 0 1.25rem; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo { width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; background: linear-gradient(to bottom right, #3b82f6, #14b8a6); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.875rem; font-weight: 700; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }
.nav-title { font-size: 1rem; font-weight: 700; color: #1e293b; letter-spacing: -0.025em; }
.nav-links { display: none; }
.nav-link { color: #475569; font-weight: 500; transition: color 0.15s ease; }
.nav-link:hover { color: #2563eb; }
.nav-burger { color: #475569; padding: 0.375rem; border-radius: 0.5rem; transition: background-color 0.15s ease; }
.nav-burger:hover { background: #f1f5f9; }
.mobile-menu { display: none; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-top: 1px solid #f1f5f9; margin-top: 0.75rem; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }
.mobile-menu.open { display: block; }
.mobile-menu-list { padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav-link { display: block; padding: 0.75rem; color: #334155; font-weight: 500; border-radius: 0.75rem; transition: background-color 0.15s ease; }
.mobile-nav-link:hover { background: #eff6ff; }
@media (min-width: 768px) {
  .nav-links { display: flex; align-items: center; gap: 1.75rem; font-size: 1rem; }
  .nav-burger { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 6rem 0 2.5rem; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(to bottom right, #eff6ff, #f0f9ff, #f0fdfa); }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(64px); }
.hero-blob--a { top: 2.5rem; right: 0; width: 18rem; height: 18rem; background: rgba(147, 197, 253, 0.2); animation: float 8s ease-in-out infinite; }
.hero-blob--b { bottom: 0; left: 0; width: 14rem; height: 14rem; background: rgba(94, 234, 212, 0.2); animation: float 6s ease-in-out infinite; }
.hero-blob--c { top: 33.333%; left: 25%; width: 8rem; height: 8rem; background: hsla(32, 98%, 83%, 0.15); filter: blur(40px); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 50% { opacity: 0.5; } }
.hero-content { max-width: 56rem; margin: 0 auto; padding: 0 1.25rem; position: relative; }
.hero-text { text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.375rem 1rem; background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); border-radius: 9999px; font-size: 14px; font-weight: 500; color: #2563eb; margin-bottom: 1.25rem; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); border: 1px solid rgba(219, 234, 254, 0.5); }
.hero-badge-dot { width: 0.5rem; height: 0.5rem; background: #4ade80; border-radius: 50%; animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.hero-title { font-size: 2.25rem; font-weight: 900; color: #1e293b; line-height: 1.25; letter-spacing: -0.025em; }
.hero-sub { font-size: 16px; color: #64748b; margin-top: 0.75rem; letter-spacing: 0.025em; }
@media (min-width: 768px) {
  .hero { padding: 7rem 0 3rem; }
  .hero-text { text-align: left; }
  .hero-title { font-size: 3.75rem; line-height: 1; }
  .hero-sub { font-size: 1.125rem; }
}

/* ---------- 快捷入口 ---------- */
.quick-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 3rem; padding: 0 1rem; }
.quick-entry { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.25rem; cursor: pointer; border-radius: 1rem; padding: 0.75rem 0 1rem; flex: 0 1 calc(50% - 0.5rem); min-width: 7rem; max-width: 11.5rem; }
.quick-entry:hover { box-shadow: 0 4px 24px -6px rgba(59, 130, 246, 0.15); }
.quick-entry-label { font-size: 16px; font-weight: 600; color: #334155; text-align: center; line-height: 1.25; }
.entry-icon { font-size: 1.875rem; }
.shadow-soft { box-shadow: 0 2px 16px -4px rgba(0, 0, 0, 0.05); }

/* ---------- 首页通用区块 ---------- */
.home-section { max-width: 56rem; margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }
#pain { padding-top: 2.5rem; padding-bottom: 2rem; }
#services { padding-top: 2rem; padding-bottom: 1.5rem; }
#compare { padding-top: 1.5rem; padding-bottom: 3rem; }
.section-center { text-align: center; margin-bottom: 2.5rem; }
.home-headline { font-size: 1.5rem; font-weight: 900; line-height: 1.25; letter-spacing: -0.025em; }
.headline-second { display: block; margin-top: 0.5rem; }
.text-blue { color: #2563eb; }
.text-dark { color: #1e293b; }
.stack-lg { display: flex; flex-direction: column; gap: 1.5rem; }
.section-kicker { color: #2563eb; font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; letter-spacing: 0.025em; }
.section-lede { color: #64748b; font-size: 16px; margin-top: 1.5rem; max-width: 36rem; margin-left: auto; margin-right: auto; }
@media (min-width: 768px) {
  .home-headline { font-size: 2.25rem; }
  .section-kicker { font-size: 1.125rem; }
}

/* ---------- 康复痛点卡片 ---------- */
.pain-card { background: #fff; border-radius: 1rem; padding: 1rem; box-shadow: 0 4px 24px -6px rgba(59, 130, 246, 0.15); border: 1px solid #f8fafc; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.pain-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -12px rgba(59, 130, 246, 0.25); }
.pain-card-media { position: relative; }
.pain-card-img { width: 100%; margin-bottom: 0.75rem; border-radius: 0.75rem; max-width: 32rem; margin-left: auto; margin-right: auto; position: relative; z-index: 10; }
.pain-card-shadow { position: absolute; bottom: -0.5rem; left: 50%; transform: translateX(-50%); width: 5rem; height: 3rem; background: rgba(219, 234, 254, 0.5); border-radius: 1rem; z-index: 0; }
.pain-card-caption { text-align: center; margin-bottom: 0.75rem; }
.pain-card-title-main { display: inline-block; color: #2563eb; font-weight: 900; font-size: 1.25rem; }
.pain-card-title-sub { display: inline-block; color: #334155; font-weight: 700; font-size: 1.125rem; margin-left: 0.5rem; }
.pain-card-text { color: #475569; font-size: 16px; line-height: 1.625; text-align: center; max-width: 36rem; margin: 0 auto; }
@media (min-width: 768px) {
  .pain-card { padding: 1.25rem; }
  .pain-card-title-main { font-size: 1.5rem; }
  .pain-card-title-sub { font-size: 1.25rem; }
  .pain-card-text { font-size: 1rem; }
}

/* ---------- 三大核心模块卡片 ---------- */
.feature-card { background: #fff; border-radius: 1rem; padding: 1.25rem; box-shadow: 0 4px 24px -6px rgba(59, 130, 246, 0.15); border: 1px solid #f8fafc; overflow: hidden; position: relative; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -12px rgba(59, 130, 246, 0.25); }
.feature-card-blob { position: absolute; width: 8rem; height: 8rem; border-radius: 50%; }
.feature-card-blob--top-right { top: 0; right: 0; background: #eff6ff; transform: translate(50%, -50%); }
.feature-card-blob--top-left { top: 0; left: 0; background: #eef2ff; transform: translate(-50%, -50%); }
.feature-card-blob--bottom-right { bottom: 0; right: 0; width: 7rem; height: 7rem; background: #ecfdf5; transform: translate(50%, 50%); }
.feature-card-body { display: flex; align-items: flex-start; gap: 1rem; position: relative; z-index: 10; }
.feature-num { font-weight: 900; font-size: 1.875rem; flex: none; line-height: 1; margin-top: 0.25rem; opacity: 0.2; }
.feature-text { flex: 1; min-width: 0; }
.feature-title { font-weight: 700; font-size: 1.125rem; margin-bottom: 0.25rem; }
.feature-desc { color: #475569; font-size: 16px; line-height: 1.625; max-width: 32rem; margin: 0.75rem auto 0; text-align: center; }
.feature-card-img { width: 100%; margin-top: 1.25rem; border-radius: 1rem; max-width: 32rem; margin-left: auto; margin-right: auto; position: relative; z-index: 10; }
.feature-card--blue .feature-num { color: #3b82f6; }
.feature-card--blue .feature-title { color: #2563eb; }
.feature-card--indigo .feature-num { color: #6366f1; }
.feature-card--indigo .feature-title { color: #4f46e5; }
.feature-card--emerald .feature-num { color: #10b981; }
.feature-card--emerald .feature-title { color: #059669; }
@media (min-width: 768px) {
  .feature-card { padding: 1.5rem; }
  .feature-card-body { gap: 1.5rem; }
  .feature-num { font-size: 3rem; }
  .feature-title { font-size: 1.25rem; }
}

/* ---------- 传统 vs 智能对比 ---------- */
.compare-card { background: #fff; border-radius: 1rem; box-shadow: 0 4px 24px -6px rgba(59, 130, 246, 0.15); overflow: hidden; border: 1px solid #f8fafc; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.compare-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -12px rgba(59, 130, 246, 0.25); }
.compare-img { width: 100%; }
.compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.compare-col { padding: 1.25rem; }
.compare-col + .compare-col { border-left: 1px solid #f1f5f9; }
.compare-col--old { background: rgba(248, 250, 252, 0.6); }
.compare-head { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.compare-emoji { font-size: 1.125rem; }
.compare-name { font-size: 16px; font-weight: 700; color: #64748b; }
.compare-name--new { color: #2563eb; }
.compare-list { display: flex; flex-direction: column; gap: 0.75rem; font-size: 16px; color: #475569; }
.compare-list--old { color: #64748b; }
.compare-list li { display: flex; align-items: flex-start; gap: 0.625rem; }
.compare-dot { width: 0.375rem; height: 0.375rem; border-radius: 50%; background: #60a5fa; margin-top: 0.375rem; flex: none; }
.compare-dot--old { background: #cbd5e1; }
@media (min-width: 768px) {
  .compare-col { padding: 1.5rem; }
}

/* ---------- 每日恢复日报弹窗 ---------- */
.modal-head { position: relative; background: linear-gradient(90deg, #2563eb, #0ea5e9); padding: 0.75rem 1.25rem; color: #fff; text-align: center; }
.modal-title { font-size: 18px; font-weight: 900; letter-spacing: 0.025em; }
#dcClose { position: absolute; top: 8px; right: 14px; z-index: 10; color: #fff; font-size: 1.875rem; line-height: 1; font-weight: 700; transition: color 0.15s ease; }
#dcClose:hover { color: rgba(255, 255, 255, 0.7); }
.report-lines { display: flex; flex-direction: column; gap: 0.75rem; font-size: 16px; color: #334155; line-height: 1.625; }
.report-line { display: flex; gap: 0.5rem; align-items: flex-start; }
.report-line .dot { margin-top: 0.5rem; width: 0.375rem; height: 0.375rem; border-radius: 50%; background: #60a5fa; flex: none; }
#dcReport b.praise { color: #059669; }
#dcReport b.hint-blue { color: #2563eb; }
#dcReport b.hint-orange { color: #f97316; }

/* ===== 每日恢复日报 ===== */
.dc-overlay { animation: dcFade .25s ease; }
@keyframes dcFade { from { opacity: 0; } to { opacity: 1; } }
.dc-card { animation: dcPop .35s cubic-bezier(.34,1.56,.64,1); }
@keyframes dcPop { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
/* 弹窗布局自绘，避免依赖被裁剪的 Tailwind 编译类 */
#dailyReport .dc-card { width: 100%; max-width: 400px; box-shadow: 0 20px 45px -12px rgba(15, 23, 42, .45); }
#dcClose { top: 8px; right: 14px; }
#dcResponse { padding: 24px 28px 28px; }
#dcDone { padding-top: 14px; padding-bottom: 14px; margin-top: 36px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
#dcFab { transition: all .25s cubic-bezier(0.4, 0, 0.2, 1); }
#dcFab:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 12px 28px rgba(59,130,246,.4); }
