* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
}

.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.banner {
    margin-top: 60px;
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.7);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3));
}

.banner-overlay h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255,255,255,0.5),
                 0 0 20px rgba(255,255,255,0.3),
                 0 0 30px rgba(255,255,255,0.2);
    letter-spacing: 2px;
}

.banner-overlay p {
    font-size: 1.3rem;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
    letter-spacing: 1px;
}

.banner.gradient-bg {
    background: linear-gradient(45deg, 
        #0b1033,
        #2d3561,
        #1c4f7c,
        #207cca
    );
    background-size: 300% 300%;
    animation: gradientBG 20s ease infinite;
    position: relative;
    overflow: hidden;
}

.banner.gradient-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    width: 200%;
    height: 200%;
    background: transparent;
    background-image: 
        radial-gradient(white 2px, transparent 3px),
        radial-gradient(white 2px, transparent 3px);
    background-position: 0 0, 50px 50px;
    background-size: 100px 100px;
    animation: backgroundMove 20s linear infinite;
    opacity: 0.2;
}

.banner.gradient-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%),
        linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
    background-size: 200% 200%, 200% 200%;
    animation: shine 3s linear infinite;
    transform: rotate(45deg) scale(2);
}

.banner-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(255,255,255,0.1) 0%,
        transparent 50%
    );
    animation: pulse 4s ease-in-out infinite alternate;
}

@keyframes backgroundMove {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(-50px, -50px) rotate(360deg);
    }
}

@keyframes shine {
    0% {
        background-position: 200% 0%, 0% 200%;
    }
    100% {
        background-position: -200% 0%, 0% -200%;
    }
}

@keyframes pulse {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    100% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    padding: 0 1rem;
    text-decoration: none;
    color: #333;
}

.hero {
    text-align: center;
    padding: 6rem 2rem;
    background-color: #f8f9fa;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.cta-button {
    padding: 1rem 3rem;
    margin-top: 1rem;
    border: none;
    background-color: #3498db;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #2980b9;
}

.features {
    display: flex;
    justify-content: space-around;
    padding: 6rem 2rem;  /* 增加内边距 */
    background-color: #fff;
}

.feature {
    text-align: center;
    padding: 2rem;  /* 增加内边距 */
    max-width: 300px;
}

.feature h2 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.feature p {
    color: #666;
}

footer {
    text-align: center;
    padding: 2rem;
    background-color: #333;
    color: white;
    margin-top: auto;
}

footer a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
}

footer a:hover {
    opacity: 1;
}

footer p {
    margin: 0.5rem 0;
}

@media (max-width: 768px) {
    .features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature {
        margin-bottom: 2rem;
    }
    
    .nav-links {
        display: none;
    }

    .banner {
        margin-top: 50px;
    }
} 

/* 平板电脑和小屏幕电脑 (768px - 1024px) */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .banner-overlay h2 {
        font-size: 2.3rem;
    }

    .features {
        padding: 4rem 1rem;
    }

    .feature {
        padding: 1.5rem;
        max-width: 250px;
    }
}

/* 手机端 (768px以下) */
@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 4%;
    }

    .logo {
        font-size: 1.3rem;
    }

    /* 汉堡菜单按钮 */
    .menu-toggle {
        display: block;
        cursor: pointer;
        padding: 10px;
    }

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: #333;
        margin: 5px 0;
        transition: all 0.3s;
    }

    /* 移动端导航菜单 */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 1rem 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: block;
    }

    .nav-links li {
        display: block;
        margin: 1rem 0;
        text-align: center;
    }

    .nav-links li a {
        padding: 0.5rem 1rem;
        display: block;
    }

    /* Banner 调整 */
    .banner {
        height: 300px;
        margin-top: 50px;
    }

    .banner-overlay h2 {
        font-size: 2rem;
        padding: 0 1rem;
        text-align: center;
    }

    .banner-overlay p {
        font-size: 1.1rem;
        padding: 0 1rem;
        text-align: center;
    }

    /* Hero 区域调整 */
    .hero {
        padding: 3rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    /* Features 区域调整 */
    .features {
        flex-direction: column;
        align-items: center;
        padding: 3rem 1rem;
    }

    .feature {
        margin-bottom: 2rem;
        padding: 1.5rem;
        max-width: 100%;
        width: 90%;
    }

    .feature:last-child {
        margin-bottom: 0;
    }
}

/* 小手机端 (480px以下) */
@media (max-width: 480px) {
    .banner-overlay h2 {
        font-size: 1.8rem;
    }

    .banner-overlay p {
        font-size: 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .feature h2 {
        font-size: 1.5rem;
    }

    footer {
        padding: 1.5rem;
        font-size: 0.9rem;
    }
} 