/* Google Fonts - Inter */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: local('Inter Regular'), local('Inter-Regular'),
       url('./woff2/Inter-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: local('Inter Medium'), local('Inter-Medium'),
       url('./woff2/Inter-Medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: local('Inter SemiBold'), local('Inter-SemiBold'),
       url('./woff2/Inter-SemiBold.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: local('Inter Bold'), local('Inter-Bold'),
       url('./woff2/Inter-Bold.woff2') format('woff2');
}

/* Google Fonts - Playfair Display */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Playfair Display Regular'), local('PlayfairDisplay-Regular'),
       url('./woff2/PlayfairDisplay-Regular.woff2') format('woff2'),
       url('./woff2/PlayfairDisplay-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local('Playfair Display SemiBold'), local('PlayfairDisplay-SemiBold'),
       url('./woff2/PlayfairDisplay-SemiBold.woff2') format('woff2'),
       url('./woff2/PlayfairDisplay-SemiBold.ttf') format('truetype');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Playfair Display Bold'), local('PlayfairDisplay-Bold'),
       url('./woff2/PlayfairDisplay-Bold.woff2') format('woff2'),
       url('./woff2/PlayfairDisplay-Bold.ttf') format('truetype');
}

/* 字体定义 - 改为微软雅黑 */

/* Inter 字体定义 - 备用到系统无衬线字体 */
.font-inter, 
body,
.nav-menu,
.btn,
.form-input,
.footer-links {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Microsoft YaHei', '微软雅黑', 'Hiragino Sans GB', sans-serif;
}

/* 标题字体定义 - 使用微软雅黑 */
.font-playfair,
.brand-text,
.hero-title,
.section-title,
.page-title,
.product-title,
.logo-text {
  font-family: 'Microsoft YaHei', '微软雅黑', 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif;
  font-weight: 600;
}

/* 字体权重定义 */
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* 确保中文字体显示 */
html[lang="zh"] body,
html[lang="zh"] .font-inter,
body.zh,
.zh .font-inter {
  font-family: 'Inter', 'Microsoft YaHei', '微软雅黑', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Hiragino Sans GB', sans-serif;
}

html[lang="zh"] .font-playfair,
html[lang="zh"] .brand-text,
html[lang="zh"] .hero-title,
html[lang="zh"] .section-title,
.zh .font-playfair,
.zh .brand-text,
.zh .hero-title,
.zh .section-title {
  font-family: 'Microsoft YaHei', '微软雅黑', 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif;
  font-weight: 600;
}

/* 字体加载优化 */
@media (prefers-reduced-motion: no-preference) {
  .font-inter, .font-playfair {
    font-display: swap;
  }
}

/* 本地化字体已配置完成，标题使用微软雅黑 */ 