/* ============================================================
   新疆翼智汇信息技术有限公司 — 官方网站
   Design: Modern · Clean · Fixed-page
   ============================================================ */

/* ---------- Variables ---------- */
:root {
    --primary: #1a56db;
    --primary-dark: #1241b3;
    --primary-light: #e8f0fe;
    --accent: #f59e0b;
    --accent-light: #fef3c7;
    --dark: #111827;
    --text: #1f2937;
    --text-secondary: #6b7280;
    --white: #ffffff;
    --bg: #f8fafc;
    --border: #e5e7eb;
    --shadow: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.08);
    --radius: 10px;
    --radius-lg: 16px;
    --transition: 0.25s ease;
    --header-h: 60px;
    --footer-h: 56px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
}
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    display: flex;
    align-items: center;
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 16px;
    color: var(--dark);
    cursor: pointer;
    border: none;
    background: none;
}
.logo-img { width: 34px; height: 34px; border-radius: 6px; object-fit: contain; background: white; }

.nav { display: flex; gap: 4px; }
.nav-link {
    padding: 7px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    background: none;
}
.nav-link:hover { color: var(--primary); background: var(--primary-light); }
.nav-link.active { color: var(--primary); background: var(--primary-light); font-weight: 600; }

/* ---------- Pages Wrapper ---------- */
.pages-wrapper {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: var(--footer-h);
    overflow: hidden;
}

.page {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    overflow: hidden;
}
.page-active {
    opacity: 1;
    pointer-events: auto;
}

/* ---------- Home Layout ---------- */
.home-layout {
    display: flex;
    height: 100%;
}

/* Left: Hero */
.home-left {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 45%, #1a56db 100%);
    position: relative;
    overflow: hidden;
    padding: 40px 48px;
}
.home-left::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.home-left::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 440px;
}

.hero-title {
    font-size: clamp(28px, 4.5vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    white-space: nowrap;
}
.hero-brand { color: var(--accent); }
.hero-rest { color: var(--white); }

.hero-subtitle {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 28px;
}

.hero-stats {
    display: flex;
    gap: 36px;
    margin-bottom: 32px;
}
.stat-item { display: flex; flex-direction: column; gap: 2px; }
.stat-number { font-size: 30px; font-weight: 800; color: var(--white); letter-spacing: -0.5px; }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.55); font-weight: 500; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: var(--accent);
    color: var(--dark);
    box-shadow: 0 4px 14px rgba(245,158,11,0.3);
}
.btn-primary:hover { background: #e8900a; transform: translateY(-1px); }

/* Right: Intro + Core */
.home-right {
    flex: 1 1 50%;
    overflow-y: auto;
    background: var(--bg);
}
.home-right-inner {
    padding: 36px 40px;
    max-width: 520px;
}

.block-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}
.block-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.intro-block {
    margin-bottom: 28px;
}
.intro-text {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 10px;
}
.intro-text .highlight {
    color: var(--primary);
    font-weight: 600;
}

.core-block { margin-top: 0; }
.core-block .block-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.core-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.core-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--white);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    transition: all var(--transition);
    cursor: default;
}
.core-card:nth-child(1) { background: #eef2ff; border-left-color: #4f46e5; }
.core-card:nth-child(2) { background: #ecfdf5; border-left-color: #10b981; }
.core-card:nth-child(3) { background: #fff7ed; border-left-color: #f97316; }
.core-card:nth-child(4) { background: #fdf2f8; border-left-color: #ec4899; }
.core-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.core-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    flex-shrink: 0;
}
.core-card:nth-child(1) .core-icon { background: #e0e7ff; color: #4f46e5; }
.core-card:nth-child(2) .core-icon { background: #d1fae5; color: #10b981; }
.core-card:nth-child(3) .core-icon { background: #fed7aa; color: #f97316; }
.core-card:nth-child(4) .core-icon { background: #fce7f3; color: #ec4899; }
.core-icon svg { width: 26px; height: 26px; }

.core-info { flex: 1; }
.core-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px;
}
.core-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ---------- Network Page ---------- */
.page-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 40px;
    text-align: center;
}

.page-header { margin-bottom: 24px; }

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}
.section-desc {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.network-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    width: 100%;
}

.network-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}
.network-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.network-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg);
}
.network-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.network-card:hover .network-img img {
    transform: scale(1.05);
}

.network-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    padding: 20px 24px 0;
}
.network-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    padding: 8px 24px 24px;
}

/* ---------- Contact Page ---------- */
.page-scroll {
    overflow-y: auto;
    justify-content: flex-start;
    padding-top: 40px;
    padding-bottom: 40px;
}

.jobs-section {
    max-width: 720px;
    width: 100%;
    margin: 0 auto 28px;
}

.jobs-heading {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 14px;
    text-align: center;
}

.jobs-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 14px;
}

.job-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: left;
    transition: all var(--transition);
}
.job-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.job-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.job-header h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
}
.job-tag {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    padding: 2px 8px;
    border-radius: 100px;
}

.job-reqs {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.job-reqs li {
    font-size: 12px;
    color: var(--text-secondary);
    padding-left: 12px;
    position: relative;
    line-height: 1.5;
}
.job-reqs li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
}

.resume-tip {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
}

.contact-section {
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
}
.contact-section .jobs-heading {
    margin-bottom: 10px;
}

.contact-simple {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--white);
    padding: 20px 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    min-width: 280px;
    transition: all var(--transition);
}
.contact-row:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.contact-icon-circle {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 50%;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 2px;
    text-align: left;
}
.contact-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    text-align: left;
}

/* ---------- Footer ---------- */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--footer-h);
    background: var(--dark);
    z-index: 1000;
    display: flex;
    align-items: center;
}
.footer .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 24px;
    height: 100%;
}
.copyright {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}
.icp {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    transition: color var(--transition);
}
.icp:hover {
    color: rgba(255,255,255,0.8);
    text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    body { overflow: auto; }
    .pages-wrapper {
        position: relative;
        top: auto;
        bottom: auto;
        overflow: visible;
        padding-top: var(--header-h);
        padding-bottom: var(--footer-h);
    }
    .page {
        position: relative;
        opacity: 1;
        pointer-events: auto;
        overflow: visible;
        display: none;
    }
    .page-active { display: block; }

    .home-layout { flex-direction: column; min-height: auto; }
    .home-left { padding: 32px 24px; min-height: auto; }
    .home-right { overflow-y: visible; }
    .home-right-inner { padding: 24px; }
    .hero-title { font-size: 26px; white-space: normal; }
    .hero-title .hero-brand { display: block; }
    .hero-title .hero-rest { display: block; }
    .hero-stats { gap: 24px; }
    .stat-number { font-size: 24px; }
    .network-grid { grid-template-columns: 1fr; max-width: 340px; }
    .contact-row { min-width: auto; width: 100%; padding: 16px 20px; }
    .page-inner { padding: 24px; height: auto; justify-content: flex-start; }
    .jobs-cards { grid-template-columns: 1fr; }
    .core-grid { gap: 8px; }
}

@media (max-width: 480px) {
    .header .container { padding: 0 16px; }
    .logo-text { font-size: 13px; }
    .nav-link { padding: 6px 10px; font-size: 13px; }
    .home-left { padding: 24px 16px; }
    .hero-content { max-width: 100%; }
    .hero-stats { gap: 16px; }
    .home-right-inner { padding: 20px 16px; }
    .footer .container { flex-direction: column; justify-content: center; gap: 4px; }
}
