/* 校小乐旗下业务详情页 · 共享蓝白样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif; color: #333; background: #fff; line-height: 1.6; overflow-x: hidden; }

/* ===== HEADER ===== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.95); backdrop-filter: blur(24px); border-bottom: 1px solid #e5e5e5; padding: 0 24px; }
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 56px; }
.logo { font-size: clamp(14px, 1.2vw, 16px); font-weight: 500; color: #60A5FA; display: flex; align-items: center; gap: clamp(4px, 0.4vw, 6px); text-decoration: none; }
.logo-icon { width: clamp(28px, 2.2vw, 36px); height: clamp(28px, 2.2vw, 36px); border-radius: 6px; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.logo-icon img { width: 100%; height: 100%; object-fit: contain; }
section[id] { scroll-margin-top: 72px; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { font-size: 13px; color: #888; text-decoration: none; font-weight: 400; }
.nav-links a:hover { color: #3B82F6; }
.back-btn { font-size: 13px; color: #999; text-decoration: none; display: flex; align-items: center; gap: 4px; }
.back-btn:hover { color: #3B82F6; }

/* ===== HERO ===== */
.hero { background: linear-gradient(135deg, #f8faff 0%, #eef6ff 100%); text-align: center; padding: 132px 24px 76px; }
.hero-badge { display: inline-block; background: #fff; color: #3B82F6; font-size: 12px; font-weight: 500; padding: 6px 18px; border-radius: 20px; letter-spacing: 1px; margin-bottom: 22px; border: 1px solid #E0EDFF; box-shadow: 0 1px 4px rgba(59,130,246,0.08); }
.hero h1 { font-size: 36px; font-weight: 400; color: #111; margin-bottom: 14px; }
.hero-sub { font-size: 15px; color: #666; font-weight: 400; margin-bottom: 18px; max-width: 640px; margin-left: auto; margin-right: auto; }
.hero-price { font-size: 18px; color: #3B82F6; font-weight: 500; }

/* ===== SECTION TITLE ===== */
.section-title { text-align: center; margin-bottom: 44px; }
.section-title h2 { font-size: 24px; font-weight: 400; color: #111; margin-bottom: 8px; }
.section-title h2 span { color: #3B82F6; }
.section-title p { font-size: 13px; color: #bbb; }

/* ===== FEATURE GRID ===== */
.feature-section { background: #E8F3FF; padding: 72px 24px; }
.feature-inner { max-width: 1200px; margin: 0 auto; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { background: #fff; border-radius: 14px; padding: 30px 22px; text-align: center; border: 1px solid #eaeaea; transition: all 0.25s; }
.feature-card:hover { border-color: #3B82F6; box-shadow: 0 6px 22px rgba(59,130,246,0.12); transform: translateY(-3px); }
.feature-icon { width: 60px; height: 60px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; background: #E8F3FF; border-radius: 16px; }
.feature-icon svg { width: 32px; height: 32px; }
.feature-icon img { width: 40px; height: 40px; object-fit: contain; }
.feature-card h4 { font-size: 16px; font-weight: 500; color: #111; margin-bottom: 8px; }
.feature-card p { font-size: 12.5px; color: #999; line-height: 1.7; }

/* ===== ADVANTAGE ===== */
.adv-section { background: #fff; padding: 72px 24px; }
.adv-inner { max-width: 1080px; margin: 0 auto; }
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.adv-card { background: #fafafa; border-radius: 14px; padding: 28px 22px; text-align: center; border: 1px solid #eaeaea; transition: all 0.25s; }
.adv-card:hover { border-color: #3B82F6; box-shadow: 0 6px 22px rgba(59,130,246,0.10); transform: translateY(-3px); }
.adv-icon { width: 56px; height: 56px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; background: #E8F3FF; border-radius: 16px; }
.adv-icon svg { width: 30px; height: 30px; }
.adv-icon img { width: 36px; height: 36px; object-fit: contain; }
.adv-card h4 { font-size: 15px; font-weight: 500; color: #111; margin-bottom: 8px; }
.adv-card p { font-size: 12.5px; color: #999; line-height: 1.7; }

/* ===== FAQ ===== */
.faq-section { background: #fff; padding: 72px 24px; }
.faq-inner { max-width: 760px; margin: 0 auto; }
.faq-item { background: #fafafa; border-radius: 8px; margin-bottom: 8px; overflow: hidden; border: 1px solid #eaeaea; }
.faq-q { padding: 14px 18px; font-size: 13px; font-weight: 500; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: #111; }
.faq-q:hover { background: #E8F3FF; }
.faq-a { padding: 0 18px 14px; font-size: 12px; color: #999; line-height: 1.8; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-arrow { transition: transform 0.2s; font-size: 11px; color: #ccc; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }

/* ===== SCENARIO ===== */
.scn-section { background: #fafafa; padding: 72px 24px; }
.scn-inner { max-width: 1080px; margin: 0 auto; }
.scn-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.scn-card { background: #fff; border-radius: 14px; padding: 24px 26px; border: 1px solid #eaeaea; display: flex; gap: 16px; align-items: flex-start; }
.scn-num { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: #3B82F6; color: #fff; font-size: 15px; display: flex; align-items: center; justify-content: center; font-weight: 500; }
.scn-text h4 { font-size: 15px; color: #111; margin-bottom: 4px; font-weight: 500; }
.scn-text p { font-size: 12.5px; color: #999; line-height: 1.7; }

/* ===== PRICING ===== */
.price-section { background: #fff; padding: 72px 24px; }
.price-inner { max-width: 1100px; margin: 0 auto; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.price-card { background: #fff; border: 1px solid #eaeaea; border-radius: 14px; padding: 28px 18px; text-align: center; display: flex; flex-direction: column; transition: all 0.25s; }
.price-card:hover { border-color: #3B82F6; box-shadow: 0 6px 22px rgba(59,130,246,0.12); transform: translateY(-3px); }
.price-card.hot { border-color: #3B82F6; box-shadow: 0 8px 26px rgba(59,130,246,0.18); }
.price-tag { font-size: 12px; color: #3B82F6; font-weight: 500; margin-bottom: 8px; }
.price-name { font-size: 17px; color: #111; font-weight: 500; margin-bottom: 6px; }
.price-amt { font-size: 30px; color: #3B82F6; font-weight: 400; margin-bottom: 4px; }
.price-amt small { font-size: 13px; color: #60A5FA; }
.price-desc { font-size: 12px; color: #999; line-height: 1.7; flex: 1; }
.price-note { font-size: 11px; color: #ccc; margin-top: 10px; }

/* ===== CTA ===== */
.cta { background: #E8F3FF; text-align: center; padding: 72px 24px; }
.cta h2 { font-size: 24px; font-weight: 400; color: #111; margin-bottom: 10px; }
.cta p { font-size: 13px; color: #999; margin-bottom: 28px; }
.cta-btns { display: flex; justify-content: center; gap: 12px; }
.cta-btn { padding: 12px 32px; border-radius: 8px; font-weight: 500; font-size: 14px; text-decoration: none; transition: all 0.2s; font-family: inherit; border: none; cursor: pointer; -webkit-appearance: none; appearance: none; line-height: 1.2; }
.cta-btn-primary { background: #3B82F6; color: #fff; }
.cta-btn-primary:hover { background: #2563EB; }
.cta-btn-outline { background: #fff; color: #666; border: 1px solid #ddd; }
.cta-btn-outline:hover { border-color: #3B82F6; color: #3B82F6; }
.qr-modal { position: fixed; inset: 0; z-index: 999; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,0.55); }
.qr-modal.open { display: flex; }
.qr-modal-inner { background: #fff; border-radius: 14px; padding: clamp(20px,4vw,30px) clamp(18px,4vw,28px); width: min(420px, 92vw); text-align: center; position: relative; animation: qrPop .25s ease; }
@keyframes qrPop { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.qr-modal-close { position: absolute; top: 10px; right: 14px; font-size: 22px; color: #999; cursor: pointer; line-height: 1; }
.qr-modal-inner img { width: min(300px, 70vw); height: auto; max-height: 76vh; object-fit: contain; margin: 8px auto 12px; border-radius: 8px; background: #f7f7f7; }
.qr-modal-inner h4 { font-size: 16px; color: #111; margin-bottom: 6px; font-weight: 600; }
.qr-modal-inner p { font-size: 13px; color: #888; line-height: 1.6; }

/* ===== FOOTER ===== */
.footer { background: #fafafa; text-align: center; padding: 24px; border-top: 1px solid #eee; }
.footer p { font-size: 11px; color: #ccc; }
.footer-links { margin: 0 0 8px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; }
.footer-links a { font-size: 12px; color: #999; text-decoration: none; }
.footer-links a:hover { color: #3B82F6; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .logo { font-size: 16px; gap: 6px; }
  .logo-icon { width: 36px; height: 36px; }
  .hero { padding: 116px 16px 56px; }
  .hero h1 { font-size: 26px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .feature-card { padding: 18px 12px; }
  .adv-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .scn-grid { grid-template-columns: 1fr; }
  .faq-section { padding: 48px 16px; }
  .faq-q { font-size: 12px; padding: 12px 14px; }
  .faq-a { font-size: 11px; }
  .price-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .price-amt { font-size: 24px; }
  .section-title h2 { font-size: 20px; }
  .nav-links { display: none; }
}

/* ===== SCROLL REVEAL（业务页统一滚动渐显，无 JS / reduced-motion 自动降级） ===== */
.reveal-init .section-title,
.reveal-init .feature-card,
.reveal-init .adv-card,
.reveal-init .scn-card,
.reveal-init .price-card,
.reveal-init .faq-item,
.reveal-init .cta { opacity: 0; }
.reveal-init .section-title.in,
.reveal-init .feature-card.in,
.reveal-init .adv-card.in,
.reveal-init .scn-card.in,
.reveal-init .price-card.in,
.reveal-init .faq-item.in,
.reveal-init .cta.in { animation: revealUp .6s ease forwards; }
@keyframes revealUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-init .section-title,
  .reveal-init .feature-card,
  .reveal-init .adv-card,
  .reveal-init .scn-card,
  .reveal-init .price-card,
  .reveal-init .faq-item,
  .reveal-init .cta { opacity: 1 !important; }
  .reveal-init .section-title.in,
  .reveal-init .feature-card.in,
  .reveal-init .adv-card.in,
  .reveal-init .scn-card.in,
  .reveal-init .price-card.in,
  .reveal-init .faq-item.in,
  .reveal-init .cta.in { animation: none !important; }
}
