/* ==================== 全局变量 ==================== */
:root {
    --primary-color: #f57c00;
    --primary-dark: #ff9800;
    --secondary-color: #1976d2;
    --text-dark: #212121;
    --text-light: #757575;
    --bg-light: #fafafa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
    --radius: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Noto Sans SC', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==================== 导航栏 ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    height: 40px;
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    height: 100%;
    align-items: center;
}

.logo img {
    height: 100%;
    width: auto;
    display: block;
    object-fit: contain;
}

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

.nav-menu li {
    display: flex;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==================== 语言选择器 ==================== */
.language-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    color: var(--text-dark);
}

.lang-btn:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
}

.lang-icon {
    font-size: 1.1rem;
}

.lang-arrow {
    font-size: 0.7rem;
    transition: var(--transition);
}

.lang-btn.active .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    list-style: none;
    padding: 0.5rem 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 100;
}

.language-selector:hover .lang-dropdown,
.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown li {
    padding: 0;
    border: none;
}

.lang-dropdown a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    transition: var(--transition);
    text-decoration: none;
}

.lang-dropdown a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.lang-dropdown a.active {
    background: var(--primary-color);
    color: white;
}

/* ==================== 主视觉区 ==================== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(33, 33, 33, 0.7) 0%, rgba(66, 66, 66, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ==================== 按钮 ==================== */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

/* ==================== 区块标题 ==================== */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* ==================== 服务区块 ==================== */
.services {
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
}

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

.service-card {
    padding: 2rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ==================== 优势区块 ==================== */
.why-us {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.feature-item {
    padding: 2rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.feature-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ==================== 流程区块 ==================== */
.process {
    padding: 80px 0;
    background-image: url('process.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 0;
}

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

.process-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.step {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    padding: 2rem 1.5rem;
    background: var(--bg-light);
    border-radius: var(--radius);
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    line-height: 60px;
    margin: 0 auto 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
}

.step h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* ==================== 关于我们 ==================== */
.about {
    padding: 80px 0;
    background-image: url('about-section.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250, 250, 250, 0.92);
    z-index: 0;
}

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

.about-text {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1.0625rem;
}

/* 公司信息表格 */
.company-info {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.info-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    border-bottom: 1px solid var(--border-color);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    padding: 1.5rem 2rem;
    background: var(--bg-light);
    font-weight: 600;
    color: var(--text-dark);
    border-right: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.info-value {
    padding: 1.5rem 2rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.info-value ol {
    margin: 0;
    padding-left: 1.5rem;
}

.info-value ol li {
    margin-bottom: 0.5rem;
}

.info-value ol li:last-child {
    margin-bottom: 0;
}

.info-value div {
    margin-bottom: 0.3rem;
}

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

/* ==================== 招聘信息 ==================== */
.recruitment {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.job-section {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.job-section-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.job-section h4 {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin: 1.5rem 0 1rem;
}

.job-section p {
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.job-tasks {
    margin-top: 1rem;
}

.job-tasks ul {
    list-style: none;
    padding-left: 0;
}

.job-tasks ul li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    line-height: 1.6;
}

.skill-list {
    list-style: none;
    padding-left: 0;
}

.skill-list li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    line-height: 1.8;
}

/* 待遇条件表格 */
.conditions-table {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
}

.condition-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    border-bottom: 1px solid var(--border-color);
}

.condition-row:last-child {
    border-bottom: none;
}

.condition-label {
    padding: 1.5rem;
    background: var(--bg-light);
    font-weight: 600;
    color: var(--text-dark);
    border-right: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.condition-value {
    padding: 1.5rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.condition-value p {
    margin-bottom: 0.5rem;
}

.condition-value p:last-child {
    margin-bottom: 0;
}

.recruitment-cta strong {
    color: var(--primary-color);
}

/* ==================== 联系方式 ==================== */
.contact {
    padding: 80px 0;
    background: white;
}

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

.contact-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.contact-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--primary-color);
}

.contact-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.contact-item p {
    color: var(--text-light);
}

/* ==================== 页脚 ==================== */
.footer {
    padding: 2rem 0;
    background: var(--text-dark);
    color: white;
    text-align: center;
    margin-top: auto;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
        display: none;
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    /* 公司信息响应式 */
    .info-row {
        grid-template-columns: 1fr;
    }

    .info-label {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    /* 招聘页面响应式 */
    .condition-row,
    .company-row {
        flex-direction: column;
    }

    .company-label {
        width: 100%;
        margin-bottom: 5px;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-bottom: 5px;
    }
}

/* Page Header Styles */
.page-header {
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
    /* Offset for fixed navbar */
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    /* Dark overlay for text readability */
}

.page-header .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-header h1 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .page-header {
        height: 200px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {

    .services-grid,
    .features-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

main {
    flex: 1;
}

.skip-link {
    position: fixed;
    top: -80px;
    left: 12px;
    z-index: 2000;
    padding: 8px 16px;
    background: white;
}

.skip-link:focus {
    top: 8px;
}

:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
