/* Guide Page Specific Styles */

/* Guide Hero */
.guide-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.guide-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.progress-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.start-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #667eea;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.start-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Table of Contents */
.toc-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.toc-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
}

.toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.toc-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.toc-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.toc-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.toc-content {
    flex: 1;
}

.toc-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.toc-content p {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.difficulty {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.difficulty.beginner {
    background: #28a745;
    color: white;
}

.difficulty.intermediate {
    background: #ffc107;
    color: #333;
}

.difficulty.advanced {
    background: #dc3545;
    color: white;
}

/* Chapter Content */
.chapter-content {
    padding: 4rem 0;
    background: white;
}

.chapter {
    max-width: 800px;
    margin: 0 auto 4rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.chapter-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.chapter-number {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.chapter-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.reading-time {
    opacity: 0.9;
    font-size: 0.9rem;
}

.chapter-body {
    padding: 2rem;
}

.concept-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 4px solid #2196f3;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 10px;
}

.concept-box h3 {
    color: #1976d2;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    border: 1px solid #e9ecef;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.feature-item p {
    color: #666;
    font-size: 0.9rem;
}

.comparison-table {
    margin: 2rem 0;
}

.comparison-table h3 {
    margin-bottom: 1rem;
    color: #333;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.comparison-table tbody tr:hover {
    background: #f8f9fa;
}

.important-box {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 10px;
}

.important-box h4 {
    color: #856404;
    margin-bottom: 1rem;
}

.important-box ul {
    list-style: none;
    padding-left: 0;
}

.important-box li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.important-box li:before {
    content: "⚠️";
    position: absolute;
    left: 0;
}

.timeline {
    margin: 2rem 0;
}

.timeline h3 {
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item:not(:last-child):after {
    content: "";
    position: absolute;
    left: 50px;
    top: 80px;
    width: 2px;
    height: 40px;
    background: #667eea;
}

.timeline-year {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 2rem;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.timeline-content h4 {
    color: #667eea;
    margin-bottom: 0.5rem;
}

.purchase-guide {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border-left: 4px solid #28a745;
}

.purchase-guide h3 {
    color: #155724;
    margin-bottom: 1.5rem;
    text-align: center;
}

.step-by-step {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    margin-bottom: 0.5rem;
    color: #155724;
}

.step-content p {
    color: #155724;
    margin-bottom: 1rem;
}

.recommended-exchanges {
    margin-top: 0.5rem;
}

.exchange-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #28a745;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.exchange-link:hover {
    background: #218838;
    transform: translateY(-2px);
}

.tip-box {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    border-left: 4px solid #007bff;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 10px;
}

.tip-box h4 {
    color: #0056b3;
    margin-bottom: 1rem;
}

.tip-box ul {
    list-style: none;
    padding-left: 0;
}

.tip-box li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: #0056b3;
}

.tip-box li:before {
    content: "💡";
    position: absolute;
    left: 0;
}

/* Quick Action Section */
.quick-action-section {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
}

.action-card {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.action-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.action-card p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.action-btn.primary {
    background: white;
    color: #ff6b6b;
}

.action-btn.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Chapter Navigation */
.chapter-navigation {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
}

.chapter-navigation h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1rem;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.nav-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.nav-number {
    background: #667eea;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.nav-title {
    flex: 1;
    font-weight: 600;
}

.nav-item i {
    color: #667eea;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h4 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
}

.faq-question i {
    color: #667eea;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 300px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Active navigation */
.nav-menu a.active {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .guide-hero h1 {
        font-size: 2.2rem;
    }
    
    .progress-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .toc-grid {
        grid-template-columns: 1fr;
    }
    
    .toc-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-year {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .timeline-item:not(:last-child):after {
        left: 50%;
        top: 150px;
        transform: translateX(-50%);
        height: 30px;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .nav-grid {
        grid-template-columns: 1fr;
    }
    
    .chapter-body {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .guide-hero {
        padding: 2rem 0;
    }
    
    .guide-hero h1 {
        font-size: 1.8rem;
    }
    
    .chapter-header {
        padding: 1.5rem;
    }
    
    .chapter-header h2 {
        font-size: 1.5rem;
    }
    
    .concept-box,
    .important-box,
    .tip-box,
    .purchase-guide {
        padding: 1rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}
