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

:root {
    --primary-color: #0066cc;
    --primary-dark: #0052a3;
    --secondary-color: #ff6600;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f5f5f5;
    --white: #fff;
    --border-color: #e5e5e5;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

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

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

ul {
    list-style: none;
}

/* ===== 顶部导航 ===== */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    font-size: 16px;
    color: var(--text-color);
    transition: color 0.3s;
    padding: 10px 0;
}

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

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* ===== 横幅区 ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-color), #00a0e9);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 10px;
}

.hero-content .tagline {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ===== 按钮样式 ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

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

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

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

.btn-secondary:hover {
    background: var(--bg-light);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

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

.btn-block {
    width: 100%;
    display: block;
}

/* ===== 核心优势 ===== */
.features {
    padding: 80px 0;
    background: var(--bg-light);
}

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

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

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

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

.feature-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), #00a0e9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 30px;
    color: var(--white);
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-item p {
    color: var(--text-light);
    font-size: 14px;
}

/* ===== 服务预览 ===== */
.services-preview {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.service-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(0,102,204,0.1);
}

.service-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.service-card a {
    color: var(--primary-color);
    font-size: 14px;
}

.service-card a:hover {
    text-decoration: underline;
}

.services-more {
    text-align: center;
    margin-top: 40px;
}

/* ===== 关于我们预览 ===== */
.about-preview {
    padding: 80px 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.about-text .btn {
    margin-top: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
}

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

/* ===== 合作伙伴 ===== */
.partners {
    padding: 80px 0;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

.partner-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.partner-item i {
    font-size: 30px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.partner-item span {
    display: block;
    font-size: 14px;
}

/* ===== 底部 ===== */
.footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-item h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

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

.footer-item ul li a {
    color: #999;
    font-size: 14px;
}

.footer-item ul li a:hover {
    color: var(--white);
}

.footer-item p {
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
    font-size: 14px;
}

.footer-bottom a {
    color: #999;
}

/* ===== 页面标题 ===== */
.page-title {
    background: linear-gradient(135deg, var(--primary-color), #00a0e9);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-title h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.page-title p {
    font-size: 18px;
    opacity: 0.9;
}

/* ===== 关于我们页面 ===== */
.about-section {
    padding: 80px 0;
}

.about-intro-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-intro-text .lead {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 20px;
}

.about-intro-text p {
    margin-bottom: 15px;
    color: var(--text-light);
}

/* 发展历程 */
.timeline-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    width: 50%;
    padding-right: 40px;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-right: 0;
    padding-left: 40px;
}

.timeline-dot {
    position: absolute;
    right: -8px;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
}

.timeline-content {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.timeline-content h4 {
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 14px;
}

/* 团队介绍 */
.team-section {
    padding: 80px 0;
}

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

.team-member {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.team-avatar {
    width: 100px;
    height: 100px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.team-avatar i {
    font-size: 40px;
    color: var(--primary-color);
}

.team-member h3 {
    margin-bottom: 5px;
}

.team-position {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 10px;
}

.team-desc {
    color: var(--text-light);
    font-size: 14px;
}

/* 企业文化 */
.culture-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.culture-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
}

.culture-item i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.culture-item h3 {
    margin-bottom: 15px;
}

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

/* ===== 服务列表页面 ===== */
.services-page {
    padding: 60px 0;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-item {
    display: flex;
    gap: 40px;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.service-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), #00a0e9);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 40px;
    color: var(--white);
}

.service-info {
    flex: 1;
}

.service-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.service-info > p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.service-info ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.service-info ul li {
    background: var(--bg-light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-light);
}

/* ===== 服务详情页面 ===== */
.service-detail {
    padding: 60px 0;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.detail-header {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.detail-header i {
    font-size: 50px;
    color: var(--primary-color);
}

.detail-header h2 {
    font-size: 32px;
    margin-bottom: 5px;
}

.detail-header p {
    color: var(--text-light);
}

.detail-section {
    margin-bottom: 40px;
}

.detail-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.detail-section p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.detail-list {
    list-style: disc;
    padding-left: 20px;
}

.detail-list li {
    margin-bottom: 15px;
    color: var(--text-light);
}

.detail-list li strong {
    color: var(--text-color);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.process-step {
    flex: 1;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: bold;
}

.process-step h4 {
    margin-bottom: 10px;
}

.process-step p {
    font-size: 14px;
}

.detail-cta {
    background: var(--bg-light);
    padding: 40px;
    text-align: center;
    border-radius: 10px;
}

.detail-cta h3 {
    margin-bottom: 10px;
    border: none;
}

.detail-cta p {
    margin-bottom: 20px;
}

.detail-sidebar .sidebar-box {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.detail-sidebar h4 {
    margin-bottom: 15px;
}

.sidebar-nav li {
    margin-bottom: 10px;
}

.sidebar-nav li a {
    color: var(--text-light);
}

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

/* ===== 案例列表页面 ===== */
.cases-page {
    padding: 60px 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.case-card:hover {
    transform: translateY(-5px);
}

.case-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), #00a0e9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-image i {
    font-size: 60px;
    color: var(--white);
    opacity: 0.8;
}

.case-content {
    padding: 25px;
}

.case-tag {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 15px;
}

.case-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.case-content p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.case-more {
    color: var(--primary-color);
    font-size: 14px;
}

/* ===== 案例详情页面 ===== */
.case-detail {
    padding: 60px 0;
}

.case-detail-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.case-detail-header h2 {
    font-size: 32px;
    margin: 15px 0;
}

.case-meta {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: 14px;
}

.case-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.case-detail-content h3 {
    font-size: 24px;
    margin: 30px 0 20px;
}

.case-detail-content p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.case-detail-content ul,
.case-detail-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.case-detail-content li {
    margin-bottom: 10px;
    color: var(--text-light);
}

.case-results {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.result-item {
    background: var(--bg-light);
    padding: 30px;
    text-align: center;
    border-radius: 10px;
}

.result-number {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
}

.result-label {
    font-size: 14px;
    color: var(--text-light);
}

.client-testimonial {
    background: var(--bg-light);
    padding: 30px;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 10px 10px 0;
    margin: 30px 0;
}

.client-testimonial p {
    font-size: 16px;
    font-style: italic;
    margin-bottom: 15px;
}

.client-testimonial cite {
    color: var(--text-light);
    font-style: normal;
}

.case-detail-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

/* ===== 新闻列表页面 ===== */
.news-page {
    padding: 60px 0;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-item {
    display: flex;
    gap: 30px;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.news-image {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-color), #00a0e9);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-image i {
    font-size: 50px;
    color: var(--white);
}

.news-content {
    flex: 1;
}

.news-date {
    color: var(--text-light);
    font-size: 14px;
}

.news-content h3 {
    font-size: 20px;
    margin: 10px 0;
}

.news-content h3 a:hover {
    color: var(--primary-color);
}

.news-content p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.news-more {
    color: var(--primary-color);
    font-size: 14px;
}

/* ===== 新闻详情页面 ===== */
.news-detail {
    padding: 60px 0;
}

.news-detail-article {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.article-date {
    color: var(--text-light);
}

.article-header h1 {
    font-size: 32px;
    margin: 15px 0;
}

.article-meta {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: 14px;
}

.article-content h3 {
    font-size: 22px;
    margin: 30px 0 20px;
}

.article-content p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.article-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
}

.article-tags span,
.article-share span {
    color: var(--text-light);
    margin-right: 10px;
}

.article-tags a {
    background: var(--bg-light);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    margin-right: 10px;
    color: var(--text-light);
}

.article-share a {
    margin-left: 10px;
    color: var(--text-light);
}

.news-detail-nav {
    margin-top: 40px;
}

/* ===== 联系页面 ===== */
.contact-section {
    padding: 60px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

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

.contact-icon i {
    font-size: 20px;
    color: var(--white);
}

.contact-text h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-text p {
    color: var(--text-light);
    font-size: 14px;
}

.contact-social h3 {
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.map-placeholder {
    height: 300px;
    background: var(--bg-light);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.map-placeholder i {
    font-size: 50px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.map-placeholder p {
    color: var(--text-light);
}

/* ===== 响应式设计 ===== */
@media (max-width: 992px) {
    .feature-grid,
    .services-grid,
    .team-grid,
    .partner-grid,
    .culture-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-detail {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .feature-grid,
    .services-grid,
    .team-grid,
    .partner-grid,
    .culture-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .case-results {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-item {
        flex-direction: column;
    }
    
    .news-item {
        flex-direction: column;
    }
    
    .news-image {
        width: 100%;
        height: 150px;
    }
    
    .process-steps {
        flex-wrap: wrap;
    }
    
    .process-step {
        flex: 1 1 45%;
    }
}
