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

@font-face {
	font-family: dosis;
	src: url(https://mofom.net/font/dosis_m.ttf);
}
@font-face {
	font-family: barlow_reg;
	src: url(https://mofom.net/font/barlow_reg.ttf);
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    font-size: 18px;
}

.container {
    width: 90%;
    max-width: 1400px; /* 从1200px增加到1400px */
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background-color: #fff9f6;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2.5rem; /* 增大padding */
}

.logo a {
    font-size: 2rem; /* 从1.5rem增加到2rem */
    font-weight: bold;
    color: #2563eb;
    text-decoration: none;
}

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

.nav-item {
    margin-left: 3rem; /* 从2rem增加到3rem */
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.5rem; /* 增大字体 */
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
}

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 英雄区域样式 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5rem 3rem; /* 增大padding */
    background-image: url('https://api.dujin.org/bing/1920.php');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-content {
    flex: 1;
    max-width: 650px; /* 从500px增加到650px */
    background-color: #f8fafc50;
    backdrop-filter: blur(2.5px);
    padding: 20px 30px; /* 增大padding */
    border-radius: 20px;
}

.hero-content h1 {
    font-size: 3.5rem; /* 从2.5rem增加到3.5rem */
    margin-bottom: 1.5rem;
    color: #1e293b;
    text-shadow: 0 0px 20px rgb(255, 255, 255);
}

.hero-content p {
    font-size: 1.4rem; /* 从1.1rem增加到1.4rem */
    margin-bottom: 2rem;
    text-shadow: 0 10px 20px rgb(255, 255, 255);
}

.cta-button {
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 1rem 2rem; /* 从0.8rem 1.5rem增加 */
    border-radius: 5px;
    font-size: 1.2rem; /* 从1rem增加到1.2rem */
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #1d4ed8;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* 特点区域样式 */
.features {
    padding: 2rem 0; /* 从5rem增加到6rem */
    background-color: #fff;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem; /* 从2rem增加到2.5rem */
    margin-bottom: 4rem; /* 从3rem增加到4rem */
    color: #1e293b;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* 从250px增加到320px */
    gap: 2.5rem; /* 从2rem增加到2.5rem */
}

.feature-card {
    background-color: #f8fafc;
    padding: 2.5rem; /* 从2rem增加到2.5rem */
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.feature-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 4rem; /* 从3rem增加到4rem */
    margin-bottom: 1.5rem;
}

.feature-icon img {
    width: 100%;
    height: auto;
}

.feature-card h3 {
    font-size: 1.6rem; /* 从1.3rem增加到1.6rem */
    margin-bottom: 1rem;
    color: #1e293b;
}
.feature-card h3:hover {
	color: #1d4ed8;
}

.feature-card p {
    color: #64748b;
    font-size: 1.1rem; /* 增大字体 */
}

/* 页脚样式 */
.footer {
    background-color: #1e293b;
    color: #cbd5e1;
    padding: 4rem 0 1.5rem; /* 增大padding */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 从250px增加到300px */
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #f8fafc;
    margin-bottom: 1rem;
    font-size: 1.3rem; /* 增大字体 */
}

.footer-section p {
    margin-bottom: 0.5rem;
    font-size: 1.05rem; /* 增大字体 */
}

.social-links a {
    display: inline-block;
    margin-right: 1rem;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 1.05rem; /* 增大字体 */
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
}

.footer-bottom p {
    font-size: 1rem;
}

@font-face {
    font-family: yh;
    src: url();
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    /* 移动端恢复较小尺寸 */
    body {
        font-size: 16px;
    }
    
    .logo a {
        font-size: 1.5rem;
    }
    
    .nav-link {
        font-size: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 3rem 1.5rem;
    }

    .hero-content {
        margin-bottom: 2rem;
        max-width: 100%;
        padding: 15px 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.hide {
    display: none !important;
}