/* ==========================================
   INTJ 가이드북 전용 스타일 - 개선 버전
   ========================================== */

:root {
    --guidebook-primary: #2D5F5D;
    --guidebook-accent: #D4AF37;
    --guidebook-bg: #FAFAFA;
    --guidebook-text: #333333;
    --guidebook-light: #F5F5F5;
}

/* Hero Section */
.guidebook-hero {
    position: relative;
    min-height: 500px;
    background: linear-gradient(135deg, #2D5F5D 0%, #1a4838 50%, #2D5F5D 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    margin-top: 0;
    overflow: hidden;
}

.guidebook-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(212,175,55,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content-center {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #D4AF37 0%, #f0d98c 100%);
    color: #2D5F5D;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.premium-badge i {
    font-size: 1.2rem;
}

.hero-main-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    margin: 20px 0;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-meta span {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-meta i {
    color: #D4AF37;
}

.cta-button-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #D4AF37 0%, #f0d98c 100%);
    color: #2D5F5D;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
}

.cta-button-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.6);
}

/* Intro Section */
.intro-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.intro-content h2 {
    font-size: 2rem;
    color: var(--guidebook-primary);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.intro-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* Stats Showcase */
.stats-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.stat-item-large {
    background: white;
    padding: 25px 15px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--guidebook-accent);
}

.stat-item-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.stat-icon-large {
    font-size: 2rem;
    color: var(--guidebook-accent);
    margin-bottom: 15px;
}

.stat-number-large {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--guidebook-primary);
    margin-bottom: 8px;
}

.stat-label-large {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Chapters Section */
.chapters-section {
    padding: 80px 20px;
    background: var(--guidebook-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--guidebook-primary);
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.chapters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.chapter-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.chapter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--guidebook-primary), var(--guidebook-accent));
}

.chapter-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(45, 95, 93, 0.2);
    border-color: var(--guidebook-accent);
}

.chapter-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--guidebook-accent), #f0d98c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--guidebook-primary);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.chapter-icon {
    font-size: 3rem;
    color: var(--guidebook-primary);
    margin-bottom: 20px;
}

.chapter-title {
    font-size: 1.5rem;
    color: var(--guidebook-primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.chapter-pages {
    color: var(--guidebook-accent);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.chapter-topics {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.chapter-topics li {
    padding: 8px 0;
    color: #666;
    font-size: 0.95rem;
    position: relative;
    padding-left: 25px;
}

.chapter-topics li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--guidebook-accent);
    font-weight: bold;
}

.chapter-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #eee;
    color: var(--guidebook-primary);
    font-weight: 600;
    font-size: 1rem;
}

.chapter-card:hover .chapter-cta {
    color: var(--guidebook-accent);
}

/* Features Section */
.features-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--guidebook-primary), #3A7B78);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 25px rgba(45, 95, 93, 0.3);
}

.feature-item h3 {
    font-size: 1.2rem;
    color: var(--guidebook-primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.feature-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Target Audience */
.target-audience {
    padding: 80px 20px;
    background: var(--guidebook-bg);
    max-width: 1200px;
    margin: 0 auto;
}

.audience-list {
    max-width: 800px;
    margin: 50px auto 0;
}

.audience-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.audience-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(45, 95, 93, 0.15);
}

.audience-item i {
    color: var(--guidebook-accent);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.audience-item span {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Guidebook Info Section */
.guidebook-info-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.info-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.info-card.highlight-card {
    background: linear-gradient(135deg, var(--guidebook-primary), #3A7B78);
    color: white;
}

.info-label {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 10px;
    font-weight: 500;
}

.highlight-card .info-label {
    color: rgba(255, 255, 255, 0.8);
}

.info-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--guidebook-primary);
}

.highlight-card .info-value {
    color: white;
}

.info-value.price {
    font-size: 2.5rem;
    color: var(--guidebook-accent);
}

.info-sublabel {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 5px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2D5F5D 0%, #1a4838 100%);
    padding: 100px 20px;
    text-align: center;
    color: white;
}

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

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-button-main {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #D4AF37, #f0d98c);
    color: #2D5F5D;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    margin: 0 10px 15px;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
}

.cta-button-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.6);
}

.cta-button-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    margin: 0 10px 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* 기존 스타일 유지 */

/* Body 상단 패딩 (고정 네비게이션 때문에) */
body {
    padding-top: 90px;
}

/* 가이드북 컨테이너 */
.guidebook-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
    background: white;
    min-height: 100vh;
}

/* 가이드북 헤더 */
.guidebook-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--guidebook-primary), #3A7B78);
    color: white;
    border-radius: 12px;
    margin-bottom: 30px;
}

.guidebook-header .chapter-badge {
    display: inline-block;
    background: var(--guidebook-accent);
    color: var(--guidebook-primary);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.guidebook-header h1 {
    font-size: 2.2rem;
    margin: 15px 0;
    font-weight: 800;
}

.guidebook-header .page-number {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 10px;
}

/* 목차 */
.guidebook-toc {
    background: var(--guidebook-light);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    border-left: 4px solid var(--guidebook-accent);
}

.guidebook-toc h2 {
    color: var(--guidebook-primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.guidebook-toc ul {
    list-style: none;
    padding: 0;
}

.guidebook-toc li {
    margin: 15px 0;
    padding-left: 25px;
    position: relative;
}

.guidebook-toc li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--guidebook-accent);
    font-weight: bold;
}

.guidebook-toc a {
    color: var(--guidebook-text);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.guidebook-toc a:hover {
    color: var(--guidebook-primary);
    padding-left: 10px;
}

/* 콘텐츠 섹션 */
.guidebook-content {
    padding: 20px 0;
    line-height: 1.8;
}

.guidebook-content h2 {
    color: var(--guidebook-primary);
    font-size: 1.8rem;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--guidebook-accent);
}

.guidebook-content h3 {
    color: var(--guidebook-primary);
    font-size: 1.4rem;
    margin: 30px 0 15px 0;
    font-weight: 700;
}

.guidebook-content h4 {
    color: var(--guidebook-text);
    font-size: 1.2rem;
    margin: 20px 0 10px 0;
    font-weight: 600;
}

.guidebook-content p {
    margin: 15px 0;
    font-size: 1.05rem;
    color: var(--guidebook-text);
}

.guidebook-content ul,
.guidebook-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.guidebook-content li {
    margin: 10px 0;
    font-size: 1.05rem;
}

/* 하이라이트 박스 */
.highlight-box {
    background: linear-gradient(135deg, #F0F8F7, #E8F5F4);
    border-left: 5px solid var(--guidebook-accent);
    padding: 25px;
    margin: 25px 0;
    border-radius: 8px;
}

.highlight-box h3 {
    color: var(--guidebook-primary);
    margin-top: 0;
    font-size: 1.3rem;
}

.highlight-box ul {
    margin: 10px 0;
}

.highlight-box li::marker {
    color: var(--guidebook-accent);
}

/* 인용구 */
.quote-box {
    background: #FFF9E6;
    border-left: 5px solid var(--guidebook-accent);
    padding: 20px 25px;
    margin: 25px 0;
    font-style: italic;
    font-size: 1.1rem;
    color: #555;
}

/* 통계 카드 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background: var(--guidebook-light);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border-top: 4px solid var(--guidebook-accent);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--guidebook-primary);
    margin-bottom: 10px;
}

.stat-card .stat-label {
    font-size: 1rem;
    color: #666;
}

.stat-card .stat-icon {
    font-size: 2rem;
    color: var(--guidebook-accent);
    margin-bottom: 10px;
}

/* 페이지 네비게이션 */
.page-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    padding: 30px 0;
    border-top: 2px solid #E0E0E0;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--guidebook-primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-btn:hover {
    background: #234847;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 95, 93, 0.3);
}

.nav-btn.disabled {
    background: #CCCCCC;
    cursor: not-allowed;
    pointer-events: none;
}

.nav-btn i {
    font-size: 1.2rem;
}

.nav-btn.home-btn {
    background: var(--guidebook-accent);
    color: var(--guidebook-primary);
}

.nav-btn.home-btn:hover {
    background: #c49d2e;
}

.page-indicator {
    text-align: center;
    color: #666;
    font-size: 1rem;
}

/* 테이블 스타일 */
.guidebook-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
}

.guidebook-table th,
.guidebook-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #E0E0E0;
}

.guidebook-table th {
    background: var(--guidebook-primary);
    color: white;
    font-weight: 600;
}

.guidebook-table tr:hover {
    background: var(--guidebook-light);
}

/* 체크리스트 */
.checklist {
    list-style: none;
    padding: 0;
}

.checklist li {
    padding-left: 35px;
    position: relative;
    margin: 15px 0;
}

.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--guidebook-accent);
    font-weight: bold;
    font-size: 1.5rem;
}

/* 워터마크 */
.watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 6rem;
    color: rgba(212, 175, 55, 0.08);
    font-weight: 900;
    pointer-events: none;
    z-index: -1;
    white-space: nowrap;
}

/* Content Section 스타일 추가 */
.content-section {
    padding: 20px 0;
}

.section-title {
    color: var(--guidebook-primary);
    font-size: 1.8rem;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--guidebook-accent);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: var(--guidebook-accent);
    color: var(--guidebook-primary);
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 700;
}

.subsection-title {
    color: var(--guidebook-primary);
    font-size: 1.4rem;
    margin: 30px 0 15px 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box {
    background: linear-gradient(135deg, #F0F8F7, #E8F5F4);
    border-left: 5px solid var(--guidebook-accent);
    padding: 25px;
    margin: 25px 0;
    border-radius: 8px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-box.highlight {
    background: linear-gradient(135deg, #FFF9E6, #FFF5D6);
    border-left-color: var(--guidebook-accent);
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-box h4 {
    color: var(--guidebook-primary);
    margin: 0 0 10px 0;
    font-size: 1.2rem;
}

.info-box p {
    margin: 10px 0;
    line-height: 1.7;
}

.info-box ul {
    margin: 10px 0;
    padding-left: 20px;
}

.info-box li {
    margin: 8px 0;
}

/* 반응형 */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .hero-main-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-meta {
        flex-direction: column;
        gap: 15px;
    }

    .cta-button-large {
        font-size: 1rem;
        padding: 15px 30px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .chapters-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-button-main,
    .cta-button-secondary {
        display: flex;
        width: 100%;
        justify-content: center;
        margin: 10px 0;
    }

    .guidebook-container {
        padding: 20px 15px;
    }

    .guidebook-header h1 {
        font-size: 1.8rem;
    }

    .guidebook-content h2 {
        font-size: 1.5rem;
    }

    .guidebook-content h3 {
        font-size: 1.2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stats-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .page-navigation {
        flex-direction: column;
        gap: 15px;
    }

    .nav-btn {
        width: 100%;
        justify-content: center;
    }

    .watermark {
        font-size: 3rem;
    }

    .info-box {
        flex-direction: column;
    }
}
