/* /assets/css/style_consulting_plans.css (통합 최종본) */

/* ★★★ [추가] 페이지 레이아웃 및 중앙 정렬을 위한 핵심 스타일 ★★★ */
body {
    background-color: #f7f9fc;
    padding-top: 60px; /* 네비게이션 바 높이만큼 여백 */
}
.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 60px); /* 패딩 탑을 제외한 화면 높이 */
}
main[role="main"] {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center; /* 이 속성이 콘텐츠를 가운데 정렬합니다 */
    width: 100%;
}
/* ★★★ 여기까지 추가 ★★★ */


main {
    padding: 40px 15px;
    box-sizing: border-box;
}
.plan-section-title {
    font-size: 2.2rem;
    color: #0a2342;
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}
.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.plan-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}
.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}
.plan-card-header {
    padding: 25px 30px;
}
.plan-card-header h3 {
    margin: 0 0 10px;
    font-size: 1.8rem;
    color: #0a2342;
}
.plan-card-header .plan-subtitle {
    font-size: 1rem;
    color: #6c757d;
    min-height: 20px;
}
.plan-card-header .plan-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin: 20px 0 5px;
}
.plan-card-header .plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: #6c757d;
}
.plan-card-body {
    flex-grow: 1;
    padding: 25px 30px;
    border-top: 1px solid #e9ecef;
}
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #495057;
    text-align: left;
}
.plan-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}
.plan-features li::before {
    content: "✓";
    color: #007bff;
    font-weight: 700;
    margin-right: 10px;
    margin-top: 3px;
    flex-shrink: 0;
}
.ai-benefit-box {
    background-color: rgba(0,123,255,.05);
    border: 1px solid rgba(0,123,255,.2);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    font-size: .9rem;
    text-align: left;
}
.ai-benefit-box .feature-title {
    font-weight: 700;
    color: #0056b3;
    margin-bottom: 8px;
}
.ai-benefit-box ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}
.ai-benefit-box ul li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 5px;
}
.ai-benefit-box ul li::before {
    content: "+";
    position: absolute;
    left: 0;
    font-weight: 700;
}
.plan-card .btn-primary-wrapper {
    padding: 25px 30px;
    margin-top: auto;
    border-top: 1px solid #e9ecef;
}
.plan-card.current-plan {
    border: 2px solid #007bff;
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.15);
}
.plan-card.current-plan .btn-primary {
    background-color: #28a745;
    border-color: #28a745;
    cursor: default;
}
.login-prompt {
    padding: 50px;
    text-align: center;
    background-color: #fff;
    border-radius: 12px;
    max-width: 600px;
    margin: 40px auto;
}
.login-prompt h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}
.login-prompt p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.btn-primary {
    display: inline-block;
    width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background-color: #007bff;
    border: 1px solid #007bff;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: background-color .2s ease-in-out, border-color .2s ease-in-out;
    box-sizing: border-box;
}
.btn-primary:hover:not(:disabled) {
    background-color: #0056b3;
    border-color: #0056b3;
}
.btn-primary:disabled, .btn-primary[disabled] {
    background-color: #6c757d;
    border-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.65;
}