@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --page-bg: #f1f2f6;
    --surface: #ffffff;
    --panel-bg: #fcfcfe;
    --line: #a6bcff;
    --line-soft: #ebedf4;
    --primary: #2f67f6;
    --primary-strong: #2457dd;
    --text: #37383d;
    --muted: #8a8f9b;
    --muted-strong: #6f7583;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    font-family: 'Manrope', sans-serif;
    background: #e6e6e8;
    color: var(--text);
}

img {
    max-width: 100%;
}

.gateway-layout {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: clamp(10px, 2vw, 16px);
}

.gateway-card {
    width: min(620px, 100%);
    max-width: 100%;
    padding: 30px 30px 42px;
    background: var(--surface);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.brand-row {
    display: flex;
    margin-bottom: 26px;
}

.brand-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 266px;
    min-height: 94px;
    padding: 10px 14px 10px 12px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(47, 103, 246, 0.04);
    overflow: hidden;
}

.brand-chip__logo {
    width: 190px;
    height: 70px;
    object-fit: contain;
    display: block;
}

.brand-chip__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 28px;
    padding: 0 10px;
    border: 1px solid #f3c761;
    border-radius: 8px;
    color: #d79b17;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.payment-box {
    border: 1.5px solid var(--line);
    border-radius: 18px;
    background: var(--panel-bg);
    overflow: hidden;
}

.payment-box__head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 18px 18px 18px;
}

.payment-box__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f2f3f7;
    color: var(--primary);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.payment-box__icon svg,
.feature-icon svg,
.info-toggle__arrow {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.payment-box__title h1 {
    margin: 2px 0 8px;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 800;
}

.payment-box__title,
.qr-panel__copy,
.upi-direct-card__title {
    min-width: 0;
}

.network-list {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.network {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 800;
    color: #194abf;
}

.network--upi {
    color: #2f67f6;
    letter-spacing: 0.03em;
}

.network--muted {
    color: #7a8292;
}

.order-summary {
    margin: 0 18px 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px dashed rgba(47, 103, 246, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    font-weight: 700;
    color: #1f2a44;
    box-shadow: 0 10px 18px rgba(47, 103, 246, 0.08);
}

.order-summary__label {
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 10px;
}

.order-summary__value {
    text-align: right;
    font-weight: 800;
    color: #2f3b52;
}

.upi-inline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.copy-icon-button {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid rgba(47, 103, 246, 0.25);
    background: #ffffff;
    color: #2f67f6;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.copy-icon-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(47, 103, 246, 0.18);
}

.copy-icon-button svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.upi-highlight {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: linear-gradient(120deg, rgba(47, 103, 246, 0.18), rgba(111, 197, 255, 0.2));
    color: #1d4ed8;
    font-weight: 800;
    animation: upiGlow 2s ease-in-out infinite;
    box-shadow: 0 0 0 rgba(47, 103, 246, 0.35);
}

.upi-highlight--amount {
    background: linear-gradient(120deg, rgba(255, 200, 90, 0.2), rgba(255, 142, 83, 0.25));
    color: #c2410c;
    animation: upiPulse 1.8s ease-in-out infinite;
}

@keyframes upiGlow {
    0% { box-shadow: 0 0 0 0 rgba(47, 103, 246, 0.25); transform: translateY(0); }
    50% { box-shadow: 0 0 0 8px rgba(47, 103, 246, 0.05); transform: translateY(-1px); }
    100% { box-shadow: 0 0 0 0 rgba(47, 103, 246, 0.25); transform: translateY(0); }
}

@keyframes upiPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 141, 83, 0.35); }
    50% { box-shadow: 0 0 0 10px rgba(255, 141, 83, 0.08); }
    100% { box-shadow: 0 0 0 0 rgba(255, 141, 83, 0.35); }
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    padding: 16px 14px 18px;
    background: #ffffff;
}

.feature-item {
    text-align: center;
    padding: 2px 6px 0;
    min-width: 0;
}

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    margin: 0 auto 10px;
    color: #ffffff;
}

.feature-icon--blue {
    background: #2f67f6;
}

.feature-icon--coral {
    background: #f28764;
}

.feature-icon--amber {
    background: #ffb600;
}

.feature-icon--green {
    background: #41b867;
}

.feature-label {
    display: block;
    font-size: 12px;
    line-height: 1.35;
    color: #4a4f59;
    font-weight: 600;
}

.qr-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 110px;
    gap: 16px;
    align-items: start;
    padding: 16px 18px 18px;
    background: #ffffff;
    border-top: 1px solid var(--line-soft);
}

.qr-panel--hidden .qr-panel__copy {
    min-height: 108px;
}

.qr-panel__copy {
    display: grid;
    gap: 7px;
}

.qr-panel__eyebrow {
    color: #2f67f6;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.qr-panel__amount {
    font-size: 19px;
    line-height: 1.1;
    font-weight: 800;
    color: #2d2f35;
}

.qr-panel__upi,
.qr-panel__order {
    font-size: 12px;
    line-height: 1.4;
    color: #7a8292;
    font-weight: 700;
    word-break: break-all;
}

.qr-panel__image {
    width: 110px;
    height: 110px;
    border-radius: 12px;
    border: 1px solid #ecedf2;
    background: #ffffff;
    display: block;
}

.qr-panel__trigger {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    display: block;
}

.qr-panel__trigger--placeholder,
.qr-panel__trigger--preview {
    width: 110px;
    height: 110px;
    border-radius: 12px;
    border: 1px dashed #c9d5fb;
    background: linear-gradient(180deg, #fbfcff, #f3f7ff);
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 8px;
    color: #3e67eb;
    cursor: pointer;
}

.qr-panel__placeholder-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
}

.qr-panel__placeholder-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.qr-panel__placeholder-text {
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.qr-panel__trigger--preview {
    padding: 8px;
}

.qr-panel__thumb {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    display: block;
    object-fit: cover;
    border: 1px solid #e7ebf6;
    background: #ffffff;
}

.qr-panel__actions {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.info-toggle {
    width: 100%;
    border: 0;
    background: #f7f8fb;
    border-top: 1px solid var(--line-soft);
    color: #597df2;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    padding: 17px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.info-toggle__arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.info-toggle[aria-expanded='true'] .info-toggle__arrow {
    transform: rotate(180deg);
}

.info-panel {
    padding: 0 18px 18px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted-strong);
    background: #f7f8fb;
}

.pay-button {
    appearance: none;
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 16px 20px;
    border: 0;
    border-radius: 28px;
    background: var(--primary);
    color: #ffffff;
    text-decoration: none;
    text-align: center;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.01em;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.pay-button:hover {
    background: var(--primary-strong);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(36, 87, 221, 0.18);
}

.save-qr-button {
    appearance: none;
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 13px 20px;
    border-radius: 18px;
    border: 1.5px solid #cad6ff;
    background: linear-gradient(110deg, #f7f9ff 0%, #edf3ff 38%, #ffffff 50%, #edf3ff 62%, #f7f9ff 100%);
    background-size: 220% 100%;
    color: #436ded;
    text-decoration: none;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.03em;
    font-family: inherit;
    cursor: pointer;
    animation: saveButtonSweep 2.8s ease-in-out infinite;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.save-qr-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(67, 109, 237, 0.14);
}

.save-qr-button--inline {
    margin-top: 0;
    font-size: 11px;
    padding: 12px 10px;
}

.save-qr-button.is-loading {
    background: #eaf0ff;
    animation: none;
    color: #335ed6;
    cursor: wait;
}

.save-qr-button.is-saved {
    background: #2f67f6;
    animation: none;
    color: #ffffff;
    border-color: #2f67f6;
}

.save-qr-button.is-error {
    background: #fff2f3;
    animation: none;
    color: #b74c58;
    border-color: #f4c8cd;
}

.app-strip {
    display: flex;
    justify-content: center;
    margin: 30px auto 0;
    max-width: 100%;
}

.app-strip img {
    width: min(100%, 596px);
    height: auto;
    object-fit: contain;
    display: block;
}

.steps-box,
.verify-box {
    margin-top: 26px;
    padding: 18px 18px 20px;
    border: 1px solid #edf0f6;
    border-radius: 18px;
    background: #fbfcff;
}

.steps-box h2,
.verify-box__head h2 {
    margin: 0;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 800;
    color: #2f3238;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.step-card {
    position: relative;
    min-height: 120px;
    padding: 16px 16px 16px 56px;
    border-radius: 18px;
    border: 1px solid #e3e9fb;
    background:
        radial-gradient(circle at top right, rgba(47, 103, 246, 0.12), transparent 45%),
        linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.step-card__number {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #2f67f6;
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.step-card p {
    margin: 0;
    color: #566072;
    font-size: 13px;
    line-height: 1.65;
    font-weight: 700;
}

.step-card strong {
    color: #20242d;
}

.step-card mark {
    background: #e8efff;
    color: #2f67f6;
    border-radius: 7px;
    padding: 2px 6px;
}

.verify-box__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.verify-box__head span {
    color: #7d8594;
    font-size: 12px;
    font-weight: 700;
}

.upi-copy-button,
.verify-button {
    appearance: none;
    border: 0;
    cursor: pointer;
    font: inherit;
}

.upi-copy-button {
    min-height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    background: #eef3ff;
    color: #3b67eb;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.03em;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.upi-copy-button:hover,
.verify-button:hover {
    transform: translateY(-1px);
}

.upi-copy-button--primary {
    background: #2f67f6;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(47, 103, 246, 0.16);
}

.verify-form {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.verify-input {
    flex: 1 1 220px;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid #dde4f2;
    background: #ffffff;
    color: #333843;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
}

.verify-input:focus {
    outline: none;
    border-color: #8ca7ff;
    box-shadow: 0 0 0 3px rgba(47, 103, 246, 0.08);
}

.verify-button {
    min-height: 48px;
    padding: 0 20px;
    border-radius: 14px;
    background: #2f67f6;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.verify-status {
    margin-top: 14px;
    border-radius: 14px;
    padding: 14px 15px;
    font-size: 13px;
    line-height: 1.6;
    font-weight: 700;
}

.verify-status--idle {
    background: #f3f6fb;
    color: #6d7685;
}

.verify-status--success {
    background: #e8f7ef;
    color: #1c7f4a;
}

.verify-status--warning {
    background: #fff4de;
    color: #9d6c14;
}

.verify-status--danger {
    background: #fdebed;
    color: #b1424e;
}

.upi-direct-card {
    margin-top: 26px;
    border: 1.5px solid var(--line);
    border-radius: 18px;
    background: var(--panel-bg);
    overflow: hidden;
}

.upi-direct-card__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: #ffffff;
    border-bottom: 1px solid var(--line-soft);
}

.upi-direct-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #f1f4ff;
    color: #2f67f6;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.upi-direct-card__icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.upi-direct-card__title {
    flex: 1 1 auto;
}

.upi-direct-card__title h2 {
    margin: 2px 0 6px;
    color: #20242d;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 800;
}

.upi-direct-card__title p {
    margin: 0;
    color: #6c7484;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 700;
}

.upi-direct-card__head > span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eef3ff;
    color: #3f68eb;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.upi-direct-card__body {
    padding: 18px;
    background:
        radial-gradient(circle at top right, rgba(47, 103, 246, 0.08), transparent 34%),
        linear-gradient(180deg, #fcfdff, #f6f9ff);
}

.upi-direct-card__text {
    margin: 0;
    color: #586173;
    font-size: 13px;
    line-height: 1.65;
    font-weight: 700;
}

.upi-direct-card__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.upi-direct-card__value {
    padding: 16px;
    border-radius: 18px;
    border: 1px solid #dbe5ff;
    background: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.upi-direct-card__value--amount {
    background:
        radial-gradient(circle at top right, rgba(47, 103, 246, 0.14), transparent 52%),
        linear-gradient(180deg, #ffffff, #f7faff);
}

.upi-direct-card__label {
    display: block;
    color: #7a8292;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.upi-direct-card__value-text {
    display: block;
    margin-top: 10px;
    color: #20242d;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.upi-direct-card__value--amount .upi-direct-card__value-text {
    color: #2f67f6;
    font-size: 24px;
}

.upi-direct-card__actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.protection-card {
    margin-top: 32px;
    padding: 28px 28px 30px;
    border-radius: 36px;
    background: #eef2fb;
    overflow: hidden;
    position: relative;
}

.protection-card::before {
    content: '';
    position: absolute;
    inset: -20% auto auto 62%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(47, 103, 246, 0.18), transparent 68%);
    animation: protectionFloat 5s ease-in-out infinite;
}

.protection-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    height: 32px;
    border-radius: 8px;
    background: #08a05c;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.protection-card h2 {
    position: relative;
    margin: 18px 0 24px;
    font-size: clamp(2.4rem, 6.2vw, 3.8rem);
    line-height: 0.98;
    font-weight: 800;
    color: #0d1017;
    z-index: 1;
}

.protection-card__panel {
    position: relative;
    padding: 24px 24px 0;
    border: 3px solid #3b63ff;
    border-radius: 28px;
    background: linear-gradient(180deg, #ffffff, #fafcff);
    box-shadow: 0 14px 34px rgba(59, 99, 255, 0.18);
    z-index: 1;
}

.protection-card__tag {
    position: absolute;
    top: -3px;
    right: -3px;
    min-height: 42px;
    padding: 0 20px;
    border-radius: 0 22px 0 18px;
    background: #3b63ff;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 800;
}

.protection-card__panel-head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-right: 30px;
}

.protection-card__panel-head > div {
    min-width: 0;
}

.protection-card__icon-wrap {
    position: relative;
    width: 82px;
    height: 82px;
    flex: 0 0 auto;
}

.protection-card__icon-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 6px solid #2f55ea;
    box-shadow: inset 0 0 0 8px rgba(47, 85, 234, 0.15);
    animation: protectionPulse 2.8s ease-in-out infinite;
}

.protection-card__icon {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #2f55ea;
    font-size: 42px;
    font-weight: 800;
}

.protection-card__eyebrow {
    display: block;
    color: #14161c;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.protection-card__title {
    display: block;
    margin-top: 2px;
    color: #223249;
    font-size: clamp(2.2rem, 5.2vw, 3.3rem);
    line-height: 0.95;
    font-weight: 800;
}

.protection-card__arrow {
    margin-left: auto;
    color: #8293b0;
    font-size: 56px;
    line-height: 1;
}

.protection-card__benefit {
    margin-top: 20px;
    padding: 20px 2px 22px;
    border-top: 1px solid #dbe2f2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.protection-card__benefit-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 3px solid #3b63ff;
    color: #3b63ff;
    display: grid;
    place-items: center;
    font-size: 18px;
    font-weight: 800;
    flex: 0 0 auto;
}

.protection-card__benefit p {
    margin: 0;
    color: #3a3f49;
    font-size: clamp(1.35rem, 4vw, 2rem);
    line-height: 1.15;
    font-weight: 600;
}

.protection-card__benefit strong {
    color: #3b63ff;
    font-weight: 800;
}

.qr-modal {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: grid;
    place-items: center;
}

.qr-modal[hidden] {
    display: none !important;
}

.qr-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(15, 20, 31, 0.62);
    cursor: pointer;
}

.qr-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(94vw, 520px);
    padding: 58px 20px 20px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.qr-modal__close-button {
    position: absolute;
    top: 12px;
    right: 12px;
    min-width: 104px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: #2f67f6;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 10px 24px rgba(47, 103, 246, 0.25);
    cursor: pointer;
    z-index: 2;
}

.qr-modal__close-button span {
    font-size: 24px;
    line-height: 1;
}

.qr-modal__close-button small {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.qr-modal__dialog img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    cursor: zoom-out;
}

.text-link {
    display: block;
    width: 100%;
    margin-top: 24px;
    border: 0;
    padding: 0;
    background: transparent;
    color: #4f75ef;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}

.separator-text {
    margin: 22px 0 12px;
    text-align: center;
    color: #a5aab5;
    font-size: 13px;
    font-weight: 700;
}

.text-link--strong {
    margin-top: 0;
    font-size: 16px;
    font-weight: 800;
}

@media (max-width: 860px) {
    .gateway-card {
        padding: 26px 22px 34px;
    }

    .protection-card {
        padding: 24px 22px 24px;
        border-radius: 30px;
    }

    .protection-card h2 {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .protection-card__title {
        font-size: clamp(1.8rem, 4.8vw, 2.8rem);
    }
}

@media (max-width: 680px) {
    .gateway-layout {
        padding: 10px;
    }

    .gateway-card {
        padding: 18px 12px 24px;
    }

    .brand-row {
        margin-bottom: 18px;
    }

    .brand-chip {
        width: 100%;
        max-width: 230px;
        min-height: 78px;
        padding: 8px 10px;
    }

    .brand-chip__logo {
        width: 162px;
        height: 56px;
    }

    .brand-chip__tag {
        min-width: 42px;
        height: 26px;
        padding: 0 8px;
    }

    .payment-box,
    .upi-direct-card,
    .steps-box,
    .verify-box {
        border-radius: 16px;
    }

    .payment-box__head,
    .info-toggle,
    .info-panel,
    .qr-panel,
    .verify-box,
    .steps-box,
    .upi-direct-card__head,
    .upi-direct-card__body {
        padding-left: 14px;
        padding-right: 14px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 14px;
    }

    .feature-item {
        padding: 0;
    }

    .feature-icon {
        width: 38px;
        height: 38px;
        margin-bottom: 8px;
    }

    .feature-label {
        font-size: 11px;
    }

    .qr-panel {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .qr-panel__copy {
        gap: 6px;
    }

    .qr-panel__actions {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .qr-panel__trigger--preview,
    .save-qr-button--inline {
        width: 100%;
        min-height: 92px;
        height: 92px;
        border-radius: 14px;
    }

    .qr-panel__trigger--preview {
        padding: 8px;
        gap: 6px;
    }

    .qr-panel__thumb {
        width: 46px;
        height: 46px;
    }

    .save-qr-button--inline {
        margin-top: 0;
        padding: 8px;
        font-size: 10px;
        display: grid;
        place-items: center;
    }

    .pay-button {
        margin-top: 16px;
        padding: 14px 18px;
        border-radius: 22px;
        font-size: 13px;
    }

    .app-strip {
        margin-top: 22px;
    }

    .steps-grid,
    .upi-direct-card__grid {
        grid-template-columns: 1fr;
    }

    .step-card {
        min-height: 0;
        padding: 14px 14px 14px 50px;
    }

    .step-card__number {
        top: 14px;
        left: 14px;
    }

    .verify-form,
    .upi-direct-card__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .verify-button,
    .upi-copy-button {
        width: 100%;
    }

    .upi-direct-card__head,
    .verify-box__head {
        flex-wrap: wrap;
    }

    .upi-direct-card__value {
        padding: 14px;
    }

    .upi-direct-card__value-text {
        font-size: 16px;
    }

    .upi-direct-card__value--amount .upi-direct-card__value-text {
        font-size: 20px;
    }

    .protection-card {
        margin-top: 24px;
        padding: 20px 16px 20px;
        border-radius: 24px;
    }

    .protection-card::before {
        width: 130px;
        height: 130px;
    }

    .protection-card__badge {
        min-width: 64px;
        height: 28px;
        font-size: 11px;
    }

    .protection-card h2 {
        margin: 14px 0 18px;
        font-size: clamp(1.9rem, 9vw, 2.6rem);
    }

    .protection-card__panel {
        padding: 18px 16px 0;
        border-width: 2px;
        border-radius: 22px;
    }

    .protection-card__tag {
        min-height: 34px;
        padding: 0 14px;
        font-size: 11px;
        border-radius: 0 18px 0 14px;
    }

    .protection-card__panel-head {
        gap: 12px;
        padding-right: 0;
        flex-wrap: wrap;
    }

    .protection-card__icon-wrap {
        width: 62px;
        height: 62px;
    }

    .protection-card__icon-ring {
        border-width: 5px;
        box-shadow: inset 0 0 0 6px rgba(47, 85, 234, 0.15);
    }

    .protection-card__icon {
        font-size: 32px;
    }

    .protection-card__eyebrow {
        font-size: 13px;
    }

    .protection-card__title {
        font-size: clamp(1.5rem, 8vw, 2.2rem);
    }

    .protection-card__arrow {
        margin-left: 0;
        font-size: 36px;
    }

    .protection-card__benefit {
        margin-top: 16px;
        padding: 16px 0 18px;
        align-items: flex-start;
    }

    .protection-card__benefit p {
        font-size: clamp(1rem, 5vw, 1.35rem);
        line-height: 1.25;
    }

    .qr-modal__dialog {
        width: min(92vw, 460px);
        padding: 52px 14px 14px;
        border-radius: 18px;
    }

    .qr-modal__close-button {
        top: 10px;
        right: 10px;
        min-width: 94px;
        height: 36px;
    }

    .qr-modal__close-button span {
        font-size: 21px;
    }
}

@media (max-width: 420px) {
    .gateway-layout {
        padding: 8px;
    }

    .gateway-card {
        padding: 16px 10px 20px;
    }

    .payment-box__head {
        gap: 10px;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .payment-box__icon {
        width: 32px;
        height: 32px;
        border-radius: 9px;
    }

    .payment-box__title h1,
    .steps-box h2,
    .verify-box__head h2,
    .upi-direct-card__title h2 {
        font-size: 15px;
    }

    .network-list {
        gap: 8px;
    }

    .network {
        font-size: 11px;
    }

    .feature-grid {
        padding: 12px;
        gap: 8px;
    }

    .qr-panel {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .qr-panel__amount {
        font-size: 17px;
    }

    .qr-panel__eyebrow,
    .qr-panel__upi,
    .qr-panel__order,
    .info-toggle,
    .info-panel,
    .verify-box__head span,
    .verify-status,
    .upi-direct-card__text,
    .step-card p {
        font-size: 12px;
    }

    .steps-box,
    .verify-box {
        margin-top: 18px;
        padding: 14px 12px 16px;
    }

    .upi-direct-card__head,
    .upi-direct-card__body {
        padding: 14px 12px;
    }

    .step-card {
        padding: 12px 12px 12px 46px;
    }

    .step-card__number {
        top: 12px;
        left: 12px;
        width: 26px;
        height: 26px;
        font-size: 10px;
    }

    .verify-input,
    .verify-button,
    .upi-copy-button {
        min-height: 44px;
    }

    .protection-card {
        padding: 18px 12px 18px;
    }

    .protection-card__panel {
        padding: 16px 12px 0;
    }
}

@keyframes saveButtonSweep {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes protectionFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(-10px, 10px, 0);
    }
}

@keyframes protectionPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.06);
        opacity: 0.9;
    }
}
