/* styles.css - Enhanced Security-Focused CSS */

/* Base Security Styling */
body {
    font-family: 'Roboto', 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    background-color: #f5f7fa;
    color: #2d3748;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPgogIDxkZWZzPgogICAgPHBhdHRlcm4gaWQ9InBhdHRlcm4iIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIj4KICAgICAgPHJlY3Qgd2lkdGg9IjEwMCIgaGVpZ2h0PSIxMDAiIGZpbGw9IiNmNWY3ZmEiLz4KICAgICAgPHBhdGggZD0iTTAgNTAgTDUwIDAgTDEwMCA1MCBMNTAgMTAwIFoiIGZpbGw9IiNlMmU1ZWYiIG9wYWNpdHk9IjAuMSIvPgogICAgPC9wYXR0ZXJuPgogIDwvZGVmcz4KICA8cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3BhdHRlcm4pIi8+Cjwvc3ZnPg==');
}

/* Security Headers */
header {
    background: linear-gradient(135deg, #1a365d 0%, #153e75 100%);
    color: white;
    padding: 2.5rem 1rem;
    text-align: center;
    border-bottom: 4px solid #e53e3e;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e53e3e 0%, #dd6b20 50%, #e53e3e 100%);
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-top: 0.75rem;
    font-weight: 400;
}

/* Security Warning Boxes */
.legal-warning {
    background-color: #fff5f5;
    border-left: 6px solid #e53e3e;
    padding: 1.25rem;
    margin: 2rem 0;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    position: relative;
}

.legal-warning::before {
    content: "⚠";
    position: absolute;
    left: -2.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #e53e3e;
}

/* Main Content Security Styling */
main {
    max-width: 900px;
    margin: 3rem auto;
    padding: 2.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

section {
    margin-bottom: 3rem;
}

h2 {
    font-size: 1.75rem;
    color: #2b6cb0;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
    font-weight: 700;
}

h3 {
    font-size: 1.4rem;
    color: #3182ce;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

/* Legal References */
.legal-reference {
    background-color: #f7fafc;
    border-left: 4px solid #4299e1;
    padding: 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0 4px 4px 0;
}

.legal-reference p {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2b6cb0;
}

/* Lists with Security Icons */
ul {
    list-style-type: none;
    padding-left: 0;
}

ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
}

ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #e53e3e;
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1;
}

ol {
    counter-reset: legal-counter;
    padding-left: 0;
    list-style-type: none;
}

ol li {
    counter-increment: legal-counter;
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 0.75rem;
}

ol li::before {
    content: counter(legal-counter) ".";
    position: absolute;
    left: 0;
    color: #e53e3e;
    font-weight: bold;
}

/* Footer Security Badges */
footer {
    background: linear-gradient(135deg, #1a365d 0%, #153e75 100%);
    color: white;
    padding: 2.5rem 1rem;
    text-align: center;
    border-top: 4px solid #e53e3e;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}

.footer-links a {
    color: #90cdf4;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
    text-decoration: none;
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.security-badge {
    background-color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #2b6cb0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive Security Measures */
@media (max-width: 768px) {
    body {
        background-image: none;
        background-color: #f5f7fa;
    }

    header {
        padding: 1.75rem 1rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    .header-subtitle {
        font-size: 1rem;
    }

    main {
        margin: 1.5rem;
        padding: 1.5rem;
    }

    .legal-warning {
        margin: 1.5rem 0;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }

    .security-badges {
        flex-direction: column;
        align-items: center;
    }
}

/* Print Security */
@media print {
    body {
        background: white;
        color: black;
        font-size: 12pt;
    }

    header, footer {
        background: white !important;
        color: black;
        border-color: black;
    }

    .legal-warning, .legal-reference {
        break-inside: avoid;
    }

    a {
        color: black;
        text-decoration: underline;
    }

    .footer-links, .security-badges {
        display: none;
    }
}