.nf-wrapper {
    --nf-bg: #000000;
    --nf-white: #ffffff;
    --nf-soft-white: #d7d7d7;
    --nf-muted: #8f8f8f;
    --nf-accent: #18d2b6;
    --nf-accent-2: #59d5f5;
    --nf-danger: #ff6a6a;
    --nf-border: rgba(24, 210, 182, 0.45);
    --nf-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.nf-open-btn {
    background: linear-gradient(180deg, #42E397 0%, #3BB4B6 95.56%) !important;
    width: 100%;
    max-width: 400px !important;
    display: block;
    min-width: 100%;
    border: 2px solid #ffff !important;
    color: #fff !important;
    padding: 15px 50px !important;
}


.nf-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.nf-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.nf-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(2px);
}

.nf-dialog {
    position: relative;
    width: min(920px, calc(100vw - 24px));
    max-height: calc(100vh - 24px);
    overflow: hidden;
    background: var(--nf-bg);
    color: var(--nf-white);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: var(--nf-shadow);
    border-radius: 16px;
    padding: 24px 22px 28px;
    transform: translateY(20px) scale(0.985);
    transition: transform 0.25s ease;
}

.nf-modal.is-open .nf-dialog {
    transform: translateY(0) scale(1);
}

.nf-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    border: 0 !important;
    color: #009688 !important;
    background: #fff !important;
    font-size: 20px !important;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    min-width: fit-content !important;
    display: inline-flex !important;
    padding: 0 !important;
}

.nf-header {
    padding: 0 6px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.nf-header h2 {
    margin: 0;
    font-size: 25px !important;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nf-stepper-wrap {
    margin: 24px 6px 12px;
}

.nf-stepper {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.nf-step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--nf-muted);
    font-size: 14px;
    white-space: nowrap;
}

.nf-step-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.nf-step-item.is-active {
    color: #f5f5f5;
}

.nf-step-item.is-active .nf-step-dot {
    border-color: var(--nf-accent);
    color: var(--nf-accent);
}

.nf-step-item.is-done .nf-step-dot {
    border-color: var(--nf-accent);
    background: var(--nf-accent);
    color: #0a1614;
    font-size: 14px;
}

.nf-progress-line {
    position: relative;
    height: 4px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.85);
    margin-top: 14px;
    overflow: hidden;
}
a.nf-privacy-link {
    color: #3BB4B6;
    margin-bottom: 10px;
    display: inline-block;
    border: 1px solid;
    padding: 4px 20px;
    border-radius: 28px;
}
.nf-privacy-link:hover {
    background: rgba(59, 180, 182, 0.1);
    color: #fff !important;
}
.nf-progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, var(--nf-accent), #28e0c4);
    transition: width 0.25s ease;
}
.nf-form-wrap{
    overflow-y: auto;
    height: calc(100vh - 220px);
}
.nf-form-wrap::-webkit-scrollbar {
    width: 5px;
}

.nf-form-wrap::-webkit-scrollbar-track {
    border-radius: 8px;
    background-color: #e7e7e7;
    border: 1px solid #cacaca;
}

.nf-form-wrap::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background-clip: content-box;
    background-color: #009688 !important;
}
.nf-form {
    margin-top: 8px;
    padding: 0 6px;
}

.nf-step {
    display: none;
    animation: nfStepIn 0.22s ease;
}

.nf-step.is-active {
    display: block;
}

@keyframes nfStepIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nf-step-kicker {
    margin: 0 0 14px;
    color: var(--nf-accent);
    font-weight: 700;
    font-size: 18px;
}

.nf-step h3 {
    margin: 0 0 22px;
    font-size: 24px I !important;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.nf-field {
    margin-bottom: 0px;
}

.nf-field-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr 1fr;
}

.nf-label,
.nf-field label {
    display: block;
    margin-bottom: 8px;
    color: #f0f0f0;
    font-size: 16px !important;
    line-height: 1.35;
}

.nf-field label span,
.nf-label span {
    color: #bcece3;
}

.nf-label small {
    font-size: 14px;
    color: #bcbcbc;
}

.nf-helper {
    margin: 0 0 10px;
    color: var(--nf-muted);
    font-size: 13px;
}

.nf-field input[type="text"],
.nf-field input[type="email"],
.nf-field input[type="number"],
.nf-field input[type="tel"],
.nf-field textarea {
    width: 100%;
    border-radius: 30px;
    border:0 !important;
    background: #020202;
    color: #ffffff;
    padding: 12px 18px;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0px 0px 4px 0px #42E297;
}

.nf-field textarea {
    border-radius: 22px;
    resize: vertical;
    min-height: 120px;
}

.nf-field input::placeholder,
.nf-field textarea::placeholder {
    color: #686868;
}

.nf-field input:focus,
.nf-field textarea:focus {
    outline: none;
    border-color: var(--nf-accent);
    box-shadow: 0 0 0 3px rgba(24, 210, 182, 0.22);
}

.nf-choice-list {
    display: grid;
    gap: 12px;
}

.nf-choice-pill,
.nf-toggle-pill {
    position: relative;
    display: block;
    border: 2px solid var(--nf-border);
    border-radius: 999px;
    color: #f1f1f1;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.nf-choice-pill {
    padding: 12px 16px 12px 38px;
    font-size: 16px;
}

.nf-choice-pill::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 2px solid rgba(197, 197, 197, 0.88);
    transform: translateY(-50%);
}

.nf-choice-pill input,
.nf-toggle-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nf-choice-pill:has(input:checked),
.nf-toggle-pill:has(input:checked) {
    border-color: var(--nf-accent);
    background: rgba(24, 210, 182, 0.08);
}

.nf-choice-pill.is-selected,
.nf-toggle-pill.is-selected {
    border-color: var(--nf-accent);
    background: rgba(24, 210, 182, 0.08);
}

.nf-choice-pill:has(input:checked)::before {
    border-color: var(--nf-accent);
    background: var(--nf-accent);
}

.nf-choice-pill.is-selected::before {
    border-color: var(--nf-accent);
    background: var(--nf-accent);
}

.nf-inline-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.nf-toggle-pill {
    min-width: 150px;
    text-align: center;
    padding: 11px 16px;
    font-size: 15px;
}

.nf-toggle-pill span {
    display: block;
    line-height: 1.2;
}

.nf-error {
    margin: 8px 0 8px 0;
    min-height: 18px;
    color: var(--nf-danger);
    font-size: 13px;
}

.nf-field.is-invalid input,
.nf-field.is-invalid textarea,
.nf-field.is-invalid .nf-choice-list,
.nf-field.is-invalid .nf-inline-options {
    border-color: var(--nf-danger);
}

.nf-review {
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.02);
}

.nf-review-item {
    padding: 10px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.18);
}

.nf-review-item:last-child {
    border-bottom: 0;
}

.nf-review-item strong {
    display: inline-block;
    min-width: 200px;
    color: #d9d9d9;
}

.nf-review-item span {
    color: #ffffff;
}

.nf-submit-message {
    margin: 16px 0 0;
    font-size: 14px;
    color: #8ef0df;
}

.nf-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
}

.nf-btn {
    appearance: none;
    border-radius: 999px;
    padding: 12px 28px;
    line-height: 1;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nf-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.nf-btn-secondary {
    border: 2px solid #fff !important;
    color: #fff !important;
    background: linear-gradient(180deg, #42E397 0%, #3BB4B6 95.56%) !important;
}

.nf-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.07);
}

.nf-btn-primary {
    border: 2px solid #fff !important;
    color: #fff !important;
    background: linear-gradient(180deg, #42E397 0%, #3BB4B6 95.56%) !important;
}

.nf-btn-primary:hover {
    filter: brightness(1.06);
}

body.nf-modal-open {
    overflow: hidden;
}

.nf-submit-message.is-success {
    color: #8ef0df;
}

.nf-submit-message.is-error {
    color: #ff7d7d;
}
@media (max-width: 1023px) {
    .nf-header h2 {
        font-size: clamp(26px, 7.4vw, 44px);
    }

    .nf-step h3 {
        font-size: clamp(24px, 8.5vw, 40px);
    }

    .nf-stepper {
        flex-wrap: wrap;
        row-gap: 10px;
    }

    .nf-step-label {
        font-size: 13px;
    }

    .nf-field-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .nf-dialog {
        width: calc(100vw - 12px);
        max-height: calc(100vh - 12px);
        border-radius: 12px;
        padding: 16px 12px 18px;
    }

    .nf-header {
        padding: 0 0 12px;
    }

    .nf-stepper-wrap,
    .nf-form {
        padding: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .nf-step-kicker {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .nf-label,
    .nf-field label {
        font-size: 16px;
    }

    .nf-choice-pill {
        font-size: 14px;
    }

    .nf-actions {
        flex-wrap: wrap;
    }

    .nf-btn {
        width: 100%;
    }
}
