/* 一桩小事 H5 品牌官网 · 移动优先 */
:root {
  --brand-orange: #FF9A00;
  --brand-green: #00C853;
  --accent-blue: #00D4FF;
  --bg-dark: #050815;
  --bg-panel: rgba(255,255,255,0.05);
  --bg-panel-strong: rgba(255,255,255,0.09);
  --text: #F4F7FF;
  --text-muted: #9BA5C7;
  --radius: 22px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== 动态背景 ===== */
.bg-canvas {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,154,0,0.18) 0%, transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(0,200,83,0.14) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(0,212,255,0.10) 0%, transparent 50%),
    linear-gradient(160deg, #050815 0%, #0B1026 55%, #050815 100%);
}
.blobs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.blobs::before, .blobs::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55;
  animation: blobMove 18s ease-in-out infinite alternate;
}
.blobs::before {
  width: 320px; height: 320px; background: radial-gradient(circle, var(--brand-orange), transparent 70%);
  top: -80px; right: -90px;
}
.blobs::after {
  width: 400px; height: 400px; background: radial-gradient(circle, var(--brand-green), transparent 70%);
  bottom: -120px; left: -120px;
  animation-duration: 22s; animation-delay: -5s;
}
@keyframes blobMove {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(-40px,60px) scale(1.15); }
}

/* ===== 页面容器 ===== */
.wrap { position: relative; z-index: 1; }
section { padding: 72px 20px; }
.container { max-width: 720px; margin: 0 auto; }

/* ===== 导航 ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 20px;
  background: rgba(5,8,21,0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between;
}
.nav .brand { display:flex; align-items:center; gap:10px; font-weight:700; letter-spacing: 0.5px; }
.nav .brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav .cta-mini {
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: linear-gradient(135deg, var(--brand-orange), #FF6D00);
  color: #fff; text-decoration: none; box-shadow: 0 4px 14px rgba(255,106,0,0.28);
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 100px 20px 80px; text-align: center; position: relative;
}
.hero-inner { max-width: 720px; }
.hero-logo {
  width: 130px; height: 130px; margin: 0 auto 22px;
  border-radius: 28px; background: rgba(255,255,255,0.96);
  padding: 18px; box-shadow: 0 20px 60px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.08);
  animation: popIn 0.9s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-logo img { width:100%; height:100%; object-fit: contain; }
.hero h1 {
  font-size: clamp(40px, 10vw, 62px); line-height: 1.1; font-weight: 800; margin-bottom: 14px;
  background: linear-gradient(135deg, #fff 20%, #FFE082 60%, var(--brand-orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: fadeUp 0.8s ease both 0.15s;
}
.hero .tag {
  font-size: clamp(18px, 4.5vw, 26px); color: var(--text-muted); margin-bottom: 28px;
  animation: fadeUp 0.8s ease both 0.3s;
}
.hero .punch {
  font-size: 15px; color: var(--text); opacity: 0.9; max-width: 520px; margin: 0 auto 32px;
  animation: fadeUp 0.8s ease both 0.45s;
}
.hero-btns {
  display: flex; flex-direction: column; gap: 14px; align-items: center;
  animation: fadeUp 0.8s ease both 0.6s;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 34px; border-radius: 999px; font-size: 16px; font-weight: 700;
  text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand-orange), #FF6D00);
  color: #fff; box-shadow: 0 10px 32px rgba(255,109,0,0.35);
}
.btn-ghost {
  background: rgba(255,255,255,0.08); color: var(--text);
  border: 1px solid rgba(255,255,255,0.18);
}

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--text-muted); font-size: 12px; opacity: 0.7;
  animation: bounce 2s infinite;
}
.scroll-hint span { display:block; width: 24px; height: 24px; border-right:2px solid var(--text-muted); border-bottom:2px solid var(--text-muted); transform: rotate(45deg); }

@keyframes popIn { from { opacity:0; transform: scale(0.8) translateY(20px); } to { opacity:1; transform: scale(1) translateY(0); } }
@keyframes fadeUp { from { opacity:0; transform: translateY(26px); } to { opacity:1; transform: translateY(0); } }
@keyframes bounce { 0%,20%,50%,80%,100%{transform:translateX(-50%) translateY(0);} 40%{transform:translateX(-50%) translateY(-10px);} 60%{transform:translateX(-50%) translateY(-5px);} }

/* ===== 通用标题 ===== */
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-label {
  display: inline-block; padding: 6px 16px; border-radius: 999px; font-size: 12px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; color: var(--brand-green);
  background: rgba(0,200,83,0.12); border: 1px solid rgba(0,200,83,0.25); margin-bottom: 12px;
}
.sec-title { font-size: clamp(26px, 6vw, 36px); font-weight: 800; margin-bottom: 10px; }
.sec-sub { color: var(--text-muted); font-size: 15px; max-width: 520px; margin: 0 auto; }

/* ===== 数据条 ===== */
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 72px;
}
.stat-card {
  background: var(--bg-panel); border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius); padding: 22px 16px; text-align: center;
  backdrop-filter: blur(10px); transition: transform .25s, background .25s;
}
.stat-card:hover { transform: translateY(-4px); background: var(--bg-panel-strong); }
.stat-card .num {
  font-size: 36px; font-weight: 800; background: linear-gradient(135deg, #fff, var(--accent-blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-card .unit { font-size: 14px; color: var(--text-muted); }

/* ===== 业务闭环 ===== */
.loops { display: grid; gap: 16px; }
.loop-card {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius);
  padding: 24px 22px; display: flex; gap: 18px; align-items: flex-start;
  transition: transform .25s, border-color .25s;
}
.loop-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.2); }
.loop-icon {
  flex-shrink: 0; width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center; font-size: 26px;
  background: linear-gradient(135deg, rgba(255,154,0,0.2), rgba(0,200,83,0.2));
  border: 1px solid rgba(255,255,255,0.08);
}
.loop-card h3 { font-size: 18px; margin-bottom: 6px; }
.loop-card p { font-size: 14px; color: var(--text-muted); }

/* ===== 服务流程 ===== */
.flow { display: grid; gap: 18px; position: relative; padding-left: 28px; }
.flow::before {
  content:''; position: absolute; left: 13px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, var(--brand-orange), var(--brand-green), var(--accent-blue));
  border-radius: 2px;
}
.flow-step {
  position: relative; background: var(--bg-panel); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px; padding: 18px 20px;
}
.flow-step .dot {
  position: absolute; left: -22px; top: 22px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--brand-green); box-shadow: 0 0 0 4px rgba(0,200,83,0.18);
}
.flow-step h4 { font-size: 16px; margin-bottom: 4px; }
.flow-step p { font-size: 13px; color: var(--text-muted); }

/* ===== 透明定价 ===== */
.price-grid { display: grid; gap: 16px; }
.price-card {
  background: var(--bg-panel); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 22px; transition: transform .25s;
}
.price-card:hover { transform: translateY(-4px); }
.price-card h4 { font-size: 17px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.price-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 14px; }
.price-row:last-child { border-bottom: none; }
.price-row span:first-child { color: var(--text-muted); }
.price-row .price { color: var(--brand-orange); font-weight: 700; }
.price-note { margin-top: 18px; padding: 12px 16px; border-radius: 12px; background: rgba(255,154,0,0.08); border: 1px solid rgba(255,154,0,0.2); font-size: 13px; color: var(--text); }

/* ===== 核心优势 ===== */
.features { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.feature {
  background: var(--bg-panel); border: 1px solid rgba(255,255,255,0.07); border-radius: 18px;
  padding: 20px 14px; text-align: center; transition: transform .25s;
}
.feature:hover { transform: translateY(-4px); }
.feature .emoji { font-size: 30px; margin-bottom: 10px; display:block; }
.feature h5 { font-size: 15px; margin-bottom: 4px; }
.feature p { font-size: 12px; color: var(--text-muted); }

/* ===== CTA / Footer ===== */
.cta {
  text-align: center; padding: 64px 20px; background: linear-gradient(135deg, rgba(0,200,83,0.12), rgba(255,154,0,0.12));
  border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08);
}
.cta h2 { font-size: clamp(24px,6vw,34px); margin-bottom: 16px; }
.cta p { color: var(--text-muted); margin-bottom: 28px; font-size: 15px; }
footer { text-align: center; padding: 30px 20px; color: var(--text-muted); font-size: 12px; }

/* ===== 滚动显现动画 ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: all .7s cubic-bezier(0.22,1,0.36,1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ===== 加载层 ===== */
#loader {
  position: fixed; inset: 0; z-index: 9999; background: var(--bg-dark);
  display: grid; place-items: center; transition: opacity .4s, visibility .4s;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-ring {
  width: 56px; height: 56px; border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.08);
  border-top-color: var(--brand-orange); border-right-color: var(--brand-green);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== 小桌面优化 ===== */
@media (min-width: 560px) {
  .hero-btns { flex-direction: row; justify-content: center; }
  .stats { grid-template-columns: repeat(4,1fr); }
  .loops { grid-template-columns: repeat(2,1fr); }
  .flow { padding-left: 36px; }
  .flow::before { left: 17px; }
  .flow-step .dot { left: -28px; }
  .features { grid-template-columns: repeat(4,1fr); }
}

@media (min-width: 900px) {
  section { padding: 90px 24px; }
}
