/* 主页特定样式 */
:root {
    --primary-color: #007bff;
    --primary-dark: #0056b3;
    --primary-light: #e6f0ff;
    --text-dark: #333;
    --text-light: #666;
    --white: #fff;
}

/* 通用部分样式 */
.section {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* 英雄区域样式 */
.hero {
    height: 100vh;
    background: url('../images/tupian.png') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 60px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.cta-button:hover {
    background: var(--primary-dark);
}

/* 关于我们部分 */
.about-section {
    background: var(--white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.vision-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 50px;
    padding: 0 20px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.value-item h4 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.value-item p {
    color: var(--text-light);
}

/* 团队成员部分 */
.team-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

.team-member {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    text-align: center;
    position: relative;
    max-width: 350px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.team-member:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e88e5, #40c4ff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover::before {
    opacity: 1;
}

.member-avatar {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #f8f9fa;
    padding: 0;
    border-bottom: 1px solid #f5f5f5;
    display: block;
}

/* 背景 */
.member-avatar-container {
    width: 100%;
    height: 220px;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.member-info {
    padding: 12px 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.member-name {
    font-size: 1.2rem;
    margin: 5px 0;
    color: #2c3e50;
    font-weight: 600;
}

.member-role {
    background: linear-gradient(135deg, #e8f3ff, #f0f7ff);
    color: #1e88e5;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
    display: inline-block;
    margin: 0 0 8px;
}

.member-service {
    color: #5c6b7c;
    margin: 8px 12px;
    font-size: 0.9em;
    line-height: 1.5;
    padding: 8px 10px;
    background: #fafbfc;
    border-radius: 8px;
}

.member-contact {
    padding: 10px 15px;
    border-top: 1px solid #f5f5f5;
}

.member-contact p {
    color: #1e88e5;
    font-size: 1em;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.member-contact i {
    font-size: 1.2em;
}

/* 核心服务部分 */
.core-services {
    background: var(--white);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 首页产品和新闻部分样式 */
.products-section,
.news-section {
    padding: 80px 0;
    background: #f8f9fa;
}

/* 产品和新闻卡片通用样式 */
.products-grid,
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* 产品卡片样式 */
.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.view-details {
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border: 2px solid white;
    border-radius: 25px;
    transition: all 0.3s;
}

.view-details:hover {
    background: white;
    color: var(--text-dark);
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    margin-bottom: 15px;
}

.product-info h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1.2rem;
}

.product-info h3 a:hover {
    color: var(--primary-color);
}

.product-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* 新闻卡片样式 */
.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    height: 250px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 25px;
}

.news-category,
.news-date {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--text-light);
}

.news-category {
    color: var(--primary-color);
    background: var(--primary-light);
    padding: 4px 12px;
    border-radius: 15px;
    margin-right: 10px;
}

.news-title {
    margin: 15px 0;
    font-size: 1.3rem;
}

.news-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.news-title a:hover {
    color: var(--primary-color);
}

.news-excerpt {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    transition: gap 0.3s;
}

.read-more:hover {
    gap: 10px;
}

/* 查看更多按钮 */
.view-more {
    text-align: center;
    margin-top: 40px;
}

.btn-view-more {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0,123,255,0.3);
}

.btn-view-more:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.4);
}

/* 子网站展示部分 */
.subsites-section {
    background: #ffffff;
    padding: 80px 0;
}

.subsites-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.subsite-card {
    text-align: center;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.subsite-image {
    width: 100%;
    height: 200px;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.subsite-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.subsite-card:hover .subsite-image img {
    transform: scale(1.1);
}

.subsite-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.subsite-card:hover {
    transform: translateY(-10px);
}

/* 旧的 subsite-icon 样式可以移除或者保留作为备用，这里替换掉了 subsite-card 的 padding 和内部结构 */

.subsite-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.subsite-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1; /* 让描述占据剩余空间，保证按钮对齐 */
}

.visit-site {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    transition: background 0.3s;
    margin-top: auto; /* 确保按钮在底部 */
}

.visit-site:hover {
    background: var(--primary-dark);
}

/* 联系我们部分 */
.contact-section {
    background: #f8f9fa;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-item {
    text-align: center;
    padding: 30px;
    background: var(--primary-light);
    border-radius: 10px;
    transition: transform 0.3s;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-item h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.contact-item p {
    color: var(--text-light);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .products-grid,
    .news-grid,
    .subsites-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .values-grid,
    .team-grid,
    .services-container,
    .products-grid,
    .news-grid,
    .subsites-grid,
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
    }
    
    .member-avatar {
        height: 280px;
    }
}

/* 加入我们部分样式 */
.join-us-section {
    background: white; /* 改为白色背景 */
    padding: 80px 0;
}

.join-us-section .positions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 0 auto;
    max-width: 1000px;
    padding: 0 20px;
}

.join-us-section .position-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.join-us-section .position-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: #e8e8e8;
}

.join-us-section .position-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e88e5, #40c4ff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.join-us-section .position-card:hover::before {
    opacity: 1;
}

.join-us-section .position-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f5f5f5;
}

.join-us-section .position-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.join-us-section .position-title h2 {
    font-size: 1.3rem;
    color: #2c3e50;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.join-us-section .position-type {
    background: linear-gradient(135deg, #e8f3ff, #f0f7ff);
    color: #1e88e5;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
    white-space: nowrap;
}

.join-us-section .position-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.join-us-section .position-info span {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #5c6b7c;
    font-size: 0.95em;
    padding: 8px 12px;
    background: #fafbfc;
    border-radius: 8px;
}

.join-us-section .position-info i {
    color: #1e88e5;
    width: 18px;
    text-align: center;
    font-size: 1.1em;
}

.join-us-section .view-details {
    display: inline-block;
    width: 100%;
    padding: 14px 0;
    background: linear-gradient(135deg, #1e88e5, #1976d2);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    font-size: 1.05em;
    transition: all 0.3s ease;
    border: none;
}

.join-us-section .view-details:hover {
    background: linear-gradient(135deg, #1976d2, #1565c0);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(25, 118, 210, 0.2);
}

@media (max-width: 992px) {
    .join-us-section .positions-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .join-us-section .positions-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .join-us-section .position-card {
        padding: 25px;
    }
}

/* 新闻动态部分 */
.news-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.section + .section {
    border-top: 1px solid #eee;
}

.join-us-section .positions-grid {
    margin-bottom: 40px;
}

.join-us-section .position-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.join-us-section .position-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 在首页只显示前3个职位 */
.join-us-section .position-card:nth-child(n+4) {
    display: none;
}

/* 服务价格部分样式 */
.pricing-section {
    background: #f8f9fa;
    overflow: hidden;
}

.pricing-slider {
    position: relative;
    overflow: hidden;
}

.pricing-grid {
    display: flex;
    gap: 30px;
    margin-top: 50px;
    width: max-content;
    will-change: transform;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    width: 350px;
    flex-shrink: 0;
}

.pricing-card.featured {
    transform: translateY(-20px);
    border: 2px solid var(--primary-color);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.pricing-card.featured:hover {
    transform: translateY(-30px);
}

.popular-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.pricing-header h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.price {
    margin-bottom: 30px;
}

.price .currency {
    font-size: 1.5rem;
    color: var(--text-dark);
    vertical-align: top;
}

.price .amount {
    font-size: 3.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

.price .period {
    font-size: 1rem;
    color: var(--text-light);
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.pricing-features li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    color: var(--text-light);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--primary-color);
    margin-right: 10px;
}

.pricing-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s;
}

.pricing-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.pricing-nav {
    display: none;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .pricing-slider {
        padding: 0 20px;
    }
    
    .pricing-card {
        width: 280px;
    }
} 