/* =========================================
   CONVERSION CHARTS (Modern SaaS)
   ========================================= */

/* --- SECTION CONTAINER --- */
.conversion-charts {
    padding: 60px 0;
    background: var(--bg-body); /* Global Background */
    position: relative;
}

/* Subtle Top Border */
.conversion-charts::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: #e2e8f0;
}

.conversion-charts .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER --- */
.conversion-charts h2 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 15px;
    text-align: center;
}

.conversion-charts > div > p:first-of-type {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 10px;
    margin-bottom: 40px;
    text-align: center;
    line-height: 1.6;
}

/* --- CHARTS GRID --- */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* --- CHART CARD --- */
.chart-card {
    background: white;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    padding: 30px;
}

.chart-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.chart-card h3 {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 20px;
    font-weight: 700;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
}

/* --- CONVERSION TABLE --- */
.conversion-reference {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.conversion-reference thead {
    background: var(--secondary);
    color: white;
}

.conversion-reference th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.conversion-reference tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s ease;
}

.conversion-reference tbody tr:hover {
    background: #f8fafc;
}

.conversion-reference tbody tr:last-child {
    border-bottom: none;
}

.conversion-reference td {
    padding: 12px 15px;
    color: var(--text-main);
}

.conversion-reference td:first-child {
    font-weight: 600;
    color: var(--secondary);
}

.conversion-reference td:last-child {
    color: var(--primary);
    font-weight: 700;
}

/* --- CHART NOTE --- */
.chart-note {
    background: #fffbeb; /* Light Yellow */
    border-left: 4px solid #f59e0b; /* Orange Warning */
    padding: 20px;
    border-radius: var(--radius-input);
    margin-top: 30px;
    color: #92400e;
    font-size: 0.9rem;
    line-height: 1.6;
}

.chart-note strong {
    color: #b45309;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .charts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .conversion-charts h2 { font-size: 1.8rem; }
    
    .chart-card { padding: 20px; }
    
    .conversion-reference th, 
    .conversion-reference td { 
        padding: 10px; 
        font-size: 0.9rem; 
    }
}