/* ============================================
   它说啥 landing page · style.css
   品牌主色 #D4537E，移动端优先
   ============================================ */

:root {
  --primary: #D4537E;
  --primary-dark: #B83A66;
  --primary-light: #FCE7EF;
  --accent: #FB923C;
  --ink: #2D2A32;
  --gray: #6B6770;
  --bg: #FFF7FA;
  --bg-alt: #F6F2F5;
  --white: #FFFFFF;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(212, 83, 126, 0.12);
  --maxw: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(212, 83, 126, .35);
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary-light);
}
.btn-ghost:hover { background: var(--primary-light); }
.btn-nav {
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  font-size: 14px;
}

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 247, 250, .85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(212, 83, 126, .08);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; }
.brand-logo { width: 32px; height: 32px; display: block; border-radius: 8px; }
.brand-name { font-size: 18px; color: var(--primary); letter-spacing: .5px; }
.nav-links { margin-left: auto; display: flex; gap: 22px; font-size: 15px; color: var(--gray); }
.nav-links a:hover { color: var(--primary); }
.nav .btn-nav { margin-left: 4px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 80% -10%, rgba(251, 146, 60, .18), transparent 60%),
    radial-gradient(700px 500px at 10% 10%, rgba(212, 83, 126, .15), transparent 55%);
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 20px 64px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}
.badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 46px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.hero-sub {
  margin: 20px 0 28px;
  font-size: 17px;
  color: var(--gray);
  max-width: 480px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--gray); }
.hero-note b { color: var(--primary); }

/* ---------- 手机 mockup ---------- */
.hero-visual { display: flex; justify-content: center; }
.phone {
  width: 260px;
  height: 520px;
  background: #fff;
  border-radius: 38px;
  box-shadow: 0 30px 60px rgba(45, 42, 50, .18);
  border: 8px solid #2D2A32;
  position: relative;
  overflow: hidden;
  transform: rotate(-2deg);
}
.phone-notch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 22px;
  background: #2D2A32;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.phone-screen {
  padding: 34px 16px 16px;
  height: 100%;
  background: linear-gradient(160deg, #FFF0F5, #FDEFE6);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.app-bar {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; font-weight: 700; color: var(--primary-dark);
}
.dot-live { color: #10B981; font-size: 10px; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.bubble {
  background: #fff;
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 6px 14px rgba(45, 42, 50, .06);
  font-size: 13px;
}
.bubble-pet { align-self: flex-start; background: #fff; }
.bubble-human { align-self: stretch; }
.bubble-human p { color: var(--ink); font-size: 13.5px; line-height: 1.55; }
.bubble-tag { display: block; margin-top: 6px; font-size: 10px; color: var(--gray); }
.wave { font-size: 16px; letter-spacing: 2px; }

/* ---------- 通用 section ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 72px 20px; }
.section-alt { max-width: none; background: var(--bg-alt); }
.section-alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { font-size: 32px; font-weight: 800; }
.section-head p { margin-top: 10px; color: var(--gray); font-size: 16px; }

/* ---------- 功能卡片 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.card:hover { transform: translateY(-6px); }
.card-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  background: color-mix(in srgb, var(--c) 16%, #fff);
  margin-bottom: 16px;
}
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--gray); font-size: 14.5px; }

/* ---------- 步骤 ---------- */
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  width: 260px;
  text-align: center;
  box-shadow: var(--shadow);
}
.step-num {
  width: 44px; height: 44px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--gray); font-size: 14px; }
.step-arrow { font-size: 24px; color: var(--primary); font-weight: 700; }

/* ---------- 亮点 ---------- */
.highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.hl {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.hl-emoji {
  font-size: 26px;
  width: 48px; height: 48px;
  flex: 0 0 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-light);
  border-radius: 14px;
}
.hl h4 { font-size: 16px; margin-bottom: 4px; }
.hl p { color: var(--gray); font-size: 14px; }

/* ---------- 获取 CTA ---------- */
.get {
  background: linear-gradient(135deg, var(--primary), #E8729B);
  color: #fff;
  text-align: center;
  padding: 72px 20px;
}
.get-inner { max-width: 560px; margin: 0 auto; }
.get h2 { font-size: 30px; font-weight: 800; }
.get p { margin-top: 12px; font-size: 16px; opacity: .95; }
.get b { font-weight: 700; }
.qr {
  width: 180px; height: 180px;
  margin: 28px auto 0;
  background: #fff;
  border-radius: 20px;
  padding: 12px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px rgba(0,0,0,.15);
}
.qr img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.qr-ph {
  flex-direction: column;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray); text-align: center; gap: 6px;
}
.qr-ph span { font-size: 30px; }
.qr-ph small { font-size: 12px; line-height: 1.5; }
.get-tip { margin-top: 16px; font-size: 13px; opacity: .85; }

/* ---------- 页脚 ---------- */
.footer { background: #2D2A32; color: #cfc9d1; padding: 48px 20px; text-align: center; }
.footer-inner { max-width: 560px; margin: 0 auto; }
.footer .brand-name { color: #fff; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.footer-brand .brand-logo { width: 36px; height: 36px; border-radius: 9px; }
.footer-desc { margin: 12px 0; font-size: 14px; }
.footer-contact { font-size: 14px; color: #fff; }
.footer-icp { margin: 14px 0; font-size: 13px; }
.footer-icp a { color: #b9b2bd; }
.footer-icp a:hover { color: #fff; }
.footer-copy { font-size: 12px; color: #8c8594; margin-top: 8px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding-top: 40px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { margin-top: 8px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 34px; }
  .cards { grid-template-columns: 1fr; }
  .highlights { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .section { padding: 52px 18px; }
  .section-head h2 { font-size: 26px; }
}
