/* ============================================
   Selexic - 蓝色商务风格
   参考 CGL 猎头网站设计
   ============================================ */

:root {
    --primary: #0a2463;        /* 主色：深蓝 */
    --primary-light: #00b4d8;  /* 强调色：天蓝 */
    --primary-soft: #e0f7fa;   /* 浅蓝背景 */
    --dark: #0f172a;           /* 深色文字 */
    --text: #334155;           /* 正文文字 */
    --muted: #64748b;          /* 次要文字 */
    --bg: #ffffff;             /* 白色背景 */
    --bg-alt: #f8fafc;         /* 浅灰背景 */
    --border: #e2e8f0;         /* 边框色 */
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(10, 36, 99, 0.08);
    --shadow-lg: 0 10px 40px rgba(10, 36, 99, 0.12);
    --radius: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    font-size: 16px;
}

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

/* ============================================
   导航栏
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary-light);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ============================================
   Hero 区域
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    background: linear-gradient(135deg, #0a2463 0%, #1e3a8a 50%, #0369a1 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80') center/cover;
    opacity: 0.15;
}

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

.hero-tag {
    display: inline-block;
    color: var(--primary-light);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero h1 span {
    color: var(--primary-light);
}

.hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   按钮
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: #0096c7;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 180, 216, 0.3);
}

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

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

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

.btn-dark:hover {
    background: #081d4f;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 36, 99, 0.3);
}

/* ============================================
   通用区块
   ============================================ */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-line {
    width: 40px;
    height: 3px;
    background: var(--primary-light);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-tag {
    display: inline-block;
    color: var(--primary-light);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-head h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-head p {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.7;
}

/* ============================================
   关于我们
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.about-content .subtitle {
    color: var(--primary-light);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
}

.about-content p {
    color: var(--muted);
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.about-features {
    list-style: none;
    margin-top: 32px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text);
    font-weight: 500;
}

.about-features li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary-light);
    color: var(--white);
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   服务卡片
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-light);
    transform: scaleX(0);
    transition: var(--transition);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-num {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-soft);
    line-height: 1;
    margin-bottom: 20px;
}

.service-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

/* ============================================
   团队展示
   ============================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

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

.team-card.featured {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.team-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.team-avatar {
    position: relative;
    width: 100%;
    padding-top: 125%; /* 4:5 比例 */
    overflow: hidden;
    background: var(--bg-alt);
}

.team-avatar img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-avatar img {
    transform: scale(1.05);
}

.team-info {
    padding: 24px;
    text-align: center;
}

.team-info h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.team-info .position {
    color: var(--primary-light);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.team-info .bio {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.team-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.team-tag {
    padding: 4px 12px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* ============================================
   CTA 区域
   ============================================ */
.cta {
    background: linear-gradient(135deg, #0a2463 0%, #1e3a8a 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=1920&q=80') center/cover;
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   页脚
   ============================================ */
.footer {
    background: var(--dark);
    padding: 60px 0 30px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
    display: inline-block;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
}

.footer h5 {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 12px;
}

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

.footer ul a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-left: 20px;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--primary-light);
}

/* ============================================
   页面标题（内页）
   ============================================ */
.page-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #0a2463 0%, #1e3a8a 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80') center/cover;
    opacity: 0.1;
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero .section-line {
    background: var(--primary-light);
    margin: 0 auto 20px;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   服务详情页
   ============================================ */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.service-detail:nth-child(even) {
    direction: rtl;
}

.service-detail:nth-child(even) > * {
    direction: ltr;
}

.service-detail-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.service-detail-content .num {
    font-size: 64px;
    font-weight: 800;
    color: var(--primary-soft);
    line-height: 1;
    margin-bottom: 16px;
}

.service-detail-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.service-detail-content p {
    color: var(--muted);
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-detail-content ul {
    list-style: none;
}

.service-detail-content ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--text);
}

.service-detail-content ul li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--primary-light);
    color: var(--white);
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

/* ============================================
   联系我们
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info-list {
    list-style: none;
}

.contact-info-list li {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-info-list h5 {
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 4px;
}

.contact-info-list p {
    font-size: 16px;
    color: var(--primary);
    font-weight: 600;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* ============================================
   隐私政策
   ============================================ */
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin: 32px 0 16px;
}

.privacy-content p {
    color: var(--muted);
    margin-bottom: 16px;
    line-height: 1.8;
}

.privacy-content ul {
    margin: 16px 0 16px 24px;
    color: var(--muted);
}

.privacy-content ul li {
    margin-bottom: 8px;
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .section {
        padding: 60px 0;
    }

    .section-head h2 {
        font-size: 28px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-card.featured {
        transform: none;
    }

    .team-card.featured:hover {
        transform: translateY(-8px);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .service-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-detail:nth-child(even) {
        direction: ltr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .hero h1 {
        font-size: 28px;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

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

    .btn {
        justify-content: center;
    }
}
