/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础样式 */
body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 导航栏样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo img {
    height: 40px;
}

.nav__menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav__link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav__link:hover {
    color: #2B5BA1;
}

.nav__buttons {
    display: flex;
    gap: 1rem;
}

/* 按钮样式 */
.btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.btn--login {
    background: transparent;
    border: 1px solid #2B5BA1;
    color: #2B5BA1;
}

.btn--register {
    background: #2B5BA1;
    color: white;
}

.btn--primary {
    background: #2B5BA1;
    color: white;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 91, 161, 0.2);
}

/* 主视觉区域样式 */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(43, 91, 161, 0.8), rgba(43, 91, 161, 0.8)),
                url('../images/hero-bg.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
}

.hero__content {
    max-width: 800px;
}

.hero__title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* 产品特点样式 */
.features {
    padding: 5rem 1rem;
    background: #F5F5F5;
}

.section__title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2B5BA1;
}

.features__grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.feature__card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature__card:hover {
    transform: translateY(-10px);
}

.feature__icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

/* 解决方案样式 */
.solutions {
    padding: 5rem 1rem;
}

.solutions__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.solution__item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.solution__item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.solution__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
}

/* 页脚样式 */
.footer {
    background: #2B5BA1;
    color: white;
    padding: 4rem 1rem 1rem;
}

.footer__content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer__section h4 {
    margin-bottom: 1rem;
}

.social__links {
    display: flex;
    gap: 1rem;
}

.social__link {
    color: white;
    text-decoration: none;
}

.footer__bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
} 