/* ===== 伴灵 BanLing · 官网样式 ===== */
:root {
  --pink: #ff6b9d;
  --pink-soft: #ff9a9e;
  --pink-light: #fecfef;
  --pink-bg: #fff5f8;
  --pink-border: #ffe0e9;
  --ink: #4a3b42;
  --ink-soft: #8a6d78;
  --white: #ffffff;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(255, 107, 157, 0.16);
  --shadow-sm: 0 8px 24px rgba(255, 154, 158, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "幼圆", "YouYuan", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fff7fb 0%, #fff0f6 40%, #ffffff 100%);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
em { font-style: normal; }
code {
  background: #ffeef5;
  color: #d14f7f;
  padding: 2px 8px;
  border-radius: 7px;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 0.92em;
}

/* ===== 导航 ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--pink-border);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--pink);
}
.brand em {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 0;
}
.brand-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-soft), var(--pink));
  box-shadow: 0 0 0 4px var(--pink-border);
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 0.98rem;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--pink); }

/* ===== 首屏 ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 24px 90px;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  z-index: 0;
}
.blob-1 { width: 420px; height: 420px; background: #ffd3e6; top: -80px; left: -60px; }
.blob-2 { width: 480px; height: 480px; background: #ffe0ef; bottom: -140px; right: -80px; }
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: #ffeaf3;
  color: var(--pink);
  font-size: 0.85rem;
  margin-bottom: 18px;
}
.hero-text h1 {
  font-size: 4.4rem;
  line-height: 1.1;
  letter-spacing: 4px;
  background: linear-gradient(120deg, #ff6b9d, #ff9a9e 55%, #c77bff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.slogan {
  font-size: 1.35rem;
  font-weight: 700;
  color: #d15f86;
  margin-bottom: 18px;
}
.desc { font-size: 1.02rem; color: var(--ink-soft); margin-bottom: 30px; }
.actions { display: flex; gap: 14px; margin-bottom: 30px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 1.02rem;
  font-weight: 700;
  transition: transform 0.18s, box-shadow 0.18s;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary {
  background: linear-gradient(135deg, #ff9a9e, #ff6b9d);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { box-shadow: 0 12px 30px rgba(255, 107, 157, 0.32); }
.btn-ghost {
  background: #fff;
  color: var(--pink);
  border: 2px solid var(--pink-border);
}
.btn-ghost:hover { border-color: var(--pink); }
.hero-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-tags li {
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--pink-border);
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.hero-figure {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}
.glow {
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe3ef 0%, rgba(255, 227, 239, 0) 70%);
}
.hero-img {
  position: relative;
  height: 440px;
  object-fit: contain;
  filter: drop-shadow(0 24px 36px rgba(255, 107, 157, 0.25));
  animation: float 4.5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.bubble {
  position: absolute;
  padding: 8px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  font-weight: 700;
  animation: bob 3.4s ease-in-out infinite;
}
.bubble-1 { background: #fff; color: var(--pink); top: 70px; left: 10px; box-shadow: var(--shadow-sm); }
.bubble-2 { background: linear-gradient(135deg, #ff9a9e, #ff6b9d); color: #fff; bottom: 90px; right: 6px; box-shadow: var(--shadow-sm); }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===== 通用 section ===== */
.section { max-width: 1120px; margin: 0 auto; padding: 80px 24px; }
.section-head { text-align: center; margin-bottom: 50px; }
.section-head h2 {
  font-size: 2.1rem;
  letter-spacing: 2px;
  color: #c85680;
  margin-bottom: 12px;
}
.section-head p { color: var(--ink-soft); font-size: 1.02rem; }

/* ===== 功能卡片 ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--pink-border);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: 0 4px 16px rgba(255, 154, 158, 0.06);
  transition: transform 0.22s, box-shadow 0.22s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.card .ico {
  width: 54px; height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffeaf3, #ffe0ef);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.08rem; margin-bottom: 10px; color: #c85680; }
.card p { font-size: 0.9rem; color: var(--ink-soft); }

/* ===== 场景 ===== */
.scenes { background: linear-gradient(180deg, #fff 0%, #fff5f8 100%); }
.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.scene {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  border: 1px solid var(--pink-border);
  box-shadow: 0 4px 16px rgba(255, 154, 158, 0.06);
  transition: transform 0.22s;
}
.scene:hover { transform: translateY(-6px); }
.scene img {
  height: 200px;
  object-fit: contain;
  margin-bottom: 16px;
  filter: drop-shadow(0 10px 16px rgba(255, 107, 157, 0.16));
}
.scene h3 { font-size: 1.12rem; color: #c85680; margin-bottom: 8px; }
.scene p { font-size: 0.9rem; color: var(--ink-soft); }

/* ===== 开始使用 ===== */
.start { padding-bottom: 100px; }
.start-card {
  background: linear-gradient(135deg, #fff 0%, #fff0f6 100%);
  border: 1px solid var(--pink-border);
  border-radius: 28px;
  padding: 50px 44px;
  box-shadow: var(--shadow);
  text-align: center;
}
.start-card h2 { font-size: 2rem; color: #c85680; margin-bottom: 8px; }
.start-sub { color: var(--ink-soft); margin-bottom: 32px; }
.req {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 34px;
  text-align: left;
}
.req-item {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid var(--pink-border);
}
.req-item b { display: block; color: var(--pink); font-size: 0.82rem; margin-bottom: 4px; }
.req-item span { font-size: 0.88rem; color: var(--ink-soft); }
.steps {
  list-style: none;
  text-align: left;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.steps li {
  background: #fff;
  border-radius: 16px;
  padding: 14px 18px;
  border: 1px solid var(--pink-border);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--ink);
}
.step-no {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff9a9e, #ff6b9d);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* ===== 页脚 ===== */
.footer {
  background: linear-gradient(135deg, #ff9a9e, #ff6b9d);
  color: #fff;
  padding: 50px 24px;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.footer .brand-dot { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,0.3); }
.footer p { color: rgba(255,255,255,0.92); font-size: 0.95rem; }
.footer .copy { color: rgba(255,255,255,0.75); font-size: 0.82rem; margin-top: 10px; }

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text h1 { font-size: 3.4rem; }
  .actions, .hero-tags { justify-content: center; }
  .hero-figure { min-height: 380px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .scene-grid { grid-template-columns: 1fr; }
  .req { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .nav-links { display: none; }
  .hero-text h1 { font-size: 2.8rem; }
  .grid { grid-template-columns: 1fr; }
  .req { grid-template-columns: 1fr; }
  .hero-img { height: 340px; }
}
