/* CSS变量定义 */
:root {
    --primary-color: rgba(205, 255, 5, 0.7);
    --primary-color-alpha-10: rgba(205, 255, 5, 0.1);
    --primary-color-alpha-20: rgba(205, 255, 5, 0.2);
    --primary-color-alpha-30: rgba(205, 255, 5, 0.3);
    --primary-color-alpha-50: rgba(205, 255, 5, 0.5);
    --primary-color-alpha-70: rgba(205, 255, 5, 0.7);
    --primary-color-alpha-80: rgba(205, 255, 5, 0.8);
    --primary-color-solid: #cdff05;

    /* 链接颜色变量 */
    --link-color: #ffffff;
    --link-hover-color: var(--primary-color-solid);
    --link-active-color: var(--primary-color-alpha-80);
    --link-visited-color: #ffffff;

    /* 文本颜色变量 */
    --text-color-primary: #ffffff;
    --text-color-secondary: rgba(255, 255, 255, 0.8);
    --background-color-primary: #000000;
}

/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background-color: var(--background-color-primary);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text-color-primary);
    position: relative;
}

/* 全局链接样式 */
a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
    color: var(--link-hover-color);
    text-decoration: none;
}

a:active {
    color: var(--link-active-color);
}

a:visited {
    color: var(--link-visited-color);
}

/* 格子发光效果容器 */
.grid-glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background: inherit;
}

/* 顶部导航栏 */
.navbar {
    background: rgba(0, 0, 0, 0.95);
    padding: 12px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links .nav-link {
    margin-right: 30px;
}

.nav-links .nav-link:last-child {
    margin-right: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    color: var(--link-color);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 0;
    transition: background-color 0.2s ease;
    will-change: background-color;
}

.nav-link span {
    margin-left: 6px;
}

.nav-link span:first-child {
    margin-left: 0;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-icon {
    font-size: 16px;
}

.nav-right {
    display: flex;
    align-items: center;
}

.nav-right .nav-link {
    margin-right: 20px;
}

.nav-right .nav-link:last-child {
    margin-right: 0;
}

.nav-right .user-avatar {
    margin-left: 20px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 0;
    background: linear-gradient(45deg, #60a5fa, #a78bfa);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
}

/* 主要内容区域 */
.main-content {
    margin-top: 180px;
    position: relative;
    min-height: calc(100vh - 260px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 20px;
    z-index: 3;
}

.hero-section {
    position: relative;
    width: 100%;
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
}

/* 背景装饰元素 */
.bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffffff;
    border-radius: 0;
    animation: twinkle 2s infinite;
}

.star-1 {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.star-2 {
    top: 30%;
    right: 20%;
    animation-delay: 0.5s;
}

.star-3 {
    bottom: 40%;
    left: 25%;
    animation-delay: 1s;
}

.star-4 {
    bottom: 20%;
    right: 30%;
    animation-delay: 1.5s;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}



/* 主要文字内容 */
.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-title {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-color-primary);
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
    letter-spacing: -1px;
}

.highlight-text {
    color: var(--primary-color-solid);
    text-shadow: 0 4px 20px var(--primary-color-alpha-50);
}

.sub-title {
    font-size: 20px;
    color: var(--text-color-primary);
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@property --guarantee-border-angle {
    syntax: '<angle>';
    inherits: true;
    initial-value: 0turn;
}

.guarantee-text {
    font-size: 16px;
    color: var(--primary-color-alpha-80);
    font-weight: 600;
    letter-spacing: 1px;
    padding: 12px 24px;
    background: var(--primary-color-alpha-10);
    border-radius: 25px;
    display: inline-block;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px var(--primary-color-alpha-20);
    position: relative;
    overflow: visible;
}

.guarantee-text::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: conic-gradient(
        from var(--guarantee-border-angle) at 50% 50%,
        transparent 0deg,
        transparent 240deg,
        var(--primary-color-alpha-10) 260deg,
        var(--primary-color-alpha-30) 280deg,
        rgba(205, 255, 5, 0.6) 310deg,
        var(--primary-color-alpha-80) 330deg,
        var(--primary-color-solid) 350deg,
        var(--primary-color-alpha-80) 370deg,
        rgba(205, 255, 5, 0.6) 390deg,
        var(--primary-color-alpha-30) 410deg,
        var(--primary-color-alpha-10) 430deg,
        transparent 450deg,
        transparent 360deg
    );
    border-radius: inherit;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    animation: guarantee-border-wave 3s linear infinite;
    z-index: -1;
}

@keyframes guarantee-border-wave {
    0% {
        --guarantee-border-angle: 0turn;
    }
    100% {
        --guarantee-border-angle: 1turn;
    }
}

/* 中央人物剪影 */
.hero-figure {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.figure-silhouette {
    width: 200px;
    height: 300px;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.6), rgba(139, 92, 246, 0.3));
    border-radius: 0;
    position: relative;
    filter: blur(1px);
}

.golden-star {
    position: absolute;
    top: -20px;
    right: -30px;
    font-size: 60px;
    animation: rotate 4s linear infinite;
    filter: drop-shadow(0 0 20px #ffd700);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 应用图标网格 */
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    margin-top: 80px;
    margin-bottom: 40px;
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 10;
}

.app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.2s ease, border 0.2s ease;
    cursor: pointer;
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.app-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

/* 流光效果由JavaScript实现，确保容器样式正确 */

.app-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 3;
}

.app-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    padding: 4px;
}

/* 移除应用图标背景颜色，使用透明背景 */
.app-douban { background: transparent; }
.app-deepseek { background: transparent; }
.app-yuanbao { background: transparent; }
.app-tongyi { background: transparent; }
.app-wenxin { background: transparent; }
.app-mita { background: transparent; }

/* Kimi使用黑色背景 */
.app-kimi {
    background: #000000 !important;
}

.app-kimi .app-logo {
    background: #000000 !important;
}

.app-name {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 3;
}

/* 服务号信息 */
.service-info {
    position: fixed;
    bottom: 130px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    z-index: 9999;
}

.wechat-icon {
    font-size: 18px;
    color: #07c160;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .nav-links .nav-link {
        margin-right: 15px;
    }
    
    .nav-link {
        font-size: 13px;
        padding: 6px 8px;
    }
    
    .nav-link span:last-child {
        display: none;
    }
    
    .main-title {
        font-size: 36px;
    }
    
    .sub-title {
        font-size: 20px;
    }

    .guarantee-text {
        font-size: 16px;
    }
    
    .app-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .hero-figure {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-links .nav-link {
        margin-right: 10px;
    }
    
    .nav-link {
        font-size: 12px;
        padding: 4px 6px;
    }
    
    .nav-right .nav-link {
        margin-right: 15px;
    }
    
    .nav-right .user-avatar {
        margin-left: 15px;
    }
    
    .main-title {
        font-size: 28px;
    }
    
    .sub-title {
        font-size: 16px;
    }

    .guarantee-text {
        font-size: 14px;
    }
    
    .app-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .app-item {
        padding: 15px;
    }
    
    .app-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .app-logo {
        border-radius: 0;
    }
    
    .service-info {
        bottom: 20px;
        right: 20px;
        padding: 10px 16px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-links .nav-link {
        margin-right: 8px;
        margin-bottom: 5px;
    }
    
    .nav-link {
        font-size: 11px;
        padding: 3px 5px;
    }
    
    .nav-container {
        flex-wrap: wrap;
        justify-content: center;
        padding: 10px 15px;
    }
    
    .nav-right .nav-link {
        margin-right: 10px;
    }
    
    .nav-right .user-avatar {
        margin-left: 10px;
    }
    
    .main-title {
        font-size: 24px;
    }
    
    .sub-title {
        font-size: 14px;
    }

    .guarantee-text {
        font-size: 12px;
    }
    
    .app-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
    
    .news-item {
        padding: 10px;
    }
    
    .news-title {
        font-size: 13px;
    }
    
    .news-date {
        font-size: 11px;
    }
}

/* 新闻中心、常见问题和产品中心三栏并排布局 */
.content-sections {
    display: flex;
    max-width: 1400px;
    margin: 80px auto 0;
    padding: 0 20px;
}

.news-center, .product-center, .faq-center {
    flex: 1;
    margin-right: 30px;
}

.news-center:last-child, .product-center:last-child, .faq-center:last-child {
    margin-right: 0;
}

/* 新闻中心外部边框容器 */
.news-center, .faq-center {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(205, 255, 5, 0.3);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    will-change: transform;
    transform: translateZ(0);
}

/* 优化的发光效果 - 使用GPU加速 */
.news-center::before, .faq-center::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(205, 255, 5, 0.1) 50%, 
        transparent 70%);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.2s ease-out;
    transform: translateZ(0);
    will-change: opacity;
    z-index: -1;
}

.news-center:hover::before, .faq-center:hover::before {
    opacity: 1;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color-solid), var(--primary-color-alpha-30));
    border-radius: 2px;
}

.more-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
    will-change: color;
}

.more-link:hover {
    color: var(--primary-color-solid);
}

/* 新闻列表样式 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

/* 自定义滚动条 */
.news-list::-webkit-scrollbar {
    width: 6px;
}

.news-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.news-list::-webkit-scrollbar-thumb {
    background: rgba(205, 255, 5, 0.3);
    border-radius: 3px;
}

.news-list::-webkit-scrollbar-thumb:hover {
    background: rgba(205, 255, 5, 0.5);
}

.news-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.06));
    border-left: 3px solid transparent;
    padding: 15px 20px;
    transition: background 0.2s ease, border-left-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    min-height: 50px;
    will-change: background, border-left-color, box-shadow;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background: linear-gradient(135deg, rgba(205, 255, 5, 0.05), rgba(205, 255, 5, 0.1));
    border-left-color: var(--primary-color-solid);
    box-shadow: 0 3px 10px rgba(205, 255, 5, 0.1);
}

/* 新闻项内容布局 - 标题和时间并排 */
.news-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.news-title {
    font-size: 14px;
    font-weight: normal;
    color: #ffffff;
    line-height: 1.4;
    margin: 0;
    transition: color 0.2s ease;
    will-change: color;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-tag {
    background: var(--primary-color-alpha-10);
    color: var(--primary-color-alpha-80);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 500;
    border: 1px solid var(--primary-color-alpha-20);
    flex-shrink: 0;
    white-space: nowrap;
}

.news-title a {
    color: var(--link-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-title a:hover {
    color: var(--link-hover-color);
}

.news-item:hover .news-title {
    color: var(--primary-color-solid);
}

/* 隐藏新闻简介 */
.news-summary {
    display: none;
}

.news-date {
    color: rgba(205, 255, 5, 0.7);
    font-size: 13px;
    font-weight: 500;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    white-space: nowrap;
}

.news-date::before {
    display: none;
}

/* 常见问题列表样式 */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

/* 自定义滚动条 */
.faq-list::-webkit-scrollbar {
    width: 6px;
}

.faq-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.faq-list::-webkit-scrollbar-thumb {
    background: rgba(205, 255, 5, 0.3);
    border-radius: 3px;
}

.faq-list::-webkit-scrollbar-thumb:hover {
    background: rgba(205, 255, 5, 0.5);
}

.faq-item {
background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.06));
border-left: 3px solid transparent;
padding: 15px 20px;
transition: background 0.2s ease, border-left-color 0.2s ease, box-shadow 0.2s ease;
cursor: pointer;
position: relative;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
min-height: 50px;
will-change: background, border-left-color, box-shadow;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
gap: 20px;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item:hover {
    background: linear-gradient(135deg, rgba(205, 255, 5, 0.05), rgba(205, 255, 5, 0.1));
    border-left-color: var(--primary-color-solid);
    box-shadow: 0 3px 10px rgba(205, 255, 5, 0.1);
}

.faq-title {
    font-size: 14px;
    font-weight: normal;
    color: var(--text-color-primary);
    line-height: 1.4;
    margin: 0;
    transition: color 0.2s ease;
    will-change: color;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.faq-title a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.faq-title a:hover,
.faq-item:hover .faq-title a {
    color: var(--link-hover-color);
}

.faq-item:hover .faq-title {
    color: var(--primary-color-solid);
}

.faq-tag {
    background: rgba(205, 255, 5, 0.1);
    color: rgba(205, 255, 5, 0.8);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(205, 255, 5, 0.2);
    flex-shrink: 0;
    white-space: nowrap;
}

/* 产品中心并入三栏布局，不再需要独立布局 */
.product-section {
    /* 已废弃，产品中心现在在 content-sections 中 */
}

/* 产品中心外部边框容器 */
.product-center {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(205, 255, 5, 0.3);
    border-radius: 12px;
    padding: 30px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

/* 添加发光效果 */
.product-center::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(205, 255, 5, 0.1) 50%, 
        transparent 70%);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.product-center:hover::before {
    opacity: 1;
}

/* 产品列表样式 */
.product-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

/* 产品列表滚动条 */
.product-list::-webkit-scrollbar {
    width: 6px;
}

.product-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.product-list::-webkit-scrollbar-thumb {
    background: rgba(205, 255, 5, 0.3);
    border-radius: 3px;
}

.product-list::-webkit-scrollbar-thumb:hover {
    background: rgba(205, 255, 5, 0.5);
}

/* 产品列表滚动条 */
.product-list::-webkit-scrollbar {
    width: 6px;
}

.product-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.product-list::-webkit-scrollbar-thumb {
    background: rgba(205, 255, 5, 0.3);
    border-radius: 3px;
}

.product-list::-webkit-scrollbar-thumb:hover {
    background: rgba(205, 255, 5, 0.5);
}

.product-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.06));
    border-left: 3px solid transparent;
    padding: 15px 20px;
    transition: background 0.2s ease, border-left-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    min-height: 50px;
    will-change: background, border-left-color, box-shadow;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    min-height: 50px;
}

.product-item:last-child {
    border-bottom: none;
}

.product-item:hover {
    background: linear-gradient(135deg, rgba(205, 255, 5, 0.05), rgba(205, 255, 5, 0.1));
    border-left-color: var(--primary-color-solid);
    box-shadow: 0 3px 10px rgba(205, 255, 5, 0.1);
}

.product-item.featured {
    border-color: rgba(205, 255, 5, 0.5);
    background: rgba(205, 255, 5, 0.05);
}

.product-badge {
    background: linear-gradient(135deg, var(--primary-color-solid), #a8d404);
    color: #000;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    margin-left: 8px;
    display: inline-block;
    vertical-align: middle;
}

.product-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

.product-name {
    font-size: 14px;
    font-weight: normal;
    color: var(--text-color-primary);
    margin: 0;
    line-height: 1.4;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-name a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-name a:hover,
.product-item:hover .product-name a {
    color: var(--link-hover-color);
}

.product-detail-btn {
    color: var(--link-color);
    text-decoration: none;
}

.product-detail-btn:hover {
    color: var(--link-hover-color);
}

.product-desc {
    display: none;
}

.product-features {
    display: none;
}

.feature-tag {
    display: none;
}

.product-detail-btn {
    background: var(--primary-color-alpha-10);
    color: var(--primary-color-alpha-80);
    border: 1px solid var(--primary-color-alpha-30);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.product-detail-btn:hover {
    background: var(--primary-color-alpha-20);
    color: var(--primary-color-solid);
    border-color: var(--primary-color-alpha-50);
    transform: translateY(-1px);
}

.product-details-btn {
    background: var(--primary-color-alpha-10);
    color: var(--primary-color-alpha-80);
    border: 1px solid var(--primary-color-alpha-30);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    will-change: background, color, border-color;
    flex-shrink: 0;
    white-space: nowrap;
}

.product-details-btn:hover {
    background: var(--primary-color-alpha-20);
    color: var(--primary-color-solid);
    border-color: var(--primary-color-alpha-50);
}

/* 二维码悬停效果 */
.qr-hover {
    position: relative;
    cursor: pointer;
}

.qr-code-popup {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    will-change: opacity, visibility;
    z-index: 1000;
    margin-bottom: 10px;
    min-width: 150px;
    transform: translateZ(0);
}

.qr-hover:hover .qr-code-popup {
    opacity: 1;
    visibility: visible;
}

.qr-image {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    margin-bottom: 8px;
}

.qr-text {
    color: var(--primary-color-alpha-80);
    font-size: 12px;
    margin: 0;
    font-weight: 500;
}

/* 底部版权信息 */
.footer {
    padding: 30px 0;
    margin-top: 80px;
    z-index: 4;
    position: relative;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
}

.icp-info {
    margin: 0;
}

.icp-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
    will-change: color;
}

.icp-link:hover {
    color: var(--primary-color-alpha-80);
}

.footer-right {
    display: flex;
    align-items: center;
}

.company-name {
    color: var(--primary-color-solid);
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 2px 10px var(--primary-color-alpha-30);
}

/* 响应式设计 - 底部 */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-left {
        align-items: center;
    }
    
    .company-name {
        font-size: 20px;
    }
}

/* 响应式设计 - 新闻和产品中心 */
@media (max-width: 1200px) {
    .news-center, .product-center, .faq-center {
        margin-right: 20px;
    }
}

@media (max-width: 1024px) {
    .content-sections {
        flex-wrap: wrap;
    }
    
    .news-center, .product-center, .faq-center {
        margin-right: 15px;
        margin-bottom: 20px;
    }
    
    .news-center, .faq-center {
        flex: 1 1 48%;
    }
    
    .product-center {
        flex: 1 1 100%;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .content-sections {
        flex-direction: column;
        margin: 60px auto 0;
    }
    
    .news-center, .product-center, .faq-center {
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .news-center:last-child, .product-center:last-child, .faq-center:last-child {
        margin-bottom: 0;
        padding: 0 15px;
    }
    
    .news-center, .product-center, .faq-center {
        padding: 20px;
        border-width: 1px;
        flex: 1 1 100%;
    }
    
    .section-title {
        font-size: 20px;
        text-transform: none;
    }
    
    .section-header {
        margin-bottom: 20px;
        padding-bottom: 10px;
    }
    
    .news-list, .product-list {
        max-height: 400px;
    }
    
    .news-item {
        padding: 12px 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .news-title {
        font-size: 14px;
        white-space: normal;
        line-height: 1.4;
    }
    
    .news-date {
        font-size: 12px;
        align-self: flex-end;
    }
    
    .faq-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .faq-title {
        white-space: normal;
    }
    
    .faq-tag {
        align-self: flex-end;
    }
    
    .product-item {
        padding: 15px;
    }
    
    .product-name {
        font-size: 16px;
    }
    
    .product-price {
        font-size: 18px;
    }
}

/* 平台关键词筛选样式 */
.platform-keywords-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.platform-keywords-header h5 {
    margin: 0;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
}

.back-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.loading, .no-keywords, .error {
    text-align: center;
    padding: 40px 20px;
    font-size: 14px;
    line-height: 1.6;
}

.loading {
    color: #667eea;
}

.error {
    color: #e74c3c;
}

.no-keywords {
    color: rgb(0 0 0 / 60%);
}

.no-keywords .back-btn,
.error .back-btn {
    margin-top: 15px;
    display: inline-block;
}

/* 关键词案例容器样式优化 */
#keywordCaseContainer {
    min-height: 200px;
}

/* 平台关键词标题样式 */
.platform-keywords-header {
    margin-bottom: 20px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.platform-keywords-header h5 {
    margin: 0;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
}