/* ============================================
   远扬恒信网络科技 - 自定义样式
   深色科技风 / 炫酷动效 / 响应式 / PC+移动端
   ============================================ */

:root {
    --yyhx-primary: #4f8cff;
    --yyhx-secondary: #8b5cf6;
    --yyhx-accent: #06b6d4;
    --yyhx-dark: #0a0e1a;
    --yyhx-darker: #060912;
    --yyhx-card: rgba(255, 255, 255, 0.04);
    --yyhx-card-border: rgba(255, 255, 255, 0.08);
    --yyhx-text: #e8edf7;
    --yyhx-text-muted: #9ca8c2;
    --yyhx-gradient: linear-gradient(135deg, #4f8cff 0%, #8b5cf6 100%);
    --yyhx-gradient-2: linear-gradient(135deg, #06b6d4 0%, #4f8cff 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: #0a0e1a;
    background: var(--yyhx-dark);
    color: #e8edf7;
    color: var(--yyhx-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    overflow-x: hidden;
}

/* ---------- 粒子背景canvas ---------- */
#yyhx-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ---------- 背景光晕 ---------- */
.yyhx-bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 800px 500px at 15% 10%, rgba(79, 140, 255, 0.15), transparent 60%),
        radial-gradient(ellipse 600px 400px at 85% 70%, rgba(139, 92, 246, 0.12), transparent 60%),
        radial-gradient(ellipse 400px 300px at 50% 100%, rgba(6, 182, 212, 0.10), transparent 60%);
}

/* 网格背景 */
.yyhx-grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(79, 140, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 140, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.yyhx-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- 滚动渐入动画（渐进增强：默认可见） ---------- */
.yyhx-animate-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 仅当 JS 确认支持 IntersectionObserver 时才添加此隐藏类 */
.yyhx-animate-up.yyhx-anim-hidden {
    opacity: 0;
    transform: translateY(30px);
}

.yyhx-animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- 导航栏 ---------- */
.yyhx-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.yyhx-navbar.scrolled {
    background: rgba(10, 14, 26, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.yyhx-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.yyhx-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--yyhx-text);
}

.yyhx-logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--yyhx-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    color: #fff;
    letter-spacing: -1px;
    box-shadow: 0 4px 15px rgba(79, 140, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.yyhx-logo-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.2) 50%, transparent 60%);
    animation: yyhx-shine 3s infinite;
}

@keyframes yyhx-shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.yyhx-logo-text {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.yyhx-logo-text small {
    display: block;
    font-size: 10px;
    font-weight: 400;
    color: var(--yyhx-text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.yyhx-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.yyhx-nav-links a {
    color: var(--yyhx-text-muted);
    text-decoration: none;
    font-size: 14.5px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.25s ease;
    white-space: nowrap;
    position: relative;
}

.yyhx-nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--yyhx-gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.yyhx-nav-links a:hover,
.yyhx-nav-links a.active {
    color: #fff;
    background: rgba(79, 140, 255, 0.12);
}

.yyhx-nav-links a:hover::after,
.yyhx-nav-links a.active::after {
    width: 20px;
}

.yyhx-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--yyhx-text);
    font-size: 24px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
}

/* ---------- Hero 区域 ---------- */
.yyhx-hero {
    padding: 180px 0 120px;
    text-align: center;
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yyhx-hero-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 100px;
    background: rgba(79, 140, 255, 0.1);
    border: 1px solid rgba(79, 140, 255, 0.25);
    color: var(--yyhx-primary);
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 28px;
    animation: yyhx-float 3s ease-in-out infinite;
}

@keyframes yyhx-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.yyhx-hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #a8c5ff 40%, #c4b5fd 70%, #67e8f9 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: yyhx-gradient-shift 4s ease infinite;
}

@keyframes yyhx-gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.yyhx-hero p {
    font-size: 18px;
    color: var(--yyhx-text-muted);
    max-width: 640px;
    margin: 0 auto 44px;
    line-height: 1.8;
}

.yyhx-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- 按钮 ---------- */
.yyhx-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.yyhx-btn-primary {
    background: var(--yyhx-gradient);
    color: #fff;
    box-shadow: 0 4px 20px rgba(79, 140, 255, 0.35);
}

.yyhx-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.yyhx-btn-primary:hover::before {
    left: 100%;
}

.yyhx-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(79, 140, 255, 0.5);
}

.yyhx-btn-outline {
    background: transparent;
    color: var(--yyhx-text);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.yyhx-btn-outline:hover {
    border-color: var(--yyhx-primary);
    background: rgba(79, 140, 255, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(79, 140, 255, 0.2);
}

/* ---------- 通用区块 ---------- */
.yyhx-section {
    padding: 90px 0;
    position: relative;
}

.yyhx-section-header {
    text-align: center;
    margin-bottom: 56px;
}

.yyhx-section-label {
    display: inline-block;
    font-size: 13px;
    color: var(--yyhx-primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 600;
    position: relative;
}

.yyhx-section-label::before,
.yyhx-section-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--yyhx-primary));
}

.yyhx-section-label::before {
    right: 100%;
    margin-right: 12px;
}

.yyhx-section-label::after {
    left: 100%;
    margin-left: 12px;
    background: linear-gradient(90deg, var(--yyhx-primary), transparent);
}

.yyhx-section-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #fff;
}

.yyhx-section-desc {
    font-size: 16px;
    color: var(--yyhx-text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---------- 公司简介 ---------- */
.yyhx-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.yyhx-about-text p {
    color: var(--yyhx-text-muted);
    line-height: 2;
    margin-bottom: 16px;
    font-size: 15.5px;
}

.yyhx-about-text strong {
    color: var(--yyhx-text);
}

.yyhx-about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.yyhx-stat-card {
    background: var(--yyhx-card);
    border: 1px solid var(--yyhx-card-border);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.yyhx-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--yyhx-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.yyhx-stat-card:hover {
    border-color: rgba(79, 140, 255, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.yyhx-stat-card:hover::before {
    transform: scaleX(1);
}

.yyhx-stat-num {
    font-size: 38px;
    font-weight: 800;
    background: var(--yyhx-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}

.yyhx-stat-label {
    font-size: 13px;
    color: var(--yyhx-text-muted);
}

/* ---------- 部门卡片 ---------- */
.yyhx-dept-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.yyhx-dept-card {
    display: block;
    background: var(--yyhx-card);
    border: 1px solid var(--yyhx-card-border);
    border-radius: 18px;
    padding: 32px 26px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.yyhx-dept-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--yyhx-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.yyhx-dept-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(79, 140, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.yyhx-dept-card:hover {
    transform: translateY(-10px);
    border-color: rgba(79, 140, 255, 0.4);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(79, 140, 255, 0.1);
}

.yyhx-dept-card:hover::before {
    transform: scaleX(1);
}

.yyhx-dept-card:hover::after {
    opacity: 1;
}

.yyhx-dept-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
    background: rgba(79, 140, 255, 0.12);
    color: var(--yyhx-primary);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.yyhx-dept-card:hover .yyhx-dept-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(79, 140, 255, 0.3);
}

.yyhx-dept-card:nth-child(2) .yyhx-dept-icon {
    background: rgba(139, 92, 246, 0.12);
    color: var(--yyhx-secondary);
}
.yyhx-dept-card:nth-child(2):hover .yyhx-dept-icon {
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.yyhx-dept-card:nth-child(3) .yyhx-dept-icon {
    background: rgba(6, 182, 212, 0.12);
    color: var(--yyhx-accent);
}
.yyhx-dept-card:nth-child(3):hover .yyhx-dept-icon {
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.3);
}

.yyhx-dept-card:nth-child(4) .yyhx-dept-icon {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}
.yyhx-dept-card:nth-child(4):hover .yyhx-dept-icon {
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
}

.yyhx-dept-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.yyhx-dept-desc {
    font-size: 14px;
    color: var(--yyhx-text-muted);
    line-height: 1.7;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.yyhx-dept-link {
    font-size: 13px;
    color: var(--yyhx-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.3s ease;
    position: relative;
    z-index: 1;
}

.yyhx-dept-card:hover .yyhx-dept-link {
    gap: 10px;
}

/* ---------- 最新动态 ---------- */
.yyhx-news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.yyhx-news-item {
    display: flex;
    gap: 18px;
    padding: 24px;
    background: var(--yyhx-card);
    border: 1px solid var(--yyhx-card-border);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.yyhx-news-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--yyhx-gradient);
    transform: scaleY(0);
    transition: transform 0.35s ease;
}

.yyhx-news-item:hover {
    border-color: rgba(79, 140, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(6px);
}

.yyhx-news-item:hover::before {
    transform: scaleY(1);
}

.yyhx-news-date {
    flex-shrink: 0;
    width: 60px;
    text-align: center;
}

.yyhx-news-day {
    font-size: 30px;
    font-weight: 800;
    background: var(--yyhx-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.yyhx-news-month {
    font-size: 12px;
    color: var(--yyhx-text-muted);
    margin-top: 4px;
}

.yyhx-news-body {
    flex: 1;
    min-width: 0;
}

.yyhx-news-tag {
    display: inline-block;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(79, 140, 255, 0.12);
    color: var(--yyhx-primary);
    margin-bottom: 6px;
}

.yyhx-news-body h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.yyhx-news-item:hover .yyhx-news-body h4 {
    color: var(--yyhx-primary);
}

.yyhx-news-body p {
    font-size: 13.5px;
    color: var(--yyhx-text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- 底部 ---------- */
.yyhx-footer {
    background: #060912;
    background: var(--yyhx-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 60px 0 0;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.yyhx-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--yyhx-primary), var(--yyhx-secondary), transparent);
}

.yyhx-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.yyhx-footer-brand h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}

.yyhx-footer-brand p {
    font-size: 14px;
    color: var(--yyhx-text-muted);
    line-height: 1.8;
    margin-bottom: 8px;
}

.yyhx-footer-col h4 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 18px;
}

.yyhx-footer-col ul {
    list-style: none;
}

.yyhx-footer-col li {
    margin-bottom: 10px;
}

.yyhx-footer-col a {
    color: var(--yyhx-text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.25s ease;
    display: inline-block;
}

.yyhx-footer-col a:hover {
    color: var(--yyhx-primary);
    transform: translateX(4px);
}

.yyhx-footer-qrcode {
    text-align: center;
}

.yyhx-footer-qrcode img {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    border: 4px solid #fff;
    background: #fff;
    transition: transform 0.3s ease;
}

.yyhx-footer-qrcode img:hover {
    transform: scale(1.05);
}

.yyhx-footer-qrcode p {
    font-size: 12px;
    color: var(--yyhx-text-muted);
    margin-top: 10px;
}

.yyhx-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: var(--yyhx-text-muted);
}

/* ---------- 内页通用 ---------- */
.yyhx-page-header {
    padding: 160px 0 70px;
    text-align: center;
    position: relative;
    background: linear-gradient(180deg, rgba(79, 140, 255, 0.08) 0%, transparent 100%);
}

.yyhx-page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--yyhx-gradient);
    border-radius: 2px;
}

.yyhx-page-header h1 {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fff, #a8c5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.yyhx-page-header p {
    color: var(--yyhx-text-muted);
    font-size: 16px;
}

.yyhx-page-content {
    padding: 50px 0 80px;
}

/* ---------- 文章列表 ---------- */
.yyhx-article-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.yyhx-article-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    background: var(--yyhx-card);
    border: 1px solid var(--yyhx-card-border);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.yyhx-article-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--yyhx-gradient);
    transform: scaleY(0);
    transition: transform 0.35s ease;
}

.yyhx-article-item:hover {
    border-color: rgba(79, 140, 255, 0.35);
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.yyhx-article-item:hover::before {
    transform: scaleY(1);
}

.yyhx-article-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--yyhx-text);
    transition: color 0.3s ease;
}

.yyhx-article-item:hover .yyhx-article-title {
    color: var(--yyhx-primary);
}

.yyhx-tag-top {
    display: inline-block;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    margin-right: 8px;
    font-weight: 600;
}

.yyhx-article-meta {
    font-size: 13px;
    color: var(--yyhx-text-muted);
    flex-shrink: 0;
    margin-left: 20px;
    display: flex;
    gap: 16px;
}

/* ---------- 分页 ---------- */
.yyhx-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.yyhx-page-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 10px;
    background: var(--yyhx-card);
    border: 1px solid var(--yyhx-card-border);
    color: var(--yyhx-text-muted);
    text-decoration: none;
    font-size: 13.5px;
    transition: all 0.3s ease;
}

.yyhx-page-btn:hover {
    border-color: var(--yyhx-primary);
    color: #fff;
    background: rgba(79, 140, 255, 0.1);
    transform: translateY(-2px);
}

.yyhx-page-numbar {
    display: inline-flex;
    gap: 6px;
}

.yyhx-page-numbar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--yyhx-card);
    border: 1px solid var(--yyhx-card-border);
    color: var(--yyhx-text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.yyhx-page-numbar a:hover {
    border-color: var(--yyhx-primary);
    color: #fff;
    background: rgba(79, 140, 255, 0.1);
}

.yyhx-page-numbar a.page-num-current {
    background: var(--yyhx-gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 15px rgba(79, 140, 255, 0.4);
}

.yyhx-page-numbar .page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--yyhx-text-muted);
    min-width: 40px;
    height: 40px;
    font-size: 14px;
}

.yyhx-no-data {
    text-align: center;
    padding: 60px 20px;
    color: var(--yyhx-text-muted);
}

.yyhx-no-data i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.yyhx-no-data p {
    font-size: 15px;
}

/* ---------- 文章详情 ---------- */
.yyhx-article-detail {
    background: rgba(255, 255, 255, 0.04);
    background: var(--yyhx-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border: 1px solid var(--yyhx-card-border);
    border-radius: 16px;
    padding: 40px;
}

.yyhx-article-title-main {
    font-size: 28px;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.4;
}

.yyhx-article-meta-bar {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--yyhx-text-muted);
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.yyhx-article-body {
    color: var(--yyhx-text-muted);
    line-height: 2;
    font-size: 15.5px;
}

/* 富文本样式 */
.yyhx-rich-text p {
    margin-bottom: 16px;
}

.yyhx-rich-text strong {
    color: var(--yyhx-text);
}

.yyhx-rich-text h1,
.yyhx-rich-text h2,
.yyhx-rich-text h3 {
    color: #fff;
    margin: 24px 0 12px;
}

.yyhx-rich-text img {
    max-width: 100%;
    border-radius: 10px;
    margin: 16px 0;
}

.yyhx-rich-text a {
    color: var(--yyhx-primary);
    text-decoration: none;
}

.yyhx-rich-text ul,
.yyhx-rich-text ol {
    margin: 12px 0 16px 24px;
}

.yyhx-rich-text li {
    margin-bottom: 8px;
}

.yyhx-rich-text blockquote {
    border-left: 3px solid var(--yyhx-primary);
    padding: 12px 20px;
    margin: 16px 0;
    background: rgba(79, 140, 255, 0.06);
    border-radius: 0 8px 8px 0;
}

/* 上下篇 */
.yyhx-pre-next {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.yyhx-pre-next-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.yyhx-pre-next-label {
    flex-shrink: 0;
    padding: 4px 12px;
    border-radius: 6px;
    background: rgba(79, 140, 255, 0.1);
    color: var(--yyhx-primary);
    font-size: 12px;
    font-weight: 600;
}

.yyhx-pre-next-link {
    color: var(--yyhx-text-muted);
}

.yyhx-pre-next-link a {
    color: var(--yyhx-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.yyhx-pre-next-link a:hover {
    color: var(--yyhx-primary);
}

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
    .yyhx-dept-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .yyhx-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .yyhx-about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .yyhx-nav-links {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 16px 20px;
        gap: 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    .yyhx-nav-links.open {
        display: flex;
    }
    .yyhx-nav-links a {
        display: block;
        padding: 12px 16px;
        width: 100%;
    }
    .yyhx-nav-toggle {
        display: block;
    }
    .yyhx-hero {
        padding: 130px 0 70px;
        min-height: auto;
    }
    .yyhx-hero h1 {
        font-size: 32px;
    }
    .yyhx-hero p {
        font-size: 15px;
    }
    .yyhx-section {
        padding: 55px 0;
    }
    .yyhx-section-title {
        font-size: 26px;
    }
    .yyhx-news-grid {
        grid-template-columns: 1fr;
    }
    .yyhx-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .yyhx-footer-qrcode {
        text-align: left;
    }
    .yyhx-article-detail {
        padding: 24px 20px;
    }
    .yyhx-article-title-main {
        font-size: 22px;
    }
    .yyhx-article-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .yyhx-article-meta {
        margin-left: 0;
    }
    .yyhx-page-header {
        padding: 130px 0 50px;
    }
    .yyhx-page-header h1 {
        font-size: 28px;
    }
    .yyhx-page-btn {
        padding: 8px 14px;
        font-size: 12.5px;
    }
}

/* ============================================
   新增组件样式 - 卡片网格 / 筛选 / 表单 / 产品
   ============================================ */

/* ---------- 卡片网格（案例、产品等） ---------- */
.yyhx-grid-card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.yyhx-card-item {
    display: block;
    background: var(--yyhx-card);
    border: 1px solid var(--yyhx-card-border);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.yyhx-card-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--yyhx-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
    z-index: 2;
}

.yyhx-card-item:hover {
    transform: translateY(-8px);
    border-color: rgba(79, 140, 255, 0.4);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(79, 140, 255, 0.1);
}

.yyhx-card-item:hover::before {
    transform: scaleX(1);
}

.yyhx-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.yyhx-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.yyhx-card-item:hover .yyhx-card-img img {
    transform: scale(1.1);
}

.yyhx-card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    z-index: 1;
}

.yyhx-card-body {
    padding: 18px 20px 22px;
}

.yyhx-card-body h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.yyhx-card-item:hover .yyhx-card-body h4 {
    color: var(--yyhx-primary);
}

.yyhx-card-body p {
    font-size: 13.5px;
    color: var(--yyhx-text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 14px;
}

.yyhx-card-link {
    font-size: 13px;
    color: var(--yyhx-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.3s ease;
}

.yyhx-card-item:hover .yyhx-card-link {
    gap: 10px;
}

/* ---------- 徽章 ---------- */
.yyhx-badge {
    display: inline-block;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 600;
    line-height: 1.4;
}

.yyhx-badge-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.yyhx-badge-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.yyhx-badge-info {
    background: rgba(79, 140, 255, 0.12);
    color: var(--yyhx-primary);
}

/* ---------- 文章标签 ---------- */
.yyhx-tag-recommend {
    display: inline-block;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    margin-right: 8px;
    font-weight: 600;
}

.yyhx-tag-headline {
    display: inline-block;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(6, 182, 212, 0.15);
    color: var(--yyhx-accent);
    margin-right: 8px;
    font-weight: 600;
}

/* ---------- 招聘卡片 ---------- */
.yyhx-job-card {
    display: block;
    background: var(--yyhx-card);
    border: 1px solid var(--yyhx-card-border);
    border-radius: 14px;
    padding: 24px 28px;
    text-decoration: none;
    color: inherit;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.yyhx-job-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--yyhx-gradient);
    transform: scaleY(0);
    transition: transform 0.35s ease;
}

.yyhx-job-card:hover {
    border-color: rgba(79, 140, 255, 0.35);
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.yyhx-job-card:hover::before {
    transform: scaleY(1);
}

.yyhx-job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.yyhx-job-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    transition: color 0.3s ease;
}

.yyhx-job-card:hover .yyhx-job-title {
    color: var(--yyhx-primary);
}

.yyhx-job-date {
    font-size: 13px;
    color: var(--yyhx-text-muted);
}

.yyhx-job-desc {
    font-size: 14px;
    color: var(--yyhx-text-muted);
    line-height: 1.7;
    margin-bottom: 14px;
}

.yyhx-job-action {
    text-align: right;
}

/* ---------- 筛选栏 ---------- */
.yyhx-filter-bar {
    background: var(--yyhx-card);
    border: 1px solid var(--yyhx-card-border);
    border-radius: 14px;
    padding: 22px 28px;
    margin-bottom: 32px;
}

.yyhx-filter-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.yyhx-filter-row:last-child {
    margin-bottom: 0;
}

.yyhx-filter-label {
    flex-shrink: 0;
    font-size: 14px;
    color: var(--yyhx-text-muted);
    font-weight: 600;
    min-width: 60px;
}

.yyhx-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.yyhx-filter-btn {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--yyhx-card-border);
    color: var(--yyhx-text-muted);
    text-decoration: none;
    font-size: 13.5px;
    transition: all 0.25s ease;
}

.yyhx-filter-btn:hover {
    border-color: var(--yyhx-primary);
    color: #fff;
    background: rgba(79, 140, 255, 0.1);
}

.yyhx-filter-active {
    background: var(--yyhx-gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 15px rgba(79, 140, 255, 0.35);
}

/* ---------- 搜索表单 ---------- */
.yyhx-search-form {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.yyhx-search-form input {
    width: 320px;
    max-width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    background: var(--yyhx-card);
    border: 1px solid var(--yyhx-card-border);
    color: var(--yyhx-text);
    font-size: 14.5px;
    outline: none;
    transition: all 0.3s ease;
}

.yyhx-search-form input:focus {
    border-color: var(--yyhx-primary);
    box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.15);
}

.yyhx-search-form input::placeholder {
    color: var(--yyhx-text-muted);
}

.yyhx-search-form button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 12px;
    background: var(--yyhx-gradient);
    color: #fff;
    font-size: 14.5px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.yyhx-search-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 140, 255, 0.4);
}

/* ---------- 产品详情 ---------- */
.yyhx-product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--yyhx-card);
    border: 1px solid var(--yyhx-card-border);
    border-radius: 16px;
    padding: 36px;
}

.yyhx-product-gallery {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.yyhx-product-main-img {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    aspect-ratio: 1;
}

.yyhx-product-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yyhx-product-thumb {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--yyhx-card-border);
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.yyhx-product-thumb:hover {
    border-color: var(--yyhx-primary);
}

.yyhx-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yyhx-product-info {
    display: flex;
    flex-direction: column;
}

.yyhx-product-specs {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
}

.yyhx-spec-row {
    display: flex;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.yyhx-spec-label {
    width: 110px;
    flex-shrink: 0;
    color: var(--yyhx-text-muted);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.yyhx-spec-label i {
    color: var(--yyhx-primary);
    width: 16px;
    text-align: center;
}

.yyhx-spec-value {
    color: var(--yyhx-text);
    font-size: 14.5px;
    flex: 1;
}

.yyhx-spec-price .yyhx-spec-value {
    color: #f59e0b;
    font-size: 22px;
    font-weight: 700;
}

.yyhx-product-content-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 10px;
}

.yyhx-product-content-title i {
    color: var(--yyhx-primary);
}

/* ---------- 留言列表 ---------- */
.yyhx-message-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
}

.yyhx-message-item {
    background: var(--yyhx-card);
    border: 1px solid var(--yyhx-card-border);
    border-radius: 14px;
    padding: 22px 26px;
}

.yyhx-message-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.yyhx-message-head img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(79, 140, 255, 0.3);
}

.yyhx-message-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}

.yyhx-message-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.yyhx-message-content {
    color: var(--yyhx-text-muted);
    font-size: 14.5px;
    line-height: 1.8;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.yyhx-message-reply {
    margin-top: 16px;
    padding: 16px 20px;
    background: rgba(79, 140, 255, 0.06);
    border-left: 3px solid var(--yyhx-primary);
    border-radius: 0 10px 10px 0;
}

.yyhx-message-reply-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.yyhx-message-reply-head img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.yyhx-message-reply-head span {
    font-size: 13px;
    font-weight: 600;
    color: var(--yyhx-primary);
}

.yyhx-message-reply-content {
    color: var(--yyhx-text);
    font-size: 14px;
    line-height: 1.7;
}

.yyhx-message-reply-date {
    font-size: 12px;
    color: var(--yyhx-text-muted);
    margin-top: 8px;
}

/* ---------- 表单 ---------- */
.yyhx-form-wrap {
    max-width: 720px;
    margin: 0 auto;
    background: var(--yyhx-card);
    border: 1px solid var(--yyhx-card-border);
    border-radius: 16px;
    padding: 36px;
}

.yyhx-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.yyhx-form-group {
    margin-bottom: 22px;
}

.yyhx-form-group label {
    display: block;
    font-size: 13.5px;
    color: var(--yyhx-text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.yyhx-form-group label i {
    color: var(--yyhx-primary);
    margin-right: 6px;
}

.yyhx-form-group input,
.yyhx-form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--yyhx-card-border);
    color: var(--yyhx-text);
    font-size: 14.5px;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

.yyhx-form-group input:focus,
.yyhx-form-group textarea:focus {
    border-color: var(--yyhx-primary);
    box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.yyhx-form-group input::placeholder,
.yyhx-form-group textarea::placeholder {
    color: rgba(156, 168, 194, 0.5);
}

.yyhx-form-code {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 14px;
    align-items: end;
}

.yyhx-code-img {
    height: 46px;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid var(--yyhx-card-border);
    width: 100%;
    object-fit: cover;
}

/* ---------- 上下篇链接增强 ---------- */
.yyhx-pre-next-link a {
    display: inline-block;
    padding: 4px 0;
    border-bottom: 1px dashed transparent;
}

.yyhx-pre-next-link a:hover {
    border-bottom-color: var(--yyhx-primary);
}

/* ---------- 确保内容层可点击 ---------- */
.yyhx-page-content,
.yyhx-section,
.yyhx-hero,
.yyhx-page-header {
    position: relative;
    z-index: 1;
}

/* ---------- 下拉选择框样式 ---------- */
.yyhx-form-group select {
    width: 100%;
    padding: 13px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--yyhx-card-border);
    color: var(--yyhx-text);
    font-size: 14.5px;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f8cff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
}

.yyhx-form-group select:focus {
    border-color: var(--yyhx-primary);
    box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.15);
}

/* ---------- 会员中心布局 ---------- */
.yyhx-member-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    align-items: start;
}

.yyhx-member-menu {
    background: var(--yyhx-card);
    border: 1px solid var(--yyhx-card-border);
    border-radius: 14px;
    padding: 12px;
    position: sticky;
    top: 88px;
}

.yyhx-member-menu-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    color: var(--yyhx-text-muted);
    text-decoration: none;
    font-size: 14.5px;
    transition: all 0.25s ease;
}

.yyhx-member-menu-item a:hover {
    background: rgba(79, 140, 255, 0.1);
    color: #fff;
}

.yyhx-member-menu-item a i {
    width: 18px;
    text-align: center;
    color: var(--yyhx-primary);
}

.yyhx-member-content {
    min-width: 0;
}

/* ---------- 用户信息 ---------- */
.yyhx-user-info {
    display: flex;
    flex-direction: column;
}

.yyhx-user-info-row {
    display: flex;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.yyhx-user-info-row:last-child {
    border-bottom: none;
}

.yyhx-user-info-label {
    width: 120px;
    flex-shrink: 0;
    color: var(--yyhx-text-muted);
    font-size: 14px;
}

.yyhx-user-info-value {
    color: var(--yyhx-text);
    font-size: 14.5px;
    flex: 1;
}

/* ---------- 评论列表 ---------- */
.yyhx-comment-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.yyhx-comment-item {
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--yyhx-card-border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.yyhx-comment-item:hover {
    border-color: rgba(79, 140, 255, 0.3);
}

.yyhx-comment-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.yyhx-comment-index {
    color: var(--yyhx-primary);
    font-weight: 600;
    font-size: 13px;
}

.yyhx-comment-article {
    color: var(--yyhx-text);
    font-weight: 600;
    font-size: 14px;
}

.yyhx-comment-status {
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 100px;
    font-weight: 600;
}

.yyhx-status-pass {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.yyhx-status-pending {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.yyhx-comment-date {
    color: var(--yyhx-text-muted);
    font-size: 12px;
    margin-left: auto;
}

.yyhx-comment-text {
    color: var(--yyhx-text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.yyhx-comment-action {
    text-align: right;
}

.yyhx-comment-del {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--yyhx-text-muted);
    font-size: 13px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.yyhx-comment-del:hover {
    color: #ef4444;
}

/* ---------- 会员布局响应式 ---------- */
@media (max-width: 768px) {
    .yyhx-member-layout {
        grid-template-columns: 1fr;
    }
    .yyhx-member-menu {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    .yyhx-member-menu-item a {
        padding: 10px 14px;
    }
    .yyhx-user-info-row {
        flex-direction: column;
        gap: 4px;
    }
    .yyhx-user-info-label {
        width: auto;
    }
}

/* ---------- 评论区 ---------- */
.yyhx-comment-section {
    margin-top: 40px;
}

.yyhx-comment-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.yyhx-comment-title i {
    color: var(--yyhx-primary);
}

.yyhx-comment-form-card {
    background: var(--yyhx-card);
    border: 1px solid var(--yyhx-card-border);
    border-radius: 14px;
    padding: 28px;
}

.yyhx-comment-form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--yyhx-card-border);
    color: var(--yyhx-text);
    font-size: 14.5px;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
    resize: vertical;
}

.yyhx-comment-form textarea:focus {
    border-color: var(--yyhx-primary);
    box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.15);
}

.yyhx-comment-form textarea::placeholder {
    color: rgba(156, 168, 194, 0.5);
}

.yyhx-comment-item {
    display: flex;
    gap: 14px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.yyhx-comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(79, 140, 255, 0.3);
}

.yyhx-comment-avatar-sm {
    width: 32px;
    height: 32px;
}

.yyhx-comment-body {
    flex: 1;
    min-width: 0;
}

.yyhx-comment-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.yyhx-comment-head strong {
    color: var(--yyhx-text);
    font-size: 14px;
}

.yyhx-comment-head small {
    color: var(--yyhx-text-muted);
    font-size: 12px;
}

.yyhx-comment-text {
    color: var(--yyhx-text-muted);
    font-size: 14px;
    line-height: 1.7;
    word-break: break-word;
}

.yyhx-reply-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--yyhx-primary);
    font-size: 12px;
    cursor: pointer;
    margin-left: 8px;
    transition: opacity 0.3s ease;
}

.yyhx-reply-btn:hover {
    opacity: 0.8;
}

.yyhx-comment-sub {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    padding: 14px 0 0 14px;
    border-left: 2px solid rgba(79, 140, 255, 0.2);
}

/* ---------- 弹窗 ---------- */
.yyhx-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.yyhx-modal-dialog {
    width: 100%;
    max-width: 520px;
}

.yyhx-modal-content {
    background: var(--yyhx-dark);
    border: 1px solid var(--yyhx-card-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.yyhx-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.yyhx-modal-header h5 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.yyhx-modal-header h5 i {
    color: var(--yyhx-primary);
}

.yyhx-modal-close {
    background: none;
    border: none;
    color: var(--yyhx-text-muted);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.yyhx-modal-close:hover {
    color: #fff;
}

.yyhx-modal-body {
    padding: 24px;
}

.yyhx-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ---------- 响应式补充 ---------- */
@media (max-width: 992px) {
    .yyhx-grid-card {
        grid-template-columns: repeat(2, 1fr);
    }
    .yyhx-product-detail {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .yyhx-grid-card {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .yyhx-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .yyhx-form-code {
        grid-template-columns: 1fr;
    }
    .yyhx-code-img {
        width: 120px;
    }
    .yyhx-form-wrap {
        padding: 24px 20px;
    }
    .yyhx-filter-bar {
        padding: 18px;
    }
    .yyhx-filter-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .yyhx-product-detail {
        padding: 22px;
    }
    .yyhx-card-body {
        padding: 14px 16px 18px;
    }
}

@media (max-width: 480px) {
    .yyhx-grid-card {
        grid-template-columns: 1fr;
    }
    .yyhx-search-form input {
        width: 100%;
    }
    .yyhx-job-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .yyhx-spec-row {
        flex-direction: column;
        gap: 4px;
    }
    .yyhx-spec-label {
        width: auto;
    }
}

@media (max-width: 480px) {
    .yyhx-dept-grid {
        grid-template-columns: 1fr;
    }
    .yyhx-hero h1 {
        font-size: 26px;
    }
    .yyhx-logo-text {
        font-size: 15px;
    }
    .yyhx-logo-text small {
        display: none;
    }
    .yyhx-section-label::before,
    .yyhx-section-label::after {
        display: none;
    }
}
