/* Enercode 官网 · 内容区块 */
.section { padding: 120px 0; position: relative; }
.head { max-width: 680px; margin-bottom: 56px; }
.head.center { margin: 0 auto 56px; text-align: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.18em; color: var(--violet); margin-bottom: 14px; }
.head h2 { font-size: clamp(32px, 4.4vw, 54px); }
.head p { margin-top: 18px; font-size: 17px; color: var(--muted); }

/* ---------- 便当格功能区 ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.card {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 34px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card h3 { font-size: 26px; margin: 14px 0 10px; }
.card p { color: var(--muted); font-size: 15px; max-width: 360px; }
.tag { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(68, 138, 255, 0.1); color: var(--blue); }
.span-4 { grid-column: span 4; }
.span-3 { grid-column: span 3; }
.span-2 { grid-column: span 2; }
.card-energy { min-height: 440px; background: linear-gradient(150deg, #eef3ff 0%, #f4efff 55%, #fff4f7 100%); }
.card-energy .mini { position: absolute; right: 30px; bottom: -120px; width: 250px; transform: rotate(6deg); }
.dims { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; max-width: 330px; }
.dims span { padding: 6px 12px; border-radius: 12px; background: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 4px 12px -6px rgba(62, 56, 160, 0.3); }
.card-daily { background: linear-gradient(160deg, #fff8e1, #fff 70%); }
.card-daily .tag { background: rgba(246, 180, 12, 0.16); color: #b07a00; }
.card-daily .chars { display: flex; margin-top: 26px; }
.card-daily .chars img { width: 74px; margin-right: -14px; transition: transform 0.3s var(--ease); }
.card-daily .chars img:hover { transform: translateY(-8px) rotate(-6deg); }
.card-fortune { background: var(--ink); color: #fff; }
.card-fortune p { color: rgba(255, 255, 255, 0.7); }
.card-fortune .tag { background: rgba(255, 255, 255, 0.12); color: #ffd36b; }
.kline { display: flex; align-items: flex-end; gap: 7px; height: 90px; margin-top: 28px; }
.kline i { flex: 1; border-radius: 6px 6px 3px 3px; background: var(--grad); background-size: 1200% 100%; opacity: 0.9; transform-origin: bottom; animation: grow 2.4s var(--ease) both; }
.card-partner { background: linear-gradient(160deg, #e8fbf6, #fff 70%); }
.card-partner .tag { background: rgba(79, 216, 189, 0.18); color: #138a73; }
.avatars { display: flex; margin-top: 24px; }
.avatars span { display: grid; place-items: center; width: 52px; height: 52px; margin-right: -12px; border-radius: 50%; border: 3px solid #fff; font-size: 22px; background: #e9e6ff; }
.avatars span:nth-child(2) { background: #ffe4ec; }
.avatars span:nth-child(3) { background: #fff1c7; }
.avatars span:nth-child(4) { background: #d8f7ef; }
.card-widget { background: linear-gradient(160deg, #f1edff, #fff 70%); }
.card-widget .tag { background: rgba(94, 98, 233, 0.12); color: var(--violet); }
.widgets { display: flex; gap: 12px; margin-top: 24px; }
.widgets div { flex: 1; aspect-ratio: 1; border-radius: 22px; padding: 14px; font-size: 13px; font-weight: 700; color: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.widgets div:first-child { background: linear-gradient(140deg, #448aff, #7681ed); }
.widgets div:last-child { background: linear-gradient(140deg, #ff8fb1, #f6b40c); }
.widgets b { font-size: 28px; line-height: 1; }

/* ---------- AI 问一问 ---------- */
.ask { background: linear-gradient(180deg, transparent, #eceaff 30%, #eceaff 70%, transparent); }
.ask-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.chat { display: flex; flex-direction: column; gap: 14px; }
.bubble { max-width: 84%; padding: 16px 20px; border-radius: 22px; font-size: 16px; box-shadow: 0 12px 30px -18px rgba(62, 56, 160, 0.45); }
.bubble.me { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.bubble.ai { background: #fff; border-bottom-left-radius: 6px; }
.bubble.ai b { color: var(--violet); }
.points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.points li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; }
.points li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 8px; background: var(--grad); }

/* ---------- 冥想场景 ---------- */
.meditate { background: #0f0e22; color: #fff; overflow: hidden; }
.meditate .head p { color: rgba(255, 255, 255, 0.65); }
.meditate .eyebrow { color: #ffd36b; }
.scenes { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 24px 30px; scrollbar-width: none; }
.scenes::-webkit-scrollbar { display: none; }
.scene { position: relative; flex: 0 0 260px; aspect-ratio: 9 / 15; border-radius: 26px; overflow: hidden; scroll-snap-align: center; transition: transform 0.5s var(--ease); }
.scene:hover { transform: translateY(-8px) scale(1.02); }
.scene img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.scene:hover img { transform: scale(1.08); }
.scene figcaption { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 18px; }
.scene figcaption em { font-style: normal; font-size: 11px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.scene figcaption em.vip { background: linear-gradient(120deg, #ffd36b, #ff8fb1); color: #3a2400; }
.scene::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, 0.55)); }
.scene figcaption { z-index: 1; }
.med-stats { display: flex; justify-content: center; gap: 70px; margin-top: 40px; text-align: center; color: rgba(255, 255, 255, 0.65); font-size: 14px; }
.med-stats b { display: block; font-size: 40px; color: #fff; }

/* ---------- 勋章（见 badges.css） ---------- */

/* ---------- 会员 ---------- */
.vip { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; padding: 56px; border-radius: 40px; background: linear-gradient(130deg, #1c1a3d, #3a2f7a 60%, #6b4eff); color: #fff; overflow: hidden; position: relative; }
.vip::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(#ffd36b, transparent 65%); opacity: 0.35; }
.vip h2 { font-size: clamp(30px, 3.6vw, 46px); }
.vip .price { margin-top: 20px; font-size: 18px; color: rgba(255, 255, 255, 0.75); }
.vip .price b { font-size: 56px; color: #fff; }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: relative; }
.perks div { padding: 22px; border-radius: 22px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.perks b { display: block; font-size: 17px; margin-bottom: 6px; }
.perks span { font-size: 14px; color: rgba(255, 255, 255, 0.7); }

/* ---------- 下载 ---------- */
.download { text-align: center; }
.dl-box { position: relative; padding: 80px 30px; border-radius: 44px; background: linear-gradient(140deg, #e3ebff, #f3e9ff 50%, #ffe9f0); overflow: hidden; }
.dl-box h2 { font-size: clamp(34px, 5vw, 64px); }
.dl-box p { margin: 18px auto 0; max-width: 520px; color: var(--muted); }
.dl-box .store-row { justify-content: center; }
.dl-box .chars { position: absolute; width: 120px; bottom: 20px; }
.dl-box .l { left: 4%; animation: bob 5s ease-in-out infinite; }
.dl-box .r { right: 4%; top: 30px; bottom: auto; animation: bob 5s ease-in-out -2.5s infinite; }
.qr { display: inline-flex; align-items: center; gap: 14px; margin-top: 26px; padding: 10px 18px 10px 10px; border-radius: 18px; background: rgba(255, 255, 255, 0.7); font-size: 14px; color: var(--muted); text-align: left; }
.qr canvas, .qr svg { width: 84px; height: 84px; border-radius: 10px; background: #fff; padding: 6px; }
.tip { margin-top: 16px; font-size: 13px; color: var(--muted); min-height: 20px; }

/* ---------- 页脚 ---------- */
.footer { padding: 50px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.footer nav { display: flex; gap: 22px; }
.footer nav a:hover { color: var(--ink); }

@keyframes grow { from { transform: scaleY(0.1); } }

@media (max-width: 960px) {
  .span-4, .span-3, .span-2 { grid-column: span 6; }
  .card-energy { min-height: 400px; }
  .ask-grid, .vip { grid-template-columns: 1fr; }
  .vip { padding: 40px 28px; }
}
@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .head, .head.center { margin-bottom: 36px; }
  .bento { gap: 14px; }
  .card { padding: 26px; }
  .card h3 { font-size: 22px; }
  .card-energy { min-height: 460px; }
  .card-energy .mini { width: 200px; right: 50%; transform: translateX(50%) rotate(4deg); bottom: -150px; }
  .scene { flex-basis: 210px; }
  .med-stats { gap: 30px; }
  .med-stats b { font-size: 30px; }
  .perks { grid-template-columns: 1fr; }
  .vip .price b { font-size: 44px; }
  .dl-box { padding: 60px 20px 130px; border-radius: 32px; }
  .dl-box .chars { width: 84px; }
  .dl-box .r { top: auto; bottom: 20px; }
  .qr { display: none; }
  .footer .container { flex-direction: column; text-align: center; }
}
