/* California Judicial Theme */
:root {
    --primary: #1e3a8a;
    --primary-dark: #0f172a;
    --primary-light: #eff6ff;
    --accent: #d97706;
    --accent-light: #fef3c7;
    --text: #1e293b;
    --text-muted: #64748b;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --border: #e2e8f0;
    --radius: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 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.25rem; font-weight: 700; color: white; text-decoration: none; display: flex; align-items: center; gap: 8px; }
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; }
nav a:hover { color: white; text-decoration: underline; }
.legal-disclaimer-banner { background: #fffbeb; border-bottom: 1px solid #fef3c7; color: #92400e; 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; margin-bottom: 15px; }
.card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 24px; }
.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(340px, 1fr)); gap: 24px; margin: 30px 0; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; background: var(--primary-light); color: var(--primary); }
.badge-gold { background: var(--accent-light); color: var(--accent); }
.btn { display: inline-block; padding: 10px 20px; border-radius: 6px; font-weight: 600; text-decoration: none; cursor: pointer; font-size: 0.95rem; text-align: center; border: none; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: #1d4ed8; }
.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover { background: #b45309; }
.content-section { padding: 45px 0; }
.bg-alt { background: var(--bg-alt); }
.calculator-box { background: white; border: 2px solid var(--primary); border-radius: var(--radius); padding: 30px; margin: 25px 0; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.95rem; }
.form-group input, .form-group select { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 6px; font-size: 1rem; }
.calc-results { background: var(--primary-light); border: 1px solid #bfdbfe; border-radius: 6px; padding: 20px; margin-top: 20px; }
.casewright-cta-section { background: #0f172a; color: white; padding: 50px 0; margin-top: 50px; }
.cta-card { max-width: 800px; margin: 0 auto; text-align: center; }
.cta-card h2 { font-size: 2rem; margin-bottom: 15px; }
.cta-card p { color: #94a3b8; font-size: 1.1rem; margin-bottom: 25px; }
.features-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-bottom: 30px; }
.features-list li { background: rgba(255,255,255,0.08); padding: 8px 16px; border-radius: 20px; font-size: 0.9rem; }
footer { background: #0b1120; color: #94a3b8; padding: 50px 0 25px; border-top: 1px solid #1e293b; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.footer-col h4 { color: white; margin-bottom: 16px; font-size: 1.05rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #94a3b8; text-decoration: none; font-size: 0.9rem; }
.footer-col a:hover { color: white; }
.copyright { text-align: center; font-size: 0.85rem; color: #64748b; border-top: 1px solid #1e293b; padding-top: 20px; }
.breadcrumbs { padding: 12px 0; font-size: 0.85rem; color: var(--text-muted); }
.breadcrumbs a { color: var(--primary); text-decoration: none; }
.breadcrumbs span { margin: 0 8px; }
@media (max-width: 768px) {
    .header-inner { flex-direction: column; gap: 12px; }
    nav ul { flex-wrap: wrap; justify-content: center; gap: 10px; }
    .footer-inner { grid-template-columns: 1fr; }
}
