/* 关于我们页面样式 - 特色现代化版本 */

/* ========== 基础重置 ========== */
* {
    box-sizing: border-box;
}

/* ========== 头部导航 ========== */
.about-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    z-index: 100;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.about-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.about-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-logo {
    flex-shrink: 0;
}

.about-logo img {
    max-height: 50px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.about-nav {
    display: flex;
    gap: 12px;
    align-items: center;
}

.about-nav .nav-item {
    padding: 12px 20px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.about-nav .nav-item:hover {
    color: #fff;
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.about-nav .nav-item.current {
    color: #fff;
    background: rgba(255,255,255,0.25);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.nav-icon {
    font-size: 18px;
    line-height: 1;
}

.nav-text {
    line-height: 1;
}

/* ========== Hero区域 ========== */
.about-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px 0;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
    animation: fadeInUp 0.6s ease-out;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-weight: 300;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

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

/* ========== 容器布局 ========== */
.about-container {
    background: linear-gradient(to bottom, #f5f7fa 0%, #f0f2f5 100%);
    min-height: calc(100vh - 200px);
    padding: 0 0 40px 0;
}

.about-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.about-sidebar {
    width: 260px;
    flex-shrink: 0;
}

.about-content {
    flex: 1;
    min-width: 0;
}

.about-content.full-width {
    width: 100%;
}

/* ========== 侧边栏 ========== */
.sidebar-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.sidebar-title {
    padding: 20px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-icon {
    font-size: 20px;
}

.sidebar-menu {
    padding: 16px 0;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    position: relative;
    border-left: 3px solid transparent;
}

.menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleY(0);
    transition: transform 0.3s;
}

.menu-item:hover,
.menu-item.current {
    color: #667eea;
    background: rgba(102, 126, 234, 0.08);
}

.menu-item.current::before,
.menu-item:hover::before {
    transform: scaleY(1);
}

.menu-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ccc;
    transition: all 0.3s;
}

.menu-item:hover .menu-dot,
.menu-item.current .menu-dot {
    background: #667eea;
    transform: scale(1.5);
}

.menu-icon {
    font-size: 18px;
}

.menu-text {
    flex: 1;
}

.menu-item-home {
    margin-top: 8px;
    border-top: 1px solid #e8e8e8;
    padding-top: 14px;
}

/* ========== 内容卡片 ========== */
.content-card {
    background: #fff;
    border-radius: 16px;
    margin-bottom: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

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

.featured-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.card-decoration {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.card-header {
    padding: 24px 28px;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.card-icon {
    font-size: 28px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.card-title {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    flex: 1;
}

.card-meta {
    margin-top: 12px;
    display: flex;
    gap: 24px;
    font-size: 13px;
    color: #999;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-icon {
    font-size: 14px;
}

.card-body {
    padding: 28px;
}

.content-body {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

.content-body p {
    margin: 0 0 16px 0;
}

.content-body p:last-child {
    margin-bottom: 0;
}

/* ========== 友情链接 ========== */
.friendlink-card {
    margin-bottom: 24px;
}

.friendlink-imgs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.friendlink-img-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    transition: all 0.3s;
    background: #fff;
    text-decoration: none;
    color: #666;
}

.friendlink-img-item:hover {
    border-color: #667eea;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
    transform: translateY(-4px);
}

.img-wrapper {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9ff;
    border-radius: 8px;
    padding: 8px;
}

.friendlink-img-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.img-label {
    font-size: 12px;
    text-align: center;
    color: #999;
}

.friendlink-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.friendlink-link-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    transition: all 0.3s;
    background: #fff;
}

.friendlink-link-item:hover {
    color: #667eea;
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
    transform: translateX(4px);
}

.link-icon {
    font-size: 16px;
    transition: transform 0.3s;
}

.friendlink-link-item:hover .link-icon {
    transform: translateX(4px);
}

.link-text {
    line-height: 1;
}

/* ========== 申请步骤 ========== */
.steps-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%);
}

.apply-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step-box {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    border: 2px solid #e8e8e8;
    transition: all 0.3s;
    position: relative;
}

.step-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px 0 0 2px;
    transform: scaleY(0);
    transition: transform 0.3s;
}

.step-box:hover {
    border-color: #667eea;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.15);
}

.step-box:hover::before {
    transform: scaleY(1);
}

.step-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
}

.step-detail {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin: 0 0 12px 0;
}

.step-info {
    padding: 12px;
    background: #f8f9ff;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.8;
}

.step-info p {
    margin: 0 0 8px 0;
}

.step-info p:last-child {
    margin-bottom: 0;
}

.step-info strong {
    color: #667eea;
    font-weight: 600;
}

/* ========== 表单样式 ========== */
.form-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%);
}

.apply-form {
    max-width: 800px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.form-control {
    width: 100%;
}

.form-control-inline {
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    transition: all 0.3s;
    font-family: inherit;
    background: #fff;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-input-code {
    width: 140px;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.authcode-img {
    cursor: pointer;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    height: 44px;
    transition: all 0.3s;
}

.authcode-img:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.form-submit {
    margin-top: 32px;
    text-align: center;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.5);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 18px;
}

.btn-text {
    line-height: 1;
}

/* ========== 帮助中心 ========== */
.faq-categories-card {
    margin-bottom: 24px;
}

.faq-category {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px dashed #e8e8e8;
}

.faq-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.faq-category-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.faq-category-icon .icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.2;
}

.faq-icon-1 .icon-bg { background: #ff9d3d; }
.faq-icon-2 .icon-bg { background: #c3e617; }
.faq-icon-3 .icon-bg { background: #78bf13; }
.faq-icon-4 .icon-bg { background: #ffd919; }
.faq-icon-5 .icon-bg { background: #1ab2ff; }
.faq-icon-6 .icon-bg { background: #ff9ac5; }
.faq-icon-7 .icon-bg { background: #a1a0ff; }
.faq-icon-8 .icon-bg { background: #60e7ff; }
.faq-icon-9 .icon-bg { background: #ccff64; }

.faq-icon-1 { background: #ff9d3d; }
.faq-icon-2 { background: #c3e617; }
.faq-icon-3 { background: #78bf13; }
.faq-icon-4 { background: #ffd919; }
.faq-icon-5 { background: #1ab2ff; }
.faq-icon-6 { background: #ff9ac5; }
.faq-icon-7 { background: #a1a0ff; }
.faq-icon-8 { background: #60e7ff; }
.faq-icon-9 { background: #ccff64; }

.icon-number {
    position: relative;
    z-index: 1;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.faq-category-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    flex: 1;
}

.faq-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.faq-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    transition: all 0.3s;
    background: #fff;
}

.faq-item:hover {
    color: #667eea;
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
    transform: translateX(4px);
}

.faq-item.current {
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.faq-item-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.faq-item-text {
    flex: 1;
    line-height: 1.4;
}

.faq-item-arrow {
    font-size: 18px;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.3s;
}

.faq-item:hover .faq-item-arrow {
    opacity: 1;
    transform: translateX(0);
}

.faq-detail-card {
    margin-bottom: 24px;
}

.faq-content {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

.faq-content h1 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0 0 24px 0;
    padding-bottom: 16px;
    border-bottom: 3px solid #e8e8e8;
}

.faq-content p {
    margin: 0 0 16px 0;
}

.faq-content p:last-child {
    margin-bottom: 0;
}

/* ========== 网站公告 ========== */
.announce-timeline {
    position: relative;
    padding-left: 40px;
}

.announce-timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #667eea 0%, #764ba2 100%);
}

.announce-item {
    position: relative;
    margin-bottom: 32px;
}

.announce-timeline-dot {
    position: absolute;
    left: -32px;
    top: 24px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 4px solid #fff;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    z-index: 1;
}

.announce-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

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

.announce-badge {
    font-size: 32px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.announce-content {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

.announce-content p {
    margin: 0 0 16px 0;
}

.announce-content p:last-child {
    margin-bottom: 0;
}

/* ========== 网站地图 ========== */
.sitemap-card {
    margin-bottom: 24px;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.sitemap-category {
    padding: 24px;
    background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%);
    border-radius: 14px;
    border: 2px solid #e8e8e8;
    transition: all 0.3s;
}

.sitemap-category:hover {
    border-color: #667eea;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
    transform: translateY(-4px);
}

.sitemap-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e8e8e8;
}

.category-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.sitemap-category-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    flex: 1;
}

.sitemap-category-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.sitemap-category-title a:hover {
    color: #667eea;
}

.sitemap-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-link-item {
    margin: 0;
}

.sitemap-link-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.3s;
    background: #fff;
    border: 1px solid transparent;
}

.sitemap-link-item a:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.05);
    border-color: #e8e8e8;
    transform: translateX(4px);
}

.link-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ccc;
    flex-shrink: 0;
    transition: all 0.3s;
}

.sitemap-link-item a:hover .link-dot {
    background: #667eea;
    transform: scale(1.5);
}

.link-text {
    flex: 1;
    line-height: 1.4;
}

/* ========== 页脚 ========== */
.footer {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px;
    text-align: center;
    color: #999;
    font-size: 13px;
    border-top: 1px solid #e8e8e8;
    background: #fff;
}

.footer a {
    color: #666;
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.3s;
}

.footer a:hover {
    color: #667eea;
    text-decoration: underline;
}

/* ========== 响应式设计 ========== */
@media (max-width: 1024px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .sitemap-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .about-header-inner {
        flex-direction: column;
        gap: 20px;
        padding: 20px 16px;
    }
    
    .about-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .about-nav .nav-item {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .about-main {
        flex-direction: column;
        padding: 0 16px;
    }
    
    .about-sidebar {
        width: 100%;
    }
    
    .friendlink-imgs {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .faq-list {
        grid-template-columns: 1fr;
    }
    
    .sitemap-grid {
        grid-template-columns: 1fr;
    }
    
    .announce-timeline {
        padding-left: 30px;
    }
    
    .announce-timeline-dot {
        left: -22px;
        width: 12px;
        height: 12px;
    }
}
