
/* 基础样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #ffffff;
    line-height: 1.6;
}

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

header {
    background: linear-gradient(135deg, #2a5298, #1e3c72);
    padding: 60px 20px;
    text-align: center;
    position: relative;
}

header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3em;
    margin-bottom: 10px;
    color: #ffcc00;
}

header p {
    font-size: 1.2em;
    color: #f0f0f0;
}

.hero-banner {
    position: relative;
    overflow: hidden;
}

.hero-banner img {
    width: 100%;
    height: auto;
    opacity: 0.8;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.hero-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5em;
    color: #ffffff;
    margin-bottom: 20px;
}

.hero-content a {
    display: inline-block;
    padding: 15px 30px;
    background: #ffcc00;
    color: #1e3c72;
    text-decoration: none;
    font-weight: bold;
    border-radius: 25px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.hero-content a:hover {
    background: #e6b800;
    transform: scale(1.05);
}

.section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #2a5298, #1e3c72);
}

.section:nth-child(even) {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
}

.section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2em;
    margin-bottom: 20px;
    color: #ffcc00;
    text-align: center;
}

.section p {
    font-size: 1em;
    color: #f0f0f0;
    max-width: 800px;
    margin: 0 auto 20px auto;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.feature-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.feature-item img:hover {
    transform: scale(1.1);
}

.case-studies {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.case-study {
    flex: 1 1 calc(50% - 20px);
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.case-study:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.case-study h3 {
    font-family: 'Montserrat', sans-serif;
    color: #ffcc00;
    margin-bottom: 10px;
}

.case-study p {
    font-size: 0.95em;
    color: #f0f0f0;
}

@media (max-width: 1440px) {
    header h1 {
        font-size: 2.5em;
    }

    .hero-content h2 {
        font-size: 2em;
    }
}

@media (max-width: 1200px) {
    .features {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .case-study {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 1024px) {
    .container {
        width: 95%;
    }

    .case-studies {
        flex-direction: column;
    }

    .case-study {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    header {
        padding: 40px 20px;
    }

    header h1 {
        font-size: 2em;
    }

    .hero-content h2 {
        font-size: 1.8em;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .case-study {
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5em;
    }

    .hero-content h2 {
        font-size: 1.5em;
    }

    .hero-content a {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .section h2 {
        font-size: 1.5em;
    }

    .section p {
        font-size: 0.9em;
    }

    .feature-item img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 320px) {
    header h1 {
        font-size: 1.2em;
    }

    .hero-content h2 {
        font-size: 1.2em;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .case-studies {
        flex-direction: column;
    }

    .case-study {
        flex: 1 1 100%;
    }
}

/* 按钮样式 */
button {
    padding: 10px 20px;
    background: #ffcc00;
    border: none;
    border-radius: 5px;
    color: #1e3c72;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

button:hover {
    background: #e6b800;
    transform: scale(1.05);
}

/* 卡片样式 */
.card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

/* 代码块样式 */
pre {
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

code {
    color: #00ff00;
    font-family: 'Courier New', Courier, monospace;
}

/* 响应式导航栏 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.navbar a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #ffcc00;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }

    .navbar a {
        margin: 10px 0;
    }
}

/* 动画效果 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 联系我们 */
.contact {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    padding: 40px 20px;
    text-align: center;
}

.contact h2 {
    color: #ffcc00;
    margin-bottom: 20px;
}

.contact p {
    color: #f0f0f0;
    margin-bottom: 30px;
}

.contact .social-icons img {
    width: 40px;
    height: 40px;
    margin: 0 10px;
    transition: transform 0.3s ease;
}

.contact .social-icons img:hover {
    transform: scale(1.2);
}

