@charset "utf-8";

/* ============================================
   실론티 단체보험 Left Sidebar 디자인
   깔끔한 톤앤매너 & 모던 UI/UX
   ============================================ */

/* 실론티(Silonty) 브랜드 컬러 */
:root {
    --slt-primary: #93C454;
    --slt-primary-dark: #748F14;
    --slt-primary-light: #E8F5E0;
    --slt-secondary: #7BA83A;
    --slt-accent: #5A7A10;
    --slt-gray-50: #FAFAFA;
    --slt-gray-100: #F5F5F5;
    --slt-gray-200: #EEEEEE;
    --slt-gray-300: #E0E0E0;
    --slt-gray-400: #BDBDBD;
    --slt-gray-500: #9E9E9E;
    --slt-gray-600: #757575;
    --slt-gray-700: #616161;
    --slt-gray-800: #424242;
    --slt-gray-900: #212121;
    --slt-white: #FFFFFF;
    --slt-shadow-sm: 0 2px 8px rgba(116, 143, 20, 0.08);
    --slt-shadow-md: 0 4px 16px rgba(116, 143, 20, 0.12);
    --slt-shadow-lg: 0 8px 24px rgba(116, 143, 20, 0.16);
}

/* ============================================
   Top Banner 영역
   ============================================ */
.left {
    position: relative;
    width: 432px;
    background: linear-gradient(180deg, #ecf7e8 0%, #c6e8a8 100%);
    border-bottom: 1px solid var(--slt-gray-200);
}

.left .top-banner.group-banner {
    position: relative;
    padding: 40px 32px 0 32px;
    border-bottom: 1px solid var(--slt-gray-200);
    overflow: hidden;
}


.left .top-banner .top-txt {
    position: relative;
    z-index: 1;
}

.left .top-banner .top-txt > p {
    font-size: 14px;
    font-weight: 500;
    color: var(--slt-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    padding: 4px 12px;
    background: var(--slt-primary);
    border-radius: 20px;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    width: 50%;
    margin: 0 auto;
}

.left .top-banner .top-txt .main-txt h1 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--slt-gray-900);
    margin-top: 12px;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    text-align: center;
}

.left .top-banner .top-txt .small-txt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--slt-gray-700);
    margin-bottom: 35px;
}

.left .top-banner .top-txt .small-txt span {
    display: block;
    margin-bottom: 4px;
}

.left .top-banner .top-txt .small-txt .noti {
    font-size: 12px;
    color: var(--slt-gray-700);
    font-style: italic;
    letter-spacing: normal;
}

/* 체크리스트 스타일 개선 */
.left .check-list {
    display: flex;
    flex-direction: column;
    gap: 12px 0;
    margin-top: 24px;
    padding: 20px;
    background: var(--slt-white);
    border-radius: 12px;
    box-shadow: var(--slt-shadow-sm);
    border: 1px solid var(--slt-gray-200);
}

.left .check-list li {
    font-size: 14px;
    color: var(--slt-gray-800);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0 12px;
    line-height: 1.5;
}

.left .check-list li {
    position: relative;
}

.left .check-list li::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background: var(--slt-primary);
    border-radius: 4px;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 156, 224, 0.2);
    position: relative;
}

.left .check-list li::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z' fill='%23ffffff'/%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* ============================================
   Banner Section (국내/해외 카드)
   ============================================ */
.banner-section {
    padding: 26px 32px;
}

.banner-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.banner-card {
    position: relative;
    border-radius: 16px;
    padding: 20px;
    background: #fff;
    color: var(--slt-gray-800);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--slt-gray-200);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.banner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--slt-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.banner-card.domestic {
    background: #fff;
}

.banner-card.domestic::before {
    background: var(--slt-primary-dark);
}

.banner-card.overseas {
    background: #fff;
}

.banner-card.overseas::before {
    background: var(--slt-primary);
}

.banner-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.banner-title svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--slt-primary);
    fill: none;
    stroke: currentColor;
}

.feature-list {
    list-style: none;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 500;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--slt-gray-600);
    fill: none;
    stroke: currentColor;
}

.feature-item span {
    flex: 1;
}

.recommendation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    opacity: 0.95;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    position: relative;
    z-index: 1;
    font-weight: 500;
    color: var(--slt-gray-600);
}

.recommendation svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--slt-primary);
    fill: currentColor;
}

/* ============================================
   Bottom Banner 영역
   ============================================ */
.left .bottom-banner {
    padding:0 32px 32px;
}

.left .deliberation {
    width: 100%;
    padding: 11px 0;
    font-size: 13px;
    color: var(--slt-gray-600);
    text-align: center;
    font-weight: 400;
    line-height: 1.5;
    background: var(--slt-gray-50);
    border-radius: 12px;
    border: 1px solid var(--slt-gray-200);
}

.left .deliberation span {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 500;
    color: #000;
}

/* ============================================
   반응형 디자인 (모바일: left-mo 안 깨지게)
   ============================================ */
@media (max-width: 1200px) {
    /* plans 페이지부터 모바일에서 left-mo(좌측 요약) 숨김 */
    body.quote-from-plans .left-mo {
        display: none !important;
    }

    .left {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* left-mo 전용: 뷰포트 넘침 방지 (width는 common.css에서 제어) */
    .left-mo {
        box-sizing: border-box;
        padding-left: 16px;
        padding-right: 16px;
    }

    .left-mo .left-pdt-details,
    .left-mo .top-banner,
    .left-mo .banner-section,
    .left-mo .bottom-banner {
        max-width: 100%;
        box-sizing: border-box;
    }

    .left-mo .top-txt .small-txt span {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .banner-container {
        grid-template-columns: 1fr;
        gap: 16px;
        min-width: 0;
    }

    .banner-card {
        padding: 14px;
        min-width: 0;
    }

    .banner-title {
        font-size: 18px;
    }

    .feature-item {
        font-size: 14px;
    }

    .left .top-banner.group-banner,
    .left-mo .top-banner.group-banner {
        padding: 94px 20px 20px;
        box-sizing: border-box;
    }

    .banner-section {
        padding: 34px 16px;
        padding-top: 0;
        box-sizing: border-box;
    }

    .left .bottom-banner,
    .left-mo .bottom-banner {
        padding: 20px 16px 24px;
        padding-top: 0;
        box-sizing: border-box;
    }

    .left-mo .check-list {
        margin-left: 0;
        margin-right: 0;
        padding: 16px;
    }
}

@media (max-width: 432px) {
    .left-mo {
        padding-left: 12px;
        padding-right: 12px;
    }

    .left-mo .top-banner.group-banner,
    .left-mo .top-banner {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .left-mo .banner-section {
        padding-left: 12px;
        padding-right: 12px;
    }

    .left-mo .bottom-banner {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* ============================================
   애니메이션 효과
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.left .top-banner .top-txt {
    animation: fadeInUp 0.6s ease-out;
}

.left .check-list {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.banner-card {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.banner-card:nth-child(2) {
    animation-delay: 0.5s;
}

/* ============================================
   접근성 개선
   ============================================ */
.banner-card:focus {
    outline: 3px solid var(--slt-primary);
    outline-offset: 2px;
}

.banner-card:focus:not(:focus-visible) {
    outline: none;
}

/* ============================================
   Conversion Focused Left Hero Banner
   ============================================ */
.left-hero-banner {
    position: relative;
    margin: 28px 24px 16px;
    padding: 32px 24px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #d8ebf8;
    box-shadow: 0 8px 24px rgba(15, 82, 122, 0.08);
    overflow: hidden;
}

.left-hero-banner__title {
    margin: 0;
    font-size: 30px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #10263c;
    position: relative;
    z-index: 2;
    max-width: 72%;
}

.left-hero-banner__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 10px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #b9dcf3;
    background: #eef8ff;
    color: #1d5f8f;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 2;
}

.left-hero-banner__metric {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 8px;
    border-radius: 8px;
    background: var(--slt-primary-light);
    color: #748F14;
}

.left-hero-banner__subtext {
    margin: 32px 0 0;
    font-size: 15px;
    line-height: 1.65;
    font-weight: 500;
    color: #4e6479;
    position: relative;
    z-index: 2;
    max-width: 72%;
}

.left-hero-banner__usp-list {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    position: relative;
    z-index: 2;
    max-width: 72%;
}

.left-hero-banner__usp-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
    color: #1f3f5d;
}

.left-hero-banner__usp-item:first-child {
    margin-top: 0;
}

.left-hero-banner__metric-inline {
    color: #748F14;
    font-weight: 700;
}

.left-hero-banner__usp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: #93C454;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    flex-shrink: 0;
}

.left-hero-banner__divider {
    border: 0;
    border-top: 1px solid #e5eef5;
    margin: 20px 0;
}

.left-hero-banner__group-note {
    margin: 0;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 500;
    color: #295276;
    background: #f0f4e8;
    position: relative;
    z-index: 2;
}

.left-hero-banner__group-note .left-hero-banner__metric-inline {
    color: #5A7A10;
}

.left-hero-banner__social-proof {
    margin: 12px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: #6a7f92;
    position: relative;
    z-index: 2;
}

.left-hero-banner__visual {
    position: absolute;
    right: 8px;
    top: 6px;
    width: 208px;
    height: 168px;
    pointer-events: none;
    z-index: 1;
}

.left-hero-banner__visual::before {
    content: "";
    position: absolute;
    right: -150px;
    top: 10px;
    width: 360px;
    height: 138px;
    border-radius: 999px;
    background: linear-gradient(90deg, #dff4ff 0%, #cbeaff 100%);
    opacity: 0.92;
    z-index: -1;
}

.left-hero-banner__visual-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 14px rgba(18, 58, 108, 0.12));
}

@media (max-width: 1200px) {
    .left-hero-banner {
        margin: 92px 16px 12px;
        padding: 24px 16px;
    }

    .left-hero-banner__title {
        font-size: 24px;
        max-width: 100%;
    }

    .left-hero-banner__chip {
        margin-bottom: 8px;
        font-size: 11px;
    }

    .left-hero-banner__subtext {
        font-size: 14px;
        max-width: 100%;
    }

    .left-hero-banner__usp-list {
        max-width: 100%;
    }

    .left-hero-banner__visual {
        position: static;
        width: 100%;
        height: 118px;
        margin: -6px 0 12px;
    }

    .left-hero-banner__visual::before {
        right: -120px;
        top: 8px;
        width: 300px;
        height: 104px;
        opacity: 0.9;
    }
}

