.sfera-standalone-survey-page {
    margin: 0;
    min-height: 100vh;
    background: #f4f8fb;
    color: #162033;
}

.sfera-page-container {
    box-sizing: border-box;
    min-height: 100vh;
    width: 100%;
    padding: 32px 18px 56px;
    background:
        linear-gradient(180deg, rgba(107, 187, 224, 0.18), rgba(244, 248, 251, 0) 290px),
        #f4f8fb;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.sfera-brand-strip {
    display: flex;
    align-items: center;
    max-width: 760px;
    margin: 0 auto 22px;
}

.sfera-brand-logo {
    display: block;
    width: auto;
    max-width: 260px;
    max-height: 78px;
    object-fit: contain;
    filter: brightness(0);
}

.sfera-brand-fallback {
    color: #0f2446;
    font-size: 28px;
    line-height: 1;
    font-weight: 750;
    letter-spacing: 0;
}

.sfera-survey-wrap {
    box-sizing: border-box;
    max-width: 760px;
    margin: 0 auto;
    padding: 34px;
    font-family: inherit;
    background: #fff;
    border: 1px solid #dceaf3;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(24, 48, 82, 0.12);
}

.sfera-survey-header {
    margin-bottom: 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e8eef4;
}

.sfera-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #e8f5fb;
    color: #276f96;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.sfera-survey-header h2 {
    font-size: 32px;
    line-height: 1.15;
    font-weight: 750;
    color: #0f2446;
    margin: 0 0 8px;
    letter-spacing: 0;
}

.sfera-survey-header p {
    font-size: 16px;
    color: #657284;
    margin: 0;
}

.sfera-progress {
    height: 6px;
    background: #e8eef4;
    border-radius: 999px;
    margin-bottom: 30px;
    overflow: hidden;
}

.sfera-progress-bar {
    height: 100%;
    width: 0%;
    background: #58afd7;
    border-radius: 999px;
    transition: width 0.3s ease;
}

.sfera-section {
    margin-bottom: 28px;
    padding: 22px;
    background: #fbfdff;
    border: 1px solid #e6eef5;
    border-radius: 8px;
}

.sfera-section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1c3d65;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e6eef5;
}

.sfera-section-label::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #58afd7;
    box-shadow: 0 0 0 4px #e8f5fb;
}

.sfera-field {
    margin-bottom: 18px;
}

.sfera-field > label {
    display: block;
    font-size: 14px;
    color: #334155;
    margin-bottom: 8px;
    font-weight: 650;
}

.sfera-field .required {
    color: #dc2626;
}

.sfera-field input[type="text"],
.sfera-field input[type="email"],
.sfera-field input[type="tel"],
.sfera-field select {
    width: 100%;
    box-sizing: border-box;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #ccd8e4;
    border-radius: 6px;
    font-size: 15px;
    color: #162033;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sfera-field input:focus,
.sfera-field select:focus {
    outline: none;
    border-color: #58afd7;
    box-shadow: 0 0 0 4px rgba(88, 175, 215, 0.16);
}

.sfera-radio-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sfera-radio-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 8px 16px;
    border: 1px solid #ccd8e4;
    border-radius: 999px;
    font-size: 14px;
    color: #26364b;
    cursor: pointer;
    background: #fff;
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.sfera-radio-pill input {
    display: none;
}

.sfera-radio-pill:hover {
    border-color: #58afd7;
}

.sfera-radio-pill.selected {
    background: #e8f5fb;
    border-color: #58afd7;
    color: #174a68;
    box-shadow: inset 0 0 0 1px #58afd7;
}

.sfera-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sfera-option-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #26364b;
    cursor: pointer;
    line-height: 1.35;
}

.sfera-option-item input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
    accent-color: #58afd7;
}

.sfera-option-item a {
    color: #276f96;
    text-decoration: underline;
}

.sfera-submit-btn {
    margin-top: 12px;
    width: 100%;
    min-height: 52px;
    padding: 14px 18px;
    background: #58afd7;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 750;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(88, 175, 215, 0.28);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.sfera-submit-btn:hover {
    background: #429dc6;
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(88, 175, 215, 0.34);
}

.sfera-submit-btn:disabled {
    background: #93c5fd;
    cursor: not-allowed;
}

.sfera-hp-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Thank You Card */
.sfera-thankyou {
    text-align: center;
    padding: 48px 18px;
}

.sfera-thankyou-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    background: #e4f7ee;
    border: 1px solid #b9ebd0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #138a4c;
}

.sfera-thankyou h3 {
    font-size: 28px;
    color: #0f2446;
    margin: 0 0 8px;
}

.sfera-thankyou p {
    font-size: 16px;
    color: #657284;
    margin: 4px 0;
}

/* Error message */
.sfera-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 1rem;
}

@media (max-width: 680px) {
    .sfera-page-container {
        padding: 20px 12px 36px;
    }

    .sfera-brand-strip {
        margin-bottom: 16px;
    }

    .sfera-brand-logo {
        max-width: 210px;
        max-height: 64px;
    }

    .sfera-brand-fallback {
        font-size: 24px;
    }

    .sfera-survey-wrap {
        padding: 24px 16px;
    }

    .sfera-survey-header h2 {
        font-size: 28px;
    }

    .sfera-section {
        padding: 18px 14px;
    }

    .sfera-radio-pill {
        width: 100%;
        justify-content: center;
    }
}
