/* =================================================================
   CoreContact 컨설팅 페이지 통합 스타일시트
   - style_main.css의 공통 스타일(네비게이션, 푸터 등)을 포함합니다.
   ================================================================= */

/* 1. 기본 및 공통 스타일 (from style_main.css)
----------------------------------------------------------------- */
html { 
    scroll-behavior: smooth; 
}

body, html { 
    margin: 0; 
    padding: 0; 
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif; 
}

body {
    background-color: #f7f9fc;
    color: #333;
    line-height: 1.8;
    padding-top: 60px; /* 네비게이션 바 높이와 일치시킴 */
}

/* 3. 푸터 (from style_main.css)
----------------------------------------------------------------- */
.main-footer {
    background-color: #f8f9fa;
    padding: 30px 20px;
    font-size: 13px;
    color: #777;
    text-align: center;
    line-height: 1.8;
    border-top: 1px solid #e9ecef;
}

.main-footer a {
    margin: 0 10px;
    color: #555;
    text-decoration: none;
}

.main-footer .footer-info {
    margin-top: 10px;
}


/* 4. 컨설팅 페이지 전용 스타일
----------------------------------------------------------------- */
main { width: 100%; display: flex; flex-direction: column; align-items: center; }
.intro-section, .hero-section, .cta-section { width: 100%; }
.hero-section { background: linear-gradient(rgba(10, 35, 66, 0.7), rgba(10, 35, 66, 0.7)), url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?q=80&w=2070&auto=format&fit=crop') no-repeat center center; background-size: cover; color: #ffffff; text-align: center; padding: 100px 20px; }
.intro-section { padding: 80px 20px; text-align: center; }
.intro-section.bg-light { background-color: #f8f9fa; }
.section-title { font-size: 2.5rem; color: #0A2342; margin-bottom: 20px; }
.section-subtitle { font-size: 1.2rem; color: #555; max-width: 800px; margin: 0 auto; }
.cta-section { background-color: #0A2342; color: #ffffff; padding: 60px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 280px; }
.cta-section .section-title, .cta-section p { color: #ffffff; }
.plan-banner { width: 100%; background-color: #e6f7ff; border-bottom: 1px solid #b3e0ff; padding: 12px 20px; text-align: center; font-size: 1rem; font-weight: 500; color: #0056b3; }
.plan-banner b { color: #004085; }
.upgrade-banner p, .congrats-banner p { font-size: 1.2rem; margin: 0 auto 25px auto; max-width: 700px; line-height: 1.6; }
#hero-cta-placeholder > a, #final-cta-placeholder > a { margin-top: 50px; }
.btn-primary { display: inline-block; text-decoration: none; font-weight: 600; border-radius: 8px; cursor: pointer; transition: all 0.3s ease; background-color: #0A2342; color: #ffffff; border: 2px solid transparent; padding: 15px 30px; font-size: 1.2rem; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 15px rgba(0,0,0,0.2); }
.strengths-text { max-width: 800px; margin: 50px auto 0 auto; text-align: left; font-size: 1.1rem; line-height: 1.8; }
.one-time-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 900px; margin: 50px auto 0 auto; text-align: left; }
.one-time-card { background-color: #fff; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); display: flex; flex-direction: column; padding: 30px; border-top: 4px solid #fd7e14; }
.one-time-card-header { display: flex; align-items: center; margin-bottom: 20px; }
.one-time-card-icon { font-size: 2.5rem; margin-right: 15px; }
.one-time-card-titlebox h3 { font-size: 1.5rem; margin: 0; }
.one-time-card-titlebox .subtitle { font-size: 1rem; color: #6c757d; margin: 5px 0 0 0; }
.one-time-card ul { list-style: none; padding-left: 0; }
.one-time-card ul li { position: relative; padding-left: 20px; margin-bottom: 10px; }
.one-time-card ul li::before { content: '✓'; color: #0A2342; position: absolute; left: 0; font-weight: bold; }
.feature-section-title { font-size: 1.8rem; margin-top: 50px; margin-bottom: 25px; padding-bottom: 10px; border-bottom: 2px solid #e0e0e0; text-align: left; max-width: 1200px; margin-left: auto; margin-right: auto;}


/* ===================================================
   [디자인 리뉴얼] 기능 카드 스타일
   =================================================== */
.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    justify-content: center;
}

.module-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
}

.module-card.disabled {
    background-color: #f8f9fa;
    cursor: not-allowed;
}
.module-card.disabled:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.module-card.disabled .module-card-header,
.module-card.disabled p,
.module-card.disabled .btn-select-module {
    opacity: 0.5;
}

.module-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.module-card-icon {
    font-size: 1.5rem; /* 아이콘 크기 축소 */
    color: #007bff;
    background-color: #e7f3ff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.module-card h3 {
    font-size: 1.1rem; /* 제목 크기 조절 */
    color: #343a40;
    margin: 0;
    font-weight: 600;
}

.module-card p {
    font-size: 0.85rem; /* 본문 크기 축소 */
    color: #6c757d;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 20px; /* 버튼과의 간격 */
}

.btn-select-module { 
    align-self: flex-end; /* 버튼을 오른쪽으로 정렬 */
    width: auto; /* 버튼 크기를 내용에 맞게 조절 */
    padding: 6px 14px; /* 버튼 패딩 축소 */
    font-size: 0.8rem; /* 버튼 폰트 크기 축소 */
    font-weight: 500;
    background-color: #6c757d;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.module-card:not(.disabled):hover .btn-select-module {
    background-color: #007bff;
}
/* =================================================== */


.target-audience-grid { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 50px; }
.audience-box { background-color: #fff; border: 2px solid #e0e0e0; padding: 20px 30px; border-radius: 50px; font-size: 1.1rem; }


/* 5. 모바일 반응형
----------------------------------------------------------------- */
@media (max-width: 768px) {
    body { 
        /* 모바일 네비게이션 바 높이에 맞춤 */
        padding-top: 60px; 
    }
    .hero-section h1 { 
        font-size: 2.5rem; 
    }
    .section-title { 
        font-size: 2rem; 
    }
    .module-grid {
        grid-template-columns: 1fr; /* 모바일에서는 1열로 표시 */
    }
}