/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /* 禁用全局smooth滚动，由JavaScript精确控制 */
    scroll-behavior: auto;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #4f46e5;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-logo a {
    text-decoration: none;
    color: inherit;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #4f46e5;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #4f46e5;
    border-radius: 1px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #374151;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* 英雄区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FFFFFF, #F8F9FA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.highlight {
    background: linear-gradient(45deg, #60A5FA, #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #E2E8F0;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-weight: 400;
}

/* 新的hero-actions布局 */
.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.action-section {
    flex: 1;
    min-width: 280px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.action-section:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.ai-section {
    border-left: 3px solid #4A6CF7;
}

.resume-section {
    border-left: 3px solid #60A5FA;
}

.resume-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.resume-buttons .btn {
    flex: 1;
    min-width: 120px;
    justify-content: center;
}

/* 保持原有的hero-buttons样式以防其他地方使用 */
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, #4A6CF7, #2A4BC8);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 108, 247, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-tertiary {
    background: transparent;
    color: #D0D0D0;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-tertiary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn-ai-chat {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #4A6CF7, #2A4BC8);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    flex-direction: row;
    align-items: center;
    padding: 1rem 2rem;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: glow 2s infinite;
}

@keyframes glow {
    0% { left: -100%; }
    100% { left: 100%; }
}

.btn-ai-chat:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(79, 70, 229, 0.8), 0 0 20px rgba(74, 144, 226, 0.8);
}

.btn-subtitle {
    font-size: 0.75rem;
    opacity: 0.9;
    margin-top: 0.25rem;
    font-weight: 400;
}

/* AI对话弹窗样式已移除 */

/* 个人资料卡片 */
.profile-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.profile-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.avatar-container {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    display: block;
}



.avatar-border {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 3px solid;
    border-image: linear-gradient(45deg, #4f46e5, #7c3aed) 1;
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(79, 70, 229, 0.3);
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
}

/* 核心能力矩阵 */
.competencies {
    padding: 3rem 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    border-radius: 2px;
}

.competencies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.competency-card {
    background: white;
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.competency-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
}

.competency-card {
    background: white;
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.competency-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

/* 领域筛选导航样式 */
.domain-filter-nav {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.filter-tags {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-tag {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #374151;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.filter-tag:hover {
    color: #333;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.filter-tag.active {
    background: #4a90e2;
    color: white;
    border-color: #4a90e2;
    border-bottom: 2px solid #4a90e2;
}

/* Tooltip样式 */
.competency-tooltip {
    position: absolute;
    right: -320px;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.competency-card:hover .competency-tooltip {
    opacity: 1;
    visibility: visible;
    right: -340px;
}

.tooltip-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.tooltip-case {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.tooltip-case:last-child {
    margin-bottom: 0;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.competency-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.competency-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-content p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-details {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(139, 92, 246, 0.05));
    border-radius: 12px;
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-metric {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.detail-metric:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.detail-metric i {
    color: #4f46e5;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.detail-metric span {
    color: #374151;
    font-size: 0.875rem;
    font-weight: 600;
}

.competency-details {
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: rgba(79, 70, 229, 0.05);
    transform: translateX(5px);
}

.detail-item i {
    color: #4f46e5;
    font-size: 0.875rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.detail-item span {
    color: #374151;
    font-size: 0.875rem;
    line-height: 1.5;
    font-weight: 500;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* 精选项目 */
.featured-projects {
    padding: 3rem 0;
    background: #f9fafb;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.project-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 200px;
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.project-content {
    padding: 1.75rem;
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.project-role {
    color: #4f46e5;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.metric {
    text-align: center;
    padding: 1rem;
    background: #f3f4f6;
    border-radius: 0.5rem;
}

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #4f46e5;
}

.metric-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.project-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* 快速联系 */
.quick-contact {
    padding: 3rem 0;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
    text-align: center;
}

.contact-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 页面样式 */
.experience-page,
.skills-page,
.about-page {
    padding-top: 100px;
    min-height: 100vh;
    background: white;
}

.page-header {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* 动态摘要 */
.dynamic-summary {
    background: #f8fafc;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 3rem;
    border-left: 4px solid #4f46e5;
}

.summary-content h3 {
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.summary-content p {
    color: #6b7280;
    line-height: 1.6;
}

/* 筛选器 */
.filter-container {
    margin-bottom: 3rem;
}

.filter-container h3 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid #e5e7eb;
    background: white;
    color: #6b7280;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: #4f46e5;
    background: #4f46e5;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

/* 时间线 */
.timeline-container {
    position: relative;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #4f46e5, #7c3aed);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 3rem;
}

.timeline-marker {
    position: absolute;
    left: -2.5rem;
    top: 0;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.timeline-content {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.company-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.company-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.period {
    background: #4f46e5;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.timeline-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #4f46e5;
    margin-bottom: 1.5rem;
}

.achievements {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.achievement-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    border-left: 4px solid #4f46e5;
    transition: all 0.3s ease;
}

.achievement-item:hover {
    background: #f1f5f9;
    transform: translateX(5px);
}

.achievement-item i {
    color: #4f46e5;
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.achievement-content h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.achievement-content p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.metrics {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.metric {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #4f46e5;
    border: 1px solid #e5e7eb;
}

.expand-btn {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.expand-btn:hover {
    background: #4338ca;
    transform: translateY(-1px);
}

/* 技能页面样式 */
.skill-category {
    margin-bottom: 4rem;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.category-info h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.category-info p {
    color: #6b7280;
    font-size: 1.125rem;
}

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

.skill-group {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.skill-group h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}

.skill-group h3 i {
    color: #4f46e5;
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-item {
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    border-left: 4px solid #4f46e5;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.15);
    background: #ffffff;
    border-left-color: #6366f1;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.skill-name {
    font-weight: 600;
    color: #1f2937;
}

.skill-level {
    font-size: 0.875rem;
    color: #4f46e5;
    font-weight: 500;
}

.skill-bar {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    border-radius: 3px;
    transition: width 1s ease;
}

.skill-desc {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
}

/* 认证卡片 */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.certification-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.certification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.cert-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.cert-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.cert-issuer {
    color: #4f46e5;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cert-desc {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.cert-tag {
    display: inline-block;
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.cert-badge {
    display: inline-block;
}

.badge-text {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* 雷达图 */
.radar-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: center;
}

.radar-chart {
    display: flex;
    justify-content: center;
}

.radar-legend {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.legend-score {
    margin-left: auto;
    font-weight: 600;
    color: #4f46e5;
}

/* 关于页面样式 */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.profile-section {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 1rem;
}

.profile-image {
    position: relative;
}

.profile-photo {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
}

.profile-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-text {
    font-size: 0.875rem;
    color: #10b981;
    font-weight: 500;
}

.profile-info h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.profile-title {
    font-size: 1.125rem;
    color: #4f46e5;
    font-weight: 600;
    margin-bottom: 1rem;
}

.profile-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.bio-section,
.philosophy-section,
.journey-section,
.achievements-section {
    margin-bottom: 3rem;
}

.bio-section h3,
.philosophy-section h3,
.journey-section h3,
.achievements-section h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.bio-section h3 i,
.philosophy-section h3 i,
.journey-section h3 i,
.achievements-section h3 i {
    color: #4f46e5;
}

.bio-section p {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1rem;
}

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

.philosophy-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: all 0.3s ease;
}

.philosophy-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.philosophy-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    margin: 0 auto 1rem;
}

.philosophy-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.philosophy-card p {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* 成长历程时间线 */
.journey-timeline {
    position: relative;
    padding-left: 2rem;
}

.journey-timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #4f46e5, #7c3aed);
}

.journey-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 3rem;
}

.journey-year {
    position: absolute;
    left: -2.5rem;
    top: 0;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.journey-content {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.journey-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.journey-content p {
    color: #6b7280;
    line-height: 1.6;
}

/* 成就网格 */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.achievement-item {
    display: flex;
    gap: 1rem;
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.achievement-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    flex-shrink: 0;
}

.achievement-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.achievement-content p {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* 侧边栏 */
.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card,
.stats-card,
.availability-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.contact-card h3,
.stats-card h3,
.availability-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.contact-card h3 i,
.stats-card h3 i,
.availability-card h3 i {
    color: #4f46e5;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    width: 20px;
    color: #4f46e5;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.contact-value {
    color: #1f2937;
    font-weight: 500;
    text-decoration: none;
}

.contact-value:hover {
    color: #4f46e5;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.5rem;
}

.stat-number {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #4f46e5;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: #6b7280;
}

.availability-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.status-indicator.active {
    width: 12px;
    height: 12px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-info {
    display: flex;
    flex-direction: column;
}

.status-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.status-desc {
    font-size: 0.875rem;
    color: #6b7280;
}

.availability-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.detail-item i {
    color: #4f46e5;
    width: 16px;
}

/* 合作邀请 */
.collaboration-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.feature-item i {
    color: #fbbf24;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: #6b7280;
    transition: color 0.3s ease;
}

.close:hover {
    color: #1f2937;
}

.modal-title {
    margin-bottom: 1.5rem;
    color: #1f2937;
}

/* 筛选效果 */
.achievement-item.filtered {
    opacity: 0.3;
    transform: scale(0.95);
}

.achievement-item.highlighted {
    background: #eff6ff;
    border-left-color: #3b82f6;
    transform: translateX(10px);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .competencies-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .radar-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .action-section {
        min-width: unset;
    }
    
    .resume-buttons {
        flex-direction: column;
    }
    
    .resume-buttons .btn {
        min-width: unset;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .filter-btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
    
    .company-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .project-metrics {
        grid-template-columns: 1fr;
    }
    
    .profile-section {
        flex-direction: column;
        text-align: center;
    }
    
    .philosophy-grid,
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-features {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .competency-card,
    .project-card,
    .timeline-content {
        padding: 1.5rem;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
        width: 95%;
    }
}

/* 打印样式 */
@media print {
    .navbar,
    .hero-buttons,
    .contact-buttons,
    .cta-buttons,
    .expand-btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero {
        background: white;
        color: black;
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-title,
    .hero-subtitle {
        color: black;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease forwards;
}

/* 装饰分隔线 */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    padding: 0 2rem;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.3), transparent);
    position: relative;
}

.divider-line::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.1), transparent);
    border-radius: 2px;
}

.divider-icon {
    margin: 0 1.5rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    animation: float 3s ease-in-out infinite;
}

.divider-icon i {
    color: white;
    font-size: 1rem;
    display: block;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

/* 核心数据区样式 */
.core-metrics {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
}

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

.metric-card {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #4f46e5;
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

/* 团队成果模块样式 */
.team-achievements {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 0.75rem;
    border: 1px solid #f59e0b;
}

.team-metrics h5 {
    color: #92400e;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.team-metrics p {
    color: #78350f;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.team-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #92400e;
}

/* 视觉强调样式 */
.highlight-revenue {
    color: #f97316;
    font-weight: 700;
    font-size: 1.1em;
}

.revenue-label {
    display: inline-block;
    background: #f97316;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.7rem;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* 技术实现折叠区样式 */
.tech-implementation {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    border-left: 4px solid #4f46e5;
}

.tech-implementation h6 {
    color: #4f46e5;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.tech-implementation p {
    margin: 0.5rem 0;
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.5;
}

/* 职业资质区样式 */
.qualifications-section {
    margin: 3rem 0;
}

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

.qualification-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0ea5e9;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.qualification-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.15);
}

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

.qualification-icon {
    background: #0ea5e9;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.qualification-info h4 {
    color: #0c4a6e;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.qualification-title {
    color: #0369a1;
    font-weight: 500;
    margin: 0;
    display: block;
}

.qualification-level {
    background: #fbbf24;
    color: #92400e;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 0.5rem;
}

.qualification-details {
    color: #475569;
    line-height: 1.6;
}

.certificate-placeholder {
    background: #f1f5f9;
    border: 2px dashed #cbd5e1;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    margin-top: 1rem;
    color: #64748b;
}

.certificate-placeholder i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.certificate-image {
    margin-top: 1rem;
    text-align: center;
}

.certificate-photo {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-photo:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.qualification-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-link {
    background: none;
    border: 1px solid #0ea5e9;
    color: #0ea5e9;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-link:hover {
    background: #0ea5e9;
    color: white;
}

/* 证书模态框样式 */
.certificate-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.certificate-modal.show {
    opacity: 1;
    visibility: visible;
}

.certificate-modal-content {
    background: white;
    border-radius: 1rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.certificate-modal.show .certificate-modal-content {
    transform: scale(1);
}

.certificate-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.certificate-modal-header h3 {
    margin: 0;
    color: #1e293b;
    font-size: 1.25rem;
}

.certificate-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.certificate-modal-close:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.certificate-modal-body {
    padding: 1.5rem;
}

.certificate-info h4 {
    color: #0ea5e9;
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
}

.certificate-info p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.certificate-info strong {
    color: #1e293b;
}

.certificate-info a {
    color: #0ea5e9;
    text-decoration: none;
}

.certificate-info a:hover {
    text-decoration: underline;
}

.certificate-number-display {
    background: #f0f9ff;
    border: 2px solid #0ea5e9;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-family: 'Courier New', monospace;
}

.certificate-number-display i {
    color: #0ea5e9;
    font-size: 1.5rem;
}

.certificate-number {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1e293b;
    letter-spacing: 0.1em;
}

.certificate-note {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
    text-align: center;
    color: #475569;
    font-size: 0.9rem;
}

.certificate-note i {
    color: #0ea5e9;
}

.certificate-benefits {
    margin-top: 1rem;
}

.certificate-benefits h5 {
    color: #1e293b;
    margin: 0 0 0.5rem 0;
}

.certificate-benefits ul {
    margin: 0;
    padding-left: 1.5rem;
}

.certificate-benefits li {
    margin: 0.25rem 0;
    color: #475569;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #4f46e5;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4338ca;
}

/* 选择文本样式 */
::selection {
    background: #4f46e5;
    color: white;
}

::-moz-selection {
    background: #4f46e5;
    color: white;
}

/* AI分身聊天区域 */
.ai-chatbot {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.ai-chatbot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

.ai-chatbot .container {
    position: relative;
    z-index: 1;
}

.ai-chatbot .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-chatbot .section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.chatbot-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.chatbot-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.3);
}

.chatbot-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed, #ec4899);
    z-index: 1;
}

.chatbot-container iframe {
    display: block;
    border: none;
    width: 100%;
    min-height: 700px;
    background: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .ai-chatbot {
        padding: 3rem 0;
    }
    
    .ai-chatbot .section-title {
        font-size: 2rem;
    }
    
    .ai-chatbot .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .chatbot-container {
        border-radius: 15px;
        margin: 0 -10px;
    }
    
    .chatbot-container iframe {
        min-height: 600px;
    }
}

@media (max-width: 480px) {
    .ai-chatbot .section-title {
        font-size: 1.75rem;
    }
    
    .chatbot-container {
        border-radius: 10px;
        margin: 0 -15px;
    }
    
    .chatbot-container iframe {
         min-height: 500px;
     }
 }

 /* AI分身悬浮窗 */
 .ai-float-widget {
     position: fixed;
     bottom: 30px;
     right: 30px;
     z-index: 1000;
     cursor: pointer;
 }

 .float-widget-trigger {
     width: 60px;
     height: 60px;
     background: linear-gradient(135deg, #4f46e5, #7c3aed);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     font-size: 24px;
     box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
     transition: all 0.3s ease;
     position: relative;
     overflow: hidden;
 }

 .float-widget-trigger:hover {
     transform: translateY(-3px) scale(1.05);
     box-shadow: 0 12px 35px rgba(79, 70, 229, 0.4);
 }

 .widget-pulse {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     border-radius: 50%;
     background: rgba(255, 255, 255, 0.3);
     animation: pulse 2s infinite;
 }

 @keyframes pulse {
     0% {
         transform: scale(1);
         opacity: 1;
     }
     100% {
         transform: scale(1.4);
         opacity: 0;
     }
 }

 .float-widget-tooltip {
     position: absolute;
     bottom: 70px;
     right: 0;
     background: rgba(0, 0, 0, 0.8);
     color: white;
     padding: 8px 12px;
     border-radius: 8px;
     font-size: 14px;
     white-space: nowrap;
     opacity: 0;
     visibility: hidden;
     transform: translateY(10px);
     transition: all 0.3s ease;
 }

 .float-widget-tooltip::after {
     content: '';
     position: absolute;
     top: 100%;
     right: 20px;
     border: 6px solid transparent;
     border-top-color: rgba(0, 0, 0, 0.8);
 }

 .ai-float-widget:hover .float-widget-tooltip {
     opacity: 1;
     visibility: visible;
     transform: translateY(0);
 }

 /* 响应式设计 */
 @media (max-width: 768px) {
     .ai-float-widget {
         bottom: 20px;
         right: 20px;
     }
     
     .float-widget-trigger {
         width: 50px;
         height: 50px;
         font-size: 20px;
     }
     
     .float-widget-tooltip {
         bottom: 60px;
         font-size: 12px;
         padding: 6px 10px;
     }
 }