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

/* 根元素样式 */
:root {
    --bg-black: #000000;
    --bg-white: #ffffff;
    --text-black: #000000;
    --text-white: #ffffff;
    --border-color: #e0e0e0;
}

/* 基础样式 - 强制使用系统字体 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-black);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* 头部导航 */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-black);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 30px 0;
    transition: padding 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-white);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* 英雄区域 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: -100px;
    padding-top: 100px;
    overflow: hidden;
}

.hero .container {
    width: 100%;
    max-width: 1000px;
}

.hero-content {
    text-align: left;
}

.main-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -2px;
    position: relative;
    display: inline-block;
}

.rainbow-text {
    background: linear-gradient(90deg, #f5af19, #f12711, #d62976, #962fbf, #4f46e5, #0ea5e9, #10b981, #f59e0b);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rainbow-animation 8s ease infinite;
    text-shadow: 0 0 10px rgba(0,0,0,0.1);
}

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

.sub-title {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.8;
    margin-bottom: 40px;
    letter-spacing: 1px;
}



/* 按钮样式 */
.btn-primary {
    display: inline-block;
    padding: 14px 40px;
    background-color: var(--text-white);
    color: var(--bg-black);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 1px solid var(--text-white);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--text-white);
}

/* 通用区域样式 */
section {
    padding: 100px 0;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-weight: 800;
    letter-spacing: -1px;
}

/* 关于我们区域 */
.about {
    background-color: var(--bg-black);
}

.about p {
    max-width: 800px;
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.8;
    text-transform: none;
    letter-spacing: normal;
}

/* 招聘区域 */
.careers {
    background-color: var(--bg-black);
}

.career-category {
    margin-bottom: 80px;
}

.career-category h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    opacity: 0.7;
    letter-spacing: 3px;
}

.career-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.career-item {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.career-item:hover {
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.career-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.career-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.7;
    margin-bottom: 20px;
    text-transform: none;
    letter-spacing: normal;
}

/* 职位标签样式 */
.tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
}

/* 申请方式样式 */
.apply-section {
    margin-top: 100px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.apply-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 3px;
}

.apply-section p {
    margin-bottom: 20px;
    font-size: 1rem;
    opacity: 0.8;
    text-transform: none;
    letter-spacing: normal;
}

.apply-section a {
    color: var(--text-white);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.apply-section a:hover {
    opacity: 0.7;
}

/* 页脚 */
footer {
    background-color: var(--bg-black);
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.5;
    letter-spacing: 1px;
}

/* 响应式设计 */
/* 平板设备 */
@media (max-width: 992px) {
    .main-title {
        font-size: 4rem;
    }
    
    .career-list {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* 移动设备 - 中等屏幕 */
@media (max-width: 768px) {
    header {
        padding: 20px 0;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .nav-links a {
        font-size: 0.8rem;
    }
    
    .hero {
        margin-top: -80px;
        padding-top: 80px;
    }
    
    .main-title {
        font-size: 3rem;
    }
    
    .sub-title {
        font-size: 1rem;
    }
    
    section {
        padding: 100px 0;
    }
    
    section h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .career-list {
        grid-template-columns: 1fr;
    }
    
    .career-item {
        padding: 20px;
    }
}

/* 移动设备 - 小屏幕 */
@media (max-width: 576px) {
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .nav-links {
        gap: 15px;
    }
    
    .nav-links a {
        font-size: 0.75rem;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .sub-title {
        font-size: 0.9rem;
    }
    
    .btn-primary {
        padding: 12px 30px;
        font-size: 0.8rem;
    }
    
    section h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 80px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .apply-section {
        padding: 20px;
        margin-top: 60px;
    }
    
    .apply-section h3 {
        font-size: 1rem;
    }
}

/* 移动设备 - 极小屏幕 */
@media (max-width: 400px) {
    .main-title {
        font-size: 2rem;
    }
    
    nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        justify-content: center;
    }
}