/* PfandPilot Legal Pages Stylesheet */
:root {
    --primary: #00338D;
    --primary-dark: #002260;
    --primary-light: #eef3fb;
    --accent: #10b981;
    --text-main: #0f172a;
    --text-muted: #475569;
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 30px rgba(0, 51, 141, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif; 
    background-color: var(--bg-body); 
    color: var(--text-main);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 960px; margin: 0 auto; padding: 0 24px; width: 100%; }

/* HEADER */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-inner { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 76px;
}
.logo img { height: 48px; width: auto; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { 
    text-decoration: none; 
    color: var(--text-muted); 
    font-size: 0.95rem; 
    font-weight: 600; 
    transition: color 0.2s; 
}
.nav-links a:hover { color: var(--primary); }

main { flex-grow: 1; padding: 60px 0 80px; }

.content-card { 
    background: var(--bg-card); 
    padding: 56px 48px; 
    border-radius: var(--radius-lg); 
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

h1 { font-size: 2.25rem; font-weight: 800; margin-bottom: 8px; color: var(--primary); letter-spacing: -0.5px; }
.subtitle { color: var(--text-muted); margin-bottom: 36px; font-weight: 500; font-size: 0.95rem; }

h2 { font-size: 1.35rem; font-weight: 800; margin-top: 36px; margin-bottom: 16px; color: var(--primary); border-bottom: 1px solid #f1f5f9; padding-bottom: 8px; }
h3 { font-size: 1.1rem; font-weight: 700; margin-top: 20px; margin-bottom: 8px; color: var(--text-main); }
p { margin-bottom: 16px; color: var(--text-muted); }
ul, ol { margin-bottom: 20px; padding-left: 24px; color: var(--text-muted); }
li { margin-bottom: 8px; }
strong { color: var(--text-main); }
a { color: var(--primary); text-decoration: none; font-weight: 600; }
a:hover { text-decoration: underline; }

.badge-secure {
    display: inline-block;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.legal-box { 
    background: var(--primary-light); 
    padding: 24px; 
    border-radius: var(--radius-md); 
    font-size: 0.95rem; 
    margin-bottom: 36px; 
    border-left: 4px solid var(--primary);
    color: var(--text-main);
}

.tom-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 30px;
}
.tom-table th, .tom-table td {
    padding: 14px 16px;
    border: 1px solid var(--border);
    text-align: left;
    font-size: 0.9rem;
}
.tom-table th {
    background: #f8fafc;
    color: var(--primary);
    font-weight: 700;
}

/* FOOTER */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 48px 0 32px;
    font-size: 0.9rem;
    margin-top: auto;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom a { color: #94a3b8; margin-left: 20px; font-weight: 500; }
.footer-bottom a:hover { color: white; }

@media (max-width: 640px) {
    .content-card { padding: 32px 20px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .footer-bottom a { margin: 0 10px; }
    .nav-links { display: none; }
}
