:root {
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.alado-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

.alado-logo-wrap.light {
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    padding: 0.5rem 0.75rem;
    box-shadow: 0 14px 38px rgba(2, 6, 23, 0.18);
    backdrop-filter: blur(10px);
}

.alado-logo-main {
    display: block;
    width: clamp(220px, 28vw, 360px);
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.survey-body {
    background:
        radial-gradient(circle at 12% 8%, rgba(20, 119, 201, 0.16), transparent 28rem),
        linear-gradient(180deg, #eff8ff 0%, #f8fafc 36%, #eef6ff 100%);
}

.survey-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #07385f 0%, #0b64ad 58%, #1477c9 100%);
}

.survey-symbol-bg {
    position: absolute;
    right: -6%;
    bottom: -35%;
    width: min(58vw, 740px);
    opacity: 0.11;
    filter: saturate(1.15);
    pointer-events: none;
}

.survey-hero-grid,
.draw-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, black, transparent);
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.9rem 1rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.survey-hero-inner {
    position: relative;
    z-index: 1;
    width: min(100%, 1180px);
    min-height: clamp(460px, 62vh, 680px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    align-items: center;
    gap: clamp(1.25rem, 4vw, 3.5rem);
    padding: clamp(1.25rem, 4vw, 3rem) 1rem;
}

.survey-hero-copy {
    min-width: 0;
}

.hero-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 2rem;
}

.survey-hero-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.08));
    padding: 1.25rem;
    box-shadow: 0 24px 80px rgba(2, 6, 23, 0.26);
    backdrop-filter: blur(16px);
}

.survey-hero-card h2 {
    margin-top: 0.55rem;
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    line-height: 1.05;
    font-weight: 950;
    color: #fff;
}

.survey-hero-mark {
    width: min(100%, 240px);
    height: auto;
    margin: -1rem auto 0.35rem;
    opacity: 0.95;
    filter: drop-shadow(0 20px 40px rgba(2,6,23,0.18));
}

.hero-step-list {
    display: grid;
    gap: 0.55rem;
    margin-top: 1.25rem;
}

.hero-step-list span {
    display: flex;
    align-items: center;
    min-height: 2.4rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.13);
    padding: 0.55rem 0.75rem;
    color: #fff;
    font-size: 0.86rem;
    font-weight: 850;
}

.survey-main {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: clamp(1rem, 3vw, 2rem) 1rem 2rem;
}

.survey-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.survey-rail {
    position: sticky;
    top: 1rem;
}

.survey-rail-inner {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(20,119,201,0.16);
    border-radius: 8px;
    background: rgba(255,255,255,0.82);
    padding: 1rem;
    box-shadow: 0 20px 60px rgba(15,23,42,0.08);
    backdrop-filter: blur(14px);
}

.survey-rail-symbol {
    position: absolute;
    right: -4rem;
    bottom: -3rem;
    width: 13rem;
    opacity: 0.08;
}

.survey-progress {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.65rem;
    margin-top: 1rem;
}

.survey-progress li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 2.65rem;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff, #f4f9ff);
    padding: 0.55rem 0.65rem;
    color: rgb(51 65 85);
    font-size: 0.86rem;
    font-weight: 850;
    box-shadow: inset 0 0 0 1px rgba(148,163,184,0.18);
}

.survey-progress span {
    display: inline-flex;
    width: 1.65rem;
    height: 1.65rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #0b64ad;
    color: #fff;
    font-size: 0.76rem;
    font-weight: 950;
    flex: 0 0 auto;
}

.survey-form {
    min-width: 0;
}

.section-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,251,255,0.96)),
        radial-gradient(circle at 100% 0%, rgba(20,119,201,0.12), transparent 16rem);
    padding: 1.25rem;
    box-shadow: 0 18px 52px rgba(15, 23, 42, 0.075);
    animation: riseIn 0.45s ease both;
}

.section-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-top: 3px solid rgba(20,119,201,0.76);
}

.survey-form .section-panel:nth-of-type(2) {
    animation-delay: 0.04s;
}

.survey-form .section-panel:nth-of-type(3) {
    animation-delay: 0.08s;
}

.survey-form .section-panel:nth-of-type(4) {
    animation-delay: 0.12s;
}

.survey-form .section-panel:nth-of-type(5) {
    animation-delay: 0.16s;
}

.section-panel:hover {
    border-color: rgba(20,119,201,0.28);
}

.section-panel:hover::before {
    border-top-color: rgba(20,119,201,0.95);
}

@media (min-width: 768px) {
    .section-panel {
        padding: 1.5rem;
    }
}

.section-heading {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgb(226 232 240);
}

.section-heading h2 {
    font-size: 1.125rem;
    line-height: 1.5rem;
    font-weight: 800;
    color: rgb(15 23 42);
}

.section-heading p,
.question-block p,
.field-hint {
    color: rgb(100 116 139);
}

.step-badge {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #07385f, #1477c9);
    color: #fff;
    font-weight: 800;
    flex: 0 0 auto;
    box-shadow: 0 10px 24px rgba(20,119,201,0.28);
}

.field-label {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.45rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: rgb(51 65 85);
}

.field-label > span {
    transition: color 0.18s ease, transform 0.18s ease;
}

.field-label:focus-within > span {
    color: #0b64ad;
    transform: translateX(4px);
}

.field-input {
    width: 100%;
    min-height: 2.85rem;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.58);
    background:
        linear-gradient(180deg, #ffffff, #f8fbff) padding-box,
        linear-gradient(135deg, rgba(20,119,201,0.38), rgba(125,211,252,0.2)) border-box;
    padding: 0.82rem 0.95rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgb(15 23 42);
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 6px 18px rgba(15,23,42,0.035);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.field-input::placeholder {
    color: rgb(148 163 184);
}

select.field-input {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #0b64ad 50%),
        linear-gradient(135deg, #0b64ad 50%, transparent 50%),
        linear-gradient(180deg, #fff, #f8fbff);
    background-position:
        calc(100% - 18px) 50%,
        calc(100% - 12px) 50%,
        0 0;
    background-size:
        6px 6px,
        6px 6px,
        100% 100%;
    background-repeat: no-repeat;
    padding-right: 2.5rem;
}

.field-input:focus {
    border-color: #1477c9;
    box-shadow: 0 0 0 4px rgba(20, 119, 201, 0.12), 0 14px 30px rgba(20,119,201,0.1);
    transform: translateY(-2px);
}

.field-input.input-error {
    border-color: #dc2626;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.field-hint {
    font-size: 0.78rem;
    font-weight: 500;
}

.field-hint.is-loading {
    color: #0b64ad;
}

.field-hint.is-success {
    color: #047857;
}

.field-hint.is-error {
    color: #b91c1c;
}

.input-loading {
    color: transparent;
    background: linear-gradient(90deg, #eef2f7 25%, #dbeafe 38%, #eef2f7 63%);
    background-size: 400% 100%;
    animation: shimmer 1.1s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: 0 0;
    }
}

.question-block {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.85rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgb(241 245 249);
}

.question-block:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.question-block h3 {
    font-size: 1rem;
    font-weight: 800;
    color: rgb(30 41 59);
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.7rem;
}

.choice-grid.compact {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.choice-card {
    min-height: 3rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.5);
    border-radius: 8px;
    padding: 0.72rem 0.85rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: rgb(51 65 85);
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(15,23,42,0.035);
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
    user-select: none;
}

.choice-card::after {
    content: "";
    position: absolute;
    right: 0.75rem;
    top: 50%;
    width: 0.45rem;
    height: 0.85rem;
    border: solid #0b64ad;
    border-width: 0 2px 2px 0;
    opacity: 0;
    transform: translateY(-58%) rotate(45deg) scale(0.8);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.choice-card:hover {
    border-color: #1477c9;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(20,119,201,0.1);
}

.choice-card input {
    width: 1rem;
    height: 1rem;
    accent-color: #0b64ad;
    flex: 0 0 auto;
}

.choice-card:has(input:checked) {
    border-color: #0b64ad;
    background: linear-gradient(180deg, #eef7ff, #ffffff);
    color: #07385f;
    box-shadow: 0 16px 34px rgba(20, 119, 201, 0.14);
    padding-right: 2rem;
}

.choice-card:has(input:checked)::after {
    opacity: 1;
    transform: translateY(-58%) rotate(45deg) scale(1);
}

.nps-grid {
    display: grid;
    grid-template-columns: repeat(11, minmax(0, 1fr));
    gap: 0.45rem;
}

.nps-option {
    aspect-ratio: 1 / 1;
    min-height: 2.55rem;
    position: relative;
    cursor: pointer;
}

.nps-option input {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.nps-option span {
    display: flex;
    height: 100%;
    min-width: 2.45rem;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid rgb(203 213 225);
    color: rgb(51 65 85);
    font-weight: 800;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: 0 8px 18px rgba(15,23,42,0.04);
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.nps-option:hover span {
    transform: translateY(-2px);
    border-color: #1477c9;
}

.sticky-submit {
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
}

.submit-button {
    position: relative;
    overflow: hidden;
}

.submit-button::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.24), transparent);
    transform: translateX(-110%);
    transition: transform 0.45s ease;
    pointer-events: none;
}

.submit-button:hover::after {
    transform: translateX(110%);
}

.nps-option input:checked + span {
    border-color: #0b64ad;
    background: linear-gradient(135deg, #07385f, #1477c9);
    color: white;
    box-shadow: 0 16px 30px rgba(20,119,201,0.24);
}

.legal-link {
    display: inline;
    border: 0;
    background: transparent;
    color: #0b64ad;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.62);
    padding: 1rem;
}

.modal-backdrop.hidden {
    display: none;
}

.modal-card {
    width: min(100%, 420px);
    border-radius: 8px;
    background: #fff;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 25px 80px rgba(15, 23, 42, 0.24);
    animation: modalIn 0.18s ease-out;
}

.modal-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 0.9rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.modal-icon.success {
    background: #047857;
}

.modal-icon.warning {
    background: #d97706;
}

.modal-icon.error {
    background: #dc2626;
}

.modal-card h2 {
    font-size: 1.35rem;
    font-weight: 900;
    color: rgb(15 23 42);
}

.modal-card p {
    margin-top: 0.6rem;
    color: rgb(71 85 105);
    line-height: 1.55;
}

.modal-card button {
    margin-top: 1.15rem;
    min-height: 2.65rem;
    border-radius: 8px;
    background: #0b64ad;
    color: #fff;
    padding: 0 1.25rem;
    font-weight: 800;
}

.legal-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(2, 6, 23, 0.66);
    padding: 1rem;
    backdrop-filter: blur(8px);
}

.legal-modal.hidden {
    display: none;
}

.legal-modal-card {
    width: min(100%, 820px);
    max-height: min(82vh, 760px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    background: #ffffff;
    box-shadow: 0 32px 110px rgba(2, 6, 23, 0.35);
    animation: modalIn 0.2s ease-out;
}

.legal-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid rgb(226 232 240);
    padding: 1rem 1.1rem;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.legal-modal-head h2 {
    margin-top: 0.15rem;
    color: rgb(15 23 42);
    font-size: 1.35rem;
    font-weight: 950;
}

.legal-modal-head button {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 8px;
    border: 1px solid rgb(203 213 225);
    background: #fff;
    color: rgb(51 65 85);
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 900;
}

.legal-modal-card .legal-content {
    overflow: auto;
    padding: 1.1rem;
}

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

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

.login-shell {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 1rem;
    background:
        radial-gradient(circle at top left, rgba(20, 119, 201, 0.35), transparent 26rem),
        linear-gradient(135deg, #020617 0%, #07385f 100%);
}

.login-card {
    width: min(100%, 440px);
    border: 1px solid rgb(226 232 240);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    padding: 1.6rem;
    box-shadow: 0 30px 90px rgba(2, 6, 23, 0.35);
}

.login-feature {
    display: grid;
    gap: 0.5rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    font-size: 0.85rem;
    font-weight: 800;
    color: #d8edff;
}

.dashboard-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #07385f, #0b64ad);
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(7, 56, 95, 0.18);
}

.action-icon {
    display: inline-flex;
    width: 2.25rem;
    height: 2.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid rgb(191 219 254);
    background: rgb(239 246 255);
    color: #0b64ad;
    transition: transform 0.16s ease, background-color 0.16s ease;
}

.action-icon:hover {
    transform: translateY(-1px);
    background: rgb(219 234 254);
}

.action-icon.danger {
    border-color: rgb(254 202 202);
    background: rgb(254 242 242);
    color: #b91c1c;
}

.editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0.6rem 0;
}

.editor-toolbar button {
    border-radius: 8px;
    border: 1px solid rgb(203 213 225);
    background: #fff;
    padding: 0.45rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 900;
    color: rgb(51 65 85);
}

.editor-surface {
    min-height: 240px;
    border-radius: 8px;
    border: 1px solid rgb(203 213 225);
    background: #fff;
    padding: 1rem;
    color: rgb(15 23 42);
    line-height: 1.65;
    outline: none;
}

.editor-surface:focus {
    border-color: #1477c9;
    box-shadow: 0 0 0 4px rgba(20, 119, 201, 0.13);
}

.legal-content {
    color: rgb(51 65 85);
    line-height: 1.75;
}

.legal-content h1,
.legal-content h2,
.legal-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: rgb(15 23 42);
    font-weight: 900;
}

.legal-content h2 {
    font-size: 1.35rem;
}

.legal-content h3 {
    font-size: 1.1rem;
}

.legal-content p,
.legal-content ul,
.legal-content ol {
    margin-top: 0.85rem;
}

.legal-content ul,
.legal-content ol {
    padding-left: 1.25rem;
}

.legal-content ul {
    list-style: disc;
}

.legal-content ol {
    list-style: decimal;
}

.draw-page {
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    background: #020617;
}

.draw-stage {
    position: relative;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: clamp(0.65rem, 1.5vh, 1rem);
    background:
        radial-gradient(circle at 50% 30%, rgba(56, 189, 248, 0.24), transparent 24rem),
        linear-gradient(135deg, #020617 0%, #07385f 44%, #0b64ad 100%);
    padding: clamp(0.65rem, 1.6vw, 1.25rem);
}

.draw-topbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    min-height: 0;
}

.draw-card {
    position: relative;
    z-index: 2;
    width: min(100%, 1180px);
    max-width: 1180px;
    height: 100%;
    min-height: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.1);
    padding: clamp(0.9rem, 2.4vw, 2rem);
    box-shadow: 0 30px 120px rgba(2,6,23,0.45);
    backdrop-filter: blur(14px);
}

.draw-eyebrow {
    color: #bfdbfe;
    font-size: clamp(0.68rem, 1.2vw, 0.88rem);
    font-weight: 950;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.draw-title {
    margin-top: clamp(0.35rem, 1vh, 0.75rem);
    color: #fff;
    font-size: clamp(1.75rem, 4.6vw, 4.3rem);
    line-height: 0.98;
    font-weight: 950;
}

.draw-display {
    position: relative;
    display: grid;
    flex: 1 1 auto;
    min-height: 0;
    place-items: center;
    overflow: hidden;
    margin-top: clamp(0.75rem, 2vh, 1.35rem);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.18);
    background: linear-gradient(135deg, rgba(7,56,95,0.85), rgba(20,119,201,0.45));
    text-align: center;
    padding: clamp(1rem, 3vw, 2rem);
}

.draw-display #drawStatus {
    font-size: clamp(0.7rem, 1.3vw, 0.9rem);
    letter-spacing: 0.18em;
}

.draw-display #drawName {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: clamp(2rem, 7vw, 6rem);
    line-height: 0.95;
}

.draw-display #drawMeta {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: clamp(0.9rem, 1.8vw, 1.2rem);
}

.draw-rings {
    position: absolute;
    width: min(42vh, 24rem);
    height: min(42vh, 24rem);
    border: 2px solid rgba(216,237,255,0.2);
    border-radius: 999px;
    animation: pulseRing 1.9s ease-in-out infinite;
}

.draw-rings::after,
.draw-rings::before {
    content: "";
    position: absolute;
    inset: -3rem;
    border: 1px solid rgba(216,237,255,0.14);
    border-radius: 999px;
}

.draw-rings::before {
    inset: 3rem;
}

.draw-display.is-spinning {
    animation: drawGlow 0.6s ease-in-out infinite alternate;
}

.draw-display.has-winner {
    background: linear-gradient(135deg, rgba(4,120,87,0.9), rgba(20,119,201,0.6));
}

.draw-field {
    display: grid;
    gap: 0.45rem;
    color: #d8edff;
    font-size: 0.85rem;
    font-weight: 900;
}

.draw-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: clamp(0.55rem, 1.3vw, 1rem);
    align-items: end;
    margin-top: clamp(0.75rem, 2vh, 1.25rem);
}

.draw-field input {
    min-height: clamp(2.55rem, 5vh, 3rem);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.12);
    padding: 0.8rem 0.95rem;
    color: #fff;
    outline: none;
}

.draw-primary,
.draw-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: clamp(2.55rem, 5vh, 3rem);
    border-radius: 8px;
    padding: 0 1.2rem;
    font-size: 0.9rem;
    font-weight: 950;
    color: #fff;
}

.draw-primary {
    background: #1477c9;
    min-width: 10rem;
}

.draw-primary:disabled {
    cursor: wait;
    opacity: 0.65;
}

.draw-secondary {
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.12);
}

.draw-footer-note {
    margin-top: clamp(0.55rem, 1.4vh, 1rem);
    color: #d8edff;
    font-size: clamp(0.72rem, 1.3vw, 0.88rem);
    font-weight: 750;
}

@media (max-height: 720px) {
    .draw-topbar .alado-logo-main {
        width: 220px;
    }

    .draw-card {
        padding: 0.85rem;
    }

    .draw-footer-note {
        display: none;
    }
}

@media (max-height: 580px) {
    .draw-topbar {
        display: none;
    }

    .draw-stage {
        grid-template-rows: minmax(0, 1fr);
    }
}

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

@keyframes drawGlow {
    from {
        box-shadow: inset 0 0 40px rgba(56,189,248,0.12), 0 0 30px rgba(56,189,248,0.18);
    }
    to {
        box-shadow: inset 0 0 80px rgba(56,189,248,0.24), 0 0 70px rgba(56,189,248,0.28);
    }
}

@media (max-width: 640px) {
    body {
        overflow-x: hidden;
    }

    .alado-logo-wrap.light {
        width: auto;
        max-width: 248px;
        padding: 0.38rem 0.55rem;
        border-radius: 8px;
    }

    .alado-logo-main {
        width: min(230px, 78vw);
    }

    .survey-hero-inner {
        grid-template-columns: 1fr;
        gap: 1rem;
        min-height: auto;
        padding: 1.1rem 0.85rem 1.35rem;
    }

    .survey-hero h1 {
        font-size: clamp(1.85rem, 9vw, 2.45rem);
        line-height: 1.04;
    }

    .survey-hero p {
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .survey-symbol-bg {
        right: -52%;
        bottom: -5%;
        width: 120vw;
        opacity: 0.07;
    }

    .survey-hero-card {
        display: none;
    }

    .hero-stat-grid {
        grid-template-columns: 1fr;
        gap: 0.55rem;
        margin-top: 1rem;
    }

    .hero-stat {
        padding: 0.72rem 0.8rem;
        font-size: 0.82rem;
    }

    .survey-main {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
        padding-top: 1rem;
    }

    .survey-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .survey-rail {
        position: static;
    }

    .survey-rail-inner {
        padding: 0.85rem;
    }

    .survey-progress {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }

    .survey-progress li {
        min-height: 2.35rem;
        font-size: 0.82rem;
    }

    .section-panel {
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
    }

    .section-heading {
        gap: 0.7rem;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }

    .section-heading h2 {
        font-size: 1rem;
    }

    .section-heading p {
        font-size: 0.86rem;
        line-height: 1.45;
    }

    .step-badge {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.85rem;
    }

    .field-label {
        font-size: 0.84rem;
    }

    .field-input {
        min-height: 3.05rem;
        padding: 0.85rem 0.9rem;
        font-size: 1rem;
    }

    select.field-input {
        background-position:
            calc(100% - 18px) 50%,
            calc(100% - 12px) 50%,
            0 0;
    }

    textarea.field-input {
        min-height: 7.5rem;
    }

    .question-block {
        gap: 0.7rem;
        padding: 0.9rem 0;
    }

    .question-block h3 {
        font-size: 0.98rem;
        line-height: 1.35;
    }

    .nps-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .nps-option {
        min-height: 2.9rem;
    }

    .choice-grid,
    .choice-grid.compact {
        grid-template-columns: 1fr;
    }

    .choice-card {
        min-height: 3.25rem;
        padding: 0.82rem 0.9rem;
        font-size: 0.94rem;
    }

    .sticky-submit {
        position: static;
        margin-left: -0.85rem;
        margin-right: -0.85rem;
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .submit-button {
        width: 100%;
        min-height: 3.2rem;
        font-size: 1rem;
    }

    .modal-card {
        width: min(100%, 360px);
        padding: 1.25rem;
    }

    .login-shell {
        padding: 0.85rem;
        align-items: flex-start;
    }

    .login-card {
        margin-top: 1rem;
        padding: 1.15rem;
    }

    .draw-card {
        padding: 0.8rem;
    }

    .draw-stage {
        padding: 0.55rem;
        gap: 0.5rem;
    }

    .draw-topbar {
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .draw-topbar .text-right {
        display: none;
    }

    .draw-topbar .alado-logo-wrap.light {
        max-width: 210px;
    }

    .draw-title {
        font-size: clamp(1.45rem, 8vw, 2.25rem);
    }

    .draw-eyebrow {
        font-size: 0.64rem;
        letter-spacing: 0.12em;
    }

    .draw-display {
        margin-top: 0.7rem;
        padding: 0.75rem;
    }

    .draw-display h2 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .draw-controls {
        grid-template-columns: 1fr;
    }

    .draw-controls > div {
        display: grid;
        grid-template-columns: 1fr auto;
    }

    .draw-primary {
        width: 100%;
    }
}

@media (min-width: 641px) and (max-width: 900px) {
    .dashboard-hero,
    .draw-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .survey-layout {
        grid-template-columns: 1fr;
    }

    .survey-rail {
        position: static;
    }

    .survey-progress {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .draw-controls {
        grid-template-columns: 1fr;
    }
}

@property --beam {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

/* Formulario publico - modelo premium interativo */
.neo-survey {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        linear-gradient(135deg, #061f36 0%, #07385f 34%, #0b64ad 68%, #eaf6ff 68.2%, #f8fbff 100%);
}

.survey-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.46;
}

.neo-survey .survey-hero,
.neo-survey .survey-main {
    position: relative;
    z-index: 1;
}

.neo-survey .survey-hero {
    background:
        linear-gradient(115deg, rgba(7,56,95,0.92), rgba(11,100,173,0.78)),
        repeating-linear-gradient(135deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 18px);
    min-height: auto;
}

.neo-survey .survey-hero-grid {
    opacity: 0.55;
    mask-image: linear-gradient(to bottom, black 15%, transparent 90%);
}

.neo-survey .survey-hero-inner {
    min-height: clamp(360px, 52svh, 560px);
    padding-top: clamp(1.2rem, 3vw, 2.4rem);
    padding-bottom: clamp(2rem, 5vw, 4.5rem);
}

.neo-survey .survey-hero h1 {
    max-width: 920px;
    text-wrap: balance;
    letter-spacing: 0;
}

.neo-survey .survey-hero-copy > .mt-8 {
    margin-top: clamp(1.2rem, 3vw, 2rem);
}

.neo-survey .survey-hero-card {
    transform: perspective(900px) rotateY(-4deg);
    animation: floatPanel 5.8s ease-in-out infinite;
}

.neo-survey .survey-hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0 38%, rgba(255,255,255,0.16) 48%, transparent 58% 100%);
    transform: translateX(-100%);
    animation: scanLight 4.8s ease-in-out infinite;
}

.neo-survey .hero-stat {
    min-height: 3.25rem;
    background: rgba(255,255,255,0.13);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 12px 34px rgba(2,6,23,0.12);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.neo-survey .hero-stat:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.18);
}

.neo-survey .survey-symbol-bg {
    right: -8%;
    bottom: -44%;
    width: min(60vw, 760px);
    opacity: 0.1;
    animation: slowDrift 10s ease-in-out infinite;
}

.neo-survey .survey-main {
    margin-top: clamp(-3.5rem, -5vw, -1.5rem);
    padding-bottom: 3rem;
}

.neo-survey .survey-layout {
    grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
    gap: clamp(1rem, 2vw, 1.5rem);
}

.neo-survey .survey-rail-inner,
.neo-survey .wizard-form {
    border: 1px solid rgba(255,255,255,0.36);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.88), rgba(244,249,255,0.82)) padding-box,
        conic-gradient(from var(--beam), rgba(20,119,201,0.22), rgba(125,211,252,0.5), rgba(7,56,95,0.18), rgba(20,119,201,0.22)) border-box;
    box-shadow: 0 26px 90px rgba(2, 6, 23, 0.16);
    backdrop-filter: blur(20px);
    animation: borderBeam 9s linear infinite;
}

.neo-survey .survey-rail-inner {
    padding: 1rem;
}

.neo-survey .survey-progress li {
    position: relative;
    overflow: hidden;
    cursor: default;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.neo-survey .survey-progress li.is-active {
    background: linear-gradient(135deg, #07385f, #1477c9);
    color: #fff;
    box-shadow: 0 16px 34px rgba(20,119,201,0.24);
    transform: translateX(4px);
}

.neo-survey .survey-progress li.is-active span {
    background: #fff;
    color: #0b64ad;
}

.wizard-form {
    position: relative;
    min-height: min(720px, calc(100svh - 2rem));
    overflow: hidden;
    border-radius: 8px;
    padding: clamp(0.85rem, 2vw, 1.2rem);
}

.wizard-status {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(160px, 260px);
    align-items: end;
    gap: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(7,56,95,0.96), rgba(20,119,201,0.84)),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 16px);
    padding: clamp(1rem, 2vw, 1.35rem);
    color: #fff;
    box-shadow: 0 18px 52px rgba(7,56,95,0.22);
}

.wizard-status::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, transparent 0 44%, rgba(255,255,255,0.16), transparent 58% 100%);
    transform: translateX(-100%);
    animation: scanLight 5.8s ease-in-out infinite;
    pointer-events: none;
}

.wizard-kicker {
    color: #bfdbfe;
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.wizard-status h2 {
    margin-top: 0.25rem;
    color: #fff;
    font-size: clamp(1.35rem, 3vw, 2.2rem);
    line-height: 1.05;
    font-weight: 950;
}

.wizard-meter {
    position: relative;
    height: 0.68rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
}

.wizard-meter span {
    display: block;
    width: 20%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #8dd6ff, #ffffff);
    box-shadow: 0 0 24px rgba(141,214,255,0.66);
    transition: width 0.42s cubic-bezier(.2,.8,.2,1);
}

.wizard-step {
    display: none;
}

.wizard-step.is-active {
    display: block;
    animation: slideStep 0.42s cubic-bezier(.2,.8,.2,1) both;
}

.wizard-form .section-panel {
    border: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,251,255,0.92)),
        repeating-linear-gradient(135deg, rgba(20,119,201,0.03) 0 1px, transparent 1px 18px);
    box-shadow: none;
    padding: clamp(1rem, 2.4vw, 1.65rem);
}

.wizard-form .section-panel::before {
    border-top: 0;
}

.wizard-form .section-heading {
    align-items: center;
    border-bottom: 0;
    margin-bottom: 1rem;
    padding-bottom: 0;
}

.wizard-form .section-heading h2 {
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    font-weight: 950;
}

.wizard-form .step-badge {
    width: 2.35rem;
    height: 2.35rem;
    box-shadow: 0 16px 36px rgba(20,119,201,0.26);
}

.wizard-form .field-label,
.wizard-form .question-block {
    animation: softPop 0.34s ease both;
}

.wizard-form .field-input {
    min-height: 3.35rem;
    border: 1px solid rgba(20,119,201,0.26);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(246,250,255,0.96)) padding-box,
        linear-gradient(135deg, rgba(20,119,201,0.32), rgba(141,214,255,0.16)) border-box;
}

.wizard-form .field-input:focus {
    border-color: #1477c9;
    box-shadow: 0 0 0 5px rgba(20,119,201,0.13), 0 18px 38px rgba(20,119,201,0.12);
}

.wizard-form .choice-grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.wizard-form .choice-card {
    min-height: 3.45rem;
    border-color: rgba(20,119,201,0.2);
}

.wizard-actions {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(148,163,184,0.24);
    margin-top: 1rem;
    padding-top: 1rem;
}

.wizard-actions p {
    max-width: 620px;
    color: rgb(71 85 105);
    font-size: 0.88rem;
    line-height: 1.55;
}

.wizard-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    flex: 0 0 auto;
}

.wizard-btn {
    min-height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border-radius: 8px;
    padding: 0 1rem;
    font-size: 0.9rem;
    font-weight: 950;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.wizard-btn:hover {
    transform: translateY(-2px);
}

.wizard-btn.ghost {
    border: 1px solid rgba(148,163,184,0.34);
    background: rgba(255,255,255,0.72);
    color: rgb(51 65 85);
}

.wizard-btn.primary,
.wizard-btn.finish {
    border: 1px solid rgba(20,119,201,0.2);
    background: linear-gradient(135deg, #07385f, #1477c9);
    color: #fff;
    box-shadow: 0 16px 34px rgba(20,119,201,0.22);
}

.wizard-btn.finish {
    background: linear-gradient(135deg, #047857, #1477c9);
}

.wizard-btn[disabled] {
    cursor: not-allowed;
    opacity: 0.45;
    transform: none;
}

.wizard-btn.hidden {
    display: none;
}

.wizard-shake {
    animation: tinyShake 0.28s ease;
}

@keyframes borderBeam {
    to {
        --beam: 360deg;
    }
}

@keyframes scanLight {
    0%, 46% {
        transform: translateX(-110%);
    }
    72%, 100% {
        transform: translateX(110%);
    }
}

@keyframes floatPanel {
    0%, 100% {
        transform: perspective(900px) rotateY(-4deg) translateY(0);
    }
    50% {
        transform: perspective(900px) rotateY(-2deg) translateY(-8px);
    }
}

@keyframes slowDrift {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    50% {
        transform: translate3d(-10px, -8px, 0) rotate(-1deg);
    }
}

@keyframes slideStep {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.985);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

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

@keyframes tinyShake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

/* Camada final do novo formulario interativo */
.neo-survey {
    background:
        linear-gradient(118deg, rgba(6,31,54,0.98) 0 22rem, rgba(7,56,95,0.96) 22rem 37rem, rgba(248,251,255,0.98) 37.1rem 100%),
        repeating-linear-gradient(135deg, rgba(20,119,201,0.08) 0 1px, transparent 1px 28px);
}

.neo-survey .survey-canvas {
    opacity: 0.34;
    mix-blend-mode: multiply;
}

.neo-survey .survey-hero {
    isolation: isolate;
}

.neo-survey .survey-hero::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: 0;
    height: 42%;
    background: linear-gradient(180deg, transparent, rgba(248,251,255,0.08));
    clip-path: polygon(0 44%, 100% 0, 100% 100%, 0% 100%);
    pointer-events: none;
}

.neo-survey .survey-hero-card,
.neo-survey .survey-rail-inner,
.neo-survey .wizard-form {
    border-radius: 8px;
}

.neo-survey .wizard-form::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(20,119,201,0.06) 1px, transparent 1px),
        linear-gradient(180deg, rgba(20,119,201,0.05) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(180deg, transparent, black 18%, black 82%, transparent);
    pointer-events: none;
}

.neo-survey .wizard-form::after {
    content: "";
    position: absolute;
    top: 0;
    left: 1rem;
    right: 1rem;
    z-index: 1;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(141,214,255,0.9), transparent);
    animation: scanRail 4.4s ease-in-out infinite;
    pointer-events: none;
}

.neo-survey .wizard-status,
.neo-survey .wizard-step,
.neo-survey .wizard-actions {
    position: relative;
    z-index: 2;
}

.neo-survey .field-label {
    border-radius: 8px;
    transition: transform 0.18s ease;
}

.neo-survey .field-label::before {
    content: "";
    position: absolute;
    left: -0.35rem;
    top: 1.75rem;
    bottom: 0.2rem;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, #8dd6ff, #1477c9);
    opacity: 0;
    transform: scaleY(0.35);
    transform-origin: top;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.neo-survey .field-label:focus-within {
    transform: translateY(-1px);
}

.neo-survey .field-label:focus-within::before {
    opacity: 1;
    transform: scaleY(1);
}

.neo-survey .field-label:has(.field-input:not(:placeholder-shown)) > span {
    color: #07385f;
}

.neo-survey .field-input {
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background-color 0.18s ease;
}

.neo-survey textarea.field-input {
    resize: vertical;
}

.neo-survey .choice-card {
    isolation: isolate;
    overflow: hidden;
    background: rgba(255,255,255,0.78);
}

.neo-survey .choice-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, transparent 0 34%, rgba(141,214,255,0.22) 48%, transparent 62% 100%);
    transform: translateX(-125%);
    transition: transform 0.56s cubic-bezier(.2,.8,.2,1);
}

.neo-survey .choice-card:hover::before {
    transform: translateX(125%);
}

.neo-survey .choice-card:has(input:checked) {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 16px 38px rgba(20,119,201,0.16);
}

.neo-survey .choice-card input,
.neo-survey .nps-option input {
    accent-color: #1477c9;
}

.neo-survey .nps-option span {
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.neo-survey .nps-option:hover span {
    transform: translateY(-2px);
}

.neo-survey .nps-option:has(input:checked) span {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 16px 30px rgba(20,119,201,0.24);
}

.confetti-piece {
    position: fixed;
    top: -18px;
    left: 0;
    z-index: 9999;
    width: 8px;
    height: 14px;
    border-radius: 2px;
    pointer-events: none;
    transform: translateX(var(--x));
    animation: confettiFall var(--duration) cubic-bezier(.17,.67,.27,.98) var(--delay) forwards;
}

@keyframes scanRail {
    0%, 100% {
        transform: translateX(-35%);
        opacity: 0.35;
    }
    50% {
        transform: translateX(35%);
        opacity: 1;
    }
}

@keyframes confettiFall {
    to {
        opacity: 0;
        transform: translateX(calc(var(--x) - 28px)) translateY(110vh) rotate(var(--rotate));
    }
}

@media (max-width: 1024px) {
    .neo-survey {
        background:
            linear-gradient(180deg, #061f36 0 22rem, #07385f 22rem 29rem, #f8fbff 29.1rem 100%);
    }

    .neo-survey .survey-layout {
        grid-template-columns: 1fr;
    }

    .neo-survey .survey-rail {
        position: static;
    }

    .neo-survey .survey-rail-inner {
        overflow: hidden;
    }

    .neo-survey .survey-progress {
        display: grid;
        grid-template-columns: repeat(5, minmax(150px, 1fr));
        gap: 0.65rem;
        overflow-x: auto;
        padding-bottom: 0.2rem;
    }

    .neo-survey .survey-progress li {
        min-width: 150px;
    }

    .wizard-form {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .neo-survey {
        background:
            linear-gradient(180deg, #061f36 0 18rem, #07385f 18rem 25rem, #f8fbff 25.1rem 100%);
    }

    .neo-survey .survey-canvas {
        opacity: 0.22;
    }

    .neo-survey .survey-hero-inner {
        min-height: auto;
        padding: 1rem 0.85rem 3.6rem;
    }

    .neo-survey .survey-hero h1 {
        font-size: clamp(2rem, 10vw, 2.85rem);
        line-height: 1.02;
    }

    .neo-survey .survey-hero-copy .text-lg {
        font-size: 1rem;
        line-height: 1.65;
    }

    .neo-survey .hero-stat-grid {
        grid-template-columns: 1fr;
        gap: 0.65rem;
        margin-top: 1.25rem;
    }

    .neo-survey .hero-stat {
        min-height: 2.85rem;
    }

    .neo-survey .survey-main {
        margin-top: -2.4rem;
        padding: 0 0.7rem 2rem;
    }

    .neo-survey .survey-layout {
        gap: 0.75rem;
    }

    .neo-survey .survey-rail-inner,
    .neo-survey .wizard-form {
        box-shadow: 0 18px 54px rgba(2, 6, 23, 0.13);
    }

    .neo-survey .survey-rail-inner {
        padding: 0.72rem;
    }

    .neo-survey .survey-progress {
        display: flex;
        gap: 0.55rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .neo-survey .survey-progress li {
        min-width: 168px;
        scroll-snap-align: start;
        white-space: normal;
    }

    .wizard-form {
        padding: 0.72rem;
    }

    .wizard-status {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 0.75rem;
        padding: 0.9rem;
    }

    .wizard-status h2 {
        font-size: clamp(1.35rem, 7vw, 1.8rem);
    }

    .wizard-meter {
        height: 0.55rem;
    }

    .wizard-form .section-panel {
        padding: 0.9rem;
    }

    .wizard-form .section-heading {
        align-items: flex-start;
        gap: 0.72rem;
    }

    .wizard-form .step-badge {
        flex: 0 0 2.2rem;
        width: 2.2rem;
        height: 2.2rem;
    }

    .wizard-form .field-input {
        min-height: 3.18rem;
        padding: 0.82rem 0.9rem;
        font-size: 1rem;
    }

    .wizard-form textarea.field-input {
        min-height: 8rem;
    }

    .wizard-form .choice-grid,
    .wizard-form .choice-grid.compact {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .wizard-form .choice-card {
        min-height: 3.18rem;
        padding: 0.85rem 0.92rem;
    }

    .wizard-form .nps-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .wizard-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.85rem;
    }

    .wizard-actions p {
        max-width: none;
        font-size: 0.82rem;
    }

    .wizard-buttons {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .wizard-btn {
        width: 100%;
        min-height: 3.15rem;
    }

    .legal-modal-card,
    .modal-card {
        width: calc(100vw - 1.4rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .neo-survey *,
    .confetti-piece {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    .neo-survey .survey-canvas {
        display: none;
    }
}
