/* ============================================
   SUCCESS QUESTION SECTION STYLES (창업문의)
   ============================================ */

.success-question-section {
    position: relative;
    width: 100%;
    padding: 100px 0;
    background: #e93c1a;
    overflow: hidden;
}

.success-question-section .container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header - Section Title Style */
.success-question-section .section-title {
    margin-bottom: 60px;
}

.sq-section-headline {
    text-align: center;
    margin: 0 auto;
    max-width: 800px;
    padding: 0 24px;
}

.sq-headline-eyebrow {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.sq-headline-title {
    margin-top: 20px;
    margin-bottom: 16px;
    font-family: 'GmarketSans', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: #fff;
}

.sq-headline-title .sq-headline-accent {
    display: inline-block;
    border-bottom: 4px solid #fff;
    padding-bottom: 4px;
}

.sq-headline-desc {
    margin-bottom: 0;
    font-size: 18px;
    line-height: 1.6;
    color: #fff;
    opacity: 0.9;
}

/* Form Container */
.sq-form-container {
    background: transparent;
    margin-bottom: 60px;
}

.sq-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sq-form-group {
    margin-bottom: 0;
}

.sq-label {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    margin: 0;
}

.sq-input {
    width: 100%;
    height: 54px;
    padding: 0 20px;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 0;
    font-size: 16px;
    color: #fff;
    outline: none;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    box-sizing: border-box;
}

.sq-input:focus {
    border-color: #fff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.sq-input::placeholder {
    color: #fff;
}

/* Actions (Privacy & Submit buttons row) */
.sq-actions {
    display: flex;
    margin-top: 10px;
}

.sq-privacy-hidden {
    height: 0;
    overflow: hidden;
}

.sq-checkbox-hidden {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.sq-privacy-btn,
.sq-submit-btn {
    flex: 1;
    height: 54px;
    border-radius: 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    border: none;
    transition: all 0.3s ease;
}

.sq-privacy-btn {
    background: #000;
    color: #fff;
}

.sq-submit-btn {
    background: #fff;
    color: #b70002;
}

.sq-submit-btn:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sq-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.sq-privacy-btn:hover {
    background: #111;
}

.sq-privacy-btn:active {
    background: #000;
}

/* 기존 단일 버튼 스타일 정리 */
.sq-submit-btn {
    background: #fff;
}

/* 개인정보 모달 */
.sq-privacy-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.sq-privacy-overlay.open {
    opacity: 1;
    visibility: visible;
}

.sq-privacy-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 520px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1001;
}

.sq-privacy-modal.open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.sq-privacy-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

.sq-privacy-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #222;
}

.sq-privacy-close {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #888;
    padding: 0 4px;
}

.sq-privacy-body {
    padding: 16px 20px;
    max-height: 400px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.7;
    color: #444;
}

.sq-privacy-body p {
    margin: 0 0 12px 0;
}

.sq-privacy-body p:last-child {
    margin-bottom: 0;
}

.sq-privacy-body ul {
    margin: 8px 0 12px 20px;
    padding: 0;
    list-style-type: disc;
}

.sq-privacy-body li {
    margin: 4px 0;
    line-height: 1.6;
}

.sq-privacy-body strong {
    font-weight: 600;
    color: #222;
}

.sq-privacy-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 20px 16px;
    border-top: 1px solid #eee;
}

.sq-privacy-footer button {
    min-width: 90px;
    height: 38px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
}

.sq-privacy-cancel {
    background: #f5f5f5;
    color: #555;
    border-color: #ddd;
}

.sq-privacy-agree {
    background: #b70002;
    color: #fff;
    border-color: #b70002;
}

.sq-privacy-agree:hover {
    background: #d32024;
    border-color: #d32024;
}

.sq-privacy-cancel:hover {
    background: #e9e9e9;
}

body.sq-modal-open {
    overflow: hidden;
}

/* 성공 모달 */
.sq-success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.sq-success-overlay.open {
    opacity: 1;
    visibility: visible;
}

.sq-success-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 360px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1001;
}

.sq-success-modal.open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.sq-success-body {
    padding: 24px 24px 20px;
    text-align: center;
}

.sq-success-body h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 700;
    color: #222;
}

.sq-success-body p {
    margin: 0 0 18px 0;
    font-size: 14px;
    color: #555;
}

.sq-success-ok {
    min-width: 100px;
    height: 38px;
    padding: 0 18px;
    border-radius: 4px;
    border: 1px solid #b70002;
    background: #b70002;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.sq-success-ok:hover {
    background: #d32024;
    border-color: #d32024;
}

/* Contact Info */
.sq-contact-info {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.sq-contact-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px 0;
}

.sq-contact-phone {
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    margin: 0;
    letter-spacing: 3px;
    font-family: 'GmarketSans', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Tablet */
@media (max-width: 992px) {
    .success-question-section {
        padding: 80px 0;
    }

    .sq-brand {
        font-size: 42px;
    }

    .sq-contact-phone {
        font-size: 42px;
    }
}

/* Mobile */
@media (max-width: 750px) {
    .success-question-section {
        padding: 60px 0;
    }

    .success-question-section .container {
        padding: 0 20px;
    }

    .success-question-section .section-title {
        margin-bottom: 45px;
    }

    .sq-section-headline {
        padding: 0 18px;
    }

    .sq-headline-eyebrow {
        font-size: 12px;
        letter-spacing: 0.2em;
    }

    .sq-headline-title {
        font-size: 34px;
    }

    .sq-headline-desc {
        font-size: 16px;
    }

    .sq-form-container {
        margin-bottom: 50px;
    }

    .sq-form {
        gap: 18px;
    }

    .sq-label {
        font-size: 15px;
    }

    .sq-input {
        height: 48px;
        font-size: 15px;
        padding: 0 18px;
    }

    .sq-checkbox {
        width: 18px;
        height: 18px;
    }

    .sq-checkbox-label {
        font-size: 15px;
    }

    .sq-privacy-btn,
    .sq-submit-btn {
        height: 54px !important;
        min-height: 54px;
        font-size: 16px;
    }

    .sq-contact-info {
        padding-top: 30px;
    }

    .sq-contact-title {
        font-size: 18px;
    }

    .sq-contact-phone {
        font-size: 36px;
        letter-spacing: 1px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .success-question-section {
        padding: 50px 0;
    }

    .success-question-section .container {
        padding: 0 16px;
    }

    .success-question-section .section-title {
        margin-bottom: 35px;
    }

    .sq-section-headline {
        padding: 0 16px;
    }

    .sq-headline-title {
        font-size: 28px;
    }

    .sq-headline-desc {
        font-size: 14px;
    }

    .sq-form {
        gap: 16px;
    }

    .sq-label {
        font-size: 14px;
    }

    .sq-input {
        height: 46px;
        font-size: 14px;
        padding: 0 16px;
    }

    .sq-checkbox {
        width: 16px;
        height: 16px;
    }

    .sq-checkbox-label {
        font-size: 14px;
    }

    .sq-contact-info {
        padding-top: 25px;
    }

    .sq-contact-title {
        font-size: 16px;
    }

    .sq-contact-phone {
        font-size: 32px;
    }

    /* 작은 화면에서 버튼 세로 정렬 */
    .sq-actions {
        flex-direction: column;
        gap: 8px;
    }

    .sq-privacy-btn,
    .sq-submit-btn {
        width: 100%;
        height: 54px !important;
        min-height: 54px;
        font-size: 15px;
    }
}

