/* 基础样式 */
:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --accent-color: #9b59b6;
    --danger-color: #e74c3c;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --gray-color: #95a5a6;
    --white-color: #ffffff;
    --black-color: #000000;
    
    --font-primary: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-secondary: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: #333;
    background-color: var(--white-color);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
}

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

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

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

.logo {
    display: flex;
    flex-direction: column;
    font-weight: 700;
    font-size: 24px;
    color: var(--dark-color);
}

.logo small {
    font-size: 12px;
    font-weight: 400;
    color: var(--gray-color);
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    position: relative;
    font-weight: 600;
    padding: 5px 0;
}

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

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

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

/* 英雄区域 */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: var(--white-color);
    overflow: hidden;
    margin-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* 粒子效果 */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

/* 页面英雄区域 */
.page-hero {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: var(--white-color);
    margin-top: 80px;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 高亮卡片 */
.highlights {
    padding: 80px 0;
    background-color: var(--light-color);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--dark-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

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

.highlight-card {
    background-color: var(--white-color);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.highlight-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
background-color: var(--light-color);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 30px;
color: var(--primary-color);
}

.highlight-card h3 {
margin: 20px 0 15px;
font-size: 1.3rem;
}

/* 客户评价 */
.testimonials {
padding: 80px 0;
background-color: var(--white-color);
}

.testimonial-slider {
max-width: 800px;
margin: 0 auto;
}

.testimonial-slide {
background-color: var(--light-color);
padding: 40px;
border-radius: 8px;
box-shadow: var(--box-shadow);
margin: 0 20px;
}

.testimonial-content {
text-align: center;
}

.testimonial-content p {
font-size: 1.2rem;
font-style: italic;
margin-bottom: 30px;
position: relative;
}

.testimonial-content p::before,
.testimonial-content p::after {
content: '"';
font-size: 3rem;
color: var(--primary-color);
opacity: 0.3;
position: absolute;
}

.testimonial-content p::before {
top: -20px;
left: -15px;
}

.testimonial-content p::after {
bottom: -40px;
right: -15px;
}

.testimonial-author {
display: flex;
align-items: center;
justify-content: center;
}

.author-avatar {
width: 60px;
height: 60px;
border-radius: 50%;
overflow: hidden;
margin-right: 15px;
background-color: var(--gray-color);
}

.avatar-placeholder {
width: 100%;
height: 100%;
background-color: #bdc3c7;
}

.author-info h4 {
font-size: 1.2rem;
margin-bottom: 5px;
}

.author-info p {
font-size: 0.9rem;
color: var(--gray-color);
margin: 0;
}

/* 合作伙伴 */
.partners {
padding: 60px 0;
background-color: var(--light-color);
}

.partner-logos {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: 40px;
}

.partner-logo {
width: 150px;
height: 80px;
display: flex;
align-items: center;
justify-content: center;
}

.logo-placeholder {
width: 100%;
height: 100%;
background-color: #ddd;
border-radius: 4px;
}

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

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

.footer-about h3 {
font-size: 1.8rem;
margin-bottom: 20px;
}

.footer-about p {
opacity: 0.8;
line-height: 1.8;
}

.footer-links h3,
.footer-contact h3 {
font-size: 1.5rem;
margin-bottom: 20px;
}

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

.footer-links ul li a {
opacity: 0.8;
transition: var(--transition);
}

.footer-links ul li a:hover {
opacity: 1;
color: var(--primary-color);
padding-left: 5px;
}

.footer-contact ul li {
margin-bottom: 15px;
display: flex;
align-items: flex-start;
}

.footer-contact ul li i {
margin-right: 10px;
color: var(--primary-color);
}

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

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

.social-links a {
width: 40px;
height: 40px;
border-radius: 50%;
background-color: rgba(255, 255, 255, 0.1);
display: flex;
align-items: center;
justify-content: center;
transition: var(--transition);
}

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

/* 产品页面样式 */
.products {
padding: 80px 0;
}

.product-card {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 40px;
margin-bottom: 80px;
align-items: center;
}

.product-card:nth-child(even) .product-content {
order: -1;
}

.product-image {
border-radius: 8px;
overflow: hidden;
box-shadow: var(--box-shadow);
}

.image-placeholder {
width: 100%;
height: 100%;
background-color: #ddd;
}

.product-content h2 {
font-size: 2rem;
margin-bottom: 15px;
color: var(--dark-color);
}

.product-tags {
display: flex;
gap: 10px;
margin-bottom: 20px;
}

.tag {
background-color: var(--light-color);
padding: 5px 12px;
border-radius: 20px;
font-size: 0.8rem;
font-weight: 600;
}

.product-content p {
margin-bottom: 20px;
line-height: 1.8;
}

.feature-list {
margin-bottom: 30px;
}

.feature-list li {
margin-bottom: 10px;
display: flex;
align-items: center;
}

.feature-list li i {
margin-right: 10px;
color: var(--secondary-color);
}

/* 技术栈 */
.tech-stack {
padding: 60px 0;
background-color: var(--light-color);
}

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

.tech-card {
background-color: var(--white-color);
border-radius: 8px;
padding: 30px 20px;
text-align: center;
box-shadow: var(--box-shadow);
transition: var(--transition);
}

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

.tech-card i {
font-size: 3rem;
margin-bottom: 15px;
color: var(--primary-color);
}

.tech-card h4 {
font-size: 1.2rem;
}

/* 关于我们页面样式 */
.about-section {
padding: 80px 0;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 40px;
align-items: center;
}

.about-content h2 {
font-size: 2.5rem;
margin-bottom: 20px;
color: var(--dark-color);
}

.about-content p {
margin-bottom: 20px;
line-height: 1.8;
}

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

.stat-card {
text-align: center;
padding: 20px;
background-color: var(--light-color);
border-radius: 8px;
}

.stat-number {
font-size: 2.5rem;
font-weight: 700;
color: var(--primary-color);
margin-bottom: 5px;
}

.stat-label {
font-size: 0.9rem;
color: var(--gray-color);
}

/* 公司文化 */
.culture-section {
padding: 80px 0;
background-color: var(--light-color);
}

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

.culture-card {
background-color: var(--white-color);
border-radius: 8px;
padding: 40px 30px;
text-align: center;
box-shadow: var(--box-shadow);
transition: var(--transition);
}

.culture-card:hover {
transform: translateY(-10px);
}

.culture-icon {
width: 80px;
height: 80px;
margin: 0 auto 20px;
background-color: var(--light-color);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 30px;
color: var(--primary-color);
}

.culture-card h3 {
margin-bottom: 15px;
font-size: 1.5rem;
}

/* 发展历程 */
.timeline-section {
padding: 80px 0;
}

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

.timeline::before {
content: '';
position: absolute;
width: 2px;
background-color: var(--primary-color);
top: 0;
bottom: 0;
left: 50%;
margin-left: -1px;
}

.timeline-item {
padding: 20px 40px;
position: relative;
width: 50%;
box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
left: 0;
}

.timeline-item:nth-child(even) {
left: 50%;
}

.timeline-date {
padding: 10px 20px;
background-color: var(--primary-color);
color: var(--white-color);
border-radius: 20px;
font-weight: 600;
position: absolute;
top: 15px;
right: -80px;
text-align: center;
min-width: 100px;
}

.timeline-item:nth-child(even) .timeline-date {
left: -80px;
right: auto;
}

.timeline-content {
padding: 30px;
background-color: var(--white-color);
border-radius: 8px;
box-shadow: var(--box-shadow);
position: relative;
}

.timeline-content::after {
content: '';
position: absolute;
width: 20px;
height: 20px;
background-color: var(--white-color);
transform: rotate(45deg);
top: 30px;
right: -10px;
box-shadow: 2px -2px 5px rgba(0, 0, 0, 0.1);
}

.timeline-item:nth-child(even) .timeline-content::after {
right: auto;
left: -10px;
box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.1);
}

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

/* 团队风采 */
.team-section {
padding: 80px 0;
background-color: var(--light-color);
}

.section-subtitle {
text-align: center;
margin-bottom: 40px;
font-size: 1.2rem;
color: var(--gray-color);
}

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

.team-card {
background-color: var(--white-color);
border-radius: 8px;
padding: 30px;
text-align: center;
box-shadow: var(--box-shadow);
transition: var(--transition);
}

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

.team-avatar {
width: 150px;
height: 150px;
border-radius: 50%;
margin: 0 auto 20px;
overflow: hidden;
background-color: #ddd;
}

.team-card h3 {
margin-bottom: 5px;
font-size: 1.5rem;
}

.team-card p {
color: var(--gray-color);
margin-bottom: 15px;
}

.team-social {
display: flex;
justify-content: center;
gap: 10px;
}

.team-social a {
width: 35px;
height: 35px;
border-radius: 50%;
background-color: var(--light-color);
display: flex;
align-items: center;
justify-content: center;
transition: var(--transition);
}

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

.team-cta {
text-align: center;
margin-top: 50px;
}

.team-cta p {
font-size: 1.2rem;
margin-bottom: 20px;
}

/* 联系我们页面样式 */
.contact-section {
padding: 80px 0;
}

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

.contact-info h2 {
font-size: 2rem;
margin-bottom: 30px;
color: var(--dark-color);
}

.info-card {
display: flex;
margin-bottom: 30px;
}

.info-card i {
font-size: 1.5rem;
color: var(--primary-color);
margin-right: 20px;
margin-top: 5px;
}

.info-card h3 {
margin-bottom: 10px;
font-size: 1.2rem;
}

.info-card p {
color: var(--gray-color);
line-height: 1.8;
}

.contact-form h2 {
font-size: 2rem;
margin-bottom: 30px;
color: var(--dark-color);
}

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

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

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
outline: none;
border-color: var(--primary-color);
box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

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

/* 地图区域 */
.map-section {
padding: 0 0 80px;
}

.map-placeholder {
height: 500px;
background-color: #ddd;
border-radius: 8px;
position: relative;
overflow: hidden;
}

.map-overlay {
position: absolute;
bottom: 30px;
left: 30px;
background-color: rgba(255, 255, 255, 0.9);
padding: 20px;
border-radius: 8px;
max-width: 300px;
box-shadow: var(--box-shadow);
}

.map-overlay h3 {
margin-bottom: 10px;
color: var(--primary-color);
}

.map-overlay p {
margin-bottom: 15px;
color: var(--gray-color);
}

/* 常见问题 */
.faq-section {
padding: 80px 0;
background-color: var(--light-color);
}

.faq-grid {
max-width: 800px;
margin: 0 auto;
}

.faq-item {
margin-bottom: 15px;
border-radius: 8px;
overflow: hidden;
box-shadow: var(--box-shadow);
}

.faq-question {
background-color: var(--white-color);
padding: 20px;
display: flex;
justify-content: space-between;
align-items: center;
cursor: pointer;
transition: var(--transition);
}

.faq-question:hover {
background-color: #f8f9fa;
}

.faq-question h3 {
font-size: 1.2rem;
color: var(--dark-color);
}

.faq-question i {
color: var(--primary-color);
transition: var(--transition);
}

.faq-answer {
background-color: var(--white-color);
padding: 0 20px;
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease;
}

.faq-answer p {
padding: 0 0 20px;
line-height: 1.8;
}

.faq-answer.active {
max-height: 500px;
}

/* 分割线 */
.separator-line {
    display: inline-block;
    width: 1px;
    height: 14px;
    background: #ccc;
    margin: 0 12px;
    vertical-align: middle;
}

/* 响应式设计 */
@media (max-width: 992px) {
.product-card,
.about-section,
.contact-grid {
grid-template-columns: 1fr;
}

.product-card:nth-child(even) .product-content {
    order: 0;
}

.timeline::before {
    left: 40px;
}

.timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 0;
}

.timeline-item:nth-child(even) {
    left: 0;
}

.timeline-date {
    left: 0 !important;
    right: auto !important;
    top: 20px;
}

.timeline-content::after {
    right: auto;
    left: 20px;
    top: -10px;
    transform: rotate(45deg);
    box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.1}
}

@media (max-width: 768px) {
.menu-toggle {
display: block;
}

.nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--white-color);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    transition: var(--transition);
}

.nav-links.active {
    left: 0;
}

.nav-links li {
    margin: 15px 0;
}

.hero h1 {
    font-size: 2.5rem;
}

.hero p {
    font-size: 1.2rem;
}

.hero-buttons {
    flex-direction: column;
    gap: 15px;
}

.section-title {
    font-size: 2rem;
}

.testimonial-slide {
    padding: 30px 20px;
}
}

@media (max-width: 576px) {
.hero h1 {
font-size: 2rem;
}


.hero p {
    font-size: 1rem;
}

.highlight-card,
.culture-card,
.team-card {
    padding: 20px;
}

.footer-bottom {
    flex-direction: column;
    gap: 20px;
}
}
