/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    font-size: 16px;
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: bold;
}

header p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Table of Contents */
.toc {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.toc h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.toc ul {
    list-style: none;
    display: grid;
    gap: 10px;
}

.toc a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s;
    display: block;
}

.toc a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Section Styles */
.section {
    margin-bottom: 50px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.section h2 {
    font-size: 2rem;
    color: #1e3c72;
    margin-bottom: 20px;
    border-bottom: 3px solid #2a5298;
    padding-bottom: 10px;
}

.section h3 {
    font-size: 1.5rem;
    color: #2a5298;
    margin: 20px 0 10px 0;
}

.section h4 {
    font-size: 1.2rem;
    color: #333;
    margin: 15px 0 8px 0;
}

/* Summary Box */
.summary-box {
    background: #e3f2fd;
    border-left: 5px solid #2196f3;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

.key-facts {
    margin-top: 20px;
}

.key-facts ul {
    list-style-type: none;
    padding-left: 0;
}

.key-facts li {
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.key-facts li:last-child {
    border-bottom: none;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #2a5298;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 20px;
    width: 12px;
    height: 12px;
    background: #2a5298;
    border-radius: 50%;
    border: 3px solid white;
}

/* Evidence Sections */
.evidence-section {
    margin: 30px 0;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.evidence-placeholder {
    background: #f0f0f0;
    border: 2px dashed #ccc;
    padding: 40px;
    text-align: center;
    margin: 20px 0;
    border-radius: 8px;
    color: #666;
}

/* Comparison Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 20px 0;
}

.comparison-item {
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.comparison-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
}

.comparison-item p {
    font-weight: bold;
    color: #333;
    margin-top: 10px;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.comparison-table th {
    background: #2a5298;
    color: white;
    font-weight: bold;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) {
    background: #f8f9fa;
}

/* Contact Attempts */
.contact-attempts {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.response-rate {
    background: #ffebee;
    border-left: 5px solid #f44336;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

.response-rate h3 {
    color: #d32f2f;
    font-size: 1.8rem;
}

/* Legal Info */
.legal-info {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* Warning Section */
.warning-section {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
}

.red-flags {
    background: #ffebee;
    border-left: 5px solid #f44336;
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
}

.red-flags h4 {
    color: #d32f2f;
    margin-bottom: 10px;
}

/* Evidence Preview */
.evidence-preview {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 5px solid #007bff;
}

/* Scam Metrics */
.scam-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.metric-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #ff4444;
}

.metric-item h4 {
    color: #d32f2f;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.metric-item .highlight {
    background: #ffebee;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    color: #d32f2f;
    margin-top: 10px;
}

/* Evidence Grid */
.evidence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.evidence-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

.evidence-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

.evidence-item p {
    margin: 5px 0;
    text-align: center;
}

.evidence-item em {
    color: #666;
    font-size: 0.9rem;
}

/* Evidence Inline */
.evidence-inline {
    margin: 20px 0;
    text-align: center;
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.evidence-inline img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

.evidence-inline p {
    color: #666;
    font-style: italic;
    margin-top: 10px;
}

/* Contact Timeline */
.contact-timeline {
    margin: 20px 0;
}

.contact-method {
    background: white;
    padding: 20px;
    margin: 15px 0;
    border-radius: 8px;
    border-left: 5px solid #2a5298;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-method h4 {
    color: #2a5298;
    margin-bottom: 10px;
}

.blocked-platforms {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 15px;
    flex-wrap: wrap;
}

.blocked {
    background: #ffebee;
    color: #d32f2f;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    border: 2px solid #f44336;
}

/* Legal Status */
.legal-status {
    background: #e8f5e8;
    border-left: 5px solid #4caf50;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

.legal-status ul {
    margin-top: 15px;
}

.legal-status li {
    margin: 8px 0;
    font-weight: 500;
}

/* Victim Advice */
.victim-advice {
    margin: 30px 0;
}

.advice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.advice-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #2a5298;
}

.advice-item h4 {
    color: #2a5298;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-other-victims {
    background: #e3f2fd;
    border-left: 5px solid #2196f3;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

.contact-other-victims h4 {
    color: #1976d2;
    margin-bottom: 10px;
}

/* Lists */
ul, ol {
    padding-left: 20px;
    margin: 15px 0;
}

li {
    margin: 8px 0;
}

/* Footer */
footer {
    background: #1e3c72;
    color: white;
    padding: 40px 20px;
    text-align: center;
    margin-top: 50px;
}

.disclaimer {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.5;
}

footer p {
    margin: 10px 0;
    opacity: 0.9;
}

footer a,
footer a:link,
footer a:visited,
footer a:active,
.footer-link,
.footer-link:link,
.footer-link:visited,
.footer-link:active {
    color: white !important;
    text-decoration: underline !important;
    opacity: 1 !important;
}

footer a:hover,
.footer-link:hover {
    color: #f0f0f0 !important;
    text-decoration: none !important;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-bold {
    font-weight: bold;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 10px;
    }
    
    header {
        padding: 30px 15px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    header p {
        font-size: 1rem;
    }
    
    .toc ul {
        grid-template-columns: 1fr;
    }
    
    main {
        padding: 20px 10px;
    }
    
    .section {
        padding: 20px 15px;
        margin-bottom: 30px;
    }
    
    .section h2 {
        font-size: 1.5rem;
    }
    
    .section h3 {
        font-size: 1.2rem;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .timeline {
        padding-left: 30px;
    }
    
    .timeline-item::before {
        left: -25px;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
    }
    
    footer {
        padding: 30px 15px;
    }
    
    /* Mobile responsive for new elements */
    .scam-metrics {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .evidence-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .advice-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .blocked-platforms {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .evidence-inline {
        padding: 10px;
    }
    
    .evidence-inline img {
        max-width: 100%;
        height: auto;
    }
    
    .contact-method {
        padding: 15px;
    }
    
    .metric-item {
        padding: 15px;
    }
    
    .evidence-item {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8rem;
    }
    
    .section h2 {
        font-size: 1.3rem;
    }
    
    .comparison-table {
        font-size: 0.8rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 8px 5px;
    }
    
    .timeline {
        padding-left: 20px;
    }
    
    .timeline-item {
        padding: 15px;
    }
    
    .timeline-item::before {
        left: -15px;
        width: 8px;
        height: 8px;
    }
}

/* Performance Optimizations */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
a:focus,
button:focus {
    outline: 2px solid #2a5298;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    header {
        background: none !important;
        color: black !important;
    }
    
    .section {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    .timeline::before {
        background: #333 !important;
    }
    
    .timeline-item::before {
        background: #333 !important;
    }
}