/* ============================================================
   商家入驻 - 页面优化版 本地样式
   说明：全站零外部依赖（无外链 JS / 字体 / 图片），可离线打开。
   原站链接已保留，见 index.html 中 href 处注释。
   ============================================================ */

:root{
  --primary:#2563eb;
  --primary-dark:#1d4ed8;
  --primary-soft:#e8f0ff;
  --accent:#ff8a00;
  --accent-dark:#f07000;
  --bg:#f5f8fc;
  --card:#ffffff;
  --text:#1f2937;
  --text-light:#5b6b7f;
  --border:#e5eaf1;
  --radius:14px;
  --shadow:0 10px 34px rgba(37,99,235,.10);
  --shadow-lg:0 18px 44px rgba(37,99,235,.14);
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:"PingFang SC","Microsoft YaHei","Segoe UI",system-ui,-apple-system,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img,svg{display:block;max-width:100%}
a{text-decoration:none;color:inherit}
ul{list-style:none}
.container{width:min(1120px,92%);margin:0 auto}

/* ---------- 按钮 ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border:none;cursor:pointer;border-radius:999px;font-weight:600;
  font-size:15px;transition:all .2s ease;white-space:nowrap;
}
.btn-accent{
  background:linear-gradient(135deg,var(--accent),#ffb300);
  color:#fff;padding:12px 30px;
  box-shadow:0 8px 20px rgba(255,138,0,.32);
}
.btn-accent:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(255,138,0,.42)}
.btn-primary{
  background:linear-gradient(135deg,var(--primary),#38bdf8);
  color:#fff;padding:12px 30px;
  box-shadow:0 8px 20px rgba(37,99,235,.30);
}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(37,99,235,.40)}
.btn-ghost{
  background:#fff;color:var(--primary);
  border:1px solid var(--primary);padding:11px 26px;
}
.btn-ghost:hover{background:var(--primary-soft)}

/* ---------- 顶部导航 ---------- */
.header{
  position:sticky;top:0;z-index:100;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:66px}
.logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:20px;color:var(--primary)}
.logo-mark{
  width:36px;height:36px;border-radius:10px;flex:none;
  background:linear-gradient(135deg,var(--primary),#38bdf8);
  display:grid;place-items:center;color:#fff;font-size:18px;
  box-shadow:0 4px 12px rgba(37,99,235,.35);
}
.logo small{display:block;font-size:11px;font-weight:500;color:var(--text-light);letter-spacing:1px}
.nav{display:flex;gap:30px}
.nav a{color:var(--text-light);font-size:15px;font-weight:500}
.nav a:hover{color:var(--primary)}
.header .btn{padding:9px 22px;font-size:14px}

/* ---------- 首屏 Hero ---------- */
.hero{
  position:relative;overflow:hidden;
  background:linear-gradient(180deg,#cfe6ff 0%,#eaf6ff 55%,#f6fbf0 100%);
  padding:78px 0 0;
  text-align:center;
}
.hero-inner{position:relative;z-index:2}
.hero-badge{
  display:inline-flex;align-items:center;gap:8px;
  background:#fff;border:1px solid #d7e6ff;color:var(--primary);
  border-radius:999px;padding:7px 18px;font-size:14px;font-weight:600;
  box-shadow:0 4px 14px rgba(37,99,235,.12);margin-bottom:22px;
}
.hero-badge::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px rgba(255,138,0,.18)}
.hero h1{
  font-size:clamp(34px,5.4vw,56px);font-weight:800;letter-spacing:2px;
  color:#0e2450;line-height:1.2;
}
.hero h1 .hl{
  background:linear-gradient(135deg,var(--primary),#00b8ff);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.hero-sub{
  font-size:clamp(18px,2.6vw,27px);color:#34465c;font-weight:600;
  margin:16px 0 30px;
}
.hero-sub strong{color:var(--accent)}
.hero-cta{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}

/* 优势卡片 */
.adv-row{
  position:relative;z-index:2;
  display:grid;grid-template-columns:repeat(3,1fr);gap:20px;
  margin-top:58px;
}
.adv-card{
  background:#fff;border-radius:var(--radius);padding:26px 24px;
  box-shadow:var(--shadow);text-align:left;
  display:flex;gap:16px;align-items:flex-start;
  transition:transform .25s ease,box-shadow .25s ease;
}
.adv-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.adv-icon{
  width:50px;height:50px;border-radius:13px;flex:none;
  display:grid;place-items:center;color:#fff;
}
.adv-icon.brand{background:linear-gradient(135deg,#2563eb,#60a5fa)}
.adv-icon.cat{background:linear-gradient(135deg,#f97316,#fbbf24)}
.adv-icon.users{background:linear-gradient(135deg,#059669,#34d399)}
.adv-card h3{font-size:17px;margin-bottom:6px}
.adv-card p{font-size:13.5px;color:var(--text-light)}

/* 草地 */
.hero-grass{position:relative;z-index:1;margin-top:64px;display:block;width:100%}

/* 热气球（装饰） */
.balloon{position:absolute;z-index:1;opacity:.95;animation:float 6s ease-in-out infinite}
.balloon.b1{top:38px;left:6%;animation-delay:0s}
.balloon.b2{top:70px;right:8%;animation-delay:1.6s}
.balloon.b3{top:220px;left:15%;opacity:.55;animation-delay:3s}
@keyframes float{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-16px)}
}

/* ---------- 通用区块 ---------- */
.section{padding:76px 0}
.section-head{text-align:center;margin-bottom:44px}
.section-head .tag{
  display:inline-block;color:var(--primary);background:var(--primary-soft);
  border-radius:999px;padding:5px 16px;font-size:13px;font-weight:600;margin-bottom:14px;
}
.section-head h2{font-size:clamp(26px,3.4vw,34px);font-weight:800;color:#0e2450}
.section-head p{color:var(--text-light);margin-top:10px;font-size:15px}

/* ---------- 入驻指南 ---------- */
.guide-card{
  background:var(--card);border-radius:20px;box-shadow:var(--shadow);
  padding:44px;display:flex;align-items:center;gap:34px;
  border:1px solid var(--border);flex-wrap:wrap;
}
.guide-icon{
  width:92px;height:92px;flex:none;border-radius:22px;
  background:linear-gradient(135deg,#2563eb,#38bdf8);
  display:grid;place-items:center;color:#fff;
  box-shadow:0 10px 24px rgba(37,99,235,.32);
}
.guide-text{flex:1;min-width:260px}
.guide-text h3{font-size:23px;font-weight:800;margin-bottom:8px;color:#0e2450}
.guide-text p{color:var(--text-light);font-size:15px;max-width:560px}
.guide-card .btn{margin-left:auto}

/* ---------- 入驻咨询 ---------- */
.query{
  background:linear-gradient(135deg,#0e2450 0%,#1d4ed8 100%);
  border-radius:22px;padding:52px;color:#fff;position:relative;overflow:hidden;
}
.query::after{
  content:"";position:absolute;right:-70px;top:-70px;width:240px;height:240px;
  border-radius:50%;background:rgba(255,255,255,.08);
}
.query::before{
  content:"";position:absolute;right:60px;bottom:-90px;width:200px;height:200px;
  border-radius:50%;background:rgba(255,255,255,.06);
}
.query-inner{position:relative;z-index:2;display:flex;align-items:center;gap:36px;flex-wrap:wrap}
.query-text{flex:1;min-width:280px}
.query-text h3{font-size:26px;font-weight:800;margin-bottom:14px}
.query-questions{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}
.query-questions li{
  background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);
  border-radius:999px;padding:7px 16px;font-size:13.5px;
}
.query-actions{display:flex;flex-direction:column;gap:14px;align-items:flex-start}
.query-actions .btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.75)}
.query-actions .btn-ghost:hover{background:rgba(255,255,255,.14)}

/* ---------- 入驻流程时间线 ---------- */
.flow{background:#fff;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.flow-head{
  display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;
}
.flow-head .flow-link{
  color:var(--primary);font-size:14px;display:inline-flex;align-items:center;gap:4px;
}
.flow-head .flow-link:hover{text-decoration:underline}
.flow-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-top:8px;
  position:relative;
}
.flow-step{
  background:#f7faff;border:1px solid var(--border);border-radius:18px;
  padding:30px 24px;position:relative;transition:transform .25s ease,box-shadow .25s ease;
}
.flow-step:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.flow-step .step-no{
  position:absolute;top:-16px;left:24px;
  width:34px;height:34px;border-radius:50%;
  background:linear-gradient(135deg,var(--primary),#38bdf8);color:#fff;
  display:grid;place-items:center;font-weight:800;font-size:15px;
  box-shadow:0 4px 10px rgba(37,99,235,.35);
}
.flow-step .step-icon{
  width:54px;height:54px;border-radius:14px;margin-bottom:16px;
  display:grid;place-items:center;color:#fff;
}
.flow-step:nth-child(1) .step-icon{background:linear-gradient(135deg,#2563eb,#60a5fa)}
.flow-step:nth-child(2) .step-icon{background:linear-gradient(135deg,#f97316,#fbbf24)}
.flow-step:nth-child(3) .step-icon{background:linear-gradient(135deg,#7c3aed,#a78bfa)}
.flow-step:nth-child(4) .step-icon{background:linear-gradient(135deg,#059669,#34d399)}
.flow-step h4{font-size:18px;font-weight:800;margin-bottom:4px;color:#0e2450}
.flow-step .step-time{
  display:inline-block;font-size:12px;font-weight:600;color:var(--accent-dark);
  background:#fff3e6;border-radius:999px;padding:3px 12px;margin:4px 0 14px;
}
.flow-step ul li{
  font-size:13.5px;color:var(--text-light);padding:4px 0 4px 20px;position:relative;
}
.flow-step ul li::before{
  content:"";position:absolute;left:4px;top:12px;width:6px;height:6px;
  border-radius:50%;background:var(--primary);opacity:.55;
}

/* ---------- 底部 CTA ---------- */
.cta-band{
  text-align:center;padding:70px 0;
  background:linear-gradient(180deg,var(--bg),#eaf2ff);
}
.cta-band h2{font-size:clamp(26px,3.4vw,34px);font-weight:800;color:#0e2450;margin-bottom:12px}
.cta-band p{color:var(--text-light);margin-bottom:28px}

/* ---------- 页脚 ---------- */
.footer{background:#0e2450;color:#c7d6f2;padding:34px 0;font-size:13.5px}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.footer a{color:#fff;font-weight:600}
.footer a:hover{text-decoration:underline}

/* ---------- 响应式 ---------- */
@media (max-width:960px){
  .adv-row{grid-template-columns:1fr}
  .flow-grid{grid-template-columns:repeat(2,1fr)}
  .query{padding:40px 28px}
}
@media (max-width:640px){
  .nav{display:none}
  .header .btn{padding:8px 16px;font-size:13px}
  .hero{padding:54px 0 0}
  .flow-grid{grid-template-columns:1fr}
  .guide-card{padding:30px 22px;text-align:center;justify-content:center}
  .guide-card .btn{margin:0 auto}
  .query-actions{align-items:center}
  .footer-inner{justify-content:center;text-align:center}
}
