* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar.scrolled .nav-links a {
    color: #333;
}

.nav-links a:hover {
    color: #007bff;
}

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

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 4px 0;
    transition: 0.3s;
}

.navbar.scrolled .menu-toggle span {
    background: #333;
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}

.hero-text {
    font-size: 52px;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 12px;
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

.hero-text:nth-child(1) { animation-delay: 0.2s; }
.hero-text:nth-child(2) { animation-delay: 0.4s; }
.hero-text:nth-child(3) { animation-delay: 0.6s; }
.hero-text:nth-child(4) { animation-delay: 0.8s; }

.hero-author {
    font-size: 40px;
    margin-top: 30px;
    letter-spacing: 8px;
    animation: fadeInUp 1s ease 1s forwards;
    opacity: 0;
    text-align: center;
}

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

.about {
    background: #f8f9fa;
    padding: 80px 0;
}

.about h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
    position: relative;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #007bff;
}

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

.about-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.8;
    text-align: justify;
}

.focus {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.focus-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.focus-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.focus-content-wrapper {
    position: relative;
    z-index: 1;
}

.focus-content {
    background: rgba(0, 0, 0, 0.6);
    padding: 40px 60px;
    text-align: center;
    color: #fff;
    border-radius: 8px;
    max-width: 700px;
    margin: 0 auto;
}

.focus-content h2 {
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 400;
}

.focus-content p {
    font-size: 18px;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.portfolio {
    padding: 80px 0;
    background: #fff;
}

.portfolio h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #333;
    position: relative;
}

.portfolio h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #007bff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
}

.portfolio-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    transition: transform 0.3s ease;
}

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

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.team {
    padding: 80px 0;
    background: #f8f9fa;
}

.team h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #333;
    position: relative;
}

.team h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #007bff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.team-member {
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 100%;
    height: 450px;
    border-radius: 0;
    object-fit: cover;
    margin-bottom: 15px;
    border: none;
}

.team-member h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 5px;
}

.team-member h4 {
    font-size: 14px;
    color: #007bff;
    margin-bottom: 15px;
    font-weight: 500;
}

.team-member p {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    text-align: left;
}

.contact {
    padding: 80px 0;
    background: #fff;
}

.contact h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
    position: relative;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #007bff;
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.contact-info {
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: center;
    font-size: 20px;
    color: #555;
    margin-bottom: 20px;
}

.contact-icon {
    width: 35px;
    font-size: 22px;
    margin-right: 12px;
    text-align: center;
}

.contact-item strong {
    color: #333;
}

.contact-item a {
    color: #007bff;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-map {
    flex: 1;
    max-width: 350px;
}

.contact-map img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.footer {
    background: #333;
    color: #999;
    text-align: center;
    padding: 30px 20px;
}

.footer p {
    font-size: 14px;
}

.footer a {
    color: #999;
    text-decoration: none;
    margin-left: 5px;
}

.footer a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.3s ease;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 20px 0;
    }
    
    .navbar.scrolled .nav-links a,
    .nav-links a {
        color: #333;
        font-size: 18px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-text {
        font-size: 32px;
        letter-spacing: 6px;
    }
    
    .hero-author {
        font-size: 18px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .focus-content h2 {
        font-size: 24px;
    }
    
    .focus-content p {
        font-size: 14px;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-map {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-text {
        font-size: 18px;
        letter-spacing: 2px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}