/* 서브페이지 공통 스타일 */

/* 페이지 배너 */
.page-banner {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    color: white;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.page-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
    color: white;
}

.separator {
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.6);
}

/* 회사 소개 페이지 스타일 */
.about-intro {
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.about-intro .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* 핵심 가치 섹션 */
.values {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-light);
}

/* 팀 섹션 */
.team {
    padding: 5rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.team-member {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image img {
    width: 100%;
    display: block;
}

.member-info {
    padding: 1.5rem;
}

.member-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.member-title {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-bio {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.member-social {
    display: flex;
    gap: 0.75rem;
}

.member-social a {
    color: var(--text-light);
    background-color: var(--bg-light);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.member-social a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* 타임라인 섹션 */
.milestones {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(120px + 7px);
    height: 100%;
    width: 2px;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    padding-left: 160px;
    margin-bottom: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: calc(120px);
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-date {
    position: absolute;
    left: 0;
    top: 0;
    width: 100px;
    font-weight: 700;
    color: var(--primary-color);
}

.timeline-content {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 포트폴리오 페이지 스타일 */
.portfolio-category-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background-color: var(--bg-light);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.portfolio-detail {
    padding: 3rem 0;
}

.portfolio-detail .container {
    max-width: 1000px;
}

.portfolio-detail-content {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
}

.portfolio-detail-header {
    text-align: center;
    margin-bottom: 2rem;
}

.portfolio-detail-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.portfolio-detail-header .categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.category-badge {
    background-color: var(--bg-light);
    padding: 0.25rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.portfolio-detail-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.meta-item {
    display: flex;
    align-items: center;
}

.meta-item i {
    margin-right: 0.5rem;
}

.portfolio-detail-images {
    margin-bottom: 2rem;
}

.detail-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.detail-image img {
    width: 100%;
    display: block;
}

.portfolio-detail-description h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.portfolio-detail-description p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.portfolio-detail-features {
    margin: 2rem 0;
}

.portfolio-detail-features h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
}

.feature-icon {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.25rem;
}

.portfolio-detail-cta {
    margin-top: 3rem;
    text-align: center;
}

/* 앱 가이드 페이지 스타일 */
.app-guides {
    padding: 3rem 0;
}

.guide-search {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    margin-bottom: 3rem;
}

.search-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

.search-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background-color: var(--primary-dark);
}

.guide-categories {
    margin-bottom: 3rem;
}

.categories-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.category-btn {
    padding: 0.5rem 1.5rem;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.category-btn.active,
.category-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.guide-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.guide-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.guide-card:hover {
    transform: translateY(-10px);
}

.guide-card-image {
    position: relative;
}

.guide-card-image img {
    width: 100%;
    display: block;
}

.guide-app-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
}

.guide-card-content {
    padding: 1.5rem;
}

.guide-card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.guide-card-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.guide-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-light);
}

.guide-date {
    display: flex;
    align-items: center;
}

.guide-date i {
    margin-right: 0.5rem;
}

/* 가이드 상세 페이지 */
.guide-detail {
    padding: 3rem 0;
}

.guide-detail .container {
    max-width: 900px;
}

.guide-detail-content {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
}

.guide-detail-header {
    margin-bottom: 2rem;
    text-align: center;
}

.guide-detail-header h1 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.guide-app-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.guide-app-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
}

.guide-app-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guide-app-name {
    font-weight: 500;
}

.guide-app-version {
    font-size: 0.875rem;
    color: var(--text-light);
}

.guide-detail-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.guide-toc {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.guide-toc-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.guide-toc-title i {
    margin-right: 0.75rem;
}

.toc-list {
    list-style-type: decimal;
    padding-left: 1.5rem;
}

.toc-list li {
    margin-bottom: 0.5rem;
}

.toc-list a {
    display: flex;
    align-items: center;
}

.toc-list a::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 0.5rem;
}

.guide-content h2 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.guide-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.guide-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.guide-content img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin: 1.5rem 0;
}

.guide-content ul,
.guide-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.guide-content li {
    margin-bottom: 0.5rem;
}

.guide-content .tip-box {
    background-color: rgba(var(--primary-color-rgb), 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.guide-content .warning-box {
    background-color: rgba(var(--secondary-color-rgb), 0.1);
    border-left: 4px solid var(--secondary-color);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.guide-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.prev-guide,
.next-guide {
    display: flex;
    align-items: center;
    max-width: 45%;
}

.prev-guide i {
    margin-right: 1rem;
}

.next-guide i {
    margin-left: 1rem;
}

.guide-nav-title {
    font-weight: 500;
}

/* FAQ 페이지 스타일 */
.faq {
    padding: 3rem 0;
}

.faq-search {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.faq-search h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.faq-search p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.faq-categories {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.faq-category {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-category:hover {
    transform: translateY(-10px);
}

.faq-category i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.faq-category h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.faq-category p {
    font-size: 0.875rem;
    color: var(--text-light);
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 1.125rem;
}

.faq-question:hover {
    background-color: var(--bg-light);
}

.faq-question i {
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
}

.more-questions {
    text-align: center;
    margin-top: 3rem;
}

/* 연락처 페이지 스타일 */
.contact {
    padding: 3rem 0;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-10px);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.contact-card a {
    display: block;
    font-weight: 500;
}

.contact-form-container {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
}

.contact-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-form-header p {
    color: var(--text-light);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-row .form-group {
    flex: 1;
}

.form-submit {
    text-align: center;
}

/* 개인정보처리방침 페이지 스타일 */
.privacy {
    padding: 3rem 0;
}

.privacy-content {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
}

.privacy-content h1 {
    font-size: 2.25rem;
    margin-bottom: 2rem;
    text-align: center;
}

.privacy-content h2 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.privacy-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.privacy-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.privacy-content li {
    margin-bottom: 0.75rem;
}

.privacy-date {
    text-align: right;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.875rem;
    color: var(--text-light);
}

/* 반응형 스타일 */
@media (max-width: 992px) {
    .about-intro .container {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-dot {
        left: 12px;
    }
    
    .timeline-date {
        position: relative;
        left: auto;
        top: auto;
        width: auto;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 768px) {
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .guide-nav {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .prev-guide,
    .next-guide {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .faq-categories {
        flex-direction: column;
    }
    
    .faq-category {
        max-width: 100%;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}