/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 顶部信息栏 */
.top-bar {
    background: #f8f8f8;
    padding: 5px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-right a {
    color: #666;
    text-decoration: none;
    margin-left: 15px;
}

/* 导航栏 */
header {
    padding: 25px 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: flex-start; /* 改为左对齐 */
    align-items: center;
    max-width: 1400px; /* 适当增加最大宽度 */
    margin: 0 auto;
    padding: 0 30px;
}

/* Logo区域样式 */
.brand {
    display: flex;
    align-items: center;
    margin-right: 80px; /* 增加与导航菜单的间距 */
    flex-shrink: 0; /* 防止logo区域被压缩 */
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.company-name {
    font-size: 20px;
    color: #333;
    font-weight: 600;
    margin: 0;
    white-space: nowrap; /* 防止文字换行 */
}

/* 导航区域样式 */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between; /* 两端对齐 */
    flex-grow: 1; /* 占据剩余空间 */
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    //gap:15px; /* 增加菜单项间距 */
}

nav .nav-links a {
    color: #666;
    text-decoration: none;
    padding: 8px 12px;
    font-size: 15px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

nav .nav-links a:hover,
nav .nav-links a.active {
    color: #2979ff;
}

.auth-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-left: auto; /* 将按钮推到最右侧 */
}

.btn {
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-login {
    color: #666;
    background: transparent;
    border: 1px solid #e0e0e0;
}

.btn-login:hover {
    color: #2979ff;
    border-color: #2979ff;
    background: transparent;
}

.btn-register {
    color: #fff;
    background: #2979ff;
    border: 1px solid #2979ff;
}

.btn-register:hover {
    background: #1565c0;
    border-color: #1565c0;
}

/* 响应式设计优化 */
@media (max-width: 1200px) {
    .brand {
        margin-right: 40px; /* 减少间距 */
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .company-name {
        font-size: 18px;
    }
}

@media (max-width: 992px) {
    header .container {
        padding: 0 20px;
    }
    
    .brand {
        margin-right: 30px;
    }
    
    .nav-links {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding: 0 15px;
    }
    
    .brand {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    nav {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    
    .nav-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .auth-buttons {
        margin-left: 0;
    }
}

/* 轮播图 */
.banner {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.slider {
    position: relative;
    height: 100%;
}

.slides {
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
}

.prev { left: 20px; }
.next { right: 20px; }

/* 产品展示 */
/* 产品展示部分的CSS */
.innovation-suite {
    padding: 80px 0;
    background-color:rgb(249, 250, 251);
}

.innovation-suite h2 {
    font-size: 36px;
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.section-desc {
    text-align: center;
    color: #666;
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding: 20px;
	text-decoration: none;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    margin-bottom: 24px;
    padding: 20px;
}

.product-image img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 500;
}

.product-card p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    padding: 0 15px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .innovation-suite h2 {
        font-size: 28px;
    }
    
    .section-desc {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


/* Why Choose Us 样式 */
.why-choose-us {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.why-choose-us .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.why-choose-us h2 {
    font-size: 36px;
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.section-desc {
    text-align: center;
    color: #666;
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(41, 121, 255, 0.1);
    border-radius: 50%;
}

.feature-icon i {
    font-size: 32px;
    color: #2979ff;
}

.feature-item h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 500;
}

.feature-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* 图标样式 */
.icon-quality::before { content: "🏆"; }
.icon-service::before { content: "👨‍⚕️"; }
.icon-innovation::before { content: "💡"; }
.icon-support::before { content: "🔄"; }

/* 响应式设计 */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .why-choose-us {
        padding: 60px 0;
    }

    .why-choose-us h2 {
        font-size: 28px;
    }

    .section-desc {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .feature-item {
        padding: 20px 15px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-icon i {
        font-size: 24px;
    }

    .feature-item h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Us 样式 */
.contact-us {
    padding: 80px 0;
    background-color: #fff;
}

.contact-us .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.contact-us h2 {
    font-size: 36px;
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-top: 50px;
}

/* 联系信息样式 */
.contact-info {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
}

.contact-info h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 24px;
    color: #2979ff;
    margin-right: 15px;
    padding: 10px;
    background: rgba(41, 121, 255, 0.1);
    border-radius: 50%;
}

.info-content h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.info-content p {
    color: #666;
    line-height: 1.6;
}

/* 表单样式 */
.contact-form {
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2979ff;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: #2979ff;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background: #1565c0;
}

/* 图标样式 */
.icon-location::before { content: "📍"; }
.icon-phone::before { content: "📞"; }
.icon-email::before { content: "📧"; }

/* 响应式设计 */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .contact-us {
        padding: 60px 0;
    }

    .contact-us h2 {
        font-size: 28px;
    }

    .section-desc {
        font-size: 16px;
    }

    .contact-info,
    .contact-form {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .info-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .info-item i {
        margin-bottom: 10px;
    }
}

/* Footer 样式 */
.footer {
    background-color: #2c3e50;
    color: #fff;
}

.footer-main {
    padding: 60px 0;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
    gap: 40px;
}

/* 各部分通用样式 */
.footer-section h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 500;
}

/* 联系方式列表 */
.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #b4bcc8;
    font-size: 14px;
}

.contact-list i {
    margin-right: 10px;
    color: #3498db;
}

/* 快速链接 */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b4bcc8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
}

/* 资质证书 */
.cert-list {
    list-style: none;
    padding: 0;
}

.cert-list li {
    color: #b4bcc8;
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.6;
}

/* 二维码 */
.qrcode-container {
    display: flex;
    gap: 20px;
}

.qrcode-item {
    text-align: center;
}

.qrcode-item img {
    width: 120px;
    height: 120px;
    margin-bottom: 8px;
    background: #fff;
    padding: 5px;
    border-radius: 4px;
}

.qrcode-item span {
    display: block;
    color: #b4bcc8;
    font-size: 14px;
}

/* 底部版权 */
.footer-bottom {
    background-color: #243342;
    padding: 20px 0;
    text-align: center;
}

.copyright {
    color: #b4bcc8;
    font-size: 14px;
}

.copyright p {
    margin: 5px 0;
}

.copyright a {
    color: #b4bcc8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: #3498db;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 40px 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-section {
        text-align: center;
    }

    .contact-list li {
        justify-content: center;
    }

    .qrcode-container {
        justify-content: center;
    }
}

/* 图标样式 */
.icon-location::before { content: "📍"; }
.icon-phone::before { content: "📞"; }
.icon-email::before { content: "📧"; }


/* Company Introduction 样式 */
.company-intro {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.company-intro .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.intro-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

/* 文字部分样式 */
.intro-text h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.intro-text .subtitle {
    font-size: 20px;
    color: #2979ff;
    margin-bottom: 30px;
    font-weight: 500;
}

.intro-description {
    margin-bottom: 40px;
}

.intro-description p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* 数据统计样式 */
.company-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 600;
    color: #2979ff;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-size: 15px;
    color: #666;
}

/* 图片部分样式 */
.intro-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.intro-image:hover img {
    transform: scale(1.05);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .intro-image {
        order: -1;
        max-height: 400px;
    }

    .company-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .company-intro {
        padding: 60px 0;
    }

    .intro-text h2 {
        font-size: 28px;
    }

    .intro-text .subtitle {
        font-size: 18px;
    }

    .intro-description p {
        font-size: 15px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .company-stats {
        grid-template-columns: 1fr;
    }

    .intro-image {
        max-height: 300px;
    }
}

/* Medicine Library 样式 */
.medicine-library {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.medicine-library .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.medicine-library h2 {
    font-size: 36px;
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.section-desc {
    text-align: center;
    color: #666;
    font-size: 18px;
    margin-bottom: 50px;
}

/* 药品网格布局 */
.medicine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* 药品卡片样式 */
.medicine-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.medicine-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* 药品图片容器 */
.medicine-image {
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.medicine-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.medicine-item:hover .medicine-image img {
    transform: scale(1.05);
}

/* 药品信息样式 */
.medicine-info {
    padding: 20px;
    position: relative; /* 添加相对定位 */
    min-height: 140px; /* 确保内容区域有足够空间 */
}

.medicine-info h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 500;
}

.medicine-code {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.medicine-company {
    color: #888;
    font-size: 14px;
    margin-bottom: 15px;
}

/* 按钮容器 */
.button-wrapper {
    text-align: right; /* 按钮靠右对齐 */
    //position: absolute; /* 绝对定位 */
    //bottom: 80px; /* 距离底部距离 */
    //right: 20px; /* 距离右侧距离 */
    //width: calc(100% - 40px); /* 考虑padding的宽度 */
}

/* 查看详情按钮 */
.detail-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #2979ff;
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.detail-btn:hover {
    background: #1565c0;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .medicine-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .medicine-library {
        padding: 60px 0;
    }

    .medicine-library h2 {
        font-size: 28px;
    }

    .section-desc {
        font-size: 16px;
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .medicine-grid {
        grid-template-columns: 1fr;
    }

    .medicine-image {
        height: 180px;
    }
}

/* Modern Login Page Styles */
.login-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 420px;
}

.login-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

/* 登录头部 */
.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header h2 {
    font-size: 28px;
    color: #2979ff;
    font-weight: 600;
    margin-bottom: 8px;
}

.login-desc {
    color: #666;
    font-size: 16px;
	display:none;
}

/* 表单样式 */
.form-group {
    margin-bottom: 24px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    color: #2979ff;
    font-size: 18px;
}

.icon-user::before { content: "👤"; }
.icon-lock::before { content: "🔒"; }

.input-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 45px;
    border: 2px solid #e8eef4;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #2979ff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(41, 121, 255, 0.1);
}

/* 记住登录和忘记密码 */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border: 2px solid #2979ff;
    border-radius: 4px;
    cursor: pointer;
}

.checkbox-label {
    color: #666;
    font-size: 14px;
}

.forgot-link {
    color: #2979ff;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: #1565c0;
}

/* 登录按钮 */
.login-btn {
    width: 100%;
    padding: 14px;
    background: #2979ff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: #1565c0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(41, 121, 255, 0.2);
}

/* 注册提示 */
.register-hint {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eef2f7;
}

.register-hint p {
    color: #666;
    font-size: 14px;
    margin-bottom: 12px;
}

.register1-btn {
    display: inline-block;
    padding: 10px 24px;
    color: #2979ff;
    background: rgba(41, 121, 255, 0.1);
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.register1-btn:hover {
    background: rgba(41, 121, 255, 0.15);
    transform: translateY(-1px);
}

/* 响应式设计 */
@media (max-width: 480px) {
    .login-box {
        padding: 30px 20px;
    }

    .login-header h2 {
        font-size: 24px;
    }

    .login-desc {
        font-size: 15px;
		display:none;
    }

    .input-wrapper input {
        padding: 12px 14px 12px 40px;
    }
}


/* Modern Register Page Styles */
.register-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    padding: 20px;
}

.register-container {
    width: 100%;
    max-width: 520px;
}

.register-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

/* 注册头部 */
.register-header {
    text-align: center;
    margin-bottom: 40px;
}

.register-header h2 {
    font-size: 28px;
    color: #2979ff;
    font-weight: 600;
    margin-bottom: 8px;
}

.register-desc {
    color: #666;
    font-size: 16px;
}

/* 表单样式 */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input,
.verify-wrapper input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8eef4;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #f8fafc;
}

input:focus {
    outline: none;
    border-color: #2979ff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(41, 121, 255, 0.1);
}

.input-tip {
    position: absolute;
    left: 0;
    bottom: -20px;
    font-size: 12px;
    color: #999;
}

/* 验证码区域 */
.verify-wrapper {
    display: flex;
    gap: 12px;
}

.verify-wrapper input {
    flex: 1;
}

.captcha-img {
    height: 44px;
    width: 120px;
    border-radius: 8px;
    cursor: pointer;
}

.verify-btn {
    padding: 0 20px;
    background: #2979ff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 120px;
}

.verify-btn:hover {
    background: #1565c0;
}

/* 注册按钮 */
.register-btn {
    width: 100%;
    padding: 14px;
    background: #2979ff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.register-btn:hover {
    background: #1565c0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(41, 121, 255, 0.2);
}

/* 登录提示 */
.login-hint {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eef2f7;
}

.login-hint p {
    color: #666;
    font-size: 14px;
}

.login-link {
    color: #2979ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.login-link:hover {
    color: #1565c0;
}

/* 响应式设计 */
@media (max-width: 576px) {
    .register-box {
        padding: 30px 20px;
    }

    .register-header h2 {
        font-size: 24px;
    }

    .verify-wrapper {
        flex-direction: column;
    }

    .captcha-img,
    .verify-btn {
        width: 100%;
        height: 44px;
    }

    .input-tip {
        font-size: 11px;
    }
}

/* Reset Password Page Styles */
.reset-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    padding: 20px;
}

.reset-container {
    width: 100%;
    max-width: 480px;
}

.reset-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

/* 头部样式 */
.reset-header {
    text-align: center;
    margin-bottom: 40px;
}

.reset-header h2 {
    font-size: 28px;
    color: #2979ff;
    font-weight: 600;
    margin-bottom: 15px;
}

.reset-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 表单样式 */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input,
.verify-wrapper input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8eef4;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #f8fafc;
}

input:focus {
    outline: none;
    border-color: #2979ff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(41, 121, 255, 0.1);
}

/* 验证码区域 */
.verify-wrapper {
    display: flex;
    gap: 12px;
}

.verify-wrapper input {
    flex: 1;
}

.verify-btn {
    padding: 0 20px;
    background: #2979ff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 120px;
}

.verify-btn:hover {
    background: #1565c0;
}

/* 找回密码按钮 */
.reset-btn {
    width: 100%;
    padding: 14px;
    background: #2979ff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.reset-btn:hover {
    background: #1565c0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(41, 121, 255, 0.2);
}

/* 底部提示 */
.form-tip {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eef2f7;
}

.form-tip p {
    color: #2979ff;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.form-tip p:hover {
    color: #1565c0;
}

/* 响应式设计 */
@media (max-width: 576px) {
    .reset-box {
        padding: 30px 20px;
    }

    .reset-header h2 {
        font-size: 24px;
    }

    .verify-wrapper {
        flex-direction: column;
    }

    .verify-btn {
        width: 100%;
        height: 44px;
    }
}


/* Product Detail Page Styles */
.detail-section {
    padding: 40px 0;
    background-color: #f8f9fa;
    
}

.detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 面包屑导航 */
.breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #2979ff;
    text-decoration: none;
}

.breadcrumb .separator {
    margin: 0 8px;
    color: #999;
}

.breadcrumb .current {
    color: #333;
}

/* 产品详情布局 */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

/* 产品图片区域 */
.product-gallery {
    width: 100%;
}

.main-image {
    width: 100%;
    height: 400px;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumbnail-list {
    display: flex;
    gap: 12px;
}

.thumbnail-list img {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail-list img.active {
    border-color: #2979ff;
}

/* 产品信息区域 */
.product-info {
    color: #333;
}

.product-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #333;
}

.info-section {
    margin-bottom: 30px;
}

.info-item {
    margin-bottom: 15px;
    display: flex;
}

.info-item .label {
    width: 100px;
    color: #666;
    font-size: 14px;
}

.info-item .value {
    flex: 1;
    font-size: 14px;
}

/* 产品说明 */
.product-desc {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.product-desc h2 {
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 10px;
    color: #333;
}

.product-desc p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

/* 选项卡 */
.detail-tabs {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.tab-header {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.tab-btn {
    padding: 8px 24px;
    border: none;
    background: none;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.tab-btn.active {
    color: #2979ff;
    background: rgba(41, 121, 255, 0.1);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .main-image {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .detail-section {
        padding: 20px 0;
    }

    .product-title {
        font-size: 20px;
    }

    .thumbnail-list img {
        width: 60px;
        height: 60px;
    }

    .tab-header {
        gap: 10px;
    }

    .tab-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}

.news-container {
            max-width: 1200px;
            margin: 50px auto;
        }
        
        .news-item {
            display: flex;
            background-color: #fff;
            border-radius: 8px;
            margin-bottom: 15px;
            padding: 20px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            transition: transform 0.2s;
        }
        
        .news-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        
        .news-image {
            flex: 0 0 220px;
            margin-right: 20px;
        }
        
        .news-image img {
            width: 100%;
            height: 140px;
            object-fit: cover;
            border-radius: 5px;
        }
        
        .news-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        
        .news-title {
            font-size: 18px;
            font-weight: bold;
            color: #333;
            margin-bottom: 10px;
            line-height: 1.4;
        }
        
        .news-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #999;
            font-size: 14px;
        }
        
        .news-source {
            display: flex;
            align-items: center;
        }
        
        .news-time {
            margin-left: 10px;
        }
        
        .share-btn {
            color: #999;
            cursor: pointer;
            display: flex;
            align-items: center;
        }
        
        .share-btn i {
            margin-right: 5px;
        }
        
        @media (max-width: 768px) {
            .news-item {
                flex-direction: column;
            }
            
            .news-image {
                flex: 0 0 auto;
                margin-right: 0;
                margin-bottom: 15px;
            }
        }
		
		 .article-header {
            margin-bottom: 30px;
            border-bottom: 1px solid #eee;
            padding-bottom: 20px;
        }
        
        .article-title {
            font-size: 24px;
            font-weight: bold;
            line-height: 1.4;
            margin-bottom: 20px;
            text-align: center;
        }
        
        .article-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #999;
            font-size: 14px;
            padding: 0 10px;
        }
        
        .article-info {
            display: flex;
            align-items: center;
        }
        
        .article-time {
            margin-right: 15px;
        }
        
        .article-category {
            color: #666;
        }
        
        .article-actions {
            display: flex;
            align-items: center;
        }
        
        .action-btn {
            display: flex;
            align-items: center;
            margin-left: 15px;
            color: #999;
            cursor: pointer;
        }
        
        .action-btn i {
            margin-right: 5px;
            font-size: 16px;
        }
        
        .article-content {
            font-size: 16px;
            line-height: 1.8;
            color: #333;
            margin-bottom: 30px;
        }
        
        .article-content p {
            margin-bottom: 20px;
            text-align: justify;
        }
        
        .article-image {
            width: 100%;
            margin: 20px 0;
            border-radius: 4px;
            overflow: hidden;
        }
        
        .article-image img {
            width: 100%;
            height: auto;
            display: block;
        }
        
        .article-footer {
            margin-top: 40px;
            padding-top: 20px;
            border-top: 1px solid #eee;
            display: flex;
            justify-content: space-between;
        }