* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: linear-gradient(to bottom right, #0f172a, #581c87, #0f172a);
    min-height: 100vh;
    color: #fff;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.header {
    text-align: center;
    margin-bottom: 4rem;
}

.header h1 {
    font-size: 3.75rem;
    font-weight: bold;
    margin-bottom: 1rem;
    animation: fadeIn 1s ease-in;
}

.box {
    display: flex;
    align-items: center;
}

.banner {
    max-width: 100%;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header p {
    font-size: 2.6rem;
    color: #fff;
    max-width: 48rem;
    margin: 0 auto 4rem;
    font-weight: bold;
}

.badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.5rem;
    background: #475569;
    border-radius: 0.375rem;
    font-size: 1.2rem;
    color: #e2e8f0;
}

.navigation {
    margin-top: 1.5rem;
    text-align: center;
}

.nav-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(to right, #3b82f6, #06b6d4);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 0.9;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.product-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    border-radius: 1rem;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-color: #8b5cf6;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.5rem;
}

.product-card.standard::before {
    background: linear-gradient(to right, #3b82f6, #06b6d4);
}

.product-card.advanced::before {
    background: linear-gradient(to right, #a855f7, #ec4899);
}

.product-card.premium::before {
    background: linear-gradient(to right, #f59e0b, #f97316);
}

.product-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.5rem;
}

.product-card.standard .product-icon {
    background: linear-gradient(to bottom right, #3b82f6, #06b6d4);
}

.product-card.advanced .product-icon {
    background: linear-gradient(to bottom right, #a855f7, #ec4899);
}

.product-card.premium .product-icon {
    background: linear-gradient(to bottom right, #f59e0b, #f97316);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-desc {
    color: #cbd5e1;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.price-amount {
    font-size: 2.25rem;
    font-weight: bold;
}

.price-unit {
    /* color: #94a3b8; */
    font-size: 0.875rem;
    font-weight: bold;
    font-size: 1.5rem;
}

.recommended-badge {
    background: linear-gradient(to right, #f59e0b, #f97316);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.features-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #cbd5e1;
}

.feature-icon {
    color: #22c55e;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.buy-button {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.buy-button:hover {
    opacity: 0.9;
}

.product-card.standard .buy-button {
    background: linear-gradient(to right, #3b82f6, #06b6d4);
}

.product-card.advanced .buy-button {
    background: linear-gradient(to right, #a855f7, #ec4899);
}

.product-card.premium .buy-button {
    background: linear-gradient(to right, #f59e0b, #f97316);
}

.footer {
    text-align: center;
    margin-top: 4rem;
}

.footer p {
    color: #94a3b8;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.footer p:last-child {
    color: #64748b;
    font-size: 1rem;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #1e293b;
    border-radius: 1rem;
    padding: 2rem;
    max-width: 28rem;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.5rem;
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    transition: background 0.2s;
}

.modal-close:hover {
    background: rgba(148, 163, 184, 0.1);
}

.modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: #94a3b8;
    font-size: 0.875rem;
}

.modal-body {
    text-align: center;
}

.product-info {
    margin-bottom: 1.5rem;
}

.product-info p {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.product-info .price {
    font-size: 2rem;
    font-weight: bold;
    color: #8b5cf6;
}

.qrcode-container {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    display: inline-block;
    margin: 0 auto 1.5rem;
}

.qrcode-image {
    width: 200px;
    height: 200px;
    display: block;
}

.qrcode-loading {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 2rem;
    height: 2rem;
    border: 3px solid #e2e8f0;
    border-top-color: #8b5cf6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.qrcode-label {
    color: #1e293b;
    font-size: 0.875rem;
    margin-top: 1rem;
}

.modal-footer {
    text-align: center;
}

.modal-footer p {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.modal-footer p:last-child {
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2.5rem;
    }

    .header p {
        font-size: 1.25rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}

.kefu {
    width: 6rem;
    margin: 0 auto;
}

.kefu button {
    width: 100%;
    padding: 0.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: opacity 0.3s;
    background: linear-gradient(to right, #3b82f6, #06b6d4);
}

.seo-hidden {
    display: none;
}

/* 底部导航菜单样式 */
.footer-nav {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.footer-nav a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    margin: 0 0.5rem;
}

.footer-nav a:hover {
    color: #fff;
}