/* 全局样式 */
:root {
    --primary-color: #4a6bdf;
    --secondary-color: #6c63ff;
    --accent-color: #ff6584;
    --text-color: #2d3748;
    --light-text: #718096;
    --background: #f8f9fa;
    --light-background: #ffffff;
    --border-radius: 8px;
    --box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(74, 107, 223, 0.3);
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(74, 107, 223, 0.4);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: var(--light-text);
    font-size: 1.1rem;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 4px 6px rgba(74, 107, 223, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 8px 12px rgba(74, 107, 223, 0.5); }
    100% { transform: scale(1); box-shadow: 0 4px 6px rgba(74, 107, 223, 0.3); }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s ease forwards;
}

.pulse {
    animation: pulse 2s infinite;
}

.highlight {
    color: var(--accent-color);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
    height: 8px;
    background-color: rgba(255, 101, 132, 0.4);
    z-index: -1;
    border-radius: 4px;
}

.mt-30 {
    margin-top: 30px;
}

/* 头部样式 */
header {
    background-color: var(--light-background);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

header.scrolled {
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
}

nav ul {
    display: flex;
}

nav li {
    margin-left: 30px;
}

nav a {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

nav a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

nav a:hover:after,
nav a.active:after {
    width: 100%;
}

nav a.active {
    color: var(--primary-color);
}

/* 轮播样式 */
.carousel {
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 600px;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    height: 100%;
    overflow: hidden;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 80%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.carousel-content h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.carousel-content p {
    font-size: 1.4rem;
    margin-bottom: 25px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: white;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.carousel-arrow:hover {
    background: white;
}

.carousel-arrow.prev {
    left: 20px;
}

.carousel-arrow.next {
    right: 20px;
}

/* 首页样式 */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MDAiIGhlaWdodD0iNjAwIj48cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiNmZmZmZmYiIHN0cm9rZS13aWR0aD0iMiIgZD0iTTMwMCwxNTBhMTUwLDE1MCAwIDEsMCAwLDMwMGExNTAsMTUwIDAgMSwwIDAsLTMwMHoiIHN0cm9rZS1vcGFjaXR5PSIwLjEiLz48L3N2Zz4=');
    opacity: 0.1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero .btn {
    background: #fff;
    color: var(--primary-color);
}

.hero .btn:hover {
    background: #f0f0f0;
}

.features {
    padding: 80px 0;
    background: var(--light-background);
}

.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-box {
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    background: white;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.feature-box:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    z-index: -1;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-box h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* 关于页面样式 */
.about-content {
    padding: 80px 0;
}

.about-text {
    margin-bottom: 40px;
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.vision-mission {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.vision, .mission {
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    background: white;
}

.icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.icon-box i {
    font-size: 30px;
    color: white;
}

.vision h2, .mission h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.vision ul, .mission ul {
    padding-left: 20px;
}

.vision li, .mission li {
    margin-bottom: 10px;
    list-style-type: none;
    position: relative;
    padding-left: 25px;
}

.vision li:before, .mission li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.team-section {
    text-align: center;
}

.team-section h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 2rem;
}

.team-section > p {
    margin-bottom: 30px;
    color: var(--light-text);
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-avatar {
    font-size: 60px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.team-member h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* 联系页面样式 */
.contact-content {
    padding: 80px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.contact-form h3 i {
    margin-right: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(74, 107, 223, 0.2);
}

.contact-info {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.contact-info h3 i {
    margin-right: 10px;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 15px;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    margin-bottom: 30px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-right: 15px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-map {
    margin-top: 30px;
}

.map-placeholder {
    height: 200px;
    background: #f1f5f9;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
}

.map-placeholder i {
    font-size: 40px;
    margin-bottom: 10px;
}

/* 页脚样式 */
footer {
    background: #2d3748;
    color: #a0aec0;
    padding: 40px 0;
    text-align: center;
}

footer a {
    color: #e2e8f0;
}

footer p {
    margin-bottom: 10px;
}

footer .social-links {
    justify-content: center;
    margin: 15px 0 0;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .carousel {
        height: 500px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .carousel-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        justify-content: center;
    }
    
    .features .container {
        grid-template-columns: 1fr;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .carousel-content h2 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .carousel-content p {
        font-size: 1.2rem;
    }
    
    .carousel-arrow {
        width: 35px;
        height: 35px;
    }
    
    .vision-mission {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    nav li {
        margin-left: 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .features, .about-content, .contact-content {
        padding: 50px 0;
    }
    
    .carousel-content h2 {
        font-size: 1.5rem;
    }
    
    .carousel-content p {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .carousel-arrow {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .team-members {
        grid-template-columns: 1fr;
    }
    
    .carousel {
        height: 350px;
    }
} 