/* =====================================================
   武汉中至景科技有限公司 - 现代风格样式表
   Version: 2.0
   ===================================================== */

/* 基础重置与现代盒模型 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* CSS 变量定义 - 现代配色方案 */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #0f172a;
    --accent-color: #f59e0b;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    --bg-dark: #0f172a;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: all 0.3s ease;
}

/* 全局样式 */
html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

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

ul, ol {
    list-style: none;
}

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

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

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 70px;
}

.header .logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header .logo img {
    height: 40px;
    width: auto;
}

.header .logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
}

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

.nav-menu a {
    padding: 8px 16px;
    color: var(--text-dark);
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.08);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* =====================================================
   页面标题区域
   ===================================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 120px 0 60px;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,112C1248,107,1344,117,1392,122.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom center;
    background-size: cover;
    opacity: 0.5;
}

.page-header .container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
    font-weight: 300;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb a:hover {
    color: white;
}

/* =====================================================
   首页轮播图
   ===================================================== */
.hero-slider {
    margin-top: 70px;
    position: relative;
    overflow: hidden;
    height: 600px;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider .slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slider .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-slider .slide .container {
    position: relative;
    z-index: 2;
}

.hero-slider .slide-content {
    text-align: center;
    color: white;
    padding: 0 20px;
    max-width: 900px;
    margin: 0 auto;
}

.hero-slider .slide-content h2 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    animation: fadeInUp 1s ease;
}

.hero-slider .slide-content p {
    font-size: 20px;
    margin-bottom: 40px;
    line-height: 1.8;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

/* =====================================================
   内容区域
   ===================================================== */
.section {
    padding: 80px 0;
    position: relative;
}

/* 页面内容容器 - 适用于无banner的内页 */
.page-content {
    padding: 120px 0 80px;
}

/* 模块间分隔线 - 灰底section上方有分割效果 */
.section-gray {
    background: var(--bg-light);
    border-top: 1px solid #e8ecf1;
}

/* 白底section下方有淡淡阴影过渡 */
.section:not(.section-gray) {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.section-title p {
    font-size: 18px;
    color: var(--text-light);
}

/* =====================================================
   解决方案卡片
   ===================================================== */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.solution-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: center;
    position: relative;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 4px 4px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.solution-card:hover::before {
    opacity: 1;
}

.solution-card .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
}

.solution-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

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

/* =====================================================
   案例展示
   ===================================================== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .cases-grid {
        grid-template-columns: 1fr;
    }
}

/* 限制只显示2行 */
/* 桌面端：4列 × 2行 = 8条 */
.cases-grid .case-card:nth-child(n+9) {
    display: none;
}

/* 平板端：2列 × 2行 = 4条 */
@media (max-width: 992px) {
    .cases-grid .case-card:nth-child(n+5) {
        display: none;
    }
}

/* 手机端：1列 × 2行 = 2条 */
@media (max-width: 576px) {
    .cases-grid .case-card:nth-child(n+3) {
        display: none;
    }
}

.case-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.case-card .image {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.case-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .image img {
    transform: scale(1.1);
}

.case-card .content {
    padding: 24px;
}

.case-card .content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.case-card .content p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
    text-overflow: ellipsis;
}

.case-card .content .date {
    color: var(--text-muted);
    font-size: 13px;
}

/* =====================================================
   首页客户案例 - 独特风格（与列表页不同）
   ===================================================== */
.home-case-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.home-case-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15), 0 8px 16px rgba(0, 0, 0, 0.1);
}

.home-case-card .image {
    position: relative;
    overflow: hidden;
    height: 320px;
}

/* 标题栏 - 始终显示 */
.home-case-card .case-title-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, transparent 100%);
    padding: 40px 16px 14px;
    z-index: 2;
}

.home-case-card .case-title-bar h3 {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-case-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.home-case-card:hover .image img {
    transform: scale(1.15) rotate(2deg);
}

/* 悬停遮罩层 */
.home-case-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.92) 0%, rgba(15, 23, 42, 0.95) 100%);
    padding: 30px 24px 24px;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    z-index: 3;
}

.home-case-card:hover .overlay {
    transform: translateY(0);
    opacity: 1;
}

.home-case-card .overlay h3 {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
    line-height: 1.3;
}

.home-case-card .overlay p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 查看详情按钮 */
.home-case-card .view-detail-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 8px 20px;
    background: white;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

.home-case-card:hover .view-detail-btn {
    background: var(--primary-color);
    color: white;
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .home-case-card .image {
        height: 240px;
    }
    
    .home-case-card .case-title-bar {
        padding: 30px 12px 12px;
    }
    
    .home-case-card .case-title-bar h3 {
        font-size: 14px;
    }
    
    .home-case-card .overlay {
        padding: 20px 16px 16px;
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(15, 23, 42, 0.92) 100%);
    }
}

/* =====================================================
   新闻列表
   ===================================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.news-card .image {
    height: 200px;
    overflow: hidden;
}

.news-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .image img {
    transform: scale(1.05);
}

.news-card .content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card .content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
    line-height: 1.5;
}

.news-card .content .meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--text-muted);
}

.news-card .content p {
    color: var(--text-light);
    font-size: 17px;
    line-height: 1.8;
    flex: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-card .content .read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 17px;
    margin-top: 16px;
    transition: var(--transition);
}

.news-card .content .read-more:hover {
    gap: 12px;
}

/* =====================================================
   关于我们页面
   ===================================================== */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.value-card {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.value-card .icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.office-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.office-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.office-gallery img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* =====================================================
   资质荣誉
   ===================================================== */

/* 数据统计条 - 放在公司简介下方 */
.honor-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 48px;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 8px;
}

.stat-number span {
    font-size: 28px;
    color: var(--primary-light, #60a5fa);
}

.stat-label {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 500;
}

/* 资质卡片网格 */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.cert-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-left: 4px solid transparent;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* 不同资质类型左边框颜色 */
.cert-high-tech { border-left-color: #f59e0b; }
.cert-software { border-left-color: #3b82f6; }
.cert-patent { border-left-color: #10b981; }
.cert-quality { border-left-color: #8b5cf6; }

.cert-card .cert-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.cert-high-tech .cert-icon { background: #fef3c7; color: #d97706; }
.cert-software .cert-icon { background: #dbeafe; color: #2563eb; }
.cert-patent .cert-icon { background: #d1fae5; color: #059669; }
.cert-quality .cert-icon { background: #ede9fe; color: #7c3aed; }

.cert-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.cert-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.cert-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cert-tags .tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    background: var(--bg-light);
    color: var(--text-muted);
}

.cert-high-tech .cert-tags .tag { background: #fef3c7; color: #92400e; }
.cert-software .cert-tags .tag { background: #dbeafe; color: #1e40af; }
.cert-patent .cert-tags .tag { background: #d1fae5; color: #047857; }
.cert-quality .cert-tags .tag { background: #ede9fe; color: #5b21b6; }

@media (max-width: 992px) {
    .honor-stats {
        gap: 24px;
    }

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

@media (max-width: 576px) {
    .honor-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-item {
        padding: 28px 16px;
    }
}

/* =====================================================
   公司资质 - 三列瀑布流
   ===================================================== */
.cert-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.cert-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cert-img-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #f5f6f8;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.cert-img-item:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 1;
    position: relative;
}

.cert-img-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.cert-img-item:hover img {
    filter: brightness(1.05);
}

/* 横向大图 */
.cert-img-wide img {
    width: 100%;
}

@media (max-width: 992px) {
    .cert-masonry {
        grid-template-columns: repeat(2, 1fr);
    }
    .cert-col:last-child {
        display: none;
    }
}

@media (max-width: 576px) {
    .cert-masonry {
        grid-template-columns: 1fr;
    }
    .cert-col:last-child {
        display: flex;
    }
}

/* =====================================================
   联系我们
   ===================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

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

.contact-info h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
}

.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-info .info-item .icon {
    width: 40px;
    height: 40px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-info .info-item .text {
    flex: 1;
}

.contact-info .info-item .text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

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

.map-container {
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* =====================================================
   解决方案详情页
   ===================================================== */
.solution-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.solution-tab {
    padding: 14px 28px;
    background: #f1f5f9;
    border: 1px solid #94a3b8;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 500;
    color: #334155;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.solution-tab:hover {
    background: #e0e7ff;
    color: var(--primary-dark);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
    font-weight: 600;
}

.solution-tab.active {
    background: var(--primary-color);
    color: white !important;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
    font-weight: 600;
}

/* 标签内容显隐 */
.tab-content {
    display: none;
    animation: fadeIn 0.35s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.solution-content {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.solution-item {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.solution-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.solution-item .image img {
    width: 100%;
    border-radius: var(--radius-md);
}

.solution-item .text h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-dark);
}

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

/* =====================================================
   招聘页面
   ===================================================== */
.job-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.job-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.job-card .image {
    height: 100%;
    min-height: 300px;
}

.job-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.job-card .content {
    padding: 40px;
}

.job-card .content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.job-card .content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    margin-top: 20px;
    color: var(--primary-color);
}

.job-card .content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 8px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.benefit-card .icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

/* =====================================================
   页脚
   ===================================================== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-column h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.footer-column p,
.footer-column li {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-column a:hover {
    color: white;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* =====================================================
   侧边栏工具
   ===================================================== */
.sidebar-tools {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tool-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.tool-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.tool-btn .tooltip {
    position: absolute;
    right: 60px;
    background: var(--text-dark);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.tool-btn:hover .tooltip {
    opacity: 1;
}

/* =====================================================
   按钮样式
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

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

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

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* =====================================================
   动画
   ===================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease;
}

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

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .page-header {
        padding: 100px 0 40px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .page-header .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .section {
        padding: 60px 0;
    }

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

    .solution-item {
        grid-template-columns: 1fr;
    }

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

    .job-card {
        grid-template-columns: 1fr;
    }

    .hero-slider .slide {
        height: 400px;
    }

    .hero-slider .slide-content h2 {
        font-size: 32px;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .page-header h1 {
        font-size: 24px;
    }

    .section-title h2 {
        font-size: 24px;
    }
}

/* =====================================================
   分页
   ===================================================== */

/* 方式1: ThinkPHP render() 输出的分页 (带 .pagination-box 包裹) */
.pagination-box .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 50px;
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
}

.pagination-box .pagination li {
    display: inline-block;
}

.pagination-box .pagination a,
.pagination-box .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    min-width: 44px;
    min-height: 44px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.pagination-box .pagination a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.pagination-box .pagination .active span {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    font-weight: 600;
}

.pagination-box .pagination .disabled span {
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.4;
    background: #f8f9fa;
    border-color: #e9ecef;
}

/* 方式2: 手动写的分页 (直接 .pagination) */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination > a {
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    transition: var(--transition);
    text-decoration: none;
    min-width: 40px;
    text-align: center;
}

.pagination > a:hover,
.pagination > a.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* =====================================================
   详情页
   ===================================================== */
.detail-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.detail-content h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.detail-content .meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 14px;
}

.detail-content .content {
    line-height: 2;
    color: var(--text-light);
}

.detail-content .content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 20px 0;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 40px;
    width: 44px;
    height: 44px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}
