/* 重置和基础样式 */
:root {
    --color-primary: #003366;
    --color-secondary: #707070;
    --color-background: #ffffff;
    --color-border: #d9d9d9;
    --max-width: 1440px;
}

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

body {
    font-family: 'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.5;
    color: var(--color-primary);
    background: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    padding: 12px 24px;
    border-radius: 22px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-background);
}

.btn-secondary {
    background: var(--color-background);
    color: var(--color-primary);
}

.btn-dark {
    background: var(--color-primary);
    color: var(--color-background);
}

/* 产品卡片样式优化 */
.product-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 简化光效果 */
.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transform: skewX(-15deg);
    transition: left 0.5s ease;
    pointer-events: none;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-item:hover::before {
    left: 100%;
}

/* Logo 图片动画效果优化 */
.product-item img {
    max-width: 200px;
    height: auto;
    margin: 20px auto;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
}

.product-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.05);
}

/* 标题样式优化 */
.product-item h3 {
    color: var(--color-primary);
    margin-bottom: 15px;
    font-size: 20px;
    transition: color 0.3s ease;
}

.product-item:hover h3 {
    color: #003366;
}

/* 底部边框效果优化 */
.product-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #003366;
    transition: width 0.3s ease, left 0.3s ease;
}

.product-item:hover::after {
    width: 100%;
    left: 0;
}

/* 产品卡片样式 */
.product-card {
    position: relative;
    overflow: hidden;
    background: var(--color-background);
}

.product-content {
    padding: 32px;
    text-align: center;
}

.product-content h2 {
    font-size: 32px;
    margin-bottom: 8px;
}

.product-content h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.product-content p {
    color: var(--color-secondary);
    margin-bottom: 24px;
}

.product-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.link-arrow {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}

.link-arrow::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.link-arrow:hover::after {
    transform: translateX(4px);
}

/* 促销区域样式 */
.promotions {
    padding: 64px 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.promotions h2 {
    font-size: 36px;
    margin-bottom: 32px;
    text-align: center;
}

.promotion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.promo-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    text-decoration: none;
    color: var(--color-primary);
}

.promo-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
}

/* 页脚样式 */
.main-footer {
    background: #f5f7fa;
    padding: 40px 0;
    font-size: 14px;
    color: #333;
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-nav {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
    gap: 40px;
}

/* 导航链接样式 */
.footer-nav a {
    color: #003366;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #003366;
}

/* 位置信息 */
.location {
    margin-left: auto;
    text-align: right;
    color: #003366;
    font-size: 13px;
}

.location p {
    font-weight: 700;
    margin: 2px 0;
}

/* 底部区域 */
.footer-bottom {
    display: flex;
    font-weight: 700;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #003366;
}

/* 版权信息 */
.copyright {
    flex: 1;
}

/* 联系信息 */
.contact-info {
    display: flex;
    gap: 20px;
}

.contact-info a {
    color: #003366;
    text-decoration: none;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .footer-nav {
        flex-direction: column;
        gap: 20px;
    }

    .location {
        text-align: left;
        margin-left: 0;
        margin-top: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .product-content {
        padding: 24px 16px;
    }

    .product-content h2 {
        font-size: 24px;
    }

    .product-content h3 {
        font-size: 20px;
    }

    .promotions {
        padding: 32px 16px;
    }

    .promotions h2 {
        font-size: 28px;
    }

    .footer-nav {
        gap: 32px;
    }
}

/* 在文件末尾添加 */
.recommended-products {
    padding: 40px 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
}

.product-slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 0 auto;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #0066FF;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.product-card img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.product-details h3 {
    font-size: 16px;
    margin-bottom: 16px;
}

.color-options {
    margin-bottom: 16px;
}

.color-options span {
    font-size: 14px;
    color: #666;
    display: block;
    margin-bottom: 8px;
}

.color-dots {
    display: flex;
    gap: 8px;
}

.color-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
}

.storage-options,
.size-options {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.storage-btn,
.size-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
}

.storage-btn.active,
.size-btn.active {
    border-color: #000;
    background: #000;
    color: #fff;
}

.price {
    margin-bottom: 16px;
}

.amount {
    font-size: 20px;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.installment,
.save-price {
    font-size: 14px;
    color: #666;
    display: block;
}

.save-price {
    color: #0066FF;
    margin-bottom: 4px;
}

.buy-now {
    width: 100%;
    padding: 12px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .product-slider {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-slider {
        grid-template-columns: 1fr;
    }
}

/* Contact Form Styles */
.contact-form {
    padding: 60px 0;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 60px;
}

/* 左侧联系信息样式 */
.contact-info {
    flex: 1;
}

.contact-info h2 {
    color: #666;
    font-size: 16px;
    margin-bottom: 10px;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 30px;
}

.contact-details p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.contact-details img {
    width: 20px;
    height: 20px;
}

.contact-details a {
    color: #000;
    text-decoration: none;
    margin-right: 15px;
}

/* 右侧表单样式 */
.contact-form-container {
    padding: 40px;
    flex: 1;
    background: #f2f2f2;
}

.contact-form-container h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 40px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #003366;
}

.submit-btn {
    width: 140px;
    padding: 14px;
    background: #003366;
    color: #fff;
    border: none;
    margin-top: 20px;
    float: right;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background: #002244;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        gap: 40px;
    }

    .contact-info {
        display: block !important;
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .contact-form-container h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
}

/* 确保所有文本元素都使用相同字体 */
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
button,
input,
textarea,
select,
label {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* 导航菜单字体 */
.main-nav a,
.mobile-nav a,
.submenu a {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* 按钮字体 */
.advertise-btn,
.submit-btn,
.buy-now {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* About Us 页面样式 */
.about-us-section {
    width: 100%;
    margin: 0 auto;
    background: #29272a;
    color: #fff;
}

.about-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 60px 0 100px;
}

.about-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.about-image {
    width: 70%;
    position: sticky;
    margin-top: 56px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

.about-text {
    width: 50%;
    padding-right: 60px;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.vision-block,
.mission-block,
.core-values-block {
    padding: 0px 0;
}

.about-content h2 {
    color: #fff;
    font-size: 32px;
    margin-top: 20px;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 10px;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 194px;
    height: 3px;
    background: #ff0000;
}

.vision-block p {
    font-size: 24px;
    line-height: 1.6;
    color: #fff;
}

.mission-block ul {
    list-style: none;
    padding: 0;
}

.mission-block li {
    position: relative;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
    color: #fff;
}

.core-values-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.core-values-image {
    flex: 1;
    max-width: 50%;
}

.core-values-image img {
    width: 100%;
    height: auto;
}

.core-values-content p {
    flex: 1;
    font-size: 16px;
    line-height: 1.8;
    color: #fff;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .about-layout {
        flex-direction: column;
        gap: 40px;
    }

    .about-image {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
    }

    .about-text {
        width: 100%;
        padding-right: 20px;
        padding-left: 20px;
    }
}

@media (max-width: 768px) {
    .about-us-section {
        margin: 0px auto 0px;
    }

    .core-values-content {
        flex-direction: column;
    }

    .core-values-image {
        max-width: 100%;
    }

    .about-content h2 {
        font-size: 24px;
    }
}

.vision-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vision-block li {
    font-size: 16px;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 15px;
}

.mission-block p {
    font-size: 24px;
    line-height: 1.6;
    color: #fff;
}

.core-values-block p {
    font-size: 24px;
    line-height: 1.6;
    color: #fff;
}

main {
    width: 100%;
    overflow-x: hidden;
    transition: margin-top 0.3s ease;
}

/* 响应式调整 */
@media (max-width: 768px) {
    main {
        width: 100%;
        overflow-x: hidden;
        margin-top: 0;
    }
}

/* 删除或注释掉这段代码 */
html {
    scroll-behavior: smooth;
}

/* Application Section Styles */
.application-section {
    background: #f5f7fa;
    padding: 60px 0;
}

.application-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
    background: #003366;
    padding: 2px;
    margin: 40px auto;
    max-width: 1400px;
    border-radius: 16px;
    overflow: hidden;
}

.application-item {
    background: #fff;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    cursor: pointer;
    overflow: hidden;
}

/* 图标样式 */
.application-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

/* 标题样式 */
.application-item h3 {
    color: #003366;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 10px;
}

/* 悬停效果 */
.application-item:hover {
    background: #003366;
}

.application-item:hover img {
    filter: brightness(0) invert(1);
    transform: scale(1.2);
}

.application-item:hover h3 {
    color: #fff;
}

/* 添加底部指示条 */
.application-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 40px;
    height: 2px;
    background: #fff;
    transition: transform 0.3s ease;
}

.application-item:hover h3::after {
    transform: translateX(-50%) scaleX(1);
}

/* 修改边缘应用项的圆角 */
.application-item:first-child {
    border-top-left-radius: 14px;
}

.application-item:nth-child(5) {
    border-top-right-radius: 14px;
}

/* 对于最后一行的左右两个角，我们需要根据不同的布局情况设置 */
@media (min-width: 1401px) {

    /* 5列布局时的最后两个角 */
    .application-item:nth-last-child(5) {
        border-bottom-left-radius: 14px;
    }

    .application-item:last-child {
        border-bottom-right-radius: 14px;
    }
}

@media (max-width: 1400px) {
    .application-container {
        grid-template-columns: repeat(3, 1fr);
        margin: 20px;
    }

    /* 3列布局时的最后两个角 */
    .application-item:nth-last-child(3) {
        border-bottom-left-radius: 14px;
    }

    .application-item:last-child {
        border-bottom-right-radius: 14px;
    }
}

@media (max-width: 768px) {
    .application-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .application-item {
        padding: 30px 15px;
        min-height: 160px;
    }

    /* 2列布局时的最后两个角 */
    .application-item:nth-last-child(2) {
        border-bottom-left-radius: 14px;
    }

    .application-item:last-child {
        border-bottom-right-radius: 14px;
    }
}

@media (max-width: 480px) {
    .application-container {
        grid-template-columns: 1fr;
        /* 单列布局 */
        gap: 15px;
        /* 增加卡片之间的间距 */
        background: #003366;
        /* 保持蓝色背景 */
        padding: 15px;
        /* 增加容器内边距 */
        border-radius: 16px;
        /* 添加容器圆角 */
        margin: 20px;
        /* 添加容器外边距 */
    }

    .application-item {
        padding: 25px 15px;
        min-height: 140px;
        border-radius: 14px;
        /* 所有卡片都加上圆角 */
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        /* 添加阴影效果 */
        background: #fff;
        /* 确保卡片背景为白色 */
    }

    /* 移除之前的圆角设置 */
    .application-item:first-child,
    .application-item:nth-child(5),
    .application-item:last-child {
        border-radius: 14px;
        /* 统一所有卡片的圆角 */
    }
}

/* Contact Form Styles */
.contact-form {
    padding: 60px 0;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 60px;
}

/* 左侧联系信息样式 */
.contact-info {
    flex: 1;
}

.contact-info h2 {
    color: #666;
    font-size: 16px;
    margin-bottom: 10px;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 30px;
}

.contact-details p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.contact-details img {
    width: 20px;
    height: 20px;
}

.contact-details a {
    color: #000;
    text-decoration: none;
    margin-right: 15px;
}

/* 右侧表单样式 */
.contact-form-container {
    padding: 40px;
    flex: 1;
    background: #f2f2f2;
}

.contact-form-container h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 40px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #003366;
}

.submit-btn {
    width: 140px;
    padding: 14px;
    background: #003366;
    color: #fff;
    border: none;
    margin-top: 20px;
    float: right;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background: #002244;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        gap: 40px;
    }

    .contact-info {
        display: block !important;
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .contact-form-container h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
}

/* 页面顶部 banner 通用样式 */
.page-banner {
    width: 100%;
    height: 400px;
    overflow: hidden;
    display: none;
    position: relative;
    margin-bottom: 60px;
}

.page-banner img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.page-banner .banner-text {
    color: #fff;
    /* z-index: 1; */
    width: 1440px;
    margin: 0 auto;
    margin-top: -180px;
    font-size: 30px;
}

.page-banner .banner-text h1 {
    font-size: 60px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

/* Privacy banner 样式 */
.privacy-banner {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
    background: #003366;
    /* 添加背景色 */
}

.privacy-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.7;
    /* 添加图片透明度 */
}


.privacy-banner .banner-text h1 {
    color: #fff;
    font-size: 60px;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

@media (min-width: 1440px) {
    .privacy-banner .banner-text {
        position: absolute;
        left: 50%;
        top: 70%;
        transform: translate(-48%, -50%);
        width: 1440px;
    }
}

/* 响应式调整 */
@media (max-width: 1440px) {
    .privacy-banner {
        height: 500px;
    }

    .privacy-banner .banner-text {
        width: 100%;
        position: absolute;
        top: 50%;
    }

    .privacy-banner .banner-text h1 {
        font-size: 60px;
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .privacy-banner {
        height: 300px;
    }

    .privacy-banner .banner-text {
        width: 100%;
        position: absolute;
        top: 50%;

        padding: 0 14px;
    }

    .privacy-banner .banner-text h1 {
        font-size: 36px;
    }
}

/* 添加表单验证提示样式 */
.form-group input:invalid,
.form-group textarea:invalid {
    border-color: #e0e0e0;
}

/* 只在用户交互后显示错误样式 */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
}

/* 自定义验证提示样式 */
input::-webkit-validation-bubble-message,
textarea::-webkit-validation-bubble-message {
    color: #333;
    background: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 8px 12px;
    font-size: 14px;
}

/* 修复 contact-banner 图片样式 */
.contact-banner {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.contact-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.contact-banner .banner-text {
    color: #fff;
    /* z-index: 1; */
    width: 1440px;
    margin: 0 auto;
    margin-top: -180px;
    font-size: 30px;
}

/* 产品卡片列表样式 */
.product-item ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.product-item li {
    padding: 4px 12px;
    /* background: #f0f0f0; */
    border-radius: 9px;
    font-size: 13px;
    padding-left: 3px;
    padding-right: 3px;
    color: #666;
    transition: all 0.3s ease;
}

.product-item:hover li {
    background: #e8f0ff;
    border-color: #003366;
    color: #003366;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .product-item ul {
        gap: 6px;
    }

    .product-item li {
        padding: 3px 10px;
        font-size: 12px;
    }
}

/* Slider 文字区域样式调整 */
.slider-content {
    position: absolute;
    top: 50%;
    /* 改用 top 定位 */
    transform: translateY(-70%);
    /* 向上偏移多一点 */
    left: 0;
    right: 0;
    padding: 0 100px;
    /* 为左右按钮留出空间 */
    text-align: left;
    z-index: 2;
}

.slider-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
    max-width: 800px;
    /* 限制最大宽度 */
}

.slider-content p {
    font-size: 24px;
    line-height: 1.4;
    color: #fff;
    max-width: 600px;
    /* 限制最大宽度 */
}

/* 左右切换按钮样式调整 */
.slider-nav {
    position: absolute;
    top: 50%;
    /* 相对于slider容器的中心点 */
    transform: translateY(-50%);
    /* 垂直居中对齐 */
    width: 100%;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    /* 按钮距离边缘的距离 */
}

.slider-nav button {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav button:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .slider-content h1 {
        font-size: 40px;
    }

    .slider-content p {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .slider-content {
        padding: 0 40px;
    }

    .slider-content h1 {
        font-size: 32px;
    }

    .slider-content p {
        font-size: 18px;
    }
}

/* Privacy Section 样式 */
.privacy-section {
    width: 100%;
    margin: 0 auto;
    background: white;
    /* 与 about-us 背景色一致 */
    color: #000;
    /* 文字颜色改为白色 */
    display: none;
    /* 默认隐藏 */
}

.privacy-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 60px 20px;
}

.privacy-content {
    max-width: 1440px;
    margin: 0 auto;
}

.privacy-content h2 {
    font-size: 32px;
    margin-top: 20px;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 10px;
}



.privacy-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #000;
    /* 段落文字改为白色 */
    margin-bottom: 20px;
}

.privacy-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    margin-left: 40px;
}

.privacy-content li {
    position: relative;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
    padding-left: 24px; /* 为圆点留出空间 */
}

/* 添加圆点样式 */
.privacy-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px; /* 垂直居中对齐 */
    width: 6px;
    height: 6px;
    background-color: #003366; /* 使用主题色 */
    border-radius: 50%;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .privacy-container {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .privacy-section {
        margin: 0px auto 0px;
    }

    .privacy-content h2 {
        font-size: 24px;
    }

    .privacy-content p {
        font-size: 16px;
    }
}

/* Privacy Section 字体样式 */
.privacy-section {
    font-family: 'ABeeZee', 'Arial', sans-serif;
}

.privacy-section p,
.privacy-section li,
.privacy-section h2,
.privacy-section h3,
.privacy-section div {
    font-family: 'ABeeZee', 'Arial', sans-serif;
}

/* 导入 Google Font */
@import url('https://fonts.googleapis.com/css2?family=ABeeZee:ital@0;1&display=swap');

.terms-section {
    background-color: #fff;
}

.terms-section .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.terms-section h1 {
    font-size: 2.5em;
    color: #000;
    margin-bottom: 40px;
    text-align: center;
}

.terms-content {
    line-height: 1.6;
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'ABeeZee', 'Arial', sans-serif;
}

.terms-content h2 {
    color: #000;
    font-size: 32px;
    margin: 20px 0;
    position: relative;
    padding-bottom: 10px;
    font-style: normal;
}

.terms-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #000;
    margin-bottom: 20px;
    position: relative;
    padding-left: 24px;
    margin-left: 30px;
}

/* 修改圆点样式以匹配 privacy-content */
.terms-content p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: #000;
    border-radius: 50%;
}

/* 强调文本样式 */
.terms-content strong {
    color: #000;
    font-weight: normal;
    font-style: normal;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .terms-container {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .terms-section {
        margin: 0px auto 0px;
    }

    .terms-content h2 {
        font-size: 24px;
    }

    .terms-content p {
        font-size: 16px;
    }
}

/* Terms & Conditions banner 样式 */
.terms-section .privacy-banner {
    position: relative;
    width: 100%;
    height: 300px;  /* 调整高度 */
    overflow: hidden;
}

.terms-section .privacy-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* 确保图片覆盖整个区域 */
    filter: brightness(0.7);  /* 调暗图片 */
}




@media (min-width: 1440px) {
    .terms-section .privacy-banner .banner-text {
        position: absolute;
        left: 50%;
        top: 70%;
        transform: translate(-48%, -50%);
        width: 1440px;
    }
    .terms-section .privacy-banner .banner-text h1 {
       text-align: left;
    }
}

/* 响应式调整 */
@media (max-width: 1440px) {
    .terms-section .privacy-banner {
        height: 500px;
    }

    .terms-section .privacy-banner .banner-text {
        width: 100%;
        position: absolute;
        top: 50%;
    }

    .terms-section .privacy-banner .banner-text h1 {
        font-size: 60px;
        text-align: left;

    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .terms-section .privacy-banner {
        height: 300px;
    }

    .terms-section .privacy-banner .banner-text {
        width: 100%;
        position: absolute;
        top: 50%;

        padding: 0 14px;
    }

    .terms-section .privacy-banner .banner-text h1 {
        font-size: 36px;
        text-align: left;

    }
}

/* Terms Section 样式 */
.terms-section {
    width: 100%;
    margin: 0 auto;
    background: white;
    color: #000;
    display: none;
    position: relative;
}

/* Banner 样式 */
.terms-section .privacy-banner {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-top: -80px;
}

.terms-section .privacy-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}



/* 响应式调整 */
@media (max-width: 1440px) {
    .terms-section .privacy-banner .banner-text h1 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .terms-section .privacy-banner {
        height: 300px;
    }

    .terms-section .privacy-banner .banner-text {
        padding: 0 40px;
    }

    .terms-section .privacy-banner .banner-text h1 {
        font-size: 32px;
    }
}

/* Terms of Use Section 样式 */
.terms-of-use-section {
    width: 100%;
    margin: 0 auto;
    background: white;
    color: #000;
    display: none;
    position: relative;
}

/* Banner 样式 */
.terms-of-use-section .privacy-banner {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-top: -80px;
}

.terms-of-use-section .privacy-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

/* 大屏幕样式 */
@media (min-width: 1440px) {
    .terms-of-use-section .privacy-banner .banner-text {
        position: absolute;
        left: 50%;
        top: 70%;
        transform: translate(-48%, -50%);
        width: 1440px;
    }
    .terms-of-use-section .privacy-banner .banner-text h1 {
        text-align: left;
    }
}

/* 中等屏幕样式 */
@media (max-width: 1440px) {
    .terms-of-use-section .privacy-banner {
        height: 300px;
    }

    .terms-of-use-section .privacy-banner .banner-text {
        width: 100%;
        position: absolute;
        top: 50%;
    }

    .terms-of-use-section .privacy-banner .banner-text h1 {
        font-size: 60px;
        text-align: left;
    }
}

/* 小屏幕样式 */
@media (max-width: 768px) {
    .terms-of-use-section .privacy-banner {
        height: 300px;
    }

    .terms-of-use-section .privacy-banner .banner-text {
        width: 100%;
        position: absolute;
        top: 50%;
        padding: 0 14px;
    }

    .terms-of-use-section .privacy-banner .banner-text h1 {
        font-size: 36px;
        text-align: left;
    }
}

/* 内容样式 */
.terms-of-use-content {
    line-height: 1.6;
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'ABeeZee', 'Arial', sans-serif;
}

.terms-of-use-content h2 {
    color: #000;
    font-size: 32px;
    margin: 20px 0;
    position: relative;
    padding-bottom: 10px;
    font-style: normal;
}

.terms-of-use-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #000;
    margin-bottom: 20px;
    position: relative;

}

/* 圆点样式 */
.terms-of-use-content p::before {
   
}

/* 响应式内容调整 */
@media (max-width: 768px) {
    .terms-of-use-content h2 {
        font-size: 24px;
    }

    .terms-of-use-content p {
        font-size: 16px;
    }
}

.terms-of-use,
#terms-of-use {
    font-family: "Franklin Gothic Book", "Arial", sans-serif;
}

/* 添加提示框样式 */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.toast {
    padding: 15px 25px;
    margin-bottom: 10px;
    border-radius: 4px;
    color: white;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.toast.success {
    background-color: #4caf50;
}

.toast.error {
    background-color: #f44336;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.product-details {
    margin-top: 40px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

.product-details.visible {
    opacity: 1;
    max-height: 2000px; /* 设置一个足够大的值 */
    transition: opacity 0.3s ease, max-height 0.5s ease;
}

.product-detail-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-detail-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.memory-categories {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.memory-category {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.memory-category h3 {
    color: #003366;
    margin-bottom: 15px;
}

.product-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    justify-content: start; /* 确保网格左对齐 */
}

.product-image-item {
    text-align: left; /* 修改为左对齐 */
}

.product-image-item img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
    margin: 0; /* 移除居中的 margin */
}

.product-image-item p {
    margin-top: 10px;
    color: #666;
    text-align: left; /* 确保文字左对齐 */
}

.product-item {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-item:active {
    transform: translateY(-2px);
}

/* 产品展示区域样式 */
.product-container {
    display: flex;
    gap: 30px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 左侧菜单样式 */
.product-menu {
    width: 280px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.product-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-menu .menu-item {
    padding: 20px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-menu .menu-item:last-child {
    border-bottom: none;
}

.product-menu .menu-item:hover {
    background: #f5f7fa;
}

.product-menu .menu-item.active {
    background: #003366;
    color: #fff;
}

.product-menu .menu-item h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.product-menu .menu-item span {
    display: block;
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.product-menu .menu-item.active span {
    color: #fff;
}

/* 右侧内容区域样式 */
.product-content-area {
    flex: 1;
    min-height: 600px;
    padding: 0 20px; /* 添加左右内边距 */
}

.product-details {
    margin-top: 0;
    height: 100%;
    opacity: 1;
    max-height: none;
    overflow: visible;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .product-container {
        flex-direction: column;
    }

    .product-menu {
        width: 100%;
    }
}

/* 修改产品详情内容的样式 */
.product-detail-content {
    display: none;
    padding: 20px;
}

.product-detail-content h2 {
    text-align: left; /* 标题左对齐 */
    margin-bottom: 30px;
}

.memory-category {
    margin-bottom: 40px;
}

.memory-category h3 {
    text-align: left; /* 分类标题左对齐 */
    margin-bottom: 20px;
    color: #003366;
    font-size: 20px;
}

/* 添加新样式 */
.product-detail-layout {
    display: none;
}

.menu-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.back-to-grid {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #003366;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.back-to-grid:hover {
    background-color: #f0f0f0;
}

.back-to-grid span {
    font-size: 20px;
    line-height: 1;
}

/* 添加切换动画 */
.product-grid,
.product-detail-layout {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 产品网格布局样式 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
    max-width: 1440px;
    margin: 0 auto;
}

/* 确保产品卡片样式正确 */
.product-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.product-item img {
    max-width: 200px;
    height: auto;
    margin: 20px auto;
    display: block;
}

.product-item h3 {
    color: var(--color-primary);
    margin-bottom: 15px;
    font-size: 20px;
}

.product-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-item ul li {
    color: var(--color-secondary);
    font-size: 16px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        padding: 15px;
    }
}

/* 产品类型区域的高亮效果 */
.product-type-section {
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.product-type-section.highlighted {
    background-color: rgba(0, 51, 102, 0.05);
}

.product-type-section h4 {
    margin-bottom: 15px;
    color: #003366;
}

/* 产品类型网格布局 */
.product-type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 固定每行3列 */
    gap: 20px;
    margin-bottom: 40px;
}

/* 产品卡片容器 */
.product-type-section {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    /* 确保所有卡片高度一致 */
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* 产品图片容器 */
.product-image-item {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.product-image-item img {
    width: 100%;
    object-fit: contain; /* 保持图片比例 */
    margin-bottom: 10px;
    border-radius: 4px;
}

.product-image-item p {
    color: #666;
    font-size: 14px;
    margin: 0;
    padding: 10px 0;
}

/* 分类标题样式 */
.memory-category h3 {
    font-size: 24px;
    color: #003366;
    margin: 40px 0 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .product-type-grid {
        grid-template-columns: repeat(2, 1fr); /* 平板上显示2列 */
    }
}

@media (max-width: 576px) {
    .product-type-grid {
        grid-template-columns: 1fr; /* 手机上显示1列 */
    }
}