/* Risk Disclosure Page Styles */

/* Page Header */
.risk-page {
    padding: 80px 0 60px;
    background: #fff;
}

.risk-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.risk-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-title {
    font-size: 48px;
    font-weight: 600;
    color: #000;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Table of Contents */
.risk-toc {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 60px;
}

.toc-title {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin-bottom: 24px;
}

.toc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 12px;
}

.toc-list a {
    color: #4169E1;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}

.toc-list a:hover {
    color: #1E3A8A;
    text-decoration: underline;
}

/* Risk Content */
.risk-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Risk Sections */
.risk-section {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
}

.risk-section:last-of-type {
    border-bottom: none;
}

.risk-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #4169E1;
    color: #fff;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    color: #000;
    margin-bottom: 24px;
    line-height: 1.3;
}

.section-content {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
}

.section-content p {
    margin-bottom: 20px;
}

.section-content p:last-child {
    margin-bottom: 0;
}

.section-content ul {
    margin: 20px 0;
    padding-left: 24px;
}

.section-content li {
    margin-bottom: 12px;
    line-height: 1.6;
}

.section-content h3,
.section-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin: 32px 0 16px;
}

.section-content h4 {
    font-size: 18px;
}

/* Highlight Section */
.highlight-section {
    background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
    border-radius: 12px;
    padding: 40px;
    border: none;
}

.highlight-section .section-title {
    color: #1E3A8A;
}

/* Warning Box */
.warning-box {
    background: #fef2f2;
    border-left: 4px solid #dc2626;
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 8px;
}

.warning-box strong {
    color: #dc2626;
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
}

.warning-box p {
    margin: 0;
    color: #7f1d1d;
    line-height: 1.6;
}

.warning-text {
    color: #dc2626 !important;
    font-weight: 500;
}

/* Info Box */
.info-box {
    background: #f0f9ff;
    border-left: 4px solid #4169E1;
    padding: 24px;
    margin: 24px 0;
    border-radius: 8px;
}

.info-box h3,
.info-box h4 {
    color: #1E3A8A;
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 18px;
}

.info-box p {
    margin-bottom: 12px;
    color: #1e40af;
}

.info-box p:last-child {
    margin-bottom: 0;
}

.info-box ul {
    margin: 12px 0;
    padding-left: 24px;
}

.info-box li {
    color: #1e40af;
    margin-bottom: 8px;
}

.info-box strong {
    color: #1E3A8A;
}

/* CTA Section */
.risk-cta {
    background: linear-gradient(135deg, #4169E1 0%, #1E3A8A 100%);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    margin-top: 80px;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.btn-primary {
    display: inline-block;
    background: #fff;
    color: #4169E1;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Subsection Title */
.subsection-title {
    font-size: 22px;
    font-weight: 600;
    color: #000;
    margin: 32px 0 20px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .page-title {
        font-size: 36px;
    }

    .page-subtitle {
        font-size: 16px;
    }

    .toc-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .risk-toc {
        padding: 30px;
    }

    .section-title {
        font-size: 24px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-content p {
        font-size: 16px;
    }
}

@media (max-width: 640px) {
    .risk-page {
        padding: 60px 0 40px;
    }

    .page-title {
        font-size: 28px;
    }

    .page-subtitle {
        font-size: 15px;
    }

    .risk-header {
        margin-bottom: 40px;
    }

    .toc-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .risk-toc {
        padding: 24px;
        margin-bottom: 40px;
    }

    .toc-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .toc-list a {
        font-size: 14px;
    }

    .risk-section {
        margin-bottom: 40px;
        padding-bottom: 30px;
    }

    .risk-number {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .section-content {
        font-size: 15px;
    }

    .section-content h3,
    .section-content h4 {
        font-size: 18px;
        margin: 24px 0 12px;
    }

    .subsection-title {
        font-size: 19px;
        margin: 24px 0 16px;
    }

    .warning-box,
    .info-box {
        padding: 16px 20px;
        margin: 20px 0;
    }

    .warning-box strong,
    .info-box h3,
    .info-box h4 {
        font-size: 15px;
    }

    .risk-cta {
        padding: 40px 24px;
        margin-top: 60px;
    }

    .cta-content h2 {
        font-size: 24px;
    }

    .cta-content p {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .btn-primary {
        padding: 14px 28px;
        font-size: 15px;
    }
}

/* Smooth Scrolling for Anchor Links */
html {
    scroll-behavior: smooth;
}

/* Scroll Margin for Anchor Targets */
.risk-section {
    scroll-margin-top: 100px;
}
