/* ====================================================
   FOOTER-PAGES.CSS - 푸터 페이지 스타일
   회사 소개, 이용약관, 개인정보처리방침 페이지 전용
   ==================================================== */

/* 페이지 히어로 섹션 */
.page-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    padding: 80px 20px;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.3) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 메인 컨텐츠 영역 */
.page-content {
    background: #f9fafb;
    min-height: calc(100vh - 300px);
    padding: 60px 20px 80px;
}

.content-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 뒤로가기 버튼 */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f3f4f6;
    border: none;
    border-radius: 8px;
    color: #374151;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 30px;
}

.back-button:hover {
    background: #e5e7eb;
    transform: translateX(-4px);
}

.back-button svg {
    transition: transform 0.2s ease;
}

.back-button:hover svg {
    transform: translateX(-2px);
}

/* 법적 문서 헤더 */
.legal-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.last-updated {
    display: inline-block;
    padding: 6px 12px;
    background: #dbeafe;
    color: #1e40af;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
}

/* 섹션 스타일 */
.content-section {
    margin-bottom: 48px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.section-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid #3b82f6;
}

.intro-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 20px;
}

.legal-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 16px;
}

/* 리스트 스타일 */
.legal-list {
    list-style: none;
    counter-reset: legal-counter;
    margin-left: 0;
    padding-left: 0;
}

.legal-list > li {
    counter-increment: legal-counter;
    margin-bottom: 20px;
    padding-left: 32px;
    position: relative;
    font-size: 1rem;
    line-height: 1.8;
    color: #4b5563;
}

.legal-list > li::before {
    content: counter(legal-counter) ".";
    position: absolute;
    left: 0;
    font-weight: 700;
    color: #3b82f6;
}

.legal-sublist {
    list-style: disc;
    margin-top: 12px;
    margin-left: 24px;
    padding-left: 0;
}

.legal-sublist li {
    margin-bottom: 8px;
    color: #6b7280;
    line-height: 1.7;
}

/* 정보 박스 */
.info-box {
    background: #f0f9ff;
    border-left: 4px solid #3b82f6;
    padding: 20px 24px;
    margin: 20px 0;
    border-radius: 8px;
}

.info-box h3,
.info-box h4 {
    color: #1e40af;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.info-box p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 8px;
}

.info-box ul {
    margin-top: 12px;
}

/* 비전 카드 */
.vision-card {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    padding: 32px;
    border-radius: 12px;
    margin: 24px 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.2);
}

.vision-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.vision-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.15rem;
    line-height: 1.8;
    font-weight: 500;
}

/* 미션 그리드 */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.mission-item {
    background: #f9fafb;
    padding: 24px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.mission-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.mission-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border-radius: 8px;
    text-align: center;
    line-height: 40px;
    font-weight: 700;
    margin-bottom: 12px;
}

.mission-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.mission-item p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
}

/* 핵심 가치 그리드 */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.value-card {
    background: white;
    padding: 28px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: #3b82f6;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.15);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.value-card p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.7;
}

/* 타임라인 */
.timeline {
    position: relative;
    padding-left: 40px;
    margin-top: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #3b82f6, #2563eb);
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
    padding-left: 32px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 8px;
    width: 16px;
    height: 16px;
    background: #3b82f6;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #3b82f6;
}

.timeline-year {
    display: inline-block;
    padding: 4px 12px;
    background: #3b82f6;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 6px;
    margin-bottom: 8px;
}

.timeline-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
}

/* 연락처 그리드 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.contact-box {
    background: #f9fafb;
    padding: 24px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-box:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 12px;
    margin-bottom: 16px;
}

.contact-icon svg {
    stroke: white;
}

.contact-box h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.contact-box p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
}

/* 테이블 스타일 */
.table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.info-table thead {
    background: #f3f4f6;
}

.info-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 700;
    color: #1f2937;
    border-bottom: 2px solid #e5e7eb;
}

.info-table td {
    padding: 14px 16px;
    color: #4b5563;
    border-bottom: 1px solid #e5e7eb;
}

.info-table tbody tr:hover {
    background: #f9fafb;
}

.info-table tbody tr:last-child td {
    border-bottom: none;
}

/* 연락처 정보 박스 */
.contact-info-box {
    background: #f0f9ff;
    border: 1px solid #bfdbfe;
    padding: 24px;
    border-radius: 10px;
    margin-top: 20px;
}

.contact-info-box p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.7;
}

.contact-info-box strong {
    color: #1e40af;
    font-weight: 600;
}

.contact-list {
    list-style: none;
    padding-left: 0;
}

.contact-list li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.7;
}

.contact-list strong {
    color: #1e40af;
    font-weight: 600;
}

/* 연락처 정보 섹션 */
.contact-info-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid #e5e7eb;
}

/* 유틸리티 클래스 */
.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .page-hero {
        min-height: 240px;
        padding: 60px 20px;
    }

    .content-container {
        padding: 24px 20px;
    }

    .section-heading {
        font-size: 1.4rem;
    }

    .mission-grid,
    .values-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 24px;
    }

    .timeline-item {
        padding-left: 20px;
    }

    .legal-list > li {
        padding-left: 24px;
    }

    .info-table {
        font-size: 0.85rem;
    }

    .info-table th,
    .info-table td {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.75rem;
    }

    .page-subtitle {
        font-size: 0.9rem;
    }

    .content-container {
        padding: 20px 16px;
    }

    .section-heading {
        font-size: 1.25rem;
    }

    .back-button {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}
