/* 全局通用样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", "Microsoft YaHei", sans-serif;
}

body {
    background-color: #f0f2f5;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(46, 94, 78, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(211, 47, 47, 0.03) 0%, transparent 40%);
    min-height: 100vh;
    
    color: #333;
}

 
/* 主体容器（全局统一） */
.container {
    max-width: 1300px;
    margin: 0 auto;
}

/* 标题通用样式 */
.header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.header::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #2E5E4E;
    border-radius: 3px;
}

.main-title {
    font-size: 42px;
    color: #2E5E4E;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.sub-title {
    font-size: 18px;
    color: #666;
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 卡片通用样式 */
.card {
    background-color: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

/* 按钮通用样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    margin: 0 10px;
    background-color: #2E5E4E;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 94, 78, 0.2);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #1E4238;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 94, 78, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #2E5E4E;
    color: #2E5E4E;
}

.btn-outline:hover {
    background-color: #2E5E4E;
    color: #fff;
}

/* 图表容器通用样式 */
.chart-container {
    width: 100%;
    height: 350px;
    position: relative;
}

/* 板块标题通用样式 */
.section-title {
    font-size: 24px;
    color: #2E5E4E;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 24px;
    background-color: #D32F2F;
    border-radius: 4px;
}

/* 痛点分析页面专属样式 */
.core-pains {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 90px;
}

.pain-card {
    border-top: 4px solid #2E5E4E;
    position: relative;
    overflow: hidden;
}

.pain-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(46, 94, 78, 0.05), transparent);
    border-radius: 0 0 0 100%;
    z-index: 0;
}

.pain-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(46, 94, 78, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.pain-icon i {
    font-size: 28px;
    color: #2E5E4E;
}

.pain-title {
    font-size: 24px;
    color: #2E5E4E;
    font-weight: 600;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.pain-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.pain-detail {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 18px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.detail-title {
    font-size: 14px;
    color: #2E5E4E;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.detail-title i {
    margin-right: 8px;
    font-size: 16px;
}

.detail-list {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
}

.detail-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.detail-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #D32F2F;
    font-weight: bold;
}

.supplement-section {
    padding: 50px;
    margin-bottom: 80px;
}

.section-heading {
    font-size: 28px;
    color: #2E5E4E;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-heading::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: #D32F2F;
    border-radius: 2px;
}

.shortcomings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.shortcoming-item {
    padding: 30px;
    background-color: #f9fafb;
    border-radius: 12px;
    border-left: 3px solid #D32F2F;
    transition: transform 0.3s ease;
}

.shortcoming-item:hover {
    transform: translateX(5px);
}

.short-item-icon {
    font-size: 24px;
    color: #D32F2F;
    margin-bottom: 15px;
}

.short-item-title {
    font-size: 18px;
    color: #2E5E4E;
    font-weight: 600;
    margin-bottom: 12px;
}

.short-item-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

.impact-visualization {
    padding: 50px;
    margin-bottom: 80px;
}

.visualization-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.impact-card {
    text-align: center;
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.impact-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2E5E4E, #D32F2F);
}

.impact-number {
    font-size: 42px;
    color: #2E5E4E;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
}

.impact-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.impact-desc {
    font-size: 12px;
    color: #888;
    margin-top: 10px;
}

/* 市场调研页面专属样式 */
.method-section {
    padding: 30px;
    margin-bottom: 40px;
}

.method-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.method-item {
    flex: 1;
    min-width: 250px;
    padding: 20px;
    border-radius: 12px;
    background-color: #f9f9f9;
    text-align: center;
    transition: transform 0.3s ease;
}

.method-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.method-icon {
    font-size: 40px;
    color: #2E5E4E;
    margin-bottom: 15px;
}

.method-name {
    font-size: 18px;
    color: #2E5E4E;
    margin-bottom: 10px;
    font-weight: 600;
}

.method-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.chart-section {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.chart-card {
    flex: 1;
    min-width: 500px;
    padding: 25px;
}

.chart-title {
    font-size: 18px;
    color: #2E5E4E;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.user-portrait-section {
    padding: 30px;
    margin-bottom: 40px;
}

.portrait-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.portrait-card {
    width: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 2px solid #f0f0f0;
}

.portrait-card:hover {
    transform: translateY(-8px);
    border-color: #2E5E4E;
}

.portrait-header {
    background-color: #2E5E4E;
    color: #fff;
    padding: 15px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
}

.portrait-body {
    padding: 20px;
}

.portrait-item {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.portrait-icon {
    color: #D32F2F;
    margin-right: 10px;
    margin-top: 3px;
    font-size: 16px;
}

.portrait-text {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.opportunity-section {
    padding: 30px;
}

.opportunity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.opportunity-item {
    padding: 20px;
    border-radius: 10px;
    background-color: #f9f9f9;
    border-left: 4px solid #D32F2F;
}

.opportunity-title {
    font-size: 16px;
    color: #2E5E4E;
    margin-bottom: 10px;
    font-weight: 600;
}

.opportunity-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 成果展示页面专属样式 */
.title-section {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}

.title-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #2E5E4E, transparent);
    border-radius: 2px;
}

.overview-section {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 70px;
}

.overview-card {
    flex: 1;
    min-width: 250px;
    background: linear-gradient(135deg, #fff, #f5f7f6);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    border-top: 4px solid #2E5E4E;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.overview-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(46, 94, 78, 0.03), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.overview-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.overview-card:hover::before {
    transform: translateX(0);
}

.overview-icon {
    font-size: 48px;
    color: #D32F2F;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.overview-card:hover .overview-icon {
    transform: scale(1.1);
}

.overview-number {
    font-size: 36px;
    color: #2E5E4E;
    font-weight: bold;
    margin-bottom: 8px;
    line-height: 1.2;
}

.overview-desc {
    font-size: 16px;
    color: #555;
}

.chart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    gap: 40px;
    margin-bottom: 70px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.chart-card-title {
    font-size: 22px;
    color: #2E5E4E;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.chart-card-title i {
    margin-right: 10px;
    font-size: 24px;
    color: #D32F2F;
}

.chart-legend {
    display: flex;
    gap: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
}

.multi-result-section {
    padding: 40px;
    margin-bottom: 60px;
}

.result-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 25px;
    background-color: #f1f3f5;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-btn.active {
    background-color: #2E5E4E;
    color: #fff;
}

.tab-btn:hover:not(.active) {
    background-color: #e9ecef;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.content-card {
    background-color: #f9fafb;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    border-color: #2E5E4E;
}

.content-card-title {
    font-size: 18px;
    color: #2E5E4E;
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.content-card-title i {
    margin-right: 8px;
    color: #D32F2F;
}

.content-card-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.content-card-desc strong {
    color: #2E5E4E;
}

.endorsement-section {
    margin-bottom: 60px;
}

.endorsement-slider {
    display: flex;
    overflow-x: auto;
    gap: 25px;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: #2E5E4E #f1f3f5;
}

.endorsement-slider::-webkit-scrollbar {
    height: 6px;
}

.endorsement-slider::-webkit-scrollbar-track {
    background: #f1f3f5;
    border-radius: 3px;
}

.endorsement-slider::-webkit-scrollbar-thumb {
    background: #2E5E4E;
    border-radius: 3px;
}

.endorsement-card {
    flex: 0 0 350px;
    background-color: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 3px solid #D32F2F;
}

.endorsement-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.endorsement-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid #f1f3f5;
}

.endorsement-info {
    flex: 1;
}

.endorsement-name {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    margin-bottom: 3px;
}

.endorsement-role {
    font-size: 14px;
    color: #888;
}

.endorsement-content {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    font-style: italic;
}

/* 结尾致谢页面专属样式 */
.team-section {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 50px 0;
}

.team-card {
    width: 220px;
    padding: 25px 15px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    object-fit: cover;
    border: 4px solid #2E5E4E;
}

.team-name {
    font-size: 20px;
    color: #2E5E4E;
    margin-bottom: 8px;
    font-weight: 600;
}

.team-role {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.team-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.value-section {
    padding: 50px;
    margin: 40px 0;
}

.value-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.value-item {
    width: 280px;
    padding: 25px;
    border-radius: 12px;
    background-color: #f9f9f9;
    text-align: left;
}

.value-icon {
    font-size: 36px;
    color: #D32F2F;
    margin-bottom: 15px;
}

.value-item-title {
    font-size: 18px;
    color: #2E5E4E;
    margin-bottom: 10px;
    font-weight: 600;
}

.value-item-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.slogan-section {
    margin: 60px 0;
    position: relative;
}

.slogan-bg {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    object-fit: cover;
    filter: brightness(0.6);
}

.slogan-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
}

.slogan-text {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

.salute-img {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    filter: drop-shadow(2px 2px 5px rgba(0,0,0,0.3));
}

.footer {
    margin-top: 80px;
    padding: 20px;
    background-color: #2E5E4E;
    color: #fff;
    border-radius: 12px;
    font-size: 14px;
    text-align: center;
}

/* 响应式通用调整 */
@media (max-width: 1200px) {
    .core-pains, .chart-grid {
        grid-template-columns: 1fr 1fr;
    }
    .main-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 28px;
    }
    .sub-title {
        font-size: 16px;
    }
    .core-pains, .chart-grid {
        grid-template-columns: 1fr;
    }
    .chart-card, .pain-card, .overview-card, .portrait-card, .team-card {
        min-width: 100%;
    }
    .supplement-section, .impact-visualization, .multi-result-section {
        padding: 30px 20px;
    }
    .section-heading {
        font-size: 24px;
    }
    .btn, .action-btn {
        padding: 12px 24px;
        margin: 0 8px 15px;
        font-size: 15px;
    }
    .impact-number {
        font-size: 36px;
    }
    .slogan-text {
        font-size: 24px;
    }
    .slogan-bg {
        height: 200px;
    }
}