/* PartTime Mom - Cloudflare Pages 版本样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* 顶部导航 */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 0 40px;
    height: 64px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 700;
}

.logo-icon {
    font-size: 28px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #fff;
}

.admin-link {
    background: rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 20px;
}

/* Banner */
.banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 80px 40px;
    text-align: center;
}

.banner-content h1 {
    font-size: 42px;
    margin-bottom: 16px;
}

.banner-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.banner-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    padding: 12px 32px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.btn-primary {
    background: #fff;
    color: #667eea;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}

/* 统计区 */
.stats-section {
    max-width: 1200px;
    margin: -40px auto 40px;
    padding: 0 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #667eea;
}

.stat-label {
    font-size: 14px;
    color: #999;
    margin-top: 8px;
}

/* 内容区 */
.content-section {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* 职位卡片 */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.jobs-full {
    grid-template-columns: repeat(3, 1fr);
}

.job-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s;
    cursor: pointer;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.job-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.job-salary {
    font-size: 18px;
    font-weight: 700;
    color: #f56c6c;
}

.job-company {
    color: #666;
    font-size: 14px;
    margin-bottom: 12px;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.job-tag {
    padding: 4px 10px;
    background: #f0f2f5;
    color: #666;
    border-radius: 4px;
    font-size: 12px;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.job-location,
.job-time {
    color: #999;
    font-size: 13px;
}

/* 平台优势 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 16px;
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-desc {
    color: #999;
    font-size: 14px;
    line-height: 1.6;
}

/* 页面内容 */
.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    min-height: 60vh;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 32px;
    margin-bottom: 12px;
    color: #333;
}

.page-header p {
    color: #999;
    font-size: 16px;
}

.about-content,
.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

/* 底部 */
.footer {
    background: #1a1a2e;
    color: rgba(255,255,255,0.7);
    padding: 40px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: #fff;
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* 后台管理布局 */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 220px;
    background: #001529;
    color: #fff;
    flex-shrink: 0;
}

.admin-logo {
    padding: 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid #1f3a5f;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.admin-menu {
    padding: 10px 0;
}

.admin-menu a {
    display: block;
    padding: 12px 20px;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.admin-menu a:hover,
.admin-menu a.active {
    color: #fff;
    background: #1890ff;
    border-left-color: #fff;
}

.logout-link {
    margin-top: 20px;
    border-top: 1px solid #1f3a5f;
}

.admin-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.admin-header {
    background: #fff;
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 4px rgba(0,21,41,0.08);
}

.admin-breadcrumb {
    font-size: 16px;
    font-weight: 600;
}

.admin-user {
    color: #666;
    font-size: 14px;
}

.admin-content {
    padding: 24px;
    flex: 1;
    background: #f0f2f5;
}

/* 后台统计 */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.admin-stat-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.admin-stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.admin-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.admin-stat-label {
    font-size: 13px;
    color: #999;
    margin-top: 4px;
}

/* 后台面板 */
.admin-panel {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.admin-panel-header {
    padding: 16px 24px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-panel-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.admin-panel-body {
    padding: 24px;
}

/* 响应式 */
@media (max-width: 768px) {
    .header {
        padding: 0 20px;
    }
    .nav-menu {
        display: none;
    }
    .banner {
        padding: 50px 20px;
    }
    .banner-content h1 {
        font-size: 28px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .jobs-grid,
    .jobs-full {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .admin-sidebar {
        width: 60px;
    }
    .admin-logo span:last-child,
    .admin-menu a span {
        display: none;
    }
    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}
