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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: 
        linear-gradient(135deg, rgba(15, 15, 35, 0.95), rgba(26, 26, 46, 0.95)),
        radial-gradient(circle at 50% 0%, rgba(120, 219, 255, 0.1) 0%, transparent 50%);
    backdrop-filter: blur(15px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 
        0 2px 20px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(120, 219, 255, 0.1);
    border-bottom: 1px solid rgba(120, 219, 255, 0.2);
}

.navbar.scrolled {
    background: 
        linear-gradient(135deg, rgba(15, 15, 35, 0.98), rgba(26, 26, 46, 0.98)),
        radial-gradient(circle at 50% 0%, rgba(120, 219, 255, 0.15) 0%, transparent 50%) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 
        0 2px 25px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(120, 219, 255, 0.2) !important;
    border-bottom: 1px solid rgba(120, 219, 255, 0.3) !important;
}

.navbar.scrolled .nav-logo {
    color: #ffffff !important;
}

.navbar.scrolled .nav-menu a {
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar.scrolled .nav-menu a:hover {
    color: #78dbff !important;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(120, 219, 255, 0.5);
}

.nav-logo i {
    margin-right: 10px;
    color: #78dbff;
    font-size: 1.8rem;
    filter: drop-shadow(0 0 8px rgba(120, 219, 255, 0.6));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #78dbff;
    text-shadow: 0 0 8px rgba(120, 219, 255, 0.6);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #78dbff, #ff77c6);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(120, 219, 255, 0.6);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 首页横幅 */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.1) 0%, transparent 50%);
    animation: backgroundShift 10s ease-in-out infinite alternate;
}

@keyframes backgroundShift {
    0% { transform: translateX(-10px) translateY(-10px); }
    100% { transform: translateX(10px) translateY(10px); }
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

/* 浮动动画元素 */
.hero-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    font-size: 3rem;
    color: rgba(120, 219, 255, 0.6);
    animation: float 6s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(120, 219, 255, 0.5);
    filter: drop-shadow(0 0 10px rgba(120, 219, 255, 0.3));
}

.element-1 { top: 20%; left: 10%; animation-delay: 0s; color: rgba(255, 119, 198, 0.6); }
.element-2 { top: 60%; left: 80%; animation-delay: 1s; color: rgba(120, 219, 255, 0.6); }
.element-3 { top: 30%; left: 70%; animation-delay: 2s; color: rgba(120, 255, 119, 0.6); }
.element-4 { top: 70%; left: 20%; animation-delay: 3s; color: rgba(255, 219, 120, 0.6); }
.element-5 { top: 40%; left: 90%; animation-delay: 4s; color: rgba(219, 120, 255, 0.6); }
.element-6 { top: 80%; left: 60%; animation-delay: 5s; color: rgba(255, 120, 120, 0.6); }

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1);
        filter: drop-shadow(0 0 10px currentColor);
    }
    50% { 
        transform: translateY(-30px) rotate(180deg) scale(1.1);
        filter: drop-shadow(0 0 20px currentColor);
    }
}

/* 代码雨效果 */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, transparent 98%, rgba(120, 219, 255, 0.03) 100%),
        linear-gradient(180deg, transparent 98%, rgba(120, 219, 255, 0.03) 100%);
    background-size: 50px 50px;
    animation: matrix 20s linear infinite;
    opacity: 0.3;
}

@keyframes matrix {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 通用样式 */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(120, 219, 255, 0.5);
    position: relative;
}

.portfolio .section-title,
.tech-advantages .section-title,
.contact .section-title {
    color: #ffffff;
}

.services .section-title {
    color: #2c3e50;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}
}

/* 服务介绍 */
.services {
    padding: 100px 0;
    background: #f8f9fa;
}

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

.service-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(120, 219, 255, 0.2);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(120, 219, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(120, 219, 255, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    left: 100%;
}

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

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(120, 219, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(120, 219, 255, 0.5);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00d4ff, #0099cc, #0066ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    position: relative;
    box-shadow: 
        0 0 30px rgba(0, 212, 255, 0.4),
        inset 0 2px 10px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00d4ff, #0099cc, #0066ff, #00d4ff);
    border-radius: 50%;
    z-index: -1;
    animation: rotate 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 
        0 0 40px rgba(0, 212, 255, 0.6),
        inset 0 2px 15px rgba(255, 255, 255, 0.3);
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-card p {
    color: #7f8c8d;
    margin-bottom: 20px;
    line-height: 1.6;
}

.tech-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.tech-list li {
    background: #ecf0f1;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #34495e;
}

/* 技术优势 */
.tech-advantages {
    padding: 100px 0;
    background: 
        linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%),
        radial-gradient(circle at 30% 70%, rgba(120, 219, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 119, 198, 0.1) 0%, transparent 50%);
    color: white;
    position: relative;
    overflow: hidden;
}

.tech-advantages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 98px,
            rgba(120, 219, 255, 0.03) 100px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 98px,
            rgba(120, 219, 255, 0.03) 100px
        );
    animation: techGrid 15s linear infinite;
}

@keyframes techGrid {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

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

.advantage-item {
    text-align: center;
    padding: 30px 20px;
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: 
        linear-gradient(145deg, rgba(120, 219, 255, 0.2), rgba(120, 219, 255, 0.1)),
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border: 2px solid rgba(120, 219, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    backdrop-filter: blur(15px);
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 30px rgba(120, 219, 255, 0.2),
        inset 0 2px 10px rgba(255, 255, 255, 0.1);
}

.advantage-icon::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, 
        rgba(120, 219, 255, 0.6), 
        rgba(255, 119, 198, 0.6), 
        rgba(120, 255, 119, 0.6), 
        rgba(120, 219, 255, 0.6)
    );
    border-radius: 50%;
    z-index: -1;
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.advantage-item:hover .advantage-icon::before {
    opacity: 1;
}

.advantage-item:hover .advantage-icon {
    transform: scale(1.1) rotateY(180deg);
    box-shadow: 
        0 0 50px rgba(120, 219, 255, 0.4),
        inset 0 2px 15px rgba(255, 255, 255, 0.2);
}

.advantage-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.advantage-item p {
    opacity: 0.9;
    line-height: 1.6;
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background: white;
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.about-text p {
    color: #7f8c8d;
    margin-bottom: 20px;
    line-height: 1.8;
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 5px;
}

.stat-item p {
    color: #7f8c8d;
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.05);
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.3);
}

/* 案例展示 */
.portfolio {
    padding: 100px 0;
    background: 
        linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 50%, #0f0f23 100%),
        radial-gradient(circle at 20% 80%, rgba(120, 219, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.05) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(120, 219, 255, 0.02) 50%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255, 119, 198, 0.02) 50%, transparent 52%);
    background-size: 60px 60px;
    animation: portfolioPattern 20s linear infinite;
}

@keyframes portfolioPattern {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

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

.portfolio-item {
    background: 
        linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)),
        radial-gradient(circle at 50% 50%, rgba(120, 219, 255, 0.05) 0%, transparent 70%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(120, 219, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(120, 219, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

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

.portfolio-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(120, 219, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(120, 219, 255, 0.5);
}

.portfolio-image {
    height: 200px;
    background: 
        linear-gradient(135deg, #00d4ff, #0099cc, #0066ff),
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.portfolio-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
}

.portfolio-content {
    padding: 30px;
    position: relative;
    z-index: 2;
}

.portfolio-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(120, 219, 255, 0.3);
}

.portfolio-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.portfolio-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.portfolio-tags span {
    background: 
        linear-gradient(145deg, rgba(120, 219, 255, 0.2), rgba(120, 219, 255, 0.1));
    border: 1px solid rgba(120, 219, 255, 0.3);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.portfolio-tags span:hover {
    background: 
        linear-gradient(145deg, rgba(120, 219, 255, 0.3), rgba(120, 219, 255, 0.2));
    border-color: rgba(120, 219, 255, 0.5);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(120, 219, 255, 0.3);
}

.portfolio-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(120, 219, 255, 0.8), rgba(120, 219, 255, 0.6));
    border-radius: 25px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.portfolio-view-btn:hover {
    background: linear-gradient(135deg, rgba(120, 219, 255, 1), rgba(120, 219, 255, 0.8));
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(120, 219, 255, 0.5);
}

.portfolio-item {
    cursor: pointer;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    animation: modalFadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    background: linear-gradient(145deg, rgba(26, 26, 46, 0.95), rgba(15, 15, 35, 0.95));
    margin: 2% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(120, 219, 255, 0.2);
    border: 1px solid rgba(120, 219, 255, 0.3);
    animation: modalSlideIn 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid rgba(120, 219, 255, 0.2);
    background: linear-gradient(135deg, rgba(120, 219, 255, 0.1), rgba(120, 219, 255, 0.05));
    border-radius: 20px 20px 0 0;
}

.modal-header h2 {
    color: white;
    margin: 0;
    font-size: 1.8rem;
    text-shadow: 0 0 10px rgba(120, 219, 255, 0.3);
}

.modal-close {
    color: rgba(255, 255, 255, 0.8);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.modal-close:hover {
    color: white;
    background: rgba(255, 119, 119, 0.8);
    transform: scale(1.1);
}

.modal-body {
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.modal-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.modal-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.modal-image:hover img {
    transform: scale(1.05);
}

.modal-details {
    color: white;
}

.modal-meta {
    background: rgba(120, 219, 255, 0.05);
    border: 1px solid rgba(120, 219, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

.meta-row {
    display: flex;
    gap: 30px;
    margin-bottom: 15px;
}

.meta-row:last-child {
    margin-bottom: 0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.meta-label {
    color: #78dbff;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 70px;
}

.meta-item span:not(.meta-label) {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.meta-item a {
    color: #78dbff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.meta-item a:hover {
    color: white;
    text-shadow: 0 0 10px rgba(120, 219, 255, 0.5);
}

.modal-details h3 {
    color: #78dbff;
    font-size: 1.3rem;
    margin-bottom: 15px;
    margin-top: 25px;
    text-shadow: 0 0 10px rgba(120, 219, 255, 0.3);
}

.modal-details h3:first-child {
    margin-top: 0;
}

.modal-description p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1rem;
}

.modal-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.modal-tags span {
    background: linear-gradient(145deg, rgba(120, 219, 255, 0.2), rgba(120, 219, 255, 0.1));
    border: 1px solid rgba(120, 219, 255, 0.3);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.modal-tags span:hover {
    background: linear-gradient(145deg, rgba(120, 219, 255, 0.3), rgba(120, 219, 255, 0.2));
    border-color: rgba(120, 219, 255, 0.5);
    transform: scale(1.05);
}

.modal-features ul {
    list-style: none;
    padding: 0;
}

.modal-features li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.modal-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #78dbff;
    font-weight: bold;
    font-size: 1.1rem;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(120, 219, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(120, 255, 119, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.contact-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: white;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.form-group textarea {
    resize: vertical;
}

/* 页脚 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-logo i {
    margin-right: 10px;
    color: #3498db;
    font-size: 1.8rem;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #3498db;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section ul li i {
    color: #3498db;
    width: 16px;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3498db;
    text-decoration: none;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: #ecf0f1;
    font-size: 1.1rem;
    font-weight: 600;
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.3);
    border-radius: 50%;
    color: #3498db;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
    color: #95a5a6;
}

/* 版权信息中的链接样式 */
.footer-bottom a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #3498db;
    text-decoration: underline;
}

/* 提示框样式 */
.alert {
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.4;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 20px 0;
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(120, 219, 255, 0.2);
        z-index: 1000;
    }
    
    .nav-menu a {
        color: white !important;
        padding: 15px 0;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1.1rem;
    }
    
    .nav-menu a:hover {
        color: #78dbff !important;
        background: rgba(120, 219, 255, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    /* 首页横幅移动端优化 */
    .hero {
        padding: 80px 0 60px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 200px;
        padding: 12px 20px;
    }
    
    /* 浮动元素在移动端隐藏 */
    .hero-animation {
        display: none;
    }
    
    /* 容器内边距优化 */
    .container {
        padding: 40px 20px;
    }
    
    /* 服务卡片优化 */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card {
        padding: 30px 25px;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    /* 关于我们部分优化 */
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .about-image {
        order: -1;
        padding: 0 20px;
    }
    
    .about-image img {
        max-width: 100%;
        width: 100%;
        height: auto;
        border-radius: 10px;
    }
    
    .stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .stat-item {
        min-width: 120px;
    }
    
    /* 联系表单优化 */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form {
        padding: 30px 25px;
    }
    
    .contact-form input,
    .contact-form textarea {
        font-size: 16px; /* 防止iOS缩放 */
    }
    
    /* 案例展示优化 */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* 技术优势优化 */
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .advantage-item {
        padding: 25px 20px;
    }
    
    /* 页脚优化 */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-section h3,
    .footer-section h4 {
        margin-bottom: 15px;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    /* 超小屏幕优化 */
    .container {
        padding: 30px 15px;
    }
    
    /* 导航栏优化 */
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo span {
        font-size: 1.3rem;
    }
    
    /* 首页横幅超小屏优化 */
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    
    .hero-buttons .btn {
        width: 180px;
        padding: 10px 15px;
        font-size: 0.95rem;
    }
    
    /* 标题优化 */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        padding: 0 10px;
    }
    
    /* 服务卡片超小屏优化 */
    .service-card {
        padding: 25px 20px;
        margin: 0 5px;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    .service-icon i {
        font-size: 2.5rem;
    }
    
    /* 技术优势超小屏优化 */
    .advantage-item {
        padding: 20px 15px;
    }
    
    .advantage-item h3 {
        font-size: 1.1rem;
    }
    
    .advantage-item p {
        font-size: 0.85rem;
    }
    
    /* 关于我们统计数据优化 */
    .stats {
        flex-direction: column;
        gap: 15px;
        margin-top: 25px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    /* 关于我们图片超小屏优化 */
    .about-image {
        padding: 0 10px;
    }
    
    .about-image img {
        border-radius: 8px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }
    
    /* 联系表单超小屏优化 */
    .contact-form {
        padding: 25px 15px;
        margin: 0 5px;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 12px 15px;
        font-size: 16px;
    }
    
    .contact-form .btn {
        width: 100%;
        padding: 12px;
        font-size: 1rem;
    }
    
    /* 联系信息优化 */
    .contact-item {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .contact-details h3 {
        font-size: 1rem;
    }
    
    .contact-details p {
        font-size: 0.9rem;
    }
    
    /* 案例展示优化 */
    .portfolio-item {
        margin: 0 5px;
    }
    
    .portfolio-overlay h3 {
        font-size: 1.1rem;
    }
    
    .portfolio-overlay p {
        font-size: 0.85rem;
    }
    
    /* 弹窗移动端优化 */
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 85vh;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-close {
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
    
    /* 元信息移动端优化 */
    .modal-meta {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .meta-row {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 10px;
    }
    
    .meta-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .meta-label {
        min-width: auto;
        font-size: 0.85rem;
    }
    
    .meta-item span:not(.meta-label),
    .meta-item a {
        font-size: 0.85rem;
    }
    
    .portfolio-view-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    /* 页脚优化 */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-section {
        margin-bottom: 25px;
    }
    
    .footer-section h3 {
        font-size: 1.3rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .footer-section p,
    .footer-section li {
        font-size: 0.9rem;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    /* 提示框优化 */
    .alert {
        padding: 12px;
        margin: 15px 5px;
        font-size: 0.9rem;
    }
}

/* 移动端触摸优化 */
@media (hover: none) and (pointer: coarse) {
    /* 移动设备特定样式 */
    .btn:hover {
        transform: none;
        box-shadow: 0 4px 15px rgba(120, 219, 255, 0.3);
    }
    
    .service-card:hover,
    .advantage-item:hover,
    .portfolio-item:hover {
        transform: none;
    }
    
    /* 增大触摸目标 */
    .nav-menu a {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .btn {
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .social-links a {
        min-width: 44px;
        min-height: 44px;
    }
}

/* 防止移动端缩放 */
@media screen and (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        font-size: 16px !important;
        -webkit-appearance: none;
        border-radius: 0;
    }
    
    /* 优化移动端滚动 */
    body {
        -webkit-overflow-scrolling: touch;
    }
    
    /* 移动端导航菜单滚动优化 */
    .nav-menu {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        max-height: calc(100vh - 70px);
    }
}

/* 横屏模式优化 */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 40px 0 30px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-description {
        display: none;
    }
    
    .nav-menu {
        max-height: calc(100vh - 60px);
        padding: 10px 0;
    }
    
    .nav-menu a {
        padding: 10px 0;
    }
}

/* 滚动行为 */
html {
    scroll-behavior: smooth;
}

/* 加载动画 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}