/* ============ YumiYummy 落地页 ============
   暖调美食杂志风：奶油纸底 + 橙红主色 + 宋体大标题 */

:root {
  --cream: #FFF7EF;
  --cream-deep: #FCEDDD;
  --ink: #332014;
  --ink-soft: #7A6355;
  --accent: #FF5A2D;
  --accent-warm: #FF7340;
  --accent-soft: #FFE3D6;
  --card: #FFFFFF;
  --radius: 22px;
  --serif: "Songti SC", "Noto Serif SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background:
    radial-gradient(1100px 500px at 85% -5%, var(--cream-deep) 0%, transparent 60%),
    var(--cream);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---------- 导航 ---------- */
.nav {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1120px; margin: 0 auto; padding: 22px 24px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.nav-brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 3px 12px rgba(255,90,45,.25); }
.nav-brand span { font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; }
.nav-links a {
  margin-left: 26px; text-decoration: none; color: var(--ink-soft);
  font-size: .95rem; font-weight: 500; transition: color .2s;
}
.nav-links a:hover { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  max-width: 1120px; margin: 0 auto;
  padding: 60px 24px 110px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px;
  align-items: center;
}
.hero-blob {
  position: absolute; right: -160px; top: -40px;
  width: 620px; height: 620px; z-index: 0;
  background: radial-gradient(circle at 35% 35%, var(--accent-warm), var(--accent) 70%);
  border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%;
  opacity: .13;
  animation: blob 14s ease-in-out infinite alternate;
}
@keyframes blob {
  from { border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%; transform: rotate(0deg); }
  to   { border-radius: 45% 55% 42% 58% / 55% 45% 58% 42%; transform: rotate(8deg); }
}
.hero-dots {
  position: absolute; left: -30px; bottom: 30px;
  width: 220px; height: 160px; z-index: 0;
  background-image: radial-gradient(var(--accent) 1.6px, transparent 1.6px);
  background-size: 18px 18px;
  opacity: .18;
}
.hero-copy { position: relative; z-index: 2; }
.hero-kicker {
  display: inline-block;
  font-size: .82rem; font-weight: 700; letter-spacing: .14em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 22px;
  animation: rise .7s ease both;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.2vw, 3.9rem);
  font-weight: 900; line-height: 1.22; letter-spacing: .01em;
  animation: rise .7s .08s ease both;
}
.hero h1 em {
  font-style: normal; color: var(--accent);
  background: linear-gradient(transparent 68%, var(--accent-soft) 68%);
}
.hero-sub {
  margin-top: 22px; max-width: 30em;
  color: var(--ink-soft); font-size: 1.06rem;
  animation: rise .7s .16s ease both;
}
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; animation: rise .7s .24s ease both; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent-warm), var(--accent));
  color: #fff; text-decoration: none; font-weight: 700;
  padding: 15px 30px; border-radius: 999px;
  box-shadow: 0 10px 26px rgba(255,90,45,.35);
  transition: transform .2s, box-shadow .2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(255,90,45,.42); }
.btn-ghost {
  color: var(--ink); text-decoration: none; font-weight: 600;
  padding: 15px 22px; border-radius: 999px;
  border: 1.5px solid rgba(51,32,20,.18);
  transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.hero-note { margin-top: 16px; font-size: .85rem; color: var(--ink-soft); animation: rise .7s .3s ease both; }

/* 手机截图组合 */
.hero-visual { position: relative; z-index: 1; height: 560px; }
.phone {
  position: absolute; width: 240px;
  border-radius: 34px; overflow: hidden;
  border: 7px solid #332014;
  box-shadow: 0 30px 60px rgba(51,32,20,.28);
  background: #fff;
}
.phone img { display: block; width: 100%; }
.phone-back  { left: 4%;  top: 40px; transform: rotate(-7deg); opacity: .92; }
.phone-front { right: 6%; top: 0;    transform: rotate(4deg); z-index: 2; animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 50% { transform: rotate(4deg) translateY(-12px); } }
.float-chip {
  position: absolute; z-index: 3;
  background: #fff; border-radius: 999px;
  padding: 9px 16px; font-size: .84rem; font-weight: 700;
  box-shadow: 0 8px 24px rgba(51,32,20,.16);
}
.chip-a { left: -6%; top: 8%;  animation: floaty 5s .3s ease-in-out infinite; }
.chip-b { right: -3%; top: 46%; color: var(--accent); animation: floaty 7s .8s ease-in-out infinite; }
.chip-c { left: 2%; bottom: 6%; animation: floaty 6s 1.4s ease-in-out infinite; }

/* ---------- 章节标题 ---------- */
section h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 900;
  display: flex; align-items: baseline; gap: 16px;
  margin-bottom: 44px;
}
.h-mark {
  font-family: var(--sans);
  font-size: .95rem; font-weight: 800; color: var(--accent);
  border: 1.8px solid var(--accent); border-radius: 999px;
  padding: 2px 12px; letter-spacing: .1em;
}

/* ---------- 功能 ---------- */
.features { max-width: 1120px; margin: 0 auto; padding: 40px 24px 80px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-card {
  background: var(--card); border-radius: var(--radius);
  padding: 26px; text-align: left;
  box-shadow: 0 6px 30px rgba(51,32,20,.07);
  transition: transform .25s, box-shadow .25s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(51,32,20,.13); }
.feature-card img { width: 100%; border-radius: 16px; margin-bottom: 18px; }
.feature-card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 8px; }
.feature-card p { color: var(--ink-soft); font-size: .95rem; }

/* ---------- 怎么用 ---------- */
.how { max-width: 1120px; margin: 0 auto; padding: 40px 24px 80px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.steps li {
  background: var(--cream-deep); border-radius: var(--radius);
  padding: 28px 24px; position: relative; counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute; top: -16px; left: 22px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-weight: 800; display: grid; place-items: center;
  box-shadow: 0 6px 14px rgba(255,90,45,.35);
}
.steps b { display: block; font-size: 1.3rem; margin: 8px 0 6px; font-family: var(--serif); }
.steps span { color: var(--ink-soft); font-size: .92rem; }
.how-extra { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.extra-item {
  background: var(--card); border-radius: 16px; padding: 16px 18px;
  font-size: .92rem; box-shadow: 0 4px 18px rgba(51,32,20,.06);
}
.extra-item b { margin: 0 6px; }
.extra-item span { display: block; color: var(--ink-soft); font-size: .84rem; margin-top: 3px; }

/* ---------- 价格 ---------- */
.pricing { max-width: 900px; margin: 0 auto; padding: 40px 24px 90px; }
.price-cards { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; }
.price-card {
  background: var(--card); border-radius: var(--radius);
  padding: 34px 30px; position: relative;
  box-shadow: 0 6px 30px rgba(51,32,20,.07);
}
.price-pro {
  background: linear-gradient(150deg, #3A2417, #59331E);
  color: #FFF3EA;
  box-shadow: 0 18px 44px rgba(58,36,23,.4);
}
.price-pro ul li { color: #E8CDB9; }
.pro-badge {
  position: absolute; top: -13px; right: 24px;
  background: var(--accent); color: #fff;
  font-size: .78rem; font-weight: 800;
  padding: 5px 14px; border-radius: 999px;
}
.price-card h3 { font-size: 1.1rem; font-weight: 800; }
.price { font-family: var(--serif); font-size: 2.6rem; font-weight: 900; margin: 10px 0 16px; }
.price small { font-size: 1rem; font-weight: 600; }
.price-alt { font-size: .9rem; font-family: var(--sans); font-weight: 500; opacity: .75; }
.price-card ul { list-style: none; }
.price-card ul li { padding: 6px 0 6px 26px; position: relative; color: var(--ink-soft); font-size: .95rem; }
.price-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.pricing-note { text-align: center; margin-top: 28px; color: var(--ink-soft); font-size: .92rem; }

/* ---------- 页脚 ---------- */
.footer { background: var(--ink); color: #D9C6B8; }
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 44px 24px; text-align: center; }
.footer-brand { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-brand img { width: 34px; height: 34px; border-radius: 9px; }
.footer-brand span { font-weight: 800; color: #fff; }
.footer-links { margin-bottom: 16px; }
.footer-links a { color: #FFB599; text-decoration: none; margin: 0 14px; font-size: .95rem; }
.footer-links a:hover { text-decoration: underline; }
.footer-meta { font-size: .82rem; opacity: .75; }

/* ---------- 法务文章页 ---------- */
.legal {
  max-width: 760px; margin: 0 auto; padding: 30px 24px 90px;
}
.legal h1 {
  font-family: var(--serif); font-size: 2.1rem; font-weight: 900;
  margin: 26px 0 6px;
}
.legal .updated { color: var(--ink-soft); font-size: .86rem; margin-bottom: 34px; }
.legal h2 {
  font-size: 1.2rem; margin: 34px 0 12px; display: block;
  font-family: var(--sans); font-weight: 800;
  border-left: 4px solid var(--accent); padding-left: 12px;
}
.legal p, .legal li { color: #4C382B; font-size: .97rem; }
.legal ul { padding-left: 22px; margin: 10px 0; }
.legal .back { display: inline-block; margin-top: 40px; color: var(--accent); text-decoration: none; font-weight: 700; }

/* ---------- 动画 & 响应式 ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-bottom: 40px; }
  .hero-visual { height: 480px; margin-top: 30px; }
  .phone { width: 200px; }
  .phone-back { left: 2%; }
  .phone-front { right: 4%; }
  .feature-grid, .steps, .how-extra, .price-cards { grid-template-columns: 1fr; }
  .steps li { margin-top: 10px; }
  .nav-links a { margin-left: 14px; font-size: .88rem; }
}
