/* ================================================
   关于我们页面专用样式 - 高级版
   ================================================ */

/* ===== 确保Footer手风琴样式可用 ===== */
.footer-column {
    position: relative;
}

.footer-column-toggle {
    display: none;
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    position: relative;
}

.footer-column-toggle .footer-column-title {
    margin-bottom: 0;
    pointer-events: none;
}

.footer-toggle-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.875rem;
    color: #8a8a8a;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-column-toggle[aria-expanded="true"] .footer-toggle-icon {
    transform: translateY(-50%) rotate(180deg);
}

/* PC端显示标题 */
@media (min-width: 769px) {
    .footer-column > .footer-column-toggle {
        display: none !important;
    }
    
    .footer-column > .footer-column-title {
        display: block !important;
    }
}

/* 移动端显示按钮和手风琴 */
@media (max-width: 768px) {
    .footer-column > .footer-column-title:first-child {
        display: none !important;
    }
    
    .footer-column-toggle {
        display: flex !important;
        align-items: center;
        padding: 1.25rem 0;
    }
    
    .footer-column {
        border-bottom: 1px solid #2a2a2a;
    }
    
    .footer-column:last-child {
        border-bottom: none;
    }
    
    .footer-links {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.3s ease,
                    padding 0.3s ease;
        padding: 0;
    }
    
    .footer-column.active .footer-links {
        max-height: 300px;
        opacity: 1;
        padding-bottom: 1rem;
    }
}

/* ===== 页面头部 ===== */
.page-header {
    position: relative;
    color: var(--color-white);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* 背景层 */
.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* 纯色背景 */
.page-header-bg-solid {
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-dark-gray) 100%);
}

/* 图片背景 */
.page-header-bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: brightness(0.4);
}

/* 遮罩层 - 纯色背景使用 */
.page-header-bg-solid ~ .page-header-overlay {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 102, 255, 0.15) 0%, transparent 50%);
    animation: headerGlow 15s ease-in-out infinite;
    z-index: 1;
}

/* 遮罩层 - 图片背景使用 */
.page-header-bg-image ~ .page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 102, 255, 0.2) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

@keyframes headerGlow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(5%, 5%) scale(1.1);
        opacity: 1;
    }
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-tech-blue), transparent);
    z-index: 2;
}

.page-header > .container {
    position: relative;
    z-index: 2;
}

.page-header-content {
    padding: 3rem 0;
}

.page-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--color-white) 0%, rgba(245, 245, 245, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.page-subtitle {
    font-size: 1.375rem;
    color: rgba(245, 245, 245, 0.85);
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

/* ===== 内容区域 ===== */
.content-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-pure-white) 100%);
    position: relative;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, transparent 100%);
    pointer-events: none;
}

.content-article {
    max-width: 900px;
    margin: 0 auto;
    background: var(--color-pure-white);
    padding: 5rem 6rem;
    border-radius: 24px;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

/* ===== 文章排版 ===== */
.content-article h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-black);
    margin: 4.5rem 0 2rem;
    letter-spacing: -0.03em;
    line-height: 1.3;
    position: relative;
    padding-left: 2rem;
}

.content-article h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 60%;
    background: linear-gradient(180deg, var(--color-tech-blue), var(--color-tech-blue-light));
    border-radius: 3px;
}

.content-article h2:first-child {
    margin-top: 0;
}

.content-article h3 {
    font-size: 1.625rem;
    font-weight: 600;
    color: var(--color-black);
    margin: 3rem 0 1.5rem;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.content-article p {
    font-size: 1.125rem;
    line-height: 2;
    color: #3a3a3a;
    margin-bottom: 1.75rem;
    letter-spacing: 0.01em;
    font-weight: 400;
}

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

.content-article strong {
    font-weight: 700;
    color: var(--color-black);
    background: linear-gradient(180deg, transparent 60%, rgba(0, 102, 255, 0.1) 60%);
    padding: 0 0.25rem;
}

.content-article em {
    font-style: italic;
    color: var(--color-light-gray);
}

/* ===== 列表样式 ===== */
.content-article ul,
.content-article ol {
    margin: 2rem 0 2rem 1.5rem;
    padding-left: 1.5rem;
}

.content-article ul li,
.content-article ol li {
    font-size: 1.125rem;
    line-height: 2;
    color: #3a3a3a;
    margin-bottom: 1rem;
    position: relative;
}

.content-article ul li::marker {
    color: var(--color-tech-blue);
    font-size: 1.5em;
}

.content-article ol {
    counter-reset: custom-counter;
    list-style: none;
}

.content-article ol li {
    counter-increment: custom-counter;
    padding-left: 2.5rem;
}

.content-article ol li::before {
    content: counter(custom-counter);
    position: absolute;
    left: 0;
    top: 0.1em;
    width: 1.75rem;
    height: 1.75rem;
    background: linear-gradient(135deg, var(--color-tech-blue), var(--color-tech-blue-light));
    color: var(--color-pure-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
}

/* ===== 引用样式 ===== */
.content-article blockquote {
    margin: 3rem 0;
    padding: 2.5rem 3rem;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.03) 0%, rgba(0, 102, 255, 0.06) 100%);
    border-left: 5px solid var(--color-tech-blue);
    border-radius: 0 16px 16px 0;
    font-size: 1.25rem;
    line-height: 1.9;
    color: var(--color-dark-gray);
    font-style: italic;
    position: relative;
    box-shadow: 0 2px 16px rgba(0, 102, 255, 0.08);
}

.content-article blockquote::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 4rem;
    color: rgba(0, 102, 255, 0.15);
    font-family: Georgia, serif;
    line-height: 1;
}

.content-article blockquote p {
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* ===== 分割线 ===== */
.content-article hr {
    margin: 4rem 0;
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-tech-blue), transparent);
    position: relative;
}

.content-article hr::after {
    content: '◆';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-pure-white);
    color: var(--color-tech-blue);
    padding: 0 1rem;
    font-size: 0.875rem;
}

/* ===== 链接样式 ===== */
.content-article a {
    color: var(--color-tech-blue);
    text-decoration: none;
    position: relative;
    font-weight: 500;
    transition: var(--transition-fast);
}

.content-article a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-tech-blue), var(--color-tech-blue-light));
    transition: width 0.3s ease;
}

.content-article a:hover {
    color: var(--color-tech-blue-dark);
}

.content-article a:hover::after {
    width: 100%;
}

/* ===== 代码样式 ===== */
.content-article code {
    font-family: 'SF Mono', 'Consolas', 'Monaco', monospace;
    font-size: 0.9em;
    padding: 0.25em 0.625em;
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.15);
    border-radius: 6px;
    color: var(--color-tech-blue-dark);
    font-weight: 500;
}

.content-article pre {
    margin: 2.5rem 0;
    padding: 2rem;
    background: var(--color-dark-gray);
    border-radius: 12px;
    overflow-x: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
}

.content-article pre::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px 12px 0 0;
}

.content-article pre code {
    background: none;
    border: none;
    color: #e8e8e8;
    padding: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    display: block;
    margin-top: 2.5rem;
}

/* ===== 图片样式 ===== */
.content-article img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 3rem auto;
    display: block;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: var(--transition-smooth);
}

.content-article img:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
}

/* ===== 表格样式 ===== */
.content-article table {
    width: 100%;
    margin: 3rem 0;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.content-article table th,
.content-article table td {
    padding: 1.25rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.content-article table th {
    background: linear-gradient(135deg, var(--color-tech-blue), var(--color-tech-blue-light));
    color: var(--color-pure-white);
    font-weight: 600;
    font-size: 1.0625rem;
    letter-spacing: 0.02em;
}

.content-article table tbody tr {
    background: var(--color-pure-white);
    transition: var(--transition-fast);
}

.content-article table tbody tr:hover {
    background: rgba(0, 102, 255, 0.03);
    transform: scale(1.01);
}

.content-article table tbody tr:last-child td {
    border-bottom: none;
}

/* ===== 特殊内容框 ===== */
.content-article .info-box {
    margin: 2.5rem 0;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05), rgba(0, 102, 255, 0.08));
    border-left: 4px solid var(--color-tech-blue);
    border-radius: 12px;
}

.content-article .warning-box {
    margin: 2.5rem 0;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.05), rgba(255, 193, 7, 0.08));
    border-left: 4px solid #ffc107;
    border-radius: 12px;
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
    .content-article {
        padding: 4rem 4rem;
    }

    .page-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        min-height: 400px;
    }

    .page-header-content {
        padding: 2rem 0;
    }

    .page-title {
        font-size: 3rem;
    }

    .page-subtitle {
        font-size: 1.125rem;
    }

    .content-section {
        padding: 5rem 0;
    }

    .content-article {
        padding: 3rem 2.5rem;
        border-radius: 20px;
    }

    .content-article h2 {
        font-size: 1.875rem;
        margin: 3.5rem 0 1.5rem;
        padding-left: 1.5rem;
    }

    .content-article h2::before {
        width: 5px;
    }

    .content-article h3 {
        font-size: 1.5rem;
        margin: 2.5rem 0 1.25rem;
    }

    .content-article p,
    .content-article ul li,
    .content-article ol li {
        font-size: 1.0625rem;
        line-height: 1.9;
    }

    .content-article blockquote {
        padding: 2rem 2rem;
        font-size: 1.125rem;
        margin: 2.5rem 0;
    }

    .content-article blockquote::before {
        font-size: 3rem;
    }

    .content-article ol li {
        padding-left: 2.25rem;
    }

    .content-article ol li::before {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        min-height: 350px;
    }

    .page-header-content {
        padding: 1.5rem 0;
    }

    .page-title {
        font-size: 2.25rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .content-section {
        padding: 4rem 0;
    }

    .content-article {
        padding: 2.5rem 1.75rem;
        border-radius: 16px;
    }

    .content-article h2 {
        font-size: 1.625rem;
        margin: 3rem 0 1.25rem;
        padding-left: 1.25rem;
    }

    .content-article h2::before {
        width: 4px;
    }

    .content-article h3 {
        font-size: 1.375rem;
        margin: 2rem 0 1rem;
    }

    .content-article p,
    .content-article ul li,
    .content-article ol li {
        font-size: 1rem;
    }

    .content-article ul,
    .content-article ol {
        padding-left: 1rem;
        margin-left: 0.5rem;
    }

    .content-article blockquote {
        padding: 1.5rem 1.5rem;
        margin: 2rem 0;
        font-size: 1.0625rem;
    }

    .content-article blockquote::before {
        font-size: 2.5rem;
        top: 0.5rem;
        left: 0.5rem;
    }

    .content-article table {
        font-size: 0.875rem;
    }

    .content-article table th,
    .content-article table td {
        padding: 1rem;
    }

    .content-article pre {
        padding: 1.5rem;
        margin: 2rem 0;
    }

    .content-article pre code {
        font-size: 0.875rem;
        margin-top: 2rem;
    }

    .content-article ol li {
        padding-left: 2rem;
    }

    .content-article ol li::before {
        width: 1.375rem;
        height: 1.375rem;
        font-size: 0.75rem;
    }
}