/* 主内容区域样式 */
.main {
    margin-top: 90px;
}

/* 欢迎区域样式 */
.welcome-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 80vh;
}

.welcome-content {
    flex: 1;
    padding-right: 2rem;
}

.welcome-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-text {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #b0b0b0;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.cta-button {
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    border: none;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.cta-button.primary {
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    color: white;
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(106, 17, 203, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: #e0e0e0;
    border: 2px solid #6a11cb;
}

.cta-button.secondary:hover {
    background: rgba(106, 17, 203, 0.1);
    transform: translateY(-3px);
}

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

.tech-illustration {
    position: relative;
    width: 400px;
    height: 400px;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    opacity: 0.1;
}

.circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 50px;
    left: 50px;
}

.circle:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 100px;
    left: 100px;
    opacity: 0.2;
}

.circle:nth-child(3) {
    width: 100px;
    height: 100px;
    top: 150px;
    left: 150px;
    opacity: 0.3;
}

.glowing-orb {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    top: 160px;
    left: 160px;
    box-shadow: 0 0 30px rgba(106, 17, 203, 0.7);
    animation: pulse 3s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(106, 17, 203, 0.7);
    }
    100% {
        transform: scale(1.1);
        box-shadow: 0 0 40px rgba(106, 17, 203, 0.9);
    }
}

/* 关于我们区域样式 */
.about-section {
    padding: 6rem 2rem;
    background-color: #111;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #e0e0e0;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #6a11cb, #2575fc);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #b0b0b0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stats {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat p {
    color: #b0b0b0;
    font-size: 1rem;
}

/* 服务区域样式 */
.services-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.service-card {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    border: 1px solid #222;
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(106, 17, 203, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #e0e0e0;
    font-size: 1.5rem;
}

.service-card p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* 作品集区域样式 */
.portfolio-section {
    padding: 6rem 2rem;
    background-color: #111;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-item {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-image {
    height: 200px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    color: #e0e0e0;
    margin-bottom: 1rem;
}

.portfolio-content p {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
}

.portfolio-link {
    color: #6a11cb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.portfolio-link:hover {
    color: #2575fc;
}

/* 联系区域样式 */
.contact-section {
    padding: 6rem 2rem;
    background-color: #0a0a0a;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #6a11cb;
    width: 40px;
}

.contact-item p {
    color: #b0b0b0;
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 5px;
    color: #e0e0e0;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #6a11cb;
}

.contact-form button {
    align-self: flex-start;
}

/* 页脚样式 */
.footer {
    background-color: #0a0a0a;
    padding: 2rem;
    text-align: center;
    border-top: 1px solid #222;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer p {
    color: #b0b0b0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #b0b0b0;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #6a11cb;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .welcome-section {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .welcome-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .welcome-title {
        font-size: 2.2rem;
    }
    
    .cta-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .tech-illustration {
        width: 300px;
        height: 300px;
    }
    
    .circle:nth-child(1) {
        width: 200px;
        height: 200px;
        top: 50px;
        left: 50px;
    }
    
    .circle:nth-child(2) {
        width: 150px;
        height: 150px;
        top: 75px;
        left: 75px;
    }
    
    .circle:nth-child(3) {
        width: 80px;
        height: 80px;
        top: 110px;
        left: 110px;
    }
    
    .glowing-orb {
        width: 60px;
        height: 60px;
        top: 120px;
        left: 120px;
    }
    
    .stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}
