
:root {
    --primary: #0d47a1;
    --primary-dark: #082d6c;
    --primary-light: #e3f2fd;
    --accent: #d32f2f;
    --accent-light: #ffebee;
    --text: #1e293b;
    --text-muted: #64748b;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --border: #e2e8f0;
    --radius: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

header { background: var(--primary); color: white; padding: 16px 0; border-bottom: 3px solid var(--accent); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.brand { font-size: 1.35rem; font-weight: 700; color: white; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.brand-flag { font-size: 1.2rem; }
nav ul { list-style: none; display: flex; gap: 20px; }
nav a { color: rgba(255,255,255,0.9); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
nav a:hover { color: white; text-decoration: underline; }

.legal-disclaimer-banner { background: #fff8e1; border-bottom: 1px solid #ffe082; color: #795548; font-size: 0.82rem; padding: 8px 0; text-align: center; }
.hero { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); color: white; padding: 50px 0; }
.hero h1 { font-size: 2.2rem; line-height: 1.25; margin-bottom: 15px; }
.hero p.lead { font-size: 1.15rem; color: #e2e8f0; max-width: 800px; margin-bottom: 25px; }
.hero-statute { display: inline-block; background: rgba(255,255,255,0.15); padding: 6px 14px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; }

.card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 24px; transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.card h3 { color: var(--primary-dark); margin-bottom: 10px; font-size: 1.25rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 16px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin: 30px 0; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 24px; margin: 30px 0; }

.btn { display: inline-block; padding: 10px 20px; border-radius: 6px; font-weight: 600; text-decoration: none; text-align: center; cursor: pointer; border: none; font-size: 0.95rem; transition: background 0.2s, transform 0.1s; }
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: #b71c1c; }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary-light); }

.calculator-widget { background: var(--bg-alt); border: 2px solid var(--primary-light); border-radius: var(--radius); padding: 25px; margin: 25px 0; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--text); }
.form-control { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 1rem; background: white; }
.calc-result { margin-top: 20px; padding: 18px; border-radius: 6px; background: white; border-left: 4px solid var(--accent); display: none; }
.calc-result.active { display: block; }

.casewright-cta-section { background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); color: white; padding: 45px 0; margin: 40px 0; border-radius: var(--radius); }
.cta-card { max-width: 800px; margin: 0 auto; text-align: center; }
.cta-card h2 { font-size: 1.85rem; margin-bottom: 14px; }
.cta-card p { color: #cbd5e1; margin-bottom: 20px; font-size: 1.05rem; }
.features-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-bottom: 25px; }
.features-list li { background: rgba(255,255,255,0.1); padding: 6px 14px; border-radius: 20px; font-size: 0.85rem; }
.badge { display: inline-block; background: #38bdf8; color: #0f172a; padding: 4px 12px; border-radius: 12px; font-weight: 700; font-size: 0.75rem; text-transform: uppercase; margin-bottom: 12px; }

footer { background: #0f172a; color: #94a3b8; padding: 40px 0 20px; font-size: 0.88rem; margin-top: 60px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; border-bottom: 1px solid #334155; padding-bottom: 30px; margin-bottom: 20px; }
.footer-col h4 { color: white; margin-bottom: 12px; font-size: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #94a3b8; text-decoration: none; }
.footer-col a:hover { color: white; }
.copyright { text-align: center; color: #64748b; font-size: 0.8rem; }

@media (max-width: 768px) {
    .header-inner { flex-direction: column; gap: 12px; text-align: center; }
    nav ul { flex-wrap: wrap; justify-content: center; gap: 10px; }
    .hero h1 { font-size: 1.75rem; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
}
