/* 食刻 FitFood 官网样式
 * 无外部字体/资源依赖：中英文都走系统字体栈，首屏不需要等第三方 CSS。 */
:root {
  --bg: #08131d;
  --card: #10232d;
  --mint: #82f0c1;
  --text: #f1f7f5;
  --muted: #9aafb0;
  --line: #ffffff18;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  overflow-x: hidden;
  overflow-x: clip;
}
img { max-width: 100%; }
main:focus { outline: none; }
.wrap { max-width: 1160px; margin: auto; padding-left: 28px; padding-right: 28px; }

/* 跳转链接：键盘用户第一个 Tab 就能跳过导航 */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 16px;
  z-index: 999;
  padding: 10px 16px;
  border-radius: 99px;
  background: var(--mint);
  color: #082119;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { left: 16px; }

:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.privacy :focus-visible { outline-color: #126c58; }

.bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .23;
  pointer-events: none;
}
.glow-a { width: 420px; height: 420px; background: #1ecf93; top: 100px; left: -180px; }
.glow-b { width: 500px; height: 500px; background: #3278ff; top: 400px; right: -240px; }

.nav {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 19px;
  text-decoration: none;
}
.brand small {
  display: block;
  color: var(--mint);
  font-size: 10px;
  letter-spacing: 1.5px;
  line-height: 1;
  margin-top: 3px;
}
.brand-mark { font-size: 28px; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a, .footer a { color: var(--muted); text-decoration: none; font-size: 14px; }
.nav-links a:hover, .footer a:hover { color: var(--text); }
.nav-cta { border: 1px solid var(--line); padding: 10px 16px; border-radius: 99px; color: var(--text) !important; }
.menu { display: none; background: none; border: 0; color: white; font-size: 24px; padding: 6px; }

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 35px;
  padding-top: 36px;
  padding-bottom: 65px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2.2px;
  font-size: 11px;
  color: var(--mint);
  font-weight: 700;
  margin: 0 0 20px;
}
.hero h1 {
  font-size: clamp(43px, 6vw, 76px);
  letter-spacing: -2.5px;
  line-height: 1.08;
  margin: 0 0 25px;
  font-weight: 800;
  text-wrap: balance;
}
.hero h1 em, h2 em { font-style: normal; color: var(--mint); }
.lead { color: var(--muted); line-height: 1.8; font-size: 17px; max-width: 540px; }
.actions { display: flex; gap: 12px; margin: 32px 0 18px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-radius: 99px;
  padding: 15px 21px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: .2s;
}
.button:hover { transform: translateY(-2px); }
.primary { background: var(--mint); color: #082119; }
.secondary { border: 1px solid var(--line); color: var(--text); background: #ffffff08; }
.micro { font-size: 12px; color: #6f8789; }

.hero-visual { position: relative; height: 520px; display: flex; justify-content: center; align-items: center; }
.halo {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9cf5d1, #3663e5);
  filter: blur(1px);
  opacity: .8;
}
.phone {
  position: relative;
  width: 235px;
  height: 470px;
  border: 7px solid #d5eee4;
  border-radius: 31px;
  overflow: hidden;
  background: #122731;
  box-shadow: 0 25px 70px #0008;
  transform: rotate(5deg);
  z-index: 1;
}
.phone-top {
  height: 22px;
  width: 80px;
  background: #08131d;
  border-radius: 0 0 14px 14px;
  position: absolute;
  z-index: 2;
  left: 70px;
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.float-card {
  position: absolute;
  z-index: 2;
  background: #132b35e8;
  border: 1px solid #ffffff24;
  border-radius: 15px;
  padding: 13px 15px;
  box-shadow: 0 12px 30px #0005;
  backdrop-filter: blur(10px);
}
.float-card span { display: block; color: var(--muted); font-size: 11px; }
.float-card strong { display: block; font-size: 17px; margin: 4px 0; }
.float-card strong small { font-size: 11px; color: var(--muted); font-weight: 500; }
.float-cal { left: 5px; top: 130px; }
.float-cal i { color: var(--mint); font-size: 11px; font-style: normal; }
.float-ai { right: 0; bottom: 110px; }
.float-ai b { color: var(--mint); margin-right: 6px; }
.float-ai span { display: inline; }

.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  justify-content: space-between;
  color: #71898b;
  font-size: 12px;
}
.trust div { display: flex; gap: 28px; }
.trust b { color: #b3c5c3; font-weight: 500; }

.section { padding-top: 125px; padding-bottom: 125px; }
.section-head { max-width: 570px; }
.section-head h2, .privacy h2, .download h2 {
  font-size: clamp(34px, 4vw, 53px);
  letter-spacing: -2px;
  line-height: 1.15;
  margin: 0 0 20px;
  text-wrap: balance;
}
.section-head > p:last-child, .privacy p, .download p { color: var(--muted); line-height: 1.8; }

.feature-grid {
  margin-top: 55px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 14px;
}
.feature {
  background: linear-gradient(140deg, #122a34, #0d2029);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 27px;
  min-height: 260px;
}
.feature-large {
  grid-row: span 2;
  min-height: 535px;
  background: linear-gradient(150deg, #153a38, #10252d);
  display: flex;
  flex-direction: column;
}
.feature-large .mini-result { margin-top: auto; }
.feature-icon { font-size: 29px; }
.feature h3 { font-size: 20px; margin: 23px 0 10px; }
.feature p { color: var(--muted); font-size: 14px; line-height: 1.75; margin: 0; }

.mini-result {
  background: #ffffff0b;
  border: 1px solid #ffffff16;
  border-radius: 13px;
  padding: 17px;
  margin-top: 70px;
}
.mini-result span { display: block; color: var(--muted); font-size: 11px; }
.mini-result b { font-size: 18px; display: inline-block; margin-top: 8px; }
.mini-result strong { float: right; color: var(--mint); margin-top: 10px; font-size: 13px; white-space: nowrap; }
.mini-result strong small { font-size: 10px; font-weight: 500; }
.mini-result em {
  display: block;
  clear: both;
  padding-top: 12px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.bar { height: 8px; border-radius: 9px; background: #ffffff12; margin-top: 36px; overflow: hidden; }
.bar i { height: 100%; display: block; background: var(--mint); border-radius: 9px; }
.feature > small { display: block; color: var(--muted); font-size: 11px; margin-top: 10px; }
.days { display: flex; gap: 6px; margin-top: 34px; }
.days b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: #ffffff0b;
  border-radius: 50%;
  color: #9aafb0;
  font-size: 11px;
}
.days .on { background: var(--mint); color: #092219; }
.spark { display: flex; gap: 7px; align-items: end; height: 70px; margin-top: 25px; }
.spark i { display: block; width: 19px; background: #398d83; border-radius: 5px 5px 2px 2px; }
.spark i:nth-child(1) { height: 32%; }
.spark i:nth-child(2) { height: 56%; }
.spark i:nth-child(3) { height: 44%; }
.spark i:nth-child(4) { height: 74%; }
.spark i:nth-child(5) { height: 60%; }
.spark i:nth-child(6) { height: 88%; background: var(--mint); }
.spark i:nth-child(7) { height: 80%; }
.steps-mini { margin-top: 30px; }
.steps-mini > span { display: flex; align-items: baseline; gap: 6px; color: var(--muted); font-size: 12px; }
.steps-mini b { color: var(--text); font-size: 20px; }
.steps-mini .bar { margin-top: 14px; }
.feature-more {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}
.feature-more b { color: #c6d6d3; font-weight: 600; }

.privacy { background: #dff9ee; color: #08201a; }
.privacy-inner {
  padding-top: 110px;
  padding-bottom: 110px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.privacy .eyebrow { color: #1c705c; }
.privacy h2 { color: #09231c; }
.privacy h2 em { color: #126c58; }
.privacy p { color: #50766c; max-width: 470px; }
.text-link { color: #126c58; font-weight: 700; text-decoration: none; font-size: 14px; }
.text-link span { margin-left: 8px; }
.privacy-list { border-top: 1px solid #b8ded1; }
.privacy-list > div { display: flex; gap: 22px; padding: 23px 0; border-bottom: 1px solid #b8ded1; }
.privacy-list b { color: #2b7561; font-size: 12px; }
.privacy-list strong, .privacy-list small { display: block; }
.privacy-list strong { font-size: 16px; margin-bottom: 6px; }
.privacy-list small { color: #4a7065; }

.centered { text-align: center; margin: auto; }
.screens { overflow: hidden; }
.screen-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1.1fr 1fr;
  align-items: end;
  gap: 22px;
  max-width: 1080px;
  margin: 55px auto 0;
}
.screen-row figure { margin: 0; text-align: center; color: var(--muted); font-size: 13px; }
.screen-row img {
  width: 100%;
  height: auto;
  border-radius: 23px;
  box-shadow: 0 20px 50px #0005;
  border: 5px solid #20383c;
}
.screen-row figcaption { margin-top: 16px; }

.download {
  border: 1px solid #ffffff1a;
  border-radius: 27px;
  padding-top: 66px;
  padding-bottom: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 90px;
  background: linear-gradient(110deg, #122f32, #102432);
}
.download h2 { font-size: 42px; margin-bottom: 14px; }
.download-actions { display: flex; flex-direction: column; gap: 12px; min-width: 210px; }
.download-actions .button { justify-content: center; }
.download-actions small { color: var(--muted); font-size: 11px; line-height: 1.7; text-align: center; }

.footer {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  padding-bottom: 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #6f8789;
  font-size: 11px;
}
.footer .brand { font-size: 15px; }
.footer .brand-mark { font-size: 22px; }

@media (max-width: 760px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .nav { height: 72px; }
  .nav-links {
    display: none;
    position: absolute;
    right: 20px;
    top: 65px;
    background: #122a32;
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    box-shadow: 0 14px 30px #0006;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 15px; }
  .menu { display: block; }
  .hero { display: flex; flex-direction: column; align-items: stretch; padding-top: 60px; }
  .hero h1 { letter-spacing: -2px; }
  .hero-visual { height: 470px; order: 2; }
  .phone { width: 210px; height: 420px; }
  .float-cal { left: 0; }
  .float-ai { right: 0; }
  .trust { display: block; }
  .trust div { margin-top: 15px; gap: 14px; flex-wrap: wrap; }
  .section { padding-top: 85px; padding-bottom: 85px; }
  .feature-grid { display: flex; flex-direction: column; }
  .feature, .feature-large { min-height: 0; }
  .mini-result { margin-top: 55px; }
  .privacy-inner { display: block; padding-top: 80px; padding-bottom: 80px; }
  .privacy-list { margin-top: 55px; }
  .screen-row { grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
  .screen-row img { border-width: 3px; border-radius: 15px; }
  .screen-row figcaption { font-size: 11px; margin-top: 10px; }
  .download { display: block; margin-bottom: 60px; padding: 35px 25px; }
  .download h2 { font-size: 34px; }
  .download-actions { margin-top: 28px; }
  .footer { flex-wrap: wrap; gap: 18px; }
  .footer > span { order: 3; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
