.fwkv-survey,
.fwkv-survey * { box-sizing: border-box; }

.fwkv-survey {
    --ink: #081431;
    --text: #53627f;
    --blue: #2f6bff;
    --cyan: #13c7f5;
    position: relative;
    isolation: isolate;
    min-height: calc(100svh - 84px);
    padding: 22px 24px 64px;
    overflow: clip;
    background:
        linear-gradient(rgba(47,107,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(47,107,255,.045) 1px, transparent 1px),
        radial-gradient(circle at 14% 18%, rgba(94,102,255,.14), transparent 28%),
        radial-gradient(circle at 88% 78%, rgba(19,199,245,.14), transparent 28%),
        #f7faff;
    background-size: 44px 44px, 44px 44px, auto, auto, auto;
    color: var(--text);
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

.fwkv-survey-glow {
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.75) 44%, transparent 72%);
}

.fwkv-survey-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    width: min(1180px, 100%);
    min-height: 72px;
    margin: 0 auto 22px;
    padding: 14px 18px;
    border: 1px solid rgba(211,226,248,.96);
    border-radius: 18px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 16px 45px rgba(24,66,142,.09);
    backdrop-filter: blur(16px);
}

.fwkv-survey-brand a,
.fwkv-survey-brand img { display: block; }
.fwkv-survey-brand img { width: min(300px, 58vw); height: auto; }
.fwkv-survey-brand > span { display: inline-flex; align-items: center; gap: 9px; color: #476080; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.fwkv-survey-brand i { width: 9px; height: 9px; border-radius: 50%; background: #26c77a; box-shadow: 0 0 0 6px rgba(38,199,122,.12); }

.fwkv-survey-shell {
    display: grid;
    grid-template-columns: minmax(350px, .76fr) minmax(520px, 1.24fr);
    align-items: stretch;
    width: min(1180px, 100%);
    min-height: 680px;
    margin: auto;
    overflow: hidden;
    border: 1px solid #cfdef4;
    border-radius: 28px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 32px 90px rgba(18,61,136,.15);
}

.fwkv-survey-visual {
    position: relative;
    isolation: isolate;
    min-height: 680px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 54%, rgba(47,107,255,.22), transparent 38%),
        linear-gradient(155deg, #eef4ff, #dfeeff 52%, #cadfff);
}

.fwkv-survey-visual::before { content: ""; position: absolute; z-index: -1; inset: 17% -24% auto auto; width: 390px; aspect-ratio: 1; border: 1px solid rgba(47,107,255,.22); border-radius: 50%; box-shadow: 0 0 0 46px rgba(47,107,255,.035), 0 0 0 92px rgba(47,107,255,.025); }
.fwkv-survey-visual-copy { position: relative; z-index: 3; padding: 42px 38px 0; }
.fwkv-survey-visual-copy > span { color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.fwkv-survey-visual-copy h1 { margin: 14px 0 13px; color: var(--ink); font: 700 clamp(38px, 4vw, 58px)/.98 "Space Grotesk", system-ui, sans-serif; letter-spacing: 0; }
.fwkv-survey-visual-copy h1 strong { display: block; color: var(--blue); font-weight: 700; }
.fwkv-survey-visual-copy p { max-width: 360px; margin: 0; font-size: 14px; line-height: 1.65; font-weight: 650; }
.fwkv-survey-visual > img { position: absolute; z-index: 2; right: -4%; bottom: -2px; width: 90%; height: 58%; object-fit: contain; object-position: right bottom; filter: drop-shadow(0 30px 38px rgba(17,51,117,.18)); }
.fwkv-survey-proof { position: absolute; z-index: 4; left: 26px; right: 26px; bottom: 24px; display: grid; grid-template-columns: auto 1fr auto 1fr; align-items: center; gap: 7px 11px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.76); border-radius: 16px; background: rgba(255,255,255,.76); box-shadow: 0 16px 38px rgba(20,59,128,.14); backdrop-filter: blur(15px); }
.fwkv-survey-proof b { color: var(--ink); font-size: 18px; }
.fwkv-survey-proof span { font-size: 10px; font-weight: 800; }

.fwkv-survey-panel { display: flex; flex-direction: column; min-width: 0; padding: 34px 38px 26px; }
.fwkv-survey-progress { margin-bottom: 28px; }
.fwkv-survey-progress > div { height: 7px; overflow: hidden; border-radius: 99px; background: #e7eef9; }
.fwkv-survey-progress > div span { display: block; width: 8.34%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), #6557ff, var(--cyan)); box-shadow: 0 0 18px rgba(47,107,255,.3); transition: width 420ms cubic-bezier(.22,.75,.2,1); }
.fwkv-survey-progress p { display: flex; justify-content: space-between; gap: 16px; margin: 10px 0 0; color: #74829a; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.fwkv-survey-progress b { color: var(--blue); }
.fwkv-survey-panel form { flex: 1; min-height: 0; }
.fwkv-survey-step { display: none; min-height: 520px; flex-direction: column; animation: fwkvSurveyIn 380ms ease both; }
.fwkv-survey-step.is-active { display: flex; }
.fwkv-survey-step-head > span { color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .11em; }
.fwkv-survey-step-head h2 { margin: 10px 0 8px; color: var(--ink); font: 700 clamp(28px, 3vw, 40px)/1.02 "Space Grotesk", system-ui, sans-serif; letter-spacing: 0; }
.fwkv-survey-step-head p { max-width: 620px; margin: 0; font-size: 13px; line-height: 1.6; font-weight: 650; }
.fwkv-survey-fields { flex: 1; margin-top: 24px; }
.fwkv-survey-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.fwkv-survey-field { display: block; margin-bottom: 17px; }
.fwkv-survey-field > span,
.fwkv-survey-choice legend { display: block; margin: 0 0 8px; color: #172747; font-size: 12px; line-height: 1.4; font-weight: 800; }
.fwkv-survey-field b,
.fwkv-survey-choice b { color: #e73563; }
.fwkv-survey-field input,
.fwkv-survey-field select,
.fwkv-survey-field textarea { width: 100%; min-height: 52px; padding: 13px 14px; border: 1px solid #d2e0f4; border-radius: 13px; outline: 0; background: #f9fbff; color: var(--ink); font: 650 15px/1.45 "Plus Jakarta Sans", system-ui, sans-serif; transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.fwkv-survey-field textarea { min-height: 120px; resize: vertical; }
.fwkv-survey-field input:focus,
.fwkv-survey-field select:focus,
.fwkv-survey-field textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(47,107,255,.11); }
.fwkv-survey-field > small { display: block; margin-top: 6px; color: #7a879d; font-size: 10px; font-weight: 800; text-align: right; }
.fwkv-survey-choice { margin: 0; padding: 0; border: 0; }
.fwkv-survey-choice > div { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.fwkv-survey-choice label { min-width: 0; cursor: pointer; }
.fwkv-survey-choice input { position: absolute; opacity: 0; pointer-events: none; }
.fwkv-survey-choice label > span { display: flex; align-items: center; gap: 11px; min-height: 56px; padding: 12px 13px; border: 1px solid #d6e3f5; border-radius: 13px; background: #f8fbff; color: #2d3e5b; font-size: 12px; line-height: 1.38; font-weight: 700; transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.fwkv-survey-choice label i { flex: 0 0 18px; width: 18px; height: 18px; border: 2px solid #b6c9e7; border-radius: 50%; box-shadow: inset 0 0 0 4px #fff; }
.fwkv-survey-choice input[type="checkbox"] + span i { border-radius: 5px; }
.fwkv-survey-choice input:checked + span { border-color: var(--blue); background: #eef4ff; color: #0b2352; box-shadow: 0 10px 25px rgba(47,107,255,.12); transform: translateY(-1px); }
.fwkv-survey-choice input:checked + span i { border-color: var(--blue); background: var(--blue); }
.fwkv-survey-choice input:focus-visible + span { outline: 3px solid rgba(47,107,255,.22); outline-offset: 2px; }

.fwkv-survey-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid #e2eaf6; }
.fwkv-survey-actions button { min-height: 52px; padding: 13px 22px; border-radius: 14px; cursor: pointer; font: 850 13px/1 "Plus Jakarta Sans", system-ui, sans-serif; transition: transform 180ms ease, box-shadow 180ms ease; }
.fwkv-survey-next,
.fwkv-survey-submit { margin-left: auto; border: 1px solid rgba(255,255,255,.34); background: linear-gradient(135deg, var(--blue), #5e55f7); color: #fff; box-shadow: 0 15px 34px rgba(47,107,255,.25); }
.fwkv-survey-back { border: 1px solid #cbdaf0; background: #f5f8fd; color: #233a61; }
.fwkv-survey-actions button:hover { transform: translateY(-2px); }
.fwkv-survey-privacy { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 10px; align-items: center; margin-top: 18px; padding-top: 18px; border-top: 1px solid #e2eaf6; }
.fwkv-survey-privacy > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #eef4ff; color: var(--blue); font-weight: 900; }
.fwkv-survey-privacy p { margin: 0; font-size: 10px; line-height: 1.5; font-weight: 650; }
.fwkv-survey-privacy strong { color: var(--ink); }
.fwkv-survey-alert { display: grid; gap: 4px; margin: 0 0 18px; padding: 13px 15px; border: 1px solid #ffc7d5; border-radius: 12px; background: #fff1f5; color: #861b3a; font-size: 11px; line-height: 1.5; }
.fwkv-survey-hp { position: fixed !important; left: -9999px !important; }

.fwkv-survey-success { display: grid; place-items: center; min-height: calc(100svh - 84px); }
.fwkv-survey-success > div { width: min(620px, 100%); padding: 48px 36px; border: 1px solid #d3e1f5; border-radius: 28px; background: rgba(255,255,255,.95); box-shadow: 0 30px 90px rgba(18,61,136,.15); text-align: center; }
.fwkv-survey-success img { width: min(310px, 80%); height: auto; }
.fwkv-survey-success span { display: grid; place-items: center; width: 64px; height: 64px; margin: 30px auto 20px; border-radius: 50%; background: linear-gradient(135deg, #2f6bff, #13c7f5); color: #fff; font-size: 30px; }
.fwkv-survey-success h1 { margin: 0; color: var(--ink); font: 700 48px/1 "Space Grotesk", system-ui, sans-serif; }
.fwkv-survey-success p { max-width: 480px; margin: 16px auto 24px; line-height: 1.7; }
.fwkv-survey-success a { display: inline-flex; padding: 14px 22px; border-radius: 13px; background: var(--blue); color: #fff; font-weight: 800; text-decoration: none; }

@keyframes fwkvSurveyIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }

@media (max-width: 900px) {
    .fwkv-survey-shell { grid-template-columns: 1fr; }
    .fwkv-survey-visual { min-height: 330px; }
    .fwkv-survey-visual-copy { padding: 30px 28px 0; }
    .fwkv-survey-visual-copy h1 { max-width: 470px; font-size: 44px; }
    .fwkv-survey-visual > img { right: -8%; width: 58%; height: 86%; }
    .fwkv-survey-proof { right: auto; width: min(360px, calc(100% - 42px)); }
}

@media (max-width: 600px) {
    .fwkv-survey { padding: 12px 10px 40px; }
    .fwkv-survey-brand { min-height: 62px; margin-bottom: 10px; padding: 11px 12px; border-radius: 14px; }
    .fwkv-survey-brand img { width: min(220px, 56vw); }
    .fwkv-survey-brand > span { font-size: 8px; }
    .fwkv-survey-shell { border-radius: 20px; }
    .fwkv-survey-visual { min-height: 240px; }
    .fwkv-survey-visual-copy { padding: 23px 20px 0; }
    .fwkv-survey-visual-copy h1 { max-width: 74%; margin-top: 10px; font-size: 32px; }
    .fwkv-survey-visual-copy p { max-width: 67%; font-size: 11px; }
    .fwkv-survey-visual > img { right: -13%; width: 64%; height: 88%; }
    .fwkv-survey-proof { left: 14px; bottom: 12px; width: calc(100% - 28px); padding: 10px 11px; }
    .fwkv-survey-proof b { font-size: 14px; }
    .fwkv-survey-proof span { font-size: 8px; }
    .fwkv-survey-panel { padding: 24px 16px 20px; }
    .fwkv-survey-progress { margin-bottom: 22px; }
    .fwkv-survey-step { min-height: 520px; }
    .fwkv-survey-step-head h2 { font-size: 30px; }
    .fwkv-survey-grid,
    .fwkv-survey-choice > div { grid-template-columns: 1fr; gap: 8px; }
    .fwkv-survey-field { margin-bottom: 13px; }
    .fwkv-survey-field input,
    .fwkv-survey-field select,
    .fwkv-survey-field textarea { min-height: 50px; font-size: 16px; }
    .fwkv-survey-choice label > span { min-height: 50px; padding: 10px 11px; }
    .fwkv-survey-actions { position: sticky; bottom: 0; z-index: 4; margin: 20px -4px 0; padding: 14px 4px 2px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff 28%); }
    .fwkv-survey-actions button { min-height: 50px; padding: 12px 16px; }
    .fwkv-survey-privacy { margin-top: 14px; }
    .fwkv-survey-success h1 { font-size: 38px; }
}

@media (prefers-reduced-motion: reduce) {
    .fwkv-survey-step,
    .fwkv-survey-progress > div span,
    .fwkv-survey-actions button { animation: none !important; transition: none !important; }
}
