
/* ========================================
   移动端优化完整CSS
   ======================================== */

/* 移动端导航修复 */
@media (max-width: 768px) {
    .header-inner {
        padding: 10px 16px !important;
    }
    
    .desktop-nav {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: block !important;
        font-size: 22px;
        padding: 6px 12px;
        background: none;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        color: #0f172a;
        cursor: pointer;
        margin-left: 8px;
    }
    
    .mobile-menu-btn:active {
        background: #f1f5f9;
    }
    
    .nav-links {
        display: none !important;
    }
    
    .nav-links.mobile-show {
        display: flex !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 16px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        z-index: 999;
        gap: 0 !important;
    }
    
    .nav-links.mobile-show li {
        border-bottom: 1px solid #f1f5f9;
        padding: 12px 0;
    }
    
    .nav-links.mobile-show li:last-child {
        border-bottom: none;
    }
    
    .nav-links.mobile-show a {
        font-size: 15px;
        padding: 4px 0;
        display: block;
    }
    
    /* 下拉菜单在移动端显示为普通链接 */
    .has-dropdown .dropdown-menu {
        display: none !important;
    }
}

/* 桌面端显示正常菜单 */
@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none !important;
    }
    
    .nav-links {
        display: flex !important;
        gap: 4px;
    }
}

/* 产品卡片移动端 */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    
    .rec-products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }
    
    .product-card, .rec-product-card {
        margin: 0 8px;
    }
    
    .product-info {
        padding: 16px !important;
    }
}

@media (max-width: 480px) {
    .rec-products {
        grid-template-columns: 1fr !important;
    }
}

/* Hero轮播移动端 */
@media (max-width: 768px) {
    .carousel-slide {
        padding: 40px 0 !important;
    }
    
    .carousel-text h1 {
        font-size: 26px !important;
    }
    
    .carousel-text p {
        font-size: 15px !important;
    }
    
    .carousel-image {
        font-size: 60px !important;
    }
    
    .carousel-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .carousel-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* 对比表格移动端 */
@media (max-width: 768px) {
    .compare-table-wrapper {
        overflow-x: auto;
        margin: 0 -16px;
    }
    
    .compare-table {
        min-width: 600px;
        font-size: 13px;
    }
    
    .compare-table th,
    .compare-table td {
        padding: 10px 8px !important;
    }
}

/* 信任徽章移动端 */
@media (max-width: 768px) {
    .cert-badges {
        gap: 16px !important;
    }
    
    .cert-badge {
        flex: 1 1 40%;
        min-width: 120px;
    }
    
    .media-logos {
        gap: 16px !important;
    }
    
    .media-logo {
        font-size: 16px !important;
    }
    
    .trust-metrics {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

/* 页脚移动端 */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    
    .footer-col {
        padding: 0 8px;
    }
    
    .newsletter-form {
        flex-direction: row !important;
    }
    
    .payment-methods {
        justify-content: flex-start;
    }
}

/* 筛选系统移动端 */
@media (max-width: 768px) {
    .filter-wrapper {
        flex-direction: column;
        gap: 16px;
    }
    
    .filter-tabs {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .filter-tab {
        font-size: 12px !important;
        padding: 8px 12px !important;
    }
    
    .sort-dropdown {
        width: 100%;
    }
}

/* 弹窗移动端 */
@media (max-width: 768px) {
    .email-popup {
        margin: 16px;
        max-width: 100% !important;
    }
    
    .popup-header {
        padding: 24px !important;
    }
    
    .popup-body {
        padding: 24px !important;
    }
}

/* 浮动按钮移动端 */
@media (max-width: 768px) {
    .floating-subscribe {
        bottom: 16px !important;
        right: 16px !important;
        font-size: 13px !important;
        padding: 12px 16px !important;
    }
}

/* 组合购买移动端 */
@media (max-width: 768px) {
    .bundle-wrapper {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
        text-align: center;
    }
    
    .bundle-products {
        justify-content: center;
        gap: 12px !important;
    }
    
    .bundle-image {
        width: 70px !important;
        height: 70px !important;
        font-size: 28px !important;
    }
    
    .bundle-price {
        justify-content: center;
    }
}

/* 全局移动端优化 */
@media (max-width: 768px) {
    .container {
        padding: 0 16px !important;
    }
    
    .section-title, .rec-title {
        font-size: 22px !important;
    }
    
    .section-subtitle, .rec-subtitle {
        font-size: 14px !important;
    }
    
    .btn {
        padding: 12px 20px !important;
        font-size: 14px !important;
    }
}


/* ========================================
   邮件订阅弹窗样式
   ======================================== */
.email-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.email-popup-overlay.show {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.email-popup {
    background: white;
    border-radius: 16px;
    max-width: 520px;
    width: 100%;
    position: relative;
    animation: slideUp 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

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

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 1;
}

.popup-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.popup-header {
    background: linear-gradient(135deg, #1e40af 0%, #0369a1 100%);
    color: white;
    padding: 32px;
    text-align: center;
}

.popup-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.popup-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.popup-header p {
    font-size: 15px;
    opacity: 0.9;
}

.popup-body {
    padding: 32px;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.popup-input {
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.popup-input:focus {
    outline: none;
    border-color: #1e40af;
}

.popup-btn {
    padding: 16px;
    background: linear-gradient(135deg, #1e40af 0%, #0369a1 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.3);
}

.popup-benefits {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
}

.popup-benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
}

.popup-benefit span {
    color: #059669;
    font-weight: 700;
}

.popup-footer {
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 20px;
}

/* 浮动订阅按钮 */
.floating-subscribe {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, #1e40af 0%, #0369a1 100%);
    color: white;
    padding: 14px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.4);
    z-index: 1000;
    transition: all 0.3s;
    border: none;
}

.floating-subscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(30, 64, 175, 0.5);
}

@media (max-width: 768px) {
    .floating-subscribe {
        bottom: 16px;
        right: 16px;
        padding: 12px 20px;
        font-size: 13px;
    }
    
    .popup-benefits {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}


/* ========================================
   关联推荐模块样式
   ======================================== */
.recommendation-section {
    padding: 60px 0;
    background: white;
}

.recommendation-section.alt-bg {
    background: #f8fafc;
}

.rec-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.rec-subtitle {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 32px;
}

/* 横向产品滚动卡片 */
.rec-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.rec-product-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
    cursor: pointer;
}

.rec-product-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.rec-product-image {
    height: 120px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin-bottom: 16px;
}

.rec-product-name {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 4px;
}

.rec-product-price {
    font-size: 18px;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 12px;
}

.rec-product-rating {
    font-size: 12px;
    color: #f59e0b;
    margin-bottom: 8px;
}

.rec-btn {
    width: 100%;
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
}

/* 组合购买套装 */
.bundle-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: white;
}

.bundle-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: center;
}

.bundle-products {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bundle-product {
    text-align: center;
}

.bundle-plus {
    font-size: 24px;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
}

.bundle-image {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 8px;
}

.bundle-name {
    font-size: 13px;
    font-weight: 500;
}

.bundle-info h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.bundle-info p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

.bundle-price {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.bundle-original {
    font-size: 18px;
    color: rgba(255,255,255,0.5);
    text-decoration: line-through;
}

.bundle-sale {
    font-size: 32px;
    font-weight: 700;
}

.bundle-save {
    background: #059669;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

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

@media (max-width: 768px) {
    .rec-products {
        grid-template-columns: 1fr;
    }
    
    .bundle-wrapper {
        grid-template-columns: 1fr;
    }
    
    .bundle-products {
        justify-content: center;
    }
}


/* ========================================
   产品筛选系统样式
   ======================================== */
.filter-section {
    background: white;
    padding: 32px 0;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 70px;
    z-index: 99;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.filter-title {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
}

.filter-reset {
    color: #64748b;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
}

.filter-reset:hover {
    color: #1e40af;
}

.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background: white;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-tab:hover {
    border-color: #1e40af;
    color: #1e40af;
}

.filter-tab.active {
    background: #1e40af;
    border-color: #1e40af;
    color: white;
}

.filter-category {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 24px;
}

.filter-category-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sort-dropdown {
    padding: 8px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    color: #475569;
    cursor: pointer;
}

.filter-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* 筛选结果提示 */
.filter-results {
    padding: 16px 0;
    font-size: 14px;
    color: #64748b;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 24px;
}

.filter-results strong {
    color: #0f172a;
}

/* 移动端筛选 */
@media (max-width: 768px) {
    .filter-section {
        top: 56px;
        padding: 20px 0;
    }
    
    .filter-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-tabs {
        gap: 6px;
    }
    
    .filter-tab {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .filter-category {
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .filter-category-label {
        display: none;
    }
}


/* ========================================
   Hero轮播Banner样式
   ======================================== */
.hero-carousel {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0369a1 100%);
    overflow: hidden;
}

.carousel-slide {
    display: none;
    padding: 80px 0;
    animation: fadeIn 0.5s ease;
}

.carousel-slide.active {
    display: block;
}

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

.carousel-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.carousel-text h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}

.carousel-text p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
    line-height: 1.6;
}

.carousel-buttons {
    display: flex;
    gap: 16px;
}

.carousel-image {
    text-align: center;
    font-size: 120px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* 轮播控制按钮 */
.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 24px;
    pointer-events: none;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    pointer-events: all;
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

/* 轮播指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: white;
    width: 32px;
    border-radius: 5px;
}

/* 标签 */
.carousel-badge {
    display: inline-block;
    background: rgba(5, 150, 105, 0.9);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.carousel-badge.orange {
    background: rgba(245, 158, 11, 0.9);
}

.carousel-badge.purple {
    background: rgba(124, 58, 237, 0.9);
}

@media (max-width: 768px) {
    .carousel-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .carousel-text h1 {
        font-size: 32px;
    }
    
    .carousel-buttons {
        justify-content: center;
    }
    
    .carousel-image {
        font-size: 80px;
    }
    
    .carousel-controls {
        display: none;
    }
}


/* ========================================
   新版页脚样式
   ======================================== */
.footer {
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    color: white;
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-bottom: 24px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #60a5fa;
}

/* 品牌列 */
.footer-brand {
    padding-right: 24px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-logo span {
    color: #3b82f6;
}

.footer-desc {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* 社交媒体图标 */
.social-links {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s;
    text-decoration: none;
}

.social-link:hover {
    background: #3b82f6;
    transform: translateY(-2px);
}

/* 邮件订阅 */
.newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #334155;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    color: white;
    font-size: 14px;
}

.newsletter-input::placeholder {
    color: #64748b;
}

.newsletter-btn {
    padding: 12px 20px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.newsletter-btn:hover {
    background: #2563eb;
}

/* 支付方式 */
.payment-methods {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.payment-icon {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    color: #94a3b8;
}

/* 底部版权栏 */
.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 13px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: white;
}

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

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}


/* ========================================
   信任徽章和媒体墙样式
   ======================================== */
.trust-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    text-align: center;
}

.trust-section h3 {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #64748b;
    margin-bottom: 32px;
}

/* 认证徽章 */
.cert-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.cert-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    min-width: 100px;
    transition: transform 0.3s;
}

.cert-badge:hover {
    transform: translateY(-4px);
}

.cert-icon {
    font-size: 32px;
}

.cert-name {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 媒体报道墙 */
.media-wall {
    margin-top: 32px;
    padding: 40px 0;
    border-top: 1px solid #e2e8f0;
}

.media-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
}

.media-logos:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.media-logo {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.5px;
    padding: 8px 16px;
}

/* 数据信任指标 */
.trust-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.trust-metric {
    text-align: center;
}

.metric-number {
    font-size: 40px;
    font-weight: 700;
    color: #1e40af;
    line-height: 1;
    margin-bottom: 8px;
}

.metric-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.metric-plus {
    color: #059669;
}

@media (max-width: 768px) {
    .trust-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .metric-number {
        font-size: 32px;
    }
    
    .cert-badges {
        gap: 24px;
    }
    
    .media-logos {
        gap: 24px;
    }
}


/* ========================================
   产品对比表格样式
   ======================================== */
.compare-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.compare-table-wrapper {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
}

.compare-table thead {
    background: linear-gradient(135deg, #1e40af 0%, #0f172a 100%);
    color: white;
}

.compare-table th {
    padding: 20px 16px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}

.compare-table th:first-child {
    text-align: left;
    padding-left: 24px;
    background: rgba(0,0,0,0.1);
}

.compare-table td {
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.compare-table td:first-child {
    text-align: left;
    padding-left: 24px;
    font-weight: 600;
    background: #f8fafc;
    color: #475569;
}

.compare-table tbody tr:hover {
    background: #f0f9ff;
}

.compare-table tbody tr:hover td:first-child {
    background: #e0f2fe;
}

/* 绿色对勾和红色叉号 */
.check-icon {
    color: #059669;
    font-size: 20px;
    font-weight: bold;
}

.cross-icon {
    color: #dc2626;
    font-size: 20px;
    font-weight: bold;
}

/* 容量进度条 */
.capacity-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 8px;
}

.capacity-fill {
    height: 100%;
    background: linear-gradient(90deg, #059669 0%, #10b981 100%);
    border-radius: 4px;
    transition: width 1s ease;
}

/* 推荐标签 */
.recommended-badge {
    background: #059669;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    display: inline-block;
    margin-top: 8px;
}

/* 表格下方CTA */
.compare-cta-row {
    padding: 24px;
    text-align: center;
    background: #f8fafc;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.compare-cta-row .btn {
    margin: 0 8px;
}

/* 响应式表格 */
@media (max-width: 768px) {
    .compare-table-wrapper {
        overflow-x: auto;
    }
    
    .compare-table th,
    .compare-table td {
        padding: 12px 8px;
        font-size: 13px;
    }
    
    .compare-table th:first-child,
    .compare-table td:first-child {
        padding-left: 12px;
    }
}


/* ========================================
   产品卡片样式优化
   ======================================== */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* 产品标签 */
.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.badge-best {
    background: #f59e0b;
    color: white;
}

.badge-popular {
    background: #059669;
    color: white;
}

.badge-new {
    background: #1e40af;
    color: white;
}

.badge-pro {
    background: #7c3aed;
    color: white;
}

/* 产品图片区域 */
.product-image {
    height: 200px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

/* 评价星级 */
.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
}

.stars {
    color: #f59e0b;
    font-size: 14px;
}

.rating-count {
    font-size: 13px;
    color: #64748b;
}

/* 价格区域 */
.product-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.current-price {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
}

.original-price {
    font-size: 16px;
    color: #94a3b8;
    text-decoration: line-through;
}

.discount-badge {
    background: #fee2e2;
    color: #dc2626;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

/* 产品信息 */
.product-info {
    padding: 24px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.product-specs {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
}

/* 产品卡片按钮 */
.product-card .btn {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    justify-content: center;
}

/* 库存提示 */
.stock-status {
    font-size: 12px;
    color: #059669;
    font-weight: 500;
    margin-bottom: 12px;
}

.stock-low {
    color: #f59e0b;
}


/* ========================================
   下拉菜单样式
   ======================================== */
.nav-item {
    position: relative;
}

.nav-item a {
    display: block;
    padding: 8px 12px;
    color: #0f172a;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-item a:hover {
    color: #1e40af;
}

/* 下拉菜单基础样式 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 16px 0;
}

/* 悬停显示下拉菜单 */
.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 下拉菜单内容 */
.dropdown-content {
    display: flex;
    flex-direction: column;
}

.dropdown-content a {
    padding: 10px 20px;
    color: #475569;
    font-size: 14px;
    transition: all 0.2s;
}

.dropdown-content a:hover {
    background: #f1f5f9;
    color: #1e40af;
    padding-left: 24px;
}

/* 网格布局下拉菜单 */
.dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 8px 16px;
    min-width: 400px;
}

.dropdown-col h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    margin-bottom: 12px;
    padding: 0 8px;
}

.dropdown-col a {
    display: block;
    padding: 8px 12px;
    color: #475569;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.2s;
}

.dropdown-col a:hover {
    background: #f1f5f9;
    color: #1e40af;
}

/* 移动端隐藏下拉 */
@media (max-width: 768px) {
    .has-dropdown .dropdown-menu {
        display: none;
    }
    
    .has-dropdown > a::after {
        content: ' ▾';
        font-size: 10px;
    }
    
    .desktop-nav .nav-links {
        flex-direction: column;
    }
    
    .desktop-nav .nav-links.active {
        display: flex !important;
    }
}

/* 桌面端显示完整菜单 */
@media (min-width: 769px) {
    .desktop-nav .nav-links {
        display: flex !important;
        align-items: center;
        gap: 8px;
    }
    
    .mobile-menu-btn {
        display: none !important;
    }
}

/* 图标样式 */
.search-icon, .wishlist-icon {
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s;
}

.search-icon:hover, .wishlist-icon:hover {
    color: #1e40af;
}


/* 导航栏CSS修复 */
.nav-links {
    display: flex !important;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #0f172a;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
    white-space: nowrap;
    padding: 8px 0;
    display: block;
}

.nav-links a:hover {
    color: #1e40af;
}

.nav-links a.active {
    color: #1e40af;
    font-weight: 600;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .nav-links {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        gap: 0;
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex !important;
    }
    
    .nav-links li {
        border-bottom: 1px solid #e2e8f0;
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links a {
        padding: 12px 0;
        display: block;
    }
    
    .mobile-menu-btn {
        display: block !important;
        font-size: 24px;
        cursor: pointer;
        padding: 4px 8px;
        background: none;
        border: none;
        color: #0f172a;
    }
}

@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none !important;
    }
}

/* 确保导航容器有position:relative */
.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    max-width: 1280px;
    margin: 0 auto;
}

/* 按钮通用样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-primary {
    background: #1e40af;
    color: white;
}

.btn-primary:hover {
    background: #1e3a8a;
}

.btn-secondary {
    background: transparent;
    color: #1e40af;
    border: 2px solid #1e40af;
}

.btn-secondary:hover {
    background: #1e40af;
    color: white;
}

/* 所有可点击元素添加手型光标 */
[class*="btn"], 
[class*="button"],
a,
button,
[onclick],
[data-action] {
    cursor: pointer !important;
}

/* Announcement Bar */
.announcement-bar {
    background: var(--primary);
    color: var(--white);
    padding: 8px 0;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

/* Header & Navigation */
.header {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switch {
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.lang-switch:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
}

.cart-icon {
    position: relative;
    font-size: 20px;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        gap: 16px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-inner {
        padding: 12px 16px;
    }
    
    .logo {
        font-size: 18px;
    }
    
    .lang-switch {
        padding: 4px 8px;
        font-size: 12px;
    }
}
/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0369a1 100%);
  color: var(--white);
  padding: 80px 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-image-placeholder {
  background: rgba(255,255,255,0.1);
  border-radius: 16px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}

/* Features */
.features {
  padding: 80px 0;
  background: var(--light);
}

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

.section-subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 18px;
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--white);
  padding: 32px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px var(--shadow);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--gray);
  font-size: 14px;
}

/* Products Section */
.products {
  padding: 80px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.product-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.product-card:hover {
  box-shadow: 0 12px 24px var(--shadow-lg);
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.product-image {
  height: 200px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  position: relative;
}

.product-info {
  padding: 24px;
}

.product-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.product-specs {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 12px;
}

.product-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.product-rating {
  color: var(--accent);
  font-size: 14px;
  margin-bottom: 16px;
}

.product-card .btn {
  width: 100%;
  justify-content: center;
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
  background: var(--light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: var(--white);
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 6px var(--shadow);
}

.testimonial-stars {
  color: var(--accent);
  font-size: 20px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--dark);
}

.testimonial-author {
  font-weight: 600;
  color: var(--gray);
}

/* Trust Badges */
.trust-badges {
  padding: 48px 0;
  background: var(--white);
  text-align: center;
}

.trust-badges-inner {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--gray);
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-logo .logo {
  color: var(--white);
}

.footer-desc {
  color: #94a3b8;
  font-size: 14px;
  margin-bottom: 24px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #94a3b8;
  font-size: 14px;
}

.social-links {
  display: flex;
  gap: 16px;
  font-size: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
