:root {
    --accent: #3381CB;
    --bg: #0f1724;
    --glass: rgba(255,255,255,.04);
}

* {
    box-sizing: border-box;
    font-family: Inter, system-ui, Segoe UI, Roboto, Arial;
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(180deg, #071029 0%, #081226 60%);
    color: #e6eef8;
    padding: 40px 16px;
}

/* Layout */

.wrap {
    max-width: 1000px;
    margin: auto;
    display: grid;
    grid-template-columns: 440px 1fr;
    gap: 32px;
    align-items: start;
}

/* Cards */

.hero,
.preview {
    padding: 22px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.04);
    box-shadow: 0 6px 30px rgba(2,6,23,.6);
}

/* Fixed right side (desktop only) */

@media (min-width: 900px) {
    .preview {
        position: fixed;
        right: 40px;
        top: 80px;
        width: 420px;
    }

    /* .hero {
        margin-right: 480px;
    } */
}

/* Typography */

h1 {
    font-size: 20px;
    margin: 0 0 6px;
}

h2 {
    margin: 0 0 6px;
}

.lead {
    color: rgba(230,238,248,.78);
    margin-bottom: 16px;
}

p {
    color: rgba(230,238,248,.78);
}

/* Form */

form.card {
    margin-top: 12px;
    padding: 22px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
    border: 1px solid rgba(255,255,255,.04);
}

label {
    display: block;
    font-size: 12px;
    margin: 12px 0 6px;
    color: rgba(230,238,248,.8);
}

input,
select,
textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid rgba(255,255,255,.08);
    color: inherit;
    font-size: 14px;
}

textarea {
    resize: vertical;
}

/* Buttons */

.btn {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: #081226;
    background: linear-gradient(90deg, var(--accent), #1E3867);
    box-shadow: 0 8px 30px rgba(0,119,255,.15);
    transition: transform .15s ease;
}

.btn:active {
    transform: translateY(2px);
}

/* Preview content */

.preview {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Pulse */

.pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s infinite;
    margin: 18px 0;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(51,129,203,.4); }
    70% { box-shadow: 0 0 0 14px rgba(51,129,203,0); }
    100% { box-shadow: 0 0 0 0 rgba(51,129,203,0); }
}

/* Back home button */

.back-home {
    position: fixed;
    top: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--accent), #1E3867);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 0 10px rgba(51,129,203,.9);
    z-index: 9999;
    animation: glow 1.8s infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 8px rgba(51,129,203,.6); }
    to { box-shadow: 0 0 18px rgba(51,129,203,1); }
}

/* Responsive */

@media (max-width: 900px) {
    .wrap {
        grid-template-columns: 1fr;
    }

    .preview {
        position: static;
        width: auto;
        order: -1;
    }

    .hero {
        margin-right: 0;
    }
}

@media (max-width: 600px) {
    h1 { font-size: 18px; }
    input, select, textarea { padding: 10px; font-size: 13px; }
    .btn { width: 100%; }
}



.payment-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:12px;
margin-bottom:16px;
}

.pay-card{
border:1px solid rgba(255,255,255,.15);
padding:14px;
border-radius:12px;
cursor:pointer;
display:flex;
align-items:center;
gap:10px;
background:#0f1724;
transition:.25s;
}

.pay-card:hover{
border-color:#7cffb2;
transform:translateY(-2px);
}

.pay-card input{
accent-color:#7cffb2;
}


  .back-home {
            position: relative;
            left: 10px;
            margin-bottom: 16px;
            padding: 10px 18px;
            border-radius: 8px;
            background: linear-gradient(90deg, var(--accent), #1E3867);
            color: #fff;
            font-weight: 600;
            text-decoration: none;
            box-shadow: 0 0 8px rgba(51, 129, 203, 0.8);
            animation: glow 1.8s infinite alternate;
            transition: transform 0.2s ease;
        }

        .back-home:hover {
            transform: scale(1.05);
        }

        @keyframes glow {
            from {
                box-shadow: 0 0 8px rgba(51, 129, 203, 0.8), 0 0 16px rgba(51, 129, 203, 0.5);
            }

            to {
                box-shadow: 0 0 14px rgba(51, 129, 203, 1), 0 0 28px rgba(51, 129, 203, 0.8);
            }
        }

        .back-home {
            position: fixed;
            top: 16px;
            left: 16px;
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 10px 14px;
            border-radius: 8px;
            background: linear-gradient(90deg, var(--accent), #1E3867);
            color: #fff;
            font-weight: 600;
            text-decoration: none;
            box-shadow: 0 0 8px rgba(51, 129, 203, 0.8);
            animation: glow 1.8s infinite alternate;
            z-index: 9999;
            transition: transform 0.2s ease, padding 0.3s ease;
        }

        .back-home:hover {
            transform: scale(1.05);
        }

        @keyframes glow {
            from {
                box-shadow: 0 0 8px rgba(51, 129, 203, 0.8), 0 0 16px rgba(51, 129, 203, 0.5);
            }

            to {
                box-shadow: 0 0 14px rgba(51, 129, 203, 1), 0 0 28px rgba(51, 129, 203, 0.8);
            }
        }