:root{
    --cose-theme-black: var(--cose-black-600);
    --cose-theme-black-rgb: var(--cose-black-rgb-600);
    --cose-theme-gray: var(--cose-gray-300);
    --cose-theme-gray-rgb: var(--cose-gray-rgb-300);
    --cose-theme-yellow: #FFC107;
    --cose-theme-yellow-rgb: 255, 193, 7;
}

/* 섹션 공통 */
section{
    position: relative;
    overflow: hidden;
    scroll-margin-top:4.5rem;
    padding-top: calc(var(--bg-design-radius) * 1.1) !important;
    padding-bottom: calc(var(--bg-design-radius) * 1.35) !important;
}
section h2{
    font-weight: 600;
}

/* 타이포그래피 스타일 */
.section-sub-title, .section-sub-title p {
    display: block;
    color: var(--cose-black-300);
    font-size: calc(1.125rem + 0.2vw);
    font-weight: 800;
}

.section-main-title, .section-main-title p {
    display: block;
    color: var(--cose-black-600);
    font-size: calc(1.375rem + 0.4vw);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-lead-text, .section-lead-text p {
    display: block;
    font-weight: 600;
    color: var(--cose-black-500);
    font-size: calc(1.1875rem + 0.22vw);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.section-desc-text, .section-desc-text p {
    display: block;
    color: var(--cose-black-400);
    font-size: calc(1.0625rem + 0.21vw);
    line-height: 1.7;
}
.section-media-no-wrapper {
    position: relative;
    line-height: 0; /* 하단에 미세한 글꼴 여백(약 4~5px) 제거 */
    font-size: 0; /* 하단에 미세한 글꼴 여백(약 4~5px) 제거 */
    border-radius: 0.375rem;
    overflow: hidden;
    background-color: var(--cose-gray-200);
    z-index: 1;
}
.section-media-wrapper {
    position: relative;
    line-height: 0; /* 하단에 미세한 글꼴 여백(약 4~5px) 제거 */
    font-size: 0; /* 하단에 미세한 글꼴 여백(약 4~5px) 제거 */
    border-radius: 0.375rem;
    overflow: hidden;
    background-color: var(--cose-gray-200);
    z-index: 1;
}
.section-media-wrapper::before {
    content: "Loading...";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    background-color: var(--cose-gray-200);
    color: var(--cose-gray-400);
    font-weight: 500;
    letter-spacing: 0.5px;
    z-index: 0;
}

.section-badge-black {
    display: inline-flex;
    align-items: center;
    background-color: var(--cose-theme-black);
    color: #FFF8F5;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 4px 16px;
    border-radius: 0.25rem;
}

/* 섹션 라인 그리드 배경 */
#section_2, #section_4, #section_6, #section_7 {
    background-color: var(--bg-design-main-bg);
    min-height: calc(var(--bg-design-height) * 2.5);
    border-radius: var(--bg-design-radius) 0 0 0;
    background-color: var(--bg-design-main-bg);
    min-height: calc(var(--bg-design-height) * 2.5);
    border-radius: var(--bg-design-radius) 0 0 0;
    background-image:
            linear-gradient(to bottom,
            var(--bg-design-main-bg) 0%,
            transparent 15%,
            transparent 85%,
            var(--bg-design-main-bg) 100%
            ),
            linear-gradient(to right,
            var(--bg-design-main-bg) 0%,
            transparent 5%,
            transparent 95%,
            var(--bg-design-main-bg) 100%
            ),

    /* SVG 다이아몬드 패턴 */
    /*url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40L40 0M0 0L40 40' stroke='rgba(0,0,0,0.035)' stroke-width='1' fill='none'/%3E%3C/svg%3E");*/
    /* SVG 정사각 패턴 (가로/세로) */
    url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0 L40 0 M0 0 L0 40' stroke='rgba(0,0,0,0.035)' stroke-width='1' fill='none'/%3E%3C/svg%3E");

    background-size:
            100% 100%,
            100% 100%,
            auto; /* SVG 패턴은 자체 크기(40px)대로 반복 */
}

/* 섹션 1 */
#section_1 {
    min-height: calc(var(--bg-design-height) * 2.5);
    margin-top: calc((var(--bg-design-height) / 2) * -1);
}
#section_1::before{
    isolation: isolate; /* 독립 페인트 컨테이너 */
    content:"";
    position:absolute; left:0; right:0; bottom:0; height: var(--bg-design-radius);
    background:var(--bg-design-main-bg);
    z-index:-1; pointer-events:none; -webkit-user-select:none; user-select:none; contain:paint;
}
#section_1::after{
    isolation: isolate;
    content:"";
    position:absolute; left:0; right:0; bottom:0; height: var(--bg-design-radius);
    background:var(--bg-design-body-bg);
    border-radius: 0 0 var(--bg-design-radius) 0; /* top-left, top-right, bottom-right, bottom-left */
    z-index:-1; pointer-events:none; -webkit-user-select:none; user-select:none; contain:paint;
}

/* 섹션 2 */
#section_2::before{
    isolation: isolate;
    content:"";
    position:absolute; left:0; right:0; bottom:calc( var(--bg-design-radius) * -1); height: var(--bg-design-radius);
    background:var(--bg-design-main-bg);
    z-index:-1; pointer-events:none; -webkit-user-select:none; user-select:none; contain:paint;
}
#section_2::after{
    isolation: isolate;
    content:"";
    position:absolute; left:0; right:0; bottom:calc( var(--bg-design-radius) * -1); height: var(--bg-design-radius);
    background:var(--bg-design-body-bg);
    border-radius: 0 var(--bg-design-radius) 0 0; /* top-left, top-right, bottom-right, bottom-left */
    z-index:-1; pointer-events:none; -webkit-user-select:none; user-select:none; contain:paint;
}

/* 섹션 3 */
#section_3 {
    min-height: 460px;
}
#section_3 .bg-media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 1;
}
#section_3 .container {
    position: relative;
    z-index: 2;
}

#section_3 .container .stat-icon {
    color: rgba(255, 255, 255, 0.9) !important;
    display: inline-block;
}
#section_3 .container .stat-number {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 5px;
}
#section_3 .container .stat-text {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9) !important;
}
#section_3 .container .stat-copy {
    width: 100%;
    padding-top: clamp(3rem, 2.25rem + 3.33vw, 4.75rem);
    text-align: center;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* 섹션 4 */
#section_4 .solution-bg-icon {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 5rem;
    color: rgba(0,0,0,0.03);
    transform: rotate(15deg);
    pointer-events: none;
    transition: all 0.3s ease;
}
#section_4 .card:hover .solution-bg-icon {
    color: rgba(var(--cose-theme-black-rgb), 0.08);
    transform: rotate(0deg) scale(1.1);
}

#section_4 .solution-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(var(--cose-theme-black-rgb), 0.1);
    color: var(--cose-theme-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* 리스트 스타일 */
#section_4 .card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
#section_4 .card-list li {
    position: relative;
    font-size: 1.0625rem;
    padding-left: 20px;
    margin-bottom: 1px;
}
/* 리스트 앞 화살표 */
#section_4 .card-list li::before {
    content: '\F0142'; /* MDI Chevron Right */
    font-family: "Material Design Icons";
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--cose-theme-black);
    font-weight: bold;
}

/* 섹션 5 */
#section_5 {
    position: relative;
}
#section_5 .step-watermark {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 5.5rem;
    font-weight: 900;
    color: rgba(var(--cose-theme-black-rgb), 0.05);
    z-index: 1;
    line-height: 1;
    transition: all 0.3s ease;
}
#section_5 .card:hover .step-watermark {
    font-size: 6rem;
}
#section_5 .step-icon {
    width: 56px;
    height: 56px;
    background: var(--cose-theme-black);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(var(--cose-theme-black-rgb), 0.3);
}
#section_5 .step-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

/* 리스트 스타일 */
#section_6 .card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
#section_6 .card-list li {
    position: relative;
    font-size: clamp(1rem, 0.9375rem + 0.25vw, 1.0625rem);
    padding-left: 20px;
    margin-bottom: 1px;
}
/* 리스트 앞 화살표 */
#section_6 .card-list li::before {
    content: '\F0142'; /* MDI Chevron Right */
    font-family: "Material Design Icons";
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--cose-theme-black);
    font-weight: bold;
}
#section_6 #youtube_info {
    padding: 0;
    position: relative;
}
#section_6 #youtube_info .youtube-card {
    background: #fff;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
}
/* 배경 장식 (유튜브 로고 워터마크) */
#section_6 #youtube_info .youtube-watermark {
    position: absolute;
    bottom: -20px;
    left: -30px;
    font-size: 15rem;
    color: rgba(255, 0, 0, 0.03);
    z-index: 0;
    transform: rotate(-15deg);
}
#section_6 #youtube_info i {
    font-size: 4rem;
    color: #ff0000;
}
#section_6 #youtube_info .cta-title {
    font-weight: 700;
    letter-spacing: -0.05em;
    margin-bottom: 1rem;
}
#section_6 #youtube_info .cta-title span {
    color: #ff0000;
}
#section_6 #youtube_info .btn-youtube {
    background: #ff0000;
    color: #fff;
    padding: 1.1rem 2.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 0;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.2);
}
#section_6 #youtube_info .btn-youtube:hover {
    background: #ff0000;
    color: #fff;
    box-shadow: 0 15px 25px rgba(255, 0, 0, 0.3);
}

/* 섹션 7 */
#section_7 .contact-form-card {
    padding: 2.5rem;
}
#section_7 .contact-image-box {
    position: relative;
    height: 100%;
    min-height: 400px;
    border-radius: var(--bs-border-radius);
    overflow: hidden;
    background: var(--cose-theme-black);
}
#section_7 .contact-info-overlay {
    padding: 2.5rem;
    background: var(--cose-black-500);
    color: rgba(255,255,255,0.9);
}
#section_7 .contact-icon-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
}
#section_7 .contact-icon-item i {
    font-size: 1.25rem;
    margin-right: 15px;
    color: var(--cose-theme-gray);
    margin-top: -2px;
}
#section_7 .contact-icon-item h6 {
    font-weight: 700;
    margin-bottom: 3px;
    color: rgba(255,255,255,0.8);
}
#section_7 .contact-icon-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: rgba(255,255,255,0.7);
}
#section_7 #privacyCheck.form-check-input {
    width: 22px;
    height: 22px;
    cursor: pointer;
    border: 1px solid #999;
    background-color: #fff;
    transition: all 0.2s;
    margin-top: 0;
}
#section_7 .form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 22px;
}
#section_7 #privacyCheck.form-check-input:checked {
    background-color: #000;
    border-color: #000;
}
#section_7 #privacyCheck.form-check-input:focus,
#section_7 #privacyCheck.form-check-input:active {
    outline: none !important;
    border-color: #999 !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.05);
}
#section_7 #privacyCheck.form-check-input:checked:focus {
    border-color: #000 !important;
}
#section_7 .form-check-label {
    cursor: pointer;
    line-height: 22px;
    margin-bottom: 0;
}
#section_7 .inquiry-btn {
    background-color: var(--cose-theme-black);
    color: rgba(255, 255, 255, 0.85);
    border: none;
    font-weight: bold;
}
#section_7 .inquiry-btn:hover {
    background-color: var(--cose-theme-black);
    color: rgba(255, 255, 255, 0.85);
    border: none;
    font-weight: bold;
}
#section_7 #contact .form-control:focus{
    border-color:var(--cose-theme-black);
    box-shadow:0 0 0 .2rem rgba(11,58,99,.15);
}

/* 카드 공통 */
.card {
    position: relative;
    border: 1px solid #e9ecef !important;
    border-top: 6px solid var(--cose-theme-black) !important;
    border-radius: 0.625rem;
    background: #fff;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.card-bd-none {
    border-top: none !important;
}

/* 호버 시 카드 위로 부상 + 그림자 강화 */
.card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

/* 카드 본문 스타일 */
.card .card-body {
    padding: 2.5rem 1.5rem;
    overflow: hidden;
}

/* 아이콘 박스 */
.card .card-body .icon-box {
    width: 70px;
    height: 70px;
    line-height: 70px; /* 세로 중앙 정렬 */
    background: rgba(var(--cose-theme-black-rgb), 0.1);
    color: var(--cose-theme-black);
    border-radius: 50%; /* 원형 */
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.card-media-wrap {
    position: relative;
    line-height: 0; /* 하단에 미세한 글꼴 여백(약 4~5px) 제거 */
    font-size: 0; /* 하단에 미세한 글꼴 여백(약 4~5px) 제거 */
    overflow: hidden;
    width: 100%;
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
    background-color: var(--cose-gray-200);
    z-index: 1;
}
.card-media-wrap::before {
    content: "Loading...";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    background-color: var(--cose-gray-200);
    color: var(--cose-gray-400);
    font-weight: 500;
    letter-spacing: 0.5px;
    z-index: 0;
}

/* 타이포그래피 스타일 */
.card-sub-title, .card-sub-title p {
    display: block;
    color: var(--cose-black-300);
    font-size: calc(0.875rem + 0.05vw);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.card-main-title, .card-main-title p {
    display: block;
    font-weight: 600;
    color: var(--cose-black-600);
    font-size: calc(1.1875rem + 0.2vw);
    margin-bottom: 0.625rem;
    line-height: 1.3;
}

.card-lead-text, .card-lead-text p {
    display: block;
    font-weight: 400;
    color: var(--cose-black-400);
    font-size: calc(1rem + 0.1vw);
    margin-bottom: auto;
    line-height: 1.5;
    word-break: keep-all;
}

.card-desc-text, .card-desc-text p {
    display: block;
    font-weight: 400;
    color: var(--cose-black-400);
    font-size: calc(0.9375rem + 0.1vw);
    line-height: 1.6;
    margin-top: 1.5rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}
