/* 基础样式设置 */
:root {
    --primary-color: #2d58af;
    --primary-dark: #1e3c7b;
    --primary-light: #5c85d6;
    --secondary-color: #ff6b6b;
    --text-color: #333333;
    --text-light: #777777;
    --text-dark: #111111;
    --bg-light: #f8f9fa;
    --bg-dark: #2c3e50;
    --white: #ffffff;
    --border-color: #e5e5e5;
    --transition: all 0.3s ease;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --section-padding: 100px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--text-dark);
}

p {
    margin-bottom: 15px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-heading {
    margin-bottom: 50px;
}

.section-heading .subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    position: relative;
}

.section-heading h2 {
    font-size: 36px;
    margin-bottom: 20px;
    position: relative;
}

.section-heading.center {
    text-align: center;
}

.section-heading.light h2,
.section-heading.light p {
    color: var(--white);
}

.section-heading.light .subtitle {
    color: var(--primary-light);
}

.lead {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
}

/* 预加载动画 */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid var(--primary-light);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 页头样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition);
}

.header.sticky {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    transition: var(--transition);
}

.sticky .header-inner {
    padding: 15px 0;
}

.logo img {
    height: 45px;
    transition: var(--transition);
}

.nav-menu ul {
    display: flex;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu a {
    position: relative;
    padding: 8px 0;
    font-weight: 500;
    color: var(--white);
}

.sticky .nav-menu a {
    color: var(--text-dark);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
}

.header-right {
    display: flex;
    align-items: center;
}

.contact-btn {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 600;
    margin-right: 20px;
}

.contact-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 22px;
    position: relative;
}

.menu-toggle span {
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

.sticky .menu-toggle span {
    background-color: var(--text-dark);
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 9px;
}

.menu-toggle span:nth-child(3) {
    top: 18px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

/* Hero区域 */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 750px;
    padding-top: 200px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-controls {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.hero-prev, .hero-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.hero-prev:hover, .hero-next:hover {
    background-color: var(--primary-color);
}

.hero-dots {
    display: flex;
    margin: 0 20px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background-color: var(--white);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: var(--white);
    text-align: center;
    animation: upDown 2s ease infinite;
}

.hero-scroll span {
    display: block;
    font-size: 12px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-scroll i {
    font-size: 20px;
}

@keyframes upDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 数据统计 */
.stats {
    padding: 80px 0;
    background-color: var(--white);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-counter {
    display: flex;
    justify-content: center;
    align-items: baseline;
    font-size: 40px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.stat-counter span:last-child {
    font-size: 24px;
    color: var(--primary-color);
    margin-left: 5px;
}

.stat-item h4 {
    font-size: 18px;
    color: var(--text-light);
    font-weight: 500;
}

/* 关于我们 */
.about {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}

.about-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background-color: var(--secondary-color);
    color: var(--white);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.experience-badge .years {
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.experience-badge .text {
    font-size: 14px;
    text-transform: uppercase;
    line-height: 1.2;
}

.about-features {
    margin: 30px 0;
}

.feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.feature-icon {
    color: var(--primary-color);
    font-size: 20px;
    margin-right: 15px;
    margin-top: 5px;
}

.feature-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.feature-text p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* 服务部分 */
.services {
    padding: var(--section-padding);
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
    z-index: -1;
    opacity: 0.05;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
    border-color: transparent;
}

.service-card:hover::before {
    height: 100%;
    opacity: 0.1;
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(45, 88, 175, 0.1);
    color: var(--primary-color);
    font-size: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    display: inline-block;
}

.service-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* 工作流程 */
.workflow {
    padding: var(--section-padding);
    background-color: var(--bg-light);
    position: relative;
}

.workflow-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 50px;
}

.workflow-step {
    flex: 1;
    min-width: 160px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    font-size: 60px;
    font-weight: 700;
    color: rgba(45, 88, 175, 0.1);
    margin-bottom: 15px;
    line-height: 1;
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
}

.workflow-step h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.workflow-step p {
    color: var(--text-light);
    padding: 0 10px;
}

.step-connector {
    flex: 0 0 40px;
    height: 2px;
    background-color: var(--primary-light);
    position: relative;
}

.step-connector::before,
.step-connector::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-light);
    top: -2px;
}

.step-connector::before {
    left: 0;
}

.step-connector::after {
    right: 0;
}

/* 项目案例 */
.projects {
    padding: var(--section-padding);
    background-color: var(--white);
}

.project-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.filter-btn.active {
    color: var(--primary-color);
}

.filter-btn.active::after {
    width: 30px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.project-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.project-img {
    position: relative;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    transition: transform 0.8s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.project-content {
    color: var(--white);
    transform: translateY(20px);
    transition: var(--transition);
}

.project-category {
    font-size: 14px;
    display: inline-block;
    background-color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.project-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--white);
}

.project-link {
    display: inline-block;
    color: var(--white);
    font-weight: 500;
    text-decoration: underline;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-item:hover .project-content {
    transform: translateY(0);
}

.project-item:hover .project-img img {
    transform: scale(1.1);
}

.projects-more {
    text-align: center;
    margin-top: 50px;
}

/* 客户评价 */
.testimonials {
    padding: var(--section-padding);
    background-color: var(--primary-color);
    color: var(--white);
    position: relative;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item {
    display: none;
    animation: fadeEffect 1s ease;
}

.testimonial-item.active {
    display: block;
}

@keyframes fadeEffect {
    from {opacity: 0.7;}
    to {opacity: 1;}
}

.testimonial-content {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    position: relative;
    margin-bottom: 30px;
}

.testimonial-content::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50px;
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
}

.testimonial-quote {
    font-size: 30px;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 15px;
}

.testimonial-content p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-rating {
    color: #ffc107;
    font-size: 18px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-left: 30px;
}

.author-img img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.2);
}

.author-info {
    margin-left: 15px;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--white);
}

.author-info span {
    font-size: 14px;
    opacity: 0.8;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.testimonial-prev, .testimonial-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.testimonial-prev:hover, .testimonial-next:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.testimonial-dots {
    display: flex;
    margin: 0 20px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background-color: var(--white);
}

/* 新闻动态 */
.news {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-img {
    position: relative;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.news-card:hover .news-img img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    left: 20px;
    bottom: -25px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 5px;
    padding: 10px 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-date .day {
    display: block;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.news-date .month {
    font-size: 14px;
}

.news-content {
    padding: 30px 20px 20px;
}

.news-meta {
    display: flex;
    margin-bottom: 15px;
}

.news-meta span {
    font-size: 14px;
    color: var(--text-light);
    margin-right: 20px;
}

.news-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.news-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.news-content h3 a {
    color: var(--text-dark);
}

.news-content h3 a:hover {
    color: var(--primary-color);
}

.news-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    display: inline-block;
}

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

.news-more {
    text-align: center;
    margin-top: 50px;
}

/* 联系我们 */
.contact {
    padding: var(--section-padding);
    background-color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    align-items: center;
}

.contact-items {
    margin: 30px 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(45, 88, 175, 0.1);
    color: var(--primary-color);
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    margin-right: 20px;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.contact-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-text p {
    color: var(--text-light);
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    margin-top: 30px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(45, 88, 175, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    color: var(--text-color);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 10px rgba(45, 88, 175, 0.1);
}

.contact-form .btn {
    width: 100%;
    margin-top: 10px;
}

/* 页脚 */
.footer {
    background-color: var(--bg-dark);
    color: #c5c5c5;
    padding-top: 80px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 60px;
}

.footer-logo img {
    margin-bottom: 20px;
    height: 45px;
}

.footer-logo p {
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer-links ul,
.footer-services ul {
    display: flex;
    flex-direction: column;
}

.footer-links li,
.footer-services li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-services a {
    color: #c5c5c5;
    transition: var(--transition);
    position: relative;
    padding-left: 15px;
}

.footer-links a::before,
.footer-services a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--white);
    padding-left: 20px;
}

.footer-links a:hover::before,
.footer-services a:hover::before {
    background-color: var(--primary-color);
}

.footer-newsletter p {
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    margin-bottom: 25px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border-radius: 5px 0 0 5px;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 20px;
    font-weight: 600;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--secondary-color);
}

.footer-qrcode {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-qrcode img {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
}

.footer-qrcode span {
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.copyright p {
    margin-bottom: 0;
}

.footer-bottom-links a {
    color: #c5c5c5;
    margin-left: 20px;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 40px;
    }
    
    .about-wrapper {
        flex-direction: column;
    }
    
    .about-image {
        margin-top: 50px;
        order: -1;
    }
    
    .workflow-steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .step-connector {
        height: 40px;
        width: 2px;
    }
    
    .step-connector::before,
    .step-connector::after {
        left: -2px;
        width: 6px;
        height: 6px;
    }
    
    .step-connector::before {
        top: 0;
    }
    
    .step-connector::after {
        top: auto;
        bottom: 0;
    }
}

@media (max-width: 768px) {
    .section-heading h2 {
        font-size: 30px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        height: calc(100vh - 80px);
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        padding: 30px 0;
    }
    
    .nav-menu li {
        margin: 0;
    }
    
    .nav-menu a {
        color: var(--text-dark) !important;
        display: block;
        padding: 15px 30px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .contact-btn {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-filter {
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-bottom-links {
        margin-top: 10px;
    }
    
    .footer-bottom-links a {
        margin: 0 10px;
    }
}

/* 动画效果 */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-up.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide.active .animate-up:nth-child(1) {
    transition-delay: 0.3s;
}

.hero-slide.active .animate-up:nth-child(2) {
    transition-delay: 0.5s;
}

.hero-slide.active .animate-up:nth-child(3) {
    transition-delay: 0.7s;
} 