.saq-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    padding-top: 20px;
    font-family: inherit;
    scroll-margin-top: 80px;
}

.saq-progress {
    margin-bottom: 25px;
    text-align: center;
}

.saq-progress-pills {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.saq-pill {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    background: #f0f0f1;
    color: #999;
    transition: all 0.3s ease;
}

.saq-pill.completed {
    background: #7c3aed;
    color: #fff;
}

.saq-pill.active {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #fff;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.4);
    transform: scale(1.1);
}

.saq-progress-text {
    display: block;
    text-align: center;
    color: #888;
    font-size: 13px;
}

.saq-step {
    display: none;
}

/* Start Screen */
.saq-start-screen {
    text-align: center;
    padding: 40px 20px;
}

.saq-btn.saq-start-btn {
    font-size: 24px;
    padding: 1em 3em;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #fff;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.saq-start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.saq-step.active {
    display: block;
    animation: saqFadeIn 0.3s ease;
}

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

.saq-question {
    font-size: 1.4em;
    margin-bottom: 25px;
    line-height: 1.4;
    color: #2E06BC;
    font-weight: 700;
    background: #f0ecfa;
    padding: 18px 22px;
    border-radius: 12px;
}

.saq-optional {
    font-weight: normal;
    font-size: 0.75em;
    color: #888;
}

.saq-helper {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 20px;
    font-style: italic;
}

.saq-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.saq-option {
    display: flex;
    align-items: flex-start;
    padding: 16px 20px;
    background: #f0ecfa;
    border: 2px solid #d8d0f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

@media (hover: hover) {
    .saq-option:hover {
        border-color: #a855f7;
        background: #faf5ff;
    }
}

.saq-option input[type="checkbox"] {
    display: none;
}

.saq-check {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border: 2px solid #b8a9e0;
    border-radius: 6px;
    margin-right: 14px;
    margin-top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.saq-check::after {
    content: '';
    display: none;
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

.saq-option:has(input:checked) {
    border-color: #22c55e;
    background: #f0fdf4;
}

.saq-option:has(input:checked) .saq-check {
    background: #22c55e;
    border-color: #22c55e;
}

.saq-option:has(input:checked) .saq-check::after {
    display: block;
}

.saq-option:has(input:checked) .saq-option-text {
    font-weight: 700;
}

.saq-option-disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

.saq-option-text {
    flex: 1;
    line-height: 1.5;
    color: #2E06BC;
    font-weight: 400;
}

.saq-textarea-wrap {
    position: relative;
}

.saq-textarea-wrap textarea {
    width: 100%;
    min-height: 150px;
    padding: 15px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    font-size: 1em;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.2s;
}

.saq-textarea-wrap textarea:focus {
    outline: none;
    border-color: #7c3aed;
}

.saq-char-count {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 12px;
    color: #999;
}

.saq-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
}

.saq-btn {
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.saq-prev {
    background: #e5e5e5;
    color: #333;
}

.saq-prev:hover {
    background: #d4d4d4;
}

.saq-next,
.saq-submit {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
    margin-left: auto;
}

.saq-next:hover:not(:disabled),
.saq-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.saq-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.saq-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.saq-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e5e5e5;
    border-top-color: #7c3aed;
    border-radius: 50%;
    animation: saqSpin 1s linear infinite;
}

@keyframes saqSpin {
    to { transform: rotate(360deg); }
}

.saq-loading p {
    margin-top: 20px;
    color: #666;
    font-size: 1.1em;
}

/* Confirmation */
.saq-confirmation {
    text-align: center;
    animation: saqFadeIn 0.5s ease;
    padding: 40px 20px;
}

.saq-inbox-notice {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px 30px;
    background: linear-gradient(135deg, #f5f0ff, #fdf2f8);
    border: 2px solid #a855f7;
    border-radius: 16px;
    text-align: center;
}

.saq-inbox-notice h2 {
    font-size: 2em;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.saq-inbox-notice p {
    margin: 0;
    font-size: 1.15em;
    font-weight: 500;
    color: #555;
    line-height: 1.6;
}

/* Share Section */
.saq-share {
    margin-top: 30px;
    text-align: center;
}

.saq-share-label {
    font-size: 1.05em;
    color: #666;
    margin-bottom: 16px;
    font-weight: 500;
}

.saq-share-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.saq-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.saq-share-btn svg {
    width: 22px;
    height: 22px;
}

.saq-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.saq-share-facebook {
    background: #1877f2;
    color: #fff;
}

.saq-share-x {
    background: #000;
    color: #fff;
}

.saq-share-email {
    background: #7c3aed;
    color: #fff;
}

.saq-share-copy {
    background: #6b7280;
    color: #fff;
}

.saq-copy-feedback {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.9em;
    color: #22c55e;
    font-weight: 600;
    animation: saqFadeIn 0.3s ease;
}

/* Lead Capture Form */
.saq-lead-capture {
    text-align: center;
}

.saq-lead-subtitle {
    color: #666;
    font-size: 1.1em;
    margin-bottom: 30px;
    line-height: 1.5;
}

.saq-form-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
}

.saq-field {
    text-align: left;
}

.saq-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.saq-field input[type="text"],
.saq-field input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.saq-field input[type="text"]:focus,
.saq-field input[type="email"]:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.saq-field input::placeholder {
    color: #aaa;
}

.saq-privacy {
    margin-top: 20px;
    font-size: 0.85em;
    color: #888;
}

@media (max-width: 600px) {
    .saq-container {
        padding: 20px 15px;
    }

    .saq-progress-pills {
        gap: 5px !important;
    }

    .saq-pill {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        font-size: 11px !important;
        display: inline-flex !important;
        background: #e5e5e5 !important;
        color: #888 !important;
    }

    .saq-pill.completed {
        background: #7c3aed !important;
        color: #fff !important;
    }

    .saq-pill.active {
        background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
        color: #fff !important;
    }

    .saq-question {
        font-size: 1.2em;
    }

    .saq-option {
        padding: 14px 16px;
    }

    .saq-inbox-notice {
        padding: 30px 20px;
    }

    .saq-inbox-notice h2 {
        font-size: 1.6em;
    }
}
