/* 页面标题区域样式 */
.page-header-section {
    height: 230px;
    background: linear-gradient(rgba(47, 79, 109, 0.95), rgba(47, 79, 109, 0.95));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    margin-bottom: 30px;
    padding: 100px 0 50px;  /* 添加上部内边距，避免被导航栏遮挡 */
}

.page-header-section h1 {
    font-size: 2.5rem;
    font-weight: 500;
    margin: 0;
}

/* 页面导航样式 */
.page-nav-container {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 40px;
}

.page-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 15px 0;
}

.page-nav-item {
    color: #666;
    text-decoration: none;
    font-size: 16px;
    position: relative;
    padding: 5px 0;
    cursor: pointer;
}

.page-nav-item.active {
    color: rgb(47, 79, 109);
}

.page-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgb(47, 79, 109);
}

/* 内容区域样式 */
.purpose-section {
    padding: 40px 0;
    width: 100%;
}

.purpose-section h2 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 30px;
    position: relative;
    padding-left: 15px;
    border-left: 4px solid rgb(47, 79, 109);
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

.detail-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
}

/* 目的部分的样式 */
.purpose-points {
    margin: 30px 0;
}

.purpose-point {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.purpose-point h3 {
    color: rgb(47, 79, 109);
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.purpose-point p {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #666;
}

.conclusion-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-top: 30px;
    padding: 20px;
    background: rgba(47, 79, 109, 0.05);
    border-radius: 8px;
}

/* 协会概要表格样式 */
.overview-table {
    margin: 30px 0;
    width: 100%;
}

.overview-table table {
    width: 100%;
    border-collapse: collapse;
}

.overview-table tr {
    border-bottom: 1px solid #e0e0e0;
}

.overview-table th {
    width: 200px;
    padding: 20px;
    text-align: left;
    font-weight: normal;
    color: #333;
    vertical-align: top;
}

.overview-table td {
    padding: 20px;
    line-height: 1.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-header-section {
        padding: 80px 0 40px;
    }

    .page-header-section h1 {
        font-size: 2rem;
    }

    .page-nav {
        flex-wrap: wrap;
        gap: 15px;
        padding: 10px;
    }

    .page-nav-item {
        font-size: 14px;
    }

    .purpose-section h2 {
        font-size: 1.5rem;
    }

    .lead-text {
        font-size: 1.1rem;
    }

    .purpose-point {
        padding: 15px;
    }
    
    .purpose-point h3 {
        font-size: 1.1rem;
    }
    
    .conclusion-text {
        font-size: 1rem;
        padding: 15px;
    }

    .overview-table th {
        width: 120px;
        padding: 15px;
    }
    
    .overview-table td {
        padding: 15px;
    }
}

html {
    scroll-behavior: smooth;
}

/* 内容区域样式 */
.content-section {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    display: none;  /* 默认隐藏所有内容区域 */
}

.content-section.active {
    display: block;  /* 显示激活的内容区域 */
}

/* 修改容器样式 */
.content-container {
    position: relative;
    min-height: 500px;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-container .container {
    padding: 0;
    width: 100%;
}

/* 内容区块通用样式 */
.content-section h2 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 30px;
    position: relative;
    padding-left: 15px;
    border-left: 4px solid #03a9f4;
}

/* 入会流程样式 */
.membership-flow-section {
    margin: 50px 0;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.flow-container {
    position: relative;
    margin: 40px 0;
}

.flow-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.flow-item:not(:last-child):after {
    content: '';
    position: absolute;
    left: 25px;
    top: 60px;
    height: calc(100% - 20px);
    width: 2px;
    background: rgb(47, 79, 109);
}

.flow-number {
    width: 50px;
    height: 50px;
    background: rgb(47, 79, 109);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
    margin-right: 20px;
}

.flow-content {
    flex-grow: 1;
}

.flow-content h4 {
    color: rgb(47, 79, 109);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.required-docs {
    margin-top: 10px;
    padding-left: 20px;
    color: #666;
}

.important-notes {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.important-notes h4 {
    color: #333;
    margin-bottom: 15px;
}

.important-notes ul {
    padding-left: 20px;
    color: #666;
}

.document-links {
    margin-top: 30px;
}

.link-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.doc-link {
    display: inline-block;
    padding: 10px 20px;
    background: rgb(47, 79, 109);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.doc-link:hover {
    background: rgba(47, 79, 109, 0.9);
}

@media (max-width: 768px) {
    .membership-flow-section {
        padding: 20px;
    }

    .flow-item {
        flex-direction: column;
    }

    .flow-number {
        margin-bottom: 15px;
    }

    .flow-item:not(:last-child):after {
        left: 25px;
        top: 60px;
    }

    .link-buttons {
        flex-direction: column;
    }
}

/* 申请按钮样式 */
.apply-button-container {
    text-align: center;
    margin: 40px 0;
}

.apply-button {
    display: inline-block;
    width: 100%;
    max-width: 400px;
    padding: 20px;
    background: #03a9f4;  /* 使用协会主题蓝色 */
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(3, 169, 244, 0.2);
}

.apply-button:hover {
    background: #0288d1;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(3, 169, 244, 0.3);
}

/* 响应式适配 */
@media (max-width: 768px) {
    .apply-button {
        max-width: 100%;
        margin: 0 20px;
        font-size: 16px;
        padding: 15px;
    }
}