@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Pretendard:wght@400;500;600;700;800&display=swap');
@import url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');

/* 로컬 폰트 정의 */
@font-face {
    font-family: 'GMarketSans';
    src: url('../fonts/GmarketSansTTFLight.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GMarketSans';
    src: url('../fonts/GmarketSansTTFMedium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GMarketSans';
    src: url('../fonts/GmarketSansTTFBold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* 특정 구문용 폰트 */
@font-face {
    font-family: 'Galmuri7';
    src: url('../fonts/Galmuri7.woff2') format('woff2'),
         url('../fonts/Galmuri7.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

.figma-container {
    /* Auto layout */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow-y: auto;
    
    background: #FFFEFE;
    box-sizing: border-box;
    font-size: clamp(0.8rem, 5cqw, 1.1rem);
}


/* ========== Navigation ========== */
.figma-navigation {
    /* box-sizing: border-box; */
    display: flex;
    align-items: stretch;
    /* padding: 0; */
    /* gap: 2vw; */
    width: 100%;
    /* min-height: 78px; */
    background: #FFFFFF;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

.figma-logo-image {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.figma-banner1 {
    /* Auto layout */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 1vh;
    
    width: 100%;
    height: 22vh;
    max-height: 183px;
    
    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 0;
}

.figma-banner1-image {
    width: 100%;
    height: 100%;
    background: url('https://i.gr-tn.co.kr/jayeon_2020/public/upload/editor_img/7J287IKw7KCQMS5qcGc=.jpg') center/cover no-repeat;
}

.figma-banner2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 1vh;
    width: 100%;
    height: 45vh;
    min-height: 373px;
    background: linear-gradient(180deg, #000000 27.4%, #250042 100%);
    flex: none;
    order: 2;
    align-self: stretch;
    flex-grow: 0;
}

.figma-banner2-image {
    width: 100%;
    height: 100%;
    background: url('https://i.gr-tn.co.kr/jayeon_2020/public/upload/editor_img/6riw66GdLmpwZw==.jpg') center/cover no-repeat;
}

/* ========== Button Container ========== */
.figma-button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 1vw;
    gap: 20px;
    width: 100%;
    flex: none;
    order: 3;
    align-self: stretch;
    flex-grow: 0;
}

/* ========== Button 1 (Primary) ========== */
.figma-button1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1vh 1vw;
    margin: 0;
    width: 100%;
    max-width: 90vw;
    height: 5vh;
    max-height: 49px;
    min-height: 40px;
    background: #202020;
    border-radius: 2vh;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: none;
    order: 0;
    /* align-self: stretch; */
    flex-grow: 0;
}

.figma-button1-text {
    width: 100%;
    height: auto;
    
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 500;
    font-size: clamp(0.8rem, 5cqw, 1.1rem);
    line-height: 1.3;
    text-align: center;
    letter-spacing: -0.05em;
    word-break: keep-all;
    
    color: #FF98D4;
    
    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 0;
}

/* Button 1 Text Color Variations */
.figma-button1-text-primary {
    color: #FF98D4;
}

.figma-button1-text-secondary {
    color: #FFFFFF;
}

.figma-button1:hover {
    background: #303030;
    transform: translateY(-1px);
}

/* ========== Button 2 (CTA) ========== */
.figma-button2 {
    /* Auto layout */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1vh 1vw;
    margin: 0;
    gap: 1vh;
    
    width: 100%;
    max-width: 90vw;
    min-width: 280px;
    height: 12vh;
    max-height: 92px;
    min-height: 70px;
    
    background: #FF51B7;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.35);
    border-radius: 3vh;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    
    /* Inside auto layout */
    flex: none;
    order: 0;
    align-self: center;
    flex-grow: 0;
}

.figma-button2-title {
    width: auto;
    height: auto;
    
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 700;
    font-size: clamp(1.6rem, 5cqw, 1.6rem);
    line-height: 1.2;
    text-align: center;
    letter-spacing: -0.05em;
    word-break: keep-all;
    
    color: #FFFFFF;
    
    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 0;
}

.figma-button2-timer {
    width: auto;
    height: auto;
    
    font-weight: 600;
    font-size: clamp(1.0rem, 4cqw, 1.4rem);
    line-height: 1.2;
    text-align: center;
    letter-spacing: -0.05em;
    word-break: keep-all;
    
    color: #FFACDD;
    
    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 0;
}

.figma-button2:hover {
    background: #E640A3;
    transform: translateY(-2px);
    box-shadow: 0px 4px 12px rgba(255, 81, 183, 0.5);
}

/* Step 2 Discount Banner */
.figma-step2-banner {
    width: 100%;
    height: 10vh;
    min-height: 119px;
    padding: 1vh 0;
    background: linear-gradient(135deg, #2E1065 0%, #1A0B3A 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

.figma-step2-banner-bg {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
    padding: 15px 20px;
}

.figma-step2-banner-text1 {
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 500;
    font-size: clamp(0.8rem, 5cqw, 1.1rem);
    line-height: 19px;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
}

.figma-step2-banner-gif {
    max-width: 200px;
    max-height: 34px;
    vertical-align: bottom;
}

.figma-step2-banner-subtitle {
    width: 100%;
    height: 12px;
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 200;
    font-size: clamp(0.6rem, 5cqw, 0.6rem);;
    line-height: 12px;
    letter-spacing: -0.02em;
    color: #838383;
    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 0;
    margin-top: 5px;
    text-align: center;
}


.figma-section1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 35px 0px 5px 0px;
    gap: 3.5vw;
    width: 100%;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

.figma-section1-title {
    width: auto;
    max-width: 90%;
    height: auto;
    
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 600;
    font-size: clamp(1.3rem, 5cqw, 1.3rem);
    line-height: 1.3;
    align-items: center;
    text-align: center;
    letter-spacing: -0.05em;
    
    color: #000000;
    
    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 0;
}

.figma-section1-subtitle {
    width: auto;
    max-width: 85%;
    height: auto;
    
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 300;
    font-size: clamp(0.8rem, 5cqw, 1.1rem);
    line-height: 1.3;
    align-items: center;
    text-align: center;
    letter-spacing: -0.05em;
    
    color: #4A4A4A;
    
    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 0;
}

/* figma-section1 내부 이미지 스타일 */
.figma-section1 img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}



.figma-section2 img {
    width: 100%;
    height: auto;
    max-width: 391px;
    min-height: 156px; 
    object-fit: contain;
    border-radius: 10px;
}


.figma-icons-container {
    padding: 2vh 2vh 1vh 2vh;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-evenly;
    width: 100%;
    max-height: 199px;
    background: #F0F0F0;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

.figma-icon-item {
    /* Auto layout */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 5px 0px;
    gap: 10px;
    
    flex: 1;
    max-width: 85.75px;
    min-width: 60px;
    min-height: 90px;
    
    border-radius: 10px;
}

.figma-icon-circle {
    /* Auto layout */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px;
    
    width: clamp(50px, 15vw, 62px);
    height: clamp(50px, 15vw, 62px);
    
    background: #FFFFFF;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    
    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 0;
}

.figma-icon-text {
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 500;
    font-size: clamp(0.8rem, 5cqw, 0.9rem);
    line-height: 18px;
    display: flex;
    align-items: center;
    text-align: center;    
    color: #000000;
    
    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 0;
}

.figma-patent-notice {
    padding: 0px 0px 25px 0px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 3px;
    width: 100%;
    /* height: 26px; */
    background: #F0F0F0;
    /* border-radius: 20px; */
    flex: none;
    order: 0;
    flex-grow: 0;
}

.figma-patent-text {    
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 500;
    font-size: clamp(0.6rem, 5cqw, 0.8rem);
    display: flex;
    align-items: center;
    text-align: center;
    letter-spacing: -0.05em;
    padding: 10px 15px 10px 15px;
    color: #FF51B7;
    flex: none;
    order: 0;
    flex-grow: 0;
    border-radius: 10vw;
    background: #DDDDDD;
}

.figma-section4 {
    /* Auto layout */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 32px;
    gap: 10px;
    
    width: 100%;
    
    /* Inside auto layout */
    flex: none;
    order: 3;
    align-self: stretch;
    flex-grow: 0;
}

.figma-section4-text {
    width: 100%;
    max-width: 300px;
    
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 300;
    font-size: clamp(0.8rem, 5cqw, 1.1rem);
    line-height: 1.4;
    text-align: center;
    letter-spacing: -0.02em;
    
    color: #4A4A4A;
    
    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 0;
}

/* Step 2 Button Container */
.figma-step2-button-container {
    /* Auto layout */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 30px 30px 30px;
    gap: 10px;
    
    width: 100%;
    
    /* Inside auto layout */
    flex: none;
    order: 4;
    align-self: stretch;
    flex-grow: 0;
}


/* Step 3 Main Section */
.figma-step3-section {
    /* Auto layout */
    flex-direction: column;
    align-items: center;
    padding: 35px 30px;
    gap: 3vh;
    
    position: relative;
    overflow-y: auto;
    
    background: #FFFEFE;
    
    /* Inside auto layout */
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 1;
    box-sizing: border-box;
}

.figma-step3-section1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    width: 100%;
    align-self: stretch;
    box-sizing: border-box;
}

.figma-step3-question1 {
    display: flex;
    width: 100%;
    margin-bottom: 15px;
}

.figma-step3-question1-text {
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 700;
    font-size: clamp(0.8rem, 5cqw, 1.4rem);
    color: #000000;
    width: 100%;
    text-align: left;
    margin-bottom: 0px;
    position: relative;
}

.figma-step3-question1-text::before {
    content: "1 ";
    color: #FF51B7;
}

.figma-step3-dropdown {
    position: relative;
    width: 100%;
    height: 42px;
    border: 1.2px solid #FF51B7;
    border-radius: 5px;
    display: flex;
    align-items: center;
    padding: 0px 15px;
}

.figma-step3-dropdown select {
    width: 100%;
    height: 100%;

    border: none;
    background: transparent;
    font-family: 'Pretendard';
    font-size: clamp(0.8rem, 5cqw, 0.9rem);
    color: #969696;
    outline: none;
    appearance: none;
}

.figma-step3-section2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    order: 0;
    align-self: stretch;
    box-sizing: border-box;
}

.figma-step3-question2 {
    width: 100%;
    margin-top: 35px;
}

.figma-step3-question2-text {
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 700;
    font-size: clamp(0.8rem, 5cqw, 1.4rem);
    color: #000000;
    position: relative;
}

.figma-step3-question2-text::before {
    content: "2 ";
    color: #FF51B7;
}

.figma-step3-privacy-text {
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 300;
    font-size: clamp(0.6rem, 5cqw, 0.6rem);
    color: #969696;
}

.figma-step3-form-fields {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 15px;
}

/* Name Field */
.figma-step3-name-field {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.figma-step3-name-text {
    font-family: 'Pretendard';
    font-weight: 400;
    font-size: clamp(0.8rem, 5cqw, 0.9rem);
    color: #FF51B7;
    margin-bottom: 2px;
}

.figma-step3-name-input {
    box-sizing: border-box;
    width: 100%;
    height: 42px;
    border: 1.2px solid #FF51B7;
    border-radius: 5px;
    padding: 0px 15px;
}

.figma-step3-name-input input {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    font-family: 'Pretendard';
    font-size: clamp(0.8rem, 5cqw, 0.9rem);
    color: #333;
    outline: none;
}

.figma-step3-name-input input::placeholder {
    color: #969696;
}

/* Phone Field */
.figma-step3-phone-field {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 24px;
}

.figma-step3-phone-label {
    font-family: 'Pretendard';
    font-weight: 400;
    font-size: clamp(0.8rem, 5cqw, 0.9rem);
    color: #FF51B7;
}

.figma-step3-phone-inputs {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.figma-step3-phone-prefix-text {
    font-family: 'Pretendard';
    font-weight: 700;
    font-size: 24px;
    color: #000000;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    margin-top: 8px;
}

.figma-step3-phone-separator-text {
    font-family: 'Pretendard';
    font-weight: 700;
    font-size: 20px;
    color: #000000;
    margin: 0 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
}

.figma-step3-phone-input {
    box-sizing: border-box;
    height: 38px;
    border: 1.2px solid #FF51B7;
    border-radius: 5px;
    flex: 1;
}

.figma-step3-phone-input input {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    font-family: 'Pretendard';
    font-size: clamp(0.8rem, 5cqw, 0.9rem);
    color: #333;
    outline: none;
    text-align: center;
}

.figma-step3-phone-input input::placeholder {
    color: #969696;
}

.figma-step3-section3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1vh;
    width: 100%;
    flex: none;
    order: 2;
    align-self: stretch;
    flex-grow: 0;
    box-sizing: border-box;
    margin-top: 35px;
}

.figma-step3-privacy-title-text {
    font-family: 'Pretendard';
    font-weight: 500;
    font-size: clamp(0.8rem, 5cqw, 0.8rem);
    color: #6D6D6D;
    text-align: center;
}

.figma-step3-privacy-content {
    box-sizing: border-box;
    width: 100%;
    height: 120px;
    background: #F0F0F0;
    border: 1px solid #969696;
    border-radius: 5px;
    padding: 15px;
    overflow-y: auto;
    font-family: 'Pretendard';
    font-size: clamp(0.7rem, 5cqw, 0.7rem);
    line-height: 1.4;
    color: #666;
    margin-bottom: 15px;
}

.figma-step3-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.figma-step3-checkbox-input {
    width: 24px;
    height: 24px;
    border: 2px solid #FF51B7;
    border-radius: 4px;
    background: #FFFFFF;
}

.figma-step3-checkbox-text {
    font-family: 'Pretendard';
    font-size: clamp(1rem, 5cqw, 1rem);
    color: #000000;
    margin-left: 2px;
}

.figma-step3-submit-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    max-width: 266px;
    height: 47px;
    min-height: 40px;
    background: #FF51B7;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
    border-radius: 28px;
    border: none;
    cursor: pointer;
    font-family: 'Pretendard';
    font-weight: 500;
    font-size: clamp(14px, 4vw, 19px);
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.figma-step3-submit-btn:hover {
    background: #E640A3;
    transform: translateY(-2px);
}

/* ========== Step 4 - ?�공 ?�이지 ?��???========== */

/* Step 4 Main Section */
.figma-step4-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow-y: auto;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 1;
    box-sizing: border-box;
}

.figma-step4-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
    text-align: center;
}


.figma-step4-illustration {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1px;
}

.figma-step4-doctor-image {
    width: 80%;
    max-width: 100%;
    align-self: center;
    height: auto;
    margin-bottom: 50px
}

/* 작은 화면에서 min-width 제거 */
@media (max-width: 320px) {
    .figma-button2 {
        min-width: auto;
    }
}

@media (min-width: 480px) {
    .figma-container {
        max-width: 480px;
        max-height: 852px;
        margin: 0 auto;
        font-size: clamp(0.8rem, 5cqw, 1.1rem);
    }
}

/* ========== 체질 핑크 하이라이트 스타일 ========== */
.highlight-constitution-pink {
    color: #FF51B7;
    font-weight: 800;
    /* position: relative; */
    text-shadow: 0 1px 2px rgba(255, 81, 183, 0.2);
    display: inline-block;
    animation: subtle-glow-pink 3s ease-in-out infinite alternate;
}

/* ========== 커스텀 폰트 적용 클래스 ========== */
.custom-font-galmuri {
    font-family: 'Galmuri7', 'Pretendard', sans-serif !important;
}

/* 타이머 텍스트용 커스텀 폰트 */
.timer-custom-font {
    font-family: 'Galmuri7', 'Pretendard', sans-serif !important;
    font-weight: 600;
    white-space: pre;
    letter-spacing: 0.2em;
}

/* 강조 텍스트용 커스텀 폰트 */
.highlight-custom-font {
    font-family: 'Galmuri7', 'Pretendard', sans-serif !important;
    font-weight: 700;
}

/* ========== 텍스트 오버플로우 방지 ========== */
/* 버튼 텍스트가 짤리지 않도록 보호 */
.figma-button1-text,
.figma-button2-title,
.figma-button2-timer,
.figma-step3-submit-btn {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* 작은 화면에서 추가 폰트 사이즈 조정 */
@media (max-width: 320px) {
    .figma-button2-title {
        font-size: clamp(1.0rem, 5cqw, 1.2rem) !important;
    }
    .figma-button2-timer {
        font-size: clamp(0.9rem, 4cqw, 1.1rem) !important;
    }
    .figma-step3-submit-btn {
        font-size: 16px !important;
    }
}

/* 매우 작은 화면에서 버튼 텍스트 줄바꿈 허용 */
@media (max-width: 280px) {
    .figma-button1-text,
    .figma-button2-title,
    .figma-button2-timer {
        white-space: normal;
        line-height: 1.2;
    }
}

/* ========== Two Panels Component (이미지 대체) ========== */
/* Theme tokens for two-panels component */
:root {
  --two-panels-gray-bg: #6b6b6b;        /* left panel background */
  --two-panels-pink-bg: #FF51B7;        /* right panel background - 기존 사이트 핑크 색상 사용 */
  --two-panels-text-on-dark: #ffffff;   /* text color on colored panels */
  --two-panels-arrow-bg: #ffffff;       /* circle background */
  --two-panels-arrow-fg: #7a7a7a;       /* chevron color */
  --two-panels-shadow: 0 2px 8px rgba(0,0,0,.12);
  --two-panels-panel-radius: 12px;      /* panel corner radius */
  --two-panels-panel-py: 16px;          /* vertical padding inside panel */
  --two-panels-panel-px: 20px;          /* horizontal padding inside panel */
  --two-panels-gap: 10px;               /* gap between items */
  --two-panels-arrow-size: 27px;        /* circle size - 최대 27px */
  --two-panels-container-max-width: 343px; /* 전체 컨테이너 최대 너비 */
  --two-panels-container-max-height: 96px; /* 전체 컨테이너 최대 높이 */
  --two-panels-panel-max-width: 169px;  /* 각 패널 최대 너비 */
  --two-panels-panel-max-height: 96px;  /* 각 패널 최대 높이 */
}

/* Layout container - 오버랩을 위한 flex 레이아웃 */
.two-panels {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  line-height: 1.4;
  width: 100%;
  margin: 20px auto; /* 중앙 정렬 */
  position: relative; /* 화살표 절대위치를 위한 기준점 */
  gap: 5px; /* 두 패널 사이 5px 고정 공백 */
}

/* Panels */
.two-panels .panel {
  color: var(--two-panels-text-on-dark);
  padding: var(--two-panels-panel-py) var(--two-panels-panel-px);
  border-radius: var(--two-panels-panel-radius);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly; /* 문장들을 균등하게 분배 */
  align-items: center;
  white-space: nowrap; /* 줄바꿈 허용하지 않음 */
  box-shadow: var(--two-panels-shadow);
  font-weight: 500;
  font-size: 16px;
  min-width: 169px; /* 최소 169px */
  min-height: 96px; /* 최소 96px */
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  flex: 1; /* 남은 공간을 균등하게 분배 */
}

.two-panels .panel--left {
  background: var(--two-panels-gray-bg);
}

.two-panels .panel--right {
  background: var(--two-panels-pink-bg);
}

/* 그리드 영역에서 이미 정의됨 */

.two-panels .panel p {
  margin: 0; /* 기본 마진 제거 */
  text-align: center;
  flex: 1; /* 각 문장이 동일한 공간을 차지 */
  display: flex;
  align-items: center; /* 문장을 세로 중앙 정렬 */
  justify-content: center; /* 문장을 가로 중앙 정렬 */
}

/* Arrow (white circle with chevron) - 오버랩 절대위치 스타일 */
.two-panels .arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 27px; /* 고정 27px */
  height: 27px; /* 고정 27px */
  border-radius: 50%;
  background: var(--two-panels-arrow-bg);
  box-shadow: var(--two-panels-shadow);
  display: grid;
  place-items: center;
  z-index: 10;
}

/* Screen-reader-only text */
.two-panels .sr-only {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 27px; 
  height: 27px;
  padding: 0; 
  margin: 0;
  overflow: hidden; 
  clip: rect(0,0,0,0);
  border: 0;
}

/* Pure CSS chevron using borders */
.two-panels .chevron {
  display: block;
  width: 8px; /* 고정 8px */
  height: 8px; /* 고정 8px */
  border-right: 2px solid var(--two-panels-arrow-fg);
  border-top: 2px solid var(--two-panels-arrow-fg);
  transform: rotate(45deg)  translateX(-1px) translateY(1px);
}

/* 작은 화면에서도 가로 레이아웃 유지 - 오버랩 조정 */
@media (max-width: 640px) {
  .two-panels {
    max-width: 400px; /* 컨테이너 크기 늘림 (최소크기 169px * 2 + 5px gap + 여유공간) */
  }
  
  .two-panels .chevron {
    width: 8px; /* 고정 8px */
    height: 8px; /* 고정 8px */
  }
}

@media (max-width: 480px) {
  .two-panels {
    max-width: 320px; /* 컨테이너 크기 조정 (최소크기 고려) */
    margin: 15px auto; /* 상하 마진 줄임 */
  }
  
  .two-panels .panel p {
    white-space: nowrap; /* 줄바꿈 허용하지 않음 */
    line-height: 1.2; /* 줄간격 줄임 */
  }
  
  .two-panels .chevron {
    width: 8px; /* 고정 8px */
    height: 8px; /* 고정 8px */
  }
}

/* ========== Success Message Component (이미지 대체) ========== */
.success-message-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.success-banner {
  background: #FFE8F5; /* 연한 핑크 배경 */
  text-align: center;
  box-shadow: none; /* 그림자 제거 */
  width: 100%;
  padding: 40px 20px; /* 패딩 추가 */
}

.success-title {
  color: #FF51B7; /* 진한 핑크 텍스트 */
  font-family: 'GMarketSans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: clamp(1.4rem, 4vw, 1.6rem);
  font-weight: 700;
  margin-bottom: 10px; /* 마진 조정 */
  text-shadow: none; /* 텍스트 섀도우 제거 */
}

.success-subtitle {
  color: #666666; /* 회색 텍스트 */
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 400;
  margin: 0;
}

/* 반응형 조정 */
@media (max-width: 640px) {
  .success-banner {
    padding: 35px 15px;
  }
}

@media (max-width: 480px) {
  .success-banner {
    padding: 30px 10px;
  }
}

/* ========== Thank You Message Component (이미지 대체) ========== */
.thank-you-message {
  background: #FFFFFF; /* 연한 회색 배경 */
  text-align: center;
  padding: 120px 0px;
  width: 100%;
  box-sizing: border-box;
}

.thank-you-message p {
  color: #333333; /* 검은색 텍스트 */
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: clamp(1.4rem, 3.5vw, 1.6rem);
  font-weight: 400;
}

.thank-you-message p:first-child {
  margin-top: 0;
}

.thank-you-message p:last-child {
  margin-bottom: 0;
}
