:root {
    --bg-1: #0f1724;
    --bg-2: #0b1220;
    --surface: #ffffff;
    --muted: #6b7280;
    --accent: #1e90ff;
    --success: #10b981;
    --danger: #ef4444;
    --glass: rgba(255, 255, 255, 0.06);
    --radius-lg: 16px;
    --radius-md: 10px;
    --container-max: 980px;
}

/* Global resets and typography */
* {
    box-sizing: border-box
}

html,
body {
    height: 100%;
    margin: 0;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    color: var(--bg-1);
}

body {
    background: linear-gradient(180deg, #f5f7fb 0%, #eef2f6 100%);
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: center
}

.frame {
    width: 100%;
    max-width: var(--container-max);
    padding: 28px
}

.card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: 0 8px 28px rgba(17, 24, 39, 0.06);
}

/* Header / logo */
.logo {
    font-weight: 700;
    font-size: 28px;
    letter-spacing: -0.3px;
    display: inline-flex;
    align-items: center;
    gap: 8px
}

.logo span {
    display: inline-block
}

h1 {
    font-size: 26px;
    margin: 6px 0 12px;
    color: #0f1724
}

.description {
    color: var(--muted);
    font-size: 15px;
    margin: 0 auto 22px;
    max-width: 640px
}

/* CTA buttons grid */
.cta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 8px
}

.cta {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.02));
    cursor: pointer;
    border: 1px solid rgba(15, 23, 36, 0.04);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease
}

.cta:focus {
    outline: 3px solid rgba(30, 144, 255, 0.12);
    outline-offset: 3px
}

.cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(2, 6, 23, 0.06)
}

.cta img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover
}

.cta .btext {
    font-weight: 600;
    color: inherit
}

/* Brand color variants (kept from existing classes) */
.b1 {
    background: linear-gradient(180deg, #4285F4, #3367D6);
    color: #fff;
    border: none
}

.b2 {
    background: linear-gradient(180deg, #EA4335, #C33);
    color: #fff;
    border: none
}

.b3 {
    background: linear-gradient(180deg, #4d8fe4, #2f6fc4);
    color: #fff;
    border: none
}

.b4 {
    background: linear-gradient(180deg, #8f1189, #6d0f67);
    color: #fff;
    border: none
}

.b5 {
    background: linear-gradient(180deg, #10b981, #059669);
    color: #fff;
    border: none
}

/* Footer */
footer {
    margin-top: 22px;
    color: var(--muted);
    font-size: 13px;
    text-align: center
}

/* Modal modern styles */
.modal-backdrop.show {
    opacity: .5;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.55), rgba(2, 6, 23, 0.55));
    backdrop-filter: blur(4px)
}

.modal-modern .modal-dialog {
    max-width: 520px;
    margin: 1.75rem auto;
    transform: translateY(20px) scale(.98);
    opacity: 0;
    transition: transform .36s cubic-bezier(.2, .9, .2, 1), opacity .36s ease
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: hidden;
}

.modal.modal-modern.show .modal-dialog,
.modal-modern[data-state="open"] .modal-dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
    justify-content: center;
}

.modal-modern .modal-content {
    border-radius: 12px;
    padding: 20px;
    border: none;
    box-shadow: 0 14px 40px rgba(2, 6, 23, 0.12);
    overflow: hidden;
    width: auto;
}

.modal-modern .modal-header {
    border-bottom: none;
    padding-bottom: 8px
}

.modal-modern .modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f1724
}

.modal-modern .close {
    background: transparent;
    border: none;
    font-size: 20px;
    opacity: .6
}

.modal-modern .modal-body {
    color: #111;
    line-height: 1.5;
    padding-top: 8px
}

.modal-modern .modal-footer {
    border-top: none;
    padding-top: 12px;
    display: flex;
    gap: 10px;
    justify-content: flex-end
}

.modal-modern .btn-primary {
    background: var(--accent);
    border: none;
    padding: 10px 16px;
    border-radius: 10px
}

.modal-modern .btn-secondary {
    background: #ce6161;
    border: 1px solid rgba(15, 23, 36, 0.06);
    padding: 10px 14px;
    border-radius: 10px
} 

.data-image img {
    width: 96px;
    height: 96px;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06)
}

/* Form inputs */
.modal-modern .form-control {
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 36, 0.06);
    padding: 10px 12px
}

/* Small helpers */
.text-warning {
    color: var(--accent)
}

/* Responsive */
@media (max-width:720px) {

    .frame {
        padding: 5px;
    }

    .cta-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cta {
        padding: 10px 10px;
        width: -webkit-fill-available;
    }

    body {
        padding: 10px 5px
    }

    .card {
        padding: 40px 20px
    }

    .logo {
        font-size: 22px
    }

    .btext {
        margin-left: 10px;
        margin-top: 5px;
    }
}

@media (max-width:420px) {
    .data-image img {
        width: 72px;
        height: 72px
    }

    h1 {
        font-size: 20px
    }
}

/* Subtle micro-interactions */
.btn:active,
.cta:active {
    transform: translateY(1px)
}