/* style.css - 小脉传媒网站样式 */
/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px;
    background-color: #f8f9fa;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #0a2463;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #ff6b6b;
    margin: 15px auto;
    border-radius: 2px;
}

/* 导航栏样式 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #0a2463;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-main {
    font-size: 22px;
    font-weight: bold;
    color: white;
}

.logo-geo {
    background-color: #ff6b6b;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    font-size: 16px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: white;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff6b6b;
    transition: width 0.3s;
}

.nav-menu a:hover:after {
    width: 100%;
}

.nav-menu a.active {
    color: #ff6b6b;
}

.nav-menu a.active:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* 英雄区域样式 - 修改为与style1.css相同 */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #0a2463 0%, #3e6bb8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 0 20px;
    margin-top: -80px;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.ai-platforms {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.platform-tag {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.platform-tag:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.cta-button {
    display: inline-block;
    background-color: #ff6b6b;
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* 行业分类区域样式 */
.industries-section {
    background: white;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.industry-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    border-top: 4px solid #0a2463;
}

.industry-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.industry-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.industry-title {
    font-size: 1.5rem;
    color: #0a2463;
    margin-bottom: 15px;
}

.industry-description {
    color: #666;
    margin-bottom: 20px;
}

.keywords-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 10;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.industry-card:hover .keywords-container {
    opacity: 1;
    visibility: visible;
}

.keywords-title {
    font-size: 1.3rem;
    color: #0a2463;
    margin-bottom: 20px;
    text-align: center;
}

.keywords-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.keyword-link {
    display: inline-block;
    padding: 8px 16px;
    background: #f0f5ff;
    color: #0a2463;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.keyword-link:hover {
    background: #0a2463;
    color: white;
    transform: scale(1.05);
}

/* 系统功能区域样式 */
.system-features {
    background: #f8f9fa;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border-left: 4px solid #ff6b6b;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: #0a2463;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 1.3rem;
    color: #0a2463;
    margin-bottom: 15px;
}

.feature-description {
    color: #666;
    line-height: 1.7;
}

/* 数据展示区域样式 */
.data-showcase {
    background: white;
}

.data-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.data-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s;
    border-top: 4px solid #0a2463;
}

.data-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.data-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.data-value {
    font-size: 2.2rem;
    font-weight: bold;
    color: #0a2463;
    margin-bottom: 10px;
}

.data-label {
    color: #666;
    font-size: 1rem;
}

/* 页面头部样式 */
.page-header {
    margin-bottom: 40px;
    text-align: center;
}

/* 时间选择器样式 */
.time-selector {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.time-label {
    margin-right: 15px;
    font-weight: 600;
    color: #0a2463;
}

.date-buttons {
    display: flex;
    gap: 10px;
}

.date-btn {
    padding: 8px 15px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.date-btn:hover {
    background: #f0f5ff;
}

.date-btn.active {
    background: #0a2463;
    color: white;
    border-color: #0a2463;
}

/* 数据概览卡片样式 */
.overview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.overview-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s;
    border-top: 4px solid #0a2463;
}

.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.overview-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #0a2463;
    margin-bottom: 10px;
}

.overview-label {
    color: #666;
    font-size: 0.9rem;
}

/* 数据表格容器样式 */
.data-table-container {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background-color: #f0f5ff;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #0a2463;
    border-bottom: 2px solid #0a2463;
}

.data-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
}

.data-table tr:hover {
    background-color: #f8fbff;
}

.data-table tr:nth-child(even) {
    background-color: #fafafa;
}

.data-table tr:nth-child(even):hover {
    background-color: #f0f5ff;
}

/* 比较图表样式 */
.comparison-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.chart-container {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.chart-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0a2463;
    margin-bottom: 20px;
    text-align: center;
}

/* 关键词云样式 */
.keyword-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 20px;
}

.keyword {
    display: inline-block;
    padding: 5px 12px;
    background: #f0f5ff;
    color: #0a2463;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.keyword:hover {
    background: #0a2463;
    color: white;
    transform: scale(1.05);
}

.keyword-large {
    font-size: 1.2rem;
    padding: 8px 16px;
}

.keyword-small {
    font-size: 0.8rem;
    padding: 4px 10px;
}

/* 关键词分析部分样式 */
.keyword-analysis-section {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.keyword-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.category-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid #0a2463;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.keyword-stats {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: #0a2463;
    margin-right: 10px;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

.top-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.keyword-tag {
    background: #e3f2fd;
    color: #0a2463;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* 关键词趋势图表 */
.keyword-trends {
    margin-bottom: 40px;
}

.keyword-trends h4 {
    color: #0a2463;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.trend-chart {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.trend-bar {
    background: linear-gradient(90deg, #0a2463, #3e6bb8);
    height: 35px;
    margin: 12px 0;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 50px;
}

.trend-bar:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(10, 36, 99, 0.2);
}

.trend-value {
    font-weight: bold;
    font-size: 1.1rem;
}

/* 关键词关联分析 */
.keyword-correlation {
    margin-top: 30px;
}

.keyword-correlation h4 {
    color: #0a2463;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.correlation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.correlation-item {
    background: #f0f5ff;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    border-left: 3px solid #ff6b6b;
}

.main-keyword {
    font-weight: bold;
    color: #0a2463;
    margin-right: 10px;
}

.correlation-arrow {
    color: #666;
    margin: 0 10px;
    font-weight: bold;
}

.related-keywords {
    color: #555;
    font-size: 0.9rem;
}

/* 竞争对比分析 */
.competition-analysis {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.competition-chart {
    max-width: 800px;
    margin: 0 auto;
}

.competition-item {
    margin-bottom: 25px;
}

.competition-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.competition-name {
    font-weight: bold;
    color: #0a2463;
}

.competition-score {
    font-weight: bold;
    color: #ff6b6b;
}

.competition-bar {
    height: 25px;
    background: linear-gradient(90deg, #0a2463, #3e6bb8);
    border-radius: 12px;
    margin-bottom: 8px;
    transition: width 0.5s ease;
}

.competition-details {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #666;
}

.competition-details span {
    background: #f0f5ff;
    padding: 3px 8px;
    border-radius: 4px;
}

/* 页脚样式 */
footer {
    background-color: #0a2463;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #ff6b6b;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ff6b6b;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
    font-size: 0.9rem;
}

.beian-link {
    color: #ccc;
    margin-left: 10px;
}

.beian-link:hover {
    color: #ff6b6b;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .comparison-charts {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #0a2463;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 10px 0;
        text-align: center;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .keyword-categories {
        grid-template-columns: 1fr;
    }
    
    .correlation-grid {
        grid-template-columns: 1fr;
    }
    
    .competition-details {
        flex-direction: column;
        gap: 5px;
    }
    
    .trend-bar {
        padding: 0 10px;
        font-size: 0.9rem;
    }
    
    .keyword-analysis-section {
        padding: 20px;
    }
    
    .time-selector {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .time-label {
        margin-bottom: 10px;
    }
    
    .date-buttons {
        flex-wrap: wrap;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .data-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    body {
        padding-top: 70px;
    }
    
    .overview-cards {
        grid-template-columns: 1fr;
    }
    
    .correlation-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .correlation-arrow {
        margin: 5px 0;
        transform: rotate(90deg);
    }
    
    .competition-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .data-cards {
        grid-template-columns: 1fr;
    }
    
    .platform-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}