/* Guide Page Styles */

/* Hero Section */
.guide-hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 80px 0 60px;
    margin-top: 70px;
}

.guide-hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.guide-hero-content {
    flex: 1;
}

.guide-category {
    color: #0066cc;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.guide-hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.guide-subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.guide-hero-buttons {
    display: flex;
    gap: 16px;
}

.guide-hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.crypto-visual {
    width: 400px;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Guide Layout */
.guide-layout {
    padding: 60px 0;
    background: #fff;
}

.guide-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: start;
}

/* Sidebar TOC */
.guide-sidebar {
    position: relative;
}

.toc-sticky {
    position: sticky;
    top: 100px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
}

.toc-sticky h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.toc-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toc-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s;
}

.toc-link:hover {
    background: #e9ecef;
    color: #0066cc;
}

.toc-link.active {
    background: #0066cc;
    color: #fff;
}

/* Main Content */
.guide-content {
    max-width: 800px;
}

.guide-section {
    margin-bottom: 60px;
}

.guide-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.guide-section h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.guide-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 16px;
}

.guide-section ul {
    margin: 16px 0;
    padding-left: 24px;
}

.guide-section li {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 8px;
}

/* Benefit List */
.benefit-list {
    list-style: none;
    padding: 0;
}

.benefit-list li {
    padding-left: 28px;
    position: relative;
}

.benefit-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: 700;
}

/* Step Cards */
.step-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.step-card h3 {
    color: #0066cc;
    margin-bottom: 12px;
}

/* Highlight Section */
.highlight-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 40px;
    color: #fff;
}

.highlight-section h2,
.highlight-section p,
.highlight-section li {
    color: #fff;
}

.highlight-text {
    font-weight: 600;
    font-size: 18px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* Loan Type Cards */
.loan-type-card {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    transition: all 0.3s;
}

.loan-type-card:hover {
    border-color: #0066cc;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
}

/* User Type Grid */
.user-type-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.user-type-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
}

.user-type-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.user-type-card p {
    font-size: 14px;
    margin: 0;
}

/* Comparison Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.comparison-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
}

.comparison-card h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

.comparison-card ul {
    margin: 0;
    padding-left: 20px;
}

/* Rate Info */
.rate-info {
    background: #e7f3ff;
    border-left: 4px solid #0066cc;
    padding: 16px;
    border-radius: 8px;
    font-weight: 500;
}

/* Risk Cards */
.risk-card {
    border-left: 4px solid #dc3545;
    background: #fff5f5;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.risk-card h3 {
    color: #dc3545;
    font-size: 20px;
}

.risk-mitigation {
    background: #e7f3ff;
    padding: 12px;
    border-radius: 6px;
    margin-top: 12px;
    font-size: 14px;
}

/* Checklist Grid */
.checklist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.checklist-card {
    border-radius: 12px;
    padding: 24px;
}

.checklist-card.positive {
    background: #e7f9f0;
    border: 2px solid #28a745;
}

.checklist-card.negative {
    background: #fff5f5;
    border: 2px solid #dc3545;
}

.checklist-card h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

.checklist-card ul {
    margin: 0;
    padding-left: 20px;
}

/* Tax Info Grid */
.tax-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.tax-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.tax-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #0066cc;
}

.tax-card p {
    font-size: 14px;
    margin: 0;
}

.tax-disclaimer {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 16px;
    border-radius: 8px;
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    margin: 24px 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comparison-table thead tr {
    background: #0066cc;
    color: #fff;
}

.comparison-table th,
.comparison-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.comparison-table tbody tr:hover {
    background: #f8f9fa;
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.process-step {
    display: flex;
    gap: 20px;
    align-items: start;
}

.step-number {
    width: 48px;
    height: 48px;
    background: #0066cc;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.process-step h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.process-step p {
    margin: 0;
    color: #666;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    color: #fff;
}

.cta-section h3 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 12px;
}

.cta-section p {
    color: #fff;
    font-size: 18px;
    margin-bottom: 24px;
}

/* FAQ List */
.faq-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 32px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-item {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 24px;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.faq-item p {
    margin: 0;
    color: #666;
}

/* Final CTA */
.guide-final-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    color: #fff;
}

.cta-content h2 {
    color: #fff;
    font-size: 36px;
    margin-bottom: 16px;
}

.cta-content p {
    color: #fff;
    font-size: 18px;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .guide-wrapper {
        grid-template-columns: 1fr;
    }

    .guide-sidebar {
        display: none;
    }

    .guide-hero .container {
        flex-direction: column;
        text-align: center;
    }

    .guide-hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .guide-hero {
        padding: 60px 0 40px;
    }

    .guide-hero h1 {
        font-size: 32px;
    }

    .guide-subtitle {
        font-size: 16px;
    }

    .crypto-visual {
        width: 100%;
        height: 250px;
    }

    .user-type-grid,
    .comparison-grid,
    .checklist-grid,
    .tax-info-grid {
        grid-template-columns: 1fr;
    }

    .guide-hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .guide-hero-buttons .btn-primary,
    .guide-hero-buttons .btn-secondary {
        width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .guide-section h2 {
        font-size: 24px;
    }

    .guide-section h3 {
        font-size: 20px;
    }

    .process-step {
        flex-direction: column;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}
