:root {
    --primary: #111111;
    --secondary: #1a1a1a;
    --accent: #00FFD1;
    --accent-2: #48d6ff;
    --text: #FFFFFF;
    --text-secondary: rgba(255,255,255,0.7);
    --gradient: linear-gradient(45deg, var(--accent), var(--accent-2));
    --shadow: 0 10px 30px rgba(0,0,0,0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-weight: 300;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 120px;
    position: relative;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 120px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    margin-left: -180px;
    text-decoration: none;
}

.navbar-brand img {
    height: 35px;
    width: auto;
    margin-right: 12px;
}

.navbar-brand span {
    color: #fff;
    font-size: 16px;
    font-family: "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-weight: 300;
    letter-spacing: 1px;
    margin-left: 5px;
    background: linear-gradient(120deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-nav {
    display: flex;
    gap: 40px;
    margin-right: -180px;
    padding: 0;
    list-style: none;
}

.navbar-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 12px;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-nav a:hover {
    color: #fff;
    transform: translateY(-1px);
}

.navbar-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.navbar-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.navbar-nav a.active {
    color: #fff;
}

.navbar-nav a {
    position: relative;
    overflow: hidden;
}

.navbar-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -5px;
    right: -5px;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    border-radius: 4px;
    z-index: -1;
}

.navbar-nav a:hover::before {
    transform: scaleX(1);
}

.navbar-nav a:active {
    transform: scale(0.95);
}

/* 首页板块样式 */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('bg1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text);
    line-height: 1.2;
    letter-spacing: 1px;
}

.hero-content .tagline {
    font-size: 18px;
    color: var(--accent);
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 1px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.cta-primary, .cta-secondary {
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-primary {
    background: var(--gradient);
    color: var(--text);
}

.cta-secondary {
    border: 1px solid var(--accent);
    color: var(--accent);
}

.cta-primary:hover, .cta-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 209, 0.2);
}

/* 作品部分 */
#work {
    padding: 120px 0;
    position: relative;
    background: url('bg4.png') center/cover no-repeat fixed;
    overflow: hidden;
}

#work::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(17, 17, 17, 0.92),
        rgba(17, 17, 17, 0.88)
    );
}

#work .container {
    position: relative;
    z-index: 2;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-title {
    position: relative;
    color: #fff;
    text-align: center;
    margin-bottom: 70px;
    font-size: 36px;
    font-weight: 600;
    letter-spacing: 2px;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, var(--accent), var(--accent-2));
    border-radius: 2px;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 9px;
    background: var(--accent);
    filter: blur(10px);
    opacity: 0.6;
}

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

.work-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.work-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(0, 255, 209, 0.05), 
        rgba(72, 214, 255, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.work-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 255, 209, 0.1);
}

.work-item:hover::before {
    opacity: 1;
}

.work-item img {
    width: 100%;
    height: 340px;
    object-fit: contain;
    margin-bottom: 35px;
    display: block;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.work-item:hover img {
    transform: scale(1.02);
}

.work-item h3 {
    color: var(--accent);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    position: relative;
}

.work-item p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    position: relative;
}

.work-item .btn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--accent);
    text-decoration: none;
    border: 1px solid var(--accent);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    position: relative;
}

.work-item .btn-more i {
    transition: transform 0.3s ease;
}

.work-item .btn-more:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
}

.work-item .btn-more:hover i {
    transform: translateX(5px);
}

/* 响应式布局 */
@media (max-width: 1200px) {
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 30px;
        margin-bottom: 50px;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .work-item {
        padding: 30px;
    }
    
    .work-item img {
        height: 300px;
    }
}

/* 关于部分 */
.about-section {
    padding: 60px 0;
    background-image: url('bg2.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.9);
}

.about-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-header {
    margin-bottom: 25px;
}

.about-header h3 {
    font-size: 24px;
    font-weight: 200;
    margin-bottom: 10px;
    color: var(--accent);
}

.company-tag {
    font-size: 14px;
    color: var(--text-secondary);
    letter-spacing: 1.5px;
}

.about-text {
    max-width: 700px;
    margin: 0 auto 30px;
}

.about-text p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-box {
    position: relative;
    padding: 0 30px;
}

.stat-box:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--accent), transparent);
    opacity: 0.2;
}

.stat-number {
    font-size: 32px;
    font-weight: 200;
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

/* 公司历程样式 */
.journey-section {
    padding: 60px 0;
    background: url('bg3.webp') center/cover no-repeat;
    position: relative;
    min-height: auto;
}

.journey-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.85);
}

.journey-section .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.timeline::before {
    content: '';
    position: absolute;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg,
        transparent,
        var(--accent),
        var(--accent),
        transparent
    );
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.3;
}

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

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

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

.timeline-dot {
    width: 44px;
    height: 44px;
    background: rgba(26, 29, 35, 0.95);
    border-radius: 50%;
    position: absolute;
    right: -72px;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--accent);
    box-shadow: 0 0 20px rgba(0, 255, 209, 0.1);
    z-index: 2;
    color: var(--accent);
    font-size: 13px;
}

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

.timeline-content {
    background: rgba(26, 29, 35, 0.95);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.section-title, .timeline-content, .timeline-item {
    position: relative;
    z-index: 3;
}

.timeline-tag {
    font-size: 11px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.timeline-content h3 {
    font-size: 15px;
    font-weight: 300;
    color: var(--text);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.timeline-text {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.timeline-achievements {
    display: flex;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.achievement {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.achievement i {
    font-size: 12px;
    color: var(--accent);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-dot {
        left: 8px !important;
        right: auto !important;
    }
}

/* 联系部分 */
.contact-section {
    padding: 80px 0;
    background: rgba(26, 29, 35, 0.95);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-top: 40px;
}

.contact-info {
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.03);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: var(--accent);
    transform: translateX(5px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 209, 0.1);
    border-radius: 50%;
}

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

.contact-text h4 {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 5px;
}

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

.contact-form {
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text);
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent);
    outline: none;
}

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

.submit-btn {
    background: linear-gradient(45deg, var(--accent), var(--accent-2));
    color: var(--text);
    border: none;
    padding: 12px 30px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 209, 0.2);
}

/* 页脚样式优化 */
.footer {
    background: rgba(26, 29, 35, 0.98);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

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

.footer-col h4 {
    color: var(--text);
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-col p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col i {
    color: var(--accent);
    font-size: 14px;
}

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

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

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

.social-links i {
    font-size: 18px;
    color: var(--text);
}

/* 二维码样式 */
.qr-code {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: #fff;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.qr-code::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #fff;
}

.qr-code img {
    width: 120px;
    height: 120px;
    display: block;
}

.social-link:hover .qr-code {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: var(--text-secondary);
    font-size: 13px;
}

.beian-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.beian-link:hover {
    color: var(--accent);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-col p {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .copyright {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
}

/* 恢复首页高度并添加下拉箭头样式 */
.hero-section {
    height: 100vh;
    position: relative;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* 优化了解更多按钮样式 */
.work-link {
    width: 120px; /* 固定按钮宽度 */
    justify-content: center; /* 文字居中 */
    margin: 20px auto 0; /* 上下间距和水平居中 */
    padding: 8px 0; /* 调整内边距 */
}

/* 确保描述文字高度统一 */
.work-description {
    height: 50px; /* 统一高度为两行 */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 限制为两行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 15px;
    line-height: 1.6;
    padding: 0 20px;
}

/* 添加鼠标跟随效果 */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s ease;
    display: none;
}

@media (min-width: 1024px) {
    .custom-cursor {
        display: block;
    }
}

/* 添加淡入动画 */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 按钮样式优化 */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 209, 0.2);
}

.btn:active {
    transform: translateY(0);
}

/* 添加全局悬停效果 */
.work-item, .skill-tag, .contact-form {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-item:hover, .contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,255,209,0.2);
}

/* 添加鼠标跟随效果 */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s ease;
    display: none;
}

@media (min-width: 1024px) {
    .custom-cursor {
        display: block;
    }
}

/* 核心业务部分的样式 */
.services-section {
    padding: 100px 0;
    background: linear-gradient(rgba(17, 17, 17, 0.97), rgba(17, 17, 17, 0.95)), url('bg4.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 0 0 30px 0;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(0, 255, 209, 0.03), 
        rgba(72, 214, 255, 0.03));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

.service-icon {
    width: 100%;
    height: 200px;
    margin: 0 auto 25px;
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

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

.service-card:hover .service-icon img {
    transform: scale(1.05);
}

.service-card h3 {
    color: var(--text);
    font-size: 24px;
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 0 30px;
}

.service-tags {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 0 30px;
}

.service-tags span {
    padding: 6px 12px;
    background: rgba(0, 255, 209, 0.1);
    border-radius: 15px;
    font-size: 12px;
    color: var(--accent);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 30px;
    min-height: 75px;
    padding: 0 30px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.service-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--accent-2);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 30px 20px;
    }
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: hidden;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
}

.close-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.modal-body {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    cursor: pointer;
    overflow-y: auto;
    padding-top: 20px;
}

.modal-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

/* 移除缩放相关样式 */
.modal-image.zoomed {
    display: none;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .modal-content {
        padding: 20px;
    }
    
    .close-btn {
        top: 10px;
        left: 10px;
    }
}