/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 15px 0;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar.scrolled .logo {
    font-size: 24px;
}

.navbar.scrolled .nav-links a {
    font-size: 14px;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #ff6b6b;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #ff6b6b;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #ff6b6b;
    transition: all 0.3s ease;
}

.nav-links a:hover::after {
    width: 80%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #333;
}

/* Hero区域 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(ellipse at center, #ff9a9e 0%, #fad0c4 25%, #fad0c4 50%, #fad0c4 75%, #ff9a9e 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255, 154, 158, 0.3) 0%, rgba(250, 208, 196, 0.1) 100%);
    z-index: 1;
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    animation: rotate 200s linear infinite;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.hero .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -1px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    animation: slideInDown 1s ease-out;
}

.hero p {
    font-size: 28px;
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    animation: slideInUp 1s ease-out 0.3s both;
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background-color: white;
    color: #ff6b6b;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: slideInUp 1s ease-out 0.6s both;
}

.cta-button:hover {
    background-color: #ff6b6b;
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 服务区域 */
.services {
    padding: 120px 0;
    background-color: #ffffff;
}

.services h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 80px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #ffffff;
    padding: 50px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: #ff6b6b;
}

.service-icon {
    font-size: 60px;
    margin-bottom: 25px;
    color: #ff6b6b;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    color: #4ecdc4;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.service-card:hover h3 {
    color: #ff6b6b;
    transform: translateY(-3px);
}

.service-card p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    transition: color 0.3s ease;
    margin-bottom: 30px;
}

.service-card:hover p {
    color: #333;
    transform: translateY(-2px);
}

.service-hover {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    color: #ff6b6b;
    font-weight: 600;
}

.service-card:hover .service-hover {
    opacity: 1;
    transform: translateY(0);
}

.service-hover i {
    transition: all 0.3s ease;
}

.service-card:hover .service-hover i {
    transform: translateX(5px);
}

/* 服务详情模态框 */
.service-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.service-modal-content {
    background-color: #ffffff;
    margin: 10% auto;
    padding: 40px;
    border-radius: 12px;
    width: 80%;
    max-width: 800px;
    position: relative;
    animation: slideIn 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-modal-close:hover {
    color: #ff6b6b;
    transform: scale(1.1);
}

.service-modal-body {
    padding: 20px 0;
}

.service-modal-body h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-modal-body p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.service-modal-body ul {
    list-style: none;
    margin-bottom: 30px;
}

.service-modal-body ul li {
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
}

.service-modal-body ul li i {
    color: #ff6b6b;
    margin-right: 15px;
}

.service-modal-body .service-icon {
    font-size: 80px;
    margin-bottom: 30px;
    color: #ff6b6b;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .service-modal-content {
        width: 90%;
        margin: 20% auto;
        padding: 30px;
    }
    
    .service-modal-body h3 {
        font-size: 24px;
    }
}

/* 作品集区域 */
.portfolio {
    padding: 120px 0;
    background-color: #fff5f5;
}

.portfolio h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 80px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.portfolio h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    border-radius: 2px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background-color: white;
    cursor: pointer;
    display: block;
    text-decoration: none;
}

.portfolio-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1) rotate(2deg);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    color: white;
    padding: 40px 20px 20px;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.portfolio-overlay p {
    font-size: 16px;
    color: rgba(255, 255, 255, 255, 0.9);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.portfolio-link {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    color: #ff6b6b;
    font-weight: 600;
    font-size: 14px;
}

.portfolio-item:hover .portfolio-link {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.portfolio-link i {
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-link i {
    transform: translateX(5px);
}

/* 作品详情模态框 */
.portfolio-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.portfolio-modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 40px;
    border-radius: 12px;
    width: 80%;
    max-width: 1000px;
    position: relative;
    animation: slideIn 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.portfolio-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-modal-close:hover {
    color: #ff6b6b;
    transform: scale(1.1);
}

.portfolio-modal-body {
    padding: 20px 0;
}

.portfolio-modal-body h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-modal-body p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.portfolio-modal-body img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-modal-body .project-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.portfolio-modal-body .project-details h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.portfolio-modal-body .project-details p {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}

.portfolio-modal-body .project-description {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.portfolio-modal-body .project-description h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

@media (max-width: 768px) {
    .portfolio-modal-content {
        width: 90%;
        margin: 10% auto;
        padding: 30px;
    }
    
    .portfolio-modal-body h3 {
        font-size: 24px;
    }
    
    .portfolio-modal-body .project-details {
        grid-template-columns: 1fr;
    }
}

/* 关于我们 */
.about {
    padding: 120px 0;
    background-color: #ffffff;
}

.about h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 80px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.team {
    margin-top: 40px;
}

.team h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.1), transparent);
    transition: all 0.5s ease;
}

.team-member:hover::before {
    left: 100%;
}

.team-member:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: #ff6b6b;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #ff6b6b;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.team-member:hover img {
    transform: scale(1.1) rotate(5deg);
    border-color: #4ecdc4;
}

.team-member h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.team-member:hover h4 {
    color: #ff6b6b;
    transform: translateY(-3px);
}

.team-member p {
    color: #666;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.team-member:hover p {
    color: #4ecdc4;
    transform: translateY(-2px);
}

.team-member {
    cursor: pointer;
}

.team-hover {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    color: #ff6b6b;
    font-weight: 600;
    font-size: 14px;
    position: relative;
    z-index: 1;
    margin-top: 20px;
}

.team-member:hover .team-hover {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.team-hover i {
    transition: all 0.3s ease;
}

.team-member:hover .team-hover i {
    transform: translateX(5px);
}

/* 团队成员详情模态框 */
.team-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.team-modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 40px;
    border-radius: 12px;
    width: 80%;
    max-width: 800px;
    position: relative;
    animation: slideIn 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.team-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.team-modal-close:hover {
    color: #ff6b6b;
    transform: scale(1.1);
}

.team-modal-body {
    padding: 20px 0;
    text-align: center;
}

.team-modal-body img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 4px solid #ff6b6b;
}

.team-modal-body h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-modal-body h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #ff6b6b;
}

.team-modal-body p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
    text-align: left;
}

.team-modal-body .member-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.team-modal-body .member-details h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #333;
}

.team-modal-body .member-details p {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}

.team-modal-body .member-skills {
    text-align: left;
    margin-bottom: 30px;
}

.team-modal-body .member-skills h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.team-modal-body .member-skills ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.team-modal-body .member-skills li {
    background-color: #f8f8f8;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
    border: 1px solid #e0e0e0;
}

@media (max-width: 768px) {
    .team-modal-content {
        width: 90%;
        margin: 10% auto;
        padding: 30px;
    }
    
    .team-modal-body h3 {
        font-size: 24px;
    }
    
    .team-modal-body .member-details {
        grid-template-columns: 1fr;
    }
}

/* 联系我们 */
.contact {
    padding: 120px 0;
    background-color: #f0f9ff;
}

.contact h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 80px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    border-radius: 2px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-info p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.contact-info p i {
    margin-right: 15px;
    color: #ff6b6b;
    font-size: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ff6b6b;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 20px;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    background-color: #4ecdc4;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
    font-size: 16px;
    transition: all 0.3s ease;
    display: block;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #ffffff;
    position: relative;
    z-index: 1;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
    transform: translateY(-2px);
}

.form-group:focus-within label {
    color: #ff6b6b;
    transform: translateY(-2px);
}

.submit-button {
    padding: 18px;
    background-color: #ff6b6b;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    width: 100%;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
    z-index: -1;
}

.submit-button:hover::before {
    left: 100%;
}

.submit-button:hover {
    background-color: #ee5a52;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button.loading {
    position: relative;
    pointer-events: none;
}

.submit-button.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 页脚 */
.footer {
    background-color: #333;
    color: white;
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    color: #ff6b6b;
    margin-bottom: 20px;
}

.footer-info p {
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 20px;
}

.footer h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul,
.footer-services ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-services li,
.footer-contact li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-services a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-services a:hover {
    color: #ff6b6b;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
}

.footer-contact li i {
    margin-right: 10px;
    color: #ff6b6b;
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 40px;
    text-align: center;
    font-size: 14px;
    color: #ccc;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        align-items: center;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        opacity: 0;
        visibility: hidden;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links a {
        padding: 15px;
        width: 100%;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 48px;
    }
    
    .hero p {
        font-size: 20px;
    }
    
    .services h2,
    .portfolio h2,
    .about h2,
    .contact h2 {
        font-size: 36px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .services h2,
    .portfolio h2,
    .about h2,
    .contact h2 {
        font-size: 28px;
    }
    
    .service-card {
        padding: 30px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* 鼠标拖尾 */
.mouse-trail {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 107, 107, 0.8);
    pointer-events: none;
    z-index: 9999;
    transition: all 0.3s ease;
}