/* ── WAITLIST MODAL ── */
.wl-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10, 14, 26, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: overlayIn 0.25s ease forwards;
}

.wl-modal-overlay.open {
    display: flex;
}

@keyframes overlayIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.wl-modal {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 460px;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08);
    animation: modalIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: #e2e8f0 transparent;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.wl-modal-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #0c4a6e 100%);
    padding: 2rem 2rem 1.6rem;
    border-radius: 20px 20px 0 0;
    position: relative;
    overflow: hidden;
}

.wl-modal-header::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.wl-modal-header::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 20px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.wl-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    z-index: 2;
    line-height: 1;
}

.wl-modal-close:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.wl-modal-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(56, 189, 248, 0.9);
    margin-bottom: 0.4rem;
    position: relative;
    z-index: 1;
}

.wl-modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 0.4rem;
    position: relative;
    z-index: 1;
}

.wl-modal-sub {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-family: 'Outfit', sans-serif;
    position: relative;
    z-index: 1;
}

.wl-modal-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 100px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #34d399;
    font-family: 'Outfit', sans-serif;
    margin-top: 0.9rem;
    position: relative;
    z-index: 1;
}

.wl-modal-chip-dot {
    width: 6px;
    height: 6px;
    background: #34d399;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.wl-modal-body {
    padding: 1.75rem 2rem 2rem;
}

/* Toggle */
.wl-tog {
    display: flex;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
    margin-bottom: 1.25rem;
}

.wl-tog-btn {
    flex: 1;
    border: none;
    background: transparent;
    border-radius: 9px;
    padding: 0.55rem 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.wl-tog-btn.on {
    background: #fff;
    color: #0f172a;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

/* Fields */
.wl-f {
    margin-bottom: 1rem;
}

.wl-l {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.35rem;
    letter-spacing: 0.01em;
}

.wl-i, .wl-sel {
    width: 100%;
    padding: 0.65rem 0.875rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: #0f172a;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    -webkit-appearance: none;
}

.wl-i:focus, .wl-sel:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.wl-i::placeholder {
    color: #9ca3af;
}

.wl-phone-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.wl-phone-prefix {
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    color: #374151;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.wl-phone-input {
    flex: 1;
}

/* Submit btn */
.wl-go {
    width: 100%;
    padding: 0.85rem;
    background: linear-gradient(135deg, #1e40af 0%, #0369a1 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
    box-shadow: 0 4px 14px rgba(30, 64, 175, 0.35);
    margin-top: 0.25rem;
    letter-spacing: 0.01em;
}

.wl-go:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.45);
}

.wl-go:active {
    transform: translateY(0);
}

.wl-foot {
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.85rem;
}

.wl-uk-note {
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    color: #cbd5e1;
    margin-top: 0.3rem;
}

/* Success state */
.wl-ok {
    display: none;
    text-align: center;
    padding: 1rem 0;
}

.wl-ok.show {
    display: block;
}

.wl-ok-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.2);
}

.wl-ok-icon svg {
    width: 28px;
    height: 28px;
}

.wl-ok h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.wl-ok p {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
}

/* ── STICKY CTA BAR (replaces old section for CTA access) ── */
.wl-sticky-bar {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 998;
    display: flex;
    gap: 0.625rem;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 0.5rem 0.6rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    animation: barSlideIn 0.6s 1s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    white-space: nowrap;
}

@keyframes barSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.wl-sticky-bar .btn-bar-prov {
    background: linear-gradient(135deg, #1e40af, #0369a1);
    color: #fff;
    border: none;
    border-radius: 100px;
    padding: 0.55rem 1.1rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 2px 10px rgba(30, 64, 175, 0.4);
}

.wl-sticky-bar .btn-bar-prov:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 16px rgba(30, 64, 175, 0.5);
}

.wl-sticky-bar .btn-bar-cust {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    padding: 0.55rem 1.1rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.wl-sticky-bar .btn-bar-cust:hover {
    background: rgba(255, 255, 255, 0.14);
}

/* ── SECTION WAITLIST (now just an anchor + minimal CTA) ── */
.section-waitlist-new {
    padding: 5rem 0 4rem;
    text-align: center;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.section-waitlist-new .label {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 100px;
    padding: 0.3rem 0.8rem;
    margin-bottom: 0.75rem;
}

.section-waitlist-new .section-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.section-waitlist-new .section-sub {
    font-family: 'Newsreader', serif;
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.65;
    max-width: 440px;
    margin: 0 auto 2rem;
}

.wl-open-btns {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.wl-open-btns .btn-prov-open {
    background: linear-gradient(135deg, #1e40af, #0369a1);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 0.85rem 1.75rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 16px rgba(30, 64, 175, 0.35);
}

.wl-open-btns .btn-prov-open:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(30, 64, 175, 0.45);
}

.wl-open-btns .btn-cust-open {
    background: #f1f5f9;
    color: #0f172a;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.85rem 1.75rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.wl-open-btns .btn-cust-open:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.wl-note-free {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    color: #94a3b8;
}

.wl-note-free strong {
    color: #0f172a;
}

/* Field error state */
.wl-i.wl-err,
.wl-sel.wl-err {
    border-color: #ef4444 !important;
    background: rgba(239,68,68,.04);
}
.wl-field-err {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    color: #ef4444;
    margin-top: 0.3rem;
    min-height: 1rem;
}

/* Inline spinner on the submit button */
.wl-go .wl-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: wl-spin .7s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}
@keyframes wl-spin { to { transform: rotate(360deg); } }

/* Toast notification */
#wl-toast {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #1e293b;
    color: #f8fafc;
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.75rem 1.4rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,.35);
    border-left: 4px solid #3b82f6;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, transform .3s;
    z-index: 99999;
    max-width: 90vw;
    text-align: center;
}
#wl-toast.wl-toast-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
#wl-toast.wl-toast-err  { border-left-color: #ef4444; }
#wl-toast.wl-toast-warn { border-left-color: #f59e0b; }
#wl-toast.wl-toast-ok   { border-left-color: #10b981; }


/* Field error state */
.wl-i.wl-err,
.wl-sel.wl-err,
input.wl-err,
select.wl-err {
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, .04) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .12) !important;
}

.wl-field-err {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    color: #ef4444;
    margin-top: 0.3rem;
    min-height: 1rem;
}

/* Inline spinner on the submit button */
.wl-go .wl-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, .4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: wl-spin .7s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

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

/* Toast notification */
#wl-toast {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #1e293b;
    color: #f8fafc;
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.75rem 1.4rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .35);
    border-left: 4px solid #3b82f6;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, transform .3s;
    z-index: 99999;
    max-width: 90vw;
    text-align: center;
}

#wl-toast.wl-toast-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

#wl-toast.wl-toast-err {
    border-left-color: #ef4444;
}

#wl-toast.wl-toast-warn {
    border-left-color: #f59e0b;
}

#wl-toast.wl-toast-ok {
    border-left-color: #10b981;
}
