/* Paperlogy 폰트 등록 */
@font-face {
    font-family: 'Paperlogy';
    src: url('fonts/Paperlogy-1Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Paperlogy';
    src: url('fonts/Paperlogy-2ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Paperlogy';
    src: url('fonts/Paperlogy-3Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Paperlogy';
    src: url('fonts/Paperlogy-4Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Paperlogy';
    src: url('fonts/Paperlogy-5Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Paperlogy';
    src: url('fonts/Paperlogy-6SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Paperlogy';
    src: url('fonts/Paperlogy-7Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Paperlogy';
    src: url('fonts/Paperlogy-8ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Paperlogy';
    src: url('fonts/Paperlogy-9Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

/* 전체 리셋 및 기본 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Paperlogy', 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    color: #333;
    font-weight: 700;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #6a1b9a;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

/* 헤더 스타일 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #6a1b9a;
}

/* 네비게이션 메뉴 숨김 (모든 화면 크기에서) */
.nav-menu {
    display: none;
}

/* 헤더 버튼 숨김 (모든 화면 크기에서) */
.header-buttons {
    display: none;
}

/* 모바일 메뉴 토글 버튼 (모든 화면 크기에서 표시) */
.mobile-menu-toggle {
    display: block !important;
    width: 44px;
    height: 44px;
    background-color: #f5f5f5;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    padding: 9px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    box-shadow: 0 2px 5px #ffffff;
}

.mobile-menu-toggle span {
    display: block;
    width: 26px;
    height: 4px;
    background-color: #6a1b9a;
    margin: 6px auto;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* 활성화된 햄버거 버튼 (X 모양) */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* 슬라이드 메뉴 스타일 */
.mobile-dropdown {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    z-index: 1002;
    padding: 70px 20px 20px;
    overflow-y: auto;
}

.mobile-dropdown.show {
    right: 0;
}

.mobile-nav-menu {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.mobile-nav-menu a {
    display: block;
    padding: 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #eee;
}

.mobile-nav-menu a:last-child {
    border-bottom: none;
}

.mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-btn {
    display: block;
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    font-weight: 600;
    font-size: 15px;
}

.mobile-btn:first-child {
    background-color: #6a1b9a;
    color: white;
}

.mobile-btn:last-child {
    background-color: #1565c0;
    color: white;
}

/* 히어로 섹션 스타일 */
.hero {
    padding: 0;
    background: url('https://images.unsplash.com/photo-1556745753-b2904692b3cd?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center;
    background-size: cover;
    position: relative;
    color: #fff;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

/* PC 버전 히어로 스타일 */
.hero-pc {
    display: flex;
    align-items: center;
    padding: 200px 280px 100px;
    position: relative;
    z-index: 2;
}

/* 모바일 버전 히어로 스타일 */
.hero-mobile {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 20px 50px;
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 60%;
    padding-left: 100px;
    padding-right: 20px;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content .subtitle {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #f5f5f5;
    font-weight: 600;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.apply-btn {
    background-color: #6a1b9a;
    color: white;
    font-size: 1.1rem;
    padding: 15px 30px;
}

.apply-btn:hover {
    background-color: #4a148c;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hero-image {
    position: relative;
    z-index: 2;
    width: 40%;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 애니메이션 효과 */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.hero-content h2.animate-up {
    animation-delay: 0.2s;
}

.hero-content .subtitle.animate-up {
    animation-delay: 0.4s;
}

.hero-content p.animate-up {
    animation-delay: 0.6s;
}

.hero-content .apply-btn.animate-up {
    animation-delay: 0.8s;
}

.hero-image.animate-up {
    animation-delay: 1s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 회사소개 섹션 스타일 */
.company-section {
    padding: 50px 0 60px;
    background-color: #f9f9f9;
}

.company-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    color: #333;
    font-weight: 700;
}

.company-section .section-description {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 30px;
}

.partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.partner {
    flex: 1 1 calc(25% - 30px);
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.partner img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.partner h3 {
    padding: 20px 20px 10px;
    font-size: 1.5rem;
    color: #6a1b9a;
}

.partner p {
    padding: 0 20px 20px;
    color: #666;
}

/* 고객사 섹션 스타일 */
.clients {
    padding: 50px 0;
}

.client-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.client-images img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 가격정책 섹션 스타일 */
.pricing {
    padding: 50px 0 60px;
    background-color: #f9f9f9;
}

.price-plans {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.plan {
    flex: 1 1 calc(33.33% - 30px);
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    padding: 40px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 550px;
    border: 2px solid #e0e0e0;
}

.plan:hover {
    transform: translateY(-10px);
}

.plan:first-child {
    border-color: #6a1b9a;
}

.plan.featured {
    transform: scale(1.05);
    border: 2px solid #6a1b9a;
    position: relative;
}

.plan:last-child {
    border-color: #6a1b9a;
}

.plan.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.plan-header {
    margin-bottom: 20px;
}

.plan h3 {
    font-size: 2rem;
    color: #6a1b9a;
    font-weight: 700;
}

.price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.features {
    margin-bottom: 30px;
    text-align: left;
    flex-grow: 1;
}

.features li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: center;
}

.features li:last-child {
    border-bottom: none;
}

.features i {
    color: #6a1b9a;
    margin-right: 10px;
}

.plan-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: auto;
}

.tag {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    color: white;
}

/* 태그별 색상 설정 */
.tag-virtual { background-color: #00bcd4; } /* 하늘색 */
.tag-calc { background-color: #03a9f4; } /* 파란색 */
.tag-tax { background-color: #4caf50; } /* 녹색 */
.tag-mobile { background-color: #8bc34a; } /* 연두색 */
.tag-contract { background-color: #009688; } /* 청록색 */
.tag-approval { background-color: #ff9800; } /* 주황색 */
.tag-accounting { background-color: #ff5722; } /* 주황빨강 */
.tag-shop { background-color: #e91e63; } /* 핑크색 */
.tag-cti { background-color: #9c27b0; } /* 보라색 */
.tag-chat { background-color: #673ab7; } /* 진보라색 */
.tag-alarm { background-color: #3f51b5; } /* 남색 */

/* 연락처 섹션 스타일 */
.contact {
    padding: 50px 0;
}

.contact-form {
    max-width: 700px;
    margin: 30px auto 0;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6a1b9a;
}

.submit-btn {
    background-color: #6a1b9a;
    color: white;
    border: none;
    width: 100%;
    font-size: 1.1rem;
    padding: 15px;
    font-weight: 600;
}

.submit-btn:hover {
    background-color: #4a148c;
}

/* 푸터 스타일 */
footer {
    background-color: #fff;
    color: #333;
    padding: 60px 0 30px;
    border-top: 1px solid #eee;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-left {
    flex: 1;
    padding-right: 50px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 130px;
    height: auto;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: #6a1b9a;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    margin: 20px 0;
    transition: all 0.3s ease;
    border: 2px solid #6a1b9a;
    box-shadow: 0 2px 5px rgba(106, 27, 154, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.download-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #6a1b9a;
    transition: all 0.4s ease;
    z-index: -1;
}

.download-btn i {
    margin-right: 10px;
    color: #6a1b9a;
    font-size: 18px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: transparent;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(106, 27, 154, 0.2);
}

.download-btn:hover:before {
    left: 0;
}

.download-btn:hover i {
    color: #ffffff;
}

.company-desc {
    color: #666;
    line-height: 1.6;
    margin-top: 15px;
}

.footer-right {
    flex: 1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-item i {
    font-size: 24px;
    color: #6a1b9a;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-details h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
    font-weight: 600;
}

.contact-details p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #eee;
    font-weight: 500;
}

.copyright {
    color: #666;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #f5f5f5;
    border-radius: 50%;
    color: #333;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #6a1b9a;
    color: #fff;
}

/* 반응형 디자인 */
@media (max-width: 992px) {
    .hero-pc {
        padding: 150px 50px 80px;
    }
    
    .hero-content,
    .hero-image {
        width: 100%;
        padding: 0 20px;
    }
    
    .hero-pc {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-image {
        margin-top: 40px;
        max-width: 500px;
    }
    
    .partner {
        flex: 1 1 calc(50% - 30px);
    }
    
    .plan {
        flex: 1 1 100%;
        max-width: 500px;
        margin-bottom: 30px;
    }
    
    .footer-left, 
    .footer-right {
        flex: 100%;
        width: 100%;
    }
    
    .footer-left {
        margin-bottom: 40px;
        padding-right: 0;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 0;
    }
    
    header .container {
        padding: 0 20px;
    }
    
    .logo {
        max-width: 70%;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    /* 햄버거 버튼 관련 코드는 제거 (항상 표시됨) */
    
    .hero-pc {
        display: none;
    }
    
    .hero-mobile {
        display: flex;
    }
    
    .hero-content {
        width: 100%;
        padding: 0;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
        margin-top: 30px;
    }
    
    .hero-content .subtitle {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .partner {
        flex: 1 1 100%;
    }
    
    .client-images img {
        width: calc(50% - 30px);
    }
    
    .company-section,
    .clients,
    .pricing,
    .contact {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .nav-menu {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-menu li {
        margin: 10px 0;
    }
    
    .header-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .demo-btn {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .hero-mobile {
        padding: 70px 20px 40px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content .subtitle {
        font-size: 1.5rem;
    }
    
    .client-images img {
        width: 100%;
    }
    
    .company-section,
    .clients,
    .pricing,
    .contact {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 25px;
    }
}

/* 모바일 메뉴 스타일 - 완전히 새롭게 수정 */
.mobile-menu-toggle {
    display: none; /* 기본적으로 숨김 */
    width: 36px;
    height: 36px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: #6a1b9a;
    margin: 5px auto;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* 활성화된 햄버거 버튼 (X 모양) */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

.mobile-dropdown {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 70px 20px 20px;
    overflow-y: auto;
}

.mobile-dropdown.show {
    right: 0;
}

.mobile-nav-menu {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.mobile-nav-menu a {
    display: block;
    padding: 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #eee;
}

.mobile-nav-menu a:last-child {
    border-bottom: none;
}

.mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-btn {
    display: block;
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    font-weight: 600;
    font-size: 15px;
}

.mobile-btn:first-child {
    background-color: #6a1b9a;
    color: white;
}

.mobile-btn:last-child {
    background-color: #1565c0;
    color: white;
}

/* 메인 이미지 스타일 */
.main-image {
    margin: 30px 0 30px;
    text-align: center;
}

.main-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 슬라이더 스타일 */
.slider-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px 0;
}

.slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    height: 500px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    display: none;
}

.slide.active {
    opacity: 1;
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #f5f5f5;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    color: #6a1b9a;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background-color: #6a1b9a;
    color: white;
}

.prev-arrow {
    left: 20px;
}

.next-arrow {
    right: 20px;
}

.slider-dots {
    display: none; /* 도트를 완전히 숨김 */
}

.dot {
    width: 8px;
    height: 8px;
    background-color: rgba(204, 204, 204, 0.7);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.dot.active {
    background-color: #6a1b9a;
    transform: scale(1.2);
}

/* 반응형 설정 */
@media (max-width: 768px) {
    .slider {
        height: 400px;
    }
    
    .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .slider {
        height: 300px;
    }
    
    .slider-arrow {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
} 