/* ========== Payment section (split + receipt) ========== */
.payment {
    position: relative;
    padding: 100px 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(255, 26, 140, .10) 0, transparent 35%),
        radial-gradient(circle at 70% 90%, rgba(10, 79, 255, .10) 0, transparent 40%),
        #f6f7fb;
    overflow: hidden;
}

/* subtle dotted grid in background */
.payment::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#d5d9e5 1.2px, transparent 1.2px);
    background-size: 26px 26px;
    mask-image: linear-gradient(90deg, transparent 40%, #000 75%);
    -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 75%);
    pointer-events: none;
}

.payment-inner {
    position: relative;
    max-width: 1280px;
    display: grid;
    grid-template-columns: 1fr 480px;
    align-items: center;
    gap: 80px;
}

/* ---------- Left ---------- */
.payment-eyebrow {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 12px;
}

.payment-title {
    font-size: 54px;
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -1.2px;
    color: var(--heading);
    margin-bottom: 18px;
}

.payment-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--muted);
    max-width: 520px;
    margin-bottom: 36px;
}

.payment-trust {
    list-style: none;
    display: grid;
    gap: 18px;
    margin-bottom: 36px;
}

.payment-trust li {
    display: flex;
    align-items: center;
    gap: 16px;
}

.trust-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e6e8f0;
    display: grid;
    place-items: center;
    color: var(--primary);
}

.payment-trust li:nth-child(2) .trust-icon { color: var(--accent); }
.payment-trust li:nth-child(3) .trust-icon { color: #0aa5c2; }

.trust-icon svg,
.receipt-car-icon svg,
.pm-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.payment-trust strong {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--heading);
}

.payment-trust span { font-size: 15px; color: var(--muted); }

/* Accepted apps */
.payment-apps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.apps-label {
    font-size: 14px;
    color: var(--muted);
    margin-right: 6px;
}

.app-chip {
    font-size: 14px;
    font-weight: 600;
    color: var(--heading);
    background: #fff;
    border: 1px solid #e6e8f0;
    padding: 6px 12px;
    border-radius: 8px;
}

/* ---------- Right: receipt ---------- */
.receipt-wrap {
    position: relative;
    transform: rotate(1.5deg);
    transition: transform .3s;
}

.receipt-wrap:hover { transform: rotate(0deg); }

.receipt {
    --notch: 14px;
    position: relative;
    background: #fff;
    border-radius: 24px;
    padding: 28px 28px 26px;
    box-shadow: 0 30px 60px rgba(11, 11, 26, .14), 0 4px 10px rgba(11, 11, 26, .05);
}

.receipt-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eef0f5;
    margin-bottom: 18px;
}

.receipt-car-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
}

.receipt-head strong {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--heading);
}

.receipt-head div span { font-size: 14px; color: var(--muted); }

/* Ticket perforation: half-circle notches + dashed line */
.receipt-cut {
    position: relative;
    height: 2px;
    margin: 22px -28px 18px;
    background: repeating-linear-gradient(90deg, #d9dce6 0 8px, transparent 8px 16px);
}

.receipt-cut::before,
.receipt-cut::after {
    content: "";
    position: absolute;
    top: 50%;
    width: calc(var(--notch) * 2);
    height: calc(var(--notch) * 2);
    margin-top: calc(var(--notch) * -1);
    border-radius: 50%;
    background: #f6f7fb;
}

.receipt-cut::before { left: calc(var(--notch) * -1); }
.receipt-cut::after  { right: calc(var(--notch) * -1); }

/* Payment method options */
.pay-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.pay-method-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1.5px solid #e6e8f0;
    border-radius: 14px;
    transition: border-color .2s, background .2s;
}

.pay-method-box:hover { border-color: var(--primary); background: var(--primary-soft); }
.pay-method-box:hover .pm-icon { background: var(--primary); color: #fff; }

.pm-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f2f4fa;
    color: var(--heading);
    display: grid;
    place-items: center;
    transition: background .2s, color .2s;
}

.pm-icon svg { width: 21px; height: 21px; }

.pm-text { display: flex; flex-direction: column; min-width: 0; }

.pm-text strong { font-size: 15px; font-weight: 600; color: var(--heading); }

.pm-text small {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.3;
}

/* Notes under the perforation */
.pay-notes {
    list-style: none;
    display: grid;
    gap: 12px;
}

.pay-notes li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #3a3d4a;
}

.note-check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e3f9ee;
    color: #12a05c;
    display: grid;
    place-items: center;
}

.note-check svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Round "secure checkout" stamp */
.paid-stamp {
    position: absolute;
    top: -34px;
    right: -30px;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotate(14deg);
    box-shadow: 0 10px 24px rgba(255, 26, 140, .35);
    outline: 2px dashed rgba(255, 255, 255, .7);
    outline-offset: -9px;
    line-height: 1.1;
}

.paid-stamp span { font-size: 13px; font-weight: 500; }
.paid-stamp strong { font-size: 16px; font-weight: 700; }

/* ========== Responsive ========== */
@media (max-width: 1100px) {
    .payment-inner { grid-template-columns: 1fr 440px; gap: 50px; }
    .payment-title { font-size: 44px; }
}

@media (max-width: 900px) {
    .payment { padding: 64px 0 80px; }
    .payment-inner { grid-template-columns: 1fr; gap: 56px; }
    .receipt-wrap { max-width: 480px; width: 100%; justify-self: center; }
}

@media (max-width: 560px) {
    .payment-title { font-size: 34px; }
    .payment-subtitle { font-size: 16px; }
    .receipt-wrap { transform: none; }
    .receipt { padding: 22px 18px 20px; border-radius: 20px; }
    .receipt-head { padding-right: 64px; }
    .receipt-cut { margin: 18px -18px 16px; }
    .pay-methods { grid-template-columns: 1fr; }
    .paid-stamp { width: 84px; height: 84px; top: -30px; right: -6px; }
    .paid-stamp span { font-size: 11px; }
    .paid-stamp strong { font-size: 13px; }
}