/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* 导航栏 */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    color: #667eea;
}

.nav-logo i {
    margin-right: 10px;
    font-size: 24px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #667eea;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

/* 主页横幅 */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #2d3748;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #718096;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
}

.stat-label {
    font-size: 0.9rem;
    color: #718096;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: float 6s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.floating-card i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 15px;
}

.floating-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #2d3748;
}

.floating-card p {
    color: #718096;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* 主要板块 */
.main-sections {
    padding: 80px 0;
    background: #f8fafc;
}

.section-card {
    background: white;
    border-radius: 20px;
    padding: 60px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.section-card:hover {
    transform: translateY(-5px);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.section-icon i {
    font-size: 2rem;
    color: white;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #718096;
}

/* 人才库样式 */
.talent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.talent-card {
    background: #f8fafc;
    border-radius: 15px;
    padding: 25px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.talent-card:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.talent-avatar {
    text-align: center;
}

.talent-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #667eea;
}

.talent-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    text-align: center;
}

.talent-school {
    color: #667eea;
    font-weight: 500;
    text-align: center;
    margin-bottom: 5px;
}

.talent-major {
    color: #718096;
    text-align: center;
    margin-bottom: 15px;
}

.talent-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.skill-tag {
    background: #e2e8f0;
    color: #4a5568;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.chat-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.chat-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* 企业项目专区样式 */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.project-card {
    background: #f8fafc;
    border-radius: 15px;
    padding: 25px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.project-card:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.project-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
}

.project-type {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-details p {
    margin-bottom: 8px;
    color: #718096;
    font-size: 0.9rem;
}

.project-details i {
    margin-right: 8px;
    color: #667eea;
    width: 16px;
}

.project-description {
    margin: 15px 0;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

.project-description p {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
}

.section-cta {
    text-align: center;
}

/* 合作伙伴样式 */
.partners-section {
    padding: 80px 0;
    background: white;
}

.partners-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 50px;
}

.partners-content {
    display: grid;
    gap: 60px;
}

.partners-category h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 30px;
    text-align: center;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
}

.partner-item {
    text-align: center;
    padding: 20px;
    background: #f8fafc;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.partner-item:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.partner-item img {
    width: 120px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 8px;
}

.partner-item span {
    display: block;
    font-weight: 500;
    color: #4a5568;
}

/* 聊天窗口样式 */
.chat-window {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    z-index: 10000;
    overflow: hidden;
}

.chat-window.active {
    display: flex;
}

.chat-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    display: flex;
    margin-bottom: 10px;
}

.ai-message {
    justify-content: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.message-content {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.ai-message .message-content {
    background: #f1f5f9;
    color: #374151;
}

.user-message .message-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.chat-input {
    padding: 15px 20px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 10px;
}

.chat-input input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #d1d5db;
    border-radius: 20px;
    font-size: 0.9rem;
    outline: none;
}

.chat-input input:focus {
    border-color: #667eea;
}

.chat-input button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-input button:hover {
    transform: scale(1.1);
}

/* 关于我们 */
.about-section {
    padding: 80px 0;
    background: white;
}

.about-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 50px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    color: #718096;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: center;
}

.about-features {
    display: grid;
    gap: 20px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-feature i {
    color: #48bb78;
    font-size: 1.2rem;
}

.about-feature span {
    color: #4a5568;
    font-weight: 500;
}

/* 页脚 */
.footer {
    background: #2d3748;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-section p {
    color: #a0aec0;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #a0aec0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .section-card {
        padding: 40px 20px;
    }
    
    .talent-grid {
        grid-template-columns: 1fr;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
    }
    
    .chat-window {
        width: 90%;
        height: 60vh;
        right: 5%;
        bottom: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .about-section h2,
    .partners-section h2 {
        font-size: 2rem;
    }
} 

/* 导航栏logo */
.custom-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-right: 10px;
    vertical-align: middle;
}

/* 主页大标题更醒目 */
.main-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-top: 30px;
    margin-bottom: 18px;
    color: #3b2e7e;
    text-align: center;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #764ba2 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2.2rem;
        margin-top: 20px;
    }
}

/* 星级评价 */
.star {
    color: #f7b500;
    font-size: 1.1rem;
    margin-right: 2px;
}
.star-label {
    color: #f7b500;
    font-weight: 600;
    margin-left: 6px;
    font-size: 1rem;
}

/* 讨论茶吧样式 */
.tea-bar-section {
    padding: 80px 0;
    background: #f8fafc;
}
.tea-bar-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 40px;
}
.tea-bar-content {
    max-width: 800px;
    margin: 0 auto;
}
.tea-bar-post-form {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    padding: 20px;
    margin-bottom: 30px;
}
.tea-bar-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}
#tea-bar-post-input {
    flex: 1;
    min-height: 60px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 1rem;
    resize: vertical;
    outline: none;
    background: #f8fafc;
}
.tea-bar-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-left: 10px;
}
.tea-bar-actions .btn-secondary {
    padding: 6px 16px;
    font-size: 0.95rem;
}
.tea-bar-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.tea-bar-post {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    padding: 18px 20px;
}
.tea-bar-post-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.tea-bar-post-header img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}
.tea-bar-post-user {
    font-weight: 600;
    color: #3b2e7e;
}
.tea-bar-post-time {
    color: #a0aec0;
    font-size: 0.9rem;
    margin-left: auto;
}
.tea-bar-post-content {
    font-size: 1.05rem;
    color: #2d3748;
    margin-bottom: 10px;
}
.tea-bar-post-actions {
    display: flex;
    gap: 10px;
}
.tea-bar-post-actions .btn-secondary {
    font-size: 0.95rem;
    padding: 4px 14px;
}

/* 合作伙伴logo适配 */
.partner-item img {
    width: 120px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .main-title {
        font-size: 2.2rem;
        margin-top: 20px;
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .section-card {
        padding: 40px 20px;
    }
    .talent-grid {
        grid-template-columns: 1fr;
    }
    .project-grid {
        grid-template-columns: 1fr;
    }
    .partners-grid {
        grid-template-columns: 1fr 1fr;
    }
    .tea-bar-content {
        max-width: 98vw;
        padding: 0 2vw;
    }
    .chat-window {
        width: 90%;
        height: 60vh;
        right: 5%;
        bottom: 10px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.3rem;
        margin-top: 10px;
    }
    .section-header h2,
    .about-section h2,
    .partners-section h2,
    .tea-bar-section h2 {
        font-size: 1.3rem;
    }
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

/* 表情包选择窗口（预留） */
.emoji-picker {
    position: absolute;
    bottom: 60px;
    left: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 10px;
    display: none;
    z-index: 9999;
    max-width: 320px;
    max-height: 200px;
    overflow-y: auto;
}
.emoji-picker.active {
    display: block;
}
.emoji-picker span {
    font-size: 1.5rem;
    cursor: pointer;
    margin: 4px;
    transition: transform 0.1s;
}
.emoji-picker span:hover {
    transform: scale(1.2);
} 