/* [FILE: main-style2.css - PART 1] */

:root {
    /* [기본 테마 색상 - 사용자 요청 반영: 에메랄드 그린 & 오렌지] */
    --color-primary: #059669;        /* 주색상: 에메랄드 그린 (Primary Color) */
    --color-primary-hover: #10B981;  /* 주색상 강조: 밝은 그린 (Hover Color) */
    --color-accent: #F97316;         /* 강조색: 비비드 오렌지 (Accent Color) */
    --color-accent-hover: #EA580C;   /* 강조색 호버: 진한 오렌지 (Accent Hover) */
    --color-text: #1E293B;           /* 기본 글자색: 슬레이트 (Text Color) */
    --color-text-light: #64748B;     /* 보조 글자색: 쿨 그레이 (Secondary Text) */
    --color-highlight: #A7F3D0;      /* 하이라이트: 민트 (Highlight Effect) */
    --color-danger: #DC2626;         /* 경고/특가: 레드 (Alert Color) */
    --timer-bg: #047857;             /* 타이머 배경: 딥 그린 (Timer Background) */
    --dark-bg: #0F172A;              /* 어두운 배경: 다크 슬레이트 (Dark Background) */
    --white: #ffffff;
    --border-color: #E2E8F0;         /* 테두리색: 밝은 회색 (Border Color) */

    /* [추가 항목] pricing.css에서 호출하지만 정의되지 않았던 변수 */
    --color-faq-bg: #F8FAFC;         
    --color-estimate-text: var(--color-text); 
    --color-timer-focus: #FFD700;    /* 타이머 숫자 강조색: 골드 (Focus Color) */
}

body {
    margin: 0;
    font-family: 'Pretendard', sans-serif;
    color: var(--color-text);
    overflow-x: hidden;
}

/* --- 상단 내비게이션 (GNB) --- */
#gnb-container {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.gnb-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.gnb-right-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo img {
    height: 40px;
    width: auto;
}

.menu-list {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
}

.menu-list li {
    min-width: 115px;
    text-align: center;
}

.menu-list a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: color 0.2s ease;
    display: block;
}

.menu-list a:hover {
    color: var(--color-primary) !important;
}

.cta-button-header {
    background-color: var(--color-accent);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    color: var(--color-text);
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.arrow-icon {
    display: inline-block;
    margin-right: 10px;
}

.cta-button-header:hover .arrow-icon {
    animation: arrowMoveInfinite 0.5s ease-in-out infinite alternate;
}

@keyframes arrowMoveInfinite {
    from { transform: translateX(0); }
    to { transform: translateX(5px); }
}

.cta-button-header:hover {
    background-color: var(--color-accent) !important;
    color: var(--white) !important;
}

/* --- 메인 콘텐츠 영역 --- */
main {
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#main-landing-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
    width: 90%;
    max-width: 1200px;
    padding: 100px 40px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('images/main_image2.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#landing-title-area p {
    font-size: 56px;
    font-weight: 800;
    margin: 4px 0;
    line-height: 1.2;
}

.highlight-effect {
    box-shadow: inset 0 -24px 0 var(--color-highlight);
    padding: 0 4px;
    display: inline-block;
}

#landing-buttons-area {
    width: 220px;
    height: 75px;
    position: relative;
    margin-top: 25px;
}

#main-quote-button {
    width: 200px;
    height: 60px;
    background: #000000;
    color: var(--white);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 0;
    cursor: pointer;
    font-weight: 700;
}

#sub-consult-button {
    width: 95px;
    height: 40px;
    background: var(--color-primary);
    color: var(--white);
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -8px;
    right: -8px;
    z-index: 20;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
}

/* --- 고정 배너 및 타이머 --- */
.fixed-banner-container {
    position: fixed;
    right: 60px;
    bottom: 30px;
    z-index: 1100;
    cursor: pointer;
}

.badge-tag {
    position: absolute;
    top: -18px;
    right: -2px;
    background: var(--color-danger);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    z-index: 2;
}

.main-cta-button {
    background: var(--timer-bg);
    width: 200px;
    height: 48px;
    border-radius: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.time-text {
    color: #FFEB3B;
    font-weight: 800;
    font-size: 15px;
    font-family: monospace;
}

.main-text {
    color: var(--white);
    font-weight: 700;
    font-size: 13px;
}

.progress-bar-wrapper {
    width: 170px;
    height: 3px;
    background: rgba(255,255,255,0.2);
    margin: 6px auto 0;
    border-radius: 2px;
    overflow: hidden;
}

#timer-progress-bar {
    height: 100%;
    background: #FFEB3B;
    width: 100%;
    transition: width 1s linear;
}

.float-ani {
    animation: floating 1.8s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* --- 모달 --- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--white);
    padding: 35px;
    border-radius: 20px;
    width: 360px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
    font-size: 26px;
}

/* --- 도움말 섹션 --- */
#custom-help-section {
    width: 100%;
    padding: 100px 0;
    background-color: #F8FAFC;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* ... 2부에서 계속됩니다 ... */
/* [FILE: main-style1.css - PART 2] */

.help-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
}

.help-text-area {
    flex: 1;
    text-align: left;
}

.help-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--color-text);
    margin-bottom: 25px;
}

.help-highlight {
    color: #3B82F6;
}

.help-subtext {
    font-size: 18px;
    color: var(--color-text-light);
    line-height: 1.6;
}

.help-image-area {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.help-illust {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .help-container {
        flex-direction: column;
        text-align: center;
    }
    .help-text-area { text-align: center; }
}
/* [FILE: main-style2.css] - 웅빈-2 최종 수정본 (Part 2) */

/* --- 서비스 카드 그리드 섹션 --- */
#s202512164816bbcacec59 {
    padding: 60px 20px;
    background: var(--color-primary-hover);
    margin: 0;
    max-width: none;
    width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-sizing: border-box;
}

#s202512164816bbcacec59 .section-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

#s202512164816bbcacec59 .section-title {
    font-size: 40px !important;
    font-weight: 800 !important;
    color: var(--white);
    margin-bottom: 15px;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

#s202512164816bbcacec59 .section-description {
    font-size: 19px !important;
    color: #e6e6e6;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

#s202512164816bbcacec59 .fluid-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px 10%;
}

#s202512164816bbcacec59 .card-item {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

#s202512164816bbcacec59 .card-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

#s202512164816bbcacec59 .card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

#s202512164816bbcacec59 .card-item:hover .card-image {
    transform: scale(1.05);
}

#s202512164816bbcacec59 .card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

#s202512164816bbcacec59 .card-title {
    font-size: 22px !important;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
}

#s202512164816bbcacec59 .card-description {
    font-size: 16px !important;
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1;
}

#s202512164816bbcacec59 .card-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(46, 204, 113, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 16px;
    pointer-events: none;
}

#s202512164816bbcacec59 .card-item:hover::after {
    opacity: 1;
}

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

/* --- 워크플로우 배너 --- */
#wm-workflow-banner {
    width: 100%;
    height: 140px; 
    background-image: url('images/workflow2.png'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* ... 3부에서 나머지 680줄을 모두 채워 마무리합니다 ... */
/* [FILE: main-style1.css - PART 3] */

.workflow-overlay {
    width: 100%; height: 100%;
    /* 배경 위 검정 투명 막 (Technical Term: Overlay -> 덮어씌우기) */
    background: rgba(0, 0, 0, 0.5); 
    display: flex; align-items: center; justify-content: center;
    position: absolute;
    top: 0; left: 0;
}

.workflow-container {
    width: 85%; max-width: 1200px;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1; /* 글자가 오버레이보다 위로 오게 설정 */
}

.workflow-content-flex {
    display: flex;             
    align-items: center;       
    gap: 20px;                 
    text-align: left;          
}

.workflow-emoji { 
    font-size: 30px;           
    display: block; 
    margin-bottom: 0;          
    line-height: 1;            
    transform: translateY(-4px); 
}

.workflow-text-inner {
    display: flex;
    flex-direction: column;    
    align-items: flex-start;   
}

.workflow-title { 
    font-size: 34px; 
    font-weight: 800; 
    color: var(--white); 
    margin: 0;                 
    line-height: 1.2; 
}

.workflow-description { 
    font-size: 22px; 
    color: #e0e0e0; 
    margin-top: 5px;           
    font-weight: 500; 
}

.workflow-cta-btn {
    background-color: var(--color-accent-hover); 
    color: var(--white); 
    padding: 16px 36px; 
    border-radius: 60px;
    border: none; 
    font-size: 19px; 
    font-weight: 700; 
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); 
    transition: all 0.3s ease;
}

.workflow-cta-btn:hover { 
    background-color: var(--color-accent); 
    transform: translateY(-3px); 
}

/* --- 남다른 이유 섹션 --- */
#wm-reason-section {
    width: 100%;
    padding: 120px 0;
    background-color: var(--dark-bg);
    text-align: center;
    color: var(--white);
}

.reason-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.reason-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 40px;
    word-break: keep-all;
}

.highlight-blue {
    box-shadow: inset 0 -30px 0 var(--color-primary-hover);
    padding: 0 8px;
}

.reason-description {
    font-size: 22px;
    color: #94a3b8;
    line-height: 1.6;
    font-weight: 400;
}

/* --- 3D 애니메이션 섹션 --- */
#upgrade-3d-section {
    width: 100%;
    background-color: var(--dark-bg);
    padding: 150px 0;
}

.upgrade-row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 120px auto;
    gap: 80px;
}

.upgrade-text-wrapper {
    flex: 1;
}

.upgrade-text-wrapper h3 {
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 25px;
}

.upgrade-text-wrapper p {
    font-size: 19px;
    color: #CBD5E0;
    line-height: 1.8;
}

.upgrade-card-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1500px; /* 3D 효과 깊이 (Technical Term: Perspective -> 원근법) */
}

.master-sliding-card {
    width: 500px;
    height: 400px;
    border-radius: 30px;
    background-color: var(--white);
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    transform-style: preserve-3d;
}

.master-sliding-card img {
    width: 500px;
    height: 400px;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 100px;
    transition: top 0.4s ease;
    z-index: 1;
}

.master-sliding-card:hover img {
    top: 50px;
}

@keyframes master3DOnce {
    0% { transform: rotateY(0); }
    30% { transform: rotateY(35deg); }
    60% { transform: rotateY(-35deg); }
    85% { transform: rotateY(10deg); }
    100% { transform: rotateY(0deg); } 
}

.is-animating {
    animation: master3DOnce 1.5s ease-in-out forwards;
}

@media (max-width: 1100px) {
    .upgrade-row {
        flex-direction: column !important;
        text-align: center;
        gap: 40px;
    }
}

/* ============================================================
   [최종 보완 코드] 모달 겹침 및 클릭 시 안 나타나는 문제 해결
   가장 아래에 배치하여 모든 스타일 충돌을 이깁니다.
   ============================================================ */

/* 1. 모달 전체 배경 (모달이 안 나타날 때 이 설정을 확인하세요) */
.workflow-modal-overlay, 
#workflow-modal.modal-overlay {
    display: none; /* JS가 실행될 때 flex로 변경됩니다 */
    position: fixed !important; /* 브라우저 화면에 박제 (Technical Term: Fixed Positioning -> 고정 위치) */
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(0, 0, 0, 0.85) !important;
    
    /* 계급을 최상위로 올려서 푸터 뒤에 깔리는 문제 해결 */
    z-index: 99999 !important; 
    
    /* 중앙 정렬 */
    justify-content: center;
    align-items: center;
}

/* 2. 모달 콘텐츠 박스 (흰색 창) */
.workflow-modal-window, 
.modal-content.workflow-box {
    background-color: #ffffff !important;
    padding: 40px !important;
    border-radius: 20px !important;
    width: 90% !important;
    max-width: 500px !important;
    position: relative !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6) !important;
    color: #333333 !important;
    visibility: visible !important; /* 가려지는 문제 방지 */
    opacity: 1 !important;
}

/* 3. 모달 내부 글자 가독성 보완 */
.workflow-modal-window h2, 
.workflow-modal-window p,
.workflow-modal-window strong {
    color: #1a1a1a !important;
    display: block !important;
}