/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1A3A5F;
    --secondary-color: #D4AF37;
    --text-color: #F5F5DC;
    --background-dark: #0F2A4F;
    --card-bg: #2A4A6F;
    --warning-color: #FF6B35;
    --success-color: #4CAF50;
    --text-muted: rgba(245, 245, 220, 0.7);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--background-dark) 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(26, 58, 95, 0.9);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--card-bg) 100%);
    padding: 30px;
    text-align: center;
    border-bottom: 2px solid var(--secondary-color);
}

.logo h1 {
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.logo p {
    color: var(--text-muted);
    font-size: 1.1em;
}

/* Main Content */
main {
    padding: 40px;
}

.policy-document {
    background: rgba(42, 74, 111, 0.5);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.policy-document h1 {
    color: var(--secondary-color);
    font-size: 2.2em;
    margin-bottom: 10px;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 15px;
}

.last-updated {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 30px;
    font-size: 0.9em;
}

.policy-document section {
    margin-bottom: 40px;
}

.policy-document h2 {
    color: var(--secondary-color);
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 15px;
    border-left: 4px solid var(--secondary-color);
    padding-left: 15px;
}

.policy-document h3 {
    color: var(--text-color);
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 12px;
}

.policy-document p {
    margin-bottom: 15px;
    text-align: justify;
    line-height: 1.8;
}

.policy-document ul,
.policy-document ol {
    margin-left: 30px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.policy-document li {
    margin-bottom: 10px;
}

.policy-document strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.policy-document a {
    color: var(--secondary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.policy-document a:hover {
    color: #F0C860;
}

/* Warning Box */
.warning-box {
    background: rgba(255, 107, 53, 0.15);
    border: 2px solid var(--warning-color);
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
}

.warning-box h2 {
    color: var(--warning-color);
    margin-bottom: 15px;
    border-left: none;
    padding-left: 0;
}

.warning-box ul {
    margin-top: 15px;
}

/* Contact Box */
.contact-box {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--secondary-color);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.contact-box p {
    margin-bottom: 8px;
}

/* Final Note */
.final-note {
    background: rgba(76, 175, 80, 0.1);
    border: 2px solid var(--success-color);
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
}

.final-note h2 {
    color: var(--success-color);
    border-left: none;
    padding-left: 0;
}

/* Navigation */
.legal-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.nav-link {
    display: inline-block;
    padding: 12px 30px;
    background: var(--card-bg);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 25px;
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
    font-weight: 600;
}

.nav-link:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.nav-link.active {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* Footer */
footer {
    background: var(--background-dark);
    padding: 25px;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

footer p {
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 0.9em;
}

footer a {
    color: var(--secondary-color);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #F0C860;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        border-radius: 15px;
    }

    header {
        padding: 20px;
    }

    .logo h1 {
        font-size: 2em;
    }

    main {
        padding: 20px;
    }

    .policy-document {
        padding: 25px;
    }

    .policy-document h1 {
        font-size: 1.8em;
    }

    .policy-document h2 {
        font-size: 1.4em;
    }

    .policy-document h3 {
        font-size: 1.2em;
    }

    .legal-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-link {
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.6em;
    }

    .logo p {
        font-size: 0.9em;
    }

    .policy-document {
        padding: 20px;
    }

    .policy-document h1 {
        font-size: 1.5em;
    }

    .policy-document ul,
    .policy-document ol {
        margin-left: 20px;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }

    .container {
        box-shadow: none;
        background: white;
    }

    header {
        background: white;
        border-bottom: 2px solid black;
    }

    .logo h1 {
        color: black;
    }

    .policy-document {
        background: white;
    }

    .policy-document h1,
    .policy-document h2 {
        color: black;
        border-color: black;
    }

    .nav-link,
    footer {
        display: none;
    }
}
