/* 通用样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f7fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.top-nav {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-image {
    height: 36px;
    width: auto;
}

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

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-dropdown {
    position: relative;
    cursor: pointer;
}

.nav-dropdown > span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.nav-dropdown:hover > span {
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    margin-top: 0;
    padding: 10px 0;
}

.nav-dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 10px 20px;
    color: #333 !important;
    font-size: 14px !important;
    transition: background 0.2s;
}

.dropdown-content a:hover {
    background: #f5f7fa;
}

/* 英雄区域 */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero-content h1 {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero-content p {
    font-size: 24px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button.primary {
    background: white;
    color: #667eea;
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background: white;
    color: #667eea;
}

/* 页面头部 */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-header p {
    font-size: 20px;
    opacity: 0.99;
}

/* 主内容区域 */
.main-content {
    padding: 60px 20px;
}

.features-section,
.industries-section {
    margin-bottom: 80px;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

section {
    margin-bottom: 50px;
}

/* 特性网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* 行业网格 */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.industry-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    display: block;
}

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

.industry-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.industry-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #333;
}

.industry-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.learn-more {
    display: inline-block;
    color: #667eea;
    font-weight: 600;
    font-size: 16px;
}

h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

h3 {
    font-size: 24px;
    color: #667eea;
    margin-bottom: 10px;
    font-weight: bold;
}

/* 痛点部分 */
.pain-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.pain-point {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.pain-point:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.pain-point h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.pain-point p {
    color: #666;
    line-height: 1.7;
}

/* 解决方案部分 */
.solution-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.solution-section p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}

/* 岗位卡片网格 */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.role-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: visible;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.role-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px 30px;
}

.role-card-header h3 {
    font-size: 26px;
    margin-bottom: 8px;
    color: white;
}

.role-card-header p {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
}

.role-card-body {
    padding: 30px;
    overflow: visible !important;  /* 确保内容可见 */
    position: relative;            /* 确保正确的层叠上下文 */
}

.role-card-body > p {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
}

/* 场景列表容器 */
.scenarios-list {
    margin-top: 20px;
    overflow: visible !important;  /* 显式设置为visible，确保内容不被裁剪 */
    max-height: none !important;   /* 确保没有高度限制 */
    display: block;                /* 确保是块级元素 */
    position: relative;            /* 确保正确的层叠上下文 */
}

.scenarios-list h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.scenario-link {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    margin-bottom: 12px;
    border-left: 4px solid #667eea;
    gap: 12px;
    overflow: visible !important;  /* 确保内容不被裁剪 */
    position: relative;            /* 确保正确的层叠上下文 */
    z-index: 1;                    /* 确保在正确的层级 */
}

.scenario-link::before {
    content: '→';
    color: #667eea;
    font-size: 16px;
    font-weight: bold;
}

.scenario-link:hover {
    background: #eef2ff;
    border-left-color: #764ba2;
    transform: translateX(5px);
}

.scenario-link:hover::before {
    color: #764ba2;
}

.scenario-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.scenario-link:hover .scenario-title {
    color: #667eea;
}

.scenario-desc {
    display: block;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 统计数据 */
.stats-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

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

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 48px;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #666;
}

/* CTA部分 */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 60px 40px;
    border-radius: 16px;
    margin-top: 60px;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: white;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* 页脚 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-info h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 10px;
}

.footer-info p {
    opacity: 0.8;
    fontline-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* 场景页面特定样式 */
.scenario-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px 20px;
    text-align: center;
}

.scenario-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: bold;
}

.scenario-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 18px;
    opacity: 0.9;
}

.scenario-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.scenario-section {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 35px;
}

.scenario-section h2 {
    font-size: 28px;
    margin-bottom: 25px;
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
}

.story-box,
.problem-box,
.solution-box,
.example-box,
.application-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid #667eea;
}

.story-box h3,
.problem-box h3,
.solution-box h3,
.example-box h3,
.application-box h3 {
    font-size: 18px;
    color: #667eea;
    margin-bottom: 10px;
}

/* ========== 页面美化优化 ========== */

/* 行业内容容器 */
.industry-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 30px;
}

/* 岗位区域 */
.roles-section {
    margin-top: 60px;
    margin-bottom: 50px;
}

/* 场景列表容器样式 */
.scenarios-list {
    margin-top: 20px;
}

/* 所有Section标题居中 */
.industry-content h2,
.roles-section h2,
.intro-section h2,
.cta-section h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 50px 0 20px 0;
    position: relative;
}

.industry-content h2::after,
.roles-section h2::after,
.intro-section h2::after,
.cta-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Intro section */
.intro-section {
    margin-bottom: 50px;
}

.intro-section p {
    text-align: center;
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Solution section */
.solution-section {
    margin: 40px auto;
    max-width: 900px;
}

.solution-section p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    text-align: center;
}

/* Roles section 内部段落 */
.roles-section > p {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

/* Pain points 优化 */
.pain-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.pain-point {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    border-top: 4px solid #667eea;
}

.pain-point:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.pain-point h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.pain-point p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-direction: column;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .roles-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-value {
        font-size: 36px;
    }

    .scenario-header h1 {
        font-size: 32px;
    }

    .industry-content {
        padding: 30px 20px;
    }
    
    .industry-content h2,
    .roles-section h2,
    .intro-section h2 {
        font-size: 26px;
        margin: 30px 0 15px 0;
    }
    
    .pain-points {
        grid-template-columns: 1fr;
    }
}

/* 行业页岗位网格 */
.positions-section {
    padding: 60px 0;
    background: #f8faff;
}

.positions-section h2 {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 40px;
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.position-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

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

.position-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 12px;
}

.position-card p {
    color: #666;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 20px;
}

.position-link {
    display: inline-block;
    color: #667eea;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.2s;
}

.position-link:hover {
    color: #5a67d8;
}

@media (max-width: 768px) {
    .positions-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== 新增的分级段落样式 ========== */

/* 一级话题 - 深蓝色，稍大字体 */
.section-title {
  font-size: 18px;
  color: #2c5aa0;
  font-weight: bold;
  margin: 20px 0 15px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #e0e0e0;
}

/* 二级话题 - 蓝色，中等字体 */
.subsection-title {
  font-size: 16px;
  color: #4a76a8;
  font-weight: bold;
  display: block;
  margin: 12px 0 8px 0;
}

/* 三级话题 - 黑色，正常字体 */
.detail-item {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  margin: 6px 0;
}

/* 列表样式 */
.subsection-list {
  margin: 10px 0 20px 0;
  padding-left: 20px;
}

.detail-list {
  margin: 8px 0 12px 25px;
  padding-left: 15px;
  border-left: 2px solid #f0f0f0;
}

/* 悬停效果 */
.subsection-item:hover .subsection-title {
  color: #1a4d80;
}