/* General Body Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0a;
    color: #e2e8f0;
    overflow-x: hidden;
}

/* Glassmorphism Card Style */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.monitoring-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

/* Risk Category Colors */
.risk-low { color: #22c55e; }
.risk-medium { color: #f59e0b; }
.risk-high { color: #ef4444; }

/* Landing Page Solution Section Styles */
#solution-section-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    min-height: 400vh; /* Adjusted for 4 stages */
}
#solution-steps {
    position: relative;
}
.step-content {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0.2;
    transform: translateY(20px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}
.step-content.is-active {
    opacity: 1;
    transform: translateY(0);
}
#solution-viz-sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
#solution-viz {
    width: 100%;
    height: 80vh;
}


/* --- RISKON "DOSSIER" REPORT STYLES --- */
.report-container {
    color: #d1d5db;
}
.report-header {
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #3b82f6;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.report-header h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #ffffff;
}
.report-header .report-info {
    font-size: 0.875rem;
    color: #9ca3af;
    text-align: right;
    flex-shrink: 0;
    margin-left: 2rem;
}
.report-section {
    margin-bottom: 1.5rem;
    background-color: #1f2937;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.report-section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #374151;
}
.report-section-content {
    padding: 1.5rem;
}
.grid-2-col {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .grid-2-col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.info-pair {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #374151;
}
.info-pair:last-child {
    border-bottom: none;
}
.info-pair .label {
    font-weight: 500;
    color: #9ca3af;
}
.info-pair .value {
    font-weight: 600;
    color: #e5e7eb;
}
.graph-container {
    margin-top: 1.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
}
.graph-container img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    border: 1px solid #374151;
}
.payment-history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}
.payment-history-grid .info-pair {
    font-size: 0.875rem;
    padding: 0.75rem;
    background-color: #374151;
    border-radius: 0.375rem;
    border-bottom: none;
}

/* Text-based Score */
.score-box {
    text-align: center;
    padding: 1rem;
}
.score-box .score-value {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
}
.score-box .score-label {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}

/* Prettier AI Summary */
#ai-summary-content {
    background-color: #111827;
    border-left: 4px solid #3b82f6;
    padding: 1rem;
    border-radius: 0.25rem;
}
#ai-summary-text::after {
    content: '▋';
    animation: blink 1s step-end infinite;
}
@keyframes blink {
    50% { opacity: 0; }
}
