/* Base Styles */
body {
    line-height: 1.7em;
    color: #333;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    padding-top: 80px; /* 添加上边距，防止内容被固定导航栏遮挡 */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
}

.l-box {
    padding: 1em;
}

/* Header Styles */
header {
    background-color: #2c3e50;
    padding: 1em;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.brand-title {
    margin: 0;
    font-weight: 300;
    color: #fff;
}

/* Navigation */
.pure-menu-link {
    color: #fff;
}

.pure-menu-selected .pure-menu-link,
.pure-menu-link:hover,
.pure-menu-link:focus {
    background-color: #34495e;
    color: #fff;
}

/* Banner */
.banner {
    background: #1f8dd6;
    color: white;
    padding: 2em 1em;
    text-align: center;
    margin-bottom: 1em;
}

.banner-head {
    font-weight: 300;
    margin: 0;
    font-size: 2em;
}

/* Content */
.content {
    padding: 0 1em;
    max-width: 1200px;
    margin: 0 auto;
}

/* Product Categories */
.product-category, .product-item {
    background: #f4f4f4;
    border-radius: 4px;
    padding: 1em;
    margin-bottom: 1em;
    height: 100%;
    box-sizing: border-box;
}

.product-category img, .product-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1em;
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-link:hover {
    color: #1f8dd6;
}

/* Forms */
.pure-form label {
    margin: 1em 0 .5em 0;
    font-weight: bold;
    font-size: 0.9em;
}

.pure-button-primary {
    background-color: #1f8dd6;
    color: white;
    margin-top: 1em;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    padding: 1em;
    margin-top: 2em;
    text-align: center;
}

footer p {
    margin: 0.5em 0;
}

/* Feature Icons Section */
.features-section {
    background: #f9f9f9;
    padding: 2em 0;
    margin: 1em 0;
}

.feature-box, .feature-icon-box {
    text-align: center;
    padding: 1em;
    height: 100%;
    box-sizing: border-box;
}

.feature-box img, .feature-box svg,
.feature-icon-box img, .feature-icon-box svg {
    width: 64px;
    height: 64px;
    margin-bottom: 1em;
}

.feature-box h3, .feature-icon-box h3 {
    margin-top: 0;
    color: #1f8dd6;
    font-size: 1.2em;
}

.feature-box p, .feature-icon-box p {
    font-size: 0.9em;
    color: #666;
}

/* Action Buttons */
.action-buttons {
    text-align: center;
    padding: 1em 0 2em;
    background: #f9f9f9;
}

.action-button {
    display: inline-block;
    padding: 0.8em 1.5em;
    margin: 0 0.5em 1em;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.action-button-primary {
    background-color: #1f8dd6;
    color: white;
    border: 2px solid #1f8dd6;
}

.action-button-primary:hover {
    background-color: #1a7ec2;
    border-color: #1a7ec2;
}

.action-button-secondary {
    background-color: transparent;
    color: #1f8dd6;
    border: 2px solid #1f8dd6;
}

.action-button-secondary:hover {
    background-color: rgba(31, 141, 214, 0.1);
}

/* Responsive adjustments */
@media (min-width: 48em) {
    .banner-head {
        font-size: 3em;
    }
    
    .pure-menu-horizontal {
        text-align: right;
    }
    
    .feature-box {
        padding: 1em 2em;
    }
}
/* 新增的左右分布 div 的样式 */
.new-section {
    background-color: #000; /* 背景颜色为黑色 */
    color: #fff; /* 文字颜色为白色 */
    padding: 2em 0; /* 添加内边距 */
    margin-top: 2em; /* 与上面内容的间距 */
}

.new-section .l-box h2 {
    color: #fff; /* 标题文字颜色为白色 */
}

.new-section .l-box p {
    color: #fff; /* 段落文字颜色为白色 */
}
/* 确保在各种屏幕宽度下都能并排显示 */
@media (min-width: 600px) {
    .features-section .pure-u-1,
    .content .pure-u-1 {
        width: 33.33%;
        display: inline-block;
        vertical-align: top;
    }
    
    .feature-icon-box {
        padding: 0.5em;
    }
    
    .product-category, .product-item {
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .product-category img, .product-item img {
        max-height: 200px;
        object-fit: contain;
    }
    
}