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

        :root {
            --bg: #f8f9fa;
            --surface: #ffffff;
            --border: #ddd;
            --accent: #6a39b7;
            --accent-dim: rgba(106,57,183,0.08);
            --text: #2c3e50;
            --muted: #7a7a82;
            --error: #e74c3c;
            --header-bg: #262e39;
            --footer-bg: #262e39;
            --footer-text: #ccc;
            --radius: 10px;
            --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
        }

        body {
            background: var(--bg);
            color: var(--text);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* Header */
        .site-header {
            background: var(--header-bg);
            padding: 20px 15px;
        }

        .site-header img {
            width: 200px;
        }

        /* Main */
        main {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 3rem 1rem;
        }

        .panel {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 2rem;
            width: 100%;
            max-width: 480px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .product-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            font-size: 0.7rem;
            font-weight: 600;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--accent);
            background: var(--accent-dim);
            padding: 0.3rem 0.75rem;
            border-radius: 99px;
            width: fit-content;
        }

        .product-name {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text);
            line-height: 1.2;
        }

        .product-desc {
            font-size: 0.875rem;
            color: var(--muted);
            line-height: 1.7;
        }

        .divider { height: 1px; background: var(--border); }

        .currency-label {
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--muted);
            margin-bottom: 0.6rem;
        }

        .currency-switcher { display: flex; gap: 0.5rem; }

        .currency-btn {
            flex: 1;
            background: var(--bg);
            border: 2px solid var(--border);
            color: var(--muted);
            font-size: 0.85rem;
            font-weight: 600;
            padding: 0.5rem 0;
            border-radius: 8px;
            cursor: pointer;
            transition: all var(--transition);
        }

        .currency-btn:hover { border-color: var(--accent); color: var(--accent); }
        .currency-btn.active { background: var(--accent-dim); border-color: var(--accent); color: var(--accent); }

        .price-display { display: flex; align-items: flex-end; gap: 0.5rem; }

        .price-amount {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--accent);
            line-height: 1;
        }

        .price-label { font-size: 0.85rem; color: var(--muted); padding-bottom: 0.3rem; }

        .line-items { display: flex; flex-direction: column; gap: 0.5rem; }

        .line-item {
            display: flex;
            justify-content: space-between;
            font-size: 0.9rem;
            color: var(--muted);
        }

        .line-item.total {
            color: var(--text);
            font-weight: 700;
            padding-top: 0.5rem;
            border-top: 1px solid var(--border);
        }

        .error-msg { font-size: 0.82rem; color: var(--error); display: none; }
        .error-msg.visible { display: block; }

        .pay-btn {
            background: var(--accent);
            color: #fff;
            border: none;
            border-radius: 8px;
            font-size: 1.1rem;
            font-weight: 700;
            padding: 1rem;
            cursor: pointer;
            width: 100%;
            transition: transform var(--transition), opacity var(--transition);
        }

        .pay-btn:hover { opacity: 0.9; transform: translateY(-1px); }
        .pay-btn:active { transform: translateY(0); }
        .pay-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

        .pay-btn .btn-text { display: flex; align-items: center; justify-content: center; gap: 0.5rem; }

        .spinner {
            display: none;
            width: 18px;
            height: 18px;
            border: 2px solid rgba(255,255,255,0.3);
            border-top-color: #fff;
            border-radius: 50%;
            animation: spin 0.7s linear infinite;
            margin: 0 auto;
        }

        .pay-btn.loading .btn-text { display: none; }
        .pay-btn.loading .spinner  { display: block; }

        .secure-note {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.4rem;
            font-size: 0.75rem;
            color: var(--muted);
        }

        /* Footer */
        .site-footer {
            background: var(--footer-bg);
            padding: 20px 30px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .site-footer a {
            color: var(--footer-text);
            text-decoration: none;
            font-size: 0.85rem;
        }

        .site-footer a:hover { text-decoration: underline; }

        .footer-right {
            display: flex;
            gap: 1.5rem;
        }

        @media (max-width: 600px) {
            .site-footer {
                flex-direction: column;
                align-items: flex-start;
            }
            .footer-right { flex-direction: column; gap: 0.5rem; }
        }

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


        .form-height{
        background: #fff;
        border-radius: 8px;
        padding-top: 20px;
        padding-left: 10px;
        padding-right: 10px;
    }