/* 重置样式 */
* {
    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: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    color: #333;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-geometric {
    display: flex;
    align-items: center;
    margin-right: 0.5rem;
    position: relative;
}

.geo-shape {
    width: 20px;
    height: 20px;
    margin: 0 2px;
    transition: all 0.3s ease;
}

.geo-1 {
    background: #2d00f7;
    border-radius: 50%;
}

.geo-2 {
    background: #f20089;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.geo-3 {
    background: #ffd800;
    border-radius: 0;
}

.nav-logo:hover .geo-shape {
    transform: rotate(45deg) scale(1.2);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #2d00f7, #f20089);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: #2d00f7;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 主横幅区域 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #2d00f7 0%, #f20089 50%, #ffd800 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.geometric-composition {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.geo-element {
    position: absolute;
    opacity: 0.1;
    animation: float 8s ease-in-out infinite;
}

.circle-1 {
    width: 200px;
    height: 200px;
    background: #ffd800;
    border-radius: 50%;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.square-1 {
    width: 150px;
    height: 150px;
    background: #f20089;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.triangle-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #2d00f7;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.circle-2 {
    width: 120px;
    height: 120px;
    background: #f20089;
    border-radius: 50%;
    top: 40%;
    right: 25%;
    animation-delay: 1s;
}

.square-2 {
    width: 100px;
    height: 100px;
    background: #ffd800;
    top: 80%;
    left: 30%;
    animation-delay: 3s;
}

.triangle-2 {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 138px solid #2d00f7;
    top: 70%;
    right: 5%;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.title-word {
    display: block;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #ffffff, #ffd800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: title-glow 3s ease-in-out infinite;
}

.title-word:nth-child(2) { animation-delay: 1s; }
.title-word:nth-child(3) { animation-delay: 2s; }

@keyframes title-glow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5)); }
    50% { filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.8)); }
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-button {
    padding: 15px 30px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: white;
    color: #2d00f7;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 作品集展示 */
.portfolio {
    padding: 6rem 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 4rem;
    color: #333;
    font-weight: 600;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.portfolio-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.item-content {
    position: relative;
    overflow: hidden;
}

.item-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #2d00f7, #f20089);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}

.portfolio-item.large .item-image {
    height: 400px;
}

.image-placeholder {
    text-align: center;
    z-index: 2;
    position: relative;
}

.image-placeholder i {
    margin-bottom: 1rem;
    display: block;
}

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .item-overlay {
    transform: translateY(0);
}

.item-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.item-overlay p {
    opacity: 0.9;
    font-size: 0.9rem;
}

/* 服务介绍 */
.services {
    padding: 6rem 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #2d00f7, #f20089);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #2d00f7, #f20089);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #ffd800, #f20089);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-icon::after {
    opacity: 0.6;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
    text-align: center;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-features li {
    color: #2d00f7;
    font-weight: 500;
    text-align: center;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #f20089;
}

/* 关于我们 */
.about {
    padding: 6rem 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d00f7;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.team-avatars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 300px;
}

.avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #2d00f7, #f20089);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    position: relative;
}

.avatar:nth-child(1) { animation: avatar-float 4s ease-in-out infinite; }
.avatar:nth-child(2) { animation: avatar-float 4s ease-in-out infinite 1s; }
.avatar:nth-child(3) { animation: avatar-float 4s ease-in-out infinite 2s; }
.avatar:nth-child(4) { animation: avatar-float 4s ease-in-out infinite 3s; }

@keyframes avatar-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.avatar:hover {
    transform: scale(1.1) rotate(5deg);
}

/* 页脚 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: #ffd800;
    font-size: 1.3rem;
}

.footer-section p {
    margin-bottom: 0.8rem;
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffd800;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 216, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #ffd800;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.beian a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.beian a:hover {
    color: #ffd800;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .portfolio-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
} 