@charset "utf-8";

.s_txt{margin-bottom: 50px;}
.s_txt h2{color:var(--heading-color); font-size: 48px; margin-bottom: 20px;}
.s_txt p{color:var(--text-color); font-size: 18px; line-height: 1.6em;}
.s_txt p a{color:var(--primary-color); margin-left: 5px;}

@media all and (max-width:1280px){
    .s_txt{margin-bottom: 45px;}
    .s_txt h2{font-size: 44px;}
    .s_txt p{font-size: 17px;}
}
@media all and (max-width:1024px){
    .s_txt h2{font-size: 41px;}
}
@media all and (max-width:768px){
    .s_txt{margin-bottom: 40px;}
    .s_txt h2{font-size: 38px;}
    .s_txt p{font-size: 16px;}
}
@media all and (max-width:500px){
    .s_txt h2{font-size: 35px;}
}

/* ==========================================================================
   #design 테마 마켓 (포트폴리오) 스타일 시트
   ========================================================================== */

/* Enable sticky positioning by removing overflow: hidden from parent */
#pageCont {
    overflow: visible !important;
}

#design {
    color: var(--heading-color);
    background: var(--bg-color);
    width: 100%;
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   목록 화면 (Portfolio Grid List & Wide Layout)
   -------------------------------------------------------------------------- */
#design .tm-list-wrap {
    width: 100%;
    box-sizing: border-box;
    padding: 0px 3%;
}

/* 와이드형 상단 검색창 */
#design .tm-list-header-wide {
    width: 100%;
    margin-bottom: 40px;
}

#design .tm-search-box-wide {
    display: flex;
    align-items: center;
    border: 1px solid var(--header-border2);
    border-radius: 12px;
    padding: 14px 24px;
    background: var(--bg-color, #ffffff);
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#design .tm-search-box-wide:focus-within {
    border-color: var(--heading-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

#design .tm-search-icon {
    width: 20px;
    height: 20px;
    color: var(--text-color, #9ca3af);
    margin-right: 12px;
    flex-shrink: 0;
}

#design .tm-search-input {
    border: none;
    outline: none;
    font-size: 15px;
    font-weight: 400;
    color: var(--heading-color);
    background: transparent;
    width: 100%;
}

/* 2단 레이아웃 (좌측 분류 / 우측 그리드) */
#design .tm-list-columns {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* 좌측 세로 카테고리 사이드바 */
#design .tm-list-sidebar {
    width: 200px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
}

#design .tm-sidebar-filter-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--heading-color, #111827);
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--header-border2);
    padding-bottom: 10px;
}

#design .tm-filter-tags-vertical {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#design .tm-filter-tag-vertical {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    background: transparent;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#design .tm-filter-tag-vertical:hover {
    background-color: var(--header-border2);
    color: var(--heading-color);
}

#design .tm-filter-tag-vertical.active {
    background-color: var(--heading-color);
    color: var(--bg-color);
    font-weight: 700;
}

/* 우측 그리드 목록 */
#design .tm-list-grid {
    flex: 1;
    min-width: 0;
}

#design .tm-grid-sort-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

#design .tm-grid-sort-bar-left {
    display: flex;
    align-items: center;
}

#design #tm-cat-dropdown {
    display: none;
}

#design .tm-grid-count {
    font-size: 15px;
    color: var(--text-color);
}

#design .tm-grid-count strong {
    color: var(--heading-color);
    font-weight: 700;
}

#design .tm-sort-dropdown {
    position: relative;
    display: inline-block;
}

#design .tm-sort-trigger {
    background: var(--bg-color);
    border: 1px solid var(--header-border2);
    border-radius: 8px;
    padding: 0 16px;
    height: 38px;
    box-sizing: border-box;
    font-size: 14px;
    font-weight: 600;
    color: var(--heading-color);
    cursor: pointer;
    outline: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

@media all and (max-width: 768px) {
    #design .tm-sort-trigger {
        height: 34px;
        padding: 0 12px;
        font-size: 13px;
    }
}

@media all and (max-width: 480px) {
    #design .tm-sort-trigger {
        height: 32px;
        padding: 0 10px;
        font-size: 12px;
    }
}

#design .tm-sort-trigger:hover {
    border-color: var(--heading-color);
}

#design .tm-dropdown-arrow {
    width: 12px;
    height: 12px;
    color: var(--text-color);
    transition: transform 0.2s ease;
}

#design .tm-sort-dropdown.open .tm-dropdown-arrow {
    transform: rotate(180deg);
}

#design .tm-sort-options {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: var(--bg-color);
    border: 1px solid var(--header-border2);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    min-width: 110px;
    padding: 6px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 2px;
    transform: translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), 
                opacity 0.2s cubic-bezier(0.25, 1, 0.5, 1),
                visibility 0.2s;
}

#design .tm-sort-dropdown.open .tm-sort-options {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

#design .tm-sort-option {
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
    white-space: nowrap;
}

#design .tm-sort-option:hover {
    background: var(--header-border2);
    color: var(--heading-color);
}

#design .tm-sort-option.active {
    background: var(--header-border2);
    color: var(--heading-color);
    font-weight: 700;
}

#design .tm-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px 24px;
}

#design .tm-card {
    cursor: pointer;
    text-decoration: none;
    display: block;
    transition: opacity 0.3s;
}

#design .tm-card.private-theme {
    opacity: 0.65;
}

#design .tm-card-thumb-wrap {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 83/100;
    background: var(--bg-color);
    /* border: 1px solid var(--header-border2); */
}

#design .tm-card-thumb {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* object-fit: cover;
    object-position:top center; */
    display: block;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

#design .tm-card:hover .tm-card-thumb {
    transform: scale(1.03);
}

#design .tm-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    z-index: 2;
}

#design .tm-card-badge.private {
    background: rgba(107, 114, 128, 0.85);
}

#design .tm-card-meta {
    padding: 12px 2px 0;
}

#design .tm-card-category {
    font-size: 13px;
    color: var(--text-color, #6b7280);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    margin-bottom: 5px;
}

#design .tm-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--heading-color, #111827);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#design .tm-card-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

#design .tm-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 75%;
    overflow: hidden;
}

#design .tm-tag {
    font-size: 11px;
    padding: 3px 8px;
    border: 1px solid var(--header-border2, rgba(0, 0, 0, 0.15));
    border-radius: 6px;
    background: transparent;
    color: var(--text-color, #555555);
    font-weight: 500;
    white-space: nowrap;
    line-height: 1;
    display: inline-block;
}

/* 카드 목록 — 조회수 / 추천수 공통 */
#design .tm-card-views,
#design .tm-card-recommend {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #9ca3af;
    white-space: nowrap;
}

#design .tm-card-views svg,
#design .tm-card-recommend svg {
    color: #9ca3af;
    flex-shrink: 0;
}


/* --------------------------------------------------------------------------
   상세 보기 화면 (Imweb Detail Mode - Width-expanded)
   -------------------------------------------------------------------------- */
#design .tm-detail-wrap {
    display: none;
    width: 100%;
    box-sizing: border-box;
    padding: 0px 3%;
}

#design .tm-detail-wrap.active {
    display: block;
    animation: tmFadeIn 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes tmFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#design .tm-detail-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 10px 0 20px;
    border-bottom: 1px solid var(--header-border2); */
    margin-bottom: 35px;
}

#design .tm-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--heading-color, #111827);
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    transition: background-color 0.2s;
}

#design .tm-btn-back:hover {
    background-color: var(--header-border2);
}

#design .tm-device-switcher {
    display: flex;
    background: var(--header-border2);
    border-radius: 30px;
    padding: 4px;
    gap: 2px;
}

#design .tm-device-btn {
    border: none;
    background: none;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: all 0.2s ease;
}

#design .tm-device-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

#design .tm-device-btn.active {
    background: var(--bg-color);
    color: var(--heading-color);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

#design .tm-detail-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

#design .tm-detail-actions > .tm-action-btn,
#design .tm-detail-actions > .tm-action-divider {
    display: none;
}

#design .tm-action-btn {
    border: 1px solid var(--header-border2);
    background: var(--bg-color);
    height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--text-color);
    transition: all 0.2s ease;
    white-space: nowrap;
}

#design .tm-action-btn:hover {
    background: var(--header-border2);
    color: var(--heading-color);
}

#design .tm-action-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

#design .tm-action-btn-label {
    font-size: 14px;
    font-weight: 500;
}

#design .tm-action-divider {
    width: 1px;
    height: 20px;
    background-color: var(--header-border2);
    margin: 0 4px;
}

#design .tm-arrow-group {
    display: flex;
    border: 1px solid var(--header-border2);
    background: var(--bg-color);
    border-radius: 8px;
    overflow: hidden;
    height: 36px;
    align-items: center;
}

#design .tm-arrow-btn {
    border: none;
    background: none;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: all 0.2s ease;
}

#design .tm-arrow-btn:hover {
    background: var(--header-border2);
    color: var(--heading-color);
}

#design .tm-arrow-btn svg {
    width: 18px;
    height: 18px;
}

#design .tm-arrow-divider {
    width: 1px;
    height: 16px;
    background-color: var(--header-border2);
}

#design .tm-detail-columns {
    display: flex;
    gap: 30px;
}

#design .tm-detail-left {
    flex: 1;
    min-width: 0;
}

#design .tm-detail-right {
    width: 380px;
    flex-shrink: 0;
}

/* iframe 뷰어 목업 영역 */
#design .tm-viewer-container {
    background: transparent;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: max-width 0.4s ease, padding 0.4s ease;
    /* margin-bottom: 40px; */
}

#design .tm-viewer-iframe-wrapper {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-color);
    border: 1px solid var(--header-border2);
    box-shadow: 0 15px 35px var(--header-bg);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                border 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                border-radius 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

#design .tm-viewer-bar {
    background: var(--bg-color);
    border-bottom: 1px solid var(--header-border2);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

#design .tm-viewer-bar .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

#design .tm-viewer-bar .dot.red {
    background: #ff5f56;
}

#design .tm-viewer-bar .dot.yellow {
    background: #ffbd2e;
}

#design .tm-viewer-bar .dot.green {
    background: #27c93f;
}

#design .tm-viewer-iframe-wrapper.pc-mode {
    width: 100%;
    height: 720px;
}

#design .tm-viewer-iframe-wrapper.mobile-mode {
    width: 375px;
    height: 667px;
    border: 10px solid var(--header-border2);
    border-radius: 36px;
    box-sizing: content-box;
}

#design .tm-viewer-iframe-wrapper.mobile-mode .tm-viewer-bar {
    display: none;
}

#design .tm-viewer-frame {
    flex: 1;
    width: 100%;
    border: none;
    display: block;
    background: #ffffff;
}

/* 파생 디자인 (전문가의 다른 작업) */
#design .tm-sub-designs-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--header-border2);
}

#design .tm-sub-designs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

#design .tm-sub-designs-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0;
}

#design .tm-sub-slider-nav {
    display: flex;
    gap: 6px;
}

#design .tm-sub-slider-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--header-border2);
    background: var(--bg-color);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

#design .tm-sub-slider-btn:hover:not(:disabled) {
    background: var(--heading-color);
    color: var(--bg-color);
    border-color: var(--heading-color);
}

#design .tm-sub-slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

#design .tm-sub-slider-btn svg {
    width: 14px;
    height: 14px;
}

#design .tm-sub-designs-slider-wrap {
    overflow: hidden;
    width: 100%;
}

#design .tm-sub-designs-slider-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

/* Page containing 2x2 grid */
.tm-sub-designs-page {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    flex-shrink: 0;
}

/* Individual Card adjustment for 2x2 */
#design .tm-sub-card {
    width: 100%;
    cursor: pointer;
}

#design .tm-sub-card-thumb-wrap {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    transition: all 0.3s ease;
    background: var(--bg-color);
}

#design .tm-sub-card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

#design .tm-sub-card-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    margin-top: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

#design .tm-sub-card.active .tm-sub-card-title {
    color: var(--heading-color);
    font-weight: 600;
}

/* 우측 Sticky 사이드바 */
#design .tm-sticky-sidebar {
    position: sticky;
    top: 100px;
    background: var(--bg-color);
    border: 1px solid var(--header-border2);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

#design .tm-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

#design .tm-detail-tag {
    display: inline-block;
    font-size: 13px;
    padding: 3px 8px;
    border: 1px solid var(--header-border2, rgba(0, 0, 0, 0.15));
    border-radius: 6px;
    background: transparent;
    color: var(--text-color, #555555);
    font-weight: 500;
    white-space: nowrap;
    line-height: 1;
}

#design .tm-detail-tag--cat {
    color: var(--heading-color);
    border-color: var(--heading-color);
    font-weight: 600;
}

#design .tm-sidebar-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--heading-color);
    margin-top: 0;
    line-height: 1.35;
}

#design .tm-sidebar-desc {
    font-size: 16px;
    color: var(--text-color);
    margin-top: 18px;
    line-height: 1.65;
}

#design .tm-detail-cta-row {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    width: 100%;
}

#design .tm-detail-bottom-actions {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    width: 100%;
}

#design .tm-detail-bottom-actions .tm-action-btn {
    flex: 1;
    height: 48px;
    padding: 0 14px;
}

#design .tm-btn-recommend {
    flex-shrink: 0;
    height: 54px;
    border-radius: 12px;
    border: 1px solid var(--header-border2, rgba(0, 0, 0, 0.15));
    background: var(--bg-color, #ffffff);
    color: var(--text-color, #555555);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    padding: 0 18px;
    gap: 2px;
    outline: none;
    white-space: nowrap;
}

#design .tm-btn-recommend-label {
    font-size: 14px;
    font-weight: 600;
}

#design .tm-btn-recommend:hover {
    border-color: var(--heading-color);
}

#design .tm-btn-recommend:hover .tm-heart-icon {
    stroke: var(--heading-color);
}

#design .tm-btn-recommend.recommended {
    background: var(--bg-color, #ffffff);
    border-color: var(--header-border2, rgba(0, 0, 0, 0.15));
    color: var(--text-color);
}

#design .tm-heart-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease, fill 0.3s ease, stroke 0.3s ease;
}

#design .tm-btn-recommend.recommended .tm-heart-icon {
    fill: var(--heading-color);
    stroke: var(--heading-color);
}

#design .tm-btn-recommend:active .tm-heart-icon {
    transform: scale(1.2);
}

#design .tm-btn-inquiry {
    flex: 1;
    background: var(--heading-color);
    color: var(--bg-color);
    border: none;
    border-radius: 12px;
    height: 54px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.4s;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

#design .tm-btn-inquiry:hover{opacity: 0.5;}

#design .tm-sidebar-profile {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--header-border2);
}

#design .tm-profile-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: #f3f4f6;
}

#design .tm-profile-info {
    font-size: 16px;
    line-height: 1.4;
}

#design .tm-profile-name {
    font-weight: 700;
    color: var(--heading-color);
    font-size: 16px;
}

#design .tm-profile-desc {
    color: var(--text-color);
    margin-top: 2px;
}

/* --------------------------------------------------------------------------
   문의하기 오버레이 모달 (Inquiry Modal)
   -------------------------------------------------------------------------- */
#design .tm-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#design .tm-modal-overlay.active {
    display: flex;
}

#design .tm-modal-container {
    background: var(--bg-color);
    border-radius: 24px;
    width: 960px;
    max-width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
    display: flex;
    animation: tmPopUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes tmPopUp {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

#design .tm-modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--heading-color);
    z-index: 10;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

#design .tm-modal-close-btn:hover {
    background-color: var(--header-border2);
}

#design .tm-modal-left {
    width: 340px;
    background: #f9fafb;
    border-right: 1px solid var(--header-border2);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    box-sizing: border-box;
    overflow-y: auto;
}

[data-theme="dark"] #design .tm-modal-left {
    background: #121212;
}

#design .tm-modal-profile {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

#design .tm-modal-logo {
    width: 144px;
    height: 40px;
    background: url(/images/common/logo.webp) no-repeat center center / contain;
    filter: invert(1);
    transition: filter 0.3s;
}

[data-theme="dark"] #design .tm-modal-logo {
    filter: none;
}

/* 좌측 안내 문구 영역 */
#design .tm-modal-benefit-wrap {
    margin-top: 15px;
    border-top: 1px solid var(--header-border2);
    padding-top: 30px;
}

#design .tm-modal-benefit-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 0 0 24px 0;
    padding: 0;
    list-style: none;
}

#design .tm-modal-benefit-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

#design .benefit-icon {
    font-size: 24px;
    color: var(--primary-color, #1a65ff);
    flex-shrink: 0;
    font-weight: 300;
}

#design .benefit-content {
    flex: 1;
}

#design .benefit-content strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 5px;
}

#design .benefit-content p {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
    word-break: keep-all;
}

#design .tm-modal-benefit-footer {
    background: var(--header-border2);
    border-radius: 12px;
    padding: 15px 20px 13px;
    margin-top: 30px;
}

#design .tm-modal-benefit-footer strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 6px;
}

#design .tm-modal-benefit-footer p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
    word-break: keep-all;
}

#design .tm-modal-right {
    flex: 1;
    padding: 50px 45px;
    overflow-y: auto;
    box-sizing: border-box;
}

#design .tm-modal-right-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--heading-color);
    margin-top: 0;
    margin-bottom: 25px;
}

#design .tm-form-group {
    margin-bottom: 23px;
}

#design .tm-form-label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--heading-color, #111827);
    margin-bottom: 8px;
}

#design .tm-form-label span.req {
    color: #ef4444;
    margin-left: 3px;
}

#design input,
#design textarea,
#design select,
#design button {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

#design .tm-select,
#design .tm-input,
#design .tm-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--header-border2, #e5e7eb);
    border-radius: 10px;
    font-size: 16px;
    color: var(--heading-color, #111827);
    background: var(--bg-color, #ffffff);
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
#design .tm-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 14px center;
    background-repeat: no-repeat;
    background-size: 18px;
    padding-right: 40px;
    cursor: pointer;
}

#design .tm-select:focus,
#design .tm-input:focus,
#design .tm-textarea:focus {
    border-color: var(--heading-color, #111827);
    box-shadow: 0 0 0 3px var(--header-border);
}

#design .tm-textarea {
    height: 100px;
    resize: none;
    line-height: 1.6;
}

#design .tm-form-row {
    display: flex;
    gap: 12px;
}

#design .tm-form-col {
    flex: 1;
}

#design .tm-checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 16px;
    color: var(--text-color);
    cursor: pointer;
    user-select: none;
}

#design .tm-checkbox {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid var(--header-border2);
    cursor: pointer;
}


#design .tm-error-msg {
    color: #ef4444;
    font-size: 13px;
    font-weight: 500;
    margin-top: 16px;
    display: none;
}

#design .tm-privacy-box {
    background: var(--bg-color);
    border: 1px solid var(--header-border2);
    border-radius: 10px;
    padding: 14px 16px;
    margin-top: 15px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

#design .tm-privacy-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 8px;
}

#design .tm-privacy-bullets {
    padding-left: 16px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#design .tm-privacy-bullets li {
    font-size: 13px;
    color: var(--text-color);
    line-height: 1.4;
    list-style-type: disc;
}

#design .tm-btn-submit {
    width: 100%;
    background: var(--heading-color);
    color: var(--bg-color);
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    transition: opacity 0.2s, background-color 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

#design .tm-btn-submit:hover {
    opacity: 0.85;
}

#design .tm-btn-submit:disabled {
    background: var(--header-border2);
    color: var(--text-color);
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.6;
}

/* ==========================================================================
   반응형 모바일 미디어 쿼리 (main.css Breakpoints 동기화)
   ========================================================================== */
@media all and (max-width: 1600px) {
    #design .tm-grid { grid-template-columns: repeat(3, 1fr); gap:35px; }
}
@media all and (max-width: 1280px) {
    #design .tm-list-wrap { padding: 0px 3%; }
    #design .tm-grid { grid-template-columns: repeat(2, 1fr); gap:35px; }
}

@media all and (max-width: 1024px) {
    #design .tm-list-columns { flex-direction: column; gap: 30px; align-items: stretch; }
    #design .tm-list-sidebar { display: none; }
    #design #tm-cat-dropdown { display: inline-block; }
    #design .tm-grid-count { display: none; }
    
    #design .tm-detail-columns { flex-direction: column; gap: 30px; }
    #design .tm-detail-left { display: contents; }
    #design .tm-viewer-container { order: 1; margin-bottom: 0; }
    #design .tm-detail-right { order: 2; width: 100%; }
    #design .tm-sub-designs-section { order: 3; margin-top: 40px; }
    #design .tm-sticky-sidebar { position: static; box-shadow: none; border: none; padding: 0; }
    
    #design .tm-modal-container {
        flex-direction: column;
        height: auto;
        max-height: 90vh;
        width: 100%;
        max-width: 500px;
        overflow-y: auto;
    }
    #design .tm-modal-left {
        display: none;
        padding: 40px 30px;
    }
    #design .tm-modal-right {
        padding: 35px 25px;
        width: 100%;
        overflow-y: visible;
        box-sizing: border-box;
    }

    /* 모바일에서 15px까지 본문/인풋 텍스트 허용 (14px 제한 적용) */
    #design .tm-sidebar-filter-title,
    #design .tm-filter-tag-vertical,
    #design .tm-card-category,
    #design .tm-btn-back,
    #design .tm-sub-card-title,
    #design .tm-sidebar-category,
    #design .tm-sidebar-desc,
    #design .tm-btn-inquiry,
    #design .tm-profile-info,
    #design .tm-profile-name,
    #design .tm-modal-info-list,
    #design .tm-form-label,
    #design .tm-select,
    #design .tm-input,
    #design .tm-textarea,
    #design .tm-checkbox-wrap,
    #design .tm-error-msg {
        font-size: 15px;
    }
}

@media all and (max-width: 768px) {
    #design .tm-device-switcher {
        display: none !important;
    }
    #design .tm-viewer-iframe-wrapper {
        width: 100% !important;
        max-width: 340px;
        height: 560px !important;
        border: 10px solid var(--header-border2) !important;
        border-radius: 36px !important;
        box-sizing: border-box !important;
    }
    #design .tm-viewer-bar {
        display: none !important;
    }
    #design .tm-card-thumb-wrap{
        aspect-ratio: 89/80;
    }
    /* #design .tm-card-thumb{object-fit: cover; object-position: top center;} */
}

@media all and (max-width: 500px) {
    #design .tm-grid { grid-template-columns: 1fr; }
    #design .tm-form-row { flex-direction: column; gap: 15px; }
    #design .tm-filter-tags-vertical { gap: 6px; }
    #design .tm-filter-tag-vertical { font-size: 15px; padding: 8px 12px; }
}


/* ==========================================================================
   초기 로딩 FOUC 방지 & 스켈레톤 로딩 카드
   ========================================================================== */

/* 그리드 / 정렬바 — JS 완료 전까지 숨김 */
#tm-theme-grid {
    opacity: 0;
    transition: opacity 0.45s ease;
}
#tm-theme-grid.tm-grid-ready {
    opacity: 1;
}
#tm-grid-sort-bar-wrap {
    opacity: 0;
    transition: opacity 0.3s ease;
}
#tm-grid-sort-bar-wrap.tm-grid-ready {
    opacity: 1;
}

/* 스켈레톤 래퍼 — 실제 .tm-grid와 동일한 그리드 레이아웃 */
#design #tm-skeleton-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px 24px;
    padding: 0 0 24px;
}

/* 스켈레톤 카드 — .tm-card와 동일한 구조 */
#design .tm-skeleton-card {
    cursor: default;
}

/* 썸네일 영역 — .tm-card-thumb-wrap과 동일한 형태 */
#design .tm-skeleton-card .sk-thumb {
    border-radius: 10px;
    aspect-ratio: 4 / 3;
    background: var(--header-border2);
    border: 1px solid var(--header-border);
    position: relative;
    overflow: hidden;
}

/* 메타 영역 — .tm-card-meta와 동일한 패딩 */
#design .tm-skeleton-card .sk-body {
    padding: 12px 2px 0;
}

/* 타이틀 줄 — .tm-card-title 높이·폰트에 대응 */
#design .tm-skeleton-card .sk-title {
    height: 18px;
    border-radius: 6px;
    background: var(--header-border2);
    width: 62%;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

/* 태그 줄 — .tm-tag 크기에 대응 */
#design .tm-skeleton-card .sk-tag {
    height: 13px;
    border-radius: 6px;
    background: var(--header-border2);
    width: 42%;
    position: relative;
    overflow: hidden;
}

/* Shimmer 슈도 요소 — 배경색에 반투명 하이라이트를 슬라이드해 라이트·다크 모두 호환 */
#design .tm-skeleton-card .sk-thumb::after,
#design .tm-skeleton-card .sk-title::after,
#design .tm-skeleton-card .sk-tag::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    animation: tm-skeleton-shimmer 1.6s ease-in-out infinite;
}

[data-theme="dark"] #design .tm-skeleton-card .sk-thumb::after,
[data-theme="dark"] #design .tm-skeleton-card .sk-title::after,
[data-theme="dark"] #design .tm-skeleton-card .sk-tag::after {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.06) 50%,
        transparent 100%
    );
}

@keyframes tm-skeleton-shimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

/* 스켈레톤 반응형 — .tm-grid 브레이크포인트와 동기화 */
@media all and (max-width: 1600px) {
    #design #tm-skeleton-wrap {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }
}
@media all and (max-width: 1280px) {
    #design #tm-skeleton-wrap {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
}
@media all and (max-width: 500px) {
    #design #tm-skeleton-wrap {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   요금제 (Pricing)
   ========================================================================== */


/* 토글 */
.pricing_toggle_wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 50px;
}

.ptoggle_label {
    font-size: 16px;
    font-weight: 600;
    color: var(--heading-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.ptoggle_badge {
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
    background: var(--heading-color);
    color: var(--bg-color);
    padding: 3px 10px;
    border-radius: 30px;
}

.ptoggle_switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

.ptoggle_switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.ptoggle_slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--header-border2);
    border-radius: 28px;
    transition: background 0.3s ease;
}

.ptoggle_slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-color);
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
}

.ptoggle_switch input:checked + .ptoggle_slider {
    background: var(--heading-color);
}

.ptoggle_switch input:checked + .ptoggle_slider::before {
    transform: translateY(-50%) translateX(24px);
}

/* 카드 컨테이너 */
.pricing_cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* 애니메이션 border 래퍼 (프로 카드 전용) */
.pc_border_wrap {
    flex: 1;
    position: relative;
    border-radius: 22px;
    padding: 1px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pc_border_wrap::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    aspect-ratio: 1 / 1;
    background: conic-gradient(
        #1a65ff,
        #ce5eff,
        #fd5766,
        #ffcb56,
        #ff725e,
        #1a65ff
    );
    transform: translate(-50%, -50%) rotate(0deg);
    transform-origin: center center;
    animation: proBorderRotate 5s linear infinite;
    z-index: 0;
}

@keyframes proBorderRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 카드 공통 */
.pricing_card {
    flex: 1;
    border: 1px solid var(--header-border2);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    background: var(--bg-color);
    transition: box-shadow 0.3s ease;
}

.pricing_card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* 프로 카드 — 래퍼 안쪽, 미세하게 다른 배경 */
.pricing_card.is_featured {
    border: none;
    border-radius: 20.5px;
    background: #fcfcfc;
    position: relative;
    z-index: 1;
}

[data-theme="dark"] .pricing_card.is_featured {
    background: #111;
}

.pricing_card.is_featured:hover { box-shadow: none; }

/* 인기 뱃지 */
.pc_badge {
    position: absolute;
    top: 28px;
    right: 28px;
    background: var(--heading-color);
    color: var(--bg-color);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 30px;
}

/* 카드 헤더 */
.pc_header { margin-bottom: 28px; }

.pc_name {
    font-size: 22px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 8px;
}

.pc_desc {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 24px;
    line-height: 1.5em;
}

/* 가격 */
.pc_price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pc_original {
    display: none;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: line-through;
    line-height: 1;
    margin-bottom: 2px;
}

.pc_original.show {
    animation: origSlideIn 0.35s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes origSlideIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.pc_price_row {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.pc_currency {
    font-size: 18px;
    font-weight: 700;
    color: var(--heading-color);
    align-self: flex-start;
    margin-top: 14px;
    line-height: 1;
}

.pc_amount {
    font-size: 54px;
    font-weight: 800;
    color: var(--heading-color);
    line-height: 1;
    letter-spacing: -0.03em;
}

.pc_period {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    align-self: flex-end;
    margin-bottom: 6px;
}

/* 버튼 */
.pc_btn {
    display: block;
    text-align: center;
    background: var(--heading-color);
    color: var(--bg-color);
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 28px;
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.pc_btn:hover { opacity: 0.65; }


/* 기능 목록 */
.pc_features {
    display: flex;
    flex-direction: column;
    gap: 13px;
    border-top: 1px solid var(--header-border2);
    padding-top: 24px;
}

.pc_features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--heading-color);
    line-height: 1.4em;
}

.pc_features li em {
    font-style: normal;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    background: var(--header-border2);
    color: var(--text-color);
    margin-left: 2px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 체크 아이콘 */
.pc_check {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--header-border2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pc_check::after {
    content: '✓';
    font-size: 11px;
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1;
}

/* 반응형 */
@media all and (max-width: 1280px) {
    .pricing_card { padding: 35px; }
    .pc_amount { font-size: 48px; }
}

@media all and (max-width: 768px) {
    .pricing_toggle_wrap { margin-bottom: 35px; }
    .pricing_cards { display: flex; flex-direction: column; }
    .pc_border_wrap { flex: none; width: 100%; order:-1;}
    .pricing_card { padding: 30px; }
    .pc_amount { font-size: 44px; }
    .pc_badge { top: 22px; right: 22px; }
}

@media all and (max-width: 500px) {
    .pricing_card { padding: 24px; }
    .pc_name { font-size: 20px; }
    .pc_desc { font-size: 14px; margin-bottom: 18px; }
    .pc_amount { font-size: 40px; }
    .pc_currency { font-size: 19px; }
    .pc_features li { font-size: 14px; }
    .ptoggle_label { font-size: 15px; }
}

/* 개인정보 툴팁 */
.tm-privacy-trigger {
    position: relative;
    display: inline-block;
    cursor: pointer;
    color: var(--heading-color, #000);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tm-privacy-tooltip {
    display: none;
    position: fixed;
    min-width: 260px;
    max-width: 300px;
    background: var(--bg-color, #fff);
    border: 1px solid var(--header-border2, rgba(0, 0, 0, 0.15));
    border-radius: 10px;
    padding: 14px 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
    font-size: 13px;
    color: var(--text-color, #555);
    line-height: 1.7;
    z-index: 99999;
    white-space: normal;
    text-align: left;
}

.tm-privacy-tooltip-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--heading-color, #000);
}

.tm-privacy-tooltip ul {
    margin: 0;
}

.tm-privacy-tooltip li {
    margin-bottom: 2px;
}


/* ==========================================================================
   #support 견적 상담 신청 페이지 전용 스타일
   ========================================================================== */
.support-container {
    display: flex;
    align-items: stretch;
    margin: 0px auto 0px;
    padding: 0;
    box-sizing: border-box;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
    box-shadow: none !important;
    gap: 0px !important;
}

/* support-container 내부 배치 및 기존 모달 스타일 복구 */
.support-container .tm-modal-left {
    width:400px !important;
    position: static !important;
    height: auto !important;
    overflow-y: visible !important;
    border: none !important;
    border-radius: 20px !important;
    /* padding: 60px 45px !important; */
    box-sizing: border-box !important;
}

.support-container .tm-modal-right {
    position: static !important;
    height: auto !important;
    overflow-y: visible !important;
    /* padding: 10px 10px !important; */
    box-sizing: border-box !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* 폼 요소들의 삐져나옴 방지를 위한 보강 */
.support-container .tm-form-row {
    width: 100% !important;
    box-sizing: border-box !important;
}

.support-container .tm-form-col {
    box-sizing: border-box !important;
}

.support-container .tm-input,
.support-container .tm-textarea {
    box-sizing: border-box !important;
}

/* 모바일 반응형 처리 */
@media all and (max-width: 1024px) {
    .support-container {
        flex-direction: column-reverse;
        margin: 0px auto 0px;
        gap: 30px !important;
    }
    .support-container .tm-modal-left {
        display: block !important;
        width: 100% !important;
        border: none !important;
        border-radius: 20px !important;
        /* padding: 40px 30px !important; */
    }
    .support-container .tm-modal-right {
        width: 100% !important;
        padding: 0 !important;
        /* padding: 20px 10px !important; */
    }
}

/*pricing1 */
.pricing{}
.pricing #sec8{margin-top: 140px;}

@media  all and (max-width:1280px) {
    .pricing #sec8{margin-top: 120px;}
}
@media  all and (max-width:1024px) {
    .pricing #sec8{margin-top: 110px;}
}
@media  all and (max-width:768px) {
    .pricing #sec8{margin-top: 100px;}
}
@media  all and (max-width:500px) {
    .pricing #sec8{margin-top: 90px;}
}

/* support1 */
.support1{}
.support1 #sec8{margin-top: 140px;}

@media  all and (max-width:1280px) {
    .support1 #sec8{margin-top: 120px;}
}
@media  all and (max-width:1024px) {
    .support1 #sec8{margin-top: 110px;}
}
@media  all and (max-width:768px) {
    .support1 #sec8{margin-top: 100px;}
}
@media  all and (max-width:500px) {
    .support1 #sec8{margin-top: 90px;}
}

/* support1 counter */
.support1 .counter {
    display: flex;
    justify-content: center;
    gap: 100px;
    margin: 0 auto 60px;
    padding: 0;
}
.support1 .counter li {
    text-align: center;
}
.support1 .counter li p {
    font-size: 16px;
    color: var(--text-color, #555);
    margin-bottom: 5px;
}
.support1 .counter li .num {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.support1 .counter li .num .count {
    font-size: 48px;
    color: var(--heading-color, #000);
    font-weight: 700;
    line-height: 1em;
    margin-top: 7px;
}
.support1 .counter li .num .count + span {
    color: var(--heading-color, #000);
    font-size: 24px;
    font-weight: 700;
    margin-left: 5px;
}
.support1 .counter li .num.num2 .count + span,
.support1 .counter li .num.num3 .count + span {
    font-size: 48px;
    font-weight: 700;
    line-height: 1em;
}

@media all and (max-width: 1280px) {
    .support1 .counter { gap: 80px; margin-bottom: 50px; }
    .support1 .counter li .num .count { font-size: 42px; }
    .support1 .counter li .num.num2 .count + span, 
    .support1 .counter li .num.num3 .count + span { font-size: 42px; }
}

@media all and (max-width: 1024px) {
    .support1 .counter { gap: 60px; margin-bottom: 45px; }

}


.intro1 {
    padding: 0 !important;
    --scroll-progress: 0;
}
.intro1 .section1 {
    display: flex;
    justify-content: space-between;
    position: relative;
    align-items: center;
    height: calc(100vh);
    margin-top:-80px;
}            
.intro1 .section1 .l_cont{
    position: relative; 
    z-index: 2; 
    top:-110px;
    opacity: clamp(0, 1 - var(--scroll-progress) * 8, 1);
    will-change: opacity;
    transition: opacity 0.05s ease-out;
}
.intro1 .section1 .l_cont .m_txt{}
.intro1 .section1 .l_cont .m_txt h2{}
.intro1 .section1 .r_cont{
    z-index: 2; 
    position:relative; 
    bottom:-120px; 
    opacity: clamp(0, 1 - var(--scroll-progress) * 8, 1);
    will-change: opacity;
    transition: opacity 0.05s ease-out;
}
.intro1 .section1 .r_cont .m_txt{}
.intro1 .section1 .r_cont .m_txt p{}
.intro1 .section1 .r_cont .m_txt p + p{margin-top: 35px;}
.intro1 .section1 .r_cont .m_txt p span{color:var(--heading-color);}

/* Responsive for section1 */
@media all and (max-width: 1280px) {
    .intro1 .section1 .l_cont { top: -60px; }
    .intro1 .section1 .r_cont { bottom: -60px; }
}

@media all and (max-width: 1024px) {
    .intro1 .section1 {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        height: auto;
        padding: 120px 0 100px;
        margin-top: 0;
        gap: 40px;
    }
    .intro1 .section1 .l_cont { top: 0; }
    .intro1 .section1 .r_cont { bottom: 0; }
}

@media all and (max-width: 768px) {
    .intro1 .section1 {
        padding: 100px 0 80px;
        gap: 30px;
    }
    .intro1 .section1 .r_cont .m_txt p br{display: none;}
    .intro1 .section1 .r_cont .m_txt p + p { margin-top: 20px; }
}

@media all and (max-width: 500px) {
    .intro1 .section1 {
        padding: 80px 0 60px;
        gap: 20px;
    }
}

.intro1 .section2 {
    position: relative;
    height: 200vh; /* Scroll track for zoom effect */
    margin-top: calc(-100vh + 40px); /* Pull it up to overlap with section1 */
    z-index: -2;
}

.intro1 .section2 .images {
    --start-width: 405px;
    --start-height: 506px;
    --start-left: 36%;
    --start-top: 200px;

    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 5;
    pointer-events: none; /* Let pointer events go through if needed */
}

.intro1 .section2 .images .img {
    position: absolute;
    top: calc(var(--start-top) * (1 - var(--scroll-progress)));
    left: calc(var(--start-left) * (1 - var(--scroll-progress)));
    
    /* Interpolate size from initial dimensions to 100vw x 100vh */
    width: calc(var(--start-width) + (100vw - var(--start-width)) * var(--scroll-progress));
    height: calc(var(--start-height) + (100vh - var(--start-height)) * var(--scroll-progress));
    
    /* Interpolate border radius from 24px to 0px */
    border-radius: calc(24px * (1 - var(--scroll-progress)));
    overflow: hidden;
    
    will-change: top, left, width, height, border-radius;
    transition: none !important;
    pointer-events: auto;
    background:#000;
}

.intro1 .section2 .images .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: calc(1 - 0.4 * var(--scroll-progress));
    will-change: opacity;
    transition: opacity 0.05s ease-out;
}

/* Centered title overlay */
.intro1 .section2 .images .m_txt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    color: #fff;
    pointer-events: auto;
    width: 100%;
    
    /* Fade in and scale up slightly as the image expands */
    opacity: var(--scroll-progress);
    transform: translate(-50%, -50%) scale(calc(0.9 + var(--scroll-progress) * 0.1));
    transition: opacity 0.1s ease-out, transform 0.1s ease-out;
}

.intro1 .section2 .images .m_txt h2{color:#fff;}

/* Responsive adjustment for starting sizes */
@media all and (max-width: 1280px) {
    .intro1 .section2 .images {
        --start-width: 360px;
        --start-height: 450px;
        --start-left: 27%;
        --start-top: 180px;
    }
}

@media all and (max-width: 1024px) {
    .intro1 .section2 {
        height: 60vh !important;
        margin-top: 0 !important;
        z-index: 1;
    }
    .intro1 .section2 .images {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: 100%;
        overflow: visible;
        pointer-events: auto;
    }
    .intro1 .section2 .images .img {
        position: relative;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        height: 100% !important;
        border-radius: 0 !important;
        transform: none !important;
        transition: none !important;
    }
    .intro1 .section2 .images .img img {
        opacity: 0.6 !important;
    }
    .intro1 .section2 .images .m_txt {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) !important;
        opacity: 1 !important;
        transition: none !important;
    }

    /* 1024px 이하 정적 배치 구간에서 section2에 와이퍼 애니메이션 활성화 */
    .intro1 .section2 .images .img .wiper-reveal {
        opacity: 0 !important;
        -webkit-clip-path: inset(0 100% 0 0) !important;
        clip-path: inset(0 100% 0 0) !important;
        transform: scale(1.05) translateX(-20px) !important;
        transition: clip-path 1.2s cubic-bezier(0.25, 1, 0.5, 1), 
                    -webkit-clip-path 1.2s cubic-bezier(0.25, 1, 0.5, 1), 
                    opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), 
                    transform 1.2s cubic-bezier(0.25, 1, 0.5, 1) !important;
    }
    .intro1 .section2 .images .img .wiper-reveal.active {
        opacity: 0.6 !important; /* 겹친 텍스트 가독성을 확보하기 위해 원래 모바일 이미지 투명도인 0.6으로 최종 매칭 */
        -webkit-clip-path: inset(0 0 0 0) !important;
        clip-path: inset(0 0 0 0) !important;
        transform: scale(1) translateX(0) !important;
    }
}

@media all and (max-width: 768px) {
    .intro1 .section2 {
        height: 50vh !important;
    }
}

@media all and (max-width: 500px) {
    .intro1 .section2 {
        height: 45vh !important;
    }
}


.intro1 .section3{padding: 160px 0 200px;}
.intro1 .section3 .inner{}
.intro1 .section3 .inner .box1{display: flex; align-items: center;}
.intro1 .section3 .inner .box1 .img{width: 50%; border-radius:20px; overflow:hidden;}
.intro1 .section3 .inner .box1 .img img{width: 100%;}
.intro1 .section3 .inner .box1 .m_txt{width: 50%; padding-left: 80px;}
.intro1 .section3 .inner .box1 .m_txt h3{}  
.intro1 .section3 .inner .box1 .m_txt p{}

.intro1 .section3 .inner .box2{padding: 200px 0;}
.intro1 .section3 .inner .box2 .m_txt{}
.intro1 .section3 .inner .box2 .cont{margin-top: 50px; display: flex; gap:30px;}
.intro1 .section3 .inner .box2 .cont li{width: 100%; position: relative; border-radius: 20px; overflow: hidden; cursor: pointer;}
.intro1 .section3 .inner .box2 .cont li + li{}
.intro1 .section3 .inner .box2 .cont li .img{}
.intro1 .section3 .inner .box2 .cont li .img img{width: 100%; display: block;}
.intro1 .section3 .inner .box2 .cont li .txt{position: absolute; bottom: 0; left: 0; width: 100%; padding: 40px; z-index: 2;}
.intro1 .section3 .inner .box2 .cont li .txt h3{color: #fff; font-size: 22px; font-weight: 700; margin-bottom: 0; transition: margin-bottom 0.3s cubic-bezier(0.25, 1, 0.5, 1);}
.intro1 .section3 .inner .box2 .cont li:hover .txt h3{margin-bottom: 15px;}
.intro1 .section3 .inner .box2 .cont li .txt p{color: rgba(255, 255, 255, 0.85); font-size: 16px; line-height: 1.6em; opacity: 0; max-height: 0; overflow: hidden; transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), max-height 0.3s cubic-bezier(0.25, 1, 0.5, 1); word-break: keep-all;}
.intro1 .section3 .inner .box2 .cont li .txt p + p{margin-top: 10px;}
.intro1 .section3 .inner .box2 .cont li:hover .txt p{opacity: 1; max-height: 200px;}

.card-blur-overlay {
    z-index: 1;
    /* backface-visibility:hidden; */
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    height: 35%;
    transform-style: preserve-3d;
    background-image: linear-gradient(#ffffff29 4%,#00000059 60%,#000000b3);
    position: absolute;
    inset: auto 0% 0%;
    transform: translateZ(0);
    -webkit-mask: linear-gradient(#0000,#000,#000);
    mask: linear-gradient(#0000,#000,#000);
    transition: height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.intro1 .section3 .inner .box2 .cont li:hover .card-blur-overlay {
    height: 70%;
}

.intro1 .section3 .inner .box3{display: flex; align-items: center;}
.intro1 .section3 .inner .box3 .img{width: 50%; border-radius:20px; overflow:hidden;}
.intro1 .section3 .inner .box3 .img img{width: 100%;}
.intro1 .section3 .inner .box3 .m_txt{width: 50%; padding-right: 80px;}
.intro1 .section3 .inner .box3 .m_txt h3{}  
.intro1 .section3 .inner .box3 .m_txt p{}
.intro1 .section3 .inner .box3 .m_txt p + p{margin-top: 30px;}
.intro1 .section3 .inner .box3 .m_txt p strong{font-size: 24px; color:var(--heading-color);}

/* Responsive for section3 */
@media all and (max-width: 1280px) {
    .intro1 .section3 { padding: 140px 0 180px; }
    .intro1 .section3 .inner .box1 .m_txt { padding-left: 50px; }
    .intro1 .section3 .inner .box3 .m_txt { padding-right: 50px; }
    .intro1 .section3 .inner .box2 { padding: 140px 0; }
    .intro1 .section3 .inner .box2 .cont li .txt { padding: 30px; }
}

@media all and (max-width: 1024px) {
    .intro1 .section3 { padding: 120px 0 160px; }
    .intro1 .section3 .inner .box1,
    .intro1 .section3 .inner .box3 {
        flex-direction: column-reverse;
        gap: 35px;
    }
    .intro1 .section3 .inner .box3 {
        flex-direction: column;
    }
    .intro1 .section3 .inner .box1 .img,
    .intro1 .section3 .inner .box1 .m_txt,
    .intro1 .section3 .inner .box3 .img,
    .intro1 .section3 .inner .box3 .m_txt {
        width: 100%;
        padding: 0;
    }
    .intro1 .section3 .inner .box2 { padding: 120px 0; }
    .intro1 .section3 .inner .box2 .cont {
        flex-direction: column;
        gap: 35px;
    }
    .intro1 .section3 .inner .box2 .cont li .txt h3 { font-size: 20px; }
    .intro1 .section3 .inner .box2 .cont li .txt h3:hover{margin-bottom: 12px;}
    .intro1 .section3 .inner .box2 .cont li .img img{aspect-ratio: 4/3; object-fit: cover;}
    .intro1 .section3 .inner .box3 .m_txt p strong { font-size: 22px; }
}

@media all and (max-width: 768px) {
    .intro1 .section3 { padding: 100px 0 140px; }
    .intro1 .section3 .inner .box1 .m_txt p br{display: none;}
    .intro1 .section3 .inner .box2 { padding: 100px 0; }
    .intro1 .section3 .inner .box3 .m_txt p strong { font-size: 20px; }
    .intro1 .section3 .inner .box2 .cont{margin-top: 35px;}
    .intro1 .section3 .inner .box3 .m_txt p + p{margin-top: 25px;}
    /* .intro1 .section3 .inner .box2 .cont li .img img{aspect-ratio: 1/1; object-fit: cover;} */
}

@media all and (max-width: 500px) {
    .intro1 .section3{padding:100px 0 120px;}
    .intro1 .section3 .inner .box2 .cont li .txt { padding: 30px 20px; }
    .intro1 .section3 .inner .box3 .m_txt p strong { font-size: 18px; }
}

.intro1 .section4 {
    background: var(--bg-color);
}
.intro1 .section4 .m_txt {
    text-align: center;
    margin-bottom: 100px;
}
.intro1 .section4 .step {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 120px;
    counter-reset: step-counter;
}

/* Vertical axis line */
.intro1 .section4 .step::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 0;
}
[data-theme="light"] .intro1 .section4 .step::before {
    background: rgba(0, 0, 0, 0.1);
}

.intro1 .section4 .step li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 1;
    counter-increment: step-counter;
}

/* Central numbered node */
.intro1 .section4 .step li::before {
    content: counter(step-counter);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--heading-color);
    color: var(--bg-color);
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Alternating order and text alignments */
.intro1 .section4 .step li:nth-child(odd) .txt {
    order: 1;
    text-align: right;
    width: 43%;
}
.intro1 .section4 .step li:nth-child(odd) .img {
    order: 2;
    width: 43%;
}
.intro1 .section4 .step li:nth-child(even) .txt {
    order: 2;
    text-align: left;
    width: 43%;
}
.intro1 .section4 .step li:nth-child(even) .img {
    order: 1;
    width: 43%;
}

/* Image cards */
.intro1 .section4 .step li .img {
    border-radius: 20px;
    overflow: hidden;
    line-height: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
[data-theme="light"] .intro1 .section4 .step li .img {
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.intro1 .section4 .step li .img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.intro1 .section4 .step li:hover .img img {
    transform: scale(1.03);
}

/* Typography styles */
.intro1 .section4 .step li .txt .step_num {
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}
.intro1 .section4 .step li .txt h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 20px;
}
.intro1 .section4 .step li .txt p {
    font-size: 19px;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.6em;
    word-break: keep-all;
}

@media all and (max-width: 1280px) {
    .intro1 .section4 .step {
        gap: 80px;
    }
    .intro1 .section4 .step li .txt h3 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    .intro1 .section4 .step li .txt p {
        font-size: 18px;
    }
}

@media all and (max-width: 1024px) {
    .intro1 .section4 .m_txt {
        margin-bottom: 60px;
        text-align: left;
    }
    .intro1 .section4 .step {
        gap: 60px;
    }
    .intro1 .section4 .step::before {
        left: 22px;
        transform: none;
    }
    .intro1 .section4 .step li {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 60px;
        gap: 20px;
    }
    .intro1 .section4 .step li::before {
        left: 22px;
        top: 15px;
        transform: translate(-50%, -50%);
        width: 36px;
        height: 36px;
        font-size: 14px;
        box-shadow: 0 0 0 4px var(--bg-color, #000);
    }
    [data-theme="dark"] .intro1 .section4 .step li::before {
        box-shadow: 0 0 0 4px #000;
    }
    .intro1 .section4 .step li:nth-child(odd) .txt,
    .intro1 .section4 .step li:nth-child(even) .txt {
        order: 1;
        text-align: left;
        width: 100%;
    }
    .intro1 .section4 .step li:nth-child(odd) .img,
    .intro1 .section4 .step li:nth-child(even) .img {
        order: 2;
        width: 100%;
        max-width: 600px;
    }
}
@media all and (max-width:768px){
    
    .intro1 .section4 .step li .txt p {
        font-size: 17px;
    }
    
    .intro1 .section4 .step li .txt p br{display:none;}
    .intro1 .section4 .step li .txt h3 {
        font-size: 22px;
    }
}
@media all and (max-width: 500px) {
    .intro1 .section4 .m_txt{margin-bottom: 50px;}
    .intro1 .section4 .step {
        gap: 50px;
    }
    .intro1 .section4 .step::before {
        left: 15px;
    }
    .intro1 .section4 .step li {
        padding-left: 45px;
        gap: 15px;
    }
    .intro1 .section4 .step li::before {
        left: 15px;
        width: 30px;
        height: 30px;
        font-size: 13px;
        box-shadow: 0 0 0 3px var(--bg-color, #000);
    }
    [data-theme="dark"] .intro1 .section4 .step li::before {
        box-shadow: 0 0 0 3px #000;
    }
}

/* section5 */
.intro1 .section5 {
    padding: 200px 0 200px;
}

.intro1 .section5 .sec5_header {
    margin-bottom: 60px;
    text-align: center;
}

/* Features Grid */
.intro1 .section5 .features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.intro1 .section5 .features li {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--header-border2);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

[data-theme="dark"] .intro1 .section5 .features li {
    background: rgba(255, 255, 255, 0.03);
}

.intro1 .section5 .features li:hover {
    border-color: var(--primary-color, #1a65ff);
    /* box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2); */
}

[data-theme="dark"] .intro1 .section5 .features li:hover {
    border-color: var(--primary-color, #1a65ff);
}

/* SVG Icon styles */
.intro1 .section5 .features li .icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.05);
    color: var(--heading-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

[data-theme="dark"] .intro1 .section5 .features li .icon {
    background: rgba(255, 255, 255, 0.05);
    color: var(--heading-color);
}

.intro1 .section5 .features li:hover .icon {
    background: var(--primary-color, #1a65ff);
    color: #fff;
}

[data-theme="dark"] .intro1 .section5 .features li:hover .icon {
    background: var(--primary-color, #1a65ff);
}

.intro1 .section5 .features li .icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
}

.intro1 .section5 .features li h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 12px;
}

.intro1 .section5 .features li p {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.5em;
    word-break: keep-all;
}

/* section5_2 - Vertical Worries Ticker */
.intro1 .section5_2 {
    padding: 0px 0 200px;
    overflow: hidden;
}

.intro1 .section5_2 .m_txt {
    text-align: center;
    margin-bottom: 60px;
}

/* Ticker */
.intro1 .section5_2 .worries-ticker {
    position: relative;
    width: calc(100%);
    max-width: 1280px;
    --item-height: 88px;
    height: calc(var(--item-height) * 5);
    margin: 0 auto;
    border-radius: 24px;
    box-sizing: border-box;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

.intro1 .section5_2 .ticker-focus-line {
    position: absolute;
    left: 0px;
    right: 0px;
    top: 50%;
    height: var(--item-height);
    transform: translateY(-50%);
    border-radius: 16px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.03) 100%);
    border: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1;
    pointer-events: none;
}

[data-theme="dark"] .intro1 .section5_2 .ticker-focus-line {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.intro1 .section5_2 .ticker-viewport {
    position: relative;
    z-index: 2;
    height: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 20%, #000 40%, #000 60%, rgba(0, 0, 0, 0.3) 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 20%, #000 40%, #000 60%, rgba(0, 0, 0, 0.3) 80%, transparent 100%);
}

.intro1 .section5_2 .ticker-track:not(.swiper-wrapper) {
    display: flex;
    flex-direction: column;
    animation: worriesScrollUp 25s cubic-bezier(0.76, 0, 0.24, 1) infinite;
    will-change: transform;
}

.intro1 .section5_2 .ticker-track.swiper-wrapper {
    display: flex;
    flex-direction: column;
    animation: none;
}


@keyframes worriesScrollUp {
    0%, 8% { transform: translateY(0); }
    10%, 18% { transform: translateY(calc(-1 * var(--item-height))); }
    20%, 28% { transform: translateY(calc(-2 * var(--item-height))); }
    30%, 38% { transform: translateY(calc(-3 * var(--item-height))); }
    40%, 48% { transform: translateY(calc(-4 * var(--item-height))); }
    50%, 58% { transform: translateY(calc(-5 * var(--item-height))); }
    60%, 68% { transform: translateY(calc(-6 * var(--item-height))); }
    70%, 78% { transform: translateY(calc(-7 * var(--item-height))); }
    80%, 88% { transform: translateY(calc(-8 * var(--item-height))); }
    90%, 98% { transform: translateY(calc(-9 * var(--item-height))); }
    100% { transform: translateY(calc(-10 * var(--item-height))); }
}

@media (prefers-reduced-motion: reduce) {
    .intro1 .section5_2 .ticker-track {
        animation: none;
    }
}

.intro1 .section5_2 .ticker-line {
    flex-shrink: 0;
    margin: 0;
    height: var(--item-height);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 34px;
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1.4em;
    word-break: keep-all;
    box-sizing: border-box;;
}

/* Responsive Queries */
@media all and (max-width: 1280px) {
    .intro1 .section5{padding: 160px 0;}
    .intro1 .section5_2{padding: 0 0 160px;}
    .intro1 .section5 .features {
        gap: 20px;
    }
    .intro1 .section5 .features li {
        padding: 35px 25px;
    }
}

@media all and (max-width: 1024px) {
    .intro1 .section5{padding: 140px 0;}
    .intro1 .section5 .sec5_header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 40px;
    }
    .intro1 .section5 .features {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .intro1 .section5_2{padding: 0 0 140px;}
    .intro1 .section5_2 .worries-ticker {
        --item-height: 76px;
    }
    .intro1 .section5_2 .ticker-line {
        font-size: 26px;
    }
}

@media all and (max-width: 768px) {
    .intro1 .section5 {
        padding: 120px 0 120px;
    }
    .intro1 .section5_2 {
        padding: 0px 0 120px;
    }
    .intro1 .section5 .sec5_header .m_txt{text-align: left;}
    .intro1 .section5_2 .worries-ticker {
        --item-height: 64px;
        width: calc(100% - 30px);
        height: calc(var(--item-height) * 5);
    }
    .intro1 .section5_2 .ticker-line {
        font-size: 24px;
    }
}

@media all and (max-width: 500px) {
    .intro1 .section5{padding: 100px 0;}
    .intro1 .section5 .features {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .intro1 .section5_2{padding: 0 0 120px;}
    .intro1 .section5_2 .worries-ticker {
        --item-height: 56px;
        width: calc(100% - 20px);
    }
    .intro1 .section5_2 .ticker-line {
        font-size: 21px;
    }
}

/* ==========================================================================
   #section6 - Maintenance & Operations Styling
   ========================================================================== */
.intro1 .section6 {
    padding: 0px 0 120px;
    background: var(--bg-color);
}

.intro1 .section6 .m_txt {
    text-align: center;
    margin: 0 auto 60px;
}

.intro1 .section6 .m_txt p{margin-top: 30px;}

.intro1 .section6 .management_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.intro1 .section6 .mgmt_card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--header-border2);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
}

[data-theme="dark"] .intro1 .section6 .mgmt_card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--header-border2);
}

.intro1 .section6 .mgmt_card:hover {
    border-color: var(--primary-color, #1a65ff);
}

[data-theme="dark"] .intro1 .section6 .mgmt_card:hover {
    border-color: var(--primary-color, #1a65ff);
}

.intro1 .section6 .mgmt_card .icon_wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.05);
    color: var(--heading-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

[data-theme="dark"] .intro1 .section6 .mgmt_card .icon_wrap {
    background: rgba(255, 255, 255, 0.05);
    color: var(--heading-color);
}

.intro1 .section6 .mgmt_card:hover .icon_wrap {
    background: var(--primary-color, #1a65ff);
    color: #fff;
}

[data-theme="dark"] .intro1 .section6 .mgmt_card:hover .icon_wrap {
    background: var(--primary-color, #1a65ff);
}

.intro1 .section6 .mgmt_card .mgmt_icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
}

.intro1 .section6 .mgmt_card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 12px;
}

.intro1 .section6 .mgmt_card p {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.6em;
    margin-bottom: 28px;
    word-break: keep-all;
}

.intro1 .section6 .mgmt_checklist {
    list-style: none;
    padding: 24px 0 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .intro1 .section6 .mgmt_checklist {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.intro1 .section6 .mgmt_checklist li {
    font-size: 16px;
    font-weight: 600;
    color: var(--heading-color);
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.5em;
}

.intro1 .section6 .mgmt_checklist li::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color, #1a65ff);
    flex-shrink: 0;
}

.intro1 .section6 .mgmt_callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 60px;
    padding: 40px 50px;
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.015);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .intro1 .section6 .mgmt_callout {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.intro1 .section6 .mgmt_callout .callout_txt h4 {
    font-size: 24px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 15px;
    word-break:keep-all;
}

.intro1 .section6 .mgmt_callout .callout_txt p {
    font-size: 18px;
    color: var(--text-color);
    line-height: 1.6em;
    word-break: keep-all;
}

.intro1 .section6 .callout_btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 12px;
    background: var(--heading-color);
    color: var(--bg-color);
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.intro1 .section6 .callout_btn:hover {
    background: var(--primary-color, #1a65ff);
    color: #fff;
}

.intro1 .section6 .callout_btn .btn_icon {
    width: 18px;
    height: 18px;
    stroke-width: 2.2;
    transition: transform 0.3s ease;
}

.intro1 .section6 .callout_btn:hover .btn_icon {
    transform: translateX(4px);
}

/* Responsive Styles for Section 6 */
@media all and (max-width: 1280px) {
    .intro1 .section6 {
        padding: 0 0 110px;
    }
}
@media all and (max-width: 1024px) {

    .intro1 .section6 .management_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .intro1 .section6 .mgmt_card {
        padding: 30px;
    }
    .intro1 .section6 .mgmt_card h3 {
        font-size: 22px;
    }
    .intro1 .section6 .mgmt_card p {
        font-size: 16px;
    }
    .intro1 .section6 .mgmt_callout .callout_txt p {
        font-size: 16px;
    }
}

@media all and (max-width: 768px) {
    .intro1 .section6 {
        padding: 0 0 100px;
    }
    .intro1 .section6 .m_txt {
        margin-bottom: 40px;
        text-align: left;
    }
    .intro1 .section6 .m_txt p{margin-top: 25px;}
    .intro1 .section6 .m_txt p br{display: none;}

    .intro1 .section6 .management_grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .intro1 .section6 .mgmt_card h3 {
        font-size: 20px;
    }
    .intro1 .section6 .mgmt_card p {
        font-size: 17px;
        margin-bottom: 20px;
    }
    .intro1 .section6 .mgmt_checklist{padding-top: 20px;}
    .intro1 .section6 .mgmt_callout {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        padding: 30px;
        margin-top: 40px;
        text-align: center;
    }
    .intro1 .section6 .mgmt_callout .callout_txt h4{margin-bottom: 12px;s}
    .intro1 .section6 .mgmt_callout .callout_txt{width: 80%; margin-left:  auto; margin-right: auto;}
    .intro1 .section6 .mgmt_callout .callout_txt p {
        font-size: 17px;
    }
    .intro1 .section6 .callout_btn {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
        font-size: 15px;
    }
}
@media all and (max-width: 768px) {
    .intro1 .section6 {
        padding: 0 0 80px;
    }
}

/* section7 - 3D Canvas Background */
.intro1 .section7 {
    position: relative;
    overflow: hidden;
    width: 100%;
    background: var(--bg-color);
    height: 800px;
}

.intro1 .section7 #hills-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.intro1 .section7 .inner_s7 {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    padding: 140px 0px 0;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 40px;
}

.intro1 .section7 .inner_s7 .m_txt p.desc1 {
    margin-top: 30px;
}


/* section7 미디어 쿼리 */
@media all and (max-width: 1280px) {
    .intro1 .section7 {
        height: 750px;
    }
    .intro1 .section7 .inner_s7 {
        padding-top: 120px;
    }
}

@media all and (max-width: 1024px) {
    .intro1 .section7 {
        height: 700px;
    }
    .intro1 .section7 .inner_s7 {
        padding-top: 100px;
        gap: 30px;
    }
}

@media all and (max-width: 768px) {
    .intro1 .section7 {
        height: 600px;
        padding-top: 100px;
    }
    .intro1 .section7 .inner_s7 {
        gap: 30px;
    }
    .intro1 .section5_2 .m_txt h2,
    .intro1 .section6 .m_txt h2,
    .intro1 .section7 .m_txt h2{font-size: 6.5vw !important;}
    .intro1 .section7 .inner_s7 .m_txt p.desc1{margin-top: 20px;}
    .intro1 .section7 .inner_s7 .m_txt p.desc1 br{display: none;}
}
@media all and (max-width:500px) {
    .intro1 .section7 .inner_s7{padding-top: 0;}
}

/* 데스크톱(1024px 초과)에서 section2 줌인 애니메이션과의 충돌을 방지하기 위해 와이퍼 효과 임시 해제 */
.intro1 .section2 .images .img .wiper-reveal {
    opacity: 1 !important;
    -webkit-clip-path: none !important;
    clip-path: none !important;
    transform: none !important;
    transition: none !important;
}

/* Wiper Reveal Effect (Left to Right) */
.wiper-reveal {
    opacity: 0 !important;
    -webkit-clip-path: inset(0 100% 0 0) !important;
    clip-path: inset(0 100% 0 0) !important;
    transform: scale(1.05) translateX(-20px) !important;
    transition: clip-path 1.2s cubic-bezier(0.25, 1, 0.5, 1), 
                -webkit-clip-path 1.2s cubic-bezier(0.25, 1, 0.5, 1), 
                opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 1.2s cubic-bezier(0.25, 1, 0.5, 1) !important;
    will-change: clip-path, -webkit-clip-path, opacity, transform;
}

.wiper-reveal.active {
    opacity: 1 !important;
    -webkit-clip-path: inset(0 0 0 0) !important;
    clip-path: inset(0 0 0 0) !important;
    transform: scale(1) translateX(0) !important;
}

/* Page Loader Overlay */
#intro-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #060407; /* 웨이버 소개 기본 백그라운드 블랙 계열 */
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    opacity: 1;
    visibility: visible;
}

[data-theme="light"] #intro-loader {
    background-color: #ffffff;
}

#intro-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(255, 255, 255, 0.08);
    border-top-color: var(--primary-color, #1a65ff);
    border-radius: 50%;
    animation: loader-spin 0.8s linear infinite;
}

[data-theme="light"] .loader-spinner {
    border: 3px solid rgba(0, 0, 0, 0.06);
    border-top-color: var(--primary-color, #1a65ff);
}

@keyframes loader-spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   Overlap Mask Text Effect (Desktop Only)
   ========================================================================== */
.intro1 .section1 .l_cont,
.intro1 .section1 .r_cont {
    position: relative; /* 자식인 .text-mask 의 absolute 정렬 기준점 */
}

/* 마스킹용 흰색 텍스트 복사본의 기본 정렬 및 클리핑 스타일 - 다크모드에선 불필요하므로 디폴트 숨김 */
.intro1 .section1 .text-mask {
    display: none !important;
}

/* 오직 라이트 모드(data-theme="light")이며 데스크톱일 때만 마스크 텍스트를 활성화하여 노출 */
[data-theme="light"] .intro1 .section1 .text-mask {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    z-index: 5 !important;
    clip-path: inset(0 100% 0 0);
    -webkit-clip-path: inset(0 100% 0 0);
}

[data-theme="light"] .intro1 .section1 .text-mask h2,
[data-theme="light"] .intro1 .section1 .text-mask p {
    color: #ffffff !important;
    text-shadow: none !important;
}

[data-theme="light"] .intro1 .section1 .text-mask p span {
    color: #ffffff !important;
}

/* 모바일 및 태블릿(1024px 이하)에서는 라이트 모드일지라도 마스킹 완전 숨김 */
@media all and (max-width: 1024px) {
    [data-theme="light"] .intro1 .section1 .text-mask {
        display: none !important;
    }
}

/* Tooltip styles */
.tooltip-container {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin-left: 6px;
    top: -2.5px; /* Lift to align with text baseline */
}

.tooltip-trigger {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    vertical-align: middle;
    outline: none;
}

.tooltip-trigger svg {
    display: block;
}

[data-theme="dark"] .tooltip-trigger {
    color: rgba(255, 255, 255, 0.7); /* Brighter for better visibility in dark theme */
}

.tooltip-trigger:hover,
.tooltip-container.is-active .tooltip-trigger {
    color: var(--primary-color);
}

[data-theme="dark"] .tooltip-trigger:hover,
[data-theme="dark"] .tooltip-container.is-active .tooltip-trigger {
    color: var(--primary-color);/* Bright light purple for hover state in dark mode */
}

.tooltip-content {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-radius: 14px;
    padding: 18px;
    width: 290px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.25s;
    pointer-events: none;
    box-sizing: border-box;
}

.tooltip-container.is-active .tooltip-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

[data-theme="dark"] .tooltip-content {
    background: var(--cb-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Tooltip Arrow */
.tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
}

[data-theme="dark"] .tooltip-content::after {
    border-color: var(--cb-bg) transparent transparent transparent;
}

/* Tooltip typography */
.tooltip-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 8px;
    text-align: left;
    line-height: 1.2em;
}

[data-theme="dark"] .tooltip-title {
    color: #ffffff;
}

.tooltip-list {
    display: block;
}

.tooltip-item {
    display: block;
    position: relative;
    padding-left: 12px;
    font-size: 13px;
    line-height: 1.5em;
    color: #555555;
    margin-bottom: 5px;
    text-align: left;
    word-break: keep-all;
}

.tooltip-item:last-child {
    margin-bottom: 0;
}

.tooltip-item::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--text-color);
}

[data-theme="dark"] .tooltip-item {
    color: var(--text-color);
}