/* 本地化字体文件 - Inter字体替代方案 */

/* 使用系统字体栈替代Google Fonts的Inter字体 */
:root {
  --font-family-inter: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

/* 如果需要使用本地Inter字体文件，可以取消注释以下代码并添加字体文件 */
/*
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('./fonts/Inter-Light.woff2') format('woff2'),
       url('./fonts/Inter-Light.woff') format('woff');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/Inter-Regular.woff2') format('woff2'),
       url('./fonts/Inter-Regular.woff') format('woff');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/Inter-Medium.woff2') format('woff2'),
       url('./fonts/Inter-Medium.woff') format('woff');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/Inter-SemiBold.woff2') format('woff2'),
       url('./fonts/Inter-SemiBold.woff') format('woff');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/Inter-Bold.woff2') format('woff2'),
       url('./fonts/Inter-Bold.woff') format('woff');
}
*/

/* 全局字体设置 */
body {
  font-family: var(--font-family-inter);
}

/* 确保所有元素使用本地字体栈 */
* {
  font-family: inherit;
}

/* 特定元素的字体设置 */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-inter);
}

.nav-link, .btn, .card-title, .feature-title {
  font-family: var(--font-family-inter);
}