       * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #4a6fa5;
            --primary-dark: #3a5a8c;
            --primary-light: #eef3fc;
            --accent: #c9a03d;
            --accent-light: #fef6e6;
            --bg-body: #f8fafc;
            --bg-card: #ffffff;
            --bg-soft: #f9fbfd;
            --text-dark: #1f2a44;
            --text-mid: #4a5b7a;
            --text-light: #8a9bb5;
            --border: #e9edf4;
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.03);
            --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.04);
            --shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.08);
            --radius-lg: 28px;
            --radius-md: 20px;
            --radius-sm: 14px;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--bg-body);
            color: var(--text-dark);
            line-height: 1.5;
        }

        .top-bar {
            background: var(--primary-dark);
            color: white;
            padding: 8px 20px;
            text-align: center;
            font-size: 13px;
        }
        .top-bar span {
            margin: 0 16px;
        }
        .navbar {
            background: rgba(255, 255, 255, 0.96);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        .nav-container {
            max-width: 1600px;
            margin: 0 auto;
            padding: 12px 28px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 16px;
        }
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
        }
        .logo-icon { font-size: 30px; }
        .logo-text {
            font-size: 24px;
            font-weight: 800;
            background: linear-gradient(135deg, var(--primary-dark), var(--primary));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        .nav-links {
            display: flex;
            gap: 28px;
            align-items: center;
        }
        .nav-links a {
            text-decoration: none;
            color: var(--text-mid);
            font-weight: 500;
            transition: 0.2s;
            font-size: 15px;
        }
        .nav-links a:hover { color: var(--primary); }
        .order-query {
            background: var(--primary-light);
            padding: 6px 16px;
            border-radius: 40px;
            color: var(--primary-dark) !important;
        }
        @media (max-width: 768px) {
            .nav-container { flex-direction: column; padding: 12px 20px; }
            .nav-links { gap: 18px; flex-wrap: wrap; justify-content: center; }
            .top-bar span { margin: 0 8px; font-size: 11px; }
        }

        .purchase-wrapper {
            max-width: 1280px;
            margin: 40px auto;
            padding: 0 24px;
        }
        .breadcrumb {
            font-size: 13px;
            color: var(--text-light);
            margin-bottom: 28px;
        }
        .breadcrumb a {
            color: var(--primary);
            text-decoration: none;
        }

        .purchase-main-grid {
            display: grid;
            grid-template-columns: 1fr 0.9fr;
            gap: 32px;
            margin-bottom: 48px;
        }
        @media (max-width: 880px) {
            .purchase-main-grid {
                grid-template-columns: 1fr;
                gap: 28px;
            }
        }

        .product-detail-card {
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            padding: 32px;
            box-shadow: var(--shadow-sm);
        }
        .product-badge-light {
            display: inline-flex;
            background: var(--accent-light);
            color: var(--accent);
            border-radius: 60px;
            padding: 4px 14px;
            font-size: 12px;
            font-weight: 600;
            margin-bottom: 20px;
        }
        .product-detail-title {
            font-size: 28px;
            font-weight: 800;
            color: var(--text-dark);
            margin-bottom: 16px;
        }
        .product-detail-desc {
            color: var(--text-mid);
            font-size: 15px;
            margin-bottom: 28px;
            padding-bottom: 20px;
            border-bottom: 1px solid var(--border);
        }
        .spec-list {
            display: flex;
            flex-direction: column;
            gap: 16px;
            margin-bottom: 32px;
        }
        .spec-item {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 14px;
        }
        .spec-icon {
            width: 32px;
            font-size: 20px;
        }
        .stock-progress {
            background: var(--primary-light);
            border-radius: 30px;
            height: 8px;
            width: 100%;
            margin-top: 8px;
            overflow: hidden;
        }
        .stock-progress-bar {
            background: var(--primary);
            width: 70%;
            height: 100%;
            border-radius: 30px;
        }
        .trust-badges {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            margin-top: 24px;
            background: var(--bg-soft);
            padding: 18px 20px;
            border-radius: var(--radius-md);
        }
        .badge {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
        }

        /* 右侧下单面板 */
        .order-panel {
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            padding: 28px 28px 32px;
            box-shadow: var(--shadow-md);
            position: sticky;
            top: 100px;
        }

        .price-section {
            background: linear-gradient(135deg, var(--primary-light) 0%, #ffffff 100%);
            padding: 18px 20px;
            border-radius: var(--radius-md);
            margin-bottom: 24px;
            border: 1px solid rgba(74,111,165,0.15);
        }
        .current-price-lg {
            font-size: 36px;
            font-weight: 800;
            color: var(--primary-dark);
        }
        .qty-wrapper {
            margin: 16px 0 12px 0;
        }
        .qty-label {
            font-weight: 600;
            margin-bottom: 8px;
            font-size: 14px;
        }
        .quantity-selector {
            display: flex;
            align-items: center;
            gap: 12px;
            background: white;
            width: fit-content;
            border-radius: 60px;
            border: 1px solid var(--border);
        }
        .qty-btn {
            background: white;
            border: none;
            width: 44px;
            height: 44px;
            font-size: 22px;
            font-weight: 700;
            cursor: pointer;
            color: var(--primary);
            border-radius: 60px;
        }
        .qty-btn:hover { background: var(--primary-light); }
        .qty-input {
            width: 70px;
            text-align: center;
            font-size: 18px;
            font-weight: 600;
            border: none;
            background: transparent;
            outline: none;
        }
        .total-box {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            background: var(--bg-soft);
            padding: 12px 16px;
            border-radius: 40px;
            margin-top: 16px;
            border: 1px solid var(--border);
        }
        .total-label {
            font-weight: 600;
            color: var(--text-mid);
        }
        .total-amount-new {
            font-size: 28px;
            font-weight: 800;
            color: var(--primary-dark);
        }

        .order-fields {
            margin: 20px 0 18px;
            display: flex;
            flex-direction: column;
            gap: 18px;
        }
        .field-group {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }
        .field-group label {
            font-weight: 600;
            font-size: 13px;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .field-group input {
            padding: 14px 16px;
            border-radius: 50px;
            border: 1px solid var(--border);
            font-size: 14px;
            background: white;
            transition: 0.2s;
            font-family: inherit;
        }
        .field-group input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(74,111,165,0.1);
        }
        .hint-text {
            font-size: 11px;
            color: var(--text-light);
            margin-left: 6px;
        }

        .pay-section {
            margin: 12px 0 18px;
        }
        .pay-label {
            font-weight: 600;
            margin-bottom: 12px;
            font-size: 14px;
        }
        .pay-methods {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }
        .pay-option {
            flex: 1;
            background: var(--bg-soft);
            border: 1px solid var(--border);
            border-radius: 60px;
            padding: 10px 0;
            text-align: center;
            cursor: pointer;
            font-weight: 500;
            transition: 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 14px;
        }
        .pay-option i {
            font-size: 1.2rem;
        }
        .pay-option.selected {
            background: var(--primary-light);
            border-color: var(--primary);
            color: var(--primary-dark);
        }

        /* 支付二维码展示区 (全新) */
        .qr-showcase {
            margin: 20px 0 16px;
            background: var(--bg-soft);
            border-radius: var(--radius-md);
            padding: 18px 16px;
            border: 1px solid var(--border);
            transition: all 0.2s;
            text-align: center;
        }
        .qr-title {
            font-weight: 700;
            font-size: 14px;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            color: var(--primary-dark);
        }
        .qr-code-container {
            display: flex;
            justify-content: center;
            margin: 12px 0;
        }
        .qr-code-container #dynamicQR {
            display: inline-block;
            background: white;
            padding: 8px;
            border-radius: 16px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }
        .wallet-address {
            background: white;
            padding: 8px 12px;
            border-radius: 40px;
            font-family: monospace;
            font-size: 13px;
            word-break: break-all;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            border: 1px solid var(--border);
            margin-top: 8px;
        }
        .copy-addr-btn {
            background: var(--primary-light);
            border: none;
            border-radius: 30px;
            padding: 4px 12px;
            font-size: 11px;
            cursor: pointer;
            font-weight: 600;
        }
        .qr-note {
            font-size: 11px;
            color: var(--text-light);
            margin-top: 10px;
        }

        .buy-now-btn {
            background: var(--primary);
            width: 100%;
            border: none;
            padding: 16px;
            color: white;
            font-weight: 800;
            font-size: 18px;
            border-radius: 60px;
            margin-top: 8px;
            cursor: pointer;
            transition: 0.2s;
            box-shadow: 0 6px 14px rgba(74,111,165,0.25);
        }
        .buy-now-btn:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
        }
        .security-note {
            font-size: 12px;
            text-align: center;
            margin-top: 16px;
            color: var(--text-light);
            display: flex;
            justify-content: center;
            gap: 14px;
            flex-wrap: wrap;
        }

        .result-toast-card {
            background: white;
            border-radius: var(--radius-md);
            border-left: 5px solid #2ecc71;
            box-shadow: var(--shadow-lg);
            padding: 20px;
            margin-top: 28px;
        }
        .result-header {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 800;
            font-size: 18px;
            margin-bottom: 14px;
            color: #2c6e2f;
        }
        .card-code-block {
            background: #f2f6fc;
            padding: 16px;
            border-radius: 14px;
            font-family: monospace;
            font-size: 18px;
            letter-spacing: 1px;
            word-break: break-all;
            margin: 15px 0;
        }
        .copy-action {
            display: flex;
            gap: 12px;
            justify-content: flex-end;
        }
        .copy-btn {
            background: var(--primary-light);
            border: none;
            padding: 8px 18px;
            border-radius: 40px;
            cursor: pointer;
            font-weight: 600;
        }

        .articles-section {
            margin-top: 48px;
        }
        .section-head {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            margin-bottom: 24px;
            border-bottom: 2px solid var(--border);
            padding-bottom: 12px;
        }
        .section-head h3 {
            font-size: 22px;
            font-weight: 700;
            color: var(--primary-dark);
        }
        .more-link {
            font-size: 13px;
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
        }
        .article-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }
        .article-card {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            border: 1px solid var(--border);
            padding: 24px;
            transition: 0.25s;
        }
        .article-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
        }
        .article-title {
            font-weight: 700;
            font-size: 18px;
            margin-bottom: 12px;
        }
        .article-meta {
            font-size: 12px;
            color: var(--text-light);
            margin-bottom: 14px;
            display: flex;
            gap: 12px;
        }
        .article-excerpt {
            font-size: 13px;
            color: var(--text-mid);
            margin-bottom: 20px;
        }
        .read-more {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            font-size: 13px;
        }
        @media (max-width: 900px) {
            .article-grid { grid-template-columns: 1fr; }
        }

        .footer {
            background: #1e2a3e;
            color: #a0b3d9;
            padding: 48px 28px 28px;
            margin-top: 60px;
        }
        .footer-inner {
            max-width: 1600px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 32px;
        }
        .footer-col h4 {
            color: #f0f3f8;
            margin-bottom: 16px;
            font-size: 16px;
        }
        .footer-col ul {
            list-style: none;
        }
        .footer-col li {
            margin-bottom: 8px;
        }
        .footer-col a {
            color: #a0b3d9;
            text-decoration: none;
            font-size: 13px;
        }
        .footer-col a:hover { color: white; }
        .footer-bottom {
            text-align: center;
            margin-top: 40px;
            padding-top: 20px;
            border-top: 1px solid #2d3b4f;
            font-size: 12px;
        }
        .toast-msg {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            background: #1f2a44;
            color: white;
            padding: 10px 24px;
            border-radius: 60px;
            font-size: 14px;
            z-index: 999;
            animation: fadeInUp 0.2s;
        }
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateX(-50%) translateY(20px);}
            to { opacity: 1; transform: translateX(-50%) translateY(0);}
        }
        button:disabled { opacity: 0.6; cursor: not-allowed; }