/* Lumentia — Páginas legales (Términos, Privacidad, Seguridad)
   Alineado con la línea gráfica de la landing: tema oscuro índigo/violeta,
   tipografías Outfit/Inter, glassmorphism y acentos con gradiente. */

:root {
    --bg: #111827;
    --bg-soft: #1f2937;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --text: #f9fafb;
    --text-soft: #d1d5db;
    --text-muted: #9ca3af;
    --accent: #6366f1;
    --accent-2: #a78bfa;
    --gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-soft);
    background: var(--bg);
    background-image:
        radial-gradient(circle at 12% 15%, rgba(99, 102, 241, 0.14) 0%, transparent 45%),
        radial-gradient(circle at 88% 85%, rgba(168, 85, 247, 0.12) 0%, transparent 45%);
    background-attachment: fixed;
    min-height: 100vh;
}

::selection { background: rgba(99, 102, 241, 0.35); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #111827; }
::-webkit-scrollbar-thumb { background: #374151; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #4B5563; }

/* ── Navbar ── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(17, 24, 39, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 36px; height: 36px; object-fit: contain; }
.brand span {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text);
    letter-spacing: -0.02em;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
    color: var(--text-soft);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}
.nav-links a:hover { color: #fff; }
.nav-cta {
    padding: 10px 22px;
    border-radius: 999px;
    background: var(--gradient);
    color: #fff !important;
    font-weight: 600;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-cta:hover { opacity: 0.92; transform: translateY(-1px); }

/* ── Contenedor ── */
.container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Header ── */
header { text-align: center; padding: 64px 0 36px; }
header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #fff 0%, #c7d2fe 55%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.last-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 18px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.28);
    border-radius: 999px;
    display: inline-block;
}

/* ── Contenido ── */
.content {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 44px 52px;
    margin-bottom: 48px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

section { margin-bottom: 44px; }
section:last-child { margin-bottom: 0; }

section h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--text);
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}
section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 56px;
    height: 3px;
    border-radius: 3px;
    background: var(--gradient);
}

section h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.12rem;
    font-weight: 600;
    color: #e5e7eb;
    margin: 22px 0 10px;
}

p { margin-bottom: 14px; }

ul { list-style: none; }
ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
}
ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gradient);
}
ul ul { margin-top: 10px; }
ul ul li::before { background: rgba(255, 255, 255, 0.28); }

strong { color: #fff; font-weight: 600; }

code {
    background: rgba(99, 102, 241, 0.15);
    color: #c7d2fe;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 0.9em;
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.prohibited-list {
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.22);
    border-radius: 14px;
    padding: 22px 26px;
    margin-top: 16px;
}

/* ── Footer ── */
footer {
    border-top: 1px solid var(--card-border);
    padding: 40px 0 56px;
    text-align: center;
}
.footer-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.footer-links a {
    color: var(--text-soft);
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    transition: all 0.25s ease;
}
.footer-links a:hover {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    text-decoration: none;
}

/* ── Back to top ── */
#back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 55px;
    height: 55px;
    background: var(--gradient);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}
#back-to-top.visible { opacity: 1; visibility: visible; }
#back-to-top:hover { transform: translateY(-5px) scale(1.08); }

/* ── Responsive ── */
@media (max-width: 768px) {
    .nav-inner { padding: 0 16px; }
    .nav-links { gap: 14px; }
    .nav-links a:not(.nav-cta) { display: none; }
    header { padding: 48px 0 28px; }
    header h1 { font-size: 2rem; }
    .content { padding: 30px 24px; }
    section h2 { font-size: 1.35rem; }
    .footer-links { flex-direction: column; align-items: center; gap: 10px; }
    #back-to-top { bottom: 20px; right: 20px; width: 50px; height: 50px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    header h1 { font-size: 1.7rem; }
    .content { padding: 24px 18px; }
    section h2 { font-size: 1.25rem; }
}

/* ── Print ── */
@media print {
    body { background: #fff; color: #111; }
    .navbar { display: none; }
    .content, header, footer { background: #fff; border: none; box-shadow: none; }
    header h1, section h2, strong, .brand span { color: #111 !important; -webkit-text-fill-color: #111; }
    #back-to-top { display: none; }
}

