/* ===========================================
   门店通 - 关于页面样式
   设计理念：专业、大气、有温度
   =========================================== */

:root {
    --primary: #7c3aed;
    --primary-light: #4f46e5;
    --dark: #111827;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-600: #4b5563;
    --gray-700: #374151;
}

/* ---------- 1. 页面内导航 ---------- */
.page-nav {
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 5rem;
    z-index: 999;
    padding: 1rem 0;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links .nav-link {
    padding: 0.5rem 1rem;
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    position: relative;
}

.nav-links .nav-link:hover {
    color: var(--primary);
    background: var(--gray-50);
}

.nav-links .nav-link.active {
    color: var(--primary);
    background: rgba(124, 58, 237, 0.1);
}

.nav-links .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
}

/* ---------- 2. Hero区域 ---------- */
.about-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
    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(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(79, 70, 229, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

/* ---------- 3. 通用章节样式 ---------- */
.about-section,
.partners-section,
.careers-section,
.contact-section {
    padding: 5rem 0;
}

.about-section {
    background: var(--white);
}

.partners-section {
    background: var(--gray-50);
}

.careers-section {
    background: var(--white);
}

.contact-section {
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- 4. 关于我们 ---------- */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.about-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary);
}

.card-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.about-card p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 0;
}

.about-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-card li {
    padding: 0.5rem 0;
    color: var(--gray-600);
    line-height: 1.6;
    position: relative;
    padding-left: 1.5rem;
}

.about-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* 发展历程 */
.timeline-section {
    margin: 4rem 0;
}

.timeline-section h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--dark);
    text-align: center;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--primary-light));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
    padding-right: 3rem;
}

.timeline-item:nth-child(even) {
    margin-left: auto;
    padding-left: 3rem;
    padding-right: 0;
}

.timeline-year {
    position: absolute;
    right: -4rem;
    top: 0;
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.timeline-item:nth-child(even) .timeline-year {
    right: auto;
    left: -4rem;
}

.timeline-content {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 1.5rem;
    position: relative;
}

.timeline-content::before {
    display: none;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: auto;
    left: -8px;
    transform: translateX(-50%);
}

.timeline-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.timeline-content p {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* 技术驱动 */
.tech-drive {
    margin-top: 4rem;
}

.tech-drive h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--dark);
    text-align: center;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.tech-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-size: 1.25rem;
}

.tech-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.tech-item p {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* ---------- 5. 合作伙伴 ---------- */
.partner-intro {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gray-700);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.partner-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.type-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.type-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.type-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.25rem;
}

.type-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.type-card p {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* 合作伙伴展示墙 */
.partners-showcase {
    margin: 4rem 0;
}

.partners-showcase h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--dark);
    text-align: center;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.partner-logo {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-700);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    color: var(--primary);
}

/* 合作伙伴CTA */
.partner-cta {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 3rem;
    text-align: center;
    margin-top: 3rem;
}

.partner-cta h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.partner-cta p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
}

/* ---------- 6. 加入我们 ---------- */
.career-intro {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gray-700);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* 我们提供 */
.benefits-section {
    margin-bottom: 4rem;
}

.benefits-section h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--dark);
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.benefit-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.25rem;
}

.benefit-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.benefit-item p {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* 在招岗位 */
.jobs-section {
    margin-bottom: 3rem;
}

.jobs-section h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--dark);
    text-align: center;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.job-department {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 2rem;
}

.job-department h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-200);
}

.job-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-list li {
    margin-bottom: 0.75rem;
}

.job-list a {
    display: block;
    padding: 0.75rem 1rem;
    background: var(--gray-50);
    border-radius: 0.5rem;
    color: var(--gray-700);
    text-decoration: none;
    transition: all 0.2s ease;
}

.job-list a:hover {
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary);
    transform: translateX(4px);
}

/* 加入我们CTA */
.career-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ---------- 7. 联系我们 ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1.25rem;
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.contact-card p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.contact-info {
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

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

.info-item i {
    color: #3B82F6;
    font-size: 1.25rem;
    margin-top: 0.25rem;
    width: 1.5rem;
    text-align: center;
}

.info-item h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.25rem;
}

.info-item p {
    color: var(--gray-600);
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.info-item small {
    color: var(--gray-500);
    font-size: 0.75rem;
}

/* 社交媒体卡片 */
.social-card .contact-icon {
    background: linear-gradient(135deg, #10B981, #059669);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-4px) rotate(5deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-link.wechat {
    background: linear-gradient(135deg, #07C160, #059648);
}

.social-link.weibo {
    background: linear-gradient(135deg, #E6162D, #C5111F);
}

.social-link.linkedin {
    background: linear-gradient(135deg, #0A66C2, #084DA0);
}

.social-link.zhihu {
    background: linear-gradient(135deg, #0084FF, #0066CC);
}

/* 联系表单容器 */
.contact-form-container {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
    display: none;
}

.contact-form-container.show {
    display: block;
    animation: slideInUp 0.3s ease;
}

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

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-200);
}

.form-header h3 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--dark);
}

.form-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--gray-500);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-close:hover {
    color: var(--dark);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-700);
}

.contact-form .required {
    color: #EF4444;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

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

/* 表单成功提示 */
.form-success {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.form-success.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.success-content {
    background: var(--white);
    border-radius: 1rem;
    padding: 3rem;
    text-align: center;
    max-width: 400px;
    animation: slideInUp 0.3s ease 0.1s both;
}

.success-content i {
    font-size: 4rem;
    color: #10B981;
    margin-bottom: 1.5rem;
}

.success-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.success-content p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* ---------- 8. 响应式设计 ---------- */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .nav-links .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .nav-links .nav-link.active::after {
        display: none;
    }
    
    .timeline::before {
        left: 2rem;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 4rem;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(even) {
        padding-left: 4rem;
    }
    
    .timeline-year {
        left: 0;
        right: auto;
    }
    
    .timeline-item:nth-child(even) .timeline-year {
        left: 0;
    }
    
    .timeline-content::before {
        left: -8px;
        right: auto;
        transform: translateX(-50%);
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .about-section,
    .partners-section,
    .careers-section,
    .contact-section {
        padding: 3rem 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .partner-types {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}