/* ==================== 字体声明 ==================== */

/* 标题字体：抖音美好体（Douyin Sans）— 仅 Bold 字重，用于所有标题 */
@font-face {
  font-family: 'Douyin Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/DouyinSansBold.woff2) format('woff2');
}

/* 正文字体：鸿蒙黑体（HarmonyOS Sans SC）— 3 个字重 */
@font-face {
  font-family: 'HarmonyOS Sans SC';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/HarmonyOS_Sans_SC_Regular.woff2) format('woff2');
}
@font-face {
  font-family: 'HarmonyOS Sans SC';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/HarmonyOS_Sans_SC_Medium.woff2) format('woff2');
}
@font-face {
  font-family: 'HarmonyOS Sans SC';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/HarmonyOS_Sans_SC_Bold.woff2) format('woff2');
}

/* 兼容：旧的 Noto Sans SC 字体声明保留，但实际不再优先使用 */
@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/noto-sans-sc-300.woff2) format('woff2');
}
@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/noto-sans-sc-400.woff2) format('woff2');
}
@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/noto-sans-sc-500.woff2) format('woff2');
}
@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/noto-sans-sc-700.woff2) format('woff2');
}
@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../fonts/noto-sans-sc-900.woff2) format('woff2');
}

/* ==================== 全局基础 ==================== */
:root {
    --yf-primary: #1E57BE;
    --yf-primary-dark: #1848A0;
    --yf-primary-light: #4A7BD8;
    --yf-secondary: #92D050;
    --yf-dark: #101824;
    --yf-dark-lighter: #333b47;
    --yf-gray: #f0f3f4;
    --yf-gray-light: #f7f7f7;
    --yf-white: #ffffff;
    --yf-text: #333333;
    --yf-text-muted: #666666;
    --yf-text-light: #999999;
    --yf-border: #e0e0e0;
    --yf-radius: 8px;
    --yf-radius-lg: 14px;
    --yf-radius-sm: 6px;
    --yf-transition: all 0.3s ease;
    --yf-header-height: 80px;
    --yf-shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --yf-shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --yf-shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
}

/* 重置 */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'HarmonyOS Sans SC', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--yf-text);
    line-height: 1.7;
    font-size: 16px;
    background: #fff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--yf-primary);
    text-decoration: none;
    transition: var(--yf-transition);
}

a:hover {
    color: var(--yf-primary-dark);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 700;
    font-family: 'Douyin Sans', 'HarmonyOS Sans SC', 'Noto Sans SC', sans-serif;
    color: var(--yf-dark);
    line-height: 1.3;
}

/* ==================== 容器 ==================== */
.yf-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.yf-container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== 按钮 ==================== */
.yf-btn {
    display: inline-block;
    padding: 12px 36px;
    border-radius: var(--yf-radius-sm);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: var(--yf-transition);
    text-align: center;
    font-family: inherit;
}

.yf-btn--primary {
    background: #1E57BE;
    color: #fff;
}

.yf-btn--primary:hover {
    background: #92D050;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--yf-shadow-md);
}

.yf-btn--dark {
    background: var(--yf-dark);
    color: #fff;
}

.yf-btn--dark:hover {
    background: #92D050;
    color: #fff;
}

.yf-btn--outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
}

.yf-btn--outline:hover {
    background: #92D050;
    color: #fff;
}

.yf-btn--lg {
    padding: 14px 40px;
    font-size: 16px;
}

.yf-btn--sm {
    padding: 8px 24px;
    font-size: 13px;
}

/* ==================== 粘性导航 ==================== */
.yf-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease;
    background: #1e57be;
    backdrop-filter: blur(10px);
}

.yf-header.is-scrolled {
    box-shadow: var(--yf-shadow-md);
}

.yf-header.is-hidden {
    transform: translateY(-100%);
}

/* 首页深蓝导航 */
.home .yf-header:not(.is-scrolled) {
    background: #1e57be;
}

.home .yf-header:not(.is-scrolled) .yf-nav-link,
.home .yf-header:not(.is-scrolled) .yf-topbar-info,
.home .yf-header:not(.is-scrolled) .yf-topbar-social a,
.home .yf-header:not(.is-scrolled) .yf-nav-phone {
    color: #fff;
}

.home .yf-header:not(.is-scrolled) .yf-nav-link:hover {
    color: var(--yf-primary-light);
}

.yf-topbar {
    background: #000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
}

.home .yf-topbar {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.yf-topbar .yf-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
}

.yf-topbar-info {
    display: flex;
    gap: 24px;
    color: rgba(255,255,255,0.85);
}

.yf-topbar-social {
    display: flex;
    gap: 12px;
}

.yf-topbar-social a {
    color: rgba(255,255,255,0.85);
}

.yf-navbar {
    transition: var(--yf-transition);
}

.yf-navbar .yf-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 21px;
    padding-bottom: 21px;
}

.yf-logo img {
    max-height: 34px;
    width: auto;
}
/* 导航栏深蓝背景，统一使用白底logo */
.yf-logo-scrolled {
    display: none;
}
.yf-header.is-scrolled .yf-logo-default {
    display: inline;
}
.yf-header.is-scrolled .yf-logo-scrolled {
    display: none;
}
body:not(.home) .yf-logo-default {
    display: inline;
}
body:not(.home) .yf-logo-scrolled {
    display: none;
}

.yf-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.yf-nav-link {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    padding: 6px 0;
    position: relative;
    display: block;
}

.yf-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--yf-primary);
    transition: var(--yf-transition);
}

.yf-nav-link:hover::after,
.current-menu-item .yf-nav-link::after {
    width: 100%;
}

.yf-nav-link:hover {
    color: var(--yf-primary);
}

/* 导航子菜单 */
.yf-nav > li {
    position: relative;
}

.yf-sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: var(--yf-shadow-lg);
    border-radius: var(--yf-radius);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--yf-transition);
    z-index: 100;
}

.yf-nav > li:hover > .yf-sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.yf-sub-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--yf-text);
    font-size: 14px;
    white-space: nowrap;
}

.yf-sub-menu a:hover {
    background: var(--yf-gray);
    color: var(--yf-primary);
}

.yf-nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
}

.yf-nav-phone .yf-phone-icon {
    width: 40px;
    height: 40px;
    background: #1E57BE;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* 移动端汉堡菜单 */
.yf-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.yf-mobile-toggle span {
    width: 26px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: var(--yf-transition);
}

/* ==================== Hero 轮播 ==================== */
.yf-hero-slider {
    height: calc(100vh - 121px);
    width: 100%;
    margin-top: 121px; /* 从固定导航栏下方开始 */
    position: relative;
}

.yf-hero-slider .swiper-slide {
    overflow: hidden;
}

.yf-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover; /* 铺满宽度，上下仅裁留白 */
    background-position: center top; /* 优先保留顶部，裁剪偏向底部留白 */
    background-repeat: no-repeat;
    transform: scale(1);
    /* 关闭 Ken Burns 放大动画，避免产品机器被裁剪 */
    transition: none;
}

.swiper-slide-active .yf-hero-bg {
    transform: scale(1);
}

.yf-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(16,24,36,0.1);
}

.yf-hero-content {
    position: relative;
    z-index: 2;
    color: #000;
    max-width: 700px;
    padding-top: 35vh;
    padding-left: 8vw;
    padding-right: 20px;
}

.yf-hero-subtitle {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 16px;
    opacity: 0.9;
    letter-spacing: 2px;
}

.yf-hero-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #000;
}

.yf-hero-desc {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 30px;
    line-height: 1.8;
    max-width: 580px;
}

.yf-hero-pagination {
    position: absolute;
    bottom: 30px !important;
    left: 0;
    right: 0;
    text-align: center;
}

.yf-hero-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.4);
    opacity: 1;
    margin: 0 5px;
    transition: var(--yf-transition);
}

.yf-hero-pagination .swiper-pagination-bullet-active {
    background: var(--yf-primary);
    width: 30px;
    border-radius: 5px;
}

/* ==================== 板块通用 ==================== */
.yf-section {
    padding: 80px 0;
}

.yf-section-gray {
    background: var(--yf-gray);
}

.yf-section-dark {
    background: var(--yf-gray);
    color: var(--yf-text);
}

.yf-section-dark h2,
.yf-section-dark h3,
.yf-section-dark h4 {
    color: var(--yf-dark);
}

.yf-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.yf-section-subtitle {
    color: var(--yf-primary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.yf-section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.yf-section-desc {
    color: var(--yf-text-muted);
    font-size: 15px;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* ==================== 特色卡片 ==================== */
.yf-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* 行业解决方案入口 - 5列 */
.yf-solutions-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.yf-feature-card {
    padding: 48px 36px;
    border-radius: var(--yf-radius-lg);
    text-align: center;
    transition: var(--yf-transition);
}

.yf-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--yf-shadow-lg);
}

.yf-feature-card--white {
    background: #fff;
    box-shadow: var(--yf-shadow-md);
}

.yf-feature-card--dark {
    background: #92D050;
    color: #fff;
}

.yf-feature-card--primary {
    background: var(--yf-primary);
    color: #fff;
}

.yf-feature-card__icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.yf-feature-card__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.yf-feature-card--white .yf-feature-card__title {
    color: var(--yf-dark);
}

.yf-feature-card--dark .yf-feature-card__title,
.yf-feature-card--primary .yf-feature-card__title {
    color: #fff;
}

.yf-feature-card .yf-btn--outline {
    margin-top: 16px;
}

/* 白色卡片上的按钮: 蓝色边框+蓝色文字(修复白色文字不可见) */
.yf-feature-card--white .yf-btn--outline {
    border: 1px solid var(--yf-primary);
    color: var(--yf-primary);
}

.yf-feature-card--white .yf-btn--outline:hover {
    background: var(--yf-primary);
    color: #fff;
}

/* ==================== 技术概览 ==================== */
.yf-tech-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.yf-tech-overview__image img {
    border-radius: var(--yf-radius);
    width: 100%;
    box-shadow: var(--yf-shadow-md);
}

.yf-tech-overview__title {
    font-size: 24px;
    margin-bottom: 16px;
}

.yf-tech-overview__desc {
    color: var(--yf-text-muted);
    line-height: 1.9;
    margin-bottom: 20px;
}

.yf-tech-overview__subdesc {
    font-size: 15px;
    color: var(--yf-dark-lighter);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* ==================== 产品卡片 ==================== */
.yf-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.yf-product-card {
    background: #fff;
    border-radius: var(--yf-radius);
    padding: 36px 28px;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: var(--yf-transition);
    display: flex;
    flex-direction: column;
}

.yf-product-card:hover {
    box-shadow: var(--yf-shadow-lg);
    transform: translateY(-6px);
    border-color: transparent;
}

.yf-product-card__thumb-placeholder {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    background: var(--yf-gray);
    border: 2px dashed #d0d0d0;
    border-radius: 8px;
    color: #999;
    font-size: 14px;
    text-align: center;
}

.yf-product-card__level {
    font-size: 14px;
    color: var(--yf-text-light);
    margin-bottom: 8px;
}

.yf-product-card__model {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--yf-dark);
}

.yf-product-card__coverage {
    font-size: 18px;
    color: var(--yf-primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.yf-product-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: left;
}

.yf-product-card .yf-btn {
    margin-top: auto;
}

.yf-product-card__features li {
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
    color: var(--yf-text-muted);
}

.yf-product-card__features li::before {
    content: "✓";
    color: var(--yf-primary);
    margin-right: 8px;
    font-weight: 700;
}

/* ==================== 数字统计 ==================== */
.yf-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.yf-stat__number {
    font-size: 42px;
    font-weight: 700;
    color: var(--yf-primary);
    line-height: 1;
}

.yf-stat__suffix {
    font-size: 20px;
}

.yf-stat__desc {
    font-size: 14px;
    color: var(--yf-text-muted);
    margin-top: 8px;
}

/* ==================== 视频 CTA ==================== */
.yf-video-cta {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    text-align: center;
}

.yf-video-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    position: relative;
    display: inline-block;
}

.yf-video-circle svg {
    width: 100%;
    height: 100%;
    animation: yf-rotate 20s linear infinite;
}

.yf-video-circle text {
    fill: #fff;
    font-size: 11px;
}

.yf-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    background: var(--yf-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--yf-transition);
}

.yf-video-circle:hover .yf-video-play {
    transform: translate(-50%, -50%) scale(1.1);
}

@keyframes yf-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==================== 应用场景 ==================== */
.yf-scenes {
    display: grid;
    grid-template-columns: 4fr 6fr;
    gap: 40px;
    align-items: stretch;
}

.yf-scenes__image {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.yf-scenes__image img {
    border-radius: var(--yf-radius);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yf-scenes__list {
    list-style: none;
    padding: 0;
}

.yf-scenes__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    background: #fff;
    border-radius: var(--yf-radius);
    margin-bottom: 8px;
    box-shadow: var(--yf-shadow-sm);
    transition: var(--yf-transition);
    cursor: pointer;
}

.yf-scenes__item:hover {
    box-shadow: var(--yf-shadow-md);
    transform: translateX(6px);
}

.yf-scenes__thumb {
    width: 48px;
    height: 48px;
    border-radius: var(--yf-radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.yf-scenes__num {
    color: var(--yf-primary);
    font-size: 13px;
    font-weight: 600;
}

.yf-scenes__name {
    font-size: 15px;
    font-weight: 600;
    color: var(--yf-dark);
}

/* ==================== 认证板块 ==================== */
.yf-cert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.yf-cert-highlight {
    background: var(--yf-primary);
    padding: 40px;
    border-radius: var(--yf-radius);
    text-align: center;
    color: #fff;
}

.yf-cert-highlight__label {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 8px;
}

.yf-cert-highlight__value {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 4px;
}

.yf-cert-highlight__desc {
    font-size: 14px;
    opacity: 0.9;
}

.yf-cert-list {
    background: #fff;
    padding: 40px;
    border-radius: var(--yf-radius);
}

.yf-cert-list h3 {
    margin-bottom: 16px;
    color: var(--yf-dark);
}

.yf-cert-list__item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: var(--yf-text-muted);
}

.yf-cert-list__item strong {
    color: var(--yf-dark);
}

/* ==================== 联系卡片 ==================== */
.yf-contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.yf-contact-card {
    background: #fff;
    border-radius: var(--yf-radius);
    padding: 36px 24px;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: var(--yf-transition);
}

.yf-contact-card:hover {
    box-shadow: var(--yf-shadow-md);
    border-color: var(--yf-primary);
}

.yf-contact-card__icon {
    font-size: 36px;
    margin-bottom: 14px;
}

.yf-contact-card__label {
    font-size: 15px;
    color: var(--yf-text-light);
    margin-bottom: 10px;
}

.yf-contact-card__value {
    font-size: 20px;
    font-weight: 600;
    color: var(--yf-dark);
    margin-bottom: 4px;
}

.yf-contact-card__desc {
    font-size: 13px;
    color: var(--yf-text-light);
}

/* ==================== 联系表单 ==================== */
.yf-contact-form {
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.yf-form-group--full {
    grid-column: 1 / -1;
}

.yf-form-group--submit {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 8px;
}

.yf-contact-form label {
    display: block;
    font-size: 14px;
    color: var(--yf-text-muted);
    margin-bottom: 6px;
    font-weight: 500;
}

.yf-contact-form input,
.yf-contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--yf-border);
    border-radius: var(--yf-radius-sm);
    font-size: 14px;
    font-family: inherit;
    transition: var(--yf-transition);
}

.yf-contact-form input:focus,
.yf-contact-form textarea:focus {
    border-color: var(--yf-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(250,81,15,0.1);
}

.yf-contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* ==================== 内页 Hero ==================== */
.yf-page-hero {
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 104px;
}

.yf-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(16,24,36,0.1);
}

.yf-page-hero__content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding-top: 60px; /* 给固定导航留空间 */
}

.yf-page-hero__title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.yf-breadcrumb {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 8px;
    justify-content: center;
    font-size: 14px;
}

.yf-breadcrumb li:not(:last-child)::after {
    content: '>';
    margin-left: 8px;
    opacity: 0.6;
}

.yf-breadcrumb a {
    color: rgba(255,255,255,0.8);
}

/* ==================== 新闻卡片 ==================== */
.yf-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.yf-news-card {
    background: #fff;
    border-radius: var(--yf-radius);
    overflow: hidden;
    box-shadow: var(--yf-shadow-sm);
    transition: var(--yf-transition);
    display: block;
    color: inherit;
}

.yf-news-card:hover {
    box-shadow: var(--yf-shadow-lg);
    transform: translateY(-4px);
    color: inherit;
}

.yf-news-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.yf-news-card__body {
    padding: 20px;
}

.yf-news-card__badge {
    display: inline-block;
    background: var(--yf-primary);
    color: #fff;
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 10px;
    margin-bottom: 8px;
}

.yf-news-card__title {
    font-size: 16px;
    color: var(--yf-dark);
    margin: 0 0 8px;
    line-height: 1.5;
}

.yf-news-card__date {
    color: var(--yf-text-light);
    font-size: 13px;
}

/* 4列新闻网格（首页） */
.yf-news-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}
.yf-news-card__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--yf-gray);
}
@media (max-width: 1200px) {
    .yf-news-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .yf-news-grid--4 { grid-template-columns: 1fr; }
}

/* ==================== 新闻列表（归档页） ==================== */
.yf-news-list-item {
    display: flex;
    gap: 20px;
    background: #fff;
    border-radius: var(--yf-radius);
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: var(--yf-shadow-sm);
    transition: var(--yf-transition);
    color: inherit;
}

.yf-news-list-item:hover {
    box-shadow: var(--yf-shadow-md);
    transform: translateY(-2px);
    color: inherit;
}

.yf-news-date-block {
    min-width: 80px;
    text-align: center;
    background: var(--yf-primary);
    color: #fff;
    border-radius: var(--yf-radius-sm);
    padding: 14px 8px;
    flex-shrink: 0;
}

.yf-news-date-block__day {
    font-size: 20px;
    font-weight: 700;
}

.yf-news-date-block__year {
    font-size: 12px;
}

.yf-news-cat-badge {
    background: var(--yf-gray);
    color: var(--yf-text-muted);
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 10px;
    display: inline-block;
}

/* ==================== 产品规格表 ==================== */
.yf-spec-table {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--yf-radius);
    overflow: hidden;
    box-shadow: var(--yf-shadow-sm);
}

.yf-spec-table th {
    background: var(--yf-gray-light);
    padding: 14px 20px;
    text-align: left;
    width: 30%;
    color: var(--yf-dark);
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.yf-spec-table td {
    padding: 14px 20px;
    color: var(--yf-text-muted);
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.yf-spec-table tr:last-child th,
.yf-spec-table tr:last-child td {
    border-bottom: none;
}

/* ==================== CTA 区块 ==================== */
.yf-cta {
    background: var(--yf-dark);
    padding: 80px 20px;
    text-align: center;
    color: #fff;
}

.yf-cta__logo {
    max-height: 30px;
    margin: 0 auto 24px;
}

.yf-cta__title {
    font-size: 28px;
    color: #fff;
    margin-bottom: 24px;
    line-height: 1.5;
}

/* ==================== 页脚 ==================== */
.yf-footer {
    background: var(--yf-dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
}

.yf-footer-grid {
    display: grid;
    grid-template-columns: 2fr 2fr 2fr;
    gap: 40px;
    padding-bottom: 40px;
}

.yf-footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}

.yf-footer-nav .yf-footer-links {
    list-style: none;
    padding: 0;
}

.yf-footer-col h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
}

.yf-footer-logo img {
    max-height: 60px;
    margin-bottom: 16px;
}

.yf-footer-slogan {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
    opacity: 0.8;
}

.yf-footer-links li {
    margin-bottom: 8px;
}

.yf-footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.yf-footer-links a:hover {
    color: var(--yf-primary);
}

.yf-footer-contact-item {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    align-items: flex-start;
}

.yf-footer-contact-item span:first-child {
    color: var(--yf-primary);
}

.yf-footer-qr img {
    width: 120px;
    height: 120px;
    border-radius: var(--yf-radius-sm);
    margin-bottom: 8px;
}

.yf-footer-qr p {
    font-size: 13px;
    opacity: 0.6;
}

.yf-footer__copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    margin-top: 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* ==================== 回到顶部 ==================== */
.yf-go-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--yf-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--yf-transition);
    z-index: 999;
}

.yf-go-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.yf-go-top:hover {
    background: var(--yf-primary-dark);
    transform: translateY(-3px);
}

/* ==================== 分页 ==================== */
.yf-pagination {
    text-align: center;
    padding: 40px 0;
}

.yf-pagination a,
.yf-pagination span {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border: 1px solid var(--yf-border);
    border-radius: var(--yf-radius-sm);
    color: var(--yf-text);
}

.yf-pagination a:hover,
.yf-pagination .current {
    background: var(--yf-primary);
    color: #fff;
    border-color: var(--yf-primary);
}

/* ==================== 响应式 ==================== */
@media (max-width: 1024px) {
    .yf-features-grid,
    .yf-product-grid,
    .yf-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .yf-solutions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .yf-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .yf-tech-overview,
    .yf-scenes {
        grid-template-columns: 1fr;
    }
    .yf-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .yf-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .yf-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #1e57be;
        padding: 70px 20px 24px;
        box-shadow: 0 8px 30px rgba(0,0,0,0.12);
        z-index: 999;
        max-height: 100vh;
        overflow-y: auto;
    }
    .yf-nav.is-open {
        display: flex;
    }
    .yf-nav > li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }
    .yf-nav-link {
        padding: 14px 0;
        font-size: 16px;
        color: #fff !important;
    }
    .yf-nav-link:hover {
        color: var(--yf-primary-light) !important;
    }
    .yf-sub-menu a {
        color: rgba(255,255,255,0.8) !important;
    }
    .yf-nav > li > .yf-sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 8px 16px;
        min-width: auto;
    }
    .yf-mobile-toggle {
        display: flex;
    }
    .yf-nav-phone {
        display: none;
    }
    .yf-topbar-info {
        font-size: 12px;
        gap: 12px;
    }
    .yf-hero-slider {
        height: 70vh;
        min-height: 480px;
    }
    .yf-hero-content {
        padding-top: 22vh;
        padding-left: 20px;
        padding-right: 20px;
    }
    .yf-hero-content .yf-btn {
        min-width: 120px !important;
        padding: 10px 18px !important;
        font-size: 13px !important;
    }
    .yf-hero-title {
        font-size: 28px;
    }
    .yf-features-grid,
    .yf-product-grid,
    .yf-news-grid,
    .yf-contact-cards,
    .yf-stats,
    .yf-cert-grid,
    .yf-solutions-grid {
        grid-template-columns: 1fr;
    }
    .yf-footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .yf-news-list-item {
        flex-direction: column;
    }
    .yf-contact-form {
        grid-template-columns: 1fr;
    }
    .yf-section-title {
        font-size: 24px;
    }
    .yf-section {
        padding: 50px 0;
    }
}

/* ===== 移动端菜单打开时：锁定body滚动、禁止header隐藏 ===== */
body.nav-open {
    overflow: hidden;
}
body.nav-open .yf-header {
    transform: none !important;
}
/* 汉堡按钮激活态（X 形） */
.yf-mobile-toggle.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.yf-mobile-toggle.is-active span:nth-child(2) {
    opacity: 0;
}
.yf-mobile-toggle.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ============================================================
 * 原站样式还原补丁 v2（精确对齐 Corex 主题字号体系）
 * 原站字号基准: h1=100px h2=60px h3=48px h4=36px h5=30px h6=24px
 * 区块标题内联覆盖: font-size:24px / 副标题:10px uppercase
 * ============================================================ */

/* ===== 全局标题字重（原站用400，不用700） ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
}

/* ===== Hero 轮播 ===== */
.yf-hero-title {
    font-size: clamp(48px, 8vw, 120px) !important;
    line-height: 1.0em !important;
    letter-spacing: -3px !important;
    font-weight: 700 !important;
    margin-bottom: 24px !important;
    color: #000 !important;
}
@media (max-width: 1599px) { .yf-hero-title { font-size: clamp(40px, 7vw, 90px) !important; } }
@media (max-width: 1200px) { .yf-hero-title { font-size: clamp(36px, 6vw, 80px) !important; } }
@media (max-width: 992px)  { .yf-hero-title { font-size: clamp(30px, 6vw, 64px) !important; } }
@media (max-width: 767px)  { .yf-hero-title { font-size: clamp(28px, 7vw, 48px) !important; letter-spacing: -1px !important; } }

.yf-hero-subtitle {
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 4px !important;
    display: inline-block !important;
    margin-bottom: 20px !important;
    opacity: 1 !important;
}
.yf-hero-subtitle::after {
    content: "" !important;
    display: inline-block !important;
    width: 40px !important;
    border-bottom: 2px solid var(--yf-primary) !important;
    margin-left: 12px !important;
    vertical-align: middle !important;
}

.yf-hero-desc {
    font-size: 19px !important;
    font-weight: 300 !important;
    opacity: 0.85 !important;
    line-height: 1.8 !important;
    max-width: 560px !important;
    color: #000 !important;
}
@media (max-width: 767px) { .yf-hero-desc { font-size: 13px !important; line-height: 1.7 !important; } }

/* Hero 遮罩 */
.yf-hero-overlay { background: rgba(16,24,36,0.1) !important; }

/* ===== 区块标题体系（原站区块标题=24px） ===== */
.yf-section { padding: 100px 0 !important; }
.yf-section-gray { padding: 100px 0 130px !important; }
.yf-section-header { margin-bottom: 64px !important; }
@media (max-width: 992px) { .yf-section, .yf-section-gray { padding: 70px 0 !important; } }

.yf-section-subtitle {
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 4px !important;
    font-weight: 600 !important;
    display: inline-block !important;
    margin-bottom: 12px !important;
}
.yf-section-subtitle::after {
    content: "" !important;
    display: inline-block !important;
    width: 40px !important;
    border-bottom: 2px solid var(--yf-primary) !important;
    margin-left: 12px !important;
    vertical-align: middle !important;
}

.yf-section-title {
    font-size: 32px !important;
    font-weight: 500 !important;
    line-height: 1.3em !important;
    margin-bottom: 20px !important;
}
@media (max-width: 767px) { .yf-section-title { font-size: 24px !important; } }

.yf-section-desc {
    font-size: 16px !important;
    font-weight: 300 !important;
    line-height: 1.8 !important;
    color: var(--yf-text-muted) !important;
}

/* ===== 按钮（原站圆角36px+扫光效果） ===== */
.yf-btn {
    border-radius: 36px !important;
    font-size: 16px !important;
    padding: 19px 24px !important;
    min-width: 200px !important;
    position: relative !important;
    overflow: hidden !important;
}
.yf-btn--lg { min-width: 230px !important; padding: 19px 20px !important; }
.yf-btn--sm { padding: 6px 24px !important; font-size: 14px !important; min-width: 140px !important; }
.yf-btn::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 100%;
    opacity: 0;
    z-index: -1;
    background: #92D050;
    transition: all 0.25s ease-out;
}
.yf-btn:hover::before { width: 100%; opacity: 1; left: 0; }
.yf-btn:hover { color: #fff !important; }
.yf-btn > * { position: relative; z-index: 1; }

/* ===== 特色卡片（放大尺寸，原站卡片高大） ===== */
.yf-feature-card { padding: 60px 40px 50px !important; min-height: 380px !important; display: flex !important; flex-direction: column !important; justify-content: flex-end !important; }
.yf-feature-card__icon {
    font-size: 80px !important;
    line-height: 1 !important;
    margin-bottom: auto !important;
    padding-bottom: 30px !important;
}
.yf-feature-card__title {
    font-size: 26px !important;
    font-weight: 700 !important;
    line-height: 1.3em !important;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
}

/* ===== 数字统计（放大到80px，视觉冲击力强） ===== */
.yf-stat__number {
    font-size: 80px !important;
    line-height: 1em !important;
    font-weight: 700 !important;
}
.yf-stat__suffix {
    font-size: 36px !important;
    font-weight: 700 !important;
}
@media (max-width: 1599px) { .yf-stat__number { font-size: 64px !important; } .yf-stat__suffix { font-size: 30px !important; } }
@media (max-width: 767px)  { .yf-stat__number { font-size: 42px !important; } .yf-stat__suffix { font-size: 22px !important; } }

.yf-stat__desc {
    font-size: 16px !important;
    font-weight: 300 !important;
    color: var(--yf-text-muted) !important;
    margin-top: 12px !important;
}

/* 统计列分隔线 */
.yf-stats > div:not(:last-child) {
    position: relative;
}
.yf-stats > div:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background: rgba(0,0,0,0.12);
}
@media (max-width: 1024px) { .yf-stats > div::after { display: none !important; } }

/* ===== 技术概览 ===== */
.yf-tech-overview__title {
    font-size: 28px !important;
    font-weight: 700 !important;
}
.yf-tech-overview__desc {
    font-size: 16px !important;
    font-weight: 300 !important;
    line-height: 1.8 !important;
}
.yf-tech-overview__subdesc {
    font-size: 16px !important;
    font-weight: 300 !important;
}

/* ===== 视频CTA ===== */
.yf-video-cta {
    min-height: 560px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ===== 场景列表（放大） ===== */
.yf-scenes__num {
    font-size: 16px !important;
}
.yf-scenes__name {
    font-size: 22px !important;
    font-weight: 400 !important;
}
.yf-scenes__item {
    padding: 28px 24px !important;
}
.yf-scenes__thumb {
    width: 80px !important;
    height: 80px !important;
}

/* ===== 产品卡片（放大） ===== */
.yf-product-card {
    padding: 48px 32px !important;
}
.yf-product-card__level {
    font-size: 14px !important;
    font-weight: 300 !important;
}
.yf-product-card__model {
    font-size: 28px !important;
    font-weight: 700 !important;
}
.yf-product-card__coverage {
    font-size: 22px !important;
    font-weight: 500 !important;
}
.yf-product-card__features li {
    font-size: 15px !important;
    font-weight: 300 !important;
    padding: 10px 0 !important;
}

/* ===== 认证板块（放大） ===== */
.yf-cert-highlight__value {
    font-size: 64px !important;
    font-weight: 700 !important;
}
.yf-cert-highlight__label {
    font-size: 16px !important;
    font-weight: 300 !important;
}
.yf-cert-highlight__desc {
    font-size: 15px !important;
    font-weight: 300 !important;
}
.yf-cert-list h3 {
    font-size: 20px !important;
    font-weight: 400 !important;
}

/* ===== CTA 区块 ===== */
.yf-cta__title {
    font-size: 42px !important;
    font-weight: 700 !important;
    line-height: 1.4em !important;
}
@media (max-width: 767px) { .yf-cta__title { font-size: 28px !important; } }

/* ===== 内页横幅（原站64px标题） ===== */
.yf-page-hero {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    /* 宽度铺满整个视口(含滚动条区)，避免右侧露白底 */
    width: 100vw !important;
    position: relative !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    /* 按图片比例自适应高度：宽1920高800 ≈ 2.4，
       容器高度随屏幕宽度等比缩放，整张图完整显示不被截断 */
    aspect-ratio: 1920 / 800 !important;
    /* 大屏下放行自然比例高度(1920宽->800高)；
       仅对超高/窄屏限制，避免banner占屏过多 */
    max-height: 75vh !important;
    /* margin-top 仍保留（固定导航栏占位） */
    background-size: cover !important;
    /* 主体内容在图片左侧，左对齐显示避免右侧留白突兀 */
    background-position: left center !important;
}
.yf-page-hero__content { padding-top: 0 !important; }
.yf-page-hero__title {
    font-size: 64px !important;
    font-weight: 700 !important;
    line-height: 1.2em !important;
}
@media (max-width: 992px) {
    .yf-page-hero {
        aspect-ratio: 1920 / 800 !important;
        max-height: 45vh !important;
    }
}
@media (max-width: 767px) { .yf-page-hero__title { font-size: 36px !important; } }

.yf-breadcrumb {
    font-size: 14px !important;
    font-weight: 300 !important;
}

/* ===== 导航 ===== */
.yf-nav-link {
    font-size: 14px !important;
    font-weight: 400 !important;
}
.yf-nav-phone {
    font-size: 14px !important;
    font-weight: 600 !important;
}

/* ===== 页脚 ===== */
.yf-footer-col h3 {
    font-size: 20px !important;
    font-weight: 700 !important;
}
.yf-footer-slogan {
    font-size: 15px !important;
    font-weight: 300 !important;
}
.yf-footer-links a {
    font-size: 15px !important;
    font-weight: 300 !important;
}
.yf-footer-contact-item {
    font-size: 15px !important;
    font-weight: 300 !important;
}
.yf-footer__copyright {
    font-size: 14px !important;
    font-weight: 300 !important;
}

/* ===== 新闻卡片 ===== */
.yf-news-card__title {
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
}
.yf-news-card__date {
    font-size: 14px !important;
}

/* ===== 联系卡片 ===== */
.yf-contact-card__value {
    font-size: 24px !important;
    font-weight: 400 !important;
}
.yf-contact-card__label {
    font-size: 16px !important;
    font-weight: 300 !important;
}
.yf-contact-card__desc {
    font-size: 14px !important;
    font-weight: 300 !important;
}

/* ===== 产品规格表 ===== */
.yf-spec-table th {
    font-size: 15px !important;
    font-weight: 600 !important;
}
.yf-spec-table td {
    font-size: 15px !important;
    font-weight: 300 !important;
}

/* ===== 正文内容 ===== */
.entry-content,
.page-content {
    font-size: 17px !important;
    font-weight: 300 !important;
    line-height: 1.8 !important;
}
.entry-content h2 { font-size: 36px !important; font-weight: 400 !important; margin: 42px 0 20px !important; }
.entry-content h3 { font-size: 30px !important; font-weight: 400 !important; margin: 42px 0 20px !important; }
.entry-content h4 { font-size: 24px !important; font-weight: 400 !important; margin: 42px 0 16px !important; }
.entry-content p  { margin-bottom: 20px !important; }

/* ============================================================
 * 原站样式还原补丁 v3（字体放大 · 对齐 Corex 视觉冲击力）
 * 基准: h1=100 h2=60 h3=48 h4=36 h5=30 h6=24 / 副标题10px ls6px
 * 覆盖补丁 v2 中同名规则
 * ============================================================ */

/* ===== Hero 标题（PC 端过大 → 调小到合理尺寸 56px） ===== */
.yf-hero-title {
    font-size: 54px !important;
    line-height: 1.1em !important;
    letter-spacing: -1px !important;
    font-weight: 500 !important;
    margin-bottom: 24px !important;
}
@media (max-width: 1599px) { .yf-hero-title { font-size: 50px !important; } }
@media (max-width: 1200px) { .yf-hero-title { font-size: 46px !important; } }
@media (max-width: 992px)  { .yf-hero-title { font-size: 38px !important; letter-spacing: 0 !important; } }
@media (max-width: 767px)  { .yf-hero-title { font-size: 26px !important; letter-spacing: 0 !important; line-height: 1.2em !important; } }

/* ===== Hero 副标题（用户反馈 10px 太小，改为 14px 易读） ===== */
.yf-hero-subtitle {
    font-size: 17px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    line-height: 1em !important;
    display: inline-block !important;
    margin-bottom: 20px !important;
    opacity: 1 !important;
    color: #1E57BE !important;
}
.yf-hero-subtitle::after {
    width: 38px !important;
    border-bottom: 2px solid var(--yf-primary) !important;
    margin-left: 10px !important;
    margin-bottom: 2px !important;
}
@media (max-width: 767px) { .yf-hero-subtitle { font-size: 12px !important; letter-spacing: 2px !important; } }

/* ===== 区块标题（原站 h3=48px 级别） ===== */
.yf-section-title {
    font-size: 56px !important;
    font-weight: 700 !important;
    line-height: 1.25em !important;
    margin-bottom: 20px !important;
}
@media (max-width: 1200px) { .yf-section-title { font-size: 44px !important; } }
@media (max-width: 992px)  { .yf-section-title { font-size: 36px !important; } }
@media (max-width: 767px)  { .yf-section-title { font-size: 28px !important; } }

/* ===== 区块副标题（用户反馈 14px 太小，改为 20px 易读） ===== */
.yf-section-subtitle {
    font-size: 20px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 4px !important;
    line-height: 1em !important;
    display: inline-block !important;
    margin-bottom: 16px !important;
}
.yf-section-subtitle::after {
    width: 40px !important;
    border-bottom: 2px solid var(--yf-primary) !important;
    margin-left: 12px !important;
    margin-bottom: 2px !important;
}

/* ===== 统计数字（原站大号计数器） ===== */
.yf-stat__number {
    font-size: 96px !important;
    line-height: 1em !important;
    font-weight: 700 !important;
}
.yf-stat__suffix {
    font-size: 40px !important;
    font-weight: 700 !important;
}
@media (max-width: 1599px) { .yf-stat__number { font-size: 80px !important; } .yf-stat__suffix { font-size: 36px !important; } }
@media (max-width: 1200px) { .yf-stat__number { font-size: 64px !important; } .yf-stat__suffix { font-size: 30px !important; } }
@media (max-width: 767px)  { .yf-stat__number { font-size: 44px !important; } .yf-stat__suffix { font-size: 22px !important; } }
.yf-stat__desc {
    font-size: 16px !important;
    margin-top: 14px !important;
}

/* ===== 特色卡片标题（原站 h5=30px 级别） ===== */
.yf-feature-card__title {
    font-size: 30px !important;
    font-weight: 700 !important;
    line-height: 1.3em !important;
    margin-bottom: 16px !important;
}
@media (max-width: 767px) { .yf-feature-card__title { font-size: 24px !important; } }

/* ===== 产品卡片（型号调小） ===== */
.yf-product-card__model {
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.2em !important;
    margin-bottom: 14px !important;
}
.yf-product-card__coverage {
    font-size: 18px !important;
    font-weight: 500 !important;
}
@media (max-width: 767px) {
    .yf-product-card__model { font-size: 18px !important; }
    .yf-product-card__coverage { font-size: 16px !important; }
}

/* ============================================================
 * 补丁 v4：客户反馈调整（字号/场景描述/Hero缩小）
 * ============================================================ */

/* 场景列表 - 带描述的新结构 */
.yf-scenes__content { flex: 1; }
.yf-scenes__head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 6px;
}
.yf-scenes__desc {
    color: var(--yf-text-muted);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}
@media (max-width: 767px) {
    .yf-scenes__desc { font-size: 12px; }
}

/* 产品详情页 - 店铺链接按钮 */
.yf-product-shops {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.yf-product-shops__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}
.yf-product-shops__btn--jd {
    background: #e1251b;
    color: #fff;
}
.yf-product-shops__btn--jd:hover {
    background: #c01a14;
    color: #fff;
}
.yf-product-shops__btn--tmall {
    background: #ff0036;
    color: #fff;
}
.yf-product-shops__btn--tmall:hover {
    background: #cc0029;
    color: #fff;
}

/* 产品列表页 - 左右交替布局 */
.yf-product-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}
.yf-product-row:nth-child(even) .yf-product-row__media {
    order: 2;
}
.yf-product-row__media {
    background: var(--yf-gray);
    border-radius: 8px;
    aspect-ratio: 4/3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.yf-product-row__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.yf-product-row__media--placeholder {
    color: var(--yf-text-light);
    font-size: 14px;
}
.yf-product-row__level {
    color: var(--yf-primary);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.yf-product-row__title {
    font-size: 32px;
    font-weight: 500;
    color: var(--yf-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}
.yf-product-row__spec {
    font-size: 16px;
    color: var(--yf-text-muted);
    margin-bottom: 16px;
}
.yf-product-row__spec strong {
    color: var(--yf-primary);
    font-weight: 600;
}
.yf-product-row__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 24px;
}
@media (max-width: 992px) {
    .yf-product-row {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 50px;
    }
    .yf-product-row:nth-child(even) .yf-product-row__media {
        order: 0;
    }
    .yf-product-row__title { font-size: 24px; }
}

/* 认证轮播 */
.yf-cert-carousel {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}
.yf-cert-carousel .swiper-slide {
    background: #fff;
    border-radius: 8px;
    aspect-ratio: 3/4;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.yf-cert-carousel .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.yf-cert-carousel .swiper-slide--placeholder {
    color: var(--yf-text-light);
    font-size: 14px;
    text-align: center;
    padding: 20px;
}

/* 面包屑（内页显示） */
.yf-breadcrumb-bar {
    background: var(--yf-gray);
    padding: 14px 0;
    font-size: 13px;
    color: var(--yf-text-muted);
}
.yf-breadcrumb-bar .yf-container {
    display: flex;
    align-items: center;
}
.yf-breadcrumb-bar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 8px;
    align-items: center;
}
.yf-breadcrumb-bar li:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: var(--yf-text-light);
}
.yf-breadcrumb-bar a {
    color: var(--yf-text-muted);
    text-decoration: none;
}
.yf-breadcrumb-bar a:hover {
    color: var(--yf-primary);
}

/* ============================================================
 * 补丁 v5：字体应用规则（抖音美好体 + 鸿蒙黑体）
 * - 标题一律用「抖音美好体」(Douyin Sans Bold)
 * - 正文一律用「鸿蒙黑体」(HarmonyOS Sans SC)
 * ============================================================ */

/* 所有标题元素强制使用抖音美好体 */
h1, h2, h3, h4, h5, h6,
.yf-hero-title,
.yf-section-title,
.yf-feature-card__title,
.yf-product-card__model,
.yf-product-row__title,
.yf-page-hero__title,
.yf-cta__title,
.yf-tech-overview__title,
.yf-footer-col h3,
.yf-news-card__title,
.yf-contact-card__value,
.yf-cert-highlight__value,
.yf-cert-list h3 {
    font-family: 'Douyin Sans', 'HarmonyOS Sans SC', 'Noto Sans SC', sans-serif !important;
    font-weight: 700 !important;
}

/* 统计数字也用抖音美好体（视觉重点） */
.yf-stat__number,
.yf-stat__suffix {
    font-family: 'Douyin Sans', 'HarmonyOS Sans SC', sans-serif !important;
}

/* 正文 / 段落 / 列表 / 表单 一律用鸿蒙黑体 */
body,
p, span, div,
ul, ol, li,
td, th,
label, input, textarea, select, button,
a,
.entry-content, .page-content,
.yf-hero-desc,
.yf-section-desc,
.yf-hero-subtitle,
.yf-section-subtitle,
.yf-tech-overview__desc,
.yf-tech-overview__subdesc,
.yf-product-card__features li,
.yf-scenes__name,
.yf-scenes__desc,
.yf-nav-link,
.yf-footer-slogan,
.yf-footer-links a,
.yf-footer-contact-item,
.yf-footer__copyright,
.yf-btn,
.yf-news-card__date,
.yf-news-card__badge,
.yf-breadcrumb,
.yf-breadcrumb-bar {
    font-family: 'HarmonyOS Sans SC', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* ==================== 分辨率自适应字体缩放 ==================== */
/* 1920为基准, 2K(2560)/4K(3840)自动放大, 小屏自动缩小 */
/* PC端和移动端分别使用不同比例,确保最佳阅读体验 */
:root {
    /* ========== PC端 (1920px+基准) ========== */
    --yf-fs-base: clamp(14px, 0.833vw, 24px);        /* 正文: 16px@1920 -> 21px@2560 -> 24px上限 */
    --yf-fs-h1: clamp(28px, 2.5vw, 80px);            /* 板块大标题: 48px@1920 -> 64px@2560 -> 80px上限 */
    --yf-fs-h2: clamp(16px, 1.15vw, 32px);           /* 板块副标题: 22px@1920 -> 27px@2560 -> 32px上限 */
    --yf-fs-h3: clamp(16px, 1.04vw, 28px);           /* 卡片标题: 20px@1920 -> 24px@2560 -> 28px上限 */
    --yf-fs-h4: clamp(14px, 0.83vw, 22px);           /* 小标题: 16px@1920 -> 18px@2560 -> 22px上限 */
    --yf-fs-sm: clamp(12px, 0.73vw, 20px);           /* 小文字: 14px@1920 -> 16px@2560 -> 20px上限 */
    --yf-fs-xs: clamp(11px, 0.68vw, 18px);           /* 最小文字: 13px@1920 -> 14px@2560 -> 18px上限 */
    --yf-fs-nav: clamp(14px, 0.89vw, 22px);          /* 导航: 17px@1920 -> 19px@2560 -> 22px上限 */
    --yf-fs-footer: clamp(13px, 0.78vw, 20px);       /* 底部: 15px@1920 -> 16px@2560 -> 20px上限 */
    --yf-fs-hero-title: clamp(28px, 3.5vw, 90px);    /* Hero标题: 67px@1920 -> 78px@2560 -> 90px上限 */
    --yf-fs-hero-sub: clamp(13px, 0.83vw, 22px);     /* Hero副标题: 16px@1920 -> 18px@2560 -> 22px上限 */
    --yf-fs-hero-desc: clamp(14px, 0.89vw, 24px);    /* Hero描述: 17px@1920 -> 19px@2560 -> 24px上限 */
    --yf-fs-btn: clamp(14px, 0.83vw, 22px);          /* 按钮: 16px@1920 -> 18px@2560 -> 22px上限 */
    --yf-fs-stat: clamp(48px, 5vw, 120px);           /* 统计数字: 96px@1920 -> 108px@2560 -> 120px上限 */
    --yf-fs-breadcrumb: clamp(12px, 0.73vw, 18px);   /* 面包屑: 14px@1920 -> 15px@2560 -> 18px上限 */
    --yf-fs-topbar: clamp(12px, 0.68vw, 18px);       /* 顶部栏: 13px@1920 -> 14px@2560 -> 18px上限 */
}

/* ========== 正文 ========== */
body { font-size: var(--yf-fs-base) !important; }
p, .yf-section-desc { font-size: var(--yf-fs-base) !important; }
.yf-sol-desc, .yf-scenes__desc { font-size: var(--yf-fs-base) !important; }

/* ========== 板块标题 ========== */
.yf-section-title { font-size: var(--yf-fs-h1) !important; }
.yf-section-subtitle { font-size: var(--yf-fs-h2) !important; }

/* ========== 首页Hero ========== */
.yf-hero-title { font-size: var(--yf-fs-hero-title) !important; }
.yf-hero-subtitle { font-size: var(--yf-fs-hero-sub) !important; }
.yf-hero-desc { font-size: var(--yf-fs-hero-desc) !important; }

/* ========== 卡片 ========== */
.yf-feature-card__title { font-size: var(--yf-fs-h3) !important; }
.yf-product-card__model { font-size: var(--yf-fs-h3) !important; }
.yf-product-card__level { font-size: var(--yf-fs-sm) !important; }
.yf-product-card__coverage { font-size: var(--yf-fs-h4) !important; }
.yf-product-card__features li { font-size: var(--yf-fs-base) !important; }
.yf-news-card__title { font-size: var(--yf-fs-h3) !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; line-height: 1.4; margin-bottom: 8px; }
.yf-news-card__excerpt { font-size: var(--yf-fs-sm) !important; color: #888; margin: 0 0 8px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }
.yf-news-card__badge, .yf-news-card__date { font-size: var(--yf-fs-sm) !important; }

/* ========== 手风琴/行业解决方案 ========== */
.yf-sol-name { font-size: var(--yf-fs-h4) !important; }
.yf-sol-num { font-size: var(--yf-fs-h4) !important; }
.yf-sol-pain { font-size: var(--yf-fs-sm) !important; }
.yf-sol-model strong { font-size: var(--yf-fs-h4) !important; }
.yf-sol-model span { font-size: var(--yf-fs-sm) !important; }

/* ========== 导航 ========== */
.yf-nav-link { font-size: var(--yf-fs-nav) !important; }
.yf-nav-phone { font-size: var(--yf-fs-nav) !important; }
.yf-topbar-info, .yf-topbar-social a { font-size: var(--yf-fs-topbar) !important; }

/* ========== 底部 ========== */
.yf-footer-col h3 { font-size: var(--yf-fs-h4) !important; }
.yf-footer-links a { font-size: var(--yf-fs-footer) !important; }
.yf-footer-slogan { font-size: var(--yf-fs-footer) !important; }
.yf-footer-contact-item { font-size: var(--yf-fs-footer) !important; }
.yf-footer-qr p { font-size: var(--yf-fs-sm) !important; }
.yf-footer__copyright { font-size: var(--yf-fs-sm) !important; }

/* ========== 场景 ========== */
.yf-scenes__name { font-size: var(--yf-fs-h3) !important; }
.yf-scenes__num { font-size: var(--yf-fs-sm) !important; }

/* ========== 统计数字 ========== */
.yf-stat__number { font-size: var(--yf-fs-stat) !important; }
.yf-stat__desc { font-size: var(--yf-fs-h4) !important; }

/* ========== 小文字 ========== */
.yf-breadcrumb, .yf-breadcrumb-bar { font-size: var(--yf-fs-breadcrumb) !important; }

/* ========== 按钮 ========== */
.yf-btn { font-size: var(--yf-fs-btn) !important; }

/* ========== 移动端适配 (<=767px) ========== */
@media (max-width: 767px) {
    :root {
        --yf-fs-base: 14px;
        --yf-fs-h1: 28px;
        --yf-fs-h2: 18px;
        --yf-fs-h3: 17px;
        --yf-fs-h4: 15px;
        --yf-fs-sm: 12px;
        --yf-fs-xs: 11px;
        --yf-fs-nav: 15px;
        --yf-fs-footer: 13px;
        --yf-fs-hero-title: 32px;
        --yf-fs-hero-sub: 13px;
        --yf-fs-hero-desc: 14px;
        --yf-fs-btn: 14px;
        --yf-fs-stat: 36px;
        --yf-fs-breadcrumb: 12px;
        --yf-fs-topbar: 12px;
    }
}

/* ========== 平板适配 (768px~1024px) ========== */
@media (min-width: 768px) and (max-width: 1024px) {
    :root {
        --yf-fs-base: 15px;
        --yf-fs-h1: 36px;
        --yf-fs-h2: 19px;
        --yf-fs-h3: 18px;
        --yf-fs-h4: 15px;
        --yf-fs-sm: 13px;
        --yf-fs-xs: 12px;
        --yf-fs-nav: 16px;
        --yf-fs-footer: 14px;
        --yf-fs-hero-title: 48px;
        --yf-fs-hero-sub: 14px;
        --yf-fs-hero-desc: 15px;
        --yf-fs-btn: 15px;
        --yf-fs-stat: 64px;
        --yf-fs-breadcrumb: 13px;
        --yf-fs-topbar: 12px;
    }
}
