/* 기본 스타일 초기화 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    width: 100%;
}

body {
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    color: #fff;
    background: #000 url('../img/main-bg.jpg') no-repeat top center;
    background-size: cover;
    overflw-x: clip;

}

/* 링크 및 버튼 포커스 시 외곽선 제거 */
a:focus,
.button:focus {
    text-decoration: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* 링크 호버 시 기본 스타일 유지 */
a:focus,
a:hover {
    color: inherit;
    text-decoration: none;
}

/* 링크 및 버튼 기본 스타일 */
a,
button {
    color: inherit;
    outline: none;
    border: none;
    background: transparent;
}

button:hover {
    cursor: pointer;
}

button:focus {
    outline: 0;
    border: 0;
}

.img-box img {
    width: 100%;
    border-radius: 25px;
}

.mo_br {
    display: none;
}

/* 모바일에서만 보이는 줄바꿈 (기본 숨김) */

/* 페이지별 배경 이미지 설정 */
#product {
    background: #000 url('../img/product-bg.jpg') no-repeat top center;
    background-size: cover;
}

#contact {
    background: #000 url('../img/board-bg.jpg') no-repeat top center;
    background-size: 100%;
}

.mb50 {
    margin-bottom: 50px;
}

/* 스크롤 시 나타나는 기본 애니메이션 */
.section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 아래에서 위로 나타나는 애니메이션 */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.8s cubic-bezier(0.5, 1.5, 0.5, 1), opacity 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== 헤더 ==================== */
.header {
    position: fixed;
    /* 화면 상단에 고정 */
    width: 100%;
    top: 0;
    padding: 10px 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    /* 다른 요소들 위에 표시 */
}

.header .logo,
.header h3 {
    position: absolute;
    top: 10px;
    left: 20px;
    z-index: 9999;
}

.header .logo h1 {
    margin: 0;
}

.header .logo img,
.header h3 img {
    width: 80px;
}

/* 네비게이션 메뉴 */
.navbar ul {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    list-style: none;
}

.navbar ul li a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    font-size: 18px;
    padding: 0 4rem;
}

/* 활성화된 메뉴 아이템 스타일 */
.navbar ul li.active a {
    color: #00B2FF;
}

/* 모바일용 햄버거 메뉴 버튼 (기본 숨김) */
.hamburger {
    display: none;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 15px;
    z-index: 9999;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px;
    background-color: #fff;
    transition: 0.3s ease;
}

/* 햄버거 메뉴 클릭 시 X 모양으로 변경 */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.menu {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 활성화된 메뉴 (모바일) */
.menu.active {
    display: flex;
    transform: translateX(0);
}

/* ==================== 모바일 반응형 스타일 (837px 이하) ==================== */
@media (max-width: 837px) {
    body {
        background: #000 url('../img/main-bg-mobile.jpg') no-repeat top center;
    }

    #product {
        background: #000 url('../img/product-bg-mobile.jpg') no-repeat top center;
        background-size: cover;
    }

    #contact {
        background: #000 url('../img/board-bg.jpg') no-repeat top center;
        background-size: cover;
    }

    .header {
        padding: 10px 0;
        height: 80px;

    }

    .hamburger {
        display: block;
        /* 햄버거 메뉴 보이기 */
    }

    .navbar ul {
        display: none;
        /* PC 메뉴 숨기기 */
    }

    /* 모바일 메뉴 스타일 */
    .menu {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 99;
        gap: 60px;
    }

    .menu.active {
        display: flex;
        transform: translateX(0);
    }

    .mo_br {
        display: block;
    }

    /* 모바일용 줄바꿈 보이기 */
    .pc_br {
        display: none;
        width: 100%;
    }

    /* PC용 줄바꿈 숨기기 */
}


/* ==================== 메인 Hero 섹션 ==================== */
.banner-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.banner-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.section.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 100px;
    text-align: center;
    gap: 20px;
    height: 100vh;
}


.hero-title {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 키워드 애니메이션 영역 */
.key-title {
    position: relative;
    height: 70px;
    /* span 요소의 전체 높이 */
    text-align: center;
    width: 100%;
    padding: 0 0 30px;
}

.key-title::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, .2);
    bottom: 0;
    left: 0;
    z-index: 99
}

.key-title span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    /* 초기 상태에서 숨김 */
    transform: perspective(500px) rotateX(90deg);
    /* 3D 회전 효과 */
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero h1 {
    font-size: 180px;
    font-weight: 700;
    letter-spacing: -2%;
    background: linear-gradient(to top, #BAF9FF, #F8F8F8, #FFCFFD);
    /* 그라데이션 배경 */
    color: transparent;
    -webkit-background-clip: text;
    /* 텍스트에만 배경 적용 */
    line-height: 180px;
}

.hero h2 {
    font-size: 48px;
    font-weight: 500;
}

.hero p {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 600;
}

@media (max-width: 837px) {
    .section.hero {
        height: 100vh;
    }

    .hero h1 {
        font-size: 100px;
        line-height: 140%;
    }

    .hero h2 {
        font-size: 30px;
        font-weight: 500;
    }
}

/* ==================== 파트너 로고 섹션 ==================== */
.partners {
    width: 100%;
    height: 169px;
    overflow: hidden;
    /* 영역을 벗어나는 로고 숨김 */
    white-space: nowrap;
    /* 줄바꿈 방지 */
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
    padding-top: 50px;
}

.partners-inner {
    display: flex;
    animation: scroll 20s linear infinite;
    /* 무한 스크롤 애니메이션 적용 */
}

.partners img {
    flex-shrink: 0;
    width: auto;
    height: 139px;
}

/* 로고 무한 스크롤 애니메이션 */
@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
        /* 로고 그룹의 절반만큼 이동하여 반복 효과 */
    }
}


/* ==================== About 섹션 (회사 소개) ==================== */
.about-section {
    display: flex;
    align-items: center;
    padding: 130px 0;
    flex-direction: column;
}

/* Contact 섹션 (문의하기) */
.about-contact {
    display: flex;
    text-align: center;
    align-items: center;
    flex-direction: column;
    padding-top: 150px;
    gap: 20px;
}

/* 플로팅 채팅 아이콘 스타일 */
.chat-icon,
.chat-icon2 {
    transition: all 0.3s ease;
}

.chat-icon:hover,
.chat-icon2:hover {
    transform: scale(1.1);
    background-color: #0056b3;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* 문의 폼 입력 필드 스타일 */
.about-contact-form input[type="text"],
.about-contact-form textarea {
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    transition: all 0.3s ease;
    line-height: 1.4em;
}

.about-contact-form input[type="text"]:focus,
.about-contact-form textarea:focus {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 문의 폼 버튼 스타일 */
.about-contact-form-btn {
    padding: 12px 25px;
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-contact-form-btn:hover,
.about-contact-form-agree-btn:hover {
    background: #014984;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.about-contact-form-btn:active,
.about-contact-form-agree-btn:active {
    transform: translateY(0);
}

/* 버튼 클릭 시 물결 효과 */
.about-contact-form-btn::after,
.about-contact-form-agree-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease-out, height 0.6s ease-out;
}

.about-contact-form-btn:active::after,
.about-contact-form-agree-btn:active::after {
    width: 200px;
    height: 200px;
}

/* 커스텀 체크박스 스타일 */
.about-contact-form-agree input[type="checkbox"] {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-checkbox {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #C6C6C6;
    cursor: pointer;
    position: relative;
    margin-right: 10px;
    background-image: url('../img/check_icon.png');
    background-size: 16px;
    background-position: center;
    background-repeat: no-repeat;
}

.custom-checkbox:checked {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #014984;
    cursor: pointer;
    position: relative;
    margin-right: 10px;
    background-image: url('../img/check_icon.png');
    background-size: 16px;
    background-position: center;
    background-repeat: no-repeat;
}


.about-contact-form-agree input[type="checkbox"]:checked {
    transform: scale(1.1);
}

/* 문의 폼 레이아웃 */
.about-contact-form {
    padding: 68px 197px 78px 197px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(23.44, 23.44, 65.17, 0.30);
    border-radius: 20px;
}

.about-contact-title {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 42.5px;
}

.about-contact-text {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.4em;
}

.about-contact-time {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 80px;
}

.about-contact-form-item {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.about-contact-form-item label {
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    margin-left: 20px;
    margin-bottom: 10px;
}

.about-contact-form-item span {
    color: #FF3636;
    margin-left: 5px;
}

.about-contact-form-item input {
    border-radius: 20px;
    padding: 10px 15px;
    width: 400px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    outline: none;
    color: #B6B6B6;
    font-size: 16px;
}

textarea::placeholder,
input::placeholder {
    color: #B6B6B6;
    font-size: 16px;
    font-weight: 400;
}

.about-contact-form-textarea {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 84px;
    margin-top: 65px;
}

.about-contact-form-textarea textarea {
    border-radius: 20px;
    padding: 20px 25px;
    width: 855px;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    outline: none;
    color: #B6B6B6;
    font-size: 20px;
}

.about-contact-form-row-1 {
    display: flex;
    gap: 55px;
    margin-bottom: 42.5px;
}

.about-contact-form-row-2 {
    display: flex;
    gap: 55px;
}

.about-contact-form-btn {
    width: 200px;
    height: 60px;
    background-color: #FFFFFF;
    border-radius: 10px;
    border: none;
    outline: none;
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    color: #014984;
    font-size: 20px;
    font-weight: bold;
}

.about-contact-form-agree-text {
    cursor: pointer;
    text-decoration: underline;
}

.about-contact-form-agree-content {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 5px;
}

#agree {
    width: 35px;
    height: 35px;
    border-radius: 100%;
}

.about-contact-form-agree-content h3 {
    font-size: 20px;
    font-weight: 500;
}

.about-contact-form-agree-content p {
    color: #AFAFAF;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
}

.about-contact-form-agree-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.about-contact-form-agree {
    display: flex;
    justify-content: space-between;
}

.about-contact-form-agree-btn {
    padding: 15.5px 18.5px;
    height: 60px;
    background-color: #ECECEC;
    border-radius: 10px;
    border: none;
    outline: none;
    color: #313131;
    font-size: 16px;
    font-weight: bold;
}

/* 개인정보처리방침 모달 스타일 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    margin: 0;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
    margin: 20px;
}

.modal.show {
    display: flex;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #014984;
}

.modal-body {
    margin: 20px 0;
}

.modal-body h3 {
    margin: 20px 0 10px;
    font-size: 16px;
    color: #333;
}

.modal-body p {
    margin: 10px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.modal-agree-btn {
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 20px auto 0;
    padding: 12px;
    background-color: #014984;
    ;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

/* 공통 레이아웃 클래스 */
.inner1300 {
    width: 1300px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 60px 0px;
}

.inner1300.-row>div {
    width: 50%;
    padding: 0 24px;
}

.inner1300.-row>div img {
    max-width: 100%;
}

.inner1300.-column {
    flex-direction: column;
}

.about-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 28px;
    color: #a1b4d2;
    margin-bottom: 20px;
}

.learn-more-btn {
    display: inline-block;
    margin-top: 20px;
    margin-bottom: 180px;
    margin-top: 35px;
    padding: 10px 20px;
    background-color: #D9F5FF;
    color: #000;
    text-decoration: none;
    border-radius: 30px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.learn-more-btn:hover {
    background-color: #007acc;
}

@media (max-width: 837px) {
    .about-section {
        padding: 60px 0 0;
    }

    .inner1300 {
        width: 100%;
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 60px 0px;
        flex-direction: column;
    }

    .inner1300.-row>div {
        width: 100%;
        padding: 0 24px;
    }

    .inner1300.-row>div:first-child {
        order: 2;
    }

    .inner1300.-row>div:last-child {
        order: 1;
    }

    .about-content p {
        font-size: 18px;
    }

    .learn-more-btn {
        margin-bottom: 30px;
    }

    .partners {
        height: 120px;
    }

    .partners img {
        height: 80px;
    }

}

/* ==================== 연혁(Timeline) 섹션 ==================== */
.timeline {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    padding: 130px 0;

}

.timeline-title {
    text-align: center;
    font-size: 80px;
    color: rgba(255, 255, 255, 0.2);
    margin-top: 120px;
    margin-bottom: 40px;
}

.timeline-inner {
    display: flex;
    justify-content: flex-end;
    margin: auto;
}

.timeline-inner-box {
    display: flex;
    flex-direction: column;
}

.year {
    margin-bottom: 20px;
}

.year h2 {
    font-size: 34px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
    padding: 18px 0;
}

.month {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
}

.month span {
    font-size: 20px;
    width: 40px;
    color: #a1b4d2;
    font-weight: 600;
}

.month p {
    margin: 0;
    padding-left: 10px;
    font-size: 16px;
    line-height: 1.4;
    color: #a1b4d2;
}

@media (max-width: 837px) {
    .timeline {
        padding: 0px 24px;
    }

    .timeline-title img {
        max-width: 80%;
    }

    .timeline-inner {
        max-width: 100%;
        width: 100%;
    }

    .year h2 {
        font-size: 24px;
    }
}

/* ==================== 뉴스 섹션 ==================== */
.news-section {
    display: flex;
    justify-content: center;
    padding: 0px 0 80px;

}

.news-section .inner1300.-row>div {
    width: 33.333%;
}

.news-section .inner1300.-row>div img {
    max-width: 100%;
}

.news-section .inner1300.-column {
    flex-direction: column;
}

.news-title {
    padding-bottom: 50px;
}

.news-title h1 {
    font-size: 28px;
    padding-bottom: 13px;
}

.news-content {
    display: flex;
    gap: 50px;
    width: 100%;
    padding: 0 24px;
}

.news-content>div {
    width: 33.333%;
}

.news-content>div a {
    text-decoration: none;
}

.news-content>div img {
    max-width: 100%;
    border-radius: 20px;
}

.news-content p {
    font-size: 16px;
    padding: 5px 10px;
    line-height: 1.4em;
}

@media (max-width: 837px) {
    .about-section {
        padding: 60px 0 0;
    }

    .inner1300 {
        width: 100%;
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 60px 0px;
        flex-direction: column;
    }

    .inner1300.-row>div {
        width: 100%;
        padding: 0 24px;
    }

    .inner1300.-row>div:first-child {
        order: 2;
    }

    .inner1300.-row>div:last-child {
        order: 1;
    }

    .about-content p {
        font-size: 18px;
    }

    .learn-more-btn {
        margin-bottom: 30px;
    }

    .partners {
        height: 120px;
    }

    .partners img {
        height: 80px;
    }

    .news-title {
        padding-bottom: 20px;
    }

    .news-content>div {
        width: 100%;
    }

    .news-content {
        display: flex;
        gap: 50px;
        flex-direction: column;
        padding: 0 24px;
    }

}

/* ==================== 제품(Product) 페이지 스타일 ==================== */
.product01 {
    display: flex;
    max-width: 1249px;
    width: 1249px;
    margin: 0px auto 0;
    flex-wrap: wrap;
    gap: 20px;
}

.product-inner {
    display: flex;
    padding: 100px 0;
    width: 100%;
}

.product-inner.prd03 {
    padding: 0 0 100px;
    margin-top: -120px;
}

.product01 .text-section {
    flex: 1;
    min-width: 300px;
    margin: 20px;
}

.product01 .text-section h1 {
    font-size: 36px;
    line-height: 140%;
    margin-bottom: 20px;
    font-weight: 500;
}

.product01 .text-section p {
    font-size: 16px;
    line-height: 140%;
    color: #a1b4d2;
}

.product01 .image-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 300px;
}

.product01 .image-wrapper {
    position: relative;

}

.product01 .product-image {
    width: 100%;
    border-radius: 15px;
    display: block;
}

/* 촬영 단계 라벨 */
.product01 .step-label {
    position: absolute;
    color: #fff;
    font-weight: bold;
    text-align: left;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    width: 162px;
    height: 64px;
    border-radius: 12px;
    padding: 0;
    background-color: transparent;
    z-index: 1;
    overflow: hidden;
}

/* 라벨 테두리 그라데이션 효과 */
.product01 .step-label::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(45deg, #7928CA, #3C7FC2);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: destination-out;
    z-index: -1;
}

.product01 .number-box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 20px;
    background: linear-gradient(45deg, #7928CA, #3C7FC2);
    color: #fff;
    font-weight: bold;
}

.product01 .label-text {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-weight: 500;
}


.product01 .step1 {
    top: -50px;
    left: -50px;
}

.product01 .step2 {
    top: 60%;
    right: -150px;
    background-color: #00000070;
}

.product01 .step3 {
    bottom: -50px;
    left: 10px;
    background-color: #00000070;
}

/* 단계별 애니메이션 지연 */
.product01 .step1.fade-up {
    transition-delay: .3s;
}

.product01 .step2.fade-up {
    transition-delay: 0.6s;
}

.product01 .step3.fade-up {
    transition-delay: 0.9s;
}

.prd02 {
    gap: 50px;
}

/* 반투명 그라데이션 박스 (탭 메뉴 영역) */
.transparent-gradient-box {
    width: 650px;
    height: 500px;
    background: linear-gradient(to bottom,
            rgba(93, 142, 237, 0.15),
            rgba(0, 58, 166, 0.05));
    border-radius: 56px;
    padding: 24px;
    color: white;
}

.transparent-gradient-box-r {
    padding: 50px 50px 0 0;
}

.transparent-gradient-box-r h1 {
    margin-bottom: 20px;
    font-size: 36px;
    font-weight: 500;
}

.transparent-gradient-box-r p {
    color: #a1b4d2;
    line-height: 140%;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px;
}

.tab {
    flex: 1;
    padding: 18px 32px;
    border-radius: 56px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}

.tab.active {
    background-color: #C4DDE6;
    color: #000;
    outline: none;
}

/* 이미지 컨텐츠 */
.image-content {
    margin-top: 20px;
    border-radius: 15px;
    overflow: hidden;
}

.image-content img {
    width: 100%;
    display: block;
}



/* 제품 소개 3번 박스 스타일 */
.content-box-03 {
    display: flex;
    align-items: center;
    padding: 50px;
    background: linear-gradient(to bottom,
            rgba(93, 142, 237, 0.15),
            rgba(0, 58, 166, 0.05));
    border-radius: 56px;
    width: 100%;
    max-width: 1249px;
    margin: auto;

}

.content-box-03 .text-section {
    color: white;
    max-width: 50%;
    margin-right: 20px;
}

.content-box-03 .text-section h4 {
    font-size: 18px;
    font-weight: 500;
    color: #c1c8e4;
    margin-bottom: 10px;
}

.content-box-03 .text-section h1 {
    font-size: 36px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 20px;
}

.content-box-03 .text-section p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.content-box-03 .button-wrap {
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50px;
    padding: 5px;
}

.content-box-03 .button-group {
    display: flex;
    gap: 10px;

}

.content-box-03 .button-group .button {
    padding: 10px 20px;
    border: 1px solid #c1c8e4;
    background: transparent;
    color: #c1c8e4;
    border-radius: 100px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    transition: background 0.3s, color 0.3s;
    font-weight: 500;
}

.content-box-03 .button-group .button.active {
    background: white;
    color: #00254f;
}

.content-box-03 .image-section {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-box-03 .product-image,
.content-box-03 .invoice-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
    width: 480px;
}

.content-box-03 .product-image.show,
.content-box-03 .invoice-image.show {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.content-box-03 .product-image.hidden,
.content-box-03 .invoice-image.hidden {
    opacity: 0;
    transform: translate(-70%, -50%);
}


/* 제품 소개 4번 박스 스타일 */
.product-04-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-04-box img {
    width: auto;
    max-width: 100%;
}

.product-04-box .title {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 100px;
}

.product-04-box .title h1 {
    font-size: 36px;
    line-height: 140%;
    margin-bottom: 20px;
    font-weight: 500;
    padding: 0 80px;
}

.product-04-box .title h4 {
    font-weight: normal;
    font-size: 16px;
    line-height: 1.6;
    padding: 0 80px;
    color: #a1b4d2;
}

.section4-img {
    width: 600px;
}

/* 제품 소개 5번 박스 스타일 */
.product-05-box {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.product-05-box img {
    width: auto;
    max-width: 100%;
}

.product-05-box .title {
    position: absolute;
    top: 0px;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    z-index: 99
}

.product-05-box .title h1 {
    font-size: 36px;
    line-height: 140%;
    margin-bottom: 20px;
    font-weight: 500;
}

.product-05-box .title h4 {
    font-weight: normal;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #a1b4d2;
}

.product-05-box .title p {
    color: #6EA1FF;
    font-size: 16px;
    line-height: 140%;
}

.section-bg {
    background: url('../img/product-section5-bg.png');
}

/* 제품 소개 6번 박스 스타일 */
.product06 {
    display: flex;
    max-width: 1249px;
    width: 1249px;
    margin: 0px auto 0;
    flex-wrap: wrap;
    gap: 20px;
}

.product06 .product-inner {
    width: 980px;
    margin: 0 auto;
}

.product06 .product-inner>div {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
}

.product06 .product-inner>div:first-child {
    margin-right: 100px;
}

.product06 .product-inner>div:first-child h1 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 500;
}

.product06 .product-inner>div:first-child p {
    font-size: 16px;
    line-height: 140%;
    color: #a1b4d2;
}

.display_pc {
    display: block;
}

.display_mobile {
    display: none;
}

@media all and (min-width:837px) and (max-width:1400px) {
    .product01 {
        max-width: 1100px;
        width: 1100px;
        margin: 0px auto 0;
    }

    .product06 {
        width: 1100px;
        max-width: 1100px;
    }

    .timeline-title img {
        max-width: 60%;
    }

    .product01 .product-image {
        width: 88%;
    }

    .product01 .step2 {
        right: -30px;
    }
}

@media (max-width: 837px) {
    .product01 {
        width: 100%;
        max-width: 100%;
    }

    .product-inner {
        padding: 100px 24px;
        flex-direction: column;
    }

    .product01 .text-section h1 {
        font-size: 32px;
    }

    .product01 .image-section {
        min-width: 260px;
    }

    .product01 .image-wrapper {
        padding: 50px 0;
    }

    .product01 .product-image {
        width: 80%;
        margin: 0 auto;
    }

    .product01 .step-label {
        width: 101px;
        height: 33px;
        font-size: 13px;
    }

    .product01 .number-box {
        padding: 0 10px;
        font-size: 12px;
    }

    .product01 .step1 {
        top: 25px;
        left: -30px;
    }

    .product01 .step2 {
        right: 0px;
    }

    .product01 .step3 {
        bottom: 20px;
        left: 10px;
    }

    .timeline-title {
        padding: 0 10px;
        margin-top: 40px;
    }

    .transparent-gradient-box {
        width: 96%;
        height: auto;
        margin: auto;
        padding: 10px;
        border-radius: 28px;
    }

    .tab {
        padding: 8px 24px;
        font-weight: 500;
    }

    .product-inner.prd03 {
        padding: 0 10px;
        margin-top: -50px;
    }

    .content-box-03 {
        flex-direction: column;
        border-radius: 28px;
        padding: 20px;
    }

    .content-box-03 .text-section {
        max-width: 100%;
        margin-right: 0;
    }

    .content-box-03 .invoice-image {
        opacity: 0
    }

    .content-box-03 .invoice-image.show {
        opacity: 1
    }

    .product-04-box .title h1 {
        font-size: 32px;
        padding: 0 20px;
    }

    .product01 .image-section {
        min-height: 320px;
    }

    .content-box-03 .invoice-image {
        width: 320px;
    }

    .product-04-box .title h4 {
        padding: 0 20px;
        color: #a1b4d2;
    }

    .product-04-box .title h4 br {
        display: none;
    }

    .mobilebox {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .content-box-03 .button-wrap {
        padding: 8px;
    }

    .section-bg {
        background: url('../img/product-section5-bg.png');
        padding: 0 24px 100px;
    }

    .product-05-box .title {
        position: relative
    }

    .product-05-box .title h1 {
        font-size: 32px;
    }

    .product-05-box .title h4 {
        color: #a1b4d2;
    }

    .product-05-box .title p {
        font-size: 16px;
        line-height: 160%;
    }

    .product-05-box img {
        margin-top: -120px;
    }

    .display_pc {
        display: none;
    }

    .display_mobile {
        display: block;
    }

    .display_mobile>img {
        padding: 30px 0 0;
    }

    .prd02 {
        gap: 10px;
    }

    .transparent-gradient-box-r {
        padding: 20px;
    }

    .transparent-gradient-box-r h1 {
        margin-bottom: 20px;
        font-size: 32px;
        font-weight: 500;
    }

    .transparent-gradient-box-r p {
        line-height: 140%;
        color: #a1b4d2;
    }

    .product06 {
        max-width: 100%;
        width: 100%;
    }

    .product06 .product-inner {
        width: 100%;
        margin: 0 auto;
    }

    .product06 .product-inner>div:first-child {
        margin-right: 20px;
    }

    .product06 .product-inner>div:first-child h1 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .product06 .product-inner>div:first-child p {
        margin-bottom: 30px;
        color: #a1b4d2;
    }

    .product01 .text-section {
        margin-left: 0px;
    }

    .section4-img {
        width: 100%;
    }
}


/* ==================== 게시판(Board) 섹션 (FAQ, Q&A 등) ==================== */
section.board {
    min-height: calc(100vh - 100px);
    margin-top: 100px;

}

.board01 {
    display: flex;
    max-width: 1100px;
    width: 1249px;
    margin: 0px auto 0;
    flex-wrap: wrap;
    gap: 0px;
    margin-bottom: 150px;
}

.board-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: linear-gradient(to bottom,
            rgba(93, 142, 237, 0.15),
            rgba(0, 58, 166, 0.05));
    border-radius: 56px;
    max-width: 1250px;
    margin: -10px auto 0;
    padding: 30px 0;

    margin: 0 24px;
}

.board-title {
    text-align: center;
    margin: 180px 0 0;
    scale: 80%;
}

.board-tab-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;

}

.board-tab-button-wrap {
    padding: 6px 3px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 46px;
}

.board-tab-button {
    padding: 10px 20px;
    background-color: transparent;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    margin: 0 5px;
}

.board-tab-button.active {
    background-color: #ffffff;
    color: #0f1526;
    border-radius: 20px;
}

.board-tab-content {
    display: none;
    text-align: center;
    padding: 20px;
}

.board-tab-content.active {
    display: block;
}

.board-table {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-collapse: collapse;
    color: #ffffff;
}

.board-table th,
.board-table td {
    padding: 24px 10px;
    border-bottom: 1px solid #3a3f54;
    text-align: center;
}

.board-table td a {
    color: #fff;
    text-decoration: none;
}

.mobile-info {
    display: none;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 33px;
    margin-top: 40px;

}

.pagination .prev-btn,
.pagination .next-btn {
    width: 64px;
    height: 64px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, .3);
    color: #ffffff;
    cursor: pointer;
    border-radius: 50%;
}

.pagination .prev-btn svg {
    fill: #fff;
}

.pagination .prev-btn:hover svg {
    fill: #185BC3;
}

.pagination .next-btn svg {
    fill: #fff;
}

.pagination .next-btn:hover svg {
    fill: #185BC3;
}

.pagination .page-num {
    padding: 5px 10px;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
}

.pagination .page-num:hover,
.pagination .page-num.active {
    color: #185BC3;
    font-weight: 700;
}


/* ==================== FAQ 섹션 ==================== */
.faq-container {
    max-width: 900px;
    margin: 20px auto;
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.faq-item {
    border: 1px solid #1f3b5a;
    padding: 30px 20px;
    border-radius: 20px;
}

.faq-question {
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    line-height: 1.6em;
}

.faq-question span {
    min-width: 150px;
    text-align: left;
}

/* 답변 영역 (기본 숨김) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 0 0 150px;
    font-size: 16px;
    color: #a1b4d2;
    text-align: left;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease, padding-top 0.4s ease;
}

/* 답변 보이기 */
.faq-answer.show {
    max-height: 500px;
    opacity: 1;
    padding-top: 10px;
    line-height: 1.6em;
}

@media (max-width: 837px) {

    .board01 {
        display: block;
        /* Flex에서 block으로 변경 */
        width: 100%;
        margin: 0 auto;
        padding: 0 24px;
    }

    .board-inner {
        border-radius: 16px;
        margin: 0 auto;
        padding: 20px 0;
        box-shadow: 0px -1px 1px rgba(255, 255, 255, 0.2),
            0px 2px 5px rgba(0, 0, 0, 0.2),
            0px 0px 10px rgba(0, 0, 0, 0.2),
            0px 0px 20px rgba(0, 0, 0, 0.4);
    }

    .board-title {
        font-size: 1.5rem;
        margin: 40px 70px 20px;
    }

    .board-title img {
        max-width: 100%;
    }

    .board-tab-container {
        flex-wrap: wrap;
        gap: 10px;
        margin: 15px 0;
    }

    .board-tab-button {
        padding: 8px 16px;
        font-size: 0.875rem;
        border-radius: 15px;
    }

    .board-tab-content {
        padding: 15px;
        text-align: left;
    }

    .board-table {
        width: 100%;
        font-size: 0.875rem;
        border-collapse: separate;
        border-spacing: 0 10px;
    }

    .board-table thead {
        display: none;
        /* PC용 테이블 헤더 숨김 */
    }

    .board-table tbody tr {
        display: flex;
        flex-direction: column;
        padding: 0px 10px 10px;
        margin-bottom: 0px;
    }

    .board-table tbody tr td:nth-child(1) {
        font-weight: bold;
        color: #fff;
        font-size: 1rem;
        text-align: left;
        display: inline-block;
        margin-right: 10px;
    }

    .board-table tbody tr td:nth-child(2) {
        font-weight: bold;
        color: #fff;
        font-size: 1rem;
        text-align: left;
        display: inline-block;
        border-bottom: 0;
        padding: 10px 10px;
    }

    /* 모바일에서 3번째와 4번째 td 숨기기 */
    .board-table tbody tr td:nth-child(1),
    .board-table tbody tr td:nth-child(3),
    .board-table tbody tr td:nth-child(4) {
        display: none;
    }

    /* 모바일용 정보 표시 */
    .board-table tbody tr td:nth-child(5) {
        text-align: left;
        font-size: 0.75rem;
        color: #ccc;
        padding: 10px 10px 20px;
        font-size: 0;
    }

    .board-table tbody tr td:nth-child(5) .mobile-info {
        display: inline;
        font-size: 12px;
    }

    .pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px;
        margin-top: 40px;

    }

    .pagination .prev-btn,
    .pagination .next-btn {
        width: 33px;
        height: 33px;
    }


    .faq-question span {
        min-width: 50px;
    }

    .faq-answer {
        padding: 10px 0 0 50px;
    }

    .about-contact-title {
        font-size: 28px;
        margin-bottom: 32.5px;
    }

    .about-contact-text {
        font-size: 16px;
        margin-bottom: 43px;
        width: 215px;
        line-height: 1.6em;
    }

    .about-contact {
        gap: 0;
    }

    .about-contact-time {
        font-size: 16px;
        margin-bottom: 50px;
        line-height: 1.6em;
    }

    .about-contact-form {
        width: 100%;
        background: none;
        padding: 0;
    }

    .about-contact-form-row-1,
    .about-contact-form-row-2 {
        flex-direction: column;
        width: calc(100% - 48px);
        margin: 0 auto;
        gap: 20px;
    }

    .about-contact-form-item label {
        margin-bottom: 7px;
        margin-left: 10px;
    }

    .about-contact-form input[type="text"] {
        border-radius: 30px;
        font-size: 14px;
        padding: 10px 11px;
    }

    .about-contact-form-item textarea {
        border-radius: 10px;
        font-size: 14px;
    }

    .about-contact-form-item input::placeholder,
    .about-contact-form-item textarea::placeholder {
        font-size: 14px;
        font-weight: 300;
    }

    .about-contact-form-item input {
        width: 100%;
        height: 46px;
    }

    .about-contact-form-agree {
        flex-direction: column;
    }

    .about-contact-form-textarea,
    .about-contact-form-agree {
        width: calc(100% - 48px);
        margin: 0 auto;
    }

    .about-contact-form-textarea textarea {
        width: 100%;
        height: 120px;
        padding: 10px 13px;
    }

    .about-contact-form-agree-btn {
        display: none;
    }

    .about-contact-form-agree-content h3 {
        font-size: 14px;
    }

    .about-contact-form-agree-content {
        width: calc(100% - 42px);
        margin-bottom: 20px;
    }

    .about-contact-form-agree-item {
        gap: 10px;
    }

    #agree {
        width: 20px;
        height: 20px;
        background-size: 12px;
        margin-right: 0;
    }

    .about-contact-form-btn {
        width: 100%;
        height: 60px;
        margin: 0 auto;
        font-size: 18px;
    }

    #chat {
        width: 60px;
        height: 60px;
        font-size: 12px;
    }

    #chat2 {
        width: 60px;
        height: 60px;
        bottom: 100px;
    }

    #chat2 span {
        font-size: 12px;
        text-align: center;
    }
}

/* ==================== 플로팅 채팅 아이콘 및 말풍선 ==================== */
.chat-icon {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.chat-icon2 {
    position: fixed;
    right: 30px;
    bottom: 140px;
    z-index: 99;
}

.bot-chat-icon {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.chat-icon img {
    width: 60px;
}

.bot-chat-icon img {
    width: 60px;
}

.chat-icon {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    background-color: #014984;
    color: #fff;
    display: flex;
    font-size: 18px;
    font-weight: bold;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.chat-icon2,
.bot-chat-icon {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    background: linear-gradient(141deg, #CB3CFF 0%, #7F25FB 100%);
    color: #fff;
    display: flex;
    font-weight: bold;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    flex-direction: column;
    gap: 10px;
}

.chat-icon2 img,
.bot-chat-icon img {
    width: 41px;
    height: 41px;
}

.chat-icon2 span,
.bot-chat-icon span {
    font-size: 14px;
    font-weight: bold;
}

.speech-bubble {
    position: fixed;
    right: 30px;
    bottom: 130px;
    background: #011a97;
    color: #FFFFFF;
    padding: 15px;
    width: 180px;
    height: 60px;
    border-radius: 10px;
    font-size: 13px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
    z-index: 9999;
}

.speech-bubble.show {
    opacity: 1;
    transform: translateY(0);
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 20px;
    width: 25px;
    height: 11px;
    background-image: url('../img/arrow.png');
    background-size: cover;
    background-repeat: no-repeat;
}

/* ==================== 푸터 ==================== */
.footer {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, .2);
    font-size: 14px;
    color: #b1b1b1;
}

.footer ul {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.footer ul li {
    position: relative;
    list-style: none;
    border: 0;
}

.footer ul li:not(:last-child):after {
    content: '';
    width: 1px;
    height: 10px;
    background: #383838;
    position: absolute;
    right: -10px;
    top: 3px;
}

.footer ul li a {
    text-decoration: none;
    color: #fff;
}

.footer .company {
    padding: 20px 0 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

@media (max-width: 837px) {
    .chat-icon img {
        width: 50px;
    }

    .speech-bubble {
        bottom: 100px;
    }

    .speech-bubble::after {
        right: 8px;
    }

    .footer {
        text-align: left;
        padding: 20px 20px;

    }

    .footer ul {
        display: flex;
        gap: 20px;
        justify-content: flex-start;
    }

    .footer ul li {
        position: relative;
        list-style: none;
        border: 0;
    }

    .footer ul li:not(:last-child):after {
        content: '';
        width: 1px;
        height: 10px;
        background: #383838;
        position: absolute;
        right: -10px;
        top: 3px;
    }

    .footer ul li a {
        text-decoration: none;
        color: #fff;
    }

    .footer .company {
        flex-direction: column;
        gap: 10px;
    }
}