.nfq-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: #1a2b4c;
}

.nfq-progress {
    width: 100%;
    height: 6px;
    background: #e9edf5;
    border-radius: 4px;
    margin-bottom: 30px;
    overflow: hidden;
}

.nfq-progress-bar {
    height: 100%;
    background: #1a2b4c;
    transition: width 0.3s ease;
}

.nfq-headline {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.nfq-subheadline {
    font-size: 14px;
    color: #5a6b8c;
    margin-bottom: 20px;
    line-height: 1.5;
}

.nfq-card-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.nfq-card {
    display: block;
    border: 2px solid #e2e7f1;
    border-radius: 10px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.nfq-card:hover {
    border-color: #94a8d8;
}

.nfq-card input[type="radio"] {
    position: absolute;
    top: 16px;
    right: 16px;
}

.nfq-card:has(input:checked) {
    border-color: #1a2b4c;
    background: #f5f7fc;
}

.nfq-card-title {
    display: block;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
}

.nfq-card-desc {
    display: block;
    font-size: 13px;
    color: #5a6b8c;
    line-height: 1.4;
}

.nfq-slider-group label {
    display: block;
    margin-top: 18px;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
}

.nfq-slider-val {
    display: inline-block;
    background: #1a2b4c;
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 8px;
}

.nfq-slider {
    width: 100%;
    accent-color: #1a2b4c;
}

.nfq-fieldset {
    border: 1px solid #e2e7f1;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.nfq-fieldset legend {
    font-weight: 700;
    padding: 0 6px;
    font-size: 14px;
}

.nfq-fieldset label {
    display: block;
    font-size: 14px;
    padding: 6px 0;
    cursor: pointer;
}

.nfq-fieldset label.nfq-inline {
    display: inline-block;
    margin-right: 16px;
}

.nfq-subquestion {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #e2e7f1;
    font-size: 14px;
}

.nfq-subquestion span {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.nfq-textarea {
    width: 100%;
    border: 1px solid #e2e7f1;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
}

.nfq-field {
    margin-bottom: 16px;
}

.nfq-field label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
}

.nfq-field input[type="text"],
.nfq-field input[type="email"],
.nfq-field input[type="tel"] {
    width: 100%;
    border: 1px solid #e2e7f1;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
}

.nfq-error, .nfq-submit-error {
    color: #c0392b;
    font-size: 13px;
    margin-top: 10px;
    min-height: 16px;
}

.nfq-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 28px;
    gap: 10px;
}

.nfq-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.nfq-btn-back {
    background: #e9edf5;
    color: #1a2b4c;
}

.nfq-btn-next,
.nfq-btn-submit {
    background: #1a2b4c;
    color: #fff;
    margin-left: auto;
}

.nfq-btn:hover {
    opacity: 0.85;
}

.nfq-thankyou {
    text-align: center;
    padding: 30px 0;
}
