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

body {
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
    color: #1e293b;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 45%, #ffffff 100%);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
    border-bottom: 1px solid rgba(77, 144, 254, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.site-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #1f2937;
    text-decoration: none;
    min-width: 0;
}

.site-brand img {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

.site-brand span {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #4d90fe 0%, #3367d6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.85rem 1rem;
    color: #6b7280;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.75rem;
    transition: all 0.25s ease;
}

.site-nav-link:hover {
    color: #4d90fe;
    background: linear-gradient(135deg, rgba(77, 144, 254, 0.08) 0%, rgba(51, 103, 214, 0.08) 100%);
    box-shadow: 0 4px 12px rgba(77, 144, 254, 0.12);
    transform: translateY(-1px);
}

.site-nav-link.active {
    color: #4d90fe;
    background: linear-gradient(135deg, rgba(77, 144, 254, 0.12) 0%, rgba(51, 103, 214, 0.12) 100%);
    box-shadow: inset 0 0 0 1px rgba(77, 144, 254, 0.08);
}

.site-nav-hot {
    padding: 0.15rem 0.4rem;
    border-radius: 0.35rem;
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1rem 1rem;
}

.header {
    position: relative;
    margin-bottom: 3rem;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
    border: 1px solid rgba(77, 144, 254, 0.15);
    border-radius: 1.75rem;
    box-shadow: 0 8px 24px rgba(77, 144, 254, 0.1), 0 2px 8px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #4d90fe 0%, #3367d6 55%, #2563eb 100%);
}

.header h1 {
    margin-bottom: 2rem;
    text-align: center;
    font-size: clamp(2.4rem, 5vw, 3.7rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #4d90fe 0%, #3367d6 50%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.box {
    display: grid;
    grid-template-columns: minmax(260px, 440px) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
}

.left {
    display: flex;
    justify-content: center;
}

.banner {
    width: 100%;
    max-width: 420px;
    border-radius: 1.5rem;
    border: 1px solid rgba(77, 144, 254, 0.12);
    box-shadow: 0 16px 36px rgba(77, 144, 254, 0.16), 0 8px 18px rgba(15, 23, 42, 0.06);
    object-fit: cover;
}

.right h2 {
    margin-bottom: 1.5rem;
    color: #334155;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 700;
    line-height: 1.45;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1.15rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(77, 144, 254, 0.12) 0%, rgba(51, 103, 214, 0.1) 100%);
    color: #3367d6;
    border: 1px solid rgba(77, 144, 254, 0.14);
    font-size: 0.98rem;
    font-weight: 700;
}

.navigation {
    margin-top: 1.5rem;
    text-align: center;
}

.nav-link {
    display: inline-block;
    padding: 0.8rem 1.2rem;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, #4d90fe 0%, #3367d6 100%);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(77, 144, 254, 0.22);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(77, 144, 254, 0.28);
}

main {
    padding-bottom: 1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.75rem;
    margin-bottom: 2rem;
}

.product-card {
    position: relative;
    overflow: hidden;
    padding: 1.75rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(77, 144, 254, 0.14);
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
    box-shadow: 0 8px 24px rgba(77, 144, 254, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(77, 144, 254, 0.28);
    box-shadow: 0 18px 36px rgba(77, 144, 254, 0.16), 0 8px 18px rgba(15, 23, 42, 0.06);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.product-card.standard::before {
    background: linear-gradient(90deg, #4d90fe 0%, #60a5fa 100%);
}

.product-card.advanced::before {
    background: linear-gradient(90deg, #4d90fe 0%, #06b6d4 100%);
}

.product-card.premium::before {
    background: linear-gradient(90deg, #f59e0b 0%, #f97316 100%);
}

#qq-grid .product-card::before {
    background: linear-gradient(90deg, #4d90fe 0%, #3367d6 100%);
    opacity: 0.6;
}

.license-highlight {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 1.25rem;
    padding: 0.72rem 1rem;
    border: 1px solid rgba(22, 163, 74, 0.24);
    border-radius: 0.9rem;
    background: linear-gradient(135deg, rgba(220, 252, 231, 0.96), rgba(239, 246, 255, 0.94));
    color: #15803d;
    font-size: 1.02rem;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(22, 163, 74, 0.12);
}

.product-card.premium .license-highlight {
    border-color: rgba(234, 88, 12, 0.28);
    background: linear-gradient(135deg, rgba(255, 247, 237, 0.98), rgba(255, 251, 235, 0.95));
    color: #c2410c;
    box-shadow: 0 10px 24px rgba(234, 88, 12, 0.12);
}

.product-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 1.25rem;
    border-radius: 1rem;
    color: #fff;
    box-shadow: 0 8px 20px rgba(77, 144, 254, 0.22);
}

.product-card.standard .product-icon {
    background: linear-gradient(135deg, #4d90fe 0%, #60a5fa 100%);
}

.product-card.advanced .product-icon {
    background: linear-gradient(135deg, #4d90fe 0%, #06b6d4 100%);
}

.product-card.premium .product-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.22);
}

.product-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.product-title {
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.35;
}

.product-desc {
    margin-top: 0.45rem;
    color: #64748b;
    font-size: 0.98rem;
    line-height: 1.65;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.price-amount {
    color: #2563eb;
    font-size: 2.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.product-card.premium .price-amount {
    color: #ea580c;
}

.price-unit {
    color: #64748b;
    font-size: 1rem;
    font-weight: 700;
}

.recommended-badge {
    flex-shrink: 0;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 6px 14px rgba(249, 115, 22, 0.24);
}

.features-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    color: #475569;
    line-height: 1.7;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-icon {
    flex-shrink: 0;
    margin-top: 0.18rem;
    color: #2563eb;
}

.buy-button {
    width: 100%;
    padding: 0.95rem 1.25rem;
    border: 0;
    border-radius: 0.9rem;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.buy-button:hover {
    transform: translateY(-2px);
}

.product-card.standard .buy-button,
.product-card.advanced .buy-button {
    background: linear-gradient(135deg, #4d90fe 0%, #3367d6 100%);
    box-shadow: 0 8px 18px rgba(77, 144, 254, 0.22);
}

.product-card.premium .buy-button {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    box-shadow: 0 8px 18px rgba(249, 115, 22, 0.22);
}

#qq-grid {
    margin-top: 2rem;
}

#qq-grid .product-card {
    cursor: default;
}

#qq-grid .product-card:hover {
    transform: translateY(-4px);
}

#qq-grid .product-header {
    margin-bottom: 0.4rem;
}

#qq-grid .product-title {
    font-size: 1.2rem;
}

.footer {
    margin-top: 3rem;
    text-align: center;
}

.footer p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.8;
}

.guide-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.4rem;
    border: 0;
    border-radius: 0.9rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4d90fe 0%, #3367d6 100%);
    box-shadow: 0 8px 18px rgba(77, 144, 254, 0.22);
    cursor: pointer;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.guide-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(77, 144, 254, 0.28);
}

.footer-nav {
    padding: 1.5rem 0 0;
    margin-top: 2rem;
    text-align: center;
    border-top: 1px solid rgba(77, 144, 254, 0.12);
    color: #cbd5e1;
}

.footer-nav a {
    display: inline-block;
    margin: 0 0.2rem;
    padding: 0.45rem 0.9rem;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    border-radius: 0.75rem;
    transition: all 0.25s ease;
}

.footer-nav a:hover {
    color: #4d90fe;
    background: linear-gradient(135deg, rgba(77, 144, 254, 0.08) 0%, rgba(51, 103, 214, 0.08) 100%);
    box-shadow: 0 4px 12px rgba(77, 144, 254, 0.1);
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(6px);
}

.modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    width: min(100%, 30rem);
    padding: 2rem;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
    border: 1px solid rgba(77, 144, 254, 0.16);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18), 0 8px 20px rgba(77, 144, 254, 0.12);
    animation: modalRise 0.24s ease;
}

@keyframes modalRise {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    color: #64748b;
    background: rgba(77, 144, 254, 0.08);
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close:hover {
    color: #3367d6;
    background: rgba(77, 144, 254, 0.16);
}

.modal-header {
    margin-bottom: 1.25rem;
    text-align: center;
}

.modal-title {
    margin-bottom: 0.5rem;
    font-size: 1.55rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4d90fe 0%, #3367d6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-subtitle {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

.modal-body {
    text-align: center;
}

.product-info {
    margin-bottom: 1.25rem;
}

.product-info p {
    color: #64748b;
    font-size: 0.9rem;
}

.product-info .price {
    color: #2563eb;
    font-size: 2rem;
    font-weight: 800;
}

.qrcode-container {
    display: inline-block;
    margin: 0 auto 1.25rem;
    padding: 1.2rem;
    background: #fff;
    border: 1px solid rgba(77, 144, 254, 0.14);
    border-radius: 1.25rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 8px 24px rgba(77, 144, 254, 0.08);
}

.qrcode-image {
    display: block;
    width: 200px;
    height: 200px;
    border-radius: 0.8rem;
}

.qrcode-loading {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 2rem;
    height: 2rem;
    border: 3px solid #dbeafe;
    border-top-color: #4d90fe;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.qrcode-label {
    margin-top: 0.9rem;
    color: #475569;
    font-size: 0.92rem;
    font-weight: 500;
}

#kefu-modal .qrcode-label {
    color: #475569 !important;
}

.modal-footer p {
    color: #64748b;
    font-size: 0.94rem;
    line-height: 1.7;
}

.kefu {
    width: 7rem;
    margin: 1rem auto 0;
}

.kefu button {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 0;
    border-radius: 0.9rem;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4d90fe 0%, #3367d6 100%);
    box-shadow: 0 8px 18px rgba(77, 144, 254, 0.22);
    cursor: pointer;
    transition: transform 0.24s ease;
}

.kefu button:hover {
    transform: translateY(-2px);
}

.seo-hidden {
    display: none;
}

@media (max-width: 900px) {
    .box {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .badges {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .site-header-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.9rem 1rem;
    }

    .site-brand span {
        font-size: 1.25rem;
    }

    .site-nav {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.1rem;
    }

    .site-nav-link {
        white-space: nowrap;
        padding: 0.75rem 0.9rem;
        font-size: 0.95rem;
    }

    .container {
        padding-top: 1rem;
    }

    .header {
        padding: 2rem 1.25rem;
        border-radius: 1.4rem;
    }

    .header h1 {
        font-size: 2.4rem;
        margin-bottom: 1.5rem;
    }

    .right h2 {
        font-size: 1.55rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card,
    .modal-content {
        border-radius: 1.25rem;
    }
}