/* 基地介绍页面特定样式 */
/* 头部介绍区域 */
.intro-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 50px;
    background: var(--tech-bg);
    border: 3px solid var(--sketch-border);
    border-radius: 12px;
    margin-bottom: 50px;
    box-shadow: 4px 4px 0 var(--sketch-shadow);
    position: relative;
    overflow: hidden;
    min-height: 500px;
    max-width: 1400px;
    margin: 0 auto 50px;
    width: calc(100% - 100px);
}

.intro-header:hover {
    transform: translateY(-2px);
    box-shadow: 6px 6px 0 var(--sketch-shadow);
}

.intro-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--sketch-border);
    text-shadow: 1px 1px 0 var(--sketch-shadow);
    position: relative;
    z-index: 1;
    order: 1;
    text-align: center;
}

.intro-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 0 0 20px;
    color: var(--sketch-border);
    line-height: 1.8;
    position: relative;
    z-index: 1;
    order: 2;
    margin-bottom: 30px;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    order: 3;
}

.stat-item {
    background: var(--light-gray);
    border: 2px solid var(--sketch-border);
    border-radius: 8px;
    padding: 30px 40px;
    text-align: center;
    min-width: 220px;
    box-shadow: 2px 2px 0 var(--sketch-shadow);
    transform: rotate(0.5deg);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: var(--gray);
    transform: rotate(-0.5deg) translateX(4px);
    box-shadow: 3px 3px 0 var(--sketch-shadow);
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--sketch-border);
}

/* 主体内容样式 */
.container {
    max-width: 1400px;
    margin: 0 auto 80px;
    padding: 0 5%;
}

.section {
    background: var(--tech-bg);
    border: 3px solid var(--sketch-border);
    border-radius: 12px;
    padding: 50px;
    margin-bottom: 60px;
    box-shadow: 4px 4px 0 var(--sketch-shadow);
    transform: rotate(1deg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.section:hover {
    transform: translateY(-2px) rotate(0deg);
    box-shadow: 6px 6px 0 var(--sketch-shadow);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--sketch-border);
    position: relative;
    display: inline-block;
    text-shadow: 1px 1px 0 var(--sketch-shadow);
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--sketch-border);
    border-radius: 2px;
}

.section-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--sketch-border);
}

.section-content p {
    margin-bottom: 25px;
}

.highlight {
    color: var(--accent);
    font-weight: 600;
}

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

.feature-card {
    background: var(--light-gray);
    border: 2px solid var(--sketch-border);
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
    transform: rotate(0.5deg);
    box-shadow: 2px 2px 0 var(--sketch-shadow);
}

.feature-card:hover {
    background: var(--gray);
    transform: rotate(-0.5deg) translateX(4px);
    box-shadow: 3px 3px 0 var(--sketch-shadow);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--sketch-border);
    text-shadow: 1px 1px 0 var(--sketch-shadow);
}

.feature-desc {
    color: var(--sketch-border);
    line-height: 1.7;
    opacity: 0.8;
}

/* 时间线样式 */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 50px auto 0;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--sketch-border);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 50%;
    padding-left: 40px;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 0;
    padding-right: 40px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-light);
    border: 2px solid var(--sketch-border);
    box-shadow: 2px 2px 0 var(--sketch-shadow);
    z-index: 1;
}

.timeline-item:nth-child(odd)::before {
    left: -10px;
}

.timeline-item:nth-child(even)::before {
    right: -10px;
}

.timeline-content {
    background: var(--light-gray);
    border: 2px solid var(--sketch-border);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 2px 2px 0 var(--sketch-shadow);
    transform: rotate(0.5deg);
}

.timeline-year {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 10px;
}

.timeline-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--sketch-border);
    text-shadow: 1px 1px 0 var(--sketch-shadow);
}

.timeline-desc {
    color: var(--sketch-border);
    line-height: 1.7;
    opacity: 0.8;
}

/* 合作伙伴网格 */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.partner-card {
    background: var(--light-gray);
    border: 2px solid var(--sketch-border);
    border-radius: 8px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    height: 140px;
    transform: rotate(0.5deg);
    box-shadow: 2px 2px 0 var(--sketch-shadow);
}

.partner-card:hover {
    background: var(--gray);
    transform: rotate(-0.5deg) translateX(4px);
    box-shadow: 3px 3px 0 var(--sketch-shadow);
}

.partner-logo {
    max-width: 100%;
    max-height: 80px;
    filter: grayscale(100%) brightness(150%);
    transition: all 0.3s ease;
}

.partner-card:hover .partner-logo {
    filter: grayscale(0%) brightness(100%);
}

/* 为合作伙伴文字添加悬停效果 */
.partner-card .partner-logo {
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
}

/* 为华为科技文字添加特定样式，使其在静止状态下也显示为红色 */
.partner-card .partner-logo:first-child {
    color: #d01f1f;
}

.partner-card:hover .partner-logo {
    color: #d01f1f;
}

/* 行动号召按钮 */
.cta-container {
    text-align: center;
    margin-top: 60px;
}

.cta-button {
    display: inline-block;
    background: var(--primary);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 4px 4px 0 var(--sketch-shadow);
    border: 2px solid var(--sketch-border);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transform: rotate(-1deg);
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px) rotate(0deg);
    box-shadow: 6px 6px 0 var(--sketch-shadow);
}

/* 页脚样式 */
.footer {
    background: var(--light-gray);
    padding: 32px 40px;
    margin-top: 40px;
    border-top: 3px solid var(--sketch-border);
    box-shadow: 0 -4px 0 var(--sketch-shadow);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    font-size: 16px;
    color: var(--sketch-border);
    margin-bottom: 12px;
    font-weight: 700;
    text-shadow: 1px 1px 0 var(--sketch-shadow);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--primary-light);
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--sketch-border);
    transform: translateX(4px);
    text-shadow: 1px 1px 0 var(--sketch-shadow);
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: #475569;
    font-size: 14px;
}

.contact-info i {
    margin-right: 8px;
    color: #64748b;
    min-width: 16px;
}

.social-links {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.social-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: #475569;
    font-size: 14px;
    transition: all 0.2s ease;
}

.social-btn:hover {
    background: #cbd5e1;
    color: #1e293b;
}

.copyright {
    text-align: center;
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 12px;
}